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 | 8833312 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "forestrf/AshNodeEditor",
"max_stars_repo_path": "AshNodeEditor/Assets/AshKatchap/AIBrain/Nodes/Reflection/Editor/GeneratorWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152532"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEngine;
namespace Ashkatchap.AIBrain.GeneratedNodes {
public class GeneratorWindow : EditorWindow {
[MenuItem("Window/Ashkatchap/AIBrain/Reflection Node Generato... | 2.36958 | 11559a4f5d1d8b0951cad899793b4308 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833313 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MikeLimaSierra/Nuclear.Net",
"max_stars_repo_path": "src/Nuclear.Properties.uTests/TrackedProperties/TrackedInt16_uTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152533"
} | starcoder | using System;
using Nuclear.TestSite;
namespace Nuclear.Properties.TrackedProperties {
class TrackedInt16_uTests {
[TestMethod]
void Implementation() {
Test.If.Type.Implements<ITrackedInt16<Object>, ITrackedProperty<Object, Int16>>();
Test.If.Type.Implements<TrackedInt16... | 1.936175 | 2ed9b90b3d40969ebfce5118c6d9c1e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PsychoReptile/xray-builder.gui",
"max_stars_repo_path": "XRayBuilder/src/UI/frmCreateXR.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152534"
} | starcoder | namespace XRayBuilderGUI.UI
{
partial class frmCreateXR
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.912932 | 343bf0ecc327bdb911d5a1dfc4089e67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833315 | {
"extension": "c-sharp",
"max_stars_count": "1970.0",
"max_stars_repo_name": "noah4477/HardwareMixer",
"max_stars_repo_path": "cscore-master/CSCore.Test/CoreAudioAPI/MMDevicesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152535"
} | starcoder | using CSCore.CoreAudioAPI;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace CSCore.Test.CoreAudioAPI
{
[TestClass]
public class MMDevicesTests
{
[TestMethod]
[TestCa... | 2.085798 | 50eb8bc071334c3c8313bffec55ffe1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833316 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "the-real-jushen/CityGee",
"max_stars_repo_path": "OldHouse/OldHouse.Web/Views/Editor/ReleaseArticle.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152536"
} | starcoder | @{
Layout = "~/Views/Shared/_Layout.cshtml";
ViewBag.Title = "发布新闻";
}
@model OldHouse.Web.Models.ReleaseArticleDto
<div class="clearfix housDetail-fix"></div>
<div class="container">
<div id="content">
<div class="card full-width">
<div class="header">
<b class="title"... | 2.044266 | ba9b523bc80bfd50a13eccd4143d0f9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833317 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riQQ/DirectN",
"max_stars_repo_path": "DirectN/DirectN/Generated/tagDIBSECTION.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152537"
} | starcoder | <filename>DirectN/DirectN/Generated/tagDIBSECTION.cs<gh_stars>1-10
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\wingdi.h(4899,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct tagDIBSECTION
{
... | 1.715508 | 0e8defda84742f626f69f61f5a369746 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833318 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "zhengchun/Buffer",
"max_stars_repo_path": "src/BufferStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152538"
} | starcoder | <reponame>zhengchun/Buffer
// Copyright (c) 2016 Yamool. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
namespace Yamool.Buffers
{
using System;
using System.IO;
/// <summary>
/// Implemented a <see cref="Stream"/> fo... | 2.486966 | 6821256d8135d2fb3fec7a9fa802e5ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheoChristo/Parallel_Tumor_Modelling",
"max_stars_repo_path": "Parallel_Tumor_ModellingConsoleApp/Parallel_Tumor_ModellingConsoleApp/MSolveLib/ISAAR.MSolve.Discretization/Mesh/IDomain2DBoundary.cs",
"provenance": "train-00027-of-00045... | starcoder | <filename>Parallel_Tumor_ModellingConsoleApp/Parallel_Tumor_ModellingConsoleApp/MSolveLib/ISAAR.MSolve.Discretization/Mesh/IDomain2DBoundary.cs
using ISAAR.MSolve.Geometry.Coordinates;
namespace ISAAR.MSolve.Discretization.Mesh
{
public interface IDomain2DBoundary
{
// Not on the boundary exactl... | 1.856477 | 1ea42ed368f6e049d30d9c4b7c3c3547 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833320 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uxav/lib2-devices",
"max_stars_repo_path": "Audio/Biamp/ControlBlocks/MuteControlBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152540"
} | starcoder |
using Newtonsoft.Json.Linq;
namespace UX.Lib2.Devices.Audio.Biamp.ControlBlocks
{
public sealed class MuteControlBlock : MultiChannelBlockBase<MuteChannel>
{
internal MuteControlBlock(Tesira device, string instanceId)
: base(device, instanceId)
{
if (device.D... | 2.237576 | 5c41349e76856b53ff32fcf0fa058b68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833321 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hawkfalcon/Timberborn-Mods",
"max_stars_repo_path": "UnifiedFactions/UnifiedFactionsPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152541"
} | starcoder | using BepInEx;
using BepInEx.Configuration;
using HarmonyLib;
using Timberborn.FactionSystemGame;
using Timberborn.FactionSystem;
using Timberborn.AssetSystem;
using Timberborn.BlockObjectTools;
using Timberborn.ToolSystem;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UIEle... | 1.904927 | 0795e4b77996c026c92271c35d35b9eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833322 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GeorgiSv/QuizItUp",
"max_stars_repo_path": "Services/QuizItUp.Services.Data/Contracts/ITagsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152542"
} | starcoder | namespace QuizItUp.Services.Data.Contracts
{
using System.Collections.Generic;
using System.Threading.Tasks;
using QuizItUp.Data.Models;
using QuizItUp.Web.ViewModels.Quizes;
public interface ITagsService
{
Task<ICollection<QuizTag>> CreateTagsAsync(string tags, string quizId, int cate... | 1.87691 | c2f92b0cdcc19d7ddcad09b164a0420c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833323 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "src/Microsoft.OData.Core/ODataBatchPayloadUriConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152543"
} | starcoder | <gh_stars>100-1000
//---------------------------------------------------------------------
// <copyright file="ODataBatchPayloadUriConverter.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//-----... | 2.397831 | 2e063a9ef1f95167eb22fa0b05a272c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CmsZwo/AppDeploy",
"max_stars_repo_path": "DeployLib/_Src/DeployLib/Tools/StringDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152544"
} | starcoder | <filename>DeployLib/_Src/DeployLib/Tools/StringDictionary.cs
using System;
using System.Linq;
using System.Collections.Generic;
namespace DeployLib
{
public class StringDictionary : Dictionary<string, string>
{
public StringDictionary()
: base(StringComparer.OrdinalIgnoreCase) { }
}
public class StringDicti... | 2.853374 | fde6d79e514045a0b209cd545fee2203 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MunroRaymaker/Raymaker.RulesEngine",
"max_stars_repo_path": "src/Raymaker.RulesEngine.Application/BusinessRuleProviders/SafetyBusinessRuleProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152545"
} | starcoder | <filename>src/Raymaker.RulesEngine.Application/BusinessRuleProviders/SafetyBusinessRuleProvider.cs
using Raymaker.RulesEngine.Application.Model;
namespace Raymaker.RulesEngine.Application.BusinessRuleProviders
{
public class SafetyBusinessRuleProvider : IBusinessRuleProvider
{
private readonly IUserSe... | 2.515172 | 2265df6870f1b79e50d8c7855153d657 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833326 | {
"extension": "c-sharp",
"max_stars_count": "157.0",
"max_stars_repo_name": "mehrdad-shokri/Stove",
"max_stars_repo_path": "src/Stove.Couchbase/Couchbase/Configuration/StoveCouchbaseConfigurationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152546"
} | starcoder | using Stove.Configuration;
namespace Stove.Couchbase.Configuration
{
public static class StoveCouchbaseConfigurationExtensions
{
public static IStoveCouchbaseConfiguration StoveCouchbase(this IModuleConfigurations modules)
{
return modules.StoveConfiguration.Get<IStoveCouchbaseConf... | 1.456393 | 593e2f57ee5d9cdba4d5dc82f695e6b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FranklinWaller/BonTemps",
"max_stars_repo_path": "BonTemps/Areas/Admin/Views/Coupons/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152547"
} | starcoder | <gh_stars>0
@model BonTemps.Models.Coupon
@{
ViewBag.Title = "Coupon Informatie";
ViewBag.SelectedMenu = "Coupons";
}
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Coupons
<small>Information</small>
</h1>
<ol class="breadcrumb">
... | 1.641493 | 41388e993e267a9e17d78be825699ddd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcusts/Com.MarcusTS.SharedForms",
"max_stars_repo_path": "Common/Notifications/KeyboardUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152548"
} | starcoder | //
namespace Com.MarcusTS.SharedForms.Common.Notifications
{
public interface IKeyboardNotificationProvider
{
void StartNotifying();
void StopNotifying();
}
} | 1.203817 | a55b9be9829d4f5c76c1ca30e3e48f4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833329 | {
"extension": "c-sharp",
"max_stars_count": "535.0",
"max_stars_repo_name": "Stupid-nuget-packages/DiscUtils",
"max_stars_repo_path": "Tests/LibraryTests/Compression/BZip2DecoderStreamTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152549"
} | starcoder | <reponame>Stupid-nuget-packages/DiscUtils
//
// Copyright (c) 2008-2011, <NAME>
//
// 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 ... | 1.590701 | 0d01a5d86593b7262faa46429a31a4a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833330 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/O/OvfUnsupportedDeviceBackingOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152550"
} | starcoder | namespace EnvironmentAssessment.Common.VimApi
{
public class OvfUnsupportedDeviceBackingOption : OvfSystemFault
{
protected string _elementName;
protected string _instanceId;
protected string _deviceName;
protected string _backingName;
public string ElementName
{
get
{
return this._elementName;
... | 1.667309 | cfa520d7ec85de11a08108c3bad98df2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833331 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chuanconggao/uHarmony",
"max_stars_repo_path": "uHarmony/uHarmony/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152551"
} | starcoder | <filename>uHarmony/uHarmony/Program.cs
//#define APPROXIMATE_EXP
#define PRUNING
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Text.RegularExpressions;
namespace uHarmony
{
static class IEnumerableExtensionMethods
{
p... | 2.865935 | b0fb4998b0600bd2ec3e8679f0a270d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tahagabre/RagBall",
"max_stars_repo_path": "Assets/Scripts/TrailRend.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152552"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrailRend : MonoBehaviour
{
[SerializeField] private float triggerSpeed = 20f;
[SerializeField] private float movementSpeed;
public GameObject Trail;
private void update()
{
movementSpeed = gameObject... | 2.439918 | 73df249f3075cdf4cb746b430b33e296 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NeonMika/ml-agents-playground",
"max_stars_repo_path": "Assets/Scripts/PhaseLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152553"
} | starcoder | <filename>Assets/Scripts/PhaseLogger.cs<gh_stars>0
using UnityEngine;
public class PhaseLogger : MonoBehaviour
{
// Update is called once per frame
private void Update()
{
Debug.Log("Update");
}
private void FixedUpdate()
{
Debug.Log("FixedUpdate");
}
} | 2.101976 | 28021848b7d0a2608ddb00e1a7b7468c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833334 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "tomkail/UnityX",
"max_stars_repo_path": "Assets/UnityX/Scripts/Extensions/Easer/MoveTowards/MoveTowardsEaser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152554"
} | starcoder | <filename>Assets/UnityX/Scripts/Extensions/Easer/MoveTowards/MoveTowardsEaser.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Handy extendable wrapper for Unity's SmoothDamp functions, tucking away the several variables for each smooth damp you ... | 2.491272 | 1285cccc27603a5d91538f6728a315b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gandalfleal/twvault",
"max_stars_repo_path": "app/TW.Vault.Lib/Scaffold/CurrentVillage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152555"
} | starcoder | using System;
using System.Collections.Generic;
namespace TW.Vault.Lib.Scaffold
{
public partial class CurrentVillage
{
public long VillageId { get; set; }
public long? ArmyStationedId { get; set; }
public long? ArmyTravelingId { get; set; }
public long? ArmyOwnedId { get; set;... | 1.774009 | a49c8e1634b9f3201f679afeddb0b543 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "darbio/Exceptionless",
"max_stars_repo_path": "Source/App/Views/Shared/_AppLayout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152556"
} | starcoder | <reponame>darbio/Exceptionless<filename>Source/App/Views/Shared/_AppLayout.cshtml
@using System.Web.Optimization
@using Exceptionless.App.Extensions
@using Exceptionless.Core
@using Exceptionless.Core.Models
@{
Layout = "~/Views/Shared/_TopNavLayout.cshtml";
bool isLoggedIn = Request.IsAuthenticated;
stri... | 1.714388 | a6d1abc7bb2342c52c61f91c7c3b63b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "migouche/Sanicball-Custom",
"max_stars_repo_path": "Assets/Scripts/Gameplay/EnableGravity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152557"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using Sanicball.Gameplay;
using UnityEngine;
public class EnableGravity : MonoBehaviour {
private void OnTriggerEnter(Collider other) {
var bc = other.GetComponent<Ball>();
if (bc != null) {
bc.rb.useGravity = true;
}
}
}
| 1.350745 | 74a9b5005ca55b5d7008055af3713fa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833338 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jusbuc2k/dotnet_mod_auth_pubtkt",
"max_stars_repo_path": "src/LoginUI/Data/MySqlUserStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152558"
} | starcoder | <reponame>jusbuc2k/dotnet_mod_auth_pubtkt
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
namespace WebApplication.Data
{
public class MySqlUserStoreOptions
{
public string ConnectionString { get; set; }
public string Query { get;... | 2.237 | cedcd67c7bd0cb0331180253585db20b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833339 | {
"extension": "c-sharp",
"max_stars_count": "291.0",
"max_stars_repo_name": "FelixBoers/azure-event-hubs",
"max_stars_repo_path": "samples/DotNet/Microsoft.Azure.EventHubs/GeoDRClient/GeoDRClient/GeoDisasterRecoveryClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152559"
} | starcoder | <gh_stars>100-1000
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Azure.Management.EventHub;
using Microsoft.Azure.Management.EventHub.Models;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using Microsoft.Rest;
namespace GeoDRClient
{
internal sealed class GeoDisasterRecovery... | 2.437699 | 10ac8a9f170889d231515601ff8e03b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833340 | {
"extension": "c-sharp",
"max_stars_count": "114.0",
"max_stars_repo_name": "aviadmini/arangoclient.net",
"max_stars_repo_path": "src/ArangoDB.Client/Interface/IDocumentCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152560"
} | starcoder | using ArangoDB.Client.Data;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArangoDB.Client
{
public interface IDocumentCollection : IArangoCollection
{
/// <summary>
/// Creates a new docum... | 2.198889 | bc56d45f693f11bc0ebd703f0ba2f0c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833341 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "ClubPenguin/GameObjectReferenceDataMonoBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152561"
} | starcoder | <reponame>smdx24/CPI-Source-Code<gh_stars>1-10
// GameObjectReferenceDataMonoBehaviour
using ClubPenguin;
using Disney.Kelowna.Common.DataModel;
using UnityEngine;
[DisallowMultipleComponent]
public class GameObjectReferenceDataMonoBehaviour : ScopedDataMonoBehaviour<GameObjectReferenceData>
{
}
| 1.210193 | 80d66c23a91c79aa97e1d906ecc74bc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mulova/shortcut",
"max_stars_repo_path": "Editor/shortcut/ShortcutListDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152562"
} | starcoder | using System.Collections.Generic.Ex;
using System.Ex;
using System.Text.Ex;
using mulova.unicore;
using UnityEditor;
using Object = UnityEngine.Object;
namespace mulova.shortcut
{
public class ShortcutListDrawer : ListDrawer<ShortcutItem>
{
public bool allowSceneObject = true;
public Shortcut... | 2.262686 | 1da7943bbf853381bcf9391c0faed8b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carvalho57/casa-codigo",
"max_stars_repo_path": "src/Helpers/ResponseHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152563"
} | starcoder | using System.Collections.Generic;
using CasaCodigo.Models;
using Flunt.Notifications;
namespace CasaCodigo.Helpers
{
public static class ResponseHelper
{
public static Response CreateResponse(string message)
{
return new Response(message);
}
public static Res... | 2.187549 | 4047aefca755358d6068bab919569807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tommymh/Marker",
"max_stars_repo_path": "Marker/MarkdownDeserializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152564"
} | starcoder | <reponame>tommymh/Marker
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Text;
using Newtonsoft.Json;
namespace Marker {
public class MarkdownDeserializer<T> {
private PropertyInfo ContentPropert... | 2.845961 | dd8b20428e547bf0988ff05023e5b31e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833345 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erichiller/TensorFlow.NET",
"max_stars_repo_path": "src/TensorFlowNET.Core/Gradients/Tape.RecordOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152565"
} | starcoder | <reponame>erichiller/TensorFlow.NET
using System;
using System.Collections.Generic;
using Tensorflow.Util;
using static Tensorflow.tensorflow;
namespace Tensorflow.Gradients
{
public partial class Tape
{
long next_op_id_ = 0;
UnorderedMap<long, long> tensor_usage_;
public void RecordO... | 2.183313 | 4ff7494d0f7593b3dfbd4fb869b1e13d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833346 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ClaveConsulting/ExtensionMethods",
"max_stars_repo_path": "Tests/Clave.ExtensionMethods.Tests/EnumExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152566"
} | starcoder | <reponame>ClaveConsulting/ExtensionMethods
using NUnit.Framework;
namespace Clave.ExtensionMethods.Tests
{
[TestFixture]
public class EnumExtensionsTests
{
[TestCase("One", ExpectedResult = Foo.One)]
[TestCase("Two", ExpectedResult = Foo.Two)]
[TestCase("Three", ExpectedResult = Fo... | 2.373828 | 6f76fcc0ac116e8aa367f88901a1f324 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paulinhps/ManyConsole",
"max_stars_repo_path": "ManyConsole/Internal/RequiredOptionRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152567"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ManyConsole.Internal
{
public class RequiredOptionRecord
{
public string Name;
public bool WasIncluded;
}
}
| 1.560515 | e85cefbdac4b3c3cd07ab512b2e476c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833348 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "issaclin32/shared_memory",
"max_stars_repo_path": "Unity/Assets/ReadSharedMemory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152568"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System;
using System.Runtime.InteropServices;
public class ReadSharedMemory : MonoBehaviour {
public uint SHARED_MEMORY_SIZE = 1024;
public string TAG_NAME = "Local\\Test";
SharedMem map;
void Start () {
Debug.Log("[ReadSharedMemory] initializ... | 2.263484 | cf925f07e58c7c91d169dbe3914f1d86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbbyTheRat/RavenBot",
"max_stars_repo_path": "src/ROBot.Core/GameServer/GameSessionInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152569"
} | starcoder | <reponame>AbbyTheRat/RavenBot
using System;
namespace ROBot.Core.GameServer
{
public class GameSessionInfo
{
public string TwitchUserId { get; set; }
public string TwitchUserName { get; set; }
public Guid SessionId { get; set; }
public DateTime Created { get; set; }
}
} | 1.510106 | ebccf96d59da3640d3617adbe30c373b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsymonds/Brits",
"max_stars_repo_path": "src/Brits.Providers.AmazonSQS/SQSProviderOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152570"
} | starcoder | <filename>src/Brits.Providers.AmazonSQS/SQSProviderOptions.cs
using Amazon.Runtime;
using Amazon.SQS;
namespace Brits
{
/// <summary>
/// Options to configure the <see cref="SQSProvider"/>.
/// </summary>
public class SQSProviderOptions
{
/// <summary>
/// Gets or sets the options u... | 2.19819 | 0d64fdb79b79612399f54c5408fc9c17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833351 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sgsdxzy/CombatModCollection",
"max_stars_repo_path": "src/SendAllTroops/BattleAdvantageModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152571"
} | starcoder | <gh_stars>1-10
using System;
using TaleWorlds.CampaignSystem;
using TaleWorlds.Core;
namespace CombatModCollection.SendAllTroops
{
class BattleAdvantageModel
{
public static float PartyBattleAdvantage(PartyBase party)
{
float num = 1f;
if (party.LeaderHero != null)
... | 2.262108 | e38b6a546393513d053867cf09fcd78a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mutlu-aliosman/EStore",
"max_stars_repo_path": "EStore.WebUI/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152572"
} | starcoder | <gh_stars>0
using Ecommerce.WebUI.Middlewares;
using EStore.Business.Abstract;
using EStore.Business.Concrete;
using EStore.DataAccess.Abstract;
using EStore.DataAccess.Concrete.EfCore;
using EStore.WebUI.IDentity;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;... | 1.652653 | c9ef9611f8eeb9f6b2f9a46c762aa3d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LagakisGeorge/cshart-lag1",
"max_stars_repo_path": "cshart-lag1/MdiMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152573"
} | starcoder | namespace WindowsFormsApplication1
{
partial class ff
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | 1.757133 | 2021710b6397f9b9163fe9c573404ebf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MasteroPL/BinaryConverter",
"max_stars_repo_path": "BinaryConverter/BinaryConverter/models/ConverterCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152574"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace BinaryConverter.models
{
public enum ConverterCategory
{
/// <summary>
/// Any converter tha can be found
/// </summary>
ANY = -1,
/// <summary>
/// 2. A custom converter added manually to the converters list within a class
/... | 2.709232 | 6bdff96f9e72ebe7f9ad78bf86cc016c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "achurilo/Sanderling",
"max_stars_repo_path": "src/Sanderling/Sanderling/Motor/WindowMotor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152575"
} | starcoder | <filename>src/Sanderling/Sanderling/Motor/WindowMotor.cs
using Bib3;
using Bib3.Geometrik;
using BotEngine.Motor;
using System;
using System.Collections.Generic;
using System.Linq;
using BotEngine.WinApi;
using System.Threading;
namespace Sanderling.Motor
{
public class WindowMotor : IMotor
{
readonly public IntP... | 2.468076 | 59a727a15526663b8cc809664f80591b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MartianDust/MartianDust-Project",
"max_stars_repo_path": "Assets/Plugins/Mars Motion Toolkit/Utilities/Unity Editor/Menubar/Editor/WhetherToPauseAtStart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152576"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
// Whether To Pause At Start:
// • determines whether Pause At Start runs
public static class WhetherToPauseAtStart
{
private const string menuItem = "At Start/Pause %#L";
public static bool state => Menu.GetChecked(m... | 2.072734 | 5630972702d30645079e7a17cb42c42d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ricpuk/FoodTracker",
"max_stars_repo_path": "src/WebUI/Areas/Identity/Pages/Account/Login.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152577"
} | starcoder | @page
@model LoginModel
@{
ViewData["Title"] = "Log in";
}
<div class="container">
<div class="login_container">
<div class="row justify-content-center">
<div class="col-xs-12 col-sm-6 card shadow-lg mt-5">
<h3 class="authTitle">Login or <a asp-page="./Register" asp-route... | 2.302453 | a7c1577e50be1c1449f38b6d43b75475 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833358 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pinch-perfect/Microsoft.IaC",
"max_stars_repo_path": "InfrastructureAsCode.Powershell/Commands/Sites/SetIaCModernUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152578"
} | starcoder | using InfrastructureAsCode.Core.Extensions;
using InfrastructureAsCode.Powershell.Commands.Base;
using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using System.Threading.Tasks;
namespace InfrastructureAsCode.Pow... | 2.208226 | 9299ec94b678b50d92ced46eb23f185a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dankennedy/MigraDoc",
"max_stars_repo_path": "code/MigraDoc.RtfRendering/MigraDoc.RtfRendering/RtfDocumentRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152579"
} | starcoder | #region MigraDoc - Creating Documents on the Fly
//
// Authors:
// <NAME> (mailto:<EMAIL>)
//
// Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany)
//
// http://www.pdfsharp.com
// http://www.migradoc.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of c... | 2.277903 | 0fe62fe91f20e14bbb13aa806ccd5925 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "castillocarlosr/HelpDeskSupport",
"max_stars_repo_path": "WithAuth/Models/CartTickets.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152580"
} | starcoder | <filename>WithAuth/Models/CartTickets.cs
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace WithAuth.Models
{
public class CartTickets
{
public int ID { get; set; }
[ForeignKey("Cart")]
public int CartID { get; set; }
public int OrderID { get; set; }
... | 1.821661 | 5a0d908ba637f8b089f0915ce0a22a9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833361 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "96malhar/aws-dotnet-deploy",
"max_stars_repo_path": "src/AWS.Deploy.Orchestration/CDK/CDKVersionDetector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152581"
} | starcoder | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace AWS.Deploy.Orchestration.CDK
{
/// <summary>
/// Detects t... | 2.522532 | f51335c790155e2e180a687979fa827e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833362 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lucasassislar/nucleusdotnet",
"max_stars_repo_path": "Nucleus.Gaming/Nucleus.Gaming/Util/Utils/AssemblyUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152582"
} | starcoder | <reponame>lucasassislar/nucleusdotnet
using System;
using System.IO;
using System.Reflection;
namespace Nucleus {
public static class AssemblyUtil {
public static string GetStartFolder() {
Assembly entry = Assembly.GetEntryAssembly();
return Path.GetDirectoryName(entry.Location);
... | 2.612768 | 2c3e121352f8ea6cd43ab3368fd74491 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bozhinov86/test",
"max_stars_repo_path": "Examples/NullValuesArithmetic/NullValues.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152583"
} | starcoder | <filename>Examples/NullValuesArithmetic/NullValues.cs
using System;
class NullValues
{
static void Main()
{
int? number = null;
double? doubleNumber = null;
Console.WriteLine(number);
Console.WriteLine(doubleNumber);
int notNullInt = ... | 3.192147 | a9985863faec7996e29927e5d128e216 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833364 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jpbruyere/GLStudio",
"max_stars_repo_path": "src/Rendering.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152584"
} | starcoder | //
// Rendering.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2017 jp
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at yo... | 2.010639 | 3959fd7b77636f7ac6318df8a9196586 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sinnco/codemaker",
"max_stars_repo_path": "CodeMaker/Templates/MySql/Domain/Service/${ClassName}Service.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152585"
} | starcoder | /*----------------------------------------------------------------
// Copyright (C) 2012 重庆新媒农信科技有限公司 版权所有。
//
// 文件名:${ClassName}Service.cs
// 文件功能描述:$Description 领域层服务实现
//
//
// 创建标识: $Author -- $CurrentTime
//
// 修改标识:
// 修改描述:
//----------------------------------------------------------------*/
using ... | 2.124288 | c86708d525126043e9913e6c425a57f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833366 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "RyanHauert/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Core/Security/AntiForgery/AntiForgeryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152586"
} | starcoder | <filename>src/FubuMVC.Core/Security/AntiForgery/AntiForgeryService.cs
using System.Threading;
using System.Web;
using FubuCore;
using FubuMVC.Core.Http.Cookies;
using FubuMVC.Core.Runtime;
using FubuMVC.Core.Runtime.Files;
namespace FubuMVC.Core.Security.AntiForgery
{
public class AntiForgeryService : IAntiForgery... | 2.083853 | e3ab518e8403b0cf049a2cff4ebd1a82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833367 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "slango0513/Box2DSharp",
"max_stars_repo_path": "src/Common/Matrix3x3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152587"
} | starcoder | using System;
using System.Numerics;
#if USE_FIXED_POINT
using Single = FixedMath.Fix64;
using Vector2 = FixedMath.Numerics.Fix64Vector2;
using Vector3 = FixedMath.Numerics.Fix64Vector3;
#endif
namespace Box2DSharp.Common
{
public struct Matrix3x3
{
public Vector3 Ex;
public Vector3 Ey;
... | 2.95478 | 938bca1782c5e60793070bab6d336ff4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidbirchwork/SpreadsheetAnalysis",
"max_stars_repo_path": "Src/ExcelFunctions/ExcelFunctions/Iserror.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152588"
} | starcoder | <filename>Src/ExcelFunctions/ExcelFunctions/Iserror.cs
using System;
using System.ComponentModel.Composition;
using NCalcExcel.Domain;
using NCalcExcel.Functions;
namespace ExcelFunctions.ExcelFunctions {
//http://office.microsoft.com/en-us/access-help/iserror-function-HA001228865.aspx
[Export(typeof(AFunctio... | 2.775112 | ec63903e932cc6b5ecd19cb546e0992e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharwell/clide",
"max_stars_repo_path": "src/Clide.Interfaces/Startable/StartableAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152589"
} | starcoder | <reponame>sharwell/clide
using System;
using System.ComponentModel.Composition;
namespace Clide
{
/// <summary>
/// Provides the metadata attriute to export a component that needs to be started
/// </summary>
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
p... | 2.803479 | 3a7f2a3eaeb257f345f34f575e2d086d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833370 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ispras/FuzzedDataProviderCS",
"max_stars_repo_path": "FuzzedDataProviderCSTest/UnitTest1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152590"
} | starcoder | <reponame>ispras/FuzzedDataProviderCS
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FuzzedDataProviderCSLibrary;
using System.IO;
namespace FuzzedDataProviderCSTest
{
[TestClass]
public class UnitTest1
{
... | 2.180958 | 72fc73ade5f000b432df092043c33303 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Home-History-Web/HomeHistoryRoot",
"max_stars_repo_path": "HomeHistory.Web/Controllers/HomeHistoryItemsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152591"
} | starcoder | <reponame>Home-History-Web/HomeHistoryRoot<gh_stars>0
using Microsoft.AspNetCore.Mvc;
using HomeHistoryApi.Models;
using System.IdentityModel.Tokens.Jwt;
using System.Net;
using System.Net.Http.Json;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace HomeHistory.Web.Controllers;
[ApiController]
[... | 1.441503 | a03739aca75db27f7df1ed93abfd93eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "3egg/New-Input-System",
"max_stars_repo_path": "Assets/Scenes/scripts/PlayerMovement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152592"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
namespace Scenes.scripts
{
public class PlayerMovement : MonoBehaviour
{
private Rigidbody player;
private PlayerInputActions inputActions;
private Vector2 moment;
private bool i... | 2.16285 | 015e67d4f59d1fab20bede293b47d406 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833373 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "aspose-cells-cloud/aspose-cells-cloud-dotnet",
"max_stars_repo_path": "Aspose.Cells.Cloud.SDK/Model/Top10.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152593"
} | starcoder | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Aspose" file="Top10.cs">
// Copyright (c) 2016 Aspose.Cells for Cloud
// </copyright>
// <summary>
// Permission is hereby granted, free of charge, to any per... | 2.328584 | 86f6e8c493ae3293e6af32dd3f1333db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833374 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Statev7/SoftUni-Java",
"max_stars_repo_path": "C01_C#ProgrammingFundamentals-May-2021/P13_ObjectsAndClasses/P07_VehicleCatalogue/Models/Vengicle/Truck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152594"
} | starcoder | namespace P07_VehicleCatalogue.Models.Vengicle
{
using System.Text;
public class Truck : VehicleBaseModel
{
public Truck(string brand, string model, int weight)
: base(brand, model)
{
this.Weight = weight;
}
public int Weight { get; private set; }
... | 3.221619 | a2f7a0af9d23fa8bd9178dfef5b3ef36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alatabbi/TexE",
"max_stars_repo_path": "NHunspellWrapper/Spelling/SpellingOptionsFormBasic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152595"
} | starcoder | using System;
using System.ComponentModel;
using System.Windows.Forms;
using NHunspellComponent.Spelling.Interfaces;
namespace NHunspellComponent.Spelling
{
public partial class SpellingOptionsFormBasic : Form, ISpellingOptionsWindow
{
public event Options.OptionsChangedHandle OptionsChanged;
privat... | 2.564325 | 15960a34d77dda9bc20dd8ce587adab3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833376 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AghaDostain/Todo_DotNetCore_2",
"max_stars_repo_path": "Core_Todo/Todo.Repositories/Implementations/UserTaskRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152596"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Todo.Entities;
namespace Todo.Repositories
{
public class UserTaskRepository : GenericRepository<UserTask>, IUserTaskRepository
{
public UserTaskRepository(DbContext context) : base(context)
{
}
}
}
| 1.713335 | 06e588c5b7bf5982db105ef65620387a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833377 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/objectanchors/Azure.MixedReality.ObjectAnchors.Conversion/src/Generated/Models/AssetConversionProperties.Serialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152597... | starcoder | <filename>sdk/objectanchors/Azure.MixedReality.ObjectAnchors.Conversion/src/Generated/Models/AssetConversionProperties.Serialization.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using Az... | 1.672725 | e0bd2bed407e8c2d00e14a030c28f74a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833378 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "madskristensen/pubsub",
"max_stars_repo_path": "PubSub/PubSubExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152598"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PubSub
{
static public class PubSubExtensions
{
static private readonly Hub hub = new Hub();
static public void Publish<T>( this object obj )
{
... | 2.574588 | 37ca51f66e9e8574adf007f5a51e0d5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833379 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "atrigo/livroCSharp",
"max_stars_repo_path": "Exercicios/Capitulo7/Exemplo7.3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152599"
} | starcoder | /*
* Exemplo 7.3
* Livro: Aprenda a programar com C#
* Autores: <NAME> e <NAME>
* Disponível em: http://www.silabo.pt
*/
using System;
namespace ConsoleApp1
{
class Program
{
static void IntFrac(float x)
{
Console.Write("Parte inteira: {0} \n", (int)x);
Console.Write... | 3.452604 | a496ba0386beb2523d740a64c04c8c58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XxPKBxX/WebcamOnDesktop",
"max_stars_repo_path": "WebcamOnDesktop/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152600"
} | starcoder | using System;
using WebcamOnDesktop.Helpers;
using WebcamOnDesktop.Services;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.Storage;
namespace WebcamOnDesktop
{
public sealed partial class App : Application
{
private Lazy<ActivationService> _activationService;
... | 2.505781 | 443ede7ef1ce072cfcf88243823123c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833381 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SugarBarrel/RogueLibs",
"max_stars_repo_path": "RogueLibsCore/Interactions/VanillaInteractions/ATMMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152601"
} | starcoder | namespace RogueLibsCore
{
public static partial class VanillaInteractions
{
[Include]
private static void Patch_ATMMachine()
{
Patch<ATMMachine>(Params2);
PatchInteract<ATMMachine>();
PatchInteractFar<ATMMachine>();
RogueInteractions.Crea... | 1.879879 | 9dedc41df0f22625332b56b9d8473a97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833382 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MyHomeLibrary/FB2ePub",
"max_stars_repo_path": "Fb2epubSettings/ConverterSettingsForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152602"
} | starcoder | <reponame>MyHomeLibrary/FB2ePub
namespace Fb2epubSettings
{
partial class ConverterSettingsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources be... | 1.643733 | d8fed9d375214c7743690d3f5b033c5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833383 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ncarandini/BattleShipTournament",
"max_stars_repo_path": "BattleShipTournament.Mirko/AdmiralMirko.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152603"
} | starcoder | <reponame>ncarandini/BattleShipTournament
using BattleshipTournament.Core.Models;
using BattleShipTournament.Mirko.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BattleShipTournament.Mirko
{
public class AdmiralMirko : IAdmiral... | 2.424562 | ae06930f9514c6db5cbfd6f19b383f2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833384 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "MaxShwachko/entitas-redux-modified",
"max_stars_repo_path": "Unity/Assets/ExampleContent/Generated/VisualDebug/Components/VisualDebugAnyMyEventAddedListenerComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152604"
} | starcoder | <filename>Unity/Assets/ExampleContent/Generated/VisualDebug/Components/VisualDebugAnyMyEventAddedListenerComponent.cs
public partial class VisualDebugEntity
{
public AnyMyEventAddedListenerComponent AnyMyEventAddedListener { get { return (AnyMyEventAddedListenerComponent)GetComponent(VisualDebugComponentsLookup.AnyMyE... | 2.174802 | de349f13b8e00a2408f7e21d37001c8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833385 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcusjobb/NET20D",
"max_stars_repo_path": "TDD/Inlämning1/Andrei/TDD_inl_1/Geometry/Circle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152605"
} | starcoder | <filename>TDD/Inlämning1/Andrei/TDD_inl_1/Geometry/Circle.cs
namespace TDD_inl_1.Geometry
{
using Geothings.Extensions;
using System;
using TDD_inl_1.Interfaces;
public class Circle : IGeometric
{
// Set radius
public float Radius { get; set; }
public Circle(float... | 3.226118 | 810b926919b1a9a0efffd020ab44156c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yamamoto2002/bitspersampleconv2",
"max_stars_repo_path": "WWFlacRWCS/Metadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152606"
} | starcoder | <reponame>yamamoto2002/bitspersampleconv2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WWFlacRWCS {
public class Metadata {
public int sampleRate;
public int channels;
public int bitsPerSample;
public int pictureBytes;
publ... | 2.226594 | c670b42ef34c3b59508173b7ca72c960 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shuebner20/dracoon-csharp-sdk",
"max_stars_repo_path": "DracoonSdk/SdkInternal/DracoonRequestBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152607"
} | starcoder | using Dracoon.Sdk.Filter;
using Dracoon.Sdk.SdkInternal.ApiModel;
using Dracoon.Sdk.SdkInternal.ApiModel.Requests;
using Dracoon.Sdk.SdkInternal.OAuth;
using Dracoon.Sdk.SdkInternal.Util;
using Dracoon.Sdk.Sort;
using Newtonsoft.Json;
using RestSharp;
using System;
using System.Net;
using System.Text;
namespace Draco... | 1.97728 | 0f82a8d2c21686c4c4c4af6444284070 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forrest79/updatehosts",
"max_stars_repo_path": "UpdateHosts-VS/Request.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152608"
} | starcoder | <reponame>forrest79/updatehosts
using System.Collections.Generic;
namespace UpdateHosts
{
/// <summary>
/// Action enumerations.
/// </summary>
public enum Action
{
/// <summary>
/// Add host.
/// </summary>
Add,
/// <summary>
/// Remove host.
... | 3.001386 | 0c6b8aeeb33193cc69ae4a7060c70a2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833389 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "NS-Sp4ce/Shack2ToolsWithoutBackdoor",
"max_stars_repo_path": "SuperSQLInjectionV1/SuperSQLInjection/payload/Comm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152609"
} | starcoder | <reponame>NS-Sp4ce/Shack2ToolsWithoutBackdoor
using System;
using System.Collections.Generic;
using System.Text;
using tools;
namespace SuperSQLInjection.payload
{
class Comm
{
public const String COLUMNS_SPLIT_STR = "$\t$";
public const String COLUMNS_REG_SPLIT_STR = "\\$\\t\\$|\\$\\\\t\\$";... | 2.272696 | 41bb9e7b57f3684be3c9a43f3f6f5f83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833390 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "sagifogel/NCop",
"max_stars_repo_path": "NCop.IoC/Fluent/IReuseStrategyRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152610"
} | starcoder | <gh_stars>10-100
namespace NCop.IoC.Fluent
{
public interface IReuseStrategyRegistration : IFluentRegistration, ICasted, IOwnedBy
{
}
}
| 1.01399 | 56085e78a4c37670a3a785a4cc5ae1fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833391 | {
"extension": "c-sharp",
"max_stars_count": "1629.0",
"max_stars_repo_name": "risadams/ical.net",
"max_stars_repo_path": "net-core/Ical.Net/CalendarComponents/IAlarmContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152611"
} | starcoder | using System.Collections.Generic;
using Ical.Net.DataTypes;
namespace Ical.Net.CalendarComponents
{
public interface IAlarmContainer
{
/// <summary>
/// A list of <see cref="Components.Alarm"/>s for this recurring component.
/// </summary>
ICalendarObjectList<Alarm> Alarms { ge... | 2.686418 | cfd6293f68a58c49f1cc89578cabbdec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lwchkg/teams_assignment_explorer",
"max_stars_repo_path": "TeamsAssignmentExplorer/IconUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152612"
} | starcoder | using System.Collections.Generic;
using System.Windows.Media.Imaging;
namespace TeamsAssignmentExplorer
{
class IconUtil
{
private static Dictionary<string, BitmapSource> iconStore;
public static BitmapSource GetIconForExtension(string extension)
{
if (iconStore == null)
... | 2.631454 | e813e7c9e285bafbfe3b3c13f04006ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833393 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Eyalc1974/HtmlControlPageObject",
"max_stars_repo_path": "Controls/HtmlControlDynamicTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152613"
} | starcoder | <filename>Controls/HtmlControlDynamicTable.cs
using Automation.Core.Attributes;
using Automation.Core.Containers;
using Automation.Core.Infrastructure;
using Automation.Core.Logging;
using OpenQA.Selenium;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
us... | 2.590244 | 0d3378ae320068edd9c90da4cd4add7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abharath27/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/StorSimple/Generated/Models/NetworkMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152614"
} | starcoder | <reponame>abharath27/azure-libraries-for-net<gh_stars>0
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
... | 1.875025 | ce45ba8553c8a017f451578dad279868 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833395 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "E66666666/GTAVGlowingBrakes",
"max_stars_repo_path": "GlowingBrakes/Ptfx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152615"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using GTA;
using GTA.Math;
using GTA.Native;
namespace GlowingBrakes
{
static class Ptfx
{
public static void RequestEffectLibrary(string lib)
{
Function.Call(Hash.REQUEST_NAMED_PTFX_ASSET, lib);
while (... | 1.860725 | d789d26ab2360cede94d06859950f63b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Brex09/StardewMods",
"max_stars_repo_path": "FuryCore/Models/CustomEvents/ClickableComponentPressedEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152616"
} | starcoder | <reponame>Brex09/StardewMods<filename>FuryCore/Models/CustomEvents/ClickableComponentPressedEventArgs.cs<gh_stars>0
namespace StardewMods.FuryCore.Models.CustomEvents;
using System;
using StardewModdingAPI;
using StardewMods.FuryCore.Interfaces.ClickableComponents;
using StardewMods.FuryCore.Interfaces.CustomEvents;
... | 2.330448 | 26c628932bd17adc2e6774f4bca8f86f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aluminium8/CSHARP_WPF_CLOCK",
"max_stars_repo_path": "clock_cSharp/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152617"
} | starcoder | <gh_stars>0
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.Me... | 2.280577 | 838e346c0ddca3df2a2f06abcf4e9df5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833398 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "army-of-two/when-its-done",
"max_stars_repo_path": "WhenItsDone/Lib/WhenItsDone.Data.EntityDataSourceContainer/WorkerReviews.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152618"
} | starcoder | //------------------------------------------------------------------------------
// <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 overwritten if the code is regenerated.... | 1.606727 | d853797b9435116a483e9d677ba5379a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833399 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "B1sounours/Lockstep-Framework",
"max_stars_repo_path": "Core/Utility/LSUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152619"
} | starcoder | using UnityEngine;
using System.Collections;
using System;
namespace Lockstep
{
public static class LSUtility
{
const uint Y = 842502087, Z = 3579807591, W = 273326509;
public static uint Seed = 1;
private static uint y = Y, z = Z, w;
public static void Initialize (uint seed)
{
Seed = seed;
y = Y;... | 2.625958 | 12a8572770e4e9b8e5b498128daeda3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833400 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "mwhelan/Specify",
"max_stars_repo_path": "src/tests/Specify.IntegrationTests/ContainerFors/Ioc/DryContainerForIntegrationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152620"
} | starcoder | using DryIoc;
using Specify.Containers;
using Specify.Mocks;
using Specify.Tests.Stubs;
namespace Specify.IntegrationTests.ContainerFors.Ioc
{
public class DryContainerForGetTests : ContainerForGetTestsBase
{
protected override ContainerFor<T> CreateSut<T>()
{
var dryCon... | 2.043418 | e25f984a7eb6abe78b1f11cebc48e2d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CommonTimeGames/Caminho-Unity",
"max_stars_repo_path": "Assets/Caminho/Scripts/Example/DialogueRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152621"
} | starcoder | <filename>Assets/Caminho/Scripts/Example/DialogueRunner.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using CommonTimeGames.UI;
public class DialogueRunner : MonoBehaviour
{
public InputField DialogueInput;
public InputField PackageInput;
// Use t... | 1.846752 | d3a5ef6d24f412ab1442bcdadbcb3827 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itsmahadi007/Hospital-Management-System",
"max_stars_repo_path": "Hospital Management System/Patient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152622"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace Hospital_Management_System
{
public partial class... | 2.225628 | 9b89bca4c084273dbaa82a3850a03772 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FeodorFitsner/datastax-csharp-driver",
"max_stars_repo_path": "src/Cassandra.Tests/BuilderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152623"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using NUnit.Framework;
namespace Cassandra.Tests
{
[TestFixture]
public class BuilderTests
{
[Test]
public void WithConnectionStringCredentialsTest()
{
... | 2.423021 | 0145cf8743203ff1e44465c9c2c13606 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833404 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "georgidelchev/CSharp-Programming-Advanced",
"max_stars_repo_path": "02 - [CSharp OOP]/21 - [Design Patterns - Exercise]/Component/Models/CompositeGift.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152624"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Component.Contracts;
namespace Component.Models
{
public class CompositeGift : GiftBase, IGiftOperations
{
private List<GiftBase> _gifts;
public CompositeGift(string name, int price)
: base(name, price)
... | 3.592731 | 39cd5efb312463f730dc50c5b36e4cd2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833405 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dangerneck/UnityRPG",
"max_stars_repo_path": "Assets/Scripts/Containers/Container.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152625"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class Container : MonoBehaviour
{
public GameManager GameManager;
public ContainerModel State;
public string ContainerId;
public Texture Gump;
public float GumpPadding;
float cx;
float cy;
int centreW;
i... | 1.85093 | bf6f1682dde6235026206a32423fb8e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833406 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "linkdotnet/Blog",
"max_stars_repo_path": "src/LinkDotNet.Blog.Domain/Skill.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152626"
} | starcoder | using System;
namespace LinkDotNet.Blog.Domain;
public class Skill : Entity
{
private Skill()
{
}
private Skill(string name, string iconUrl, string capability, ProficiencyLevel proficiencyLevel)
{
IconUrl = iconUrl;
Name = name;
Capability = capability;
Proficienc... | 2.923245 | fc03a8d217d63ba839dab9f976a26c9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "talaryonlabs/storagr",
"max_stars_repo_path": "src/Storagr.Server/Services/StoragrService.User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152627"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualBasic;
using Storagr.Server.Data.Entities;
using Storagr.Shared;
namespace Storagr.Server.Services
{
public partial class StoragrService
{
private ... | 1.877582 | 90c36574604bf72c07d87f528b3243af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833408 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SymCors/Altes-Automation",
"max_stars_repo_path": "Automation/Mail.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152628"
} | starcoder | using MySql.Data.MySqlClient;
using System;
using System.Globalization;
using System.Net;
using System.Net.Mail;
using System.Reflection;
using System.Resources;
using System.Text;
using System.Windows;
using System.Windows.Controls;
namespace Automation
{
/// <summary>
/// Interaction logic for Mail.xaml
... | 2.274955 | dd04121b66c021092a8a419fbf7cecc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833409 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "armanab/CleanArchitecture",
"max_stars_repo_path": "src/Common/Infrastructure/Identity/IdentityService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152629"
} | starcoder | using AutoMapper;
using AutoMapper.QueryableExtensions;
using CleanApplication.Application.Common.Enum;
using CleanApplication.Application.Common.Exceptions;
using CleanApplication.Application.Common.Interfaces;
using CleanApplication.Application.Common.Models;
using CleanApplication.Application.Dto;
using CleanApplic... | 2.076675 | 7c174e692102a51bc4ff10f8b331d6e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833410 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "PietroProperties/holms.platformclient.net",
"max_stars_repo_path": "csharp/HOLMS.Platform/HOLMS.Platform/Types/Booking/Reservations/CheckGuaranteeTenderReceived.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152630"
} | starcoder | <reponame>PietroProperties/holms.platformclient.net
using Google.Protobuf.WellKnownTypes;
using HOLMS.Types.Extensions.Booking.Reservations;
namespace HOLMS.Types.Booking.Reservations {
public partial class CheckGuaranteeTenderReceived : IGuaranteeTenderReceivedEvent {
public Timestamp CreatedAt => Create... | 1.156973 | 1cd7b1432802b3096cb3b393d29e38dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pioh123/ShoooterGame3D",
"max_stars_repo_path": "Assets/tutoriales/scripts/Items/ConsumableStats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152631"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace tutoriales
{
[CreateAssetMenu(fileName = "consumableStats", menuName = "tutoriales/consumable stats")]
public class ConsumableStats : ItemStats
{
public float Duration;
public float EffectStr... | 1.717074 | be2c8b5ae7a5bb793d5458cfca167f39 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.