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 | 8844884 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "jonsequitur/Its.Configuration",
"max_stars_repo_path": "Configuration.Tests/Test classes/DependentFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164104"
} | 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.ComponentModel;
using System.ComponentModel.Composition;
using System.Threading;
namespace Its.Configuration.Tests.Recipes
{
[E... | 2.042737 | a09bd04aae90f778ac97ac21d8d05df1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844885 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "erhan11040/Csharp-MVC-TennisCourt-RentApp",
"max_stars_repo_path": "TenisKortProjesi/TenisKortProjesi/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164105"
} | starcoder | <reponame>erhan11040/Csharp-MVC-TennisCourt-RentApp
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(TenisKortProjesi.Startup))]
namespace TenisKortProjesi
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
... | 1.349655 | e0eb79327fa78cb30b5d53a623288def |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844886 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BlueMonk1107/SushiNinja",
"max_stars_repo_path": "Assets/Scripts/Endless/LoadBGEndless.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164106"
} | starcoder | <filename>Assets/Scripts/Endless/LoadBGEndless.cs
using UnityEngine;
using System.Collections;
public class LoadBGEndless : MonoBehaviour
{
public void OnBecameVisible()
{
transform.parent.position = transform.position;
}
}
| 1.540598 | 2c9b08e9a51eab467f9a9a47e37346b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kapatchie/FileMover",
"max_stars_repo_path": "ConsoleUI/FileManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164107"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
namespace ConsoleUI
{
static class FileManager
{
public static bool checkDestination(bool createDestination, string path)
{
if (createDestination)
{
... | 2.870281 | 749d2a6f5012b2235de34806ddf912ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844888 | {
"extension": "c-sharp",
"max_stars_count": "216.0",
"max_stars_repo_name": "ThomasBleijendaal/RapidCMS",
"max_stars_repo_path": "src/RapidCMS.UI/Components/Sections/BaseRootSectionPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164108"
} | starcoder | <filename>src/RapidCMS.UI/Components/Sections/BaseRootSectionPage.cs
using System.Threading;
using System.Threading.Tasks;
using RapidCMS.Core.Enums;
namespace RapidCMS.UI.Components.Sections
{
public abstract partial class BaseRootSection
{
protected async Task LoadPageDataAsync(CancellationToken can... | 2.141112 | c56d01fc1fdca9a00dafc92d6b88dee1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844889 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "chenbojian/ActiveRecord",
"max_stars_repo_path": "src/Castle.ActiveRecord.Tests/Model/Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164109"
} | starcoder | <reponame>chenbojian/ActiveRecord
// Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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/l... | 2.130773 | 20e09985c9fba07153d00ad852681e22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NarikMe/narik-asp-core-api-demo",
"max_stars_repo_path": "Modules/NarikDemo.Modules.Demo/_Business/BusinessViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164110"
} | starcoder | <filename>Modules/NarikDemo.Modules.Demo/_Business/BusinessViewModel.cs<gh_stars>0
using Narik.Common.Shared.Interfaces;
using System.ComponentModel.DataAnnotations;
namespace NarikDemo.Modules.Demo._Business
{
public partial class BusinessViewModel : INarikViewModel
{
public long ViewModelId { get => ... | 2.005397 | 7ee37ed8bc9b7e1ffbdddf8014941ffa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "idandtrust/goodid-dotnet-sdk",
"max_stars_repo_path": "src/Helpers/Response/TokenExtractor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164111"
} | starcoder | <gh_stars>0
///
/// Copyright 2017 ID&Trust, Ltd.
///
/// You are hereby granted a non-exclusive, worldwide, royalty-free license to
/// use, copy, modify, and distribute this software in source code or binary form
/// for use in connection with the web services and APIs provided by ID&Trust.
///
/// As with any softw... | 2.107931 | 418a196d02f2d06056668d0e8dcdf352 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844892 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "zacuke/HttpMessageSigning",
"max_stars_repo_path": "src/HttpMessageSigning.Verification/IClaimsPrincipalFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164112"
} | starcoder | using System.Security.Claims;
namespace Dalion.HttpMessageSigning.Verification {
/// <summary>
/// Represents an object that creates authenticated principal, after successful signature verification.
/// </summary>
public interface IClaimsPrincipalFactory {
/// <summary>
/// Crea... | 2.552218 | c453a8fb34875af6524fcd2281942311 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844893 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "havit/HavitFramework",
"max_stars_repo_path": "Havit.Data.Entity6.CodeGenerator/Services/IFileNamingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164113"
} | starcoder | <gh_stars>10-100
namespace Havit.Data.Entity.CodeGenerator.Services
{
public interface IFileNamingService<TModel>
{
string GetFilename(TModel model);
}
} | 1.524448 | 9e23bdd63931ef2adb15a864e29ccd78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844894 | {
"extension": "c-sharp",
"max_stars_count": "356.0",
"max_stars_repo_name": "ProfTHC/accord-net-extensions",
"max_stars_repo_path": "Source/ImageProcessing/Imaging.Algorithms/AnnotationDatabase/Annotation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164114"
} | starcoder | #region Licence and Terms
// Accord.NET Extensions Framework
// https://github.com/dajuric/accord-net-extensions
//
// Copyright © <NAME>, 2014-2015
// <EMAIL>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as publis... | 2.639291 | 250de26df856c2274af19dfc891d2bc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Damian-JM/UnityProject01",
"max_stars_repo_path": "Assets/Scripts/ParticleBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164115"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ParticleBehavior : MonoBehaviour
{
[SerializeField] ParticleSystem shipThrusterParticles_01;
[SerializeField] ParticleSystem shipThrusterParticles_02;
private void Update()
{
//shipThrusterP... | 2.17285 | 1e8ff05f39ad67756c9fa78a3a5ac0d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dolittle/DotNET.Runtime",
"max_stars_repo_path": "Source/EventHorizon/EventHorizonConsent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164116"
} | starcoder | <reponame>dolittle/DotNET.Runtime
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Dolittle.Runtime.Domain.Platform;
using Dolittle.Runtime.Domain.Tenancy;
using Dolittle.Runtime.Events.Store.EventHorizon;
using ... | 1.70662 | 59e616bd6665edecd3b8580d7bbd52f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844897 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "MagnusMikkelsen/MotorolaCoreScannerNet",
"max_stars_repo_path": "MotorolaSnapi/Attributes/Code32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164117"
} | starcoder | <reponame>MagnusMikkelsen/MotorolaCoreScannerNet
/*Copyright (c) 2015 Fortelinea
/
/See the file license.txt for copying permission
*/
using CoreScanner;
using Motorola.Snapi.Constants.AttributeNumbers;
using Motorola.Snapi.Constants.Enums;
namespace Motorola.Snapi.Attributes
{
/// <summary>
/// Provides ... | 2.263685 | 91e19ce25d2fa40e79c557a3c0bed99e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844898 | {
"extension": "c-sharp",
"max_stars_count": "4036.0",
"max_stars_repo_name": "timoles/codeql",
"max_stars_repo_path": "csharp/ql/test/query-tests/API Abuse/FormatInvalid/FormatInvalidGood.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164118"
} | starcoder | using System;
class Good1
{
string GenerateEmptyClass(string c)
{
return string.Format("class {0} {{ }}", "C");
}
}
| 2.414989 | 4de5a8c4a0efa1b1f90db27256cfa37a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844899 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "bbqchickenrobot/IL2JS",
"max_stars_repo_path": "Reactive/ThreadingTests/test/ConcurrentDictionaryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164119"
} | starcoder | <reponame>bbqchickenrobot/IL2JS
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
// CDS namespaces
using System.Collections.Concurrent;
namespace plinq_devtests
{
internal static class ConcurrentDictionaryTests
{
internal static bool RunConcurrentDictionaryTes... | 2.088456 | 7aa8e7daf3299adca7199d82dcc810df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Brandon-Mark-Enterprises/HeapKeeper",
"max_stars_repo_path": "HeapKeeper/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164120"
} | starcoder | @using HeapKeeper
@namespace HeapKeeper.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.49424 | 2ae5339cbfcfce907b8dc8849148f436 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844901 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Nimistren/csharp-examples",
"max_stars_repo_path": "hide-caret/HideCaret/frmHideCaret.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164121"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace HideCaret
{
public partial class frmHideCaret : Form
{
public frmHideCaret()
{
InitializeComponent();
... | 2.723603 | b543dff3b706163693ea951005d62205 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844902 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SwingCosmic/DynamicJson",
"max_stars_repo_path": "Demo/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164122"
} | starcoder | using System;
using System.Text.Json;
using LoveKicher.DynamicJson;
namespace Demo
{
class Program
{
static void Main(string[] args)
{
var json =
@"{
'numberValue': 9876547210.33,
'boolValue': false,
'array': [
null,
'someText',
{
'... | 2.96619 | 466d05e9d4985a4f6fbef94dbb4a0d42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844903 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/importer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164123"
} | starcoder | <reponame>rgwood/go2cs
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// package gcexportdata -- go2cs converted at 2020 October 09 06:02:21 UTC
// import "golang.org/x/tools/go/gcexportdata" ==> using gcexp... | 1.625038 | af8c4ab3b3ed2744c276e624fd539db3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844904 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niku-live/UncommonSense.CBreeze",
"max_stars_repo_path": "CBreeze/UncommonSense.CBreeze.Core/Property/Enumeration/FieldClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164124"
} | starcoder | namespace UncommonSense.CBreeze.Core.Property.Enumeration
{
public enum FieldClass
{
Normal,
FlowField,
FlowFilter,
}
}
| 1.259707 | 9a8d4009c0ab6c43b97da0adfee318d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844905 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Labae-CK/CK_2-2-Game_Engine_Programming",
"max_stars_repo_path": "Assets/Game/Scripts/Manager/GameManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164125"
} | starcoder | <gh_stars>0
using UnityEngine;
public class GameManager : MonoBehaviour
{
public static GameManager Instance;
[SerializeField] private CameraManager _cameraManager;
[SerializeField] private SelectionManager _selectionManager;
[SerializeField] private Core _core;
private void Awake()
{
... | 2.067907 | 835791742e16c48f878294950acff8ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844906 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yanyitec/Yanyitec.Core",
"max_stars_repo_path": "Yanyitec.Core/DI/InjectAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164126"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Yanyitec.DI
{
public class InjectAttribute:Attribute
{
}
}
| 1.324524 | aca0e1d0fe33f400f98e3271a35ee0d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philipdnichols/CookingGame",
"max_stars_repo_path": "Assets/Scripts/Models/World.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164127"
} | starcoder | using System;
using System.Collections.Generic;
public class World {
#region Fields
Tile[,] tiles;
Character mainCharacter; // TODO: Not sure if this is how I want to do this...
List<Character> characters;
int width;
int height;
#endregion
#region Properties
public int Widt... | 3.222565 | a80b850afd1e1fdf86cba1aa4181a4da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844908 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UoA-eResearch/vr_samples",
"max_stars_repo_path": "Assets/VRSampleScenes/Scripts/Flyer/FlyerGameController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164128"
} | starcoder | using System.Collections;
using UnityEngine;
using UnityEngine.UI;
using VRStandardAssets.Utils;
namespace VRStandardAssets.Flyer
{
// This script controls the flow of the flyer
// game and how all the other controllers work
// together.
public class FlyerGameController : MonoBehaviour
{... | 2.386903 | 09e8a07e6fd214bf43d948de407af9ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844909 | {
"extension": "c-sharp",
"max_stars_count": "112.0",
"max_stars_repo_name": "alenros/Equals",
"max_stars_repo_path": "ReferencedDependency/IdObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164129"
} | starcoder | using System;
public class IdObject :
DomainObject
{
public Guid Id { get; set; }
public bool IsEmpty()
{
return Id == Guid.Empty;
}
} | 2.219361 | d8cd78d10d27e0c149f849f0370bd3e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "whitestrannik/ALittleBigBlog",
"max_stars_repo_path": "src/ALittleBigBlog/Models/Tag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164130"
} | starcoder | <filename>src/ALittleBigBlog/Models/Tag.cs
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ALittleBigBlog.Models
{
public sealed class Tag
{
public long TagId { get; set; }
[Required]
public string Name { get; set; }
public ICollection... | 2.355147 | cb403594dd2923233e9dff2a0c1abfc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844911 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "imperugo/Dexter-Blog-Engine",
"max_stars_repo_path": "src/Dexter.Data.Raven/Services/EmailNotificationDataService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164131"
} | starcoder | <gh_stars>1-10
#region Disclaimer/Info
// ////////////////////////////////////////////////////////////////////////////////////////////////
// File: EmailNotificationDataService.cs
// Website: http://dexterblogengine.com/
// Authors: http://dexterblogengine.com/aboutus
// Created: 2012/12/31
// Last edit: 2013/01... | 2.051308 | b4c808625c2c604149c0fdf70ca01354 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844912 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danieldamianov/ChessWebApplication",
"max_stars_repo_path": "src/ChessSystem/Infrastructure/Identity/ChessAppUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164132"
} | starcoder | namespace Infrastructure.Identity
{
using Microsoft.AspNetCore.Identity;
public class ChessAppUser : IdentityUser
{
}
}
| 1.199588 | af5e9fcba1bd1ef86e1b56c1605bec6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844913 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "mjgpinheiro/Core",
"max_stars_repo_path": "Quantler.Tests/Indicators/ExponentialMovingAverageTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164133"
} | starcoder | <filename>Quantler.Tests/Indicators/ExponentialMovingAverageTests.cs
#region License Header
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... | 2.205848 | b5aa817d42338dcd006e41d9b505dd73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sixtymage/project-euler",
"max_stars_repo_path": "problem-12/CombinationCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164134"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace problem_12
{
public static class CombinationCalculator
{
public static int CalcCombinations(int n, int k)
{
int a = 1;
int m = n;
while (m>k)
{
a *=... | 3.202457 | 4038f837414ffc7e99d0c238b71ade6b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844915 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "koimiyovo/Building-Rest-Api-Netcore",
"max_stars_repo_path": "LandonAPI/Models/RootResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164135"
} | starcoder | using LandonAPI.Models;
namespace LandonAPI.Controllers
{
internal class RootResponse : Resource
{
public Link Rooms { get; set; }
public Link Info { get; set; }
}
} | 1.385372 | 4c5e5b8ce8b2294ef3cdb871b2053e09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844916 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ahydrax/mumble-telegram-bot",
"max_stars_repo_path": "src/Web/Controllers/ApiController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164136"
} | starcoder | <filename>src/Web/Controllers/ApiController.cs
using System;
using System.Threading.Tasks;
using KNFA.Bots.MTB.Services.Mumble;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace KNFA.Bots.MTB.Controllers
{
[AllowAnonymous]
[ApiController]
[Route("api")]
public class A... | 2.080703 | a1fb3e2308e0e85565a86f9d881277d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844917 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yyaddaden/oop-ii-intro-demo",
"max_stars_repo_path": "Demonstrations/Course_14/WelcomeAppWithMVVM_EF-Core/WelcomeAppWithMVVM_EF-Core/ViewModels/WelcomeViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164137"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
namespace WelcomeAppWithMVVM_EF_Core.ViewModel... | 2.894669 | 94e834898cf37b65ec5fd7f5dae094c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844918 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Misterinecompany/DryIoc.Transactions",
"max_stars_repo_path": "src/DryIoc.Facilities.NHibernate/UnitOfWork/NHibernateImplictUnitOfWork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164138"
} | starcoder | using NHibernate;
namespace DryIoc.Facilities.NHibernate.UnitOfWork
{
public class NHibernateImplictUnitOfWork : IUnitOfWork
{
public NHibernateImplictUnitOfWork(ISession session)
{
CurrentSession = session;
}
public ISession CurrentSession { get; }
public void Dispose()
{
CurrentSession.Dispose... | 2.232477 | 488d7ba2abd7cbfa01c3dc8154a8bb20 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bringfireh/QuestersWorld",
"max_stars_repo_path": "QuestersWorld/Views/GHs/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164139"
} | starcoder | @model IEnumerable<QuestersWorld.Models.GH>
@{
ViewBag.Title = "My GHs";
Layout = "~/Views/Shared/_LayoutUser.cshtml";
}
<script type="text/javascript">
var GoDelete = function(ghvalue) {
if (confirm('Are you Sure you want to Delete this GH Request Information?') == true) {
frmDelete.g... | 2.51645 | 77ef56140e75f5fd08c03c8205e68828 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844920 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "MSDN-WhiteKnight/CilBytecodeParser",
"max_stars_repo_path": "CilTools.Runtime/ClrFieldInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164140"
} | starcoder | /* CIL Tools
* Copyright (c) 2020, MSDN.WhiteKnight (https://github.com/MSDN-WhiteKnight)
* License: BSD 2.0 */
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using CilTools.BytecodeAnalysis;
using Microsoft.Diagnostics.Runtime;
namespace CilTools.Runtime
{
class ... | 2.172968 | 9c421bf31423be5acf19389f050ffc9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844921 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LittleNetworkHack/Crone",
"max_stars_repo_path": "Crone.Benchmark/Benchy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164141"
} | starcoder | <filename>Crone.Benchmark/Benchy.cs
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using Microsoft.Data.SqlClient;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Data;
using System.Linq;
using S... | 2.74517 | 1830d8db50a12456ff148bde28f40883 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielEverland/project-tuba-public",
"max_stars_repo_path": "Assets/Scripts/Components/PatternSpawner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164142"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Will spawn a <see cref="Pattern"/> into the scene
/// </summary>
public class PatternSpawner : CallbackMonobehaviour
{
[SerializeField]
private AbilityAction patternAction = default;
[Se... | 1.90889 | 8e90f170d1425590f1a39831aa1c8fc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArminBecher/Amg.Build",
"max_stars_repo_path": "examples/skeleton/build/build.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164143"
} | starcoder | using System.Threading.Tasks;
using System;
using System.IO;
using Amg.Build;
using System.Diagnostics;
using System.Linq;
public class BuildTargets
{
private static readonly Serilog.ILogger Logger = Serilog.Log.Logger.ForContext(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
static int Main(st... | 2.066983 | a5e353f5d8f20e331b2717ec64b88208 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844924 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "Actipro/WPF-Controls",
"max_stars_repo_path": "Samples/SampleBrowser/ProductSamples/ThemesSamples/Demo/NotepadEnhanced/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164144"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Interop;
using System.Windows.Media;
using Sys... | 2.348256 | 63012864b0839403e9ba9826f910974d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artyomszasa/NCoreUtils.Extensions",
"max_stars_repo_path": "NCoreUtils.Extensions.Globalization/RawDateTime.Convertible.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164145"
} | starcoder | <reponame>artyomszasa/NCoreUtils.Extensions
using System;
namespace NCoreUtils
{
public partial struct RawDateTime
{
private static string FormatConvertibleException(string from, string to)
=> $"Invalid cast from '{from}' to '{to}'.";
TypeCode IConvertible.GetTypeCode()
... | 2.723047 | 1758547cde4feae5a0227118e0e4a298 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "charles161/hip-service",
"max_stars_repo_path": "src/In.ProjectEKA.HipService/OpenMrs/OpenMrsCareContextRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164146"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using System.Web;
using In.ProjectEKA.HipLibrary.Patient;
using In.ProjectEKA.HipLibrary.Patient.Model;
namespace In.ProjectEKA.HipService.OpenMrs
{
public class OpenMrsCareContextRepository : ICareContextRep... | 2.308063 | 537de5108738112cef241ad7876c31bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844927 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SkillsFundingAgency/das-employercommitments-v2",
"max_stars_repo_path": "src/SFA.DAS.EmployerCommitmentsV2/Features/EmployerFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164147"
} | starcoder | <filename>src/SFA.DAS.EmployerCommitmentsV2/Features/EmployerFeature.cs
namespace SFA.DAS.EmployerCommitmentsV2.Features
{
public static class EmployerFeature
{
private const string Prefix = "EmployerFeature.";
public const string EnhancedApproval = Prefix + "EnhancedApproval";
public c... | 1.394351 | 81bbb831b708cf64adfbc2b67c61b8f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844928 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "kudretkurt/MarsRover-With-NserviceBus",
"max_stars_repo_path": "MarsRover.Shared/Configuration/DecryptConfigurationProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164148"
} | starcoder | using MarsRover.Shared.Utilities;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.Json;
using System.IO;
namespace MarsRover.Shared.Configuration
{
public class DecryptConfigurationProvider : JsonConfigurationProvider
{
public DecryptConfigurationProvider(JsonConfigu... | 2.536836 | f3540007536f1a10df56ca467b8ae6a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844929 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/tests/test-337.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164149"
} | starcoder | <reponame>lefb766/mono
using System;
public class Test
{
public static void Main ()
{
goto end;
int a;
Console.WriteLine ("unreachable");
end:
Console.WriteLine ("end");
}
}
| 1.53634 | 26cfe0efd43855eb19bdd173e727a55d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrancescoRepo/MyDiet",
"max_stars_repo_path": "MyDiet/Services/IService/IDietService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164150"
} | starcoder | using MyDiet.Models.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyDiet.Services.IService
{
public interface IDietService : IService<DietDto>
{
public Task<DietDto> GetAllDietMeals(int id);
}
}
| 1.603786 | fb41de70c9bd4710b5a03bcac579a513 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844931 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChebanovDD/MatchSweets",
"max_stars_repo_path": "samples/Unity.Match3/Assets/Scripts/Common/UnityGameBoardRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164151"
} | starcoder | using System;
using Common.Enums;
using Common.Interfaces;
using Common.Models;
using Match3.App.Interfaces;
using Match3.Core;
using Match3.Core.Structs;
using UnityEngine;
namespace Common
{
public class UnityGameBoardRenderer : MonoBehaviour, IUnityGameBoardRenderer, IGameBoardDataProvider<IUnityGridSlot>
{... | 2.228019 | 62e79ae19ddbe8757c43faeb89f1438a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844932 | {
"extension": "c-sharp",
"max_stars_count": "395.0",
"max_stars_repo_name": "davidezordan/Prism-Samples-Forms",
"max_stars_repo_path": "98-PrismFormsGallery/Source/Modules/DialogModule/DialogModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164152"
} | starcoder | <gh_stars>100-1000
using System;
using DialogModule.ViewModels;
using DialogModule.Views;
using Prism.Ioc;
using Prism.Modularity;
namespace DialogModule
{
public class DialogModule : IModule
{
public void OnInitialized(IContainerProvider containerProvider)
{
Console.WriteLine($">>... | 1.708692 | 7cdc1f19b166c25a2674db22247d1a82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844933 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rodrigofbm/aspnet-microservices",
"max_stars_repo_path": "src/Services/Basket/Basket.API/Controllers/BasketController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164153"
} | starcoder | using System.Net;
using System.Threading.Tasks;
using AutoMapper;
using Basket.API.Entities;
using Basket.API.GrpcServices;
using Basket.API.Repositories;
using EventBus.Messages.Events;
using MassTransit;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Basket.API.Controllers
{
[ApiCo... | 2.38795 | 7075d836076dcf9c6c7bc46dfcebfb4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844934 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timrisi/AuroraSquadBuilder",
"max_stars_repo_path": "Droid/ClipboardService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164154"
} | starcoder | using System;
using Android.App;
using Android.Content;
using Xamarin.Forms;
[assembly: Xamarin.Forms.Dependency (typeof (SquadBuilder.Droid.ClipboardService))]
namespace SquadBuilder.Droid
{
public class ClipboardService : IClipboardService
{
public void CopyToClipboard(String text)
{
var clipboardmanager ... | 2.100459 | 0dd4f4a28fa80fbd9e001228a251c9cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844935 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "chocolate-ice-cream/TinyRun",
"max_stars_repo_path": "Assets/TinyRun/Scripts/TitleSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164155"
} | starcoder | using Unity.Entities;
namespace TinyRun {
public class TitleSystem : ComponentSystem {
protected override void OnUpdate() {
Entities.ForEach((ref GameState game) => {
var begin = false;
if (!game.Playing) {
Entities.ForEach((ref Joystick joys... | 2.331625 | 4ed8a9830f4a91dc0fcd16951b896ec0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderPetrovv/Programming-Basics-December-2016",
"max_stars_repo_path": "ProgrammingBasicsExam24April2016/DrawStop/DrawStop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164156"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DrawStop
{
class DrawStop
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var col = 4 * n + 3;
// top ro... | 3.351881 | 859e267e452240f3ab56e98ed33c6916 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844937 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tallseth/Wizards-Castle-csharp",
"max_stars_repo_path": "WizardsCastle.Logic.Tests/Situations/EnemyAttackSituationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164157"
} | starcoder | <reponame>tallseth/Wizards-Castle-csharp
using NUnit.Framework;
using WizardsCastle.Logic.Combat;
using WizardsCastle.Logic.Data;
using WizardsCastle.Logic.Services;
using WizardsCastle.Logic.Situations;
using WizardsCastle.Logic.Tests.Helpers;
namespace WizardsCastle.Logic.Tests.Situations
{
[TestFixture]
pu... | 2.442966 | bf3edd22b12801b07e925e917f55cdc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844938 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ATrefzer/Comprehend",
"max_stars_repo_path": "Launcher/CallGraphTabViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164158"
} | starcoder | <filename>Launcher/CallGraphTabViewModel.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
usin... | 2.273962 | 3218e7e8e0981bade478ebdc2e2cdc04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844939 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "lumley/EscapeTheMaze",
"max_stars_repo_path": "Assets/Scripts/Combat/Events/CombatEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164159"
} | starcoder | using UnityEngine;
using UnityEngine.EventSystems;
namespace Combat.Events
{
public class CombatEvents
{
// call that does the mapping
private static void Execute(ITakeDamageHandler handler, BaseEventData eventData)
{
// The ValidateEventData makes sure the passed event da... | 2.61721 | c86d175f1e5816116ef76f7c954220c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844940 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MichelleMihova/SoftUni",
"max_stars_repo_path": "C# Conditionals Statements and Loops - Exercises/Problem 8. Calories Counter/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164160"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ex8_Problem_8.Calories_Counter
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int sum = 0;
for (int i = 0; i < n; i++)
{
strin... | 3.586164 | 99e079002cd56e216d109d6819ddf988 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844941 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "GCAE/InnovatorAdmin",
"max_stars_repo_path": "InnovatorAdmin/Main.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164161"
} | starcoder | namespace InnovatorAdmin
{
partial class Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed r... | 1.684479 | e8dd337c3b8aa4912883af8a37a8b4e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844942 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickolay-georgiev/TopTrade",
"max_stars_repo_path": "TopTrade/Web/TopTrade.Web/Areas/User/Views/Shared/_UserLayout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164162"
} | starcoder | <gh_stars>0
@using TopTrade.Common
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@this.ViewData["Title"]</title>
<link href="~/fonts/fa-brands-400.woff2" rel='stylesheet' type='font/woff2' asp-append-ve... | 1.488001 | 67d0fee74cbc18d0ac20f953f1b25b28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csf-dev/CSF.Validation",
"max_stars_repo_path": "CSF.Validation/Bootstrap/RuleExecutionServiceCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164163"
} | starcoder | using System;
using CSF.Validation.RuleExecution;
using Microsoft.Extensions.DependencyInjection;
namespace CSF.Validation.Bootstrap
{
static class RuleExecutionServiceCollectionExtensions
{
internal static IServiceCollection AddRuleExecutionServices(this IServiceCollection serviceCollection)
{... | 2.077307 | 7a5a17c5aee634a85844193e1ffa9053 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ehamberg/fplbot",
"max_stars_repo_path": "src/FplBot.Core/Handlers/InternalCommands/PublishStandingsCommandHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164164"
} | starcoder | <reponame>ehamberg/fplbot<filename>src/FplBot.Core/Handlers/InternalCommands/PublishStandingsCommandHandler.cs
using System.Threading;
using System.Threading.Tasks;
using Fpl.Client.Abstractions;
using Fpl.Client.Models;
using FplBot.Core.Abstractions;
using FplBot.Core.Helpers;
using FplBot.Data.Models;
using MediatR;... | 1.871277 | ffe4e7faafa5d68b363a48bfef7bf69a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "its-software-services-onix/onix-business-erp-lib",
"max_stars_repo_path": "OnixBusinessErpTest/Its/Onix/Erp/BusinessesNoSql/Contents/GetContentListTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164165"
} | starcoder | using System;
using NUnit.Framework;
using Moq;
using Its.Onix.Core.Factories;
using Its.Onix.Core.Business;
using Its.Onix.Core.NoSQL;
using Its.Onix.Erp.Models;
using Its.Onix.Erp.Utils;
namespace Its.Onix.Erp.Businesses.Contents
{
public class GetContentListTest
{
[SetUp]
public vo... | 1.747476 | d5595268395bb700508ed85a7a4cc50d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IllyaTheHath/HSGomoku",
"max_stars_repo_path": "HSGomoku.Engine/ScreenManage/Screen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164166"
} | starcoder | <reponame>IllyaTheHath/HSGomoku
/************************************************************************/
/* Author : <NAME>
* Web: http://www.david-amador.com
* Twitter : http://www.twitter.com/DJ_Link
*
* You can use this for whatever you want. If you want to give me some credit for it that's cool but not ... | 2.421208 | 3826566cf15f12b3ab564828a5745b6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844947 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ozanercan/Otoparkv2",
"max_stars_repo_path": "DataAccess/Concrete/MySQL/MySqlVehicleTypeDal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164167"
} | starcoder | <gh_stars>1-10
using DataAccess.Abstract;
using Entities.Concrete;
using System;
using System.Collections.Generic;
using Core;
namespace DataAccess.Concrete.MySQL
{
public class MySqlVehicleTypeDal : IVehicleTypeDal, IDalInstance
{
private Connection con = new Connection();
public int Create(V... | 2.719711 | c68b46b96e4dd8d0ea11d0b7b09bbefd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wxf1223138295/Shawn.AbpProject",
"max_stars_repo_path": "aspnet-core/src/Shawn.AbpProject.Core/Enum/CostStaus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164168"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Shawn.AbpProject.Enum
{
public enum CostStaus
{
Frozen=0,
Using=1
}
}
| 1.393054 | fcc11a4bb33da2e4cbf2120b9471e9ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PaulBraetz/PBAppRepository",
"max_stars_repo_path": "PBCommon/Logging/ILoggerQueueConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164169"
} | starcoder | <reponame>PaulBraetz/PBAppRepository
using Microsoft.Extensions.Logging;
using PBCommon.Globalization;
namespace PBCommon.Logging
{
public interface ILoggerQueueConsumer
{
void ConsumeLog(LocalizableFormattableString message, LogLevel level);
}
}
| 1.515822 | 56c672505a7bd3333f2c0df50f36492c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844950 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stichting-cito/QuestifyBuilder",
"max_stars_repo_path": "Builder/UnitTests/Questify.Builder.UI.Presentation/Behaviours/InputValidationStrategy/DecimalValidationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164170"
} | starcoder | <filename>Builder/UnitTests/Questify.Builder.UI.Presentation/Behaviours/InputValidationStrategy/DecimalValidationTests.cs
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Questify.Builder.UI.Wpf.Presentation.Behaviors.Strategies;
namespace Questify.Builder.UnitTests.Questify.Builder.... | 2.613765 | a108d4255855e81fa67ce06a870e2e5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844951 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "URK96/GWinGet",
"max_stars_repo_path": "src/GWinGet/GWinGet/GWinGet/AppSettingKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164171"
} | starcoder | <reponame>URK96/GWinGet
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GWinGet
{
public class AppSettingKey
{
// General Setting Keys
public const string APP_DARKTHEME = "App_DarkTheme";
}
}
| 1.360429 | 8b1e4eeca1635c1dd335be05ec7c38bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zerotwooneone/GameScreen",
"max_stars_repo_path": "GameScreen/Location/NewLocationViewmodel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164172"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using GameScreen.MongoDb;
using GameScreen.Viewmodel;
using GameScreen.WpfCommand;
using MongoDB.Bson;
namespace GameScreen.Location
{
public class New... | 2.401669 | 4e26c6445e872ea7399d018950a1bc32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844953 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "timvandenhof/BuckarooSdk_DotNet",
"max_stars_repo_path": "BuckarooSdk.Tests/Services/Payconiq/PayconiqTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164173"
} | starcoder | <reponame>timvandenhof/BuckarooSdk_DotNet
using System;
using System.Diagnostics;
using System.Globalization;
using BuckarooSdk.DataTypes.RequestBases;
using BuckarooSdk.Services.Payconiq.TransactionRequest;
using BuckarooSdk.Tests.Constants;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BuckarooSdk.... | 1.811311 | bcc9f31dc01aec0095317506756f1049 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tarta-F/oop20-Warlords.cs",
"max_stars_repo_path": "Tartagni-Filippo/Test-Tartagni/TimerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164174"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading;
using WarlordsCS;
namespace Test_Tartagni
{
[TestClass]
public class TimerTest
{
private readonly AbstractTimer gameTimer = new GameTimer(0, 5);
//Create a GameTimer and verify if it ends correctly.
... | 2.588578 | f09cb62978560a008552358c04036de0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844955 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "leimuduo/RelationshipAgreement",
"max_stars_repo_path": "WebApi/ProductApi.Tests/Repositories/ProductRepository.Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164175"
} | starcoder | <filename>WebApi/ProductApi.Tests/Repositories/ProductRepository.Tests.cs
using System;
using System.Linq;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Moq;
using ProductApi.Helpers;
using ProductApi.Helpers.Mapper;
using ProductApi.Models.Dtos;
using ProductApi.Model... | 2.483971 | d98cc610979fb6ecea589071d8867fcc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShuanWang/devoffice.com-shuanTestRepo",
"max_stars_repo_path": "src/Orchard.Web/Modules/Sunkist.FeaturedItemSlider/Models/FeaturedItemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164176"
} | starcoder | using System.Collections.Generic;
using Sunkist.FeaturedItemSlider.ViewModels;
namespace Sunkist.FeaturedItemSlider.Models {
public class FeaturedItemViewModel {
public string Headline { get; set; }
public string SubHeadline { get; set; }
public string LinkUrl { get; set; }
public b... | 1.84742 | cfa8a48d0192fc7d6d74d972710d400c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickInMN/CmrHisto",
"max_stars_repo_path": "CmrHisto/HeaderInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164177"
} | starcoder | <reponame>nickInMN/CmrHisto
// <copyright file="HeaderInformation.cs" company="<NAME>">
// Copyright (c) 2013 <NAME>. All rights reserved.
// </copyright>
namespace CmrHisto
{
/// <summary>
/// A class used to allow the headers to have tooltips.
/// </summary>
public sealed class HeaderInformation
... | 2.758687 | 8808a98adbb5e6450f403dcffcdc05a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SionoiS/SpawnerWorker",
"max_stars_repo_path": "ECS/ShipsConstructorSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164178"
} | starcoder | <filename>ECS/ShipsConstructorSystem.cs<gh_stars>0
using Google.Cloud.Firestore;
using Improbable.Worker;
using ItemGenerator.Modules;
using ItemGenerator.Resources;
using RogueFleet.Items;
using RogueFleet.Ships.Modules;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SpawnerWorker.ECS
{
... | 2.168611 | d76625e2d7f60d5d445c9e7957da75aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlejandroIbarraC/Pandemica",
"max_stars_repo_path": "API/SecondWaveAPIs/DBManager/MSSQLModels/JobVersions1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164179"
} | starcoder | <filename>API/SecondWaveAPIs/DBManager/MSSQLModels/JobVersions1.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DBManager.MSSQLModels
{
[Table("job_versions", Schema = "jobs_internal")]
pub... | 2.135223 | 6c1f104932314cb2d265bc0d558a784e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArcherTrister/ESoftor",
"max_stars_repo_path": "src/Hybrid.Quartz/Dashboard/Views/Calendars/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:164180"
} | starcoder | @model dynamic
@{
ViewData["Title"] = "CalendarDetails";
}
<!-- calendar-details start -->
<section>
<h2 class="page-header">@L("CalendarDetails")</h2>
@if (Model != null)
{
<div class="panel panel-info">
<div class="panel-heading heading-padding">
<div class="pul... | 2.596946 | ed8364108aff4f6ddaf7b9c134e81dd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/Gu.Wpf.ValidationScope",
"max_stars_repo_path": "Gu.Wpf.ValidationScope/InputTypes/InputTypesExtensionCtors.generated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164181"
} | starcoder | namespace Gu.Wpf.ValidationScope
{
using System;
public partial class InputTypesExtension
{
public InputTypesExtension(Type t1)
: this(new[] { t1 })
{
}
public InputTypesExtension(Type t1, Type t2)
: this(new[] { t1, t2 })
{
}
... | 2.005693 | 689d1c7595ca5dda1d59ca8138955662 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844962 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "WilliamABradley/.NETPlatformBindingsFramework",
"max_stars_repo_path": "TestApps/Tests-Universal/Tests/SettingTestPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164182"
} | starcoder | <filename>TestApps/Tests-Universal/Tests/SettingTestPage.cs
// ******************************************************************
// Copyright (c) <NAME>
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED ... | 2.022579 | 2f48d1f3bae5d5983045f908efeb462a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitormoschetta/Help-Nuget-Publish",
"max_stars_repo_path": "Vithor/StringManipulation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164183"
} | starcoder | using System;
using System.Collections.Generic;
namespace Vithor
{
/// <summary>
/// Manipula strings e lista de strings
/// </summary>
public class StringManipulation
{
/// <summary>
/// Agrupa uma lista de string
/// </summary>
/// <param ... | 3.716815 | 899c21b5e23328dc6577e860222ae603 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844964 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vplme/tabi-app",
"max_stars_repo_path": "src/Tabi/ViewModels/Boarding/LoginViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164184"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using Plugin.DeviceInfo.Abstractions;
using Tabi.Helpers;
using Tabi.Logging;
using Tabi.Pages.OnBoarding;
using Tabi.Resx;
using TabiApiClient;
using TabiApiClient.Messages;
using Xamarin.Forms;
namespace Tabi.ViewModels
{
... | 2.171434 | ed6c362d115f53565dacf2a2598d4b97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844965 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IAmEska/Xamarin-Forms-Labs",
"max_stars_repo_path": "src/Xamarin.Forms.Labs/Xamarin.Forms.Labs/Controls/ExtendedEntryCell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164185"
} | starcoder | using System;
namespace Xamarin.Forms.Labs.Controls
{
/// <summary>
/// An extended entry cell control that allows set IsPassword
/// </summary>
public class ExtendedEntryCell : EntryCell
{
/// <summary>
/// The IsPassword property
/// </summary>
public static read... | 2.782901 | 28e4fea6004cc5e1f4f3294335869210 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844966 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Ideia-Boa/diva-distribution",
"max_stars_repo_path": "OpenSim/Framework/Servers/HttpServer/OSHttpStatusCodes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164186"
} | starcoder | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must r... | 2.237156 | 8fa0ad937d9862fb8c2ce09f92830fad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844967 | {
"extension": "c-sharp",
"max_stars_count": "641.0",
"max_stars_repo_name": "vnwonah/dotvvm",
"max_stars_repo_path": "src/DotVVM.Framework/Runtime/Tracing/IStartupTracer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164187"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotVVM.Framework.Diagnostics;
namespace DotVVM.Framework.Runtime.Tracing
{
public interface IStartupTracer
{
void TraceEvent(string eventName);
Task NotifyStartupCompleted... | 1.130074 | c18a8340efdd69724bb594177dfe6496 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844968 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "huahuajjh/yueyouyuebei",
"max_stars_repo_path": "src/TravelAgent.Web/TravelAgent.Web/dataDeal/AddVisaOrder.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164188"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace TravelAgent.Web.dataDeal
{
public partial class AddVisaOrder : System.Web.UI.Page
{
private static readonly TravelAgent.BLL.Order OrderBll = new TravelAg... | 2.076303 | 839faf6cbdf5f2ceebaf118ae6e96a0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844969 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "ronnycsharp/WPFLight",
"max_stars_repo_path": "WPFLight/System/Windows/Media/Animation/SingleKeyFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164189"
} | starcoder | <filename>WPFLight/System/Windows/Media/Animation/SingleKeyFrame.cs
using System;
namespace System.Windows.Media.Animation
{
public struct SingleKeyFrame {
public SingleKeyFrame ( TimeSpan time, float value ) {
Time = time;
Value = value;
}
public float Value;
public TimeSpan Time;
}
} | 2.107917 | 5e8b4710ccba4a42f3e8f0f0a1181e79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844970 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fvicino/taskboard-rebooted",
"max_stars_repo_path": "reboot/reboot-server/Data/TaskContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164190"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore;
using reboot_server.Models;
namespace reboot_server.Data
{
public class TaskContext : DbContext
{
public TaskContext(DbContextOptions<TaskContext> options)
: base(options) {}
public DbSet<TaskNote> Tasks { get; set; }
}
}
| 1.869753 | 43891195cd89561a362a405002dcc9ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonAnders/NHtmlUnit",
"max_stars_repo_path": "app/NHtmlUnit/Generated/Javascript/Host/Canvas/CanvasPattern.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164191"
} | starcoder | // Generated class v2.19.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Javascript.Host.Canvas
{
public partial class CanvasPattern : NHtmlUnit.Javascript.SimpleScriptable
{
static CanvasPatt... | 1.968908 | 2000ace562fb92f046da93a3215ff9bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844972 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aleripe/QueryBuilder",
"max_stars_repo_path": "QueryBuilder/Elements/MembershipPredicate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164192"
} | starcoder | using ReturnTrue.QueryBuilder.Modifiers;
using ReturnTrue.QueryBuilder.Renderers;
namespace ReturnTrue.QueryBuilder.Elements
{
public class MembershipPredicate : Predicate
{
public IQueryValueExpression Expression { get; private set; }
public NotModifier NotModifier { get; private set; }
... | 2.364318 | 74f8e76a3cd4b6959633c65b22af3b80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844973 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "excellalabs/konmaripo",
"max_stars_repo_path": "src/Konmaripo.Web.Tests.Unit/Controllers/SunsettingControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164193"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Konmaripo.Web.Controllers;
using Konmaripo.Web.Models;
using Konmaripo.Web.Services;
using Microsoft.Extensions.Options;
using Moq;
using Serilog;
using Xunit;
namespace Konmaripo.Web.Tests.Unit.Controllers
{
public class Sunsettin... | 1.915007 | d20e51b0c3ff2cfd7bca962913d2407e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844974 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "salisafi/Salimeh-Safi-INT-Works",
"max_stars_repo_path": "Week_11-JavaScript and Ajax in our web apps/AjaxWithWebService/AjaxWithWebService/Controllers/DeliverDataController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164194"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace AjaxWithWebService.Controllers
{
// Attention - 5 - This is the web service controller...
// Notice that each method is accessed with a specific route
// Notice also... | 2.817585 | 3ab95a6c21ece79c67efbbc42c38bb86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844975 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codecore/Functional",
"max_stars_repo_path": "TestHarness/TestCases/TestCaseEach.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164195"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Functional.Contracts;
using Functional.Implementation;
using Functional.Test;
using Test.Contracts;
using Tests;
namespace Tests {
[Export(typeof(ISync... | 2.566664 | 075c6432683ec65fa4ac87948fed24c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844976 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JefferyAdusei/Fabric",
"max_stars_repo_path": "Source/Cored/Fabric/Construction/HostedFabricConstruction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164196"
} | starcoder | <reponame>JefferyAdusei/Fabric
namespace Cored.Fabric.Construction
{
/// <inheritdoc />
/// <summary>
/// Creates a default fabric construction containing all
/// the default configuration and services, when used inside
/// a project that has it's own service provider such as an
/// ASP.NE... | 2.461555 | da76858baa3b231305be84c993f9ec1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kitakun/DeafTelephone",
"max_stars_repo_path": "DeafTelephone.Web/Extensions/GuidExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164197"
} | starcoder | namespace DeafTelephone.Web.Extensions
{
using System;
using Google.Protobuf;
public static class GuidExtensions
{
public static Guid ToGuid(this ByteString byteString)
{
if (byteString.IsEmpty)
{
return Guid.Empty;
}
ret... | 2.055954 | 21f81755520ab2a47bf8cd59e06a7938 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844978 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "grecosoft/NetFusion",
"max_stars_repo_path": "netfusion/src/Integration/NetFusion.AMQP/Plugin/Modules/ConnectionModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164198"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Amqp;
using Amqp.Framing;
using Microsoft.Extensions.Logging;
using NetFusion.AMQP.Settings;
using NetFusion.Base;
using NetFusion.Bootstrap.Plugins;
using NetFusion.Settings;
na... | 2.46966 | 5b4174f8a774fabef7a4713b5be09760 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aleksei-chernikov/LongBox",
"max_stars_repo_path": "Telegram/LongBox.Telegram.Domain.Implementation/Handlers/UpdateReceivedHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164199"
} | starcoder | using LongBox.Telegram.Domain.Commands;
using LongBox.Telegram.Domain.Implementation.Extensions;
using Otreya.Common.CQRS;
using Otreya.Common.CQRS.Handlers;
using Telegram.Bot;
namespace LongBox.Telegram.Domain.Implementation.Handlers;
internal sealed class UpdateReceivedHandler : IVoidCommandHandler<UpdateReceived... | 2.528854 | 9cc5aae91ccfa6c8035c16f954858f1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844980 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kandrakah/Cardinal.AspNetCore",
"max_stars_repo_path": "Core/Cardinal.AspNetCore.IdentityServer/Extensions/ClaimExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164200"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace Cardinal.Extensions
{
public static class ClaimExtensions
{
public static void AddIfNotExists(this List<Claim> claims, Claim newClaim)
{
if (claims.Any(c => c.Type == newClaim.Type))
... | 3.262124 | 28ee6cc1f7494d2b9f1363768636a7db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844981 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pcharlesmoran/roslyn",
"max_stars_repo_path": "src/Features/Core/Portable/ExtractInterface/AbstractExtractInterfaceService.SymbolMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164201"
} | starcoder | <reponame>pcharlesmoran/roslyn
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace Microsoft.CodeAnalysis.ExtractInterface
{
internal abstract partial class Abs... | 1.367992 | fa48c8b7aa82227e169a6df6681942db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844982 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "srvsingh1962/TEAM-58",
"max_stars_repo_path": "HackVerse3Dbuild/Assets/IdeaItemObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164202"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class IdeaItemObject : MonoBehaviour,IHoverable
{
public bool IsSelected => throw new System.NotImplementedException();
public GameObject cubechild;
public GameObject looker;
bool isView=false;
public void OnClick... | 2.254719 | 674a3d884a39280980ddc7d2674205b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8844983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "slickjam/Farkle",
"max_stars_repo_path": "FarklePractice/FarklePractice/IGame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:164203"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FarklePractice
{
public interface IGame
{
Player CurrentPlayer { get; set; }
IDice[] GameDice { get; set; }
bool IsFinalRound { get; }
bool ... | 1.904601 | 9ae88858bc89726d9f5710ce6b945da8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.