added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70833 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zavada-sergey/TradeUnionCommittee.App",
"max_stars_repo_path": "src/TradeUnionCommittee.Core/src/TradeUnionCommittee.DAL/Entities/PrivateHouseEmployees.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70834"
} | starcoder | <gh_stars>1-10
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace TradeUnionCommittee.DAL.Entities
{
public class PrivateHouseEmployees
{
public long Id { get; set; }
public long IdEmployee { get; set; }
public strin... | 1.842475 | 747b1594f01bb43f455bf28f46c6d1c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70834 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thpspx0012/GhostOnlineServer",
"max_stars_repo_path": "Server/Common/Constants/InventoryType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70835"
} | starcoder | <reponame>thpspx0012/GhostOnlineServer
namespace Server.Common.Constants
{
public static class InventoryType
{
public enum EquipType : byte
{
Weapon = 0, // 武器[Weapon]
Outfit = 1, // 衣服[Outfit]
Ring = 2, // 戒指[Ring]
Necklace = 3,// 項鍊[Necklac... | 2.117145 | df199f4942c6dc5c66910241030b9a4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70835 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ansel86castro/Igneel",
"max_stars_repo_path": "Samples/ForgeEditor/ISceneView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70836"
} | starcoder | <filename>Samples/ForgeEditor/ISceneView.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ForgeEditor
{
public interface ISceneView
{
void OnSceneChanged(Igneel.SceneManagement.Scene scene);
}
}
| 1.402496 | 248e0d3f7bf26c2f8f6a84aae225f98b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "konvovden/masstransit-demo",
"max_stars_repo_path": "src/OrderOrchestratorService/Migrations/StateMachinesDbContextModelSnapshot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70837"
} | starcoder | // <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using OrderOrchestratorService.Database;
namespace OrderOrchestratorService.Migrations
{
[DbContext(typeof(StateMachinesDbContext))]
... | 1.832775 | 467c8e874b9175e8a7f1ee0ed149c90e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70837 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mikaisomaa/unity_ads_statstool",
"max_stars_repo_path": "Assets/Scripts/csvLoaderScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70838"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using System;
using UnityEngine.UI;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine.Networking;
public class csvLoaderScript : MonoBehaviour {
public static csvLoaderScript current;
public GameObject loadingCursor;
... | 2.0609 | 4aba4958da237a417e36600e4ae82b96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70838 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "aevien/master-server-framework",
"max_stars_repo_path": "Assets/Barebones/Msf/Scripts/Msf/MsfAdvancedSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70839"
} | starcoder | <reponame>aevien/master-server-framework
using Barebones.Logging;
using Barebones.Networking;
using System;
namespace Barebones.MasterServer
{
/// <summary>
/// Advanced settings wrapper
/// </summary>
public class MsfAdvancedSettings
{
/// <summary>
/// Factory, used to create cli... | 2.101334 | 1bcc5bcc3246adaefe467b3de27e60ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70839 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "imanushin/leak-blocker",
"max_stars_repo_path": "Projects/LeakBlocker.InternalLicenseManager/LicenseCreator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70840"
} | starcoder | <reponame>imanushin/leak-blocker<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
using LeakBlocker.Libraries.Common;
using LeakBlocker.Libraries.Common.Collections;
using LeakBlocker.Libraries.Common.License;
namespace LeakBloc... | 2.294113 | dd82e5e9a0e2a8a07cfc648a2f32c241 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70840 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "Stefangansevles/RemindMe",
"max_stars_repo_path": "RemindMe/Forms/Old forms/RemindMeOptionPrompt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70841"
} | starcoder | using Business_Logic_Layer;
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 RemindMe
{
public partial class RemindMeOptionPrompt : Form
... | 2.712841 | 578e530f553d273db0de17ccc4c5b353 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tongxin3267/alabo",
"max_stars_repo_path": "src/02.data/04-Alabo.Data.Things/Goodss/Domain/Repositories/GoodsLineRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70842"
} | starcoder | <gh_stars>0
using Alabo.Data.Things.Goodss.Domain.Entities;
using Alabo.Datas.UnitOfWorks;
using Alabo.Domains.Repositories;
using MongoDB.Bson;
namespace Alabo.Data.Things.Goodss.Domain.Repositories
{
public class GoodsLineRepository : RepositoryMongo<GoodsLine, ObjectId>, IGoodsLineRepository
{
publi... | 1.28264 | bb4069295a6d5a61314c34546ced449a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devlead/HelloCake",
"max_stars_repo_path": "hello.cake",
"provenance": "train-00000-of-00045.jsonl.gz:70843"
} | starcoder | <gh_stars>0
Information("Hello World"); | 2.060299 | b5b586ecdc20c1b92d2c6cbffbe0d3f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70843 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kash0321/iot",
"max_stars_repo_path": "tools/DevicesApiTester/Commands/Pwm/PwmCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70844"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Device.Pwm;
using CommandLine;
using DeviceApiTester.Infrastructure;
namespace DeviceApiTeste... | 2.166118 | caa62a5d826bc5a41aee3023f3ca689e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70844 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cts-randrid/WurmAssistant3",
"max_stars_repo_path": "src/Services/WebServiceV2/WurmAssistantWebService/Model/Entities/Log.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70845"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using AldursLab.WurmAssistantWebService.Model.Entities.Base;
namespace AldursLab.WurmAssistantWebService.Model.Entities
{... | 1.93582 | 72444513e22b8e0f658f3ae8cdc9e810 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikodemmazur/EntityFrameworkCoreTests",
"max_stars_repo_path": "tests/EntityFrameworkCoreTests/Entities/Review.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70846"
} | starcoder | <filename>tests/EntityFrameworkCoreTests/Entities/Review.cs
#nullable disable
namespace EntityFrameworkCoreTests.Entities
{
public class Review
{
public int ReviewId { get; set; }
public string VoterName { get; set; }
public int NumStars { get; set; }
public string Comment { ge... | 1.914827 | c59909df9bcaf3ef349bbf4dafe6068a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70846 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Inedo/inedox-inedocore",
"max_stars_repo_path": "InedoCore/InedoExtension/VariableFunctions/Maps/MapRemoveVariableFunction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70847"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Inedo.Documentation;
using Inedo.ExecutionEngine;
using Inedo.Extensibility;
using Inedo.Extensibility.VariableFunctions;
namespace Inedo.Extensions.VariableFunctions.Maps
{
[ScriptAlias("MapRemove")]
... | 2.371425 | bf61d9223d5aebccb99309a028b3a5ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70847 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "icpmtech/SyncSharepointJobTopShelf",
"max_stars_repo_path": "DependencyInjection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70848"
} | starcoder | using System;
using System.Collections.Specialized;
using System.Configuration;
using Autofac;
using Autofac.Extras.Quartz;
using log4net;
namespace SyncUserProfilesToListContatos
{
/// <summary>
/// Bootstraps the Dependency Injection using Autofac
/// </summary>
public class DependencyInjection
... | 2.304647 | 0171f5c4c424097740029a93659e3808 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Maple-Syrup-Bacon/watwat",
"max_stars_repo_path": "src/Assets/Plugins/Quick/Editor/Classes/QStyles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70849"
} | starcoder | // Copyright (c) 2016 - 2018 Doozy Entertainment / Marlink Trading SRL. All Rights Reserved.
// This code can only be used under the standard Unity Asset Store End User License Agreement
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
using QuickEngine.Core;
using System... | 2.08383 | dbc568a82539141a029f6657b7083a10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sicarrington/PlanningPokerClientDotNet",
"max_stars_repo_path": "PlanningPoker.Client/PlanningPoker.Client/Model/RequestMessageType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70850"
} | starcoder | using System;
namespace PlanningPoker.Client.Model
{
public enum RequestMessageType
{
NewSession,
JoinSession,
UpdateSessionUser,
RefreshSession,
ResetVotesMessage,
SubscribeMessage,
UpdateSessionPropertiesMessage,
EndSessionMessage,
Leav... | 1.599151 | 9437a06afad14c89af0beb682a1ceb04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70850 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TranscribeMe/TranscribeMe-SDK-dotnet",
"max_stars_repo_path": "TranscribeMe.API.Data/Billing/WalletModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70851"
} | starcoder | <filename>TranscribeMe.API.Data/Billing/WalletModel.cs
namespace TranscribeMe.API.Data.Billing
{
public class WalletModel
{
public string Id { get; set; }
public decimal Balance { get; set; }
}
} | 1.823749 | a19f75b338595e69f8d594aa9611875e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70851 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "tomhaigh/aws-sdk-net",
"max_stars_repo_path": "sdk/test/CrossPlatformTests/CommonTests/IntegrationTests/CloudWatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70852"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using Amazon;
using Amazon.CloudWatch;
using Amazon.CloudWatch.Model;
using NUnit.Framework;
using CommonTests.Framework;
namespace CommonTests.IntegrationTests
{
[TestFixture]
public class CloudWatch : TestBas... | 2.213861 | 89ef12ae01ab391cac595de4355ecd60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BakersDozenBagels/UltraCustomNight",
"max_stars_repo_path": "Assets/Scripts/FuntimeFreddy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70853"
} | starcoder | using System.Collections;
using UnityEngine;
using Rng = UnityEngine.Random;
public class FuntimeFreddy : Animatronic, ITP
{
public FuntimeFreddy(UltraCustomNightScript instance) : base(instance)
{
Instance.Log("Funtime Freddy is coming to attack! Listen carefully.");
Instance.AddCoroutineNow(... | 2.571647 | 6add46ae43df4f4be20018c5470bcaf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70853 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VeritasOS/assisted-review-portal",
"max_stars_repo_path": "ARP/Controllers/TokenController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70854"
} | starcoder | /*
Copyright (c) 2019 Veritas Technologies LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | 1.986815 | 402355a059d0d21e8e27e1fd598f53a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70854 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "unoplatform/Uno.WindowsCommunityToolk",
"max_stars_repo_path": "CommunityToolkit.WinUI.UI.Media/Geometry/CanvasStroke.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70855"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Numerics;
using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.Brushes;
using Microsoft.Gra... | 2.689701 | 7b359ed074aa90e9668f293e89dbc110 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonnybasic/tesNet",
"max_stars_repo_path": "OptixCore.Library/VariableContainerNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70856"
} | starcoder | using System;
using OptixCore.Library.Native;
namespace OptixCore.Library
{
public abstract class VariableContainerNode : DefaultOptixNode, IVariableContainer
{
protected abstract Func<int, IntPtr> GetVariable { get; }
protected abstract Func<string, IntPtr> QueryVariable { get; }
prot... | 2.373252 | ee613a4f962ef20e526c63f6c0243b86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70856 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "Manny27nyc/SecureDNS",
"max_stars_repo_path": "Texnomic.DNS/Extensions/IPEndPointExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70857"
} | starcoder | using System;
using System.Net;
namespace Texnomic.DNS.Extensions
{
public static class IPEndPointExtensions
{
public static IPEndPoint Parse(this IPEndPoint IPEndPoint, string text)
{
if (Uri.TryCreate(text, UriKind.Absolute, out Uri uri))
return new IPEndPoint(IPA... | 2.97912 | da9f007f3988b4f06fd3251c3523ec92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "penma/sdbprof",
"max_stars_repo_path": "sdbprof/EventCompositePacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70858"
} | starcoder | <gh_stars>1-10
using System;
using System.IO;
using System.Text;
namespace sdbprof
{
public class EventCompositePacket : IRequestPacket
{
public SuspendPolicy suspendPolicy;
public DebugEvent[] events;
public static EventCompositePacket DecodeFrame(RequestFrame requestFrame)
{... | 2.461532 | a4bc4ef8579d8c630fe28880991defc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miket969/dbup-sqlserver-scripting",
"max_stars_repo_path": "DbUp.Support.SqlServer.Scripting/ScriptingUpgrader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70859"
} | starcoder | <gh_stars>0
using DbUp;
using DbUp.Builder;
using DbUp.Engine;
using DbUp.Engine.Output;
using DbUp.Support.SqlServer;
using DbUp.Support.SqlServer.Scripting;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
usin... | 2.003225 | ffcedae83e7a9d093686302fc11bb222 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javamng/GitHUB",
"max_stars_repo_path": "InformedProteomics.Backend/Data/Sequence/ModificationCombination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70860"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace InformedProteomics.Backend.Data.Sequence
{
/// <summary>
/// Combination of modifications applied to an amino acid sequence
/// </summary>
public class ModificationCombi... | 2.784072 | 04b720a1ec55db068f2b5e964e4b7c0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70860 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jasongould02/versionr",
"max_stars_repo_path": "VersionrUI/Dialogs/CloneNewDialog.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70861"
} | starcoder | <gh_stars>1-10
using System;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using VersionrUI.Commands;
using VersionrUI.ViewModels;
using ... | 2.40097 | fb4f48c4941dad3952af960720720237 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fallfromgrace/More.Net.Windows.Desktop",
"max_stars_repo_path": "More.Net.Windows.Desktop/Channels/Bluetooth/BluetoothComponentExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70862"
} | starcoder | <reponame>fallfromgrace/More.Net.Windows.Desktop
using InTheHand.Net.Bluetooth;
using InTheHand.Net.Sockets;
using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading;
namespace More.Net.Channels.Bluetooth
{
/// <summary>
///
/// </summary>
internal static class... | 2.559902 | b544cb1f84ef4123e0b871239b4806a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevinphelps/Xtensions",
"max_stars_repo_path": "tests/Xtensions.Cache.Tests/CompositeCacheTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70863"
} | starcoder | <gh_stars>0
namespace Xtensions.Cache.Tests
{
using System;
using System.Threading.Tasks;
using Moq;
using Xunit;
public class CompositeCacheTests
{
[Fact]
public void Constructor_ZeroSourceCaches_Throws()
{
Assert.Throws<ArgumentException>(
... | 2.291926 | 298c56e78186cd75fd605ea23249de3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hchungmsft/azure-sdk-for-net",
"max_stars_repo_path": "src/ResourceManagement/RecoveryServices.Backup/RecoveryServicesBackupManagement/Generated/IProtectedItemOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70864"
} | starcoder | //
// Copyright (c) Microsoft and contributors. 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
//
// Unless requi... | 1.879712 | e07dd6965dfe3521530781d6c6395c9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zephnord/Daily-Programmer",
"max_stars_repo_path": "2016-Challenges/07-26-2016/DailyProgrammer_07_26_16.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70865"
} | starcoder | /// <summary>
/// Author: <NAME>
/// Date: 7/26/16
/// Description: Programming challenge to reduce a fraction to its simplest form.
/// </summary>
public class DailyProgrammer_07_26_2016
{
/// <summary>
/// Find the least common factor of the numerator and denominator.
/// Redu... | 3.954581 | ca565d8ac7a780ac90e347078f4debe2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SnehaGunda/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/src/Query/Core/QueryMetrics/SchedulingStopwatch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70866"
} | starcoder | <filename>Microsoft.Azure.Cosmos/src/Query/Core/QueryMetrics/SchedulingStopwatch.cs<gh_stars>0
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos
{
... | 2.91273 | 4e8560af7b7386c18afec783df051993 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70866 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pentacour/ARModbus",
"max_stars_repo_path": "ModbusClient/ModbusClientTests/Messages/WriteMultipleRegistersTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70867"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using ModbusClient.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModbusClient.Messages.Tests
{
[TestClass()]
public class WriteMultipleRegistersTests
{
[Tes... | 2.469347 | 16519972be6d01bb0726c1b0e8fe1569 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pramilasoni/EcommerceBasicSetupStoreFront",
"max_stars_repo_path": "sitecore/shell/client/Applications/ListManager/Controls/TreeViews/ListmanagementTreeView.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70868"
} | starcoder | @using Sitecore.Data
@using Sitecore.Data.Items
@using Sitecore.Globalization
@using Sitecore.Mvc
@using Sitecore.Mvc.Presentation
@using Sitecore.Resources
@using Sitecore.Web.UI
@using Sitecore.Web.UI.Controls.Common.JqueryUiUserControls
@model RenderingModel
@{
var userControl = Html.Sitecore().Controls().GetJque... | 1.574602 | 186e5c77da613ea4e058f9bbd929a74b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterson1/FreshCopy",
"max_stars_repo_path": "CommonTools.Lib.fx45/FileSystemTools/ThrottledFileWatcher1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70869"
} | starcoder | using CommonTools.Lib.ns11.FileSystemTools;
using System;
namespace CommonTools.Lib.fx45.FileSystemTools
{
public class ThrottledFileWatcher1 : FileChangeWatcher1, IThrottledFileWatcher
{
private DateTime _lastRaise;
public uint IntervalMS { get; set; } = 1000;
protected override v... | 2.464584 | 2c96f0f75ad0927e7d87a8a3e88d3239 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "krishna7992/sendgrid-csharp",
"max_stars_repo_path": "src/SendGrid/Helpers/Mail/Model/MailSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70870"
} | starcoder | // <copyright file="MailSettings.cs" company="SendGrid">
// Copyright (c) SendGrid. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using Newtonsoft.Json;
namespace SendGrid.Helpers.Mail
{
/// <summary>
/// A collectio... | 2.231741 | d81ebcb5eae9d0bf76cff4399f68d9f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70870 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Justice-League-Of-Sitecore/hackathon-development",
"max_stars_repo_path": "src/Project/SmartDelete/code/sitecore/shell/Applications/SmartDelete/SmartDelete.aspx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70871"
} | starcoder | <filename>src/Project/SmartDelete/code/sitecore/shell/Applications/SmartDelete/SmartDelete.aspx.designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will... | 1.47273 | 733ab2565b63dfe2b2f98c6625677892 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70871 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lazycrazy/WinDoAdmin",
"max_stars_repo_path": "WinDoControls/Forms/FrmBase.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70872"
} | starcoder | <filename>WinDoControls/Forms/FrmBase.Designer.cs
namespace WinDoControls.Forms
{
partial class FrmBase
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
{
if (disposing && (components !=... | 1.76968 | 5116f4cedf8d4bc14dfd87c35d88b5aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cuongtm93/web_download",
"max_stars_repo_path": "web_download/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70873"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore... | 2.155548 | 80c5e2fd772823283097b96dc0791464 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70873 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Iceto04/SoftUni",
"max_stars_repo_path": "Algorithms Fundamentals/04. Graph Theory, Traversal and Shortest Paths/Lab/P01.ConnectedComponents/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70874"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace P01.ConnectedComponents
{
internal class Program
{
private static List<int>[] graph;
private static bool[] visited;
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
... | 3.689967 | 20fd495aa1d21c792ca5a15488239e0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Stand1k/StandWorld",
"max_stars_repo_path": "Assets/StandWorld/Scripts/Definitions/DefsLoadAnimals.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70875"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace StandWorld.Definitions
{
public static partial class Defs
{
public static void AddAnimal(AnimalDef def)
{
animals.Add(def.uId, def);
}
public static void LoadAnimalsFromCode()
{
anim... | 2.755975 | 42d6649c241173cc52a104afcf9bb35f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70875 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "samvasta/Budget-CLI",
"max_stars_repo_path": "BudgetCli.Core.Tests/Models/Options/IntegerRangeCommandOptionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70876"
} | starcoder | using BudgetCli.Core.Models.Options;
using BudgetCli.Data.Enums;
using BudgetCli.Util.Models;
using Xunit;
namespace BudgetCli.Core.Tests.Models.Options
{
public class IntegerRangeCommandOptionTests
{
[Theory]
[InlineData("[1234, 6789]", 1234, 6789, true, true)]
[InlineData("[1234, 6789... | 2.587907 | 9766c1c9adc1c478cadd3bbcc3f77099 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70876 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wenfeifei/Surging.Sample",
"max_stars_repo_path": "src/Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/SacnScheduled.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70877"
} | starcoder | using DotNetty.Buffers;
using DotNetty.Codecs.Mqtt.Packets;
using DotNetty.Transport.Channels;
using Surging.Core.Protocol.Mqtt.Internal.Enums;
using Surging.Core.Protocol.Mqtt.Internal.Messages;
using System;
namespace Surging.Core.Protocol.Mqtt.Internal.Runtime
{
public class SacnScheduled : ScanRunnable
{
... | 2.162268 | 15f93a3b9dbb4e168ca154da8609c924 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jrharris620/OnboardingExperience",
"max_stars_repo_path": "OnboardingExperience/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70878"
} | starcoder | <gh_stars>0
using System;
using System.Speech.Synthesis;
namespace OnboardingExperience
{
class Program
{
static void Main(string[] args)
{
var user = new User();
SpeakAndWrite("Welcome to your Onboarding Experience");
user.FirstName = AskQuestion("What is... | 3.315732 | 38052768c42caf3e7c4dc34a592115b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rasmus-z/log2console",
"max_stars_repo_path": "src/Log2Console/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70879"
} | starcoder | <reponame>rasmus-z/log2console<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using Log2Console.Log;
using Log2Console.Properties... | 1.705965 | 8a0eb50caacf5d2ff484d36449ed4926 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SvetozarMateev/Programming-Fundamentals",
"max_stars_repo_path": "DataTypesAndVariables/05.SpecialNumbers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70880"
} | starcoder | <filename>DataTypesAndVariables/05.SpecialNumbers/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05.SpecialNumbers
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Consol... | 3.806213 | cc78f7a17985670e9ad9bd93216f463b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabiFaria/Scheduler-Sharp",
"max_stars_repo_path": "src/Scheduler-Sharp/Models/Delegade.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70881"
} | starcoder | using System;
namespace SchedulerSharp.Models
{
public delegate void VoidDelegade ();
}
| 1.294674 | 566b05e2ee107576f7ed143707f504cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70881 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Yunatan/AdvancedInputField",
"max_stars_repo_path": "Assets/AdvancedInputField/Scripts/InputField/Add-ons/TMProTextUnderlineRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70882"
} | starcoder | <reponame>Yunatan/AdvancedInputField
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
#if ADVANCEDINPUTFIELD_TEXTMESHPRO
using TMPro;
#endif
n... | 2.454587 | 3a6259b936d98cf53d650ae3e7cdba9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70882 | {
"extension": "c-sharp",
"max_stars_count": "565.0",
"max_stars_repo_name": "baho-s/CSharpGL",
"max_stars_repo_path": "CSharpGL/Scene/GUI/GLControls/CtrlButton/CtrlButton.Text.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70883"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharpGL
{
public partial class CtrlButton
{
private CtrlLabel label;
/// <summary>
///
/// </summary>
public string Text
{
get { return this.label.Text... | 2.294085 | 027ac05e993fa7314f07d5beb9876ffa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70883 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "kephas-software/kephas",
"max_stars_repo_path": "src/Kephas.Reflection/Reflection/Localization/IElementInfoLocalization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70884"
} | starcoder | <gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IElementInfoLocalization.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See ... | 2.096075 | 221e01827fa3e4a5a7cb48ecd782910e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70884 | {
"extension": "c-sharp",
"max_stars_count": "1582.0",
"max_stars_repo_name": "carlin-q-scott/AspNet.Security.OAuth.Providers",
"max_stars_repo_path": "src/AspNet.Security.OAuth.StackExchange/StackExchangeAuthenticationOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70885"
} | starcoder | /*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers
* for more information concerning the license and the contributors participating to this project.
*/
using System.Net;
using System.Net.Http;
usin... | 1.92154 | 574183deb901034d2d8e627c6c3c269e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ekonbenefits/MVCContrib.FluentHtml",
"max_stars_repo_path": "src/CommandProcessor/CommandProcessor/Validation/ValidationRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70886"
} | starcoder | namespace MvcContrib.CommandProcessor.Validation
{
public abstract class ValidationRule<T> : IValidationRule
{
#region IValidationRule Members
public virtual string IsValid(object input)
{
return IsValidCore((T) input);
}
public virtual bool StopProcessing
{
get { return false; }
}... | 2.140568 | 06f1f654c1c8f20077b5c4f0ffdf0968 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70886 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vadi2/codeql",
"max_stars_repo_path": "csharp/extractor/Semmle.Extraction/FreshEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70887"
} | starcoder | using System.IO;
namespace Semmle.Extraction
{
/// <summary>
/// An entity which has a default "*" ID assigned to it.
/// </summary>
public abstract class FreshEntity : IEntity
{
protected Context cx { get; }
protected FreshEntity(Context cx)
{
this.cx = cx;
... | 2.511651 | 1ac35825dc39a602c22b04298edbf51d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GilbertMolina/App_Administracion_Clinica",
"max_stars_repo_path": "App/Views/Patient/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70888"
} | starcoder | @{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Editar Paciente</h2>
<br>
<form class="form-horizontal">
<div class="form-group">
<label class="control-label col-sm-2" for="id">Cédula:</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="id">
... | 2.503549 | 8f44dcb39740c3908567666608c27845 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scidatasoft/osdr-core",
"max_stars_repo_path": "Sds.Osdr.WebApi/Responses/Node.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70889"
} | starcoder | <gh_stars>0
using MongoDB.Bson.Serialization.Attributes;
using Sds.Osdr.WebApi.Models;
using System;
using System.Collections.Generic;
namespace Sds.Osdr.WebApi.Responses
{
[BsonIgnoreExtraElements]
public class Node
{
public Guid Id { get; set; }
public Guid ParentId { get; set; }
... | 1.381663 | febddbe5ebae6accb3fd0538c603fb66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gamercat01/SanAndreasUnity",
"max_stars_repo_path": "Assets/Scripts/Behaviours/PathsManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70890"
} | starcoder | <filename>Assets/Scripts/Behaviours/PathsManager.cs<gh_stars>0
using Assets.Scripts.Importing.Paths;
using SanAndreasUnity.Importing.Items.Definitions;
using SanAndreasUnity.Net;
using SanAndreasUnity.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace SanAndreas... | 2.172428 | 714eca58b125291c9b346550dfa7e979 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70890 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "inputfalken/Lemonad",
"max_stars_repo_path": "test/Lemonad.ErrorHandling.Unit/Result.Tests/CastTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70891"
} | starcoder | <filename>test/Lemonad.ErrorHandling.Unit/Result.Tests/CastTests.cs
using System;
using Assertion;
using Xunit;
namespace Lemonad.ErrorHandling.Unit.Result.Tests {
public class CastTests {
[Fact]
public void Result_With_Error_Using_Invalid_Cast_Expects_No_Exception() {
const int identit... | 2.612825 | 1d5a1f043d9388fb402d2e99f1c70662 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrEsteban/microsoft-identity-web",
"max_stars_repo_path": "src/Microsoft.Identity.Web/MicrosoftIdentityCircuitHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70892"
} | starcoder | <reponame>DrEsteban/microsoft-identity-web<filename>src/Microsoft.Identity.Web/MicrosoftIdentityCircuitHandler.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.... | 1.86833 | b3e0f89e4a2c01f0286e5286387407eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70892 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "omelnyk1/jenkinsbot",
"max_stars_repo_path": "CSharp/core-DirectLine/DirectLineBot/DirectLineBotDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70893"
} | starcoder | namespace DirectLineBot
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Connector;
[Serializable]
public class DirectLineBotDialog : IDialog<object>
{
public async Task StartAsync(IDialogCo... | 2.79643 | a93b73c2e77afa7ee064f97c0aada0a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70893 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "mariusz-schimke/GiGraph",
"max_stars_repo_path": "src/GiGraph.Dot.Entities.Tests/Labels/DotTextLabelTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70894"
} | starcoder | using GiGraph.Dot.Entities.Labels;
using Xunit;
namespace GiGraph.Dot.Entities.Tests.Labels
{
public class DotTextLabelTest
{
[Fact]
public void converts_string_to_text_label()
{
var value = "text";
DotLabel label = value;
Assert.Equal(value, label.To... | 2.288151 | 614b94bfdbe8126c9004a5831ec47907 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "walthill/gundum",
"max_stars_repo_path": "gundum/Assets/Scripts/ProjectileDestroy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70895"
} | starcoder | <reponame>walthill/gundum<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ProjectileDestroy : MonoBehaviour
{
[SerializeField]
float timeToDestroy = 5.0f;
float newTimeToDestroy;
void Start()
{
StartCoroutine(DestroyRout... | 2.428545 | 6453399e67f1a13875005037c5eefd2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70895 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "zrisher/ARMS",
"max_stars_repo_path": "Scripts/Autopilot/Navigator/GOLIS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70896"
} | starcoder | using System.Text;
using Rynchodon.Autopilot.Data;
using Rynchodon.Autopilot.Pathfinding;
using Rynchodon.Utility;
using VRageMath;
namespace Rynchodon.Autopilot.Navigator
{
/// <summary>
/// Flies to a point in space
/// </summary>
public class GOLIS : NavigatorMover, INavigatorRotator
{
private readonly Pseud... | 2.465767 | f0fef9b6ae53459921e698dd7c210eab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "romanpolunin/PQL",
"max_stars_repo_path": "Pql/IntegrationStubs/IHostedProcessArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70897"
} | starcoder | <filename>Pql/IntegrationStubs/IHostedProcessArgs.cs
using System.Collections.Generic;
namespace Pql.IntegrationStubs
{
public interface IHostedProcessArgs
{
IReadOnlyList<string> CommandLineArgs { get; }
bool IsInteractive { get; }
bool Help { get; }
bool Install { get... | 1.720229 | dfd562aacc5d80dbe4aa3baa2cb00e05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ardittristan/GunfireMod",
"max_stars_repo_path": "GunfireLib/Stores/SpecialTranslationStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70898"
} | starcoder | using StringList = System.Collections.Generic.List<string>;
using System.IO;
using GunfireLib.Utils;
using Il2CppSystem.Collections.Generic;
namespace GunfireLib.Stores
{
internal static class SpecialTranslationsStore
{
private static readonly StringList SpecialTranslationList = new StringList();
... | 2.667365 | 6307a91052e0041856f2bed6b16a6a57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ericalbers/Mirror",
"max_stars_repo_path": "Assets/Mirror/Tests/Editor/Weaver/WeaverSyncDictionaryTests~/SyncDictionaryGenericStructKeyWithCustomMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70899"
} | starcoder | using Mirror;
namespace MirrorTest
{
class SyncDictionaryGenericStructKeyWithCustomMethods : NetworkBehaviour
{
MyGenericStructDictionary harpseals;
struct MyGenericStruct<T>
{
public T genericpotato;
}
class MyGenericStructDictionary : SyncDictionary<MyGe... | 2.437707 | 905ebc932329862a4dee41f21c45d30e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "c3-hoge-fuga-piyo/Easing.unity",
"max_stars_repo_path": "Assets/OhanaYa/Easings/Scripts/Easings.Sinusoidal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70900"
} | starcoder | using UnityEngine;
namespace OhanaYa.Easings
{
public static class Sinusoidal
{
public static float In(float t)
{
const float HALF_PI = Mathf.PI / 2;
return 1 - Mathf.Cos(t * HALF_PI);
}
public static float Out(float t)
{
const floa... | 3.030443 | 5a24b495db05509ea04443a54427515a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70900 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hmehr/OSS",
"max_stars_repo_path": "MemoryLifter/Development/Current/MLifter.DAL/DB/DbStatistic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70901"
} | starcoder | <filename>MemoryLifter/Development/Current/MLifter.DAL/DB/DbStatistic.cs
/***************************************************************************************************************************************
* Copyright (C) 2001-2012 LearnLift USA *
* Contact: Learnlift USA, 12 Greenway Plaza, Suite... | 2.005153 | 258349e246001410deba51d126179072 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WindowsAppsTeam15/WinUniversalApps",
"max_stars_repo_path": "YamAndRateApp/YamAndRateApp/ViewModels/ListOFRestaurantsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70902"
} | starcoder | namespace YamAndRateApp.ViewModels
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using Parse;
using YamAndRateApp.Models;
using Windows.Devices.Geolocation;
using Utils;
using RestaurantViewModels;
public class List... | 2.441075 | bd861041e2fbdec8da377547e100275c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrielaAmbos/desafio-cadastro-de-usuarios-stefanini",
"max_stars_repo_path": "pages/elementMapper/CadastroDeUsuariosElementMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70903"
} | starcoder | using OpenQA.Selenium;
using SeleniumExtras.PageObjects;
namespace Cadastro_de_Usuarios.elementMapper
{
class CadastroDeUsuariosElementMapper
{
[FindsBy(How = How.CssSelector, Using = "#name")]
public IWebElement CampoNome { get; set; }
[FindsBy(How = How.CssSelector, Using = "#email"... | 1.841493 | a7809a85be953d42fe10d3476a1e7469 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70903 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "McHarny/tankinspector",
"max_stars_repo_path": "TankInspector/UIComponents/DamagableComponentViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70904"
} | starcoder | using Smellyriver.TankInspector.Modeling;
using System.Windows.Input;
namespace Smellyriver.TankInspector.UIComponents
{
internal class DamagableComponentViewModel : NotificationObject
{
public IDamageableComponent Component { get; }
public string Name => this.Component.Name;
public virtual... | 2.209688 | 9be5b6d0cd22c9b4ef6130a917d6df86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sevenTiny/SevenTiny.Cloud",
"max_stars_repo_path": "10-Code/SevenTiny.GRpc.Protocol/BusinessGrpc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70905"
} | starcoder | <reponame>sevenTiny/SevenTiny.Cloud<gh_stars>0
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Business.proto
// </auto-generated>
#pragma warning disable 0414, 1591
#region Designer generated code
using grpc = global::Grpc.Core;
namespace SevenTiny.GRpc.Protocol {
... | 1.585522 | bebb8c6804fd37aa3f257ba67d204c06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vrenken/EtAlii.xMvvm",
"max_stars_repo_path": "Playground/1. Structure/xMvvm.Unity/Assets/EtAlii/xMvvm/Runtime/XamlVariant1/Components/ComponentBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70906"
} | starcoder | namespace EtAlii.xMvvm.XamlVariant1
{
using System;
using System.ComponentModel;
using System.Linq.Expressions;
using System.Reflection;
using UnityEngine;
public abstract class ComponentBinding<TComponent, TViewModel> : ViewBinding<TViewModel>
where TComponent: MonoBehaviour
wh... | 2.300272 | 9502ad6b25f06e9d8ed4c11575ca1795 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70906 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mprise-indigo/UncommonSense.CBreeze",
"max_stars_repo_path": "CBreeze/UncommonSense.CBreeze.Automation/NewCBreezeCodeLine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70907"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using UncommonSense.CBreeze.Core;
namespace UncommonSense.CBreeze.Automation
{
[Cmdlet(VerbsCommon.New, "CBreezeCodeLine", DefaultParameterSetName = "NewWithoutID")]
[Alias("CodeLine", "Ad... | 2.398835 | 8bab5d78d988b5473cb09a6293bcc3cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70907 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gamblen/NServiceBus.Router",
"max_stars_repo_path": "src/NServiceBus.Router.SqlServer/Inbox/DeduplicationResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70908"
} | starcoder | <filename>src/NServiceBus.Router.SqlServer/Inbox/DeduplicationResult.cs<gh_stars>1-10
namespace NServiceBus.Router.Deduplication.Inbox
{
enum DeduplicationResult
{
OK,
Duplicate
}
} | 1.30365 | affab6ae39c1d6d2444e466da9e31f03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thanklzhang/Server_Pre",
"max_stars_repo_path": "CenterServer/CommonFunc/SqlBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70909"
} | starcoder | <filename>CenterServer/CommonFunc/SqlBuilder.cs<gh_stars>0
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
public class SqlBuilder
{
//public static Type intType = ... | 2.409311 | c5fce884a1981ca5994799a4ad27a65b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70909 | {
"extension": "c-sharp",
"max_stars_count": "4601.0",
"max_stars_repo_name": "MiaHub/xamarin-forms-samples",
"max_stars_repo_path": "Advanced/DependencyResolution/FactoriesDemo/FactoriesDemo/FormsVideoLibrary/FileVideoSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70910"
} | starcoder | using System;
using Xamarin.Forms;
namespace FormsVideoLibrary
{
public class FileVideoSource : VideoSource
{
public static readonly BindableProperty FileProperty =
BindableProperty.Create(nameof(File), typeof(string), typeof(FileVideoSource));
public string File
{
... | 2.326518 | 2bb03892bbc7dcdfbbca807c21d8d82c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ESA-Security-Group/ej2-aspnetmvc-samples",
"max_stars_repo_path": "Views/Maps/HighlightedRegion.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:70911"
} | starcoder | @using Syncfusion.EJ2
@using Syncfusion.EJ2.Maps
@{
List<object> markerData = new List<object>();
markerData.Add(new { latitude = 35.6379762, longitude = -97.4823761 });
markerData.Add(new { latitude = 35.5676663, longitude = -97.5128031 });
markerData.Add(new { latitude = 35.5412361, longitude = -97.6... | 2.108935 | e6ad7709bbd27e97c943c980ae4474b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Azmalent/sdproject",
"max_stars_repo_path": "Graphs/Graph.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70912"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using SystemAnalyzer.Graphs.Patterns;
using SystemAnalyzer.Matrices;
using QuickGraph;
namespace SystemAnalyzer.Graphs
{
public class Graph : BidirectionalGraph<Stock, Flow>
{
public readonly Stock DefaultStock;
public Graph(boo... | 2.547637 | 9820fda33356a14c0377845187bbd60b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70912 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "T-rvw/LevelEditor",
"max_stars_repo_path": "ATF/Framework/Atf.Gui.WinForms/Applications/OscDialog.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70913"
} | starcoder | namespace Sce.Atf.Applications
{
partial class OscDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summa... | 1.8849 | 4531ea142ddcdf9d308087cfd745cd0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70913 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "DotNetUz/http2dotnet",
"max_stars_repo_path": "Http2Tests/TestHeaders.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70914"
} | starcoder | <filename>Http2Tests/TestHeaders.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using Http2;
using Http2.Hpack;
namespace Http2Tests
{
public static class TestHeaders
{
public static readonly HeaderField[] DefaultGetHeaders = new HeaderField[]... | 2.102674 | bd930149740ec2b268fc5cbce8937797 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70914 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yazawa-ichio/SRNet",
"max_stars_repo_path": "unity/Assets/SRConnection.Unity/Core/Crypto/IHashGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70915"
} | starcoder | <gh_stars>1-10
namespace SRConnection.Crypto
{
public interface IHashGenerator
{
int HashSize { get; }
int BlockSize { get; }
void Initialize();
IHashGenerator Clone();
void CopyFrom(IHashGenerator from);
void HashCore(byte[] array, int ibStart, int cbSize);
void HashFinal(byte[] output, int offs... | 1.917576 | f099717324eb7e0b056b0e455082f804 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70915 | {
"extension": "c-sharp",
"max_stars_count": "167.0",
"max_stars_repo_name": "jonpryor/java.interop",
"max_stars_repo_path": "tests/generator-Tests/SupportFiles/Android.Text.SpanTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70916"
} | starcoder | <reponame>jonpryor/java.interop
#if !JAVA_INTEROP1
using System;
namespace Android.Text {
public enum SpanTypes {
None = 0
}
}
#endif // !JAVA_INTEROP1
| 1.044466 | 3ae32a216c4f1b0fbff79656772e4865 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70916 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidikin45/DigitalNomadDaveAspNetCore",
"max_stars_repo_path": "src/DND.Web.Blog/Mvc/Tag/Notifications/TagsNotifications.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70917"
} | starcoder | <gh_stars>0
using DND.Common.ApplicationServices.SignalR;
using DND.Common.SignalRHubs;
using DND.Domain.Blog.Tags.Dtos;
using Microsoft.AspNetCore.SignalR;
namespace DND.Web.Blog.Mvc.Tags.Notifications
{
public class FormsNotifications : ISignalRHubMap
{
public void MapHub(HubRouteBuilder routes, str... | 1.393153 | 7098c61573e13d3e069412332250ba2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GGJ2018shanghai/GGJ_Project",
"max_stars_repo_path": "Assets/HNAFramework/SubSystems/Message/Message.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70918"
} | starcoder | using System;
using UnityEngine;
/// <summary>
/// Represents a basic message that can be passed around
/// between objects.
/// </summary>
public class Message : IMessage
{
/// <summary>
/// Enumeration for the message type. We use strings so they can
/// be any value.
/// </summary>
protected st... | 3.007613 | 0c22b6a2ca0e7a85a7e0b1363fe78f9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "canyener/Ubl-Tr",
"max_stars_repo_path": "Ubl-Tr/Common/XAdESv132/XAdESTimeStampType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70919"
} | starcoder | namespace UblTr.Common
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http:/... | 1.402197 | 4d52c22399e6c4a62590485e83ac15d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karamem0/linqtocalil",
"max_stars_repo_path": "source/LinqToCalil/Format.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70920"
} | starcoder | <reponame>karamem0/linqtocalil<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Karamem0.LinqToCalil {
/// <summary>
/// API の書式を指定します。
/// </summary>
[DataContract()]
publi... | 2.388319 | 84a434a5eee0a75a407f96cb9a646cfe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70920 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pepsi1x1/Xamarin.Forms.PancakeView",
"max_stars_repo_path": "src/Xamarin.Forms.PancakeView.Multi/Platforms/iOS/ShapeUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70921"
} | starcoder | <gh_stars>1-10
using System;
using CoreGraphics;
using UIKit;
namespace Xamarin.Forms.PancakeView.iOS
{
public static class ShapeUtils
{
public static UIBezierPath CreateRoundedRectPath(CGRect rect, CornerRadius cornerRadius)
{
var path = new UIBezierPath();
path.AddLi... | 2.686812 | 850b6cdccb7a69d09c44f23b8af03722 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rainxh11/Sakont.MongoCRUD",
"max_stars_repo_path": "IDatabaseProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70922"
} | starcoder | <filename>IDatabaseProvider.cs
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Sakont.MongoCRUD
{
public interface IDatabaseProvider
{
Task AbortTransactionAsync();
Task Com... | 2.452227 | 38b601bc744d991c8edcceb8624f3346 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dcleve333/API-Comparison-Tool",
"max_stars_repo_path": "XUnitCompareAPIs/Common/GetAppsettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70923"
} | starcoder | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System.Reflection;
namespace XUnitCompareAPIs.Common
{
class GetAppsettings
{
... | 2.364615 | 6c9344cf09d160df93c5f13ecfa983e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70923 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CobyC/JaRS",
"max_stars_repo_path": "Source/JARS.Core/Extensions/PropertyHelperExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70924"
} | starcoder | <filename>Source/JARS.Core/Extensions/PropertyHelperExtensions.cs<gh_stars>1-10
using JARS.Core.Interfaces.Entities;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace JARS.Core.Extensions
{
///... | 3.251421 | 40f159a7fea8ce997ef86b961456a1d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70924 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MasterScott/CP77Tools",
"max_stars_repo_path": "CP77.CR2W/Types/cp77/genLevelRandomizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70925"
} | starcoder | <reponame>MasterScott/CP77Tools<filename>CP77.CR2W/Types/cp77/genLevelRandomizer.cs<gh_stars>1-10
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class genLevelRandomizer : gameObject
{
[Ordinal(0)] [RED("da... | 1.096857 | 16ec2ca6c4c727a3a19a8de9bf928944 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70925 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "estj92/Toolbox",
"max_stars_repo_path": "Toolbox/Collections/IndexedEnumerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70926"
} | starcoder | <filename>Toolbox/Collections/IndexedEnumerator.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Toolbox.Collections
{
public class IndexedEnumerator<T> : IEnumerator<(T element, int index)>
{
pri... | 3.161376 | 2fddf424c610676553e52ae4a13f561c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70926 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "builttoroam/BuildIt",
"max_stars_repo_path": "src/BuildIt.Forms/BuildIt.Forms.Controls/Platforms/Android/ImageScanCompletedListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70927"
} | starcoder | <filename>src/BuildIt.Forms/BuildIt.Forms.Controls/Platforms/Android/ImageScanCompletedListener.cs
using Android.Media;
using Android.Net;
using System.Diagnostics;
namespace BuildIt.Forms.Controls.Platforms.Android
{
public class ImageScanCompletedListener : Java.Lang.Object, MediaScannerConnection.IOnScanComple... | 2.172047 | 3eeeecaef428754183c755c2ccf040e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70927 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "HarryCU/QwLua",
"max_stars_repo_path": "Source/QwScript/Reflection/ReflectionHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70928"
} | starcoder | <reponame>HarryCU/QwLua
/**
* Copyright (c) 2015, <NAME> 邱允根 (<EMAIL>).
*
* 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
*
... | 2.329961 | 3ae440898ec328fced815d3ea265a7c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HaugenApplications/changetracking",
"max_stars_repo_path": "src/HaugenApps.ChangeTracking/HaugenApps.ChangeTracking/PassivePropertyWatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70929"
} | starcoder | <reponame>HaugenApplications/changetracking<filename>src/HaugenApps.ChangeTracking/HaugenApps.ChangeTracking/PassivePropertyWatcher.cs<gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.T... | 2.469654 | efb018748b95721ca8c4202e919bd48d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70929 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "poizan42/Ramone",
"max_stars_repo_path": "Ramone.Tests.Common/Dog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70930"
} | starcoder | <reponame>poizan42/Ramone
using System.Xml.Serialization;
namespace Ramone.Tests.Common
{
// Dogs come in different versions
[XmlRoot("Dog")]
public class Dog1
{
public string Name { get; set; }
}
[XmlRoot("Dog")]
public class Dog2 : Dog1
{
public int Weight { get; set; }
... | 1.684239 | 5c61a3737e4ab3293001c766bb9e4013 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70930 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "NMFCode/NMF",
"max_stars_repo_path": "IntegrationTests/ComponentBasedSoftwareArchitectures/Cbs/SystemIndependent/Repository_MM06.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70931"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... | 1.534647 | 516ec01c45347f3d0fde04e070b1207d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70931 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "hardcpp/BeatSaberPlus",
"max_stars_repo_path": "Modules/MenuMusic/MenuMusic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70932"
} | starcoder | <reponame>hardcpp/BeatSaberPlus
using BeatSaberMarkupLanguage;
using BeatSaberMarkupLanguage.FloatingScreen;
using HMUI;
using IPA.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using UnityEngine;
using UnityEngine.Networ... | 1.822096 | 7c6aeb7a4704bfc2a63f0912eb491407 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 70932 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ztone/scriptcs",
"max_stars_repo_path": "src/ScriptCs/AsciiArt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:70933"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Text.RegularExpressions;
using ScriptCs.Contracts;
namespace ScriptCs
{
public static class AsciiArt
{
public static void WriteAsciiArt(this IConsole console, string version)
{
var lines = new[]
{
... | 2.950955 | 34f187e791e6860fb55969988a6c0a95 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.