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 | 8815318 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "HelloKitty/TypeSafe.HTTP.NET",
"max_stars_repo_path": "src/TypeSafe.Http.Net.Metadata/Attributes/SupressResponseErrorCodesAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134538"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace TypeSafe.Http.Net
{
/// <summary>
/// This metadata indicates that response error codes from responses. Usecases may include wanting
/// to deserialize JSON error response messages when a request fails. The defau... | 2.847327 | 3b934054a525f5c74d4290250da5157a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Midnight-Lizard/Impressions-Commander",
"max_stars_repo_path": "app/Requests/RemoveFromFavorites/RemoveFromFavoritesRequest.Deserializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134539"
} | starcoder | <reponame>Midnight-Lizard/Impressions-Commander<gh_stars>0
using MidnightLizard.Impressions.Commander.Infrastructure.Serialization;
namespace MidnightLizard.Impressions.Commander.Requests.RemoveFromFavorites
{
[SchemaVersion(">=1")]
public class RemoveFromFavoritesRequestDeserializer_v1 : JsonRequestDeseriali... | 1.321519 | 6141827813245a15429e79113289fdd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jianyuyanyu/AutoUpdater",
"max_stars_repo_path": "src/GeneralUpdate.Core/Update/IFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134540"
} | starcoder | <gh_stars>0
namespace GeneralUpdate.Core.Update
{
public interface IFile
{
}
} | 0.848408 | 08791af0849b8c63b149388e401bdf0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815321 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "OwenMcDonnell/MonoAGS",
"max_stars_repo_path": "Source/Engine/AGS.Engine/Misc/Tweening/TweenRepeatInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134541"
} | starcoder | using AGS.API;
namespace AGS.Engine
{
/// <summary>
/// Configuration and state required for repeating a tween.
/// </summary>
public class TweenRepeatInfo
{
/// <summary>
/// Gets or sets a value indicating whether this animation is currently running backwards.
/// </summa... | 3.59307 | 8682fe4dbd493c6049f1f0c4f1abd1ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815322 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DonaldTdz/GAWeChat",
"max_stars_repo_path": "aspnet-core/src/HC.WeChat.Application/IntegralDetails/Dtos/IntegralDetailEditDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134542"
} | starcoder | using System.ComponentModel.DataAnnotations;
using HC.WeChat.IntegralDetails.Dtos.LTMAutoMapper;
using HC.WeChat.IntegralDetails;
using System;
using HC.WeChat.WechatEnums;
namespace HC.WeChat.IntegralDetails.Dtos
{
public class IntegralDetailEditDto
{
////BCC/ BEGIN CUSTOM CODE SECTION
////EC... | 2.065409 | 99c02b4757efd08e36db7aca5daa284a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "Automation/Status.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134543"
} | starcoder | /*
Copyright © <NAME> 2015
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bam.Net.Automation
{
public enum Status
{
Unknown,
Starting,
Succeeded,
Failed,
Suspended,
Finished,
... | 1.473957 | fb1364707524f0506f8e0946c9c5f6d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815324 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ashokkumar9892/PermissionBasedFrameWork",
"max_stars_repo_path": "Example.StudentsManagement/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134544"
} | starcoder | @using Example.StudentsManagement.Models
@model ApplicationUser
@{
ViewBag.Title = "Log in";
}
<div class="container-signin">
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading">
<b>@ViewBag.Title</b>
</div>
<div class="panel... | 2.468077 | 807b42f02f316f7abd6dbe17bbfd35f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815325 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "Microsoft.CSharp/Microsoft/CSharp/ManagedBinder/Tokens/TokenFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134545"
} | starcoder | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
using System;
using System.Text;
namespace Microsoft.CSharp.RuntimeBinder.Syntax
{
internal static class TokenFacts
{
internal static string GetText(TokenKind kind)
{
switch (kind)
... | 2.292908 | 216b8a7314c05fa01627a95fde03f389 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gogus4/MyMovies",
"max_stars_repo_path": "Gogus/Gogus/Model/MovieCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134546"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gogus.Model
{
public class MovieCategory
{
public String Title { get; set; }
public int Count { get { if (Items != null) return Items.Count; else return 0; } }
... | 2.264744 | cc099f61af9b62dc6c267c8ae2366c71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815327 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "routonmh/covid-19-resident-logger",
"max_stars_repo_path": "covid-logger/Models/Forms/Entities/Duty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134547"
} | starcoder | <reponame>routonmh/covid-19-resident-logger
namespace ResidentLog.Models.Entities
{
/// <summary>
/// Floor, ICU, COVID, etc.
/// </summary>
public class Duty
{
public int DutyType { get; set; }
public string DutyDescription { get; set; }
/// <summary>
///
//... | 2.22294 | a97c7eb12565000d3ffc6d7cb5e949e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815328 | {
"extension": "c-sharp",
"max_stars_count": "291.0",
"max_stars_repo_name": "sakno/MissingPieces",
"max_stars_repo_path": "src/cluster/DotNext.Net.Cluster/Net/Cluster/Discovery/HyParView/IPeerConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134548"
} | starcoder | namespace DotNext.Net.Cluster.Discovery.HyParView;
/// <summary>
/// Represents configuration of the HyParView peer.
/// </summary>
public interface IPeerConfiguration
{
/// <summary>
/// Gets the capacity of active view representing resolved peers.
/// </summary>
int ActiveViewCapacity { get... | 2.386745 | 0d07798f04c56e72c0ca80c94ce5b74b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheWizardAndTheWyrd/Kothar",
"max_stars_repo_path": "Kothar.Server.Interfaces/Plugins/IBillingClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134549"
} | starcoder | namespace Kothar.Server.Interfaces.Plugins
{
public interface IBillingClient
{
}
} | 0.957145 | 11ed04fb886766b0c2f21e0af3f6be0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815330 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "udoliess/oxyplot",
"max_stars_repo_path": "Source/Examples/WPF/WpfExamples/Examples/AnnotationDemo/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134550"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MainWindow.xaml.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Interaction logic for MainWindow.xaml
// </summary>
// ------... | 2.570411 | d00ddb38719cf9df3d65ab6e6d6fc91a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815331 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "GeekQuiz/CLK.AspNet.Identity",
"max_stars_repo_path": "src/CLK.AspNet.Identity/PermissionManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134551"
} | starcoder | using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
namespace CLK.AspNet.Identity
{
public class PermissionManager<TPermission, TKey> : IDisposable
whe... | 2.438315 | 6c4a4a704bbb6e7f098817ce61f2d335 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815332 | {
"extension": "c-sharp",
"max_stars_count": "332.0",
"max_stars_repo_name": "skywing918/WindowsProtocolTestSuites",
"max_stars_repo_path": "TestSuites/FileServer/src/SMB2Model/Model/AppInstanceId/AppInstanceIdModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134552"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text;
using Microsoft.Protocols.TestSuites.FileSharing.SMB2Model.Adapter;
using Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2;
using Micros... | 1.935635 | eb0be0746de2f0e8eafcfc7f7de48c48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815333 | {
"extension": "c-sharp",
"max_stars_count": "5973.0",
"max_stars_repo_name": "olirobert/uno",
"max_stars_repo_path": "src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Casting/CastingConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134553"
} | starcoder | <gh_stars>1000+
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Media.Casting
{
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial class CastingCon... | 1.819239 | e48c0d09123b0436326cdbfceb0456e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815334 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aknyr/nova-poshta-client",
"max_stars_repo_path": "src/NovaPoshta.Client/Abstractions/Services/IAddressService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134554"
} | starcoder | using NovaPoshta.Client.Models;
using NovaPoshta.Client.Models.Data.Address;
using NovaPoshta.Client.Models.Props.Address;
using System;
using System.Threading.Tasks;
namespace NovaPoshta.Client.Abstractions.Services
{
public interface IAddressService
{
/// <summary>
/// Search all areas.
... | 2.184878 | 8113f1809889ff068c89dcbb1a830302 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815335 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "shadowchamber/SolidCP",
"max_stars_repo_path": "SolidCP/Sources/Tools/SolidCP.Import.Enterprise/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134555"
} | starcoder | <reponame>shadowchamber/SolidCP<gh_stars>10-100
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retai... | 2.052933 | 7ead97ddbe3a1242362d729469a9ac30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeusIntra/Snowball-Fight",
"max_stars_repo_path": "Assets/Scripts/UI/Equip/ItemSlot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134556"
} | starcoder | using UnityEngine;
public class ItemSlot : MonoBehaviour
{
public bool occupied = false;
public Item item;
public float scaleMultiplier = 1f;
public float itemOffsetZ = -10f;
public float itemYRotation = 100f;
private ItemSlotGroup _parent;
private void Start()
{
_parent = tr... | 1.940701 | dea3afc6433aa6dd9c7c894ddbfbcae5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815337 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/UnrealEd/Native/LevelEditorViewportSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134557"
} | starcoder | <filename>DotNet/DotNet/UE4/Generated/UnrealEd/Native/LevelEditorViewportSettings.cs
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.Cor... | 1.021378 | 1b562bd0e336503bb6dfc88bcc34bc3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815338 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "karl-sjogren/letter-avatar-service",
"max_stars_repo_path": "src/LetterAvatars.Generator/DefaultPaletteProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134558"
} | starcoder | <filename>src/LetterAvatars.Generator/DefaultPaletteProvider.cs
using System;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using SixLabors.ImageSharp.PixelFormats;
namespace LetterAvatars.Generator {
public class DefaultPaletteProvider : PaletteProvid... | 2.359362 | ac267fad1c5e60ebff1f7e3b565efb06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cool2Feel/Dwl_Color_Calibration",
"max_stars_repo_path": "Color Calibration/Color Calibration/Controler/C_DebugPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134559"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Color_Calibration.Control
{
public partial class C_DebugPage : Form
{
public event ... | 2.351433 | 3b3b72b2f21899475e1b9ca719955e6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GazziFX/ConfuserEx",
"max_stars_repo_path": "Tests/118_EnhancedStrongName.Test/EnhancedStrongNameTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134560"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using Confuser.UnitTest;
using Xunit;
using Xunit.Abstractions;
namespace EnhancedStrongName.Test {
public class EnhancedStrongNameTest : TestBase {
public EnhancedStrongNameTest(ITestOutputHelper outputHelper) : base(outputHelper) { }
[Fact]
[Trait(... | 2.114589 | 8baabde99195dd3b0515e862be850d0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mithgorm/MarsRover",
"max_stars_repo_path": "MarsRover.Domain/Enums/Direction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134561"
} | starcoder |
namespace MarsRover.Domain.Enums
{
public enum Direction
{
N,
S,
E,
W
}
}
| 1.647342 | dc4e433d8c68f26d19c1ed2b42b77b27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815342 | {
"extension": "c-sharp",
"max_stars_count": "13764.0",
"max_stars_repo_name": "jangernert/Avalonia",
"max_stars_repo_path": "src/Skia/Avalonia.Skia/Gpu/ISkiaGpuRenderTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134562"
} | starcoder | using System;
using SkiaSharp;
namespace Avalonia.Skia
{
/// <summary>
/// Custom Skia render target.
/// </summary>
public interface ISkiaGpuRenderTarget : IDisposable
{
/// <summary>
/// Start rendering to this render target.
/// </summary>
/// <returns></returns>
... | 2.076629 | 790f4c14cbe19ade9380f0d106b16346 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikGovorov/MassTransit",
"max_stars_repo_path": "src/MassTransit/Util/IndexedSagaProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134563"
} | starcoder | // Copyright 2007-2015 <NAME>, <NAME>, <NAME>, et. al.
//
// 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 re... | 2.434681 | 24b3dc55e85df941436203f48edcb644 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Noname-Studio/ET",
"max_stars_repo_path": "Unity/Packages/com.arongranberg.astar/Editor/RecastMeshObjEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134564"
} | starcoder | using UnityEngine;
using UnityEditor;
namespace Pathfinding {
[CustomEditor(typeof(RecastMeshObj))]
[CanEditMultipleObjects]
public class RecastMeshObjEditor : EditorBase {
protected override void Inspector () {
var modeProp = FindProperty("mode");
var areaProp = FindProperty("surfaceID");
PropertyField... | 2.206598 | 35cfe075837b61a8d2fe9d806adfb77a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815345 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Birdthulu/Legacy-Costume-Manager",
"max_stars_repo_path": "brawltools/BrawlBox/NodeWrappers/HavokWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134565"
} | starcoder | using System;
using BrawlLib.SSBB.ResourceNodes;
using BrawlLib;
using System.Windows.Forms;
using System.ComponentModel;
using System.IO;
using BrawlLib.IO;
namespace BrawlBox.NodeWrappers
{
[NodeWrapper(ResourceType.Havok)]
class HavokWrapper : GenericWrapper
{
private static ContextMenuStrip _m... | 2.397933 | f109a27a90a8fd87b24db1456cd2f8e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Illbeback/TelericAcademy",
"max_stars_repo_path": "Homeworks/03. C# Advanced/03. Methods/04. Appearance count/AppearanceCount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134566"
} | starcoder | <reponame>Illbeback/TelericAcademy
using System;
using System.Linq;
class AppearanceCount
{
static void Main()
{
Console.ReadLine();
int[] numbers = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int numberToSearch = int.Parse(Console.ReadLine());
Console.WriteLine... | 3.165503 | cd71f501318ae7bf881cb0f6ca66d679 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lecaillon/PostgreNoSQL",
"max_stars_repo_path": "src/PostgreNoSQL/Linq/DbDocumentQueryable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134567"
} | starcoder | namespace PostgreNoSQL.Linq
{
using System.Linq;
using System.Linq.Expressions;
using Remotion.Linq;
/// <summary>
/// Provides the main entry point to a LINQ query.
/// </summary>
public class DbDocumentQueryable<TResult> : QueryableBase<TResult>
{
/// <summary>
... | 2.691545 | 5ca46ad4d8fbe72a4c7e1827508bd289 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tragetaschen/XRE",
"max_stars_repo_path": "src/Microsoft.Framework.Runtime.Hosting/JTokenExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134568"
} | 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.Linq;
using Newtonsoft.Json.Linq;
namespace Microsoft.Framework.Runtime
{
internal static class JTokenExtensions
... | 2.384945 | 1d6d79bf5ff53bb2015cd244aebba924 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lhp7895/shadowsocksr-csharp-20161229",
"max_stars_repo_path": "shadowsocks-csharp/Controller/HttpPortForwarder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134569"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using Shadowsocks.Model;
namespace Shadowsocks.Controller
{
class HttpPortForwarder : Listener.Service
{
int _targetPort;
Configuration _config;
publi... | 2.225939 | ab7201d259b8568632338c8b61c374c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815350 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "WaveEngine/Components-2.5",
"max_stars_repo_path": "Shared/AR/ARProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134570"
} | starcoder | <filename>Shared/AR/ARProvider.cs
// Copyright © 2018 Wave Engine S.L. All rights reserved. Use is subject to license terms.
using System.Runtime.Serialization;
using WaveEngine.Common.Attributes;
using WaveEngine.Common.Graphics;
using WaveEngine.Common.Math;
using WaveEngine.Framework;
using WaveEngine.Framework.Gr... | 1.982139 | 41f008898edde54d819cb4cf3e1b882c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815351 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "maidouofgithub/FreeSql",
"max_stars_repo_path": "FreeSql.Tests/FreeSql.Tests.Provider.MySqlConnector/g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134571"
} | starcoder | <filename>FreeSql.Tests/FreeSql.Tests.Provider.MySqlConnector/g.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
public class g
{
static Lazy<IFreeSql> mysqlLazy = new Lazy<IFreeSql>(() => new FreeSql.FreeSqlBuilder()
.UseConnectionString(FreeSql.DataType.M... | 2.311293 | 7367d0de13f3204b2c36719874b04573 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815352 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ChangeVision/astah-csharp-reverse-plugin",
"max_stars_repo_path": "src/test/resources/com/change_vision/astah/extension/plugin/csharpreverse/reverser/linefeed/Aaa .cs",
"provenance": "train-00027-of-00045.jsonl.gz:134572"
} | starcoder | using System;
namespace NUnit.ConsoleRunner.Tests
{
public class ConsoleRunnerTest
{
private static readonly string failureMsg =
"aaa";
private static readonly int expectedReturnCode =
1+2;
}
}
| 1.881398 | d17bbbe48aeff60148599bf3c48a50cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jucer74/WorkShopNet",
"max_stars_repo_path": "src/WorkShopNet.App/IfStatementValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134573"
} | starcoder | using System.Collections.Generic;
namespace WorkShopNet.App
{
public class IfStatementValidator : RulesValidations, IValidateMethod
{
public List<string> Validate(string identifier)
{
List<string> errorList = new();
if (IsNullOrEmptyIdentifier(identifier))
... | 2.831261 | 117f54faa5f6e3548ae3bd7f146d716c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815354 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "psryland/rylogic_code",
"max_stars_repo_path": "projects/Rylogic.Core/src/Maths/ClosestPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134574"
} | starcoder | //***************************************************
// Bounding Box
// Copyright (c) Rylogic Ltd 2008
//***************************************************
using System;
using System.Diagnostics;
namespace Rylogic.Maths
{
public static partial class Geometry
{
/// <summary>Finds the closest point to the 2d li... | 2.972119 | 3098fdaef253c5bf02ef5e2cc2aa1e49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gradylorenzo/CustomCore",
"max_stars_repo_path": "Assets/NCore/GameManagerComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134575"
} | starcoder | <reponame>gradylorenzo/CustomCore<gh_stars>0
using UnityEngine;
using NCore.Managers;
using NCore.Settings;
public class GameManagerComponent : MonoBehaviour
{
[Header("Load the scene at index by default if > 0")]
public int defaultScene = 1;
private bool showNotice = false;
private void Awake()
... | 1.627148 | e4968635b5947aca853e8c82a22a949f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rsaenzi/UnityCourse-Interpolation",
"max_stars_repo_path": "Interpolation/Assets/Scripts/AircraftControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134576"
} | starcoder | <filename>Interpolation/Assets/Scripts/AircraftControl.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AircraftControl : MonoBehaviour {
float motionSpeed = 20.0f;
float rotationSpeed = 0.08f;
float stabilizationSpeed = 0.04f;
bool arrowKeyWas... | 2.525722 | df400f8973d29565e144f4d3ab3b77be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815357 | {
"extension": "c-sharp",
"max_stars_count": "209.0",
"max_stars_repo_name": "Ultrawipf/actools",
"max_stars_repo_path": "AcManager/CustomShowroom/DarkRendererSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134577"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using AcMan... | 1.392376 | 3fb1333f5672de2e8fe9d254c97fec12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815358 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "OptimisticPeach/GardeningGame",
"max_stars_repo_path": "GardeningGame/Engine/Scenes/LevelScene/LevelSelectScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134578"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;
using System.IO;
using Microsoft.Xna.Framework.Audio;
us... | 2.084381 | 902af96447efcf014362248446948ccf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815359 | {
"extension": "c-sharp",
"max_stars_count": "11219.0",
"max_stars_repo_name": "krisums/aspnetboilerplate",
"max_stars_repo_path": "src/Abp.Web.Common/Web/Authorization/IAuthorizationScriptManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134579"
} | starcoder | <reponame>krisums/aspnetboilerplate
using System.Threading.Tasks;
namespace Abp.Web.Authorization
{
/// <summary>
/// This class is used to build authorization script.
/// </summary>
public interface IAuthorizationScriptManager
{
/// <summary>
/// Gets JavaScript that contains all ... | 1.868123 | 2fe1b5ac6a082e64714b8d71b2a16441 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MiguelLuisSison/SuperSodaBomber",
"max_stars_repo_path": "Super Soda Bomber/Assets/GameEvents/Listeners/BaseGameListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134580"
} | starcoder | <filename>Super Soda Bomber/Assets/GameEvents/Listeners/BaseGameListener.cs
using UnityEngine;
using UnityEngine.Events;
/*
BaseGameListener
The base class for Game Listeners (receiver).
A script that lets other components of the
GameObject to be called by a GameEvent (sender)
using UnityEvent.
*/
... | 2.765997 | 0f8165a45e5dc997cad36bca7f528e6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815361 | {
"extension": "c-sharp",
"max_stars_count": "16061.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/Core/src/Platform/Android/IEnergySaverListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134581"
} | starcoder | <gh_stars>1000+
namespace Microsoft.Maui.Platform
{
public interface IEnergySaverListener
{
void OnStatusUpdated(bool energySaverEnabled);
}
} | 1.166403 | 07c757537208b50f85b14ca3a70d1259 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815362 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "v-fekalu/azure-mobile-apps-net-server",
"max_stars_repo_path": "samples/SampleApp/DataObjects/BrownOnline.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134582"
} | starcoder | // ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System.ComponentModel.DataAnnotations;
using Microsoft.Azure.Mobile.Server;
using Newtons... | 1.672419 | 57d5563736bfb4620c12891e1449123a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "findlayit/base-project",
"max_stars_repo_path": "BaseProject.BusinessProviders/Mapping/TokenMappingProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134583"
} | starcoder | using AutoMapper;
using BaseProject.BusinessProvider.Models.Users;
using BaseProject.Domain.Users;
namespace BaseProject.BusinessProviders.Mapping
{
public class TokenMappingProfile : Profile
{
protected override void Configure()
{
CreateMap<Token, TokenEntity>();
Creat... | 1.628566 | 099faad9d87a4f4a461ad68faa1ee0b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ksobon/SpeckleRevit",
"max_stars_repo_path": "SpeckleRevitPlugin/UI/StreamSelector/StreamSelectorModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134584"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpeckleCore;
using SpeckleRevitPlugin.Classes;
namespace SpeckleRevitPlugin.UI.StreamSelector
{
public class StreamSelectorModel
{
/// <summary>
///
//... | 1.984981 | 369441f1a6d4ab58922768ac07f14d12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815365 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "koliva8245/HeroesDataParser",
"max_stars_repo_path": "HeroesData.Parser/Overrides/BehaviorVeterancyOverrideLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134585"
} | starcoder | <gh_stars>10-100
using HeroesData.Parser.Overrides.DataOverrides;
using System;
using System.Xml.Linq;
namespace HeroesData.Parser.Overrides
{
public class BehaviorVeterancyOverrideLoader : OverrideLoaderBase<BehaviorVeterancyDataOverride>, IOverrideLoader
{
public BehaviorVeterancyOverrideLoader(int?... | 1.712016 | ada791e4505fec3c7de3b88c714593d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815366 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dandar28/ClangNet",
"max_stars_repo_path": "ClangNet/Managed/Services/TranslationUnit/ClangTranslationUnitResourceUsageEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134586"
} | starcoder | using ClangNet.Native;
namespace ClangNet
{
/// <summary>
/// Managed Clang Translation Unit Resource Usaage Entry
/// </summary>
public class ClangTranslationUnitResourceUsageEntry
{
/// <summary>
/// Native Clang Translation Unit Resource Usage Entry
/// </summary>
... | 2.633734 | 35cb43654d1fd99d675d6e524ad4e71b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guillermocorrea/DotnetBlogEngine",
"max_stars_repo_path": "src/Infrastructure/Data/Configurations/RoleConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134587"
} | starcoder | <filename>src/Infrastructure/Data/Configurations/RoleConfiguration.cs
using Domain;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Infrastructure.Data.Configurations
{
public class RoleConfiguration : IEntityTypeConfiguration<Role>
{
public void C... | 2.66889 | 3498ab91ada666598a8a2e796890c1df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XuPeiYao/XPY.ToolKit",
"max_stars_repo_path": "XPY.ToolKit.AspNetCore/DependencyInjection/InjectAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134588"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace XPY.ToolKit.AspNetCore.DependencyInjection
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class InjectAttribute : Attribute
{
pu... | 2.244457 | 77503960d32c29bb070c1cfb4268fa4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spacex13/CSharp-Fundamentals",
"max_stars_repo_path": "CSharp-OOP-Basics/Interfaces-Exercise/08.MilitaryElite/LeutenantGeneral.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134589"
} | starcoder | using System.Collections.Generic;
using System.Text;
public class LeutenantGeneral : Private, ILeutenantGeneral
{
public LeutenantGeneral(string firstName, string lastName, int id, double salary, List<ISoldier> privates)
:base(firstName, lastName, id, salary)
{
this.Privates = privates;
}
... | 3.272851 | 733e440259f477fa1f3cd7c73168aa36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickmcummins/CodeNav",
"max_stars_repo_path": "CodeNav.Languages.JS/Mappers/FunctionMapperJS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134590"
} | starcoder | #nullable enable
using CodeNav.Extensions;
using CodeNav.Mappers;
using CodeNav.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Media;
using Zu.TypeScript.TsTypes;
namespace CodeNav.Languages.JS.Mappers
{
public static class FunctionMapperJS
{
public st... | 2.169887 | 2b5bac1951e4bdee905835e9886edaa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shliao/TakeAwalk",
"max_stars_repo_path": "TakeAwalk/TakeAwalk/SystemAdmin/CustomerList.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134591"
} | starcoder | <filename>TakeAwalk/TakeAwalk/SystemAdmin/CustomerList.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TakeAwalk.Auth;
using TakeAwalk.DBSource;
using TakeAwalk.ORM.DBModels;
namespace TakeAwalk.SystemAdmin
{
... | 2.357973 | bc8a04fb1de3f3a064e972b642ae7a18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815372 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "DotNetToscana/CustomVisionCompanion",
"max_stars_repo_path": "Src/CustomVisionCompanion/CustomVisionCompanion/ViewModels/ViewModelBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134592"
} | starcoder | <reponame>DotNetToscana/CustomVisionCompanion<filename>Src/CustomVisionCompanion/CustomVisionCompanion/ViewModels/ViewModelBase.cs
using System;
using GalaSoft.MvvmLight.Views;
using Acr.UserDialogs;
using Xamarin.Forms;
using GalaSoft.MvvmLight.Command;
using System.Threading.Tasks;
using CustomVisionCompanion.Common;... | 2.031015 | de00f1f63fa1a16dd4d5d2ee1059ce58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815373 | {
"extension": "c-sharp",
"max_stars_count": "2630.0",
"max_stars_repo_name": "labh-dot/VisualStudio",
"max_stars_repo_path": "src/GitHub.App/ViewModels/GitHubPane/PullRequestDirectoryNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134593"
} | starcoder | <reponame>labh-dot/VisualStudio
using System;
using System.Collections.Generic;
using System.Linq;
using GitHub.Primitives;
namespace GitHub.ViewModels.GitHubPane
{
/// <summary>
/// A directory node in a pull request changes tree.
/// </summary>
public class PullRequestDirectoryNode : IPullRequestDir... | 2.462564 | f7ba5a61dce3f48eaf12d4e26f32764c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815374 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tk-yoshimura/TensorShader",
"max_stars_repo_path": "TensorShaderCudaBackendTest/Shaders/Elementwise/BinaryFactorArithmetricTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134594"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using TensorShaderCudaBackend;
using TensorShaderCudaBackend.Shaders.Elementwise;
namespace TensorShaderCudaBackendTest.ShadersTest.ElementwiseTest {
[TestClass]
public class BinaryFactorArithmetricTest {
[TestMethod... | 2.744811 | f1c2933d3973d0f09582ecacf4bd27f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815375 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "seniorblockchain/blockchain",
"max_stars_repo_path": "src/Tests/SeniorBlockchain.Tests/NBitcoin/key_tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134595"
} | starcoder | <reponame>seniorblockchain/blockchain
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SeniorBlockchain.Networks;
using SeniorBlockchain.Tests.Common;
using NBitcoin.Crypto;
using NBitcoin.DataEncoders;
using Xunit;
namespace NBitcoin.Tests
{
... | 2.158298 | 8247a94dc10cc9d5030ba71e2a5ac918 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anatoliy-Lejud/sound-designer-check",
"max_stars_repo_path": "Assets/UBindr/Bindings/MethodBinding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134596"
} | starcoder | using System;
using UnityEditor;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Assets.UBindr.Bindings
{
public class MethodBinding : BindingWithBindingSources
{
public Component Destination;
public string MethodPath;
private bool _initialized;
... | 2.23514 | 0fcf7bc277cdaf44d94bf943b95db997 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "digitaldrummerj-ionic/allReady",
"max_stars_repo_path": "AllReadyApp/Web-App/AllReady.UnitTest/Features/Event/EventsWithUnlockedCampaignsQueryHandlerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134597"
} | starcoder | <reponame>digitaldrummerj-ionic/allReady
using System.Collections.Generic;
using AllReady.Features.Event;
using AllReady.Models;
using Moq;
using Xunit;
namespace AllReady.UnitTest.Features.Event
{
public class EventsWithUnlockedCampaignsQueryHandlerTests
{
[Fact]
public void HandleReturnsEven... | 2.000373 | 5afd97a24c201a6185c97dbbc572ec24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815378 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "davidikin45/AspNetCore.Mvc.Extensions",
"max_stars_repo_path": "src/AspNetCore.Mvc.Extensions/Views/Shared/EditorTemplates/IEnumerable`IFormFile.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134598"
} | starcoder | <reponame>davidikin45/AspNetCore.Mvc.Extensions
@using Microsoft.AspNetCore.Http
@model IEnumerable<IFormFile>
@{
var htmlAttributes = HtmlHelper.AnonymousObjectToHtmlAttributes(ViewData["htmlAttributes"]);
htmlAttributes["type"] = "file";
htmlAttributes["multiple"] = "multiple";
htmlAttributes["class... | 2.350399 | b5a24b27b14a1d89935e1ce44a467d21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Iva-Yorgova/RecruitHub",
"max_stars_repo_path": "Recrutment/Views/Interviews/All.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134599"
} | starcoder | <reponame>Iva-Yorgova/RecruitHub<gh_stars>0
<div class="container">
<div class="section">
<div class="row">
<div class="mb-5 pb-5 col-lg-12">
<div class="page-header text-center">
<h2 id="tables">Interviews</h2>
</div>
<!--<di... | 2.16278 | 9f48f28da785e5439d2c5a007bc77347 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dannylach/IO_Lab_Tasks",
"max_stars_repo_path": "Proj_Tasks_1-5/Lab_1/Task1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134600"
} | starcoder | using System;
using System.Threading;
namespace Lab_1
{
class Task1
{
public static void Main()
{
var firstWaitingTime = 1000;
var secondWaitingTime = 2000;
ThreadPool.QueueUserWorkItem(ThreadProc, firstWaitingTime);
ThreadPool.QueueUserWorkItem(... | 3.411563 | 16f4f9d04c0b73fd76ee442f21e76f51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815381 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "enue/Unity_TSKT_Input",
"max_stars_repo_path": "Assets/Package/Runtime/InputManager/DefaultInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134601"
} | starcoder | <reponame>enue/Unity_TSKT_Input
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#nullable enable
namespace TSKT
{
[System.Obsolete]
public class DefaultInput : IInput
{
public bool GetKeyDown(KeyAssign.AppKey appKey)
{
return Input.GetKeyDown(appK... | 2.005399 | d2922bad89ce82c259a18d57b161f4b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815382 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Fyzxs/IMock",
"max_stars_repo_path": "utils/IMockResharperPlugin/IMockResharperPlugin/FluentTypes/Texts/PublicText.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134602"
} | starcoder | <reponame>Fyzxs/IMock
namespace Fyzxs.IMockResharperPlugin.FluentTypes.Texts
{
public class PublicText : Text
{
protected override string RawValue() => "public";
}
} | 1.563082 | c2b64029fed061ccf928fee358c274d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815383 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "srakowski/coldsteel",
"max_stars_repo_path": "src/Coldsteel/Input/ButtonControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134603"
} | starcoder | <filename>src/Coldsteel/Input/ButtonControl.cs<gh_stars>1-10
// MIT License - Copyright (C) <NAME>
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using Microsoft.Xna.Framework;
using System.Collections.Generic;
using System.Linq;
using ... | 2.667879 | c28972c406c6c2e5148330a9e3935c50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ptrstpp950/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/src/Fluent/Settings/ContainerBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134604"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Fluent
{
using System;
using System.Threading;
using System.Threading.Tasks;
///... | 2.310542 | 5fe279a27e9dabf6e1df22dfba529e6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815385 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/DeploymentManager/DeploymentManager/Models/Rollout/PSRolloutStep.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134605"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... | 2.126258 | e5488b0d16c4d5b4fc4ba7f8f3421c4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "al222cv/CQRSlite.NetCore",
"max_stars_repo_path": "Sample/CQRSCode/ReadModel/Handlers/InventoryListView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134606"
} | starcoder | <reponame>al222cv/CQRSlite.NetCore
using CQRSCode.ReadModel.Dtos;
using CQRSCode.ReadModel.Events;
using CQRSCode.ReadModel.Infrastructure;
using CQRSlite.Events;
namespace CQRSCode.ReadModel.Handlers
{
public class InventoryListView : IEventHandler<InventoryItemCreated>,
IEventHandler<InventoryItemRenamed... | 1.745736 | 88cf57790b75329e781e889549216380 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akesseler/GitHubViewer",
"max_stars_repo_path": "code/src/GitHubViewer/Models/ReleaseQueryArgumentsModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134607"
} | starcoder | /*
* MIT License
*
* Copyright (c) 2019 <EMAIL>
*
* 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, modif... | 2.358765 | 3402fc095ed4311dbc49c553ae9d5d70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815388 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "syncfusion/uwp-demos",
"max_stars_repo_path": "SfCellGrid/Tutorials/FreezePane.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134608"
} | starcoder | <filename>SfCellGrid/Tutorials/FreezePane.xaml.cs
#region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement w... | 1.955402 | 5665151c6cb8e3132eaa0780d3a11f23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815389 | {
"extension": "c-sharp",
"max_stars_count": "432.0",
"max_stars_repo_name": "workabyte/PowerArgs",
"max_stars_repo_path": "PowerArgs/HelperTypesPublic/BooleanExpressionParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134609"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PowerArgs
{
/// <summary>
/// A simple boolean expression parser that supports and '&', or '|', and grouping via parentheses.
/// </summary>
public static class BooleanExpressionParser
{
///... | 3.356334 | de737b8606bbaf6d9a5fdf7995d3d540 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815390 | {
"extension": "c-sharp",
"max_stars_count": "251.0",
"max_stars_repo_name": "wanjabachmann/sccmclictr",
"max_stars_repo_path": "Plugins/Plugin_RemoteTools/CustomTools_CMRemote.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134610"
} | starcoder | <reponame>wanjabachmann/sccmclictr
using System;
using System.Windows;
using System.Runtime.InteropServices;
using Microsoft.Win32;
using System.IO;
using System.Diagnostics;
namespace AgentActionTools
{
/// <summary>
/// Interaction logic for CustomTools__CMRemote.xaml
/// </summary>
public partial c... | 1.917701 | d20a0b39452830511324b27ebc874fc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815391 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ephebe/netbpm",
"max_stars_repo_path": "src/NetBpm/Workflow/Definition/ProcessDefinitionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134611"
} | starcoder | using System;
using System.Collections;
using NetBpm.Util.Client;
using NetBpm.Util.DB;
using NetBpm.Util.EComp;
using NetBpm.Workflow.Definition.Impl;
using Castle.Services.Transaction;
using Castle.Facilities.NHibernateIntegration;
using System.IO;
using log4net;
using ICSharpCode.SharpZipLib.Zip;
using NetBpm.Util.X... | 1.927762 | 51159833e99c2800fd5e307bad4cf1a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muwaqar/azure-powershell",
"max_stars_repo_path": "src/ResourceManager/DataMigration/Commands.DataMigration.Test/DataMigrationConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134612"
} | starcoder | <filename>src/ResourceManager/DataMigration/Commands.DataMigration.Test/DataMigrationConfig.cs<gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DMConfig.cs" company="Microsoft">
// Copyright (c) Microsoft Corpor... | 2.237917 | 9fd482ec520b7db91cc8650a4ee9a30c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815393 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexfordc/Au",
"max_stars_repo_path": "Libraries/_SourceGrid/SourceGrid/Cells/Models/Real/Models.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134613"
} | starcoder | using System;
namespace SourceGrid.Cells.Models
{
public class NullValueModel : IValueModel
{
public readonly static NullValueModel Default = new NullValueModel();
/// <summary>
/// Constructor
/// </summary>
public NullValueModel()
{
}
#region IModel Members
public object GetValue(CellContext cel... | 2.801434 | 146c5b270532377a5cd983db14223915 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nvdvlies/dotnet-api-and-angular-frontend",
"max_stars_repo_path": "tools/Demo.Scaffold.Tool/Scaffolders/OutputCollectors/DomainEntity/OutputCollectors/CreateAuditloggerOutputCollector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:... | starcoder | <reponame>nvdvlies/dotnet-api-and-angular-frontend
using System.Collections.Generic;
using Demo.Scaffold.Tool.Changes;
using Demo.Scaffold.Tool.Helpers;
using Demo.Scaffold.Tool.Interfaces;
namespace Demo.Scaffold.Tool.Scaffolders.OutputCollectors.DomainEntity.OutputCollectors
{
internal class CreateAuditloggerOu... | 2.124244 | facb9c3f4c10bdf785253e4a0ef4cf86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815395 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Game-Bubble/Run-Transformer",
"max_stars_repo_path": "Assets/StompyRobot/SRDebugger/Scripts/Services/IBugReportService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134615"
} | starcoder | namespace SRDebugger.Services
{
using System.Collections.Generic;
public class BugReport
{
public List<ConsoleEntry> ConsoleLog;
public string Email;
public byte[] ScreenshotData;
public Dictionary<string, Dictionary<string, object>> SystemInformation;
public string... | 2.631752 | 47b6e05e572ff6fb2a0311e18bf9bf5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815396 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "tmvan/Elect",
"max_stars_repo_path": "src/Data/Elect.Data.EF/Models/EntityStateModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134616"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace Elect.Data.EF.Models
{
public class EntityStateModel
{
public object Entity { get; set; }
public EntityState State { get; set; }
/// ... | 2.746952 | 2d58e983f3ac6644018d5c31b350974f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DumpsterDoofus/JsonApiDotNetCore",
"max_stars_repo_path": "src/JsonApiDotNetCore/Services/IGetSecondaryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134617"
} | starcoder | using System.Threading.Tasks;
using JsonApiDotNetCore.Resources;
namespace JsonApiDotNetCore.Services
{
/// <inheritdoc />
public interface IGetSecondaryService<TResource> : IGetSecondaryService<TResource, int>
where TResource : class, IIdentifiable<int>
{ }
/// <summary />
public interfac... | 2.403167 | 3942a705d1bcdec7fec32af26ee53757 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeoJSON-Net/GetJson.Text",
"max_stars_repo_path": "src/GeoJSON.Text/DoubleTenDecimalPlaceComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134618"
} | starcoder | // Copyright © <NAME> 2014, <NAME> 2017
using System;
using System.Collections.Generic;
namespace GeoJSON.Text
{
/// <summary>
/// Compares doubles for equality.
/// </summary>
/// <remarks>
/// 10 decimal places equates to accuracy to 11.1 μm.
/// </remarks>
public class DoubleTe... | 3.147288 | dce2ae2389c50db231553d94328a2c7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815399 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dotnet-campus/dotnetCampus.P2PFileShare",
"max_stars_repo_path": "DotnetCampusP2PFileShare/Core/Peer/Device_/DeviceInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134619"
} | starcoder | namespace DotnetCampusP2PFileShare.Core.Peer
{
/// <summary>
/// 只读设备,用于表示当前设备
/// </summary>
public interface IReadOnlyDeviceInfo
{
/// <summary>
/// 程序版本
/// </summary>
string Version { get; }
/// <summary>
/// 设备名
/// </summary>
st... | 2.619299 | 4cf8743508f7fadd40ca2ed8cc759bfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815400 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "charity-funds/AdColony-Unity-Plugin",
"max_stars_repo_path": "Sample/Assets/Scripts/Editor/PostBuildProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134620"
} | starcoder | <gh_stars>1-10
#if UNITY_IOS
using UnityEngine;
using UnityEditor;
using System.Collections;
using UnityEditor.Callbacks;
using UnityEditor.iOS.Xcode;
using System.IO;
public class ADCUnityPostBuildProcessor {
[PostProcessBuild]
public static void OnPostprocessBuild(BuildTarget buildTarget, string buildPath) {
... | 1.915292 | 0e0ebf3e063f056ba5f405bdc224a7bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dirkbretthauer/CChess",
"max_stars_repo_path": "CChessUI/Converter/PieceToImageConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134621"
} | starcoder | <reponame>dirkbretthauer/CChess
#region Header
//////////////////////////////////////////////////////////////////////////////
// This file is part of $projectname$.
//
// $projectname$ is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published... | 2.309316 | 387f7f300b43406ca316cd5dc036b1a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "foluis/DotNetCoreExamples",
"max_stars_repo_path": "DotNetCoreExamples/CoreIdentityWebApi/CustomStores/CustomRoleStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134622"
} | starcoder | <filename>DotNetCoreExamples/CoreIdentityWebApi/CustomStores/CustomRoleStore.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CoreIdentityWebApi.CustomStores
{
public class CustomRoleStore
{
}
}
| 1.421203 | 4bbb7a79d3c1e49462caa56049f917e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815403 | {
"extension": "c-sharp",
"max_stars_count": "708.0",
"max_stars_repo_name": "MessageBOX/Alipay.AopSdk.Core",
"max_stars_repo_path": "Alipay.AopSdk.Core/Response/ZolozAuthenticationCustomerFaceabilityIdentifyResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134623"
} | starcoder | <reponame>MessageBOX/Alipay.AopSdk.Core
using System;
using System.Xml.Serialization;
using Alipay.AopSdk.Core.Domain;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// ZolozAuthenticationCustomerFaceabilityIdentifyResponse.
/// </summary>
public class ZolozAuthenticationCustomerFaceabilityIden... | 1.315228 | f6fbef90440a4e5a34f02fb8bd8d3c6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815404 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "srknhcgl/3DPaymentAspNetCore",
"max_stars_repo_path": "samples/ThreeDPayment.Sample/Views/Payment/Fail.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134624"
} | starcoder | @{
Layout = null;
}
@model VerifyGatewayResult
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>Gateway Confirm - Fail</title>
</head>
<body>
<h3 style="width:100%;display:inline-block;ma... | 1.981093 | b414acd2ffd57a90d7fc5d188c5050e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zhelyazko777/OnlinePharmacy",
"max_stars_repo_path": "Pharmacy/Pharmacy.Web/obj/Debug/netcoreapp2.1/Razor/Areas/Shop/Views/Products/_Products.g.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134625"
} | starcoder | #pragma checksum "D:\Projects\C#Projects\Pharmacy\Pharmacy.Web\Areas\Shop\Views\Products\_Products.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0d832cc689fc41e7027396bb2cc0deb14f0b34e6"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribut... | 1.292485 | d41d0507a0c53e2b7b19ea6902c0702e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815406 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "danrien/NSpec.VsAdapter",
"max_stars_repo_path": "sln/src/NSpec.VsAdapter/Logging/OutputLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134626"
} | starcoder | <filename>sln/src/NSpec.VsAdapter/Logging/OutputLogger.cs
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using NSpec.VsAdapter.Settings;
using System;
using System.Collections.Generic;
namespace NSpec.VsAdapter.Logging
{
public class OutputLogger : IOutputLogger
{
public OutputLogger(I... | 2.397362 | 9b57445d6f3ecb8854dc42e4c96d977a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815407 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "incoplex/SilverlightToolkit",
"max_stars_repo_path": "Release/Silverlight4/SampleSource/Controls.Samples/TimeInput/PlusMinusMinuteTimeInputParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134627"
} | starcoder | <filename>Release/Silverlight4/SampleSource/Controls.Samples/TimeInput/PlusMinusMinuteTimeInputParser.cs
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
... | 3.177515 | d3510f0f5a5425b08965f23f47880570 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LilyOSullivan/Design-Patterns-in-CSharp",
"max_stars_repo_path": "State/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134628"
} | starcoder | <gh_stars>0
using System;
namespace ClassicState
{
public class Switch
{
public State State = new OffState();
public void On() { State.On(this); }
public void Off() { State.Off(this); }
}
public abstract class State
{
public virtual void On(Switch sw)
{
... | 3.147814 | 89d19a117a1693827ef3ba3fa2aaf645 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prayzzz/LivestreamStarter",
"max_stars_repo_path": "Common/Enum/MessageTypeEnum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134629"
} | starcoder | <reponame>prayzzz/LivestreamStarter<filename>Common/Enum/MessageTypeEnum.cs
namespace Common.Enum
{
public enum MessageTypeEnum
{
Success,
Notification,
Error
}
} | 1.307974 | b9df6bfa8d05de00c513108fe7699915 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gjedlicska/speckle-sharp",
"max_stars_repo_path": "ConnectorDynamo/ConnectorDynamoFunctions/Advanced/Local.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134630"
} | starcoder | <filename>ConnectorDynamo/ConnectorDynamoFunctions/Advanced/Local.cs
using Autodesk.DesignScript.Runtime;
using Speckle.Core.Api;
using Speckle.Core.Logging;
namespace Speckle.ConnectorDynamo.Functions.Advanced
{
public static class Local
{
/// <summary>
/// Sends data locally, without the need of a Speck... | 2.478161 | b8c6c9afaa1f82750ac77c1e358a5ada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815411 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MCCshreyas/aspnetcore",
"max_stars_repo_path": "src/Security/Authentication/JwtBearer/src/LoggingExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134631"
} | starcoder | <filename>src/Security/Authentication/JwtBearer/src/LoggingExtensions.cs<gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.Extensions.Logging;
internal static class LoggingExtensions... | 2.275514 | 039bea4b8a87622724e7623008c1235d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "D-RyusukeMatsumoto/VContainerTest",
"max_stars_repo_path": "Assets/VContainer/Runtime/Registration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134632"
} | starcoder | <reponame>D-RyusukeMatsumoto/VContainerTest
using System;
using System.Collections;
using System.Collections.Generic;
using VContainer.Internal;
namespace VContainer
{
public interface IRegistration
{
Type ImplementationType { get; }
IReadOnlyList<Type> InterfaceTypes { get; }
Lifetime ... | 2.758058 | 986560b16a7bff528ae117bcdda60c6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Expasys/Expasys.Web.Platform",
"max_stars_repo_path": "Website/DesktopModules/Admin/Extensions/Editors/JavaScriptLibraryEditor.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134633"
} | starcoder | <filename>Website/DesktopModules/Admin/Extensions/Editors/JavaScriptLibraryEditor.ascx.cs<gh_stars>0
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2017
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this softw... | 1.695517 | 797e08c262d9ad202affaf3fd70ecb04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815414 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "h2oboi89/AdventOfCode",
"max_stars_repo_path": "AdventOfCode/2021/Day_04.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134634"
} | starcoder | <filename>AdventOfCode/2021/Day_04.cs
using System.Text;
namespace AdventOfCode._2021;
internal class Day_04 : BaseDay
{
private class BingoBoard
{
private readonly Space[,] Spaces = new Space[5, 5];
public BingoBoard(IEnumerable<int> values)
{
int x = 0, y = 0;
... | 3.302983 | 2577df03189dc66008849464bb60f468 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d2eason/auto-crud",
"max_stars_repo_path": "Firebend.AutoCrud/Firebend.AutoCrud.Mongo/Abstractions/Entities/MongoEntityReadService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134635"
} | starcoder | <filename>Firebend.AutoCrud/Firebend.AutoCrud.Mongo/Abstractions/Entities/MongoEntityReadService.cs
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Firebend.AutoCrud.Core.Interfaces.Models;
using Firebend.AutoCrud.Core.Interfaces.Services.Entities;
using Firebend.AutoCrud.M... | 2.545341 | 2c9572cd244ccd41b708adfefd40cd86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stoyanovmiroslav/CSharp-Fundamentals",
"max_stars_repo_path": "CSharp OOP Advanced/Reflection and Attributes - Exercise/07.InfernoInfinity/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134636"
} | starcoder | <reponame>stoyanovmiroslav/CSharp-Fundamentals<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using _07.InfernoInfinity.Core;
using _07.InfernoInfinity.Factories;
using _07.InfernoInfinity.Gems;
using _07.InfernoInfinity.Weapons;
namespace _07.InfernoInfinity
{
public class StartUp
... | 1.669425 | e61a1301149dd57f47f379d20c9ea221 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "worthingtonjg/DriftRacer",
"max_stars_repo_path": "Assets/_Project/Scripts/CheckpointManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134637"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CheckpointManager : MonoBehaviour
{
public List<GameObject> Children;
public static List<GameObject> Checkpoints;
// Start is called before the first frame update
void Start()
{
Checkpoints = new L... | 1.841427 | 3e19c576c7dd6c8598176c2aef7bf3d1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.