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 | 8844512 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devbridge/StandardWebProjectTemplate",
"max_stars_repo_path": "DevBridge.Templates.WebProject.Data/DataContext/SessionFactoryProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163732"
} | starcoder | <filename>DevBridge.Templates.WebProject.Data/DataContext/SessionFactoryProvider.cs
using BetterCms.Core.DataAccess.DataContext.EventListeners;
using DevBridge.Templates.WebProject.Data.DataContext.Conventions;
using DevBridge.Templates.WebProject.Data.EventListeners;
using DevBridge.Templates.WebProject.DataContract... | 2.177391 | ef87e68e185a3324d9dc790394c6802f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbdulMueed209/Assingnment-4",
"max_stars_repo_path": "Q#53 e.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163733"
} | starcoder | <filename>Q#53 e.cs
using System;
namespace e
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Q#53 (e)");
int n= 10;
int x = 0;
x = n--;
Console.WriteLine(x);
}
}
}
| 2.445862 | 7324961f4b48005d799cdade821e6f07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kmranrg/SaveKitty",
"max_stars_repo_path": "Assets/Spine/Runtime/spine-unity/Modules/Timeline/PlayableHandle Component/SpinePlayableHandleBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163734"
} | starcoder | /******************************************************************************
* Spine Runtimes Software License v2.5
*
* Copyright (c) 2013-2016, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable, and
* non-transferable license to use, install, e... | 1.906611 | a9a3226d35fe39795e9614e7f6c98d5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thedaveCA/whois",
"max_stars_repo_path": "Whois/Servers/IWhoisServerLookup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163735"
} | starcoder | using System;
using System.Threading.Tasks;
namespace Whois.Servers
{
/// <summary>
/// Interface to lookup the appropriate root WHOIS server for a given request.
/// </summary>
public interface IWhoisServerLookup : IDisposable
{
/// <summary>
/// Lookups the root WHOIS server for ... | 2.284866 | 45eac1b092ac77f245864d3caf7e363c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844516 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dnnru/DNN_Platform_9.3.1.2",
"max_stars_repo_path": "DotNetNuke.Customizations.Security/TrIDEngine/Models/TrIdEngineConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163736"
} | starcoder | namespace DotNetNuke.Customizations.Security.TrIDEngine.Models
{
public class TrIdEngineConfig
{
public FileDefPattern Definition
{
get;
set;
}
public int MaxFrontSize
{
get;
set;
}
}
}
| 1.403542 | 998c7a283bdcf236558119d16d398244 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucaslk122/Alguns-exercicios-em-C-",
"max_stars_repo_path": "exercicio 4/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163737"
} | starcoder | <gh_stars>0
using System;
namespace exercicio_4
{
class Program
{
static void Main(string[] args)
{
Console.Write("Digite um numero inteiro e positivo: ");
int x = int.Parse(Console.ReadLine());
if (x % 2 == 0){
System.Console.WriteLine($"{x}... | 3.34695 | 9474d91c57b4844402b42cf579bafac0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844518 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ruccho/Mukuro",
"max_stars_repo_path": "Packages/io.github.ruccho.mukuro.core/Runtime/Scripts/TaskExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163738"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
namespace Mukuro
{
public static class TaskExtensions
{
public static void Forget(this Task task)
{
}
}
} | 1.638469 | 69198149d7fbd14fc86b8fb346baf090 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reavenk/PxPre-Phonics",
"max_stars_repo_path": "Params/ParamNickname.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163739"
} | starcoder | <reponame>Reavenk/PxPre-Phonics
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ParamNickname : ParamBase
{
public static string serializeTypeId = "nickname";
public char [] nicks = new char[4];
public ParamNickname(string name, string nickname, string widgetT... | 2.373702 | 815e094fe839acad2e0bc3ecbff5d056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844520 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "VAllens/Mages",
"max_stars_repo_path": "src/Mages.Core/StringBuilderPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163740"
} | starcoder | <reponame>VAllens/Mages<gh_stars>100-1000
namespace Mages.Core
{
using System;
using System.Collections.Generic;
using System.Text;
/// <summary>
/// A pool for recycled resources.
/// </summary>
static class StringBuilderPool
{
#region Fields
private static readonly Stack<S... | 3.143642 | 50b79aa7f4942ed4f03a3eca4dd870f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CherryGameStudio/2D-Demo",
"max_stars_repo_path": "U3D Client/Assets/GameMain/Scripts/Map/MapComponent.ChunkGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163741"
} | starcoder | using System;
using UnityEngine;
using UnityGameFramework.Runtime;
namespace Cherry
{
public sealed partial class MapComponent : GameFrameworkComponent
{
[Serializable]
private sealed class ChunkGroup
{
[SerializeField]
private string m_Name = null;
public string ChunkGroupName
{
get
{
... | 1.926208 | 68a4673c2cb0fb742bf61db9a13999b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Josyas/Generics-Partet-1",
"max_stars_repo_path": "GenericsPt1/Printservice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163742"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenericsPt1
{
class Printservice
{
private int[] _values = new int[10];
private int _count = 0;
public void AddValue(int value)
... | 2.840536 | 21220a8559edb3944d9169ae3a46ea1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SaberSnail/CrystalDuelingEngine",
"max_stars_repo_path": "CrystalDuelingEngine/Tags/ISubtractableTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163743"
} | starcoder | <filename>CrystalDuelingEngine/Tags/ISubtractableTag.cs<gh_stars>0
namespace CrystalDuelingEngine.Tags
{
public interface ISubtractableTag : IRenderable
{
ISubtractableTag SubtractTag(ISubtractableTag tag);
}
}
| 2.062305 | 87f7aa399cf44f941931a31e8dfa15ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/Service.ExternalApi",
"max_stars_repo_path": "src/Service.ExternalApi.Domain/Services/IOrderBookSourceManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163744"
} | starcoder | using System.Collections.Generic;
using MyJetWallet.Domain.ExternalMarketApi;
namespace Service.ExternalApi.Domain.Services
{
public interface IOrderBookSourceManager
{
IOrderBookSource GetOrderBookSourceByName(string name);
List<string> GetOrderBookSourceNames();
}
} | 1.485591 | 8d78b7ac01affa9380af4b392a763086 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844525 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "erwan-joly/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Core/src/Types/Types/Descriptors/TypeReferences/ITypeReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163745"
} | starcoder | <filename>src/HotChocolate/Core/src/Types/Types/Descriptors/TypeReferences/ITypeReference.cs
namespace HotChocolate.Types.Descriptors
{
public interface ITypeReference
{
bool? IsTypeNullable { get; }
bool? IsElementTypeNullable { get; }
TypeContext Context { get; }
}
}
| 1.512854 | 8211c64483f75a348f7703c477f2c9d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844526 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Atomthin/BulletRay",
"max_stars_repo_path": "src/BulletRay.Application/Tags/TagAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163746"
} | starcoder | <reponame>Atomthin/BulletRay
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Collections.Extensions;
using Abp.Domain.Repositories;
using Abp.Linq.Extensions;
using BulletRay.Blog;
using BulletRay.Tags.Dto;
using Microsoft.EntityFrameworkCore;
using System.Collection... | 2.025513 | 004ebdfec4132859d2ec02232bf70346 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844527 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lgpilati/SiteConsultorio",
"max_stars_repo_path": "ConsultorioGeral/Views/Paciente/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163747"
} | starcoder | @model IEnumerable<Paciente>
@{
ViewData["Title"] = "Consultorio | Pacientes";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<body id="page-give-classes">
<div id="container">
<header class="page-header">
<div class="top-bar-container">
<a href="/">
<... | 2.571552 | 73cfe9f2944c9a474e9138c5ea275821 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844528 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "JTOne123/More",
"max_stars_repo_path": "test/More.Tests/More/Collections.Generic/StackAdapterTTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163748"
} | starcoder | namespace More.Collections.Generic
{
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
public class StackAdapterTTest
{
[Fact]
public void peek_should_peek_source()
{
... | 2.963742 | 4759ed7c4a581a9fc7d34adb6722eeb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844529 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dimitarbalabanov/DiscussionBoard",
"max_stars_repo_path": "src/Core/DiscussionBoard.Domain/Common/BaseReport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163749"
} | starcoder | using DiscussionBoard.Domain.Entities;
using DiscussionBoard.Domain.Entities.Enums;
using System;
namespace DiscussionBoard.Domain.Common
{
public abstract class BaseReport : BaseModel<string>
{
protected BaseReport()
{
Id = Guid.NewGuid().ToString();
}
public bool... | 1.960776 | da3271a0bafa2800c0c85c23288fa92b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jesse1412/Cancer-Data-Mining",
"max_stars_repo_path": "WekaReader/Classifiers/AbstractClassifier.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163750"
} | starcoder | <filename>WekaReader/Classifiers/AbstractClassifier.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WekaReader.Classifiers;
using WekaReader.Data;
namespace WekaReader.Classifiers
{
public abstract class AbstractClassifier
{
... | 2.746699 | 22bf3fd5b291f83253d2c42dd97031b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skyprolk/Clash-Of-SL",
"max_stars_repo_path": "Clash SL Server [UCS 7.4.0]/Packets/Messages/Server/LocalAlliancesMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163751"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using CSS.Core;
using CSS.Helpers.List;
using CSS.Logic;
namespace CSS.Packets.Messages.Server
{
// Packet 24402
internal class LocalAlliancesMessage : Message
{
public LocalAlliancesMessage(Device client) : base(client)
{
... | 2.37562 | 66f6cc468fd778c42a6ec647ab6846d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844532 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "hhnguyen/xRM-Portals-Community-Edition",
"max_stars_repo_path": "Framework/Adxstudio.Xrm/Products/IProductAggregationDataAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163752"
} | starcoder | /*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
using System.Collections.Generic;
namespace Adxstudio.Xrm.Products
{
/// <summary>
/// Enumeration of the state of the product record.
/// </summary>
pub... | 2.370858 | eb342f1efc3fd9a196c1bbe845ee85b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronin4net/Plainion.Notes",
"max_stars_repo_path": "src/Plainion.Wiki.Tests/AST/PageAttributeTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163753"
} | starcoder | <filename>src/Plainion.Wiki.Tests/AST/PageAttributeTest.cs<gh_stars>0
using System.Linq;
using Plainion.Wiki.AST;
using NUnit.Framework;
using System;
namespace Plainion.Wiki.UnitTests.AST
{
[TestFixture]
public class PageAttributeTest
{
[Test]
public void Ctor_WithNullType_Thro... | 2.506158 | f231bc8b77f68017a770dd5688bafb23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844534 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Nowerazy/Tizen-CSharp-Samples",
"max_stars_repo_path": "Mobile/Clock/Clock/Clock/Data/Location.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163754"
} | starcoder | /*
* Copyright (c) 2016 Samsung Electronics Co., Ltd
*
* 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 applicable law or ... | 2.678348 | d8d516e3185882862b3ea445257d8344 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844535 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cliftonm/intertexti",
"max_stars_repo_path": "Views/AllNotecardsView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163755"
} | starcoder | <reponame>cliftonm/intertexti<filename>Views/AllNotecardsView.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraTreeList.Nodes;
using Clifton.Tools.Data;
using Intertexti.Controls;
using Intertexti.DevExpressControls;
using Inte... | 2.007854 | 6bd1ce1d32c7f8f00f841cad2b72d9e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844536 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gwyndol1ne/Roguelike",
"max_stars_repo_path": "Armor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163756"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Roguelike
{
public class Armor : Item
{
private int defense;
private char equipmentSlot; //head - 'h' body - 'b' legs - 'l' foot - 'f' ring - 'r' amulet - 'a'
private int strength;
priv... | 2.591 | f04dc667f907c2df7192800224dc2834 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844537 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Toxa2202/plast",
"max_stars_repo_path": "EPlast/EPlast.DataAccess/Repositories/Interfaces/Blank/IAchievementDocumentsRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163757"
} | starcoder | <reponame>Toxa2202/plast
using EPlast.DataAccess.Entities.Blank;
namespace EPlast.DataAccess.Repositories.Interfaces.Blank
{
public interface IAchievementDocumentsRepository : IRepositoryBase<AchievementDocuments>
{
}
}
| 0.792475 | 5a955f820af527aef490417e4576429c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844538 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devlsarmiento/GetBootstrap",
"max_stars_repo_path": "GetBootstrap.Old/Extensions/ProgressBar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163758"
} | starcoder | <reponame>devlsarmiento/GetBootstrap<filename>GetBootstrap.Old/Extensions/ProgressBar.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace System.Extensions
{
public class ProgressBar
{
private int _cwidth;
private int... | 2.757188 | df67b34c726d3162374a4b81744d3486 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RuyArmando/alura-atividades",
"max_stars_repo_path": "source/ruyarmando.designpatterns/designpatterns/Enums/EFormato.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163759"
} | starcoder | namespace designpatterns.Enums
{
public enum EFormato
{
XML,
CSV,
PORCENTO,
XPTO
}
}
| 1.622158 | 6dd2d2daae19d075ea7e61ab84af6f8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844540 | {
"extension": "c-sharp",
"max_stars_count": "332.0",
"max_stars_repo_name": "Grom-Li/WindowsProtocolTestSuites",
"max_stars_repo_path": "TestSuites/MS-ADOD/src/Adapter/MessageAnalyzerAdapter/MAVerifyUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163760"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Protocols.TestTools.MessageAnalyzer;
using System.Globalization;
... | 2.438893 | dc22f5825f02f2b44449651aecd6150b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844541 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "rbtech/uno",
"max_stars_repo_path": "src/compiler/backend/cil/CilResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163761"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using IKVM.Reflection;
using Uno.Compiler.API.Backends;
using Uno.Compiler.API.Domain.IL;
namespace Uno.Compiler.Backends.CIL
{
public class CilResult : BackendResult
{
readonly SortedSet<Location> _locations;
readonly Dictionary<string, str... | 2.356217 | bec41b9e39120e9840af48c9cb4a76b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidChristiansen/MassTransit",
"max_stars_repo_path": "src/MassTransit.TestFramework/ExtensionMethodsForSubscriptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163762"
} | starcoder | <filename>src/MassTransit.TestFramework/ExtensionMethodsForSubscriptions.cs
// Copyright 2007-2008 The Apache Software Foundation.
//
// 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 ... | 2.117558 | a7d46cb6a1397561e2037ef9236591d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dvrsty/QuickOrleans",
"max_stars_repo_path": "Quick.Common/Dtos/ApiOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163763"
} | starcoder | <filename>Quick.Common/Dtos/ApiOutput.cs
using System;
namespace Quick.Common.Dtos
{
/// <summary>
/// api返回结构DTO
/// </summary>
public class ApiOutput
{
/// <summary>
/// 成功
/// </summary>
public bool Success { get; set; }
/// <summary>
/// 状态
... | 2.230607 | 3d2af0774887e37d70c74f9ea40427d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844544 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "samisgod/ZrAdmin.NET",
"max_stars_repo_path": "ZR.Repository/System/SysFileRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163764"
} | starcoder | <reponame>samisgod/ZrAdmin.NET
using System;
using Infrastructure.Attribute;
using ZR.Repository.System;
using ZR.Model.Models;
using ZR.Model.System;
namespace ZR.Repository.System
{
/// <summary>
/// 文件存储仓储
///
/// @author zz
/// @date 2021-12-15
/// </summary>
[AppService(ServiceLifetime... | 1.202999 | 154987f9654a767eba8189fd3b4526da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ElectNewt/ProjectTemplate",
"max_stars_repo_path": "Tools/TemplatesGenerator/Extensions/XmlExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163765"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
namespace ProjectName.ToolTrigger.TemplatesGenerator.Extensions
{
public static class XmlExtensions
{
public static str... | 2.550612 | 51d2b1b72ece41edbe77acebd235928e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844546 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "YouseiSakusen/WpfMvvmLabo",
"max_stars_repo_path": "ImaZipperProto/DapperSampleEntities/ConsoleBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163766"
} | starcoder | using System.Text;
using HalationGhost;
using Reactive.Bindings;
using Reactive.Bindings.Extensions;
namespace DapperSample
{
public class ConsoleBuffer : BindableModelBase
{
public ReactivePropertySlim<string> ConsoleText { get; set; }
public void Clear()
{
this.ConsoleText.Value = string.Em... | 2.566949 | 8e3abadb922061e35ed87d6c057dca26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SmegheadSev/PhoenixIntegration",
"max_stars_repo_path": "Leviathan.Domain/Providers/LeviathanProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163767"
} | starcoder | using RestSharp;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Leviathan
{
public class LeviathanProvider : ILeviathanProvider
{
private readonly string _apiUser;
private readonly string _apiKey;
private readonly IRestClient _restClient;
public Levi... | 2.938726 | 864a5feb8d192e0504eaf0f809422c6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fr0wsTyl/Answery",
"max_stars_repo_path": "Source/Answery/Web/Answery.Web/Views/Questions/Asked.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:163768"
} | starcoder | @model Answery.Web.ViewModels.Home.IndexViewModel
@{
ViewBag.Title = "Asked";
}
@Html.Partial("PageTitlePartial", "Asked questions")
@if (Model.Questions.Any())
{
foreach (var question in Model.Questions)
{
<div class="row">
<div class="col s8 offset-s2">
... | 2.7526 | 19852fd4943b73b2c6afced13e4adf75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ennoborg/FTAnalyzer",
"max_stars_repo_path": "FTAnalyser/Forms/Controls/RelationTypes.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163769"
} | starcoder | <filename>FTAnalyser/Forms/Controls/RelationTypes.Designer.cs
using System;
namespace FTAnalyzer.Controls
{
partial class RelationTypes
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
... | 2.255793 | e959b27acf7b2f2695bd7ce4e29ff50b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jimtaylor1974/filter-parser",
"max_stars_repo_path": "JimTaylor1974.FilterParser/Operator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163770"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace JimTaylor1974.FilterParser
{
public abstract class Operator : IToSqlAndFilter
{
public const string LhsOpRhs = "{lhs} {op} {rhs}";
public const string FuncLhsRh... | 2.639513 | c490ef1c7a983ffa4e7102e8db65601e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844551 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LykkeBusiness/MarginTrading.TradingHistory",
"max_stars_repo_path": "src/MarginTrading.TradingHistory.TestClient/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163771"
} | starcoder | // Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
using System;
using System.Linq;
using System.Threading.Tasks;
using AsyncFriendlyStackTrace;
using Common.Log;
using Lykke.HttpClientGenerator;
using Lykke.HttpClientGenerator.Retries;
using MarginTrading.TradingHisto... | 2.054044 | c888b529399bbd52127355e80b66bb95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844552 | {
"extension": "c-sharp",
"max_stars_count": "349.0",
"max_stars_repo_name": "djoshi001Personal/presentations",
"max_stars_repo_path": ".NETCore/ASP.NETCore/v5.0/AutoLot50/AutoLot.Models/Entities/SeriLogEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163772"
} | starcoder | // Copyright Information
// ==================================
// AutoLot - AutoLot.Models - SeriLogEntry.cs
// All samples copyright <NAME>
// http://www.skimedic.com 2020/12/13
// ==================================
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotation... | 2.195023 | 6f7bd847f928c3682d0779aae34cd799 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PavelRunchev/Dot.Net-Advanced",
"max_stars_repo_path": "C# Advanced/8. Functional Programming - Exercise/2. Knights Of Honor/KnightsOfHonor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163773"
} | starcoder | using System;
using System.Linq;
namespace KnightsOfHonor
{
class KnightsOfHonor
{
static void Main()
{
Action<string[]> sir = honor => Console.WriteLine(String.Join(Environment.NewLine, honor.Select(x => x = "Sir " + x ).ToArray())); ;
string[] inputNames = Console.Rea... | 3.361723 | 123ffdbff22d8c8ab88c7971d71a4892 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844554 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larryeedwards/openyan",
"max_stars_repo_path": "Assembly-CSharp/SodaScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163774"
} | starcoder | using System;
using UnityEngine;
// Token: 0x02000513 RID: 1299
public class SodaScript : MonoBehaviour
{
// Token: 0x06002024 RID: 8228 RVA: 0x0014EA0C File Offset: 0x0014CE0C
private void Update()
{
if (this.Prompt.Circle[0].fillAmount == 0f)
{
this.Prompt.Yandere.Inventory.Soda = true;
this.Prompt.Yan... | 1.589717 | 63e56ffaff58b27f1ab65998eac2b8a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844555 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HauntedBees/BlockaraSteam",
"max_stars_repo_path": "Assets/Resources/Scripts/AI/AIAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163775"
} | starcoder | <gh_stars>1-10
/*Copyright 2015 <NAME>
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 in writing, sof... | 2.204754 | fd5c1d16396aa4da0ead0aadda6c7a93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asgerhallas/shouldly",
"max_stars_repo_path": "src/Shouldly.Tests/ShouldBe/EqualsShouldBeCalledOnExpectedScenario.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163776"
} | starcoder | using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.ShouldBe
{
public class EqualsShouldBeCalledOnExpectedScenario : ShouldlyShouldTestScenario
{
protected override void ShouldThrowAWobbly()
{
new BaseClass().ShouldBe(new SubclassWithStubbedEquals {EqualsResult = false});
... | 2.679176 | cc4e425582d4255e98e5767f15dc3bf6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kelvinlam1986/paidtimeoff",
"max_stars_repo_path": "V2.FrameworkControls/CustomGridView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163777"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace V2.FrameworkControls
{
[ToolboxData("<{0}:CustomGridView runa... | 2.252817 | 0fbf2960ec9e2f4300b98e63791ae7fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844558 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "krzysztof-adamowski-bqs/dotnet-consolidate",
"max_stars_repo_path": "src/DotNet.Consolidate/Services/ILogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163778"
} | starcoder | namespace DotNet.Consolidate.Services
{
public interface ILogger
{
void Message(string message);
}
}
| 1.76929 | 24a151ba611a6eca576dc0c81506d7dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844559 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "restful-routing/restful-routing",
"max_stars_repo_path": "src/RestfulRouting.Documentation/Controllers/ApplicationController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163779"
} | starcoder | <reponame>restful-routing/restful-routing
using System;
using System.IO;
using System.Text;
using System.Web.Mvc;
using System.Xml;
using System.Xml.Serialization;
using RestfulRouting.Format;
namespace RestfulRouting.Documentation.Controllers {
public abstract class ApplicationController : Controller {
p... | 2.271783 | 9dc0ae52a9de3f950f69f085bf58364d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "megadrago88/ShockTooth",
"max_stars_repo_path": "ShockToothSharpV1/ShockToothSharpV1/Core.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163780"
} | starcoder | using MadWizard.WinUSBNet;
namespace Core {
public partial class CoreClass {
public byte[] ControlInTransfer(USBDevice device, byte requestType, byte request, int value, int index, int length) {
return device.ControlIn(requestType, request, value, index, length);
}
}
} | 2.044258 | c86770fd019e5af4db04f7bd7e6b6642 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cblackuk/Partner-Center-PowerShell",
"max_stars_repo_path": "test/PowerShell.Tests/Commands/PartnerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163781"
} | starcoder | <reponame>cblackuk/Partner-Center-PowerShell
// -----------------------------------------------------------------------
// <copyright file="PartnerTests.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ---------------------------------------------------------... | 1.923161 | 58743a4ffcfa7ebcc079dbcae4ea40d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844562 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CartBlanche/wa-toolkit-games",
"max_stars_repo_path": "code/SocialGames.Web/Services/HttpContextUserProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163782"
} | starcoder | <filename>code/SocialGames.Web/Services/HttpContextUserProvider.cs<gh_stars>1-10
namespace Microsoft.Samples.SocialGames.Web.Services
{
using System.Linq;
using System.Web;
using Microsoft.IdentityModel.Claims;
public class HttpContextUserProvider : IUserProvider
{
public string UserId
... | 2.346673 | 6f6727720f1b04cd3605169d3b1c23e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844563 | {
"extension": "c-sharp",
"max_stars_count": "490.0",
"max_stars_repo_name": "json-api-dotnet/JsonApiDotNetCore",
"max_stars_repo_path": "test/JsonApiDotNetCoreTests/IntegrationTests/IdObfuscation/DebitCardsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163783"
} | starcoder | <gh_stars>100-1000
using JsonApiDotNetCore.Configuration;
using JsonApiDotNetCore.Services;
using Microsoft.Extensions.Logging;
namespace JsonApiDotNetCoreTests.IntegrationTests.IdObfuscation
{
public sealed class DebitCardsController : ObfuscatedIdentifiableController<DebitCard>
{
public DebitCardsCon... | 1.401546 | e4424da10ab6927e0a7fdbcf6819b499 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844564 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "GetcuReone/FactFactory",
"max_stars_repo_path": "FactFactory/FactFactoryTests/FactContainer/FactContainerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163784"
} | starcoder | <reponame>GetcuReone/FactFactory
using FactFactory.TestsCommon;
using FactFactory.TestsCommon.Helpers;
using FactFactoryTests.CommonFacts;
using FactFactoryTests.FactFactoryT.Helpers;
using GetcuReone.FactFactory.Constants;
using GetcuReone.FactFactory.Interfaces;
using GetcuReone.GetcuTestAdapter;
using GetcuReone.Gw... | 2.15529 | 41b14307f9798f6bc17f73d90c122520 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844565 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jojdzino/ooans",
"max_stars_repo_path": "OOANS/Observer/IObserver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163785"
} | starcoder | <filename>OOANS/Observer/IObserver.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OOANS.Observer
{
public interface IObserver
{
void Update(Message message);
}
}
| 2.059771 | b645bfde6180e68821f29733163dd79d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeStiCap/Dim-Mind",
"max_stars_repo_path": "Global Game Jam 2020/Library/PackageCache/com.dsc.actor@900269120db5276794759bcad0dec52537e6f458/Scripts/Cores/BaseActorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163786"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace DSC.Actor
{
public abstract class BaseActorController<ActorData,Behaviour> : MonoBehaviour where Behaviour : BaseActorBehaviour<ActorData>
{
/// <summary>
/// Actor Data in this controller.
/// </summary>
public abs... | 2.75332 | 321a4e4f9f1e3ae74cd7dcd6471f7c3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844567 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sandreas/atldotnet",
"max_stars_repo_path": "ATL/Entities/MetadataHolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163787"
} | starcoder | using ATL.AudioData;
using Commons;
using System;
using System.Collections.Generic;
using System.Text;
using static ATL.TagData;
namespace ATL
{
/// <summary>
/// Represents a set of metadata (abstract; use TagHolder if you're looking for the instanciable class)
/// </summary>
public abstract class Met... | 2.575824 | 7fcf631e52b08164610be278332e3b6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844568 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Infosys/Script-Control-Center",
"max_stars_repo_path": "ScriptDevelopmentTool/ScintillaNET/MarginType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163788"
} | starcoder | <reponame>Infosys/Script-Control-Center
/****************************************************************
Copyright 2021 Infosys Ltd.
Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at
http://www.apache.org/licenses/
****************************************... | 1.489002 | c8750a4303cd341bb411414928d07808 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844569 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jpdamatos/Gemini",
"max_stars_repo_path": "Gemini-Unity/Assets/Gemini/Scripts/Networking/Clients/NavClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163789"
} | starcoder | <filename>Gemini-Unity/Assets/Gemini/Scripts/Networking/Clients/NavClient.cs
using UnityEngine;
using Gemini.EMRS.Core;
using UnityEngine.Rendering;
using Navigation;
using Gemini.Core;
using Grpc.Core;
using System;
public class NavClient : Sensor
{
private Navigation.Navigation.NavigationClient _navigationCli... | 1.851683 | 8ccfd2be4d5d1110deae01a3019488a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JerzyKruszewski/SampleDatabaseApp",
"max_stars_repo_path": "SampleDatabaseApp.Services/Interfaces/IProductService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163790"
} | starcoder | <gh_stars>0
using SampleDatabaseApp.Model.Objects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SampleDatabaseApp.Services.Interfaces
{
public interface IProductService
{
public Task<ICollection<Product>> GetAll();
... | 1.988519 | 48f6a031b3673c61ef81408ecc23787f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GyuCheol/konito_project",
"max_stars_repo_path": "src/konito_project.Tests/Validation/DataValidationTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163791"
} | starcoder | using System;
using konito_project.Model;
using konito_project.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace konito_project.Tests.Validation {
[TestClass]
public class DataValidationTest {
[TestMethod]
public void Test_Validate_Client() {
var client = new Cl... | 2.34965 | 5c16b6c4631bab1cbaf35fe39ac454d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Radek12345/PortfolioVehicles",
"max_stars_repo_path": "PortfolioVehicles.API/Controllers/Resources/MakeResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163792"
} | starcoder | using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace PortfolioVehicles.API.Controllers.Resources
{
public class MakeResource : BaseResource
{
public ICollection<BaseResource> Models { get; set; } =
new Collection<BaseResource>();
}
} | 1.8569 | 3b33e6a2af74e063fee0465a922638ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ayasman/PythonScriptingEngine",
"max_stars_repo_path": "ScriptingEngineTests/PythonTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163793"
} | starcoder | <reponame>ayasman/PythonScriptingEngine
using System;
using Xunit;
namespace ScriptingEngineTests
{
public class PythonTests
{
[Fact]
public void Test1()
{
}
}
}
| 1.003334 | fea1b4a68e8fbef5263bf4505f2bd9d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexiMinor/HTP-Samples",
"max_stars_repo_path": "DelegatesAndEventsSample/DelegatesAndEventsSample/Delegates/Delegates.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163794"
} | starcoder | <reponame>AlexiMinor/HTP-Samples
namespace DelegatesAndEventsSample.Delegates
{
public delegate double Operation(int x, int y);
} | 1.449441 | 96863205f74687ddfdac63690bf5308b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844575 | {
"extension": "c-sharp",
"max_stars_count": "251.0",
"max_stars_repo_name": "Coredat/yuniql",
"max_stars_repo_path": "yuniql-core/YuniqlMigrationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163795"
} | starcoder | <filename>yuniql-core/YuniqlMigrationException.cs
using System;
namespace Yuniql.Core
{
/// <summary>
/// Custom exception thrown within yuniql migration.
/// </summary>
public class YuniqlMigrationException: ApplicationException
{
/// <summary>
/// Custom exception thrown within y... | 2.543239 | 3356c686b4391c322f2964d39b5c0d9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844576 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/libraries/System.Private.CoreLib/src/System/Reflection/Binder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163796"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Globalization;
namespace System.Reflection
{
public abstract class Binder
{
protected Binder() { }
public abstract FieldInfo BindToField(
... | 2.206303 | 9921f66d652d0cce38695b7346863545 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kwaclaw/KdSoft.Services",
"max_stars_repo_path": "Shared Models/KdSoft.Data.Models.Shared.Security/UserRole.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163797"
} | starcoder | <filename>Shared Models/KdSoft.Data.Models.Shared.Security/UserRole.cs
namespace KdSoft.Data.Models.Shared.Security
{
public class UserRole
{
public int UserRef { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
}
| 1.829876 | 7a8c273b05b0624b0bde864264e4036c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asmorger/cash",
"max_stars_repo_path": "src/Cash.Core.Tests/Models/MethodInfoWithNullDeclaringType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163798"
} | starcoder | <gh_stars>0
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Reflection;
namespace Cash.Core.Tests.Models
{
[ExcludeFromCodeCo... | 1.71453 | b1ed96545527c962a670539965e3dbe3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844579 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CNU-Core/Core",
"max_stars_repo_path": "Assets/ARStudy/Scripts/Surface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163799"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using GoogleARCore;
public class Surface : MonoBehaviour {
// 바닥 인식된 Point의 정보를 가져오는 변수
public DetectedPlane detectedPlane;
// 인식된 바닥에 Mesh Render하여 가상의 바닥을 입혀줌.
MeshRenderer meshRenderer;
// 생성된 바닥에 콜라이더를 씌우기 위한 변수
MeshCollider ... | 2.408802 | 17ba5fe42c60c25170b3729178aa2276 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmikhailov/DotNextDemo",
"max_stars_repo_path": "DotNextRZD.PublicApi/Model/CityModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163800"
} | starcoder | namespace DotNextRZD.PublicApi.Model
{
public class CityModel
{
/// <summary>
/// Id of the city
/// </summary>
public int Id { get; set; }
/// <summary>
/// Translated to current language name of airport
/// </summary>
public string Name... | 2.342392 | bafe38c2a20edeeac2e65e8a9cf80a94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raphacatalano/Projeto-E-commerce-Em-Casa-Com-Estilo",
"max_stars_repo_path": "ECCE/ECCE/Models/EnderecoModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163801"
} | starcoder | <reponame>raphacatalano/Projeto-E-commerce-Em-Casa-Com-Estilo
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ECCE.Models
{
public class EnderecoModel
{
tb_endereco tb_endereco { get; set; }
}
... | 1.691748 | d84c3c5c0effe97b161c196d4d1f021c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844582 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "kkozmic/Cartographer",
"max_stars_repo_path": "src/Cartographer.Tests/ContainerIntegration/WindsorIntegrationSettingsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163802"
} | starcoder | <reponame>kkozmic/Cartographer
namespace CartographerTests.ContainerIntegration
{
using System;
using Cartographer;
using Cartographer.Compiler;
using CartographerFacility;
using CartographerTests.Types;
using Castle.Facilities.TypedFactory;
using Castle.MicroKernel.Registration;
using Castle.MicroKern... | 1.51486 | 4f49ed6b8303e44f75af1a129346041d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844583 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0x4d4147/ali-tale",
"max_stars_repo_path": "Assets/Scripts/Main Menu/MainMenuController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163803"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class MainMenuController : MonoBehaviour
{
public GameObject mainMenu;
public GameObject howToPlay;
public GameObject credits;
public MainMenuButton mainMenuFirstSelected;
public ... | 2.024846 | 5af687870224a3f0be0ff3770ac37307 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844584 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vivekjain19/Thinktecture.EntityFrameworkCore",
"max_stars_repo_path": "src/Thinktecture.EntityFrameworkCore.SqlServer/EntityFrameworkCore/TempTables/SqlServerTempTableReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163804"... | starcoder | using System;
using System.Data;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.Extensions.Logging;
namespace Thinktecture.Entity... | 2.50739 | 2d30889ddeeb8d9789a4b25a05ff9e32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844585 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nitrocaster/ListPlayers",
"max_stars_repo_path": "src/PcdbModel/PcdbRevision.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163805"
} | starcoder | /*
====================================================================================
This file is part of ListPlayers, the open-source S.T.A.L.K.E.R. multiplayer
statistics organizing tool for game server administrators.
Copyright (C) 2013 <NAME>.
You should have received a copy of the MIT License along with ListP... | 2.120191 | 92235f31ae843c849fb1ec0ddcfe146b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomaskrupka/WebScrapingServices",
"max_stars_repo_path": "src/Gripper.ChromeDevTools/Overlay/ContrastAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163806"
} | starcoder | namespace Gripper.ChromeDevTools.Overlay
{
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
/// <summary>
/// ContrastAlgorithm
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum ContrastAlgorithm
{
[EnumMember... | 1.826609 | 5bfc5e1fb329594cae46bc07a6498a61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844587 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NeilQ/Netcool.EventBus",
"max_stars_repo_path": "src/Netcool.EventBus.Mqtt/EventBusMqttOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163807"
} | starcoder | namespace Netcool.EventBus.Mqtt
{
public class EventBusMqttOptions: EventBusOptions
{
public string ClientId { get; set; }
public bool CleanSession { get; set; }
public string TcpIp { get; set; }
public int TcpPort { get; set; }
public string Username... | 1.630142 | ae1e9c64bfc59fe62ae726d77ca9484b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844588 | {
"extension": "c-sharp",
"max_stars_count": "199.0",
"max_stars_repo_name": "gdesai1234/OctopusDeploy-Api",
"max_stars_repo_path": "Octopus.Client/Csharp/Projects/DeleteProjectsWithoutDeploymentProcess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163808"
} | starcoder | <gh_stars>100-1000
// If using .net Core, be sure to add the NuGet package of System.Security.Permissions
// Reference Octopus.Client
//#r "path\to\Octopus.Client.dll"
using Octopus.Client;
using Octopus.Client.Model;
// Declare working varibles
var octopusURL = "https://youroctourl";
var octopusAPIKey = "API-YOURAP... | 2.500429 | 3879c42695f7de9e0e05a2b1768c2248 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hris-sys/MedApp",
"max_stars_repo_path": "ToDo/ToDo.Data/ModelsConfiguration/MessageConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163809"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ToDo.Data.Models;
namespace ToDo.Data.ModelsConfiguration
{
public class MessageConfiguration : IEntityTypeConfiguration<Message>
{
publi... | 2.276194 | 09de8022d854d5ac21b63ab4835d310b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844590 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/V/VAppOvfSectionInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163810"
} | starcoder | namespace EnvironmentAssessment.Common.VimApi
{
public class VAppOvfSectionInfo : DynamicData
{
protected int? _key;
protected string _namespace;
protected string _type;
protected bool? _atEnvelopeLevel;
protected string _contents;
public int? Key
{
get
{
return this._key;
}
set
{
... | 1.506209 | fa83c31bc6b77965e59383532b792030 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844591 | {
"extension": "c-sharp",
"max_stars_count": "557.0",
"max_stars_repo_name": "Manny27nyc/stripe-dotnet",
"max_stars_repo_path": "src/Stripe.net/Entities/PaymentMethods/PaymentMethodBoleto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163811"
} | starcoder | // File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;
public class PaymentMethodBoleto : StripeEntity<PaymentMethodBoleto>
{
/// <summary>
/// Uniquely identifies the customer tax id (CNPJ or CPF).
/// </summary>
[JsonProperty("tax_id")]
p... | 2.092694 | da34b02087c0037df0cb781fa35cca10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rjnilsson/nunit",
"max_stars_repo_path": "src/NUnitFramework/framework/Internal/Execution/EventPump.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163812"
} | starcoder | <filename>src/NUnitFramework/framework/Internal/Execution/EventPump.cs<gh_stars>0
// ***********************************************************************
// Copyright (c) 2006 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation fi... | 2.48541 | 3618036c29a2d52d49a5e62b2c354c47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dreamykass/random-uni-work",
"max_stars_repo_path": "2021-04-29--agents/agents-app/Code/Buyer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163813"
} | starcoder | using System.Collections.Generic;
using System.Linq;
namespace agents_app.Code
{
public class Buyer
{
public Computer GetComputer()
{
var userInputParameters = World.UserInputParameters;
var computersSuggestedBySellers = new List<Computer>();
World.Sellers.... | 3.054545 | 3a0079c4d3c84b15a1dd2a4f38aa5524 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DoctorONE007/Fostapp",
"max_stars_repo_path": "ShoppingCarts/ShoppingCarts/Helpers/Interface/IDNSUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163814"
} | starcoder | <reponame>DoctorONE007/Fostapp<gh_stars>0
using System.Collections.Generic;
using System.Net;
namespace ShoppingCarts.Helpers.Interface
{
public interface IDNSUtils
{
List<IPEndPoint> GetDnsServers();
}
}
| 1.294196 | 6ca110d76bb02b17b2bca9ab51864a05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844595 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiogoBarbosaSilvaSousa/csharp-testes-de-unidade-e-tdd-com-xunit",
"max_stars_repo_path": "Curso/Alura.LeilaoOnline/Alura.LeilaoOnline.Tests/LeilaoRecebeLance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163815"
} | starcoder | using Xunit;
using Alura.LeilaoOnline.Core;
using System.Linq;
namespace Alura.LeilaoOnline.Tests
{
public class LeilaoRecebeLance
{
[Fact]
public void NaoAceitaProximoLanceDadoMesmoRealizouUltimoLance()
{
//Arranje - cenário
var modalidade = new MaiorValor();
... | 2.856132 | 9d6a45b4f7f085bf3e60bace4bb85fae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yifeidong/PrivateSmartHome",
"max_stars_repo_path": "RomoteServer/AnJiaWebServer_V1/JsonHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163816"
} | starcoder | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AnJiaWebServer_V1
{
public static class JsonHelper
{
//构思
// 生成Json格式的返回
//统一Json返回格式,方便使用
public static JObject JRes... | 2.296976 | 3ae871771bea9c1548b075fcd5941061 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844597 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kruzifix/Klaesh-Proto",
"max_stars_repo_path": "unity/Assets/Code/Editor/HexMapEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163817"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using Klaesh.Hex;
[CustomEditor(typeof(HexMap))]
public class HexMapEditor : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
var map = (HexMap)target;
GUILayout.L... | 2.284582 | 8a1753e3a278628f5a6ba9eb2bb271e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "king052188/Load4wrd_Service",
"max_stars_repo_path": "load4wrd_service/l4dhelper/Notification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163818"
} | starcoder | <filename>load4wrd_service/l4dhelper/Notification.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using l4dhelper.Data.MySqlClient;
namespace l4dhelper
{
public class Notification
{
internal MySqlQuery mysqlQuery;
public s... | 2.672668 | 7cb154ef257d62d203775273daef0235 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomi901/Random-Unity-Stuff",
"max_stars_repo_path": "Assets/Tower/PolarCollider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163819"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace TowerGame.Physics
{
public abstract class PolarCollider : MonoBehaviour
{
private PolarCoordsTransform polarTransform;
public PolarCoordsTransform PolarTransform
{
get
{
if (polarTransform == null) polar... | 1.915755 | 2cfea26df473f16b2d870ea887c69ba8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844600 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eugercek/Currency-Worker",
"max_stars_repo_path": "src/Services/Contracts/IFetchData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163820"
} | starcoder | namespace CurrencyWorker.Services.Contracts
{
public interface IFetchData<T>
{
void DownloadData();
T ReturnData();
}
} | 2.004807 | 88337e4ea5cafcdbafe1167a5877e43a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844601 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SaladbowlCreative/LumberjackClient",
"max_stars_repo_path": "core/LumberjackClient/CircularBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163821"
} | starcoder | <reponame>SaladbowlCreative/LumberjackClient
using System;
namespace LumberjackClient
{
internal class CircularBuffer
{
public class Item
{
public byte[] Buffer;
public int Offset;
public int DataCount;
public int LastSequence;
}
... | 2.767505 | 9d923ff64a227e1e919e5b27bb1a93de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cygnut/Poco",
"max_stars_repo_path": "Poco.Core/Poco.Core/Configuration/AppConfigReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163822"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Configuration;
namespace Poco.Core.Configuration
{
class AppConfigReader
{
public class AppConfigException : Exception
{
public AppConfigException(string mes... | 2.913404 | 8e83968aabe01f6161e19901f0f86293 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844603 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1718-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Rules.Tests/Query/DateTimeQueryServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163823"
} | starcoder | using ESFA.DC.ILR.ValidationService.Rules.Query;
using FluentAssertions;
using System;
using Xunit;
namespace ESFA.DC.ILR.ValidationService.Rules.Tests.Query
{
public class DateTimeQueryServiceTests
{
[Theory]
[InlineData("1988-2-10", "2018-1-18", 29)]
[InlineData("1988-2-10", "2018-2-... | 2.212579 | 34b4e2916683fe6b3af43a2f4d0e27e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844604 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "adospace/reactorui-maui",
"max_stars_repo_path": "src/MauiReactor/Grid.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163824"
} | starcoder | // <auto-generated />
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using MauiReactor.Animations;
using MauiReactor.Shapes;
using MauiReactor.Internals;
#nullable enable
namespace MauiReactor
{
public partial interface IGrid : ILayou... | 2.004107 | f5d54f2cd1a12e33b0403e5b5cd18649 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BingoRoom/BingoX",
"max_stars_repo_path": "src/BingoX/BingoX.DataAccessor.SqlSugar/SqlSugarDbEntityInterceptManagement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163825"
} | starcoder | <gh_stars>0
using System.Linq;
using BingoX.Helper;
using System;
using System.Collections.Generic;
namespace BingoX.DataAccessor.SqlSugar
{
/// <summary>
/// 数据库拦截器管理器
/// </summary>
public class SqlSugarDbEntityInterceptManagement : DbEntityInterceptManagement
{
public SqlSugarDbEntityI... | 2.118891 | 3046af220ad860c2f48117d7ab3d931f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844606 | {
"extension": "c-sharp",
"max_stars_count": "296.0",
"max_stars_repo_name": "tenghui-kooboo/Kooboo",
"max_stars_repo_path": "Kooboo.HttpServer/src/Kooboo.HttpServer/Http/Features/HttpRequestFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163826"
} | starcoder | using System.IO;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Internal;
using System;
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Extensions.Primitives;
using Microsoft.Net.Http.Headers;
using System.Collections.Generic;
namespace Kooboo.HttpServer.Http
{
public class HttpRequestF... | 2.288978 | 6e59eb6888e9b9982f0cd7f44586f314 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844607 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "carrs-q/ADS-Driving-Simulator",
"max_stars_repo_path": "Assets/Scripts/Network/SimulationContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163827"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class SimulationContent{
private string rootFolder;
private string completePath;
private bool ready;
private List<MyFile> fileList;
private string projectName;
private string url;
private bool proj... | 2.599621 | 79c5e6f7328b4ef89df55c91fc1aa59a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844608 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mihasic/LuceneSearch",
"max_stars_repo_path": "src/LuceneSearch/BooleanIndexQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163828"
} | starcoder | namespace LuceneSearch
{
using Lucene.Net.Search;
public class BooleanIndexQuery : IndexQuery
{
private readonly BooleanQuery _query;
public BooleanIndexQuery() : base(new BooleanQuery()) =>
_query = (BooleanQuery) Query;
public BooleanIndexQuery Add(IndexQu... | 2.348226 | 33974d69cd5227bdfe0946220c706151 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844609 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CodeyWinslow/optimized-learning-vr",
"max_stars_repo_path": "OSGC_UI/Assets/Scripts/Tutorial/Alpha/IntermediateProcedureTutorial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163829"
} | starcoder | <filename>OSGC_UI/Assets/Scripts/Tutorial/Alpha/IntermediateProcedureTutorial.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class IntermediateProcedureTutorial : ProcedureBase
{
List<TriggerResponse>.Enumerator currentTask;
List<TriggerResponse>... | 2.118795 | 96257a92d154f22a05c371ec107e34fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844610 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Bloomerang/elasticsearch-net",
"max_stars_repo_path": "src/Tests/Nest.Tests.Unit/Core/Domain/Connection/ConnectionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163830"
} | starcoder | <reponame>Bloomerang/elasticsearch-net
using Elasticsearch.Net;
using Elasticsearch.Net.Connection;
using NUnit.Framework;
using System;
using System.Collections.Specialized;
namespace Nest.Tests.Unit.Domain.Connection
{
using System.Net;
[TestFixture]
public class ConnectionTests : BaseJsonTests
{
[Test]
pu... | 1.993536 | f839498677b346e475256129e83e7e51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Floogen/CosmeticRings",
"max_stars_repo_path": "CosmeticRings/Framework/ModConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:163831"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CosmeticRings.Framework
{
public class ModConfig
{
public int walkingSpeed = 6;
}
}
| 1.408874 | 17973e3a901945db91c2abbce7aa57a2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.