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 | 8817318 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "heqinghua/lottery-code-qq-814788821-",
"max_stars_repo_path": "YtgProject/Ytg.Server/Views/UserGroup/EditUserRemo.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136538"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ytg.Comm;
using Ytg.Core.Service;
namespace Ytg.ServerWeb.Views.UserGroup
{
public partial class EditUserRemo : BasePage
{
protected void Page_Load(object se... | 1.7894 | 9e21448001a765587e3b7e839d1b4457 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817319 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Runtime.Serialization/System.Runtime.Serialization/DataContractResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136539"
} | starcoder | <reponame>lefb766/mono
//
// DataContractResolver.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2010 Novell, Inc. http://www.novell.com
//
// 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 th... | 1.93629 | daa66922d8d1813e74f5be23d0f125b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817320 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/CloudAsset/V1/GetFeed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136540"
} | starcoder | <gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using... | 1.66069 | 680bc51bac81e577bebec80fa2d8a6e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saw-your-packet/my-broken-page",
"max_stars_repo_path": "src/MyBrokenPage.Bll/Contracts/IUserBll.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136541"
} | starcoder | using MyBrokenPage.Models;
namespace MyBrokenPage.Bll.Contracts
{
public interface IUserBll
{
UserModel RetrieveUserByCredentials(UserLoginModel userLoginModel);
void CreateAccount(UserCredentialsModel userCredentialsModel);
bool IsUsernameUsed(string username);
bool ResetForgo... | 1.911369 | 9e4fef09a8cc8111b2704f70d14500a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817322 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "v-sodsou/azure-sdk-for-net",
"max_stars_repo_path": "src/SDKs/RecoveryServices.SiteRecovery/Management.RecoveryServices.SiteRecovery/Generated/Models/InMageAzureV2ReprotectInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136542... | starcoder | // 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.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespac... | 1.629797 | 40b8cd063a6af70e6e3ddd30b352395f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gregoryjenk/GregoryJenk.Mastermind",
"max_stars_repo_path": "src/GregoryJenk.Mastermind.Web.Mvc/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136543"
} | starcoder | @using Microsoft.ApplicationInsights.AspNetCore
@inject JavaScriptSnippet _javaScriptSnippet | 1.265871 | c060a9b814e78fd1f9ff716c3060ed4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817324 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sowderca/Powershell",
"max_stars_repo_path": "src/System.Management.Automation/FormatAndOutput/out-textInterface/OutTextInterface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136544"
} | starcoder | <reponame>sowderca/Powershell
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Management.Automation;
using System.Management.Automation.Internal;
using Microsoft.PowerShell.Commands.Internal.Format;
namespace Microsoft.PowerShell.Commands
{
/// <summary>
... | 2.230303 | fac929ab04da76939024a0ee46b792db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamieMagee/webhooks.net",
"max_stars_repo_path": "src/Octokit.Webhooks/Models/Discussion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136545"
} | starcoder | <filename>src/Octokit.Webhooks/Models/Discussion.cs
namespace Octokit.Webhooks.Models;
using System;
using System.Text.Json.Serialization;
using JetBrains.Annotations;
using Octokit.Webhooks.Converter;
[PublicAPI]
public sealed record Discussion
{
[JsonPropertyName("repository_url")]
public string Repository... | 1.810413 | e7cfe415ec8b54067c85ad50e18fab1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817326 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "vdailly/runtime",
"max_stars_repo_path": "src/libraries/System.Composition.TypedParts/src/System/Composition/Hosting/InstanceExportDescriptorProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136546"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Composition.Hosting.Core;
namespace System.Composition.Hosting
{
internal class InstanceExportDescriptorProvider : SinglePartExpo... | 1.694257 | 822b96787894b2da51e8137a2a0d0429 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817327 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Mutuduxf/Zaabee.Serializers",
"max_stars_repo_path": "tests/Zaabee.MessagePack.UnitTest/Bytes.Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136547"
} | starcoder | <gh_stars>1-10
using System;
using TestModels;
using Xunit;
namespace Zaabee.MessagePack.UnitTest
{
public partial class MsgPackUnitTest
{
[Fact]
public void BytesTest()
{
var testModel = TestModelFactory.Create();
var bytes0 = testModel.ToBytes();
va... | 2.346108 | 71db54e697a982f681002b0e4e7957a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817328 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OwenMcDonnell/MonoAGS",
"max_stars_repo_path": "Source/Engine/AGS.Engine/Objects/Characters/Walking/Pathfinding/SpatialAstar/SpatialAStarPathFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136548"
} | starcoder | using System;
using AGS.API;
using System.Collections.Generic;
using System.Linq;
namespace AGS.Engine
{
public class SpatialAStarPathFinder : IPathFinder
{
private PathNode[,] _pathMask;
public SpatialAStarPathFinder ()
{
SmoothPath = true;
}
#region IPathFinder implementation
public bool SmoothP... | 2.797938 | e5f252e41e28228811dd3644db08a2c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vostok/hercules.consumers",
"max_stars_repo_path": "Vostok.Hercules.Consumers/BatchesStreamConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136549"
} | starcoder | <filename>Vostok.Hercules.Consumers/BatchesStreamConsumer.cs<gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
using JetBrains.Annotations;
using Vostok.Commons.Binary;
using Vostok.Commons.Collections;
using Vostok.Commons.Helpers.Extensions;
using Vostok.Hercules.Client.Abstractions.Mode... | 1.872894 | 464239f0c446d6a3940916b5ff2993a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deividasbagdanskis/events-webapp",
"max_stars_repo_path": "EventsWebApp/Repositories/IEventAttendeeRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136550"
} | starcoder | <reponame>deividasbagdanskis/events-webapp<filename>EventsWebApp/Repositories/IEventAttendeeRepository.cs
using EventsWebApp.Models;
using System.Threading.Tasks;
namespace EventsWebApp.Repositories
{
public interface IEventAttendeeRepository
{
Task<EventAttendee> GetEventAttendee(string userId, int e... | 1.636792 | c408151b84e98b77573287ffff428369 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817331 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pat-sweeney/psi",
"max_stars_repo_path": "Sources/Imaging/Microsoft.Psi.Imaging/PixelFormatExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136551"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Imaging
{
/// <summary>
/// Defines the various pixel formats supported by the <see cref="Image"/> type.
/// </summary>
public enum PixelFormat
{
/// <summary>
//... | 2.890903 | 1a551f68a538655df036cf10851c96f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817332 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "schoolstacks/dataflow",
"max_stars_repo_path": "DataFlow.Web/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136552"
} | starcoder | <reponame>schoolstacks/dataflow
using System.Web.Mvc;
using DataFlow.Web.Helpers;
using DataFlow.Web.Services;
namespace DataFlow.Web.Controllers
{
public class HomeController : BaseController
{
public HomeController(IBaseServices baseService) : base(baseService)
{
}
... | 1.498119 | d7a9e04239404a91c2bab3de1294928b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rgobo/Community-Module-Pack",
"max_stars_repo_path": "Musician Module/Controls/Instrument/IInstrumentPreview.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136553"
} | starcoder | using Blish_HUD.Controls.Intern;
namespace Musician_Module.Controls.Instrument
{
public interface IInstrumentPreview
{
void PlaySoundByKey(GuildWarsControls key);
}
} | 1.083033 | c7266a8b2fe4db8427b358a057197414 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817334 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KiiPlatform/KiiCloudUnitySDK",
"max_stars_repo_path": "KiiCloudUnitySDK/unity/http/impl/KiiUnityClientFactoryImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136554"
} | starcoder | <reponame>KiiPlatform/KiiCloudUnitySDK
using System;
using KiiCorp.Cloud.Storage;
using System.Text;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
namespace KiiCorp.Cloud.Unity
{
/// <summary>
/// Kii unity client factory impl.
/// </summary>
internal... | 2.187791 | 4f424af492e822f5a6b64e6f601e23d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "george7378/flightbalance",
"max_stars_repo_path": "FlightBalance/Utility/VariableStation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136555"
} | starcoder | <gh_stars>0
using FlightBalance.Utility.Enums;
namespace FlightBalance.Utility
{
public class VariableStation : Station
{
#region Properties
public override StationType Type
{
get
{
return StationType.Variable;
}
}
p... | 2.78551 | def60edbab50023ea8224fcd0cf7fd78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jromano743/final-project-unl",
"max_stars_repo_path": "Assets/Scripts/HookDetector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136556"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HookDetector : MonoBehaviour
{
public GameObject player;
public GrapplingGun playerGun;
//Al detectar un objeto aderente indica al hook que se este se adiere y fija el objeto aderente
private void OnTriggerEnt... | 2.614301 | 2e598cea2fed212fcf1b03b2d8112bc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817337 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Analysers/raspberrypi-xamarin-iot",
"max_stars_repo_path": "rpi/Appliance/Helpers/DateTimeHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136557"
} | starcoder | <filename>rpi/Appliance/Helpers/DateTimeHelpers.cs
using System;
using NodaTime;
namespace Appliance.Helpers
{
public static class DateTimeHelpers
{
public static DateTimeZone Zone => DateTimeZoneProviders.Tzdb["Australia/Melbourne"];
public static TimeSpan TimeSpan(this DateTime dt)
... | 3.133608 | c7628102d682ae50edde79cc0295ce0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817338 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "LATOKEN/lachain",
"max_stars_repo_path": "src/Lachain.Storage/Trie/IHashTrieNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136558"
} | starcoder | using System.Collections.Generic;
namespace Lachain.Storage.Trie
{
public interface IHashTrieNode
{
NodeType Type { get; }
byte[] Hash { get; }
IEnumerable<ulong> Children { get; }
ulong GetChildByHash(byte h);
}
} | 2.096247 | fbbab0b8116f726cb501607aa43119a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817339 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PetePrattis/medieval-village-rpg-in-unity-3d",
"max_stars_repo_path": "Scripts/show_first_dialogue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136559"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class show_first_dialogue : MonoBehaviour
{//this is a dialogue class, our player talks by himself at the game start
GameObject d,t;
public TextMeshProUGUI textDisplay;
public string s;
void St... | 2.605672 | 9a9c7043bc982819e26d87fb77b4614c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pingzing/TrippitKiosk",
"max_stars_repo_path": "Models/TrippitKioskOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136560"
} | starcoder | <gh_stars>0
namespace TrippitKiosk.Models
{
public class TrippitKioskOptions
{
public double YouAreHereLat { get; set; }
public double YouAreHereLon { get; set; }
public double DefaultCenterLat { get; set; }
public double DefaultCenterLon { get; set; }
public string Ma... | 0.934026 | b19542031c2b0cfc3b1fb2923a52aaad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817341 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "couven92/thnetii-windows-api",
"max_stars_repo_path": "src-native/THNETII.WinApi.Headers.WinNT/MEM_FLAGS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136561"
} | starcoder | using System;
namespace THNETII.WinApi.Native.WinNT
{
[Flags]
public enum MEM_FLAGS : int
{
MEM_COMMIT = WinNTConstants.MEM_COMMIT,
MEM_RESERVE = WinNTConstants.MEM_RESERVE,
MEM_REPLACE_PLACEHOLDER = WinNTConstants.MEM_REPLACE_PLACEHOLDER,
MEM_RESERVE_PLACEHOLDER = WinNTCons... | 1.480724 | a32cd68150803de48799f2f8ec4aa64c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817342 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "Const-me/IntelIntrinsics",
"max_stars_repo_path": "Intrinsics/Performance/ArgTypes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136562"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace IntrinsicsDocs.Performance
{
[Flags]
enum eArgumentsMask : uint
{
None = 0,
mmx = 1,
mmx_xmm = 2,
mmx_xmm_ymm = 4,
xmm = 8,
xmm_ymm = 0x10,
mmx_xmm_ymm_zmm = 0x20,
ymm = 0x40,
ymm_zmm = 0x80,
zmm = 0x100,
reg16 = 0... | 2.496724 | 0ee8f5d223fe14fbcc1f205734215e3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817343 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "690486439/WeiXinMPSDK",
"max_stars_repo_path": "Senparc.Weixin.MP.Sample.WebForms/Senparc.Weixin.MP.Sample.WebForms/Default.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136563"
} | starcoder | //------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace Senparc.Weixin.MP.Sample.WebForms {
... | 1.293431 | dbcff4665f0645f5b8fdd713111c5be1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gdoct/AvpVideoPlayer",
"max_stars_repo_path": "installer/AvpVideoPlayer.Installer.GenerateWix/Product.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136564"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 2.078463 | 1caa07ed2ba8ee7071252f568194f937 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817345 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jamalabo1/ApiTools",
"max_stars_repo_path": "Models/RouteRules.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136565"
} | starcoder | <reponame>jamalabo1/ApiTools
using System.Collections.Generic;
namespace ApiTools.Models
{
public partial class RouteRules
{
public IEnumerable<string> Roles { get; set; }
public bool AllowAnonymous { get; set; } = false;
}
} | 1.388936 | 972922571b4dfad32b16c7523ff34c80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817346 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "idonthaveafifaaddiction/dovetail-bootstrap",
"max_stars_repo_path": "source/Dovetail.SDK.ModelMap.Integration/Legacy/List_values_from_hgbst_list.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136566"
} | starcoder | <filename>source/Dovetail.SDK.ModelMap.Integration/Legacy/List_values_from_hgbst_list.cs
using System.Linq;
using FChoice.Foundation.Clarify;
using NUnit.Framework;
namespace Dovetail.SDK.ModelMap.Integration.Legacy
{
[TestFixture]
public class List_values_from_hgbst_list : MapFixture
{
private ILi... | 2.408449 | d2d48548446e0309d5da30766bd20531 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hama3254/metroframework-modern-ui",
"max_stars_repo_path": "MetroFramework/MetroColorStyle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136567"
} | starcoder | <gh_stars>0
/**
* MetroFramework - Modern UI for WinForms
*
* The MIT License (MIT)
* Copyright (c) 2011 <NAME>, http://github.com/viperneo
*
* 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
... | 1.728034 | bf055f95430b28d3df9f4e6ea5c34fb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikcio/Skybrud.Umbraco.Time",
"max_stars_repo_path": "src/Skybrud.Umbraco.Time/PropertyEditors/DatePicker/DateValueConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136568"
} | starcoder | <gh_stars>0
using System;
using Skybrud.Essentials.Time;
using Umbraco.Core;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.PropertyEditors.ValueConverters;
namespace Skybrud.Umbraco.Time.PropertyEditors.DatePicker {
public class DateValueConverter : DatePi... | 1.838583 | 012eba2855e35983573d2dc7f1819a72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ishisaka/OpenTouryo",
"max_stars_repo_path": "root_VS2010_TemplateBase/programs/C#/Samples/2CS_sample/2CSClientWPF_sample/Dao/LayerD.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136569"
} | starcoder | //**********************************************************************************
//* フレームワーク・テストクラス(D層)
//**********************************************************************************
//**********************************************************************************
//* クラス名 :LayerD
//* クラス日本語名 :D層... | 2.096652 | 8f6eb16288fb5f3279ae46a20b09753d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Navneetdbg/MyPro1",
"max_stars_repo_path": "For.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136570"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
public partial class For : System.Web.UI.Page
{
SqlConnection con = new SqlConnection... | 2.237617 | be9ae04d9179830610d76c3d8c5eeb0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817351 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PenguinF/sandra-three",
"max_stars_repo_path": "Eutherion/Shared/Text/Json/JsonSpecialCharacter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136571"
} | starcoder | #region License
/*********************************************************************************
* JsonSpecialCharacter.cs
*
* Copyright (c) 2004-2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | 2.739595 | d3d22985eb86457f0dee215e5166892c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817352 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Satsaa/HeatSim",
"max_stars_repo_path": "Assets/MyUnityCollection/Scripts/Muc.Systems/Muc.Systems.Input/ButtonInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136572"
} | starcoder |
namespace Muc.Systems.Input {
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Muc.Extensions;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.InputSystem;
using UnityEngine.InputSystem.Controls;
#if (MUC_HIDE_COMPONENTS || MUC_HID... | 2.175115 | fd1b555d17a0af1d4e5333587b9daadf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817353 | {
"extension": "c-sharp",
"max_stars_count": "8570.0",
"max_stars_repo_name": "johnri/aspnetcore",
"max_stars_repo_path": "src/Mvc/test/WebSites/RazorWebSite/Models/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136573"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace RazorWebSite;
public class Person
{
public string Name { get; set; }
public Address Address { get; set; }
}
| 1.43675 | d96bd0323a6ef41143a0a8b811f61cf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817354 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nuttycream/SH-Save-Editor",
"max_stars_repo_path": "SpaceHaven Save Editor/ViewModels/CharacterViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136574"
} | starcoder | <filename>SpaceHaven Save Editor/ViewModels/CharacterViewModel.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Reactive;
using ReactiveUI;
using SpaceHaven_Save_Editor.Data;
using SpaceHaven_Save_Editor.References;
using SpaceHaven_Save_Editor.Views;
namespace SpaceHaven_Save_Editor... | 2.479846 | 374263128110987f6c9be2a2c30d2dca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shulinkang/planningpoker4azure",
"max_stars_repo_path": "src/Duracellko.PlanningPoker.Client/Controllers/MessageReceiver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136575"
} | starcoder | <reponame>shulinkang/planningpoker4azure<gh_stars>0
using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using System.Threading.Tasks;
using Duracellko.PlanningPoker.Client.Service;
namespace Duracellko.PlanningPoker.Client.Controllers
{
/// <summary>
/// Receives messages from server ... | 2.5855 | e02c8651c83c9c9f485f51425f2225cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RadHazard/RimworldRangedDPS",
"max_stars_repo_path": "Source/StatWorker_RangedWeaponDPS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136576"
} | starcoder | using System;
using System.Linq;
using RangedDPS.StatUtilities;
using RimWorld;
using Verse;
namespace RangedDPS
{
public class StatWorker_RangedWeaponDPS : StatWorker_RangedDPSBase
{
public override bool ShouldShowFor(StatRequest req)
{
if (base.ShouldShowFor(req))
{
... | 2.391309 | e3de628fda7b7e06594ea2e9911e70cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BenInCOSprings/WpfDockingWindowsApplicationTemplate",
"max_stars_repo_path": "wpftoolkit-110921/Main/Source/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.DataGrid/DataGridItemsHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136577"
... | starcoder | /*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
... | 2.034418 | b6516f0ff0ca3ed3b65f905ccca73f7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ridicoulous/CoinEx.Net",
"max_stars_repo_path": "CoinEx.Net.UnitTests/TestHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136578"
} | starcoder | using CryptoExchange.Net.Interfaces;
using CryptoExchange.Net.Logging;
using Moq;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using Syste... | 2.240838 | 747cbde757665e063ff9ab4d700e9c79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817359 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "GreyArmor/SomeRogueMonogame",
"max_stars_repo_path": "NamelessRogue_updated/Engine/Components/Interaction/ChangeSwitchStateCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136579"
} | starcoder | <reponame>GreyArmor/SomeRogueMonogame
using NamelessRogue.Engine.Abstraction;
namespace NamelessRogue.Engine.Components.Interaction
{
public class ChangeSwitchStateCommand : ICommand
{
private SimpleSwitch target;
private bool active;
public ChangeSwitchStateCommand(SimpleSwitch tar... | 2.196493 | f5349b904c1f01bbf203b32ce86daab9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hpscodemaverick/GsCoreApi",
"max_stars_repo_path": "GsCoreApi/GsCore.Database/Repository/Implementation/ArtistsRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136580"
} | starcoder | <gh_stars>0
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Threading.Tasks;
//using GsCore.Database.Entities;
//using GsCore.Database.Repository.Interfaces;
//using Microsoft.EntityFrameworkCore;
//namespace GsCore.Database.Repository.Implementation
//{
// public class Arti... | 2.504263 | 53d6abe60bdbeb196b541357e0800e30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kejxu/runtime",
"max_stars_repo_path": "src/libraries/Common/src/Interop/Windows/Kernel32/Interop.ThreadPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136581"
} | starcoder | <reponame>kejxu/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class Kernel32
{
[Generat... | 1.234512 | 199a807318b57892f79b2f11568088a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817362 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jbubriski/Shing",
"max_stars_repo_path": "src/Shing/Shing.Tests/Parsers/ParserFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136582"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using Shing.Tests.Properties;
using Shing.Parsers;
using Should;
using Should.Fluent;
namespace Shing.Tests.Parsers
{
public class ParserFactoryTests
{
[Fact]
public void GetParser_GivenSourceFor... | 1.972068 | 0f782c07e7802c049716a2f20deb06ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "florianalexandermoser/YoutubePlaylistDownloader",
"max_stars_repo_path": "Famoser.YoutubePlaylistDownloader.Business/Repositories/Mock/VideoRepositoryMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136583"
} | starcoder | using System.IO;
using System.Threading.Tasks;
using Famoser.YoutubePlaylistDownloader.Business.Models;
using Famoser.YoutubePlaylistDownloader.Business.Repositories.Interfaces;
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
namespace Famoser.YoutubePlaylistDownloade... | 2.437116 | 955f3b62a9a0f417eb293207b1c90d0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trakx/coingecko-api-client",
"max_stars_repo_path": "src/Trakx.CoinGecko.ApiClient/CoinGeckoApiConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136584"
} | starcoder | <reponame>trakx/coingecko-api-client<gh_stars>0
using System;
using Trakx.Utils.Attributes;
namespace Trakx.CoinGecko.ApiClient
{
public record CoinGeckoApiConfiguration
{
#pragma warning disable CS8618
public string BaseUrl { get; init; }
#pragma warning restore CS8618
public int? MaxRetryCo... | 1.911942 | d29ece5fda6572299326cd739e8a765d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karl-police/ValveResourceFormat",
"max_stars_repo_path": "GUI/Types/ParticleRenderer/ParticleRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136585"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using GUI.Types.ParticleRenderer.Emitters;
using GUI.Types.ParticleRenderer.Initializers;
using GUI.Types.ParticleRenderer.Operators;
using GUI.Types.ParticleRenderer.Renderers;
using GUI.Types.Renderer;
using GUI.Utils;
using Val... | 2.212603 | 8eb00c921f45593b4a4078c6e5e1f076 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eswinparedes/UnityHelperScripts",
"max_stars_repo_path": "Assets/SUHScripts/Math/U_Util.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136586"
} | starcoder | <reponame>eswinparedes/UnityHelperScripts
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
namespace SUHScripts
{
public static class Util
{
}
}
| 0.24737 | 8ea516095fd769dd414b41d7b80849a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DamianRavn/Assignment7-Web-Server-Development-in-ASP.NET-Core",
"max_stars_repo_path": "MovieCharactersAPI/Migrations/20220303115132_MoreSeededDataAdded.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136587"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace MovieCharactersAPI.Migrations
{
public partial class MoreSeededDataAdded : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "Franchises",
... | 2.383682 | 3bce3a71f39b524b30435b0235f5ef8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaLoE99/Servidores-DaLoE",
"max_stars_repo_path": "Retro Files/BoomBang/BoomBang/Game/Spaces/SpaceInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136588"
} | starcoder | namespace BoomBang.Game.Spaces
{
using BoomBang;
using BoomBang.Game.Characters;
using BoomBang.Storage;
using System;
using System.Collections.Generic;
using System.Text;
public class SpaceInfo
{
/* private scope */
bool bool_0;
/* private scope */
bool... | 2.251724 | 1b16abde2a909653f0eceb35362f7fba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kawasawa/mypad.netcore",
"max_stars_repo_path": "MyPad/Views/Behaviors/KeyboardFocusManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136589"
} | starcoder | using System.Windows;
using System.Windows.Input;
namespace MyPad.Views.Behaviors;
/// <summary>
/// 指定されたコントロールにキーボードフォーカスをセットする添付ビヘイビアを表します。
/// </summary>
public static class KeyboardFocusManager
{
public static readonly DependencyProperty FocusedElementProperty
= DependencyPropertyExtensions.Register... | 2.577936 | c95ab642c0cc002ff7ff41c148df00dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joshcomley/EntityFramework-archive",
"max_stars_repo_path": "src/Microsoft.EntityFrameworkCore.Design/CommandLine/MigrationsListCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136590"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Design;
using Micro... | 2.098203 | 18f0661a1b6ec0afae9be9603ce0cc03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817371 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asajin/sf_accounting_001",
"max_stars_repo_path": "kendoui/wrappers/aspnetmvc/Examples/Controllers/DataViz/Pie_Charts/Remote_DataController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136591"
} | starcoder | using System;
using System.Linq;
using System.Web.Mvc;
using Kendo.Mvc.Examples.Models;
namespace Kendo.Mvc.Examples.Controllers
{
public partial class Pie_ChartsController : Controller
{
public ActionResult Remote_Data()
{
return View();
}
public ActionResult _Spa... | 1.723879 | b21e3f23880b0d0c8137f77d66abdf6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817372 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "Winzarten/SecondMonitor",
"max_stars_repo_path": "Applications/Timing/Controllers/TimingApplicationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136592"
} | starcoder | using SecondMonitor.SimdataManagement.SimSettings;
namespace SecondMonitor.Timing.Controllers
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Windows.Input;
using WindowsControls.Extension;
using Contracts.Commands;
... | 1.427416 | 9674010703eee14f3c3252fcb1ce2420 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817373 | {
"extension": "c-sharp",
"max_stars_count": "2251.0",
"max_stars_repo_name": "hjred/stride",
"max_stars_repo_path": "sources/engine/Stride.Rendering/Rendering/Materials/SubsurfaceScattering/ScatteringKernelFunction/MaterialSubsurfaceScatteringScatteringKernelSkin.cs",
"provenance": "train-00027-of-00045.json... | starcoder | <gh_stars>1000+
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System.ComponentModel;
using... | 2.186392 | 9f646d419307fea2af10ac00f4e3a59b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817374 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "msfrankchen/azure-cef",
"max_stars_repo_path": "src/product/Common/Microsoft.Azure.EngagementFabric.Common/Json/CaseInsensitiveDictionaryConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136594"
} | starcoder | <filename>src/product/Common/Microsoft.Azure.EngagementFabric.Common/Json/CaseInsensitiveDictionaryConverter.cs
// -----------------------------------------------------------------------
// <copyright file="CaseInsensitiveDictionaryConverter.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation./... | 2.761447 | e889675dbff2c18d59c0fd159afc684d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817375 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "avdinfotech/SignalR-Server",
"max_stars_repo_path": "src/Microsoft.AspNet.SignalR.Server/Messaging/Command.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136595"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.AspNet.SignalR.Messaging
{
public class Command
{
... | 1.913728 | 28a50a73be5bf9271190ba223c7e781b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rentianhua/surfboard",
"max_stars_repo_path": "Source/Modules/Car/Car.Interface/ICarManagementService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136596"
} | starcoder | using System.Collections.Generic;
using CCN.Modules.Car.BusinessEntity;
using Cedar.Framework.Common.BaseClasses;
namespace CCN.Modules.Car.Interface
{
/// <summary>
/// 车辆接口
/// </summary>
public interface ICarManagementService
{
#region 车辆
/// <summary>
/// 全城搜车(官网页面)(查询... | 2.077288 | a359148833dbdc3878b17398242fc394 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817377 | {
"extension": "c-sharp",
"max_stars_count": "156.0",
"max_stars_repo_name": "object/Simple.OData.Client",
"max_stars_repo_path": "src/Simple.OData.Client.Core/SimplePluralizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136597"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Simple.OData.Client;
// Based on gist by <NAME>
// https://gist.github.com/hanssens/2835960
internal class SimplePluralizer : IPluralizer
{
private static Dictionary<string, Word> _specialSingulars;
private static Dictionary<st... | 2.338024 | 728f1e45773d985ce7296fb0573d9a2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817378 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "eXoCooLd/Waveshare.EPaperDisplay",
"max_stars_repo_path": "Waveshare.Test/Devices/Epd7In5b_V2/Epd7In5b_V2Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136598"
} | starcoder | #region Usings
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Device.Gpio;
using System.Drawing;
using System.Linq;
using Waveshare.Devices.Epd7in5b_V2;
using Waveshare.Interfaces;
#endregion Usings
namespace Waveshare.Test.Devices.Epd7in5b_V2
{
// ReSharper disab... | 2.290308 | 697078391fc3a2333e843f3ca9f35928 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817379 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jmthuong97/shippo-sdk-csharp-client",
"max_stars_repo_path": "ShippoSDKTest/MerchantTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136599"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using ShippoSDK.Services;
namespace ShippoSDKTest
{
[TestClass]
public class MerchantTest : BaseTest
{
private MerchantService _merchantService;
public MerchantTest()
{
_merchantService = new MerchantService(Config);
... | 1.954712 | 12dac235101e6e31c9085fee0a8afdcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817380 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/tests/test-353.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136600"
} | starcoder | // Compiler options: support-353.cs -out:test-353.exe
using System;
[Obsolete]
public class One { }
#pragma warning disable 612
public class Two {
private One one;
}
| 1.748617 | 553bc73a7fd32581918ae6eb82389890 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817381 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "morrisonbrett/pickuphockey",
"max_stars_repo_path": "pickuphockey/Models/ActivityLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136601"
} | starcoder | <filename>pickuphockey/Models/ActivityLog.cs
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace pickuphockey.Models
{
public class ActivityLog
{
public int SessionId { get; set; }
public string UserId { get; set; }
[ForeignKey("Us... | 2.385558 | ae91bc8ecbb564e8975811f4af6634d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817382 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RG4421/TeamCityApi",
"max_stars_repo_path": "src/TeamCityApi/Clients/VcsRootInstanceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136602"
} | starcoder | using System.Threading.Tasks;
using TeamCityApi.Domain;
namespace TeamCityApi.Clients
{
public interface IVcsRootInstanceClient
{
Task<VcsRootInstance> ById(string projectId);
}
public class VcsRootInstanceClient : IVcsRootInstanceClient
{
private readonly IHttpClientWrapper _http... | 2.393644 | afc96a7de2950f92102aa7ce98ad3199 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817383 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SeanTolstoyevski/DDK5",
"max_stars_repo_path": "solutions/18Mayis2022__EFCOREEntry/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136603"
} | starcoder | using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
namespace EFCoreEntry;
public class SiemensContext : DbContext
{
public DbSet<Product> Products { get; set; }
public DbSet<Category>... | 2.390494 | adf1c886d0f23d3c6e64b01f8ddebc80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817384 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "sunandabalu/arcade-services",
"max_stars_repo_path": "src/Maestro/Maestro.Web/Api/v2018_07_16/Models/BuildData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136604"
} | starcoder | <filename>src/Maestro/Maestro.Web/Api/v2018_07_16/Models/BuildData.cs
// 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;
using System.Collections.Generic... | 2.049465 | 02a30fb3855ce0a42d809788a00852ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "George221b/SoftUni-Taks",
"max_stars_repo_path": "C#OOP-Advanced/04.EnumsAndAttributes-Exercise/01.CardSuit/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136605"
} | starcoder | using System;
namespace _01.CardSuit
{
public class Startup
{
public static void Main()
{
Console.WriteLine("Card Suits:");
Console.WriteLine($"Ordinal value: {(int)CardSuit.Clubs}; Name value: {CardSuit.Clubs}");
Console.WriteLine($"Ordinal value: {(int)Car... | 3.256671 | 74e0d94cdc769e64c01e21a9054e8827 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eyalbe4/jfrog-visual-studio-extension",
"max_stars_repo_path": "JFrogVSExtension/Utils/Util.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136606"
} | starcoder | <filename>JFrogVSExtension/Utils/Util.cs
using JFrogVSExtension.Data;
using JFrogVSExtension.Logger;
using JFrogVSExtension.Xray;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading;
namespace JFrogVSExtension.Util... | 2.568424 | 5db45216fb1ec8cfed31b7bd8945dba1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Diomedes-0x00/Scribe",
"max_stars_repo_path": "Scribe/Attributes/TableAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136607"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Scribe.Attributes
{
/// <summary>
/// Specifies the destination table and schema for the object. Required to formulate merge logic
/// </summary>
public class TableAttribute :... | 3.227321 | a2b5dcf72d7abb15c648236fec415125 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bunnypro/CommandLine.Net",
"max_stars_repo_path": "src/CommandLine/Exceptions/MultipleOptionException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136608"
} | starcoder | <reponame>bunnypro/CommandLine.Net
using Bunnypro.CommandLine.Commands;
namespace Bunnypro.CommandLine.Exceptions
{
public sealed class MultipleOptionException : CommandRuntimeException
{
public Option Option { get; }
public MultipleOptionException(Option option)
{
Option =... | 1.755671 | 259122f991b6c020230b0fcc3b6870d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817389 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FabienGrzeskowiakInria/CrowdBot_robots",
"max_stars_repo_path": "RosSharp/Scripts/Urdf/UrdfComponents/SimpleURDF/SimpleUrdfLink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136609"
} | starcoder | <gh_stars>1-10
using UnityEngine;
namespace crowdbotsim.Urdf
{
public class SimpleUrdfLink : MonoBehaviour
{
public bool IsBaseLink;
}
} | 1.031063 | f4b835cfa9a7e430147cfffbb0ad2fb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProworksDevTeam/umbraco-graphql",
"max_stars_repo_path": "src/Our.Umbraco.GraphQL.Forms/Types/FormDataSourceGraphType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136610"
} | starcoder | using GraphQL;
using GraphQL.Types;
using Umbraco.Forms.Core;
namespace Our.Umbraco.GraphQL.Forms.Types
{
[GraphQLMetadata(nameof(FormDataSource))]
public class FormDataSourceGraphType : ObjectGraphType<FormDataSource>
{
public FormDataSourceGraphType()
{
Name = nameof(FormDataS... | 1.586135 | 98492b38e5c8e0b472bfd593e83035e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817391 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Rusev12/Software-University-SoftUni",
"max_stars_repo_path": "Programming Fundamentals/Lists - Lab/Split by Word Casing/SplitByWordCasing.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136611"
} | starcoder | namespace Split_by_Word_Casing
{
using System;
using System.Collections.Generic;
public class SplitByWordCasing
{
public static void Main(string[] args)
{
// Use the following separators between the words: , ; : . ! ( ) " ' \ / [ ] space
string[] input = Console... | 3.854953 | 017d9d803bf23bbacdf38ef0d92d971c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817392 | {
"extension": "c-sharp",
"max_stars_count": "130.0",
"max_stars_repo_name": "xfrogcn/Xfrogcn.AspNetCore.Extensions",
"max_stars_repo_path": "examples/Http/HttpHeaderTracking/ServiceAFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136612"
} | starcoder | <reponame>xfrogcn/Xfrogcn.AspNetCore.Extensions
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace HttpHeaderTracking
{
class ServiceAFactory<TEntryPoint> : WebApplicationFactory<TEntryPoint>
where TEntryPoint... | 2.133532 | 9a175531e4d92a000d4c66762c6c95ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juanIgnacioLopez/OWIN-WebAPI-Service",
"max_stars_repo_path": "OWINTest.Service/API/RoutedController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136613"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OWINTest.Service.Models;
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.ServiceProcess;
using System.Text;
using System.Web.Http;
using System.Web.Script.Serialization;
//using System.Management.Automation; ... | 2.323999 | ba6c33c7a227d5a8f8be8a224c97099f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817394 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "n1p3ha/softuni.homework.FundamentalLevel",
"max_stars_repo_path": "AdvancedCSharp/03.StringsAndTextProcessing/OtherHomeworks/StringAndTextProcessing.Homework/Task06.Palindromes/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Task06.Palindromes
{
internal class Program
{
private static void Main(string[] args)
{
string input = Console.ReadLin... | 3.74317 | 3c318bfa31f3e6914f5f87316a5081bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817395 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dlrjones/CDM4RCM",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136615"
} | starcoder | <filename>Program.cs<gh_stars>1-10
using System;
using System.Collections.Specialized;
using System.Configuration;
using System.IO;
using CDMReportClass;
using LogDefault;
namespace CDM_Report
{
class Program
{
#region class variables
private static LogManager lm = LogManager.GetIn... | 2.614313 | 778a57c034ad1f1d3b766715f4b20e6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LoveHikari/DbTool",
"max_stars_repo_path": "src/Win.Common/RegistryHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136616"
} | starcoder | using System;
using Microsoft.Win32;
using Microsoft.Win32.SafeHandles;
namespace Win.Common
{
public class RegistryHelper
{
/// <summary>
/// 读取指定名称的注册表的值的数据
/// </summary>
/// <param name="hive">顶级注册表节点</param>
/// <param name="subkey">子项路径</param>
/// <param ... | 2.852571 | 9f74b6b2513df87fcb146b476eb9705f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stassss2011/CourseWorkParallelComputing",
"max_stars_repo_path": "src/Server/Response.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136617"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace Server
{
public class Response
{
public string Query { get; init; }
public int Count { get; init; }
private readonly IEnumerable<WordInstance> _instances;
public IEnumerable<WordInstance> Instances
{
... | 2.746552 | 83e5b4b8c07e83228ac7f260c28387f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817398 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "Cysharp/LogicLooper",
"max_stars_repo_path": "samples/LoopHostingApp/Pages/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136618"
} | starcoder | @page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}
@section Head
{
<style>
table {
border: 1px solid #000;
border-collapse: collapse;
margin: 1rem;
}
table tr td {
border: 1px solid #000;
width: 1px;
... | 2.820441 | 1af3c84fb013814e5ff6ab3ba452b6e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817399 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "SotMSteamMods/CauldronMods",
"max_stars_repo_path": "CauldronMods/Controller/Heroes/Titan/FormCards/OniTitanFormCharacterCardController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136619"
} | starcoder | <reponame>SotMSteamMods/CauldronMods
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System.Collections;
namespace Cauldron.Titan
{
public class OniTitanFormCharacterCardController : OniTitanCharacterCardController
{
public OniTitanFormCharacterCardControll... | 1.295203 | 762655a154038af82ac05f4bbfe3c4c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "okaywang/MyPcap",
"max_stars_repo_path": "PcapDotNet/src/PcapDotNet.Packets/Dns/ResourceData/DnsResourceDataResponsiblePerson.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136620"
} | starcoder | <gh_stars>1-10
namespace PcapDotNet.Packets.Dns
{
/// <summary>
/// RFC 1183.
/// <pre>
/// +------------+
/// | mbox-dname |
/// +------------+
/// | txt-dname |
/// +------------+
/// </pre>
/// </summary>
[DnsTypeRegistration(Type = DnsType.ResponsiblePerson)]
public... | 2.465111 | 95587f8150824cb879f4aeafc06dc07c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chairbender/space-station-14",
"max_stars_repo_path": "Content.Shared/Kitchen/RecipeManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136621"
} | starcoder | using System;
using System.Collections.Generic;
using Content.Shared.Prototypes.Kitchen;
using Robust.Shared.IoC;
using Robust.Shared.Prototypes;
namespace Content.Shared.Kitchen
{
public class RecipeManager
{
#pragma warning disable 649
[Dependency] private readonly IPrototypeManager _prototypeM... | 2.709125 | 0728dd05557cfe0ece8bb3280051fa1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nbayt/osu",
"max_stars_repo_path": "osu.Game/Screens/Multi/Match/Components/MatchLeaderboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136622"
} | starcoder | // Copyright (c) 2007-2018 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Online.API... | 1.748444 | bae3a12ace603dd785b7955962b86bfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817403 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "ngenerics/ngenerics",
"max_stars_repo_path": "src/NGenerics.Tests/Sorting/ComparisonSorterBaseTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136623"
} | starcoder | <gh_stars>10-100
/*
Copyright 2007-2017 The NGenerics Team
(https://github.com/ngenerics/ngenerics/wiki/Team)
This program is licensed under the MIT License. You should
have received a copy of the license along with the source code. If not, an online copy
of the license can be found at https://opensource.or... | 2.27172 | e63b452a8759d9d96e91d6e4ad82707f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817404 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "nativecode-dev/oss-xamarin",
"max_stars_repo_path": "src/NativeCode.Mobile.AppCompat.Renderers/Helpers/MeasureSpecFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136624"
} | starcoder | namespace NativeCode.Mobile.AppCompat.Renderers.Helpers
{
using Android.Views;
internal static class MeasureSpecFactory
{
public static int MakeMeasureSpec(int size, MeasureSpecMode mode)
{
return (int)(size + mode);
}
public static int GetSize(int measureSpec)... | 2.191813 | 2e597f8ca01010af2e09715701ac64ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PlayableDesign/Playable-Unity-Tempate-2021-2D-URP",
"max_stars_repo_path": "Project/Assets/Examples/SpriteShapeGeneration/Scripts/MountainCollectionSO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136625"
} | starcoder |
using UnityEngine;
/// <summary>
/// Creates a scriptable object asset that holds MountainSO scriptable objects.
/// </summary>
[CreateAssetMenu(fileName = "MountainCollectionSO", menuName = "ScriptableObjects/MountainCollectionSO")]
public class MountainCollectionSO : ScriptableObject
{
public bool EnableDebug;... | 2.395483 | 4a5b09df877aa15a0ed0c4e2f78f67f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817406 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "stormid/nest-searchify-mvc",
"max_stars_repo_path": ".cake/Test-NUnit2.cake",
"provenance": "train-00027-of-00045.jsonl.gz:136626"
} | starcoder | <reponame>stormid/nest-searchify-mvc<gh_stars>1-10
#tool "nuget:?package=NUnit.Runners&version=2.6.4"
#load "Configuration.cake"
Task("Test:NUnit")
.IsDependentOn("Build")
.IsDependeeOf("Test")
.WithCriteria<Configuration>((ctx, config) => config.Solution.TestProjects.Any(p => p.IsNUnitTestProject()))
... | 2.074018 | c7db3f547e1214deb079e567a538fd03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817407 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "tstavropoulos/Musegician",
"max_stars_repo_path": "MusicPlayer/Deredundafier/PassiveViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136627"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Musegician.Deredundafier
{
public class PassiveViewModel : DeredundafierViewModel
{
#region Constructor
public PassiveViewModel(DeredundafierDTO data, DeredundafierVie... | 2.164296 | 02189135fa34d6a7152cd0ae5d9e826c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817408 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ssivazhalezau/exadel_discounts_be",
"max_stars_repo_path": "src/Exadel.CrazyPrice/Exadel.CrazyPrice.IdentityServer/Extentions/ClaimsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136628"
} | starcoder | <reponame>ssivazhalezau/exadel_discounts_be
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Exadel.CrazyPrice.Common.Models;
using Exadel.CrazyPrice.Common.Models.Option;
namespace Exadel.CrazyPrice.IdentityServer.Extentions
... | 1.768042 | 8235c800ff0ccd4821a83baf2308ecad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intensifier/NeoAxisEngine",
"max_stars_repo_path": "Sources/Engine/NeoAxis.Stubs/System.Windows.Forms/System.Windows.Forms/PropertyGrid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136629"
} | starcoder | using Microsoft.Win32;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Windows.Forms.ComponentModel.Com2Interop;
using System.Windows.Forms.Design;
namespace System.Windows.Forms
{
public class PropertyGrid : ContainerControl, IComPropertyB... | 1.778641 | b59a1bd2baabdf39c38ce2bde3d3851a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chrislugram/HuntRebels",
"max_stars_repo_path": "Assets/Scripts/Utils/Console/Console.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136630"
} | starcoder | <reponame>chrislugram/HuntRebels
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
public class Console{
#region STATIC_ENUM_CONSTANTS
#endregion
#region FIELDS
#endregion
#region ACCESSORS
#endregion
#region METHODS_CUSTOM
public static void Log(string s){
... | 2.055654 | 387c18d739e50fca018e0ac477ba3fbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Altinn/altinn-cli",
"max_stars_repo_path": "AltinnCLI/Commands/Storage/SubCommandHandlers/GetInstanceHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136631"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using AltinnCLI.Core;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace AltinnCLI.Commands.Storage
{
/// <summary>
/// Command for getting metadata for an instances of an app.
/// </summary>
... | 2.57813 | af4bee0a5462123b4aa9ba8e68fe3053 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817412 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "fernando-almeida/Obvs.AzureServiceBus",
"max_stars_repo_path": "Obvs.AzureServiceBus/Infrastructure/MessagingFactoryWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136632"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.ServiceBus.Messaging;
using Obvs.AzureServiceBus.Configuration;
namespace Obvs.AzureServiceBus.Infrastructure
{
internal sealed class MessagingFactoryWrapper : IMessagingFactory
{
private readonly Mes... | 2.143461 | a582cb9a29b6b9def20eff8cbb884ac2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817413 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "chuongmep/revit",
"max_stars_repo_path": "samples/Revit 2012 SDK/Samples/Openings/CS/Line2D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136633"
} | starcoder | //
// (C) Copyright 2003-2011 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty ... | 2.44557 | d78359b35d1da24f0dde1358d432d06f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817414 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Kaneraz/lightstep-tracer-csharp",
"max_stars_repo_path": "examples/LightStep.CSharpAspectTestApp/HttpWorker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136634"
} | starcoder | using LightStep.CSharpAspectTestApp.Aspects;
using OpenTracing.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace LightStep.CSharpAspectTestApp
{
class HttpWorker
{
private HttpClient httpClient;
... | 2.432815 | 54cea4d8df6bad2e63d9a09919187f17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlueCurve-Team/lucenenet",
"max_stars_repo_path": "src/Lucene.Net.Tests.Memory/Index/Memory/MemoryIndexTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136635"
} | starcoder | using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Tokenattributes;
using Lucene.Net.Codecs.Lucene41;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Index.Memory;
using Lucene.Net.QueryParsers.Classic;
using Lucene.Net.Search;
using Lucene.Net.Search.Spans;
using Lucene.Net.Store;
using Lucene.... | 2.162204 | bcc17e170d9d255b311a9180c1ee4ff0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hlebushek2020/YukoBot",
"max_stars_repo_path": "YukoBot/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136636"
} | starcoder | <reponame>Hlebushek2020/YukoBot
using System;
namespace YukoBot
{
class Program
{
static void Main(string[] args)
{
Console.Title = "Yuko[Bot]";
if (!YukoSettings.Availability())
{
return;
}
using (YukoBot yukoBot = ... | 1.669975 | 6ffe6b1564c3da7ca33a26976b78dbf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.D0081",
"max_stars_repo_path": "source/R5T.D0081.I001/Code/Services/Implementations/HardCodedAsynchronousExecutionSynchronicityProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136637"
} | starcoder | using System;
using System.Threading.Tasks;
using R5T.Magyar;
using R5T.T0064;
namespace R5T.D0081.I001
{
[ServiceImplementationMarker]
public class HardCodedAsynchronousExecutionSynchronicityProvider : IExecutionSynchronicityProvider, IServiceImplementation
{
public Task<Synchronicity> GetExec... | 1.41537 | fdc09a66b1658d2d7bc3354bc264c402 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.