added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1565 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pmxEr5lZwZ/StackBuilder",
"max_stars_repo_path": "Sources/treeDiM.Basics/UCtrlDualDouble.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1566"
} | starcoder | <gh_stars>1-10
#region Using directives
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using Sharp3D.Math.Core;
#endregion
namespace treeDiM.Basics
{
public partial class UCtrlDualDouble : UserControl
{
#region Delegates
public delegate void Value... | 2.47894 | b68bf3d72637c8997cca90a031b2f8b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1566 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "103022129/UnityMultiplayerARPG_MMO",
"max_stars_repo_path": "Scripts/MMOGame/Database/SQLite/SQLiteDatabase_CharacterSkillUsage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1567"
} | starcoder | <reponame>103022129/UnityMultiplayerARPG_MMO
using System.Collections;
using System.Collections.Generic;
using Mono.Data.Sqlite;
namespace MultiplayerARPG.MMO
{
public partial class SQLiteDatabase
{
private bool ReadCharacterSkillUsage(SQLiteRowsReader reader, out CharacterSkillUsage result, bool rese... | 2.736584 | efeccc633a67c89ba9e1f169615d2519 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1567 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "chicken-with-lips/filament-dotnet",
"max_stars_repo_path": "Filament.Native/Image/KtxBundle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1568"
} | starcoder | <gh_stars>1-10
using System;
using System.Runtime.InteropServices;
namespace Filament.Native.Image
{
public static class KtxBundle
{
/// <summary>
/// Creates a new bundle by deserializing the given data.
/// </summary>
[DllImport("libfilament-dotnet", EntryPoint = "filament_Ima... | 2.389066 | 1df08c9dd0a281f68d905a7451247452 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1568 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/Shield/Generated/Model/AttackVolume.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1569"
} | starcoder | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 1.890671 | 99c8ea1aaedf3c5034898dad01bd5921 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1569 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iwenli/ILI",
"max_stars_repo_path": "Iwenli/_open/QCloud/Module/Base.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1570"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using QCloudAPI_SDK.Common;
namespace QCloudAPI_SDK.Module
{
abstract class Base
{
protected string serverHost = "";
protected string serverUri = "/v2/index.php";
protected string secretId = "";
protected strin... | 2.296226 | 6ed1d4b819b5b796f6a3f196ff998280 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1570 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mbrewerton/DotNetPivotalTrackerApi",
"max_stars_repo_path": "PivotalTrackerApi/Enums/StoryState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1571"
} | starcoder | <reponame>mbrewerton/DotNetPivotalTrackerApi
namespace DotNetPivotalTrackerApi.Enums
{
public enum StoryState
{
Accepted,
Delivered,
Finished,
Started,
Rejected,
Planned,
Unstarted,
Unscheduled
}
}
| 1.481757 | b3d99c398dda9a46bdf66b20a9a1f6df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yaroslav08/KyivDigital",
"max_stars_repo_path": "KyivDigital/KyivDigital.Business/Models/TokenModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1572"
} | starcoder | <reponame>Yaroslav08/KyivDigital<gh_stars>0
using System.Text.Json.Serialization;
namespace KyivDigital.Business.Models
{
public class TokenModel
{
[JsonPropertyName("access_token")]
public string AccessToken { get; set; }
[JsonPropertyName("expired_Date")]
public long ExpiredD... | 1.695231 | aba8bf716f9ec9e840daa278600309db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1572 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "maglite4cell/simplwmqttbroker",
"max_stars_repo_path": "sahajquinci.MQTT_Broker/Messages/MqttMsgPingReq.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1573"
} | starcoder |
using sahajquinci.MQTT_Broker.Exceptions;
using Crestron.SimplSharp.CrestronLogger;
namespace sahajquinci.MQTT_Broker.Messages
{
/// <summary>
/// Class for PINGREQ message from client to broker
/// </summary>
public class MqttMsgPingReq : MqttMsgBase
{
/// <summary>
/// Constructo... | 2.53438 | cebc6c2f3bf4c4c5965bcfc4b9fc0545 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jfuerlinger/csharp_samples_webapi_moviemanager-part2-template",
"max_stars_repo_path": "source/MovieManager.Core/Entities/Movie.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1574"
} | starcoder | <filename>source/MovieManager.Core/Entities/Movie.cs
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using MovieManager.Core.Validations;
namespace MovieManager.Core.Entities
{
public partial class Movie : EntityObject
{
public string Title { get; set; ... | 2.332909 | 22eda3b12ebfbc45a8c53ce000ef0109 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DonCorleone/KinderKulturNetCoreAngular",
"max_stars_repo_path": "Server/RestAPI/UsersController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1575"
} | starcoder | using AspCoreServer.Server.Data;
using AspCoreServer.Server.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace AspCoreServer.Server.Controllers
{
// [ApiVersion("1.0")]
// [Route("api/{version:apiVersion}/[controller... | 2.602819 | f326c493ff71ef9958e646726c4c9f99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1575 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Timwi/KTANE-Mods",
"max_stars_repo_path": "Tweaks/TweaksAssembly/GeneralExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1576"
} | starcoder | <filename>Tweaks/TweaksAssembly/GeneralExtensions.cs<gh_stars>1-10
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System;
using UnityEngine;
public static class GeneralExtensions
{
public static bool EqualsAny(this object obj, params object[] targe... | 3.230817 | 42e03876d11fc12e81716306a6e56e0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1576 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-ddoscoo/Ddoscoo/Transform/V20200101/DescribeWebCustomPortsResponseUnmarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1577"
} | starcoder | <filename>aliyun-net-sdk-ddoscoo/Ddoscoo/Transform/V20200101/DescribeWebCustomPortsResponseUnmarshaller.cs
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright owne... | 1.455872 | 8c2de732d05fee25968854c26a2bab79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1577 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "saineshwar/Bugpoint",
"max_stars_repo_path": "BugPoint.Solution/BugPoint.Application/Areas/Administration/Views/MovingBugs/Process.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1578"
} | starcoder | @model BugPoint.ViewModel.MovingBugs.MovingBugsViewModel
<div class="card card-secondary card-outline">
<div class="card-header">
<h3 class="card-title"> <i class="fas fa-bullseye"></i> Bulk Action </h3>
</div>
<!-- /.card-header -->
<!-- form start -->
<div class="card-body register-car... | 2.149043 | bdc46a9ba607acbee2adce240ca40d31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wqyeo/TehDeck",
"max_stars_repo_path": "TehDeck/Example/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1579"
} | starcoder | using System;
namespace Example {
class Program {
// A simple game where you attempt to not draw a joker card against a dummy AI.
// 'DRAW' -> Draws a card.
// 'ADD' -> Add cards to the deck and shuffles before drawing.
// 'EXIT' -> Exits the game.
static void Main(string... | 3.771495 | 21e466ce5e600712ab8221c79b3cf751 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "egg82/Egg82LibEnhanced",
"max_stars_repo_path": "Egg82LibEnhanced/Utils/MathUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1580"
} | starcoder | using System;
namespace Egg82LibEnhanced.Utils {
public class MathUtil {
//vars
private static Random rnd = new Random();
//constructor
public MathUtil() {
}
//public
public static double Random(double min, double max) {
return rnd.NextDouble() * (max - min) + min;
}
public static int FairRou... | 3.355343 | bb305108ea36ffc3e46365a16b8dd447 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Didovgopoly/DynamicData",
"max_stars_repo_path": "DynamicData/Platforms/net45/PTransform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1581"
} | starcoder | #if P_LINQ
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using DynamicData.Kernel;
// ReSharper disable once CheckNamespace
namespace DynamicData.PLinq
{
internal sealed class PTransform<TDestination, TSource, TKey>
{
private readonly IObservable<IChang... | 2.106265 | 8a6671da06e6a1ca0d44098877e4ad0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yifan228/multiPlayerGame",
"max_stars_repo_path": "parSysFixedRotation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1582"
} | starcoder | <filename>parSysFixedRotation.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class parSysFixedRotation : MonoBehaviour
{
// Update is called once per frame
void Update()
{
this.gameObject.transform.rotation = Quaternion.Euler(0,0,0);
}
}
| 1.91622 | 3fbbbb0f805d625e8e15345701a99862 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SindelarPetr/Uniwiki",
"max_stars_repo_path": "Uniwiki/Uniwiki.Server.Persistence/Repositories/PostCommentRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1583"
} | starcoder | using System;
using System.Collections.Generic;
using Uniwiki.Server.Persistence.Models;
using Uniwiki.Server.Persistence.Repositories.Base;
using Uniwiki.Server.Persistence.Services;
namespace Uniwiki.Server.Persistence.Repositories
{
public class PostCommentRepository
{
private readonly UniwikiCont... | 2.17221 | 2b256d4f3f2aa3cde0d84faec1bd7588 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1583 | {
"extension": "c-sharp",
"max_stars_count": "17923.0",
"max_stars_repo_name": "ffMathy/roslyn",
"max_stars_repo_path": "eng/config/test/Core/InstallTraceListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1584"
} | starcoder | <reponame>ffMathy/roslyn<gh_stars>1000+
// <auto-generated/>
using System.Runtime.CompilerServices;
using Roslyn.Test.Utilities;
internal sealed class InitializeTestModule
{
[ModuleInitializer]
internal static void Initializer()
{
RuntimeHelpers.RunModuleConstructor(typeof(TestBase).Module.Module... | 0.820515 | a73d3c66708de5347a6dc73a51256da6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1584 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "innogames/asset-relations-viewer",
"max_stars_repo_path": "NodeDependencyLookup/Editor/Caches/AssetDependencyCache/NodeDependencyLookupContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1585"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Assets.Package.Editor.DependencyResolvers;
namespace Com.Innogames.Core.Frontend.NodeDependencyLookup
{
/**
* The CacheStateContext holds all information after the Caches updates
* This is to reduce the amount of parameters needing to be passed to the fun... | 2.295763 | 8813e400dc6c67486d261502dcbc7c3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msioen/optimization",
"max_stars_repo_path": "src/Itinero.Optimization/Abstract/Tours/Cycles/AsymmetricCycles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1586"
} | starcoder | /*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... | 3.037695 | 7a1ae6a79800df4d38ca141e1d74cec7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1586 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andrijac/regsecedit",
"max_stars_repo_path": "source/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1587"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-... | 2.102295 | df476ffbe33c971bd67c4c977d14b255 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1587 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "AspxCommerce/AspxCommerce2.7",
"max_stars_repo_path": "AspxCommerce.USPS/USPSException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1588"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AspxCommerce.USPS
{
public class USPSException : ApplicationException
{
public USPSException(string ErrorMessage)
{
_Exception = new Exception(ErrorMessage);
}
public USPSException(string E... | 2.5781 | 8c994133ea162ab78989d31188bec48b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1588 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "claytondus/Claytondus.AmazonMWS",
"max_stars_repo_path": "Claytondus.AmazonMWS.Sellers/MarketplaceWebServiceSellersException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1589"
} | starcoder | /*******************************************************************************
* Copyright 2009-2015 Amazon Services. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
*
* You may not use this file except in compliance with the License.
* You may obtain a copy of the Licens... | 1.694388 | 8ed4de55234825034cbf40b8ce0b981a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1589 | {
"extension": "c-sharp",
"max_stars_count": "203.0",
"max_stars_repo_name": "tompazourek/Cirqus",
"max_stars_repo_path": "d60.Cirqus/Views/ViewManagers/IGetViewIdsFor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1590"
} | starcoder | <filename>d60.Cirqus/Views/ViewManagers/IGetViewIdsFor.cs<gh_stars>100-1000
using System.Collections.Generic;
namespace d60.Cirqus.Views.ViewManagers
{
/// <summary>
/// Interface to implement in order to have events of the specified <typeparamref name="TDomainEvent"/> type dispatched to it.
/// </s... | 2.547364 | 7d2847be2696ace097f5464711694832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1590 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SnoUweR/iTunesSVKS-2",
"max_stars_repo_path": "LogicManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1591"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using iTunesSVKS_2.Networks;
using iTunesSVKS_2.Players;
using iTunesSVKS_2.Networks.LastFM;
using iTunesSVKS_2.Common;
namespace iTunesSVKS_2
{
/// <summary>
/// Данный класс, наверное, в будущ... | 2.879256 | ac3be8571c712bd1333776adb7d5ba18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1591 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhangzheng1205/LinFx",
"max_stars_repo_path": "src/LinFx/Security/Users/ICurrentUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1592"
} | starcoder | using System.Security.Claims;
namespace LinFx.Security.Users
{
public interface ICurrentUser
{
bool IsAuthenticated { get; }
[CanBeNull]
string Id { get; }
[CanBeNull]
string UserName { get; }
[CanBeNull]
string PhoneNumber { get; }
bool Phon... | 1.990125 | 50a11a22cfc3d6f547bbbb075bc9d899 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1592 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "edencakir/AdColony-Unity-Plugin",
"max_stars_repo_path": "Sample/Assets/Scripts/GameController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1593"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameController : MonoBehaviour
{
Asteroid asteroidConfigure;
Asteroid asteroidRequest;
Asteroid asteroidPlay;
AdColony.InterstitialAd Ad = null;
float currencyPopupTimer = 0.0f;
void Start() {
GameOb... | 2.10557 | a1e710b44402af959fc9166db32d0442 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1593 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YuliiaKovalova/winforms",
"max_stars_repo_path": "src/System.Windows.Forms/src/System/Windows/Forms/DrawItemState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1594"
} | starcoder | <reponame>YuliiaKovalova/winforms<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.
// See the LICENSE file in the project root for more information.
using static Interop;
namespace System.Windows.Forms
{
/// <su... | 2.328898 | 0271c193a1728e34d8db005cfea390df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1594 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zbecknell/azure-sdk-for-net",
"max_stars_repo_path": "sdk/mgmtcommon/AppAuthentication/Azure.Services.AppAuthentication/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1595"
} | starcoder | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Microsoft.Azure.Services.AppAuthentication")]
[assembly: AssemblyDescription("Enables a service to authenticate to Azure services using the developer's Azure Active Directory/ Microsoft account during development, and authentica... | 1.423728 | 1db1f35b9d1233a30b6e151f08e6cf05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1595 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "astra-emsg/ASTRA.EMSG",
"max_stars_repo_path": "Master/ASTRA.EMSG.Web/Infrastructure/TestCookieService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1596"
} | starcoder | using System.Collections.Generic;
namespace ASTRA.EMSG.Web.Infrastructure
{
public class TestCookieService : CookieService
{
private Dictionary<string, string> sessionDictionary = new Dictionary<string, string>();
public void ResetCookies()
{
sessionDictionary = new Diction... | 2.260956 | 7530b5464c70851a9867f2b41740a754 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vilksar/NetControl4BioMed",
"max_stars_repo_path": "NetControl4BioMed/Pages/CreatedData/Analyses/Details/Accounts/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1597"
} | starcoder | @namespace NetControl4BioMed.Pages.CreatedData.Analyses.Details.Accounts
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, NetControl4BioMed
| 1.181279 | 0492562c24a02777365e20b1beddf3c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1597 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "ChrisPJohn/SolastaCommunityExpansion",
"max_stars_repo_path": "SolastaCommunityExpansion/Classes/Tinkerer/Subclasses/ArtilleryConstructFlame.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1598"
} | starcoder | using HarmonyLib;
using SolastaCommunityExpansion.Api;
using SolastaCommunityExpansion.Api.Extensions;
using SolastaCommunityExpansion.Builders;
using SolastaCommunityExpansion.Builders.Features;
using UnityEngine.AddressableAssets;
namespace SolastaCommunityExpansion.Classes.Tinkerer.Subclasses;
//******************... | 1.89213 | a755e95a43c620db2efcf931ea732e3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1598 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "A1rPun/ArrowHeadAntiPatternChallenge",
"max_stars_repo_path": "src/Decision.Core/BarTenderService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1599"
} | starcoder | <reponame>A1rPun/ArrowHeadAntiPatternChallenge
using Decision.Core.Specifications;
namespace Decision.Core
{
public class BarTenderService
{
public string ServeDrink(Person person)
{
if (OlderThanEighteen.Satisfied(person))
{
if (GenderIsMale.Satisfied(pe... | 2.661802 | fef7662a6c5482731aaf8e7ea881b2e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1599 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "knight0323/codelibrary",
"max_stars_repo_path": "src/JK.Common.EntityFrameworkCore.SqlServer/Ado/OperationBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1600"
} | starcoder | using System.Data;
namespace JK.Common.EntityFrameworkCore.SqlServer.Ado;
public abstract class OperationBase
{
protected OperationBase(DbContext dbContext)
{
this.Context = dbContext;
}
protected DbContext Context
{
get;
}
protected virtual void SetupParameters(IDbComma... | 2.345488 | de5ac2f7283dfed9e8ac1926889f657a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1600 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SubasishMohapatra/SquirrelDemo",
"max_stars_repo_path": "vendor/nuget/src/VisualStudio/IWindowSettingsManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1601"
} | starcoder | using System.Windows;
namespace NuGet.VisualStudio
{
public interface IWindowSettingsManager
{
Size GetWindowSize(string windowToken);
void SetWindowSize(string windowToken, Size size);
}
} | 1.676049 | 0ff6102101fd380d8d5d97223bade36e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1601 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aouimar/hotchocolate",
"max_stars_repo_path": "src/StrawberryShake/CodeGeneration/src/CodeGeneration.CSharp/SourceDocumentKind.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1602"
} | starcoder | <reponame>aouimar/hotchocolate
namespace StrawberryShake.CodeGeneration.CSharp
{
public enum SourceDocumentKind
{
CSharp,
GraphQL
}
}
| 0.968201 | 9540b65d478457748725d5fdb96449f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1602 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gandjurov/OOP-Basic-CSharp",
"max_stars_repo_path": "06.Workshop-Snake/ConsoleSnakeV2/SimpleSnake/GameObjects/Wall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1603"
} | starcoder | //using System;
//using System.Collections.Generic;
//using System.Text;
//namespace SimpleSnake.GameObjects
//{
// public class Wall : Point
// {
// private const char wallSymbol = '\u25A0';
// private int playerPoints;
// public Wall(int leftX, int topY)
// : ba... | 3.30428 | 382378c9d20403fed298195dcddf2249 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1603 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "freddycoder/message-builder-dotnet",
"max_stars_repo_path": "message-builder-release-v02_r02/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2007_v02_r02/Pharmacy/Porx_mt010120ca/Prescription.cs",
"provenance": "train-00000-of-00045.jsonl.... | starcoder | /**
* Copyright 2015 Canada Health Infoway, Inc.
*
* 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 required by... | 1.339236 | 27f9c4bb82b4e615eb95ef1d441c4c12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mayapeneva/C-Sharp-Advanced",
"max_stars_repo_path": "02.SetsAndDictionaries/EXER_LegendaryFarming/LegFarming.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1605"
} | starcoder | <reponame>mayapeneva/C-Sharp-Advanced
using System;
using System.Collections.Generic;
using System.Linq;
public class LegFarming
{
public static void Main()
{
var keyMaterials = new Dictionary<string, int>();
keyMaterials.Add("shards", 0);
keyMaterials.Add("fragments", 0);
keyM... | 3.554587 | 7b4c964ccecc98ebf62b70aa09d708b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1605 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "semihokur/pattern-matching-csharp",
"max_stars_repo_path": "Src/Compilers/CSharp/Test/Emit/Emit/DeterministicTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1606"
} | starcoder | <reponame>semihokur/pattern-matching-csharp
using Microsoft.CodeAnalysis.Test.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Threading;
using Xunit;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Roslyn.Test.Uti... | 2.045499 | 32889819a701c27f5402f684e8a93396 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1606 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elindanielsson/AspNetCore.Metrics",
"max_stars_repo_path": "src/Kralizek.AspNetCore.Metrics/Middlewares/AspNetCoreMetricCollectorMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1607"
} | starcoder | <filename>src/Kralizek.AspNetCore.Metrics/Middlewares/AspNetCoreMetricCollectorMiddleware.cs
using Kralizek.AspNetCore.Metrics.Util;
using Kralizek.AspNetCore.Metrics.Values;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diagnostics;
u... | 2.326783 | 1da23b1568f29334d99ad9f311c05b08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1607 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DavidMoore/Foundation",
"max_stars_repo_path": "Tests/UnitTests/Foundation.Tests/Services/ServiceManagerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1608"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Reflection;
using Foundation.Services;
using Foundation.Services.Unity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Foundation.Tests.Services
{
[TestClass]
public class ServiceManagerTests
{
[TestInitialize]... | 2.332665 | 11b9101075a89f37f8e304fb8dd49a01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1608 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Weflac/nodejstools",
"max_stars_repo_path": "Common/Tests/MockVsTests/CachedVsInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1609"
} | starcoder | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | 2.139229 | 1a4fcd0ec188cba2da83e9c851e913a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1609 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kobi2294/MvvmKit",
"max_stars_repo_path": "Demos/ConsoleDemo/Samples/Dynamic/Dynamic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1610"
} | starcoder | <filename>Demos/ConsoleDemo/Samples/Dynamic/Dynamic.cs
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleDemo.Samples.Dynamic
{
public class Dynamic: DynamicObject
{
public override bool TryGetMemb... | 2.469084 | 3f68b14805e2db42cfcde82102b7490a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1610 | {
"extension": "c-sharp",
"max_stars_count": "17923.0",
"max_stars_repo_name": "ffMathy/roslyn",
"max_stars_repo_path": "src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1611"
} | starcoder | <filename>src/Tools/Source/CompilerGeneratorTools/Source/BoundTreeGenerator/Program.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.
#nullable disable
using Sys... | 2.753094 | 281c9ef3d05cce992f95b90f7176a001 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Job.BlockchainTransferExecutor",
"max_stars_repo_path": "src/Lykke.Job.BlockchainOperationsExecutor/Workflow/Commands/TransactionExecution/WaitForTransactionEndingCommand.cs",
"provenance": "train-00000-of-00045.jsonl.... | starcoder | <reponame>LykkeCity/Lykke.Job.BlockchainTransferExecutor<filename>src/Lykke.Job.BlockchainOperationsExecutor/Workflow/Commands/TransactionExecution/WaitForTransactionEndingCommand.cs
using System;
using Lykke.Job.BlockchainOperationsExecutor.Contract;
using MessagePack;
namespace Lykke.Job.BlockchainOperationsExecuto... | 1.491657 | 3831ee3c9d5613f77717f6015b4c95ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RoverCore/Navigation",
"max_stars_repo_path": "RoverCore.Navigation/Views/Shared/Components/Navbar/NavbarViewComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1613"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Mvc;
using RoverCore.Navigation.Services;
namespace RoverCore.Navigation.Views.Shared.Components.Navbar;
public class NavbarViewComponent : ViewComponent
{
private NavigationService _navigationService { get; set; }
public NavbarViewComponent(NavigationService navigatio... | 1.668787 | c0a8819123eb749a78f226bf8dcc3f96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1613 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "baby0112u/TZB",
"max_stars_repo_path": "src/TZB.Admin.Web/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1614"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TZB.Dto;
using TZB.Framework;
namespace TZB.Admin.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
... | 1.753214 | 306404d9486cdaf946f9b91a5ede962f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vengeancee/DMI",
"max_stars_repo_path": "test/Microsoft.AspNetCore.Mvc.Core.Test/Authorization/AuthorizeFilterTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1615"
} | 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.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.A... | 1.768704 | 7834bc1e3d2a5725bc320caee34e2eb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1615 | {
"extension": "c-sharp",
"max_stars_count": "444.0",
"max_stars_repo_name": "OtherOceanInteractive/com.unity.netcode.gameobjects",
"max_stars_repo_path": "com.unity.netcode.gameobjects/Runtime/Metrics/INetworkMetrics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1616"
} | starcoder | using System.Collections.Generic;
namespace Unity.Netcode
{
internal interface INetworkMetrics
{
void SetConnectionId(ulong connectionId);
void TrackTransportBytesSent(long bytesCount);
void TrackTransportBytesReceived(long bytesCount);
void TrackNetworkMessageSent(ulong rece... | 1.499355 | d0b2525b71699f7fc7e0c1abf09fc6a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarianHristov92/Service-Prototype",
"max_stars_repo_path": "DataServicePrototype/ShowCases/Settings/SettingsShowCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1617"
} | starcoder | <reponame>MarianHristov92/Service-Prototype
// ///-----------------------------------------------------------------
// /// Class: SettingsShowCase
// /// Description: <Description>
// /// Author: <NAME> Date: 05.10.2016
// /// Notes: <Notes>
// /// Revisio... | 2.365314 | c429aa85269b1fb82762fa46e813127b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1617 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "mcraiha/json5-dotnet",
"max_stars_repo_path": "Json5/Json5String.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1618"
} | starcoder | <reponame>mcraiha/json5-dotnet<gh_stars>10-100
namespace Json5
{
public class Json5String : Json5Primitive
{
private string value;
public Json5String(string value)
{
this.value = value;
}
public Json5String(char[] value) : this(new string(value)) { }
... | 2.787643 | 6c7121d0702c4ef85ba69b0ea2d55631 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1618 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "zpublic/cozy",
"max_stars_repo_path": "src/Practice/CozyBlog/Views/Category/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1619"
} | starcoder | <reponame>zpublic/cozy
@{
ViewBag.Title = "Category";
}
<br />
<h2>List of Existing Categories</h2>
<table>
<tr>
<th></th>
<th>
CategoryId
</th>
<th>
CategoryName
</th>
</tr>
@foreach (var item in Model)
{
<tr>
<td>
... | 2.152591 | 9f25b59f1f723134c837b26beba9fa1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/CallofCthulhuCults",
"max_stars_repo_path": "Source/CultOfCthulhu/NewSystems/Interactions/InteractionWorker_SpreadInsanityFailure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1620"
} | starcoder | <reponame>emipa606/CallofCthulhuCults
using RimWorld;
using UnityEngine;
using Verse;
namespace CultOfCthulhu
{
// <summary>
// Hawtcrab insanity spread social interaction mechanic
// Pawn encounters Strange Thing ==> Aquires insanity ==> Talks to other Pawn
//
// Then either:
// Reacts positi... | 2.549401 | 6732d01cced29f90ab19603a23284dfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1620 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zrusev/SoftwareUniversity2016",
"max_stars_repo_path": "18. Data structures - Dec 2018/09. B-Trees and Red-Black Trees/Red-Black Trees/RedBlackTree.Tests/TimeTests/InsertFourth.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1621"
} | starcoder | namespace RedBlackTree.Tests.TimeTests
{
using NUnit.Framework;
[TestFixture]
class InsertFourth
{
[Test]
[Timeout(500)]
public void Insert_MultipleElements_ShouldBeFast()
{
RedBlackTree<int> rbt = new RedBlackTree<int>();
for (int i = 0; i < 10... | 2.815292 | 09c0592cf4b18b673a5a830add256b06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1621 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "sisisin/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/AccessContextManager/Inputs/ServicePerimeterSpecIngressPolicyArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1622"
} | starcoder | <filename>sdk/dotnet/AccessContextManager/Inputs/ServicePerimeterSpecIngressPolicyArgs.cs
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using Syst... | 1.541008 | 024f4df0cdcccc6f6dc8d90ee735f1c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "random-ru/vault",
"max_stars_repo_path": "controllers/VaultController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1623"
} | starcoder | using Google.Cloud.Firestore;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
namespace vault.Controllers;
// if not exist http header 'refer' or 'refer' not equal 'https://random-ru.cloudflareaccess.com/'
[ApiController]
public class VaultController : ControllerBase
{
private readonly ILogger<Vault... | 2.433952 | 7750567808512afb5638cae534a001a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SchoolMasterNL/couchbase-net-client",
"max_stars_repo_path": "Src/Couchbase/Views/ISpatialViewQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1624"
} | starcoder |
using System.Collections.Generic;
using Couchbase.Core;
namespace Couchbase.Views
{
/// <summary>
/// An interface for Spatial view request which provide multidimensional spatial indexes in Couchbase.
/// </summary>
public interface ISpatialViewQuery : IViewQueryable
{
/// <summary>
... | 2.539096 | 6a3eb09ce00ef4fff0b7e8c7621f2b16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1624 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fawdlstty/PureIM",
"max_stars_repo_path": "PureIM/DataModel/tb_ImPrivateMsgStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1625"
} | starcoder | using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PureIM.DataModel {
[Index ("uk_{tablename}", "YearMonth,SenderUserId,RecverUserId", IsUnique = true)]
public class tb_ImPrivateMsgStatus {
[Column (IsIdentit... | 1.993144 | 6930550df3c3068d0eaadc31315406b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1625 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "chaeschpi/cloudstack.net",
"max_stars_repo_path": "src/CloudStack.Net/Generated/AddBigSwitchBcfDevice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1626"
} | starcoder | <reponame>chaeschpi/cloudstack.net<filename>src/CloudStack.Net/Generated/AddBigSwitchBcfDevice.cs
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class AddBigSwitchBcfDeviceRequest : APIRequ... | 2.130352 | e4f1c180bb9616bf97f6780955332fe0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sumanchakrabarti/teamcowboy-api",
"max_stars_repo_path": "TeamCowboy.Api/Models/TestResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1627"
} | starcoder | <filename>TeamCowboy.Api/Models/TestResponse.cs<gh_stars>0
using Newtonsoft.Json;
namespace TeamCowboy.Api.Models
{
public class TestResponse
{
[JsonProperty("helloWorld")]
public string HelloWorld { get; set; }
}
}
| 1.967708 | 8d149a33e0f8c46d9773e855ac5a2749 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SirCxyrtyx/ME2-4x-Faster-Loading-Screens",
"max_stars_repo_path": "ME2 4x Faster Loading Screens/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1628"
} | starcoder | namespace ME2_4x_Faster_Loading_Screens
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.217491 | e6c551c3684bc87ce07b7c6d246ae47d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1628 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "aferin/Tizen-CSharp-Samples",
"max_stars_repo_path": "TV/Xamarin.Forms/MimeTypeConverter/src/MimeTypeConverter/MimeTypeConverter.Tizen.TV/Views/PageNavigation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1629"
} | starcoder | /*
* Copyright 2018 Samsung Electronics Co., Ltd. All rights reserved.
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license
*
* Unless required by appli... | 1.832503 | 350cb61a4d8ff8a2adf8dd6b0fc3a3f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafaeldalsenter/web-api-cars",
"max_stars_repo_path": "WebApiCars.Application/Repositories/AutoMakerRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1630"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using WebApiCars.CrossCutting;
using WebApiCars.CrossCutting.Dtos;
using WebApiCars.CrossCutting.Extensions;
namespace WebApiCars.Application.Repositories
{
public class AutoMakerRepository : IAutoMakerRepository
{
private readonly Web... | 2.710074 | fcdc0da9c6257de44ff02cfcfc01bdc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boolemancer/Bufdio",
"max_stars_repo_path": "src/Bufdio/Processors/SampleProcessorBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1631"
} | starcoder | <gh_stars>0
namespace Bufdio.Processors
{
/// <summary>
/// Provides basic implementation of <see cref="ISampleProcessor"/> interface.
/// <para>Implements: <see cref="ISampleProcessor"/>.</para>
/// </summary>
public abstract class SampleProcessorBase : ISampleProcessor
{
/// <summary>... | 2.459763 | 60de70d48bbdf517af08a776cca91284 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GittyMac/Zipper",
"max_stars_repo_path": "Zipper/MainForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1632"
} | starcoder | namespace Zipper
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param na... | 2.127361 | 599a4e8c36ccfe2da08944cbf8e4fe63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1632 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iacabezasbaculima/CSharp",
"max_stars_repo_path": "Delegates_Events_Generis_Lambda/Lambda/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1633"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lambda
{
class Program
{
static void Main(string[] args)
{
Lambda lb = new Lambda();
}
}
class Lambda
{
public int x;
public int y;
public int z;
public int result;
F... | 3.549695 | 8d01845df6ea6ace35a536fd37c6d282 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "doodz/visualstudio-docs.fr-fr",
"max_stars_repo_path": "docs/misc/codesnippet/CSharp/walkthrough-displaying-smarttags_16.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1634"
} | starcoder | internal class LowerCaseSmartTagAction : ISmartTagAction | 1.023722 | bc086632c732a6c7348305064e9e99ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1634 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "msajidirfan/cloud-services-to-service-fabric",
"max_stars_repo_path": "servicefabric/Tailspin/Tailspin.Web/Controllers/SurveysController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1635"
} | starcoder | namespace Tailspin.Web.Controllers
{
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.WindowsAzure.Storage;
using Newtonsoft.Json;
using Tailspin.Web.Models;
using Tailspin.... | 2.028063 | 04febbd78842bbf9e45d9038f1f79f09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "copelandlanier/schedulync",
"max_stars_repo_path": "schedulync/Day_Control.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1636"
} | starcoder | <filename>schedulync/Day_Control.Designer.cs
namespace Calendar_NEW
{
partial class Day_Control
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources ... | 2.16572 | 26e3a77ce2106ba8a1ebe7ea77780d6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1636 | {
"extension": "c-sharp",
"max_stars_count": "191.0",
"max_stars_repo_name": "raindigi/Merchello",
"max_stars_repo_path": "src/Merchello.Web.Store/Controllers/Api/ProductDataTableApiController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1637"
} | starcoder | <reponame>raindigi/Merchello<gh_stars>100-1000
namespace Merchello.Web.Store.Controllers.Api
{
using Merchello.Web.Controllers.Api;
using Merchello.Web.Models.Ui;
using Merchello.Web.Store.Models;
using Umbraco.Web.Mvc;
/// <summary>
/// An API controller responsible for handling <see cref="P... | 1.46953 | 9576259a7917f38aeb6c8c616d8714aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1637 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DeltixInc/Luminary",
"max_stars_repo_path": "csharp/main/ClassPropertyDef.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1638"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using JetBrains.Annotations;
namespace Deltix.Luminary
{
public sealed class ClassPropertyDef : PropertyDef<ClassDef>
{
public ClassPropertyDef([NotNull] ClassDef classDef, [NotNull] String name, [NotNull] Type type, [CanBeNull] Literal @defau... | 2.792327 | b1f51cfc3b913ccac5f7feb36be71c2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1638 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MaxHOHO/LYProjectApi",
"max_stars_repo_path": "LYProjectApi.Extensions/ServiceExtensions/Authentication_JWTSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1639"
} | starcoder | using LYProjectApi.AuthHelper;
using LYProjectApi.Common;
using LYProjectApi.Common.AppConfig;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using System;
using System.IdentityModel.T... | 2.225962 | abeca85b9a1252145ab8415a65677eec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1639 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "glenringer/async-enumerable-dotnet",
"max_stars_repo_path": "async-enumerable-dotnet-test/ListComparer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1640"
} | starcoder | // Copyright (c) <NAME> & Contributors.
// Licensed under the Apache 2.0 License.
// See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Linq;
namespace async_enumerable_dotnet_test
{
internal sealed class ListComparer<T> : IEqualityComparer<IList<T>>
... | 2.77248 | 1441c36ad1b806f1c83024f69c3e93b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1640 | {
"extension": "c-sharp",
"max_stars_count": "1198.0",
"max_stars_repo_name": "Timmaaaa/SpotifyAPI-NET",
"max_stars_repo_path": "SpotifyAPI.Web/Models/Request/FollowRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1641"
} | starcoder | <reponame>Timmaaaa/SpotifyAPI-NET
using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class FollowRequest : RequestParams
{
/// <summary>
///
/// </summary>
/// <param name="type">The ID type: either artist or user.</param>
/// <param name="ids">
/// A comma-separated list o... | 2.270972 | ca5ae44cf6fc1dd8fe7591ba19917451 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1641 | {
"extension": "c-sharp",
"max_stars_count": "333.0",
"max_stars_repo_name": "wu695983578/ET",
"max_stars_repo_path": "Unity/Assets/ThirdParty/MongoDB/MongoDB.Bson/Serialization/Attributes/BsonKnownTypesAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1642"
} | starcoder | <reponame>wu695983578/ET
/* Copyright 2010-present MongoDB Inc.
*
* 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 required by applicab... | 2.36219 | 34b76a586bdff5e7b8ce8c2767f3588a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Caracal-IT/pay-station",
"max_stars_repo_path": "src/Source/Caracal.PayStation.Application/UseCases/Withdrawals/Export/ExportUseCase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1643"
} | starcoder | <filename>src/Source/Caracal.PayStation.Application/UseCases/Withdrawals/Export/ExportUseCase.cs
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Caracal.Framework.Data;
using Caracal.Framework.UseCases;
using Caracal.PayStation.Payments;
using Caracal.Framework.Xml;
usin... | 2.321202 | 4f200a0253485fc4311725a64d2a9008 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1643 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mdavid/nuxleus",
"max_stars_repo_path": "src/external/superwebsocket/mainline/SuperWebSocket/Protocol/FramePartReader/ExtendedLenghtReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1644"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SuperWebSocket.Protocol.FramePartReader
{
class ExtendedLenghtReader : DataFramePartReader
{
public override int Process(int lastLength, WebSocketDataFrame frame, out IDataFramePartReader nextPartR... | 2.449086 | 9eaa4cae2c9dc0a850abc179d1a4a908 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmsmech/HaleyLog",
"max_stars_repo_path": "HaleyLog/Writers/JsonLogWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1645"
} | starcoder | <filename>HaleyLog/Writers/JsonLogWriter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml.Linq;
using Haley.Abstractions;
using Haley.Models;
using System.Diagnostics.CodeAnalysis;
using System.Security.Cryptography... | 2.623133 | 730b93fb87fe9814e905211dfad8b5f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1645 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jrharmon/roslyn",
"max_stars_repo_path": "src/Compilers/CSharp/Test/Emit/Attributes/AttributeTests_Locations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1646"
} | starcoder | <filename>src/Compilers/CSharp/Test/Emit/Attributes/AttributeTests_Locations.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSh... | 2.089014 | 56903babc11c1e4065ff6e473f49ccdd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michel-pi/muzlan-dl",
"max_stars_repo_path": "src/Muzlan.Cli/Proxies/ProxyList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1647"
} | starcoder | <reponame>michel-pi/muzlan-dl
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Muzlan.Cli.Proxies
{
public class ProxyList
{
private int _currentProxyIndex;
public IReadOnlyList<Proxy> Proxies {... | 2.912282 | 567b2909adbcb3c3269d63b6854f4feb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1647 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riedmank/Data-Structures-and-Algorithms",
"max_stars_repo_path": "Data-Structures/LinkedList/LinkedList/Classes/Node.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1648"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace LinkedList.Classes
{
public class Node
{
public object Key { get; set; }
public object Value { get; set; }
public Node Next { get; set; }
public Node(object key, object value)
{
Ke... | 2.813648 | 5e44346baa851104b52e838a891df4a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1648 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.ServiceModel/System/ServiceModel/TimeSpanHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1649"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel
{
using System;
using System.Runtime;
using System.Globa... | 2.633459 | dd5a6de59c58c2d7f7df7af401fe0797 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1393 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexlvovich/getcms",
"max_stars_repo_path": "samples/GetCms.Samples.WebApp/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:1394"
} | starcoder | @using GetCms.Samples.WebApp
@using GetCms.Samples.WebApp.Models
@using GetCms.Samples.WebApp.Models.ViewModel
@using GetCms.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.462029 | 512241058b211ae684d943486dea5bea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1394 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "tstephansen/MaterialColorWheelDemo",
"max_stars_repo_path": "MaterialDesignAddon/Controls/MaterialStatusBar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1395"
} | starcoder | <reponame>tstephansen/MaterialColorWheelDemo<gh_stars>10-100
using System.Windows;
using System.Windows.Controls;
namespace MaterialDesignAddon.Controls
{
public class MaterialStatusBar : ContentControl
{
static MaterialStatusBar()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(... | 1.776867 | 81db1d960524e99b00aba529539d9e53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1395 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "CreepysinProjects/Pootis-Bot",
"max_stars_repo_path": "src/Modules/Pootis-Bot.Module.RPermissions/RPermissionsConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1396"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Pootis_Bot.Config;
using Pootis_Bot.Module.RPermissions.Entities;
namespace Pootis_Bot.Module.RPermissions;
/// <summary>
/// Config for RPermissions
/// </summary>
public class RPermissionsConfig : Config<RPermissionsConfig>
{
public List<RPermissio... | 2.736937 | af6d37fcb9d83e814939a4332c8f1f65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorisSchetz/DivinityModManager",
"max_stars_repo_path": "DivinityModManagerCore/Models/DivinityPathwayData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1397"
} | starcoder | using Alphaleonis.Win32.Filesystem;
using DivinityModManager.Extensions;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DivinityModManager.Models
{
public class DivinityPathwayData : ReactiveObject
{
private string in... | 1.957216 | 9bccd83922f003e303d14bcc9a46c20b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1397 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MistakenIdentity/WillPower",
"max_stars_repo_path": "FileParser/WillPower.IO.FileParser/Interface/IFileParserEncoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1398"
} | starcoder | <reponame>MistakenIdentity/WillPower
//
// ********************************************************************************************************
// ********************************************************************************************************
// *** ... | 2.055544 | 1565920346f2e3c954a10793749129c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HelioFlux/Heliosphere",
"max_stars_repo_path": "src/services/traceability/HFX.Traceability.Providers/IOperationActionProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1399"
} | starcoder | <reponame>HelioFlux/Heliosphere
using HFX.Traceability.Contracts;
using System;
using System.Collections.Generic;
namespace HFX.Traceability.Providers
{
public interface IOperationActionProvider
{
IDictionary<string, IOperationAction> GetOperationActions();
IEnumerable<string> GetNames();
... | 1.244897 | 8462f029aa1e227985e596af2b3dd5d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SergeyPalamarchuk/indy-sdk",
"max_stars_repo_path": "wrappers/dotnet/indy-sdk-dotnet-test/AgentTests/AgentParseMsgTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1400"
} | starcoder | <reponame>SergeyPalamarchuk/indy-sdk
using Hyperledger.Indy.AgentApi;
using Hyperledger.Indy.CryptoApi;
using Hyperledger.Indy.SignusApi;
using Hyperledger.Indy.WalletApi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hyperledger.Indy... | 1.648361 | daa87fca896502157da3d23b1cb76f0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CryptoCyberCid/miningcore",
"max_stars_repo_path": "src/Miningcore/Crypto/Hashing/Equihash/EquihashSolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1401"
} | starcoder | /*
Copyright 2017 Coin Foundry (coinfoundry.org)
Authors: <NAME> (<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... | 2.191851 | 094f4185273166e5744a522915e338dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TomMalow/atc",
"max_stars_repo_path": "src/Atc.Rest/Results/ResultBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1402"
} | starcoder | <reponame>TomMalow/atc<gh_stars>0
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Mvc;
namespace Atc.Rest.Results
{
/// <summary>
/// ResultBase.
/// </summary>
public abstract class ResultBase
{
private readonly ActionResult result;
protected Resul... | 2.253629 | df015e561a300b07efb21fea5728527c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "janissimsons/EntityFramework-Reverse-POCO-Code-First-Generator",
"max_stars_repo_path": "Tester.Integration.EfCore5/EfrpgTestData/Configuration/FFRS_CvConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1403"
} | starcoder | // <auto-generated>
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace V5EfrpgTest
{
// CV
public class FFRS_CvConfiguration : IEntityTypeConfiguration<FFRS_Cv>
{
public void Configure(E... | 1.776825 | f8aea712f46a313425b29a6e4c17b1db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SwageliciousGGJ/YourMom2.0",
"max_stars_repo_path": "Assets/ParadoxNotion/CanvasCore/Framework/Runtime/Tasks/ConditionTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1404"
} | starcoder | using System;
using System.Collections;
using ParadoxNotion.Serialization;
using ParadoxNotion.Serialization.FullSerializer;
using NodeCanvas.Framework.Internal;
using UnityEngine;
namespace NodeCanvas.Framework
{
///Base class for Conditions. Conditions dont span multiple frames like actions and ret... | 2.310376 | 68d2c5650d75b2d0c8eb8590b997f2eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StolenRuby/coolproxy",
"max_stars_repo_path": "Plugins/CoolProxy.Plugins.MagicRez/MagicRezForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1405"
} | starcoder | <filename>Plugins/CoolProxy.Plugins.MagicRez/MagicRezForm.Designer.cs
namespace CoolProxy.Plugins.MagicRez
{
partial class MagicRezForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summa... | 1.804842 | 235ce5d4540466359f81ac2f168dc7af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmijieux/FFImageLoading",
"max_stars_repo_path": "source/FFImageLoading.Mock/Mock/MockDecoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1406"
} | starcoder | <reponame>tmijieux/FFImageLoading
using System.IO;
using System.Threading.Tasks;
using FFImageLoading.Mock;
using FFImageLoading.Work;
namespace FFImageLoading.Decoders
{
public class MockDecoder : IDecoder<MockBitmap>
{
public Task<IDecodedImage<MockBitmap>> DecodeAsync(Stream stream, string path, ImageSource so... | 1.892876 | 403471bd458cfc9e87ca6758c3b5c40a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1406 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tmat/arcade",
"max_stars_repo_path": "src/Microsoft.DotNet.ApiCompat/Rules/Compat/CannotMakeMoreVisible.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1407"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Cci.Extensions;
using Microsoft.Cci.Writers.CSharp;
namespace Microsoft.Cci.Differs.Rules
{
// ... | 2.350351 | 6bafdfdee4b7455788d659d69e636ccb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1407 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "volovely/ios-samples",
"max_stars_repo_path": "HelloComponents/Components/alert-center-1.0.6/samples/AlertCenter.IOS.Sample/AlertCenter.IOS.SampleViewController.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1408"
} | starcoder | <reponame>volovely/ios-samples
// WARNING
//
// This file has been generated automatically by Xamarin Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using System.CodeDom.C... | 0.967985 | 645d284e6920324e26cd94d310f2ded7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 1408 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "18142552937/Adnc",
"max_stars_repo_path": "src/ServerApi/Infrastructures/Adnc.Infra.Consul/Consumer/ConsulDiscoverDelegatingHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:1409"
} | starcoder | <reponame>18142552937/Adnc
using System;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Caching.Memory;
using Consul;
using System.Text;
namespace Adnc.Infra.Consul.Consumer
{
public class ConsulDiscoverDele... | 2.088438 | 0866733fb0ab15694e5acb3d18159934 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.