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 | 8848812 | {
"extension": "c-sharp",
"max_stars_count": "97.0",
"max_stars_repo_name": "luoyunchong/dotnetcore-example",
"max_stars_repo_path": "blazor/BlazorCookieAuth/BlazorCookieAuth/Data/TestContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168032"
} | starcoder | // <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace TestDB.Data.Test
{
public partial class TestContext : DbContext
{
public TestContext()
{
... | 1.890417 | eeea5a7e34cf830a7568f903fb3b7bb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HackproTm/LocatorsPerformance",
"max_stars_repo_path": "LocatorsPerformance/RestClient/APIRestClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168033"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Hackpro.LocatorsPerformance.RestClient
{
[ExcludeFromCodeCoverage]
public cla... | 2.693945 | 3ab2759eb413072c4d634c972ebcc067 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matarillo/LanguageServerProtocol-Proto",
"max_stars_repo_path": "LSP/LanguageServer/Parameters/General/InitializeParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168034"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace LanguageServer.Parameters.General
{
public class InitializeParams
{
public int? processId { get; set; }
public Uri rootUri { get; set; }
public dynamic initializationOptions { get; set; }
... | 1.671764 | 45d955cdbc997937427bf51cfc1a2b26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alvaroDantas/EstudosC-",
"max_stars_repo_path": "efcoremysql/Models/Musica.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168035"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace efcoremysql.Models
{
public class Musica
{
public long Id { get; set; }
public string Nome { get; set; }
public virtual Album Album { get; set; }
}
}
| 1.865996 | ad14ab1aff5a81ddc90ab363fc1745f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848816 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/Engine/Texture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168036"
} | starcoder | <gh_stars>1-10
// 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.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warni... | 1.433843 | b5b58111f224cf2ba95808ea7d399290 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tetra-Pak-APIs/TetraPak.XP",
"max_stars_repo_path": "source/TetraPak.XP.Web.Abstractions/_obs_HttpComparison.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168037"
} | starcoder | using System;
using System.Text.RegularExpressions;
using Microsoft.AspNetCore.Http;
using TetraPak.XP.StringValues;
using TetraPak.XP.Web.Http;
namespace TetraPak.XP.Web.Abstractions
{
/// <summary>
/// A string compatible (criteria) expression for use with HTTP requests.
/// </summary>
public cla... | 3.086963 | 88fb08a6ad8f0dd57468420c7464500f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848818 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Administration/Models/ShoppingCart/ShoppingCartItemModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168038"
} | starcoder | using System;
using SmartStore.Web.Framework;
using SmartStore.Web.Framework.Modelling;
namespace SmartStore.Admin.Models.ShoppingCart
{
public class ShoppingCartItemModel : EntityModelBase
{
[SmartResourceDisplayName("Admin.Common.Store")]
public string Store { get; set; }
[SmartResourceDisplayNa... | 1.782346 | b25a6a33ff057df4cae97dd05278785a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848819 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "galassie/fslugify-adapter",
"max_stars_repo_path": "src/FSlugify.Adapter/SlugGeneratorObj.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168039"
} | starcoder | using static FSlugify.SlugGenerator;
namespace FSlugify.Adapter
{
public class SlugGeneratorObj : ISlugGenerator
{
private readonly SlugGeneratorOptions _options;
public SlugGeneratorObj(SlugGeneratorOptions options)
{
_options = options;
}
public string S... | 2.584827 | 287c3c345e30b84f4859be0088f51ad1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrRuulici/Recursivitate2",
"max_stars_repo_path": "Recursivitate2/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168040"
} | starcoder | <filename>Recursivitate2/Program.cs
using System;
namespace Recursivitate2
{
class Program
{
static void Main(string[] args)
{
int[] v = new int[] { 5, 6, 7, 8, 3, 2, 10, 2 };
Console.WriteLine(Recursiv.Maxim(v, v.Length-1, int.MinValue)) ;
}
}
}
| 2.941229 | 92671698482cfc423d2e922fd2f2ed27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848821 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muaddibco/O10city",
"max_stars_repo_path": "Common/O10.Core/DataLayer/DataContextBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168041"
} | starcoder | using System.Threading;
using Microsoft.EntityFrameworkCore;
namespace O10.Core.DataLayer
{
public abstract class DataContextBase : DbContext, IDataContext
{
public abstract string DataProvider { get; }
protected string ConnectionString { get; private set; }
protected ManualResetEvent... | 2.308117 | 38dc52c83b2adea6380fadf1c0a0cad0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848822 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "dkdk-ryu/TizenFX",
"max_stars_repo_path": "test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/internal/Utility/TSCamera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168042"
} | starcoder | using global::System;
using NUnit.Framework;
using NUnit.Framework.TUnit;
using Tizen.NUI.Components;
using Tizen.NUI.BaseComponents;
namespace Tizen.NUI.Devel.Tests
{
using tlog = Tizen.Log;
[TestFixture]
[Description("Internal/Utility/Camera")]
public class InternalCameraTest
{
private ... | 2.338019 | cefb94703277aae8242aceab4957301f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ifshuaishuai/Raknet_Unity",
"max_stars_repo_path": "RakNet/Assets/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168043"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System.Reflection;
#if UNITY_EDITOR
using UnityEditor;
#endif
public static class Utils
{
public static string GetBundlePathForLoadFromFile(string relativePath)
{
#if UNITY_ANDROID &... | 2.366916 | ba62fddcd9be41faa12be52d8cd716b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848824 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "luckymouse0/Redux-Conquer-Online-Server",
"max_stars_repo_path": "Redux/Managers/TeamManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168044"
} | starcoder | <reponame>luckymouse0/Redux-Conquer-Online-Server
using System.Collections.Generic;
using Redux.Game_Server;
namespace Redux.Managers
{
public class TeamManager
{
public Player Leader { get; private set; }
public List<Player> Members { get; private set; }
public bool IsJoinEnabled... | 2.51898 | 390b0a401a4f1a257ac7c0d3921e5f0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848825 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/Core/NetworkSecurityGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168045"
} | starcoder | <reponame>EladGabay/pulumi-oci<filename>sdk/dotnet/Core/NetworkSecurityGroup.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 System.Collect... | 1.863279 | f07d8ea14d52fd337dce4ec8ca2b4903 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848826 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "IvelinMarinov/SoftUni",
"max_stars_repo_path": "02. Programming Fundamentals - Jan2017/06. Dictionaries, Lambda, LINQ - Exercise/05. Hands of Cards/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168046"
} | starcoder | <filename>02. Programming Fundamentals - Jan2017/06. Dictionaries, Lambda, LINQ - Exercise/05. Hands of Cards/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace _05.Hands_of_Cards
{
public class Program
{
public static void Main()
{
var input = ... | 3.789528 | 22c9707890615a48dc2a68d12a928504 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848827 | {
"extension": "c-sharp",
"max_stars_count": "678.0",
"max_stars_repo_name": "liorss18/Metrics.NET",
"max_stars_repo_path": "Src/Metrics.Tests/Endpoints/TestMetricsEndpointHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168047"
} | starcoder | <filename>Src/Metrics.Tests/Endpoints/TestMetricsEndpointHandler.cs
using System.Collections.Generic;
using Metrics.Endpoints;
namespace Metrics.Tests.Endpoints
{
internal class TestMetricsEndpointHandler : AbstractMetricsEndpointHandler<object>
{
public TestMetricsEndpointHandler(IEnumerable<MetricsE... | 1.655471 | ee13cccefc716e5ac4af59c25f7d6125 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848828 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "dongshengfengniaowu/ShoppingWebCrawler",
"max_stars_repo_path": "SocketLibrary/NTCPMSG/EntityPackage/YouhuiquanExistsModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168048"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace NTCPMessage.EntityPackage
{
/// <summary>
/// 优惠券实体是否存在模型
/// </summary>
public class YouhuiquanExistsModel
{
/// <summary>
... | 1.848511 | 781bddfbf87bf2653bd67548e4896807 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/Wafv2WebAclRuleStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168049"... | starcoder | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments")]
public class Wafv2WebAclRuleStatementRegexPatternSetReferenceStatementFieldToMatchAllQueryArguments : ... | 1.282995 | 7ecfdb157eeec53411e55af4f1ece621 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848830 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Brankovanov/SoftUniCourses",
"max_stars_repo_path": "5.OOPAdvanced/02_Generics/Exercise_03_Tuple/Tuple.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168050"
} | starcoder | using System;
using System.Collections.Generic;
namespace Exercise_03_Tuple
{
//Creates tuples and treeuples.
public class Tuple<T>
{
private List<Tuple<T,T>> tupleList= new List<Tuple<T,T>>();
private List<Tuple<T, T, T>> treeupleList = new List<Tuple<T, T, T>>();
public List<Tup... | 3.394238 | 9c95064a13e5b476c66004217af0a38e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848831 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Amiron49/Aris.Moe.Ocr.Translation.Overlay",
"max_stars_repo_path": "Aris.Moe.Overlay/WindowsNativeHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168051"
} | starcoder | /*
Copyright 2020 https://github.com/zaafar/ClickableTransparentOverlay
Originally licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
... | 2.379734 | 4768960d85d4300054edac29c4e74032 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "calbonaler/SortingSample",
"max_stars_repo_path": "SortingSample/Views/SortViewer.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168052"
} | starcoder | <filename>SortingSample/Views/SortViewer.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.W... | 2.454573 | 674214e007343e8ac9c7d840070cd71d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JerryMouseLi/AsyncPattern",
"max_stars_repo_path": "EAP/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168053"
} | starcoder | using System;
using System.Net;
namespace EAP
{
class Program
{
static void Main(string[] args)
{
WebClient wc = new WebClient();
wc.DownloadStringCompleted += Wc_DownloadStringCompleted;
wc.DownloadStringAsync(new Uri("http://www.baidu.com"));
C... | 2.993103 | 1904e54e910cb1db0aace24508ad286d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "one-land/framework",
"max_stars_repo_path": "api/OneF.Restable.APITest/Core/OneFApiHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168054"
} | starcoder | <reponame>one-land/framework<filename>api/OneF.Restable.APITest/Core/OneFApiHelper.cs
// Copyright 2021 Maple512 and Contributors
//
// 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
//
// ... | 1.756875 | 6473fd5d745d69951b35fef63b94ef9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848835 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "talhakoylu/ReCapProject",
"max_stars_repo_path": "ReCapProject/DataAccess/Concrete/InMemory/InMemoryCarDal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168055"
} | starcoder | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using DataAccess.Abstract;
//using Entities.Concrete;
//namespace DataAccess.Concrete.InMemory
//{
// public class InMemoryCarDal : ICarDal
// {
// private List<Car> cars;
// public InMemoryCarDal()
//... | 2.972585 | 8d6d62deee4e4d3b2393c2776d854d18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yanshan24/CSharpBasics",
"max_stars_repo_path": "inheritance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168056"
} | starcoder | using System;
namespace InheritanceApplication
{
class Shape
{
public void setWidth(int w)
{
width = w;
}
public void setHeight(int h)
{
height = h;
}
protected int width;
protected int height;
}
// 基类 PaintCost
public interface PaintCost... | 3.686374 | ae87a042364319d68d78963bf96c6a3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848837 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Appercode/Appercode.UIFramework",
"max_stars_repo_path": "Controls/NativeControl/Wrapers/WrapedEditText.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168057"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace Appercode.UI.Controls.NativeControl.Wrapers
{
public class WrapedEditText : Ed... | 2.034304 | cd04bbf2bb03ae51d94748cedba2b879 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Juicern/HealthCheckIn",
"max_stars_repo_path": "CheckInHelper/辅助类/DataBaseHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168058"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CheckInHelper
{
public class DataBaseHelper
{
//需加上MultipleActiveResultSets=true,否则会因系统中有多个command而报错
private const string strConn = @"serv... | 2.96326 | 26098948e0ef576e222b8eb25f92a63c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848839 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ananace/SE-LogicSequencer",
"max_stars_repo_path": "Data/Scripts/LogicSequencer/RichHudFramework/Shared/UI/HUD/HudElements/ClickableHudElements/SelectionBoxes/TreeList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168059"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using VRageMath;
using VRage;
namespace RichHudFramework.UI
{
using Rendering;
/// <summary>
/// Indented, collapsable list. Designed to fit in with SE UI elements.
/// </summary>
/// <typeparam name="TValue">Value paired wi... | 2.626265 | 748b8089cb8bb0e0a0917e81f028f9ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intensifier/NeoAxisEngine",
"max_stars_repo_path": "Sources/Engine/NeoAxis.Core/MathEx/Ray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168060"
} | starcoder | <filename>Sources/Engine/NeoAxis.Core/MathEx/Ray.cs
// Copyright (C) NeoAxis Group Ltd. 8 Copthall, Roseau Valley, 00152 Commonwealth of Dominica.
using System;
using System.Diagnostics;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace NeoAxis
{
//[TypeConverter( typeof( MathExGeneralTypeC... | 2.873888 | 397bd0adacae6dd2a25024a5624ce45c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noir-neo/mad-explosion-race-game",
"max_stars_repo_path": "Assets/Scripts/GameManagers/SceneReloader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168061"
} | starcoder | <filename>Assets/Scripts/GameManagers/SceneReloader.cs
using System;
using UnityEngine;
using UnityEngine.SceneManagement;
using UniRx;
using Zenject;
namespace GameManagers
{
class SceneReloader : MonoBehaviour
{
[Inject] private IRaceTerminator raceTerminator;
void Start()
{
... | 2.07777 | 5d61922190b3929ec2dac4d9af5755a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "horker/Horker.MXNet",
"max_stars_repo_path": "source/Horker.Numerics/DataMaps/Extensions/MetaNum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168062"
} | starcoder | namespace Horker.Numerics.DataMaps
{
public class MetaNum
{
private double _value;
public MetaNum(double value)
{
_value = value;
}
public static MetaNum operator +(MetaNum self) { return (MetaNum)0; }
public static MetaNum operator -(MetaNum self) ... | 2.805866 | 89b5c09c84dd05d9f760530749b67f7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848843 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "saineshwar/Bugpoint",
"max_stars_repo_path": "BugPoint.Solution/BugPoint.Data/UserMaster/Queries/IUserMasterQueries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168063"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using BugPoint.Model.UserMaster;
using BugPoint.ViewModel.Bugs;
using BugPoint.ViewModel.UserMaster;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace BugPoint.Data.UserMaster.Queries
{
public interface IUserMasterQueries
{
UserMasterModel GetUser... | 1.440714 | 40cd51f9d04084f8e9ee122d034b71fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848844 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "akabekobeko/Owl",
"max_stars_repo_path": "src/Owl/Asf/AsfTags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168064"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Owl.Asf
{
/// <summary>
/// ASF のタグ情報を定義します。
/// </summary>
public static class AsfTags
{
/// <summary>
/// 共通タグ情報から ASF タグ情報を取得します。
/// </summary>
/// <param name="tag">共通タグ情報。</param>
/// <... | 2.599643 | cc767951616b9e8d40a0d7bbaf1b1bb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chandramouleswaran/PSharp",
"max_stars_repo_path": "Source/AddOns/DataFlowAnalysis/DataFlow/DataFlowNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168065"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="DataFlowNode.cs">
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR... | 2.612373 | 8a58ae20c77684429fc2b9f2a1f1dcbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848846 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Roukanken42/Tera-custom-cooldowns",
"max_stars_repo_path": "TCC.Core/UI/Converters/LogoInfoToImageConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168066"
} | starcoder | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using Nostrum.WinAPI;
using TCC.R;
using TeraPacketParser.Messages;
namespace TCC.UI.Converters
{
public class LogoInfoToImageConverter : IValueConverter
{
public object Conve... | 2.099992 | 4a8a94208251827a66c1ced73a84fa2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ilyalatt/Discogs.ApiClient",
"max_stars_repo_path": "src/Discogs.ApiClient/ApiModel/Exceptions/DiscorgsApiNotFoundException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168067"
} | starcoder | <reponame>ilyalatt/Discogs.ApiClient
namespace Discogs.ApiClient.ApiModel.Exceptions
{
public sealed class DiscorgsApiNotFoundException : DiscogsApiException
{
public DiscorgsApiNotFoundException(string apiMessage) : base(apiMessage) { }
}
} | 1.35012 | cb8740f9b15a5a07ec9c7a96d8fe5870 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joeykrakowski/enjin-csharp-sdk",
"max_stars_repo_path": "EnjinCSharpSDK/Schemas/BaseSchema.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168068"
} | starcoder | /* Copyright 2021 Enjin Pte. Ltd.
*
* 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 applicable law or agreed to... | 2.135647 | b18810c668fed96b1357a13fc6f67d3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vamshisonnathi/MVCCommonHelper",
"max_stars_repo_path": "MVCCommonHelper/MVCCommonHelper/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168069"
} | starcoder | using MVCCommonHelper.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVCCommonHelper.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
... | 2.404075 | 4119eed10ca5cd652cc86e8b3a70811a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterfournier/Granite",
"max_stars_repo_path": "samples/MyCars.Data/ApplicationUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168070"
} | starcoder | using GraniteCore;
using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MyCars.Areas.Identity // changed namespace to save myself from fixing all the views in Identity
{
// GraniteCore install
[Table("AspNetUsers")]
... | 2.222164 | 6127b393c9d61b327c77383c2bef9358 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dsisco11/CssUI",
"max_stars_repo_path": "CssUI/HTML/Elements/Base/HTMLElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168071"
} | starcoder | using CssUI.Devices;
using CssUI.DOM;
using CssUI.DOM.Enums;
using CssUI.DOM.Events;
using CssUI.DOM.Exceptions;
using CssUI.DOM.Internal;
using CssUI.DOM.Nodes;
using System;
namespace CssUI.HTML
{
/// <summary>
/// The basic interface, from which all the HTML elements' interfaces inherit, and which must be ... | 2.497009 | ecc6bcf960b4d5dd5e0e969faaae2f5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ethiago/enfile",
"max_stars_repo_path": "src/Core/Interfaces/IFileRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168072"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Enfile.Core.Model;
namespace Enfile.Core.Interfaces
{
public interface IFileRepository
{
Task<File> Get(Guid id);
Task<IEnumerable<File>> Get(string fileName);
Task<IEnumerable<File>> ListOpened();
... | 2.052948 | fda14747616b7547b7b7903c27f6a8fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boncyrus/efcore-crud-xamarin-forms",
"max_stars_repo_path": "CrudLocalDb/CrudLocalDb/Database/AppDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168073"
} | starcoder | <filename>CrudLocalDb/CrudLocalDb/Database/AppDbContext.cs
using CrudLocalDb.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.IO;
namespace CrudLocalDb.Database
{
public class AppDbContext : DbContext
{
public DbSet<Item> Items { get; set; }
public DbSet<Tag> Tags { get;... | 2.880641 | 91e15067af26f7a89c2a25c33bc2d8d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848854 | {
"extension": "c-sharp",
"max_stars_count": "571.0",
"max_stars_repo_name": "duyanming/Viper",
"max_stars_repo_path": "Viper/Hubs/MonitorHub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168074"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
using Anno.EngineData.SysInfo;
using Viper.GetWay.Hubs.Util;
namespace Viper.GetWay.Hubs
{
public class MonitorHub : Hub
{
public MonitorHub(TaskManager taskManager)
... | 2.130261 | 0c9ef949ec6fd619f2382cf0edb11734 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitormoura/game-sgs_lab",
"max_stars_repo_path": "src/SGS/SGS/Components/Enemies/CannonEnemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168075"
} | starcoder | <gh_stars>0
using Microsoft.Xna.Framework;
using SGS.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework.Content;
using MonoGame.Extended.Collisions;
using MonoGame.Extended.Shapes;
using SGS.Components.Tasks;
usi... | 1.970622 | 2f039b8d6c228682464730b80de73b24 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848856 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "M-Mommsen/BinaryKits.Zpl",
"max_stars_repo_path": "src/BinaryKits.Zpl.Viewer/CommandAnalyzers/ScalableBitmappedFontZplCommandAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168076"
} | starcoder | <reponame>M-Mommsen/BinaryKits.Zpl<filename>src/BinaryKits.Zpl.Viewer/CommandAnalyzers/ScalableBitmappedFontZplCommandAnalyzer.cs
using BinaryKits.Zpl.Label.Elements;
namespace BinaryKits.Zpl.Viewer.CommandAnalyzers
{
public class ScalableBitmappedFontZplCommandAnalyzer : ZplCommandAnalyzerBase
{
publ... | 2.414574 | e4ff4c5d6bb42a967e1670bceff06a85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FFFF0h/System.Core.Net35",
"max_stars_repo_path": "Core/System/Threading/Tasks/Task1.net35.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168077"
} | starcoder | <reponame>FFFF0h/System.Core.Net35
#if NET35
using System.Diagnostics.Contracts;
namespace System.Threading.Tasks
{
public partial class Task<TResult> : Task
{
internal TResult InternalResult;
static Task()
{
ContinuationConvertion = done => (Task<TResult>)done.Result;
... | 2.417771 | 9090092130e01dfe5a1fa843af11832c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielpetkovski/HomeworksCSharpAdvanced",
"max_stars_repo_path": "SEDC.CSharpAdvanced.Class2.Quiz/SEDC.CSharpAdvanced.Quizz.Data/Database/Questions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168078"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SEDC.CSharpAdvanced.Quizz.Data.Database
{
public class Questions
{
public static int FirstQuestion()
{
Console.WriteLine("Q: What is the capital of Tasmania?");
Console.WriteLine(" 1: Dodoma \... | 3.524696 | 0bcf2eeacc1b8bf545bfcae580f59c14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jas05/TravelTest",
"max_stars_repo_path": "Travel.DAL/Implementation/Journey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168079"
} | starcoder | <filename>Travel.DAL/Implementation/Journey.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Travel.DAL.Interfaces;
namespace Travel.DAL.Implementation
{
public class Journey : RepositoryBase<JourneyType>, I... | 2.694679 | b9b52b0a274d2d0b2fd26df805d711a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Oyooni5245/Oyooni",
"max_stars_repo_path": "Source/Oyooni/Oyooni.Server/Services/Cache/InMemory/InMemoryHubVolunteer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168080"
} | starcoder | using Oyooni.Server.Data.BusinessModels;
using System.Collections.Generic;
namespace Oyooni.Server.Services.Cache.InMemory
{
/// <summary>
/// Represents an in memory hub volunteer data
/// </summary>
public class InMemoryHubVolunteer
{
/// <summary>
/// Default constructor
... | 2.670793 | 10092936bbc408ccb60bf681593026c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848861 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "GiveCampUK/GiveCRM",
"max_stars_repo_path": "src/GiveCRM.DummyDataGenerator/Data/TitleData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168081"
} | starcoder | namespace GiveCRM.DummyDataGenerator.Data
{
using System.Collections.Generic;
internal class TitleData
{
internal static readonly IList<TitleDataItem> MaleTitles = new List<TitleDataItem>
{
... | 2.765246 | 8983ec3c88a9b7731864c2a12c35d30c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848862 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DuLovell/Rhythm-Game",
"max_stars_repo_path": "Assets/Plugins/Ludiq/Ludiq.PeekCore/Editor/Inspection/Special/EnumInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168082"
} | starcoder | using System;
using UnityEditor;
using UnityEngine;
namespace Ludiq.PeekCore
{
public class EnumInspector : Inspector
{
public EnumInspector(Accessor accessor) : base(accessor) { }
public override void Initialize()
{
accessor.instantiate = true;
base.Initialize();
}
protected override void OnCont... | 2.163806 | 0915b12919c93a2cd2a7a9b46d1d897a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YouenZeng/LeetCode",
"max_stars_repo_path": "LeetCode/LeetAgain/ClimbStairsSln.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168083"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCode.LeetAgain
{
internal class ClimbStairsSln : ISolution
{
public int ClimbStairs(int n)
{
int result = 1;
int prev = 1;
... | 3.298726 | 09f209338985277d220e01c8b08581ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danruziska/Cielo-eCommerce-SDK",
"max_stars_repo_path": "RLabs.Cielo.SDK/Model/Entity/Credential.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168084"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RLabs.Cielo.SDK.Model.Entity
{
public class Credential
{
internal Dictionary<string, string> CredentialsList { get; private set; }
public Credential()
... | 1.779286 | df344569a08a202a3f45e6cd90ed5eb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848865 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "zdeneksejcek/DDDwithOrleans",
"max_stars_repo_path": "src/UnleashedDDD/Sales/Domain.Model/SalesOrders/LineId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168085"
} | starcoder | using System;
namespace UnleashedDDD.Sales.Domain.Model.SalesOrders
{
public class LineId
{
public Guid Id { get; private set; }
public LineId(Guid id)
{
Id = id;
}
}
} | 2.045507 | 9902803efbefd5f54ce5870a4a44bff0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khncao/com.minus4kelvin.core",
"max_stars_repo_path": "Runtime/Characters/CharacterControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168086"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace m4k.Characters {
public class CharacterControl : MonoBehaviour
{
public Character character;
public Animator animator;
public INavMovable movable;
public float moveMult = 1f;
[SerializeField]
Transform he... | 2.117208 | efc6cac1528227b2ffe27322fb328d48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuizMarcello/XF_Images",
"max_stars_repo_path": "XF_Images/XF_Images/XF_Images/ImagemExercicio8.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168087"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace XF_Images
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ImagemExercicio8 : ContentPage
{
public I... | 2.038847 | e1f65c418d1e84a51f0c7d7de9749fbd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848868 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SaViGnAnO/XamarinComponents",
"max_stars_repo_path": "XPlat/GoogleVR/iOS/source/Google.VR.iOS/ApiDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168088"
} | starcoder | using System;
using CoreGraphics;
using Foundation;
using GLKit;
using ObjCRuntime;
using OpenGLES;
using UIKit;
using OpenTK;
namespace Google.VR
{
// @interface GVRWidgetView : UIView
[BaseType (typeof(UIView))]
interface GVRWidgetView
{
// @property (nonatomic, weak) id<GVRWidgetViewDelegate> _Nullable deleg... | 1.955961 | c65be5b2d49ca4e1d17270cb15abd38f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848869 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "snakefoot/kephas",
"max_stars_repo_path": "Samples/SimpleChatWebApp/SignalRChat.WebApp/Application/WebApp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168089"
} | starcoder | <reponame>snakefoot/kephas
namespace SignalRChat.WebApp.Application
{
using Kephas;
using Kephas.Application;
using Kephas.Diagnostics.Contracts;
using Kephas.Logging.NLog;
using Kephas.Threading.Tasks;
using Microsoft.Owin.BuilderProperties;
using Owin;
public class WebApp : AppBase... | 1.994184 | 030ef9e468cce908d0df4c7c8a5dd357 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848870 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game",
"max_stars_repo_path": "DOTSSample-master/Assets/Unity.Sample.Terraformer.Authoring/Scripts/AnimSources/AnimSourceTwistAuthoring.cs",
"provenance": "train-0... | starcoder | <reponame>The-ULTIMATE-MULTIPLAYER-EXPERIENCE/Ultimate-Archery-Multiplayer-Unity-Game<filename>DOTSSample-master/Assets/Unity.Sample.Terraformer.Authoring/Scripts/AnimSources/AnimSourceTwistAuthoring.cs
#if UNITY_EDITOR
using Unity.Entities;
public class AnimSourceTwistAuthoring : AnimSourceAuthoring, IConvertGameObj... | 1.603721 | 8e4e761469e03a06ab55ba09260a1059 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848871 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GMihalkow/Csharp-ASP-Web-Apps",
"max_stars_repo_path": "SimpleShop/SimpleShop.Data.Models/Category.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168091"
} | starcoder | using System.Collections.Generic;
namespace SimpleShop.Data.Models
{
public class Category : BaseEntity<string>
{
public string Name { get; set; }
public string Description { get; set; }
public IEnumerable<Product> Products { get; set; }
public string CoverUrl { get; set; }
... | 1.944732 | a72844dc87e8d3055ac5598ec3cc86ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848872 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "KHCmaster/PPD",
"max_stars_repo_path": "Win/FlowScriptEngineBasic/FlowSourceObjects/Float/IsPositiveInfinityFlowSourceObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168092"
} | starcoder | using FlowScriptEngine;
namespace FlowScriptEngineBasic.FlowSourceObjects.Float
{
[ToolTipText("IsPositiveInfinity_Summary")]
public partial class IsPositiveInfinityFlowSourceObject : FlowSourceObjectBase
{
public override string Name
{
get { return "Float.IsPositiveInfinity"; ... | 2.495429 | 9df7a9b58d6b1761fb7f814e0c7fd69d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Minesweeper-6-Team-Project-Telerik/Minesweeper-6",
"max_stars_repo_path": "src/ConsoleMinesweeper/ConsoleMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168093"
} | starcoder | <reponame>Minesweeper-6-Team-Project-Telerik/Minesweeper-6<filename>src/ConsoleMinesweeper/ConsoleMenu.cs<gh_stars>0
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConsoleMenu.cs" company="Telerik Academy">
// Teamwork Projec... | 2.679416 | 7875aa8d468d599d6faa3581b6aeb586 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apdevelop/sipsorcery",
"max_stars_repo_path": "examples/SIPProxy/ProxyState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168094"
} | starcoder | //-----------------------------------------------------------------------------
// Filename: ProxyState.cs
//
// Description: A helper class to load the application's settings and to hold some application wide variables.
//
// History:
// 15 Nov 2016 <NAME> Refactored.
//
// License:
// This software is licensed un... | 2.176682 | 87e7b42d866922b4306c28223bf8e664 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trushil/Member-Management-System",
"max_stars_repo_path": "Views/Members/Edit.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168095"
} | starcoder | <reponame>trushil/Member-Management-System
@model surathardwarewebsite.Models.datum
@{
ViewBag.Title = "Edit";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Edit</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>datum</h4>
... | 1.81748 | 3250600991f0de0bbcfc268682edc72e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848876 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "augustoproiete-forks/serilog--serilog-expressions",
"max_stars_repo_path": "src/Serilog.Expressions/Expressions/Ast/ObjectExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168096"
} | starcoder | using System.Linq;
namespace Serilog.Expressions.Ast
{
class ObjectExpression : Expression
{
public ObjectExpression(Member[] members)
{
Members = members;
}
public Member[] Members { get; }
public override string ToString()
{
retur... | 2.813931 | bdbaaee0fae434c15468623510c6e905 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xuan25/VideoPlayerDemo",
"max_stars_repo_path": "VideoPlayer/VideoPlayer/FFMSsharp/Index.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168097"
} | starcoder | <reponame>xuan25/VideoPlayerDemo<filename>VideoPlayer/VideoPlayer/FFMSsharp/Index.cs
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Text;
namespace FFMSSharp
{
#region Interop
[SuppressMessage("ReSharper", "InconsistentNaming")]
static partial clas... | 2.451992 | 239e830ffbdec1f3e2bf19cdd0b36cdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848878 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kdrkrgz/Kiralamax",
"max_stars_repo_path": "src/api/CarRental.Business/ValidationRules/FluentValidation/CarValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168098"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using CarRental.Entities.Entities;
using FluentValidation;
namespace CarRental.Business.ValidationRules.FluentValidation
{
public class CarValidator: AbstractValidator<Car>
{
public CarValidator()
{
RuleFor(x => x.B... | 2.40258 | 4047fe0c6dccae71794882b9bc77746f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848879 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IDevJoe/SBR",
"max_stars_repo_path": "Scammer Bingo Reborn/FileIO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168099"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace Scammer_Bingo_Reborn
{
static class FileIO
{
public static void SaveFile(... | 2.942751 | a908c7774b50836e009efb538da703b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nexasoft-GitHub/UOBcustomer",
"max_stars_repo_path": "src/AdminLTE/Views/Outlets/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168100"
} | starcoder | <reponame>Nexasoft-GitHub/UOBcustomer
<environment names="Development">
<link rel="stylesheet" href="~/lib/datatables/media/css/dataTables.bootstrap.css" asp-append-version="true" />
</environment>
<environment names="Staging,Production">
<link rel="stylesheet" href="~/lib/datatables/media/css/dataTables.boots... | 2.069447 | 6545ed22301e2a08bf64fa57f5abd0c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hypervtechnics/BusSimulator",
"max_stars_repo_path": "BusSimulator/BusSimulator.Ui.Logic/Models/MatrixColorType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168101"
} | starcoder | <reponame>hypervtechnics/BusSimulator
using BusSimulator.Core.Utils;
using System.ComponentModel;
namespace BusSimulator.Ui.Logic.Models
{
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
public enum MatrixColorType
{
[Description("Green")]
Green,
[Description("Yellow")]
... | 1.815145 | ee281feeb7f3c51f39626789799f9319 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mroyon/CoreWebTemplate_V3.1",
"max_stars_repo_path": "WebSolutionTemplate/WebAdmin/Views/Shared/_Layout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168102"
} | starcoder | @using Microsoft.AspNetCore.Antiforgery
@inject IAntiforgery antiforgery
<!DOCTYPE html>
@{
}
<html lang="en" dir="@(System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.IsRightToLeft ? "rtl" : "ltr")">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport"... | 1.533446 | da58cb6669f7ef4b121e626ce96a3867 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848883 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IvailoTodorov/CounterStrikeWeb",
"max_stars_repo_path": "CounterStrikeWeb/Services/Events/IEventService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168103"
} | starcoder | <filename>CounterStrikeWeb/Services/Events/IEventService.cs
namespace CounterStrikeWeb.Services.Events
{
using System.Collections.Generic;
using CounterStrikeWeb.Data.Models;
using CounterStrikeWeb.Models.Events;
public interface IEventService
{
EventQueryServiceModel FindTeamToAdd(
... | 2.375764 | 5b441bc3f3b1044f2ef33037de94d85a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vdamvdam/the_building_coder_samples",
"max_stars_repo_path": "BuildingCoder/CmdPartAtom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168104"
} | starcoder | <reponame>vdamvdam/the_building_coder_samples
#region Header
//
// CmdPartAtom.cs - extract part atom from family file
//
// Copyright (C) 2010-2020 by By <NAME>, Symetri
// and <NAME>, Autodesk Inc. All rights reserved.
//
// Keywords: The Building Coder Revit API C# .NET add-in.
//
#endregion // Header
#region Na... | 2.27915 | fb7a068061a5d6700be9eb36169b91af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanBerov/CSharpWeb",
"max_stars_repo_path": "CSharpWebBasics/ExamPrep/SMS5.0/SMS/Data/DataConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168105"
} | starcoder | <reponame>IvanBerov/CSharpWeb
namespace SMS.Data
{
public class DataConstants
{
public const int MinUsernameLength = 5;
public const int MinUserPasswordLength = 6;
public const int MaxUserLength = 20;
public const string EmailValidator = @"^([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)... | 1.891234 | c315d87cca8ebecd0317465e4d66d3f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848886 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Buriola/rhythm-game",
"max_stars_repo_path": "Assets/Scripts/Buriola/Data/Song.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168106"
} | starcoder | using UnityEngine;
using UnityEngine.Serialization;
namespace Buriola.Data
{
[CreateAssetMenu(menuName = "Create Song", fileName = "New Song Asset")]
public class Song : ScriptableObject
{
[FormerlySerializedAs("songName")]
public string SongName;
[FormerlySerializedAs("artistName")]
public string Artist... | 1.884143 | 6bbd64730ed8812719520ab73a1bc7b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848887 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "belczyk/Marcus.Bus",
"max_stars_repo_path": "src/TestAssembly1/ValidHandlers/HandlerWithOneEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168107"
} | starcoder | <reponame>belczyk/Marcus.Bus
using System.Threading.Tasks;
using Marcus.Bus;
namespace TestAssembly1.ValidHandlers
{
public class HandlerWithOneEventHandler : IHandler
{
public HandlerWithOneEventHandler(IBus bus)
{
Bus = bus;
}
private IBus Bus { get; }
p... | 1.993305 | 038ef7f7dc2a7cc30ce8294c998a1de9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cr3ature/MudBlazor-TinyMce",
"max_stars_repo_path": "TinyMcePOC/TinyMcePOC/Client/Pages/Components/TextEditorComponent.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168108"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Components;
using MudBlazor;
namespace TinyMcePOC.Client.Pages.Components
{
public partial class TextEditorComponent : MudDebouncedInput<string>
{
private readonly string _apiKey = "<KEY>";
private readonly Guid _identifier = Guid.NewGuid();
priv... | 1.665637 | 7c67c80d2ef8593a8ab8dcbc99874257 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848889 | {
"extension": "c-sharp",
"max_stars_count": "332.0",
"max_stars_repo_name": "skywing918/WindowsProtocolTestSuites",
"max_stars_repo_path": "TestSuites/ADFamily/src/TestSuite/MS-NRPC/BVT_Test_LocateDc_DsrGetDcName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168109"
} | starcoder | <reponame>skywing918/WindowsProtocolTestSuites
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestSuites.ActiveDirectory.Nrpc
{
using System;
using System.Collections.Generic;
... | 1.55784 | 5f7dde9807870779a492dc99b3d2073e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848890 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-0018-d0ac.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168110"
} | starcoder | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x18_d0ac-3c13f7b2")]
public void Method_0018_d0ac()
{
ii(0x18_d0ac, 4); enter(0xa, 0); /... | 1.741584 | db53b0719614f1f24de3bc26220ba9a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848891 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "congyiwu/azure-relay-bridge",
"max_stars_repo_path": "src/Microsoft.Azure.Relay.Bridge/SocketRemoteForwarder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168111"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if !NETFRAMEWORK
namespace Microsoft.Azure.Relay.Bridge
{
using System;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks... | 2.065802 | fe935284d256af56d77d236656fe0947 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848892 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juliapacula/mistakes-journal",
"max_stars_repo_path": "server/Mistakes.Journal.Api/Migrations/20210920185932_AddedIdentitySchemaAndMistakeToUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168112"
} | starcoder | <filename>server/Mistakes.Journal.Api/Migrations/20210920185932_AddedIdentitySchemaAndMistakeToUser.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Mistakes.Journal.Api.Migrations
{
public partial class AddedIdentitySchemaAndMistakeT... | 1.932084 | 7867206dbf7088ec3dc1c3a482ee09c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guokai2048/ngii",
"max_stars_repo_path": "CM.Application/CM.Application.Web/obj/Release/Package/PackageTmp/Areas/AuthorizeManage/Views/FilterIP/Form.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168113"
} | starcoder | @{
ViewBag.Title = "过滤IP";
Layout = "~/Views/Shared/_Form.cshtml";
}
<script>
var keyValue = request('keyValue');
var objectId = request('objectId');
var objectType = request('objectType');
var visitType = request('visitType');
$(function () {
initControl();
})
//初始化控件
f... | 2.131903 | be502ecc8dd44b5a23a4f3ca28dc6d3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848894 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "HelloKitty/GladBehavior.Tree",
"max_stars_repo_path": "tests/GladBehavior.Tree.Tests/Tests/InverterNodeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168114"
} | starcoder | <filename>tests/GladBehavior.Tree.Tests/Tests/InverterNodeTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GladBehaviour.Tree;
using NUnit.Framework;
namespace GladBehavior.Tree.Tests
{
[TestFixture]
public class InverterNodeTests
{
... | 2.644982 | d1cc4787e37477409cad74b70b7041f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848895 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "NET1211/aspnet-archive-tools",
"max_stars_repo_path": "src/tests/graphql-aspnet-tests/Schemas/SchemaTestData/EmployeeData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168115"
} | starcoder | // *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespace GraphQL.AspNet.Tests.Schemas.SchemaT... | 1.372897 | bea5be79e46abca25f91b19d74b70a26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848896 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aluanhaddad/LASI",
"max_stars_repo_path": "LASI.Core/LexicalStructures/BehavioralConstructs/IPossessable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168116"
} | starcoder | <filename>LASI.Core/LexicalStructures/BehavioralConstructs/IPossessable.cs
using LASI.Utilities;
namespace LASI.Core
{
/// <summary>
/// <para> Defines the role requirements for constructs; generally Nouns, NounPhrases or Pronouns; which are "possessable" by other Entities. </para>
/// <para> Along with ... | 2.59009 | 012744fde1fa81a6d8879ae20ee37c63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848897 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Atrox/kuvert.net",
"max_stars_repo_path": "Kuvert/Models/Email.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168117"
} | starcoder | <filename>Kuvert/Models/Email.cs
using System;
using System.Collections.Generic;
namespace Kuvert.Models
{
public class Email
{
/// <summary>
/// The intro text, invisible to the user, but most mail clients use it to show a short text below the subject
/// </summary>
public... | 3.012202 | 07cdfc258feb2ac4a7768cfe3f1f503e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848898 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "sinantok/blog-site",
"max_stars_repo_path": "CoreBlogApp.WebUI/Views/Blog/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168118"
} | starcoder | @model Blog
@{
ViewData["Title"] = "Details";
}
<div class="container">
<div class="row">
<div class="col-md-3">
@await Component.InvokeAsync("CategoryMenu")
</div>
<div class="col-md-9">
@Html.Partial("_BlogDetails",Model)
</div>
</div>
... | 1.880582 | a8b944c5d9bab1d75a45a6d502663835 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848899 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Indomitable/monodevelop-tfs-addin",
"max_stars_repo_path": "MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.WorkItemTracking.Client/Objects/WorkItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168119"
} | starcoder | <gh_stars>10-100
//
// Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItem
//
// Authors:
// <NAME> (<EMAIL>)
//
// Copyright (C) 2007 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in th... | 2.107909 | 7b74fc096b9c8661bb1670db297614f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848900 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "msuliborski/icepocalypse",
"max_stars_repo_path": "Assets/Scripts/TouchedEnemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168120"
} | starcoder | <filename>Assets/Scripts/TouchedEnemy.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TouchedEnemy : MonoBehaviour {
private GameObject _playerObject;
private GameObject _enemyObject;
public GameObject DickTrigger;
// Use this for initialization
void Star... | 2.382441 | b2ec796f7c9416228dec805901de1c71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shivaprasadkannoju/InterviewProblems",
"max_stars_repo_path": "csharp/Answers/Problem1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168121"
} | starcoder | <filename>csharp/Answers/Problem1.cs
using System;
using System.Linq;
namespace InterviewProblems.Answers
{
public static class Problem1
{
/// <summary>
/// Write a function that returns the length of the longest string in an array.
/// It should accept an array of string values as a parameter and return a sin... | 4.028959 | ce121a00db8e07a8e09f238bc176c401 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848902 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wm-russia-software/Segmento.Api.Connector",
"max_stars_repo_path": "Segmento.Api.Connector/Segmento.Api.Connector/BaseApiHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168122"
} | starcoder | using System.Threading.Tasks;
using RestSharp;
namespace Segmento.Api.Connector
{
/// <summary>
/// Базовый обработчик API
/// </summary>
public abstract class BaseApiHandler
{
#region Переменные и константы
/// <summary>
/// Url для доступа к Api
/// </summary>
... | 2.83937 | e99d59926f6024de8d190255c4412de4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848903 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "Kayserheimer/Dynamics-Crm-DevKit",
"max_stars_repo_path": "test/v.2.12.31/TestAllEntities/All-DEMO/Dev.DevKit.Shared/Entities/BookableResourceBookingExchangeSyncIdMapping.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:16... | starcoder | <filename>test/v.2.12.31/TestAllEntities/All-DEMO/Dev.DevKit.Shared/Entities/BookableResourceBookingExchangeSyncIdMapping.generated.cs<gh_stars>10-100
//---------------------------------------------------------------------------------------------------
// <auto-generated>
// Changes to this file may cause incorrect b... | 1.412253 | 914b3ae9cb15cff53159373131ec4e6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848904 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "T-Berger/git-watcher",
"max_stars_repo_path": "Git-Watcher/GitWatcher.Tests/GitHubServices/IssuseServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168124"
} | starcoder | <filename>Git-Watcher/GitWatcher.Tests/GitHubServices/IssuseServiceTest.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Git_Watcher_Client;
using Git_Watcher_Client.Dto;
using Git_Watcher_Client.GitHubRestServices.Interfaces;
using Git_Watcher_Client.GitHubRestServic... | 2.476367 | 9282a9b52fcfba1dbb86dea159a1859f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848905 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Insire/MvvmScarletToolk",
"max_stars_repo_path": "src/MvvmScarletToolkit.Commands/IScarletCommandBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168125"
} | starcoder | using Microsoft.Toolkit.Mvvm.Messaging;
using MvvmScarletToolkit.Commands;
using System;
using System.ComponentModel;
using System.Threading;
using System.Threading.Tasks;
namespace MvvmScarletToolkit
{
public interface IScarletCommandBuilder
{
IScarletExceptionHandler ExceptionHandler { get; }
... | 1.667558 | 57bd226a1eaf688c81d3feba2d7013d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848906 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "AuriRex/ToggleReplayInfo",
"max_stars_repo_path": "ToggleReplayInfo/Configuration/PluginConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168126"
} | starcoder | using IPA.Config.Stores;
using System;
using System.Runtime.CompilerServices;
using UnityEngine;
[assembly: InternalsVisibleTo(GeneratedStore.AssemblyVisibilityTarget)]
namespace ToggleReplayInfo.Configuration
{
public class PluginConfig
{
public virtual bool Enabled { get; set; } = true;
publ... | 1.916013 | 82a0a192ec035eb8d223edec09a155eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848907 | {
"extension": "c-sharp",
"max_stars_count": "97.0",
"max_stars_repo_name": "enlich/GW2-Elite-Insights-Parser",
"max_stars_repo_path": "GW2EIBuilders/JsonModels/JsonPhaseBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168127"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using GW2EIEvtcParser;
using GW2EIEvtcParser.EIData;
using GW2EIJSON;
using Newtonsoft.Json;
namespace GW2EIBuilders.JsonModels
{
/// <summary>
/// Class corresponding to a phase
/// </summary>
internal static class JsonPhaseBuilder
{
p... | 2.429697 | 8798e52a10e066f9f0a75183e961fb8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848908 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "runejo/statbus",
"max_stars_repo_path": "src/nscreg.Data/Migrations/20201202104640_DeleteIntSectorCodeInGroupHistory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168128"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace nscreg.Data.Migrations
{
public partial class DeleteIntSectorCodeInGroupHistory : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Enterpr... | 1.872375 | 80e87f3f7d4c3cf79d81f9d93766580b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848909 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pegasusjcrawford/lyn",
"max_stars_repo_path": "src/Lyn.Types/Serialization/Serializers/UInt256Serializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168129"
} | starcoder | <reponame>pegasusjcrawford/lyn
using System;
using System.Buffers;
using Lyn.Types.Bitcoin;
namespace Lyn.Types.Serialization.Serializers
{
public class UInt256Serializer : IProtocolTypeSerializer<UInt256>
{
public UInt256 Deserialize(ref SequenceReader<byte> reader, ProtocolTypeSerializerOptions? opt... | 1.719595 | d9333c7425cb15eca451625dde914259 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848910 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "oleg-st/DevSync",
"max_stars_repo_path": "DevSyncAgent/CommandRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168130"
} | starcoder | using DevSyncLib;
using DevSyncLib.Command;
using DevSyncLib.Logger;
using System;
using System.IO;
using System.Linq;
namespace DevSyncAgent
{
public class CommandRunner
{
private readonly ILogger _logger;
private string _path;
private bool _initialized;
private ... | 2.472952 | 53f3af6db9b87f9f50078e6faa44851a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848911 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "leonio/RestLess",
"max_stars_repo_path": "src/RestLess.Sample/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168131"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
namespace RestLess.Sample.ConstantsNamespace
{
public static class Constants
{
public const string BaseApi = "v1/";
}
}
| 1.128127 | cfbc49088a0c8acad02883eced07b193 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.