added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89833 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Erlite/Valerie",
"max_stars_repo_path": "Models/NASAModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89834"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
namespace Valerie.Models
{
public class NASAModel
{
[JsonProperty("explanation")]
public string Explanation { get; set; }
[JsonProperty("date")]
public string Date { get; set; }
[JsonProperty("hdurl")]
public stri... | 1.707314 | f25e3eb427f1a2a8b9fa866268b24338 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "timgetsch/pitneybowes-shipping-api-csharp",
"max_stars_repo_path": "examples/MyShip/MyShip.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89835"
} | starcoder | using System;
using System.IO;
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using PitneyBowes.Developer.ShippingApi;
using PitneyBowes.Developer.ShippingApi.Model;
using PitneyBowes.Developer.ShippingApi.Fluent;
namespace MyShip
{
class Program
{
static void Main(string[... | 1.911133 | 72d2e34011a710e42f479b4743ff7d60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89835 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "matarillo/dot-gimei",
"max_stars_repo_path": "DotGimei/Address.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89836"
} | starcoder | <reponame>matarillo/dot-gimei
using System;
namespace DotGimei
{
/// <summary>
/// 日本の住所を表現します。
/// </summary>
public class Address : IJapaneseText
{
private JapaneseText _prefecture = new JapaneseText();
private JapaneseText _city = new JapaneseText();
private J... | 3.364708 | 94b73f86c010f0cb35b61125452cf01e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MrTrueChina/Shooting-The-Luminous-Geometry",
"max_stars_repo_path": "Assets/Barrage Warehouse/Scripts/Spown Effect/SpownEffectContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89837"
} | starcoder | <gh_stars>1-10
using UnityEngine;
public class SpownEffectContainer : MonoBehaviour
{
public GameObject effectPrefab
{
get { return _effectPrefab; }
}
[SerializeField]
GameObject _effectPrefab;
}
| 1.388975 | 5754c15b7aa7cf1dc0a2175da5d4ffb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89837 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahmetsekmen/UniLife",
"max_stars_repo_path": "src/UniLife.Server/Managers/IOgrenciManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89838"
} | starcoder | <filename>src/UniLife.Server/Managers/IOgrenciManager.cs<gh_stars>0
using UniLife.Server.Middleware.Wrappers;
using UniLife.Shared.DataModels;
using UniLife.Shared.Dto.Definitions;
using System.Threading.Tasks;
using System.Collections.Generic;
using UniLife.Shared.Dto.Definitions.Bussines;
namespace UniLife.Server.M... | 1.585809 | 0c0887eaacdf2c160fe27e4cc870acca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89838 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DavidZajicek/PockyBot.NET",
"max_stars_repo_path": "src/PockyBot.NET/Constants/Commands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89839"
} | starcoder | namespace PockyBot.NET.Constants
{
internal static class Commands
{
public const string Peg = "peg";
public const string Ping = "ping";
public const string Help = "help";
public const string Welcome = "welcome";
public const string Status = "status";
public const ... | 1.443156 | e6d874407cc3a3fc2ca31b03c6516fe2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89839 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Particular/Workshop.NServiceBus",
"max_stars_repo_path": "exercises/08/after/UserRegistration/Timeouts/UserEmailVerificationExpiredTimeout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89840"
} | starcoder | namespace UserRegistration.Timeouts
{
public class UserEmailVerificationExpiredTimeout
{
}
} | 0.87048 | b986094bf8537dd63041528b1f2c759e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ychsu/NPOI.DumpExcel",
"max_stars_repo_path": "src/NPOI.DumpExcel/DumpUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89841"
} | starcoder | using NPOI.DumpExcel.Attributes;
using NPOI.DumpExcel.Models;
using NPOI.DumpExcel.Structs;
using NPOI.SS.UserModel;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Threading;
namespace ... | 2.179883 | b9c891d61136ed2108697c751f0a877a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89841 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "shintadono/Win32",
"max_stars_repo_path": "IO/Defines/FILE_FLAG.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89842"
} | starcoder | <reponame>shintadono/Win32<gh_stars>10-100
using System;
namespace Win32.IO
{
/// <summary>
/// Defines the file flags used by some file functions.
/// </summary>
[CLSCompliant(false)]
[Flags]
public enum FILE_FLAG : uint
{
/// <summary>
/// The file is being opened and an opportunistic lock (oplock) on th... | 2.33798 | 59938ea21f11e19f1d1ac855ab69f03c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jBijsterboschNL/Prism.Maui",
"max_stars_repo_path": "src/Prism.Maui/Extensions/VisualElementExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89843"
} | starcoder | namespace Prism.Extensions;
internal static class VisualElementExtensions
{
public static bool TryGetParentPage(this VisualElement element, out Page page)
{
page = GetParentPage(element);
return page != null;
}
public static Element GetRoot(this Element element)
{
return e... | 2.661541 | 3c8f8653625bafba7507845bcf87dd0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89843 | {
"extension": "c-sharp",
"max_stars_count": "7880.0",
"max_stars_repo_name": "jcoehoorn/basic-computer-games",
"max_stars_repo_path": "46_Hexapawn/csharp/Hexapawn/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89844"
} | starcoder | using System;
namespace Hexapawn
{
// Hexapawn: Interpretation of hexapawn game as presented in
// <NAME>ner's "The Unexpected Hanging and Other Mathematic
// al Diversions", Chapter Eight: A Matchbox Game-Learning Machine.
// Original version for H-P timeshare system by <NAME> 5/5/76
// Instruc... | 3.3254 | 8f24b72d30ecfb3e6ed60b9315067608 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Romi-77/WebApi",
"max_stars_repo_path": "WebApi/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89845"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using Microsoft.AspNetCore.Mvc.ApplicationModels;
using Microsoft.EntityFrameworkCore;
using Models.DataModels;
using Serilog;
using System.Reflection;
using WebApi.Filters;
using WebApi.Middleware;
using WebApi.Utils;
try
{
var builder = ... | 1.817587 | 51d5703f5fe1262de447ae77b45862d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89845 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "suxrobGM/TriviaStreak",
"max_stars_repo_path": "Trivia unity3d project/Assets/CountDown.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89846"
} | starcoder | <reponame>suxrobGM/TriviaStreak
using UnityEngine;
using System.Collections;
public class CountDown : MonoBehaviour {
public static int seconds = 12;
public dfTextureSprite timer;
public dfLabel countRightLable;
//public dfLabel countLeftLable;
// Use this for initialization
public void start () {
seconds... | 1.782763 | 5117699b4f5e1dbaa4d517d8c924348b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ImSeaWorld/LMAOSoft",
"max_stars_repo_path": "LMAOSoft/Inc/Misc/imgur.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89847"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Web;
using System.Net;
using System.Windows.Forms;
using System.Xml.Linq;
using System.Collections.Specialized;
namespace LMAOSoft.Misc
{
public static class imgur
... | 2.503596 | f65c89154b694d74bb21074a9c20cb79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89847 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "test/SlowTests/Issues/IAsyncDocumentSessionExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89848"
} | starcoder | <filename>test/SlowTests/Issues/IAsyncDocumentSessionExtensionsTest.cs
using System.Threading.Tasks;
using FastTests;
using Xunit;
namespace SlowTests.Issues
{
public class IAsyncDocumentSessionExtensionsTest : RavenTestBase
{
private class User
{
public string Id { get; ... | 2.597655 | 4ca840ed56ee00df13a2ebd6b69ef2d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89848 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "regul4rj0hn/coding-interview",
"max_stars_repo_path": "src/arrays/easy/tournament-winner/c-sharp/dictionary-clean.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89849"
} | starcoder | <reponame>regul4rj0hn/coding-interview
using System;
using System.Collections.Generic;
/*
Time : O(n) - Where N is the length of the matches that were played inside competitions (assuming constant search)
Space: O(k) - For the dictionary scoreboard, where K is the total number of teams
*/
public class Program {
p... | 3.181599 | 818891e6c854b308de97f0dd0e1bb19d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89849 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "georgidelchev/CSharp-Web",
"max_stars_repo_path": "01 - [CSharp Web Basics]/[CSharp Web Basics - Exams - Remake]/CSharp Web Basics Exams/--- Solved Exams/6 MishMash Exam/MishMash/MishMash/Data/User.cs",
"provenance": "train-00000-of-0... | starcoder | <gh_stars>1-10
using MishMash.Data.Enums;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace MishMash.Data
{
public class User
{
[Key]
public int Id { get; set; }
[Required]
[MaxLength(20)]
public string Username { get; set; }
... | 2.135539 | 50051a39dafcb4bbeef2e0884772647a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haraldnagel/ocuda",
"max_stars_repo_path": "src/Promenade.Web/Views/Podcasts/ShowNotes.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89851"
} | starcoder | <reponame>haraldnagel/ocuda
@model Ocuda.Promenade.Controllers.ViewModels.Podcasts.ShowNotesViewModel
<div class="row">
<div class="col-12">
<h1 class="mb-2">@Localizer[Promenade.ShowNotesFor, Model.PodcastItem.Title]</h1>
<div class="mb-4">
<em>
<a href="@Url.Actio... | 2.050958 | ddf8da6cb2c2442a0e5f8822ea0188ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MadPacMan/RimThreaded-1",
"max_stars_repo_path": "Source/TaleManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89852"
} | starcoder | using RimWorld;
using System;
using System.Collections.Generic;
using System.Reflection;
using Verse;
using static HarmonyLib.AccessTools;
namespace RimThreaded
{
class TaleManager_Patch
{
public static FieldRef<TaleManager, List<Tale>> tales = FieldRefAccess<TaleManager, List<Tale>>("tales");
... | 2.457802 | 98930ab74a3dc2a395eb74ee2ac5d0da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89852 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "hannahchan/Scaffold.WebApi",
"max_stars_repo_path": "Scaffold/Sources/Scaffold.Domain/Aggregates/Bucket/Bucket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89853"
} | starcoder | namespace Scaffold.Domain.Aggregates.Bucket;
using System.Collections.Generic;
public class Bucket
{
private readonly List<Item> items;
private int size = 5;
public Bucket()
: this(default)
{
}
public Bucket(int id)
{
this.items = new List<Item>();
this.Id = id;
... | 3.201259 | c5216a156b8577ac61ef6798fc4b09a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89853 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "StefH/QboxNext",
"max_stars_repo_path": "dependencies/dotnetcore-minimal/test/QboxNext.Qboxes.Parsing.Tests/DefaultParserFactoryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89854"
} | starcoder | using System;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using NUnit.Framework;
using QboxNext.Qboxes.Parsing.Extensions;
using QboxNext.Qboxes.Parsing.Protocols;
namespace QboxNext.Qboxes.Parsing
{
[TestFixture]
public class DefaultParserFactoryTests
{
priva... | 2.329859 | bf00316092c03966513617e726eee3d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89854 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "marwahaha/FacCom",
"max_stars_repo_path": "RageEngine/Utils/Scripting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89855"
} | starcoder | <reponame>marwahaha/FacCom<filename>RageEngine/Utils/Scripting.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.CodeDom.Compiler;
using System.Reflection;
using System.IO;
using RageEngine.Debug;
using SharpDX;
using RageEngine.ContentPipeline;
namespace RageEngine {
public clas... | 2.559718 | 2c0c21347480f75ed14639f03d916281 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "truthiswill/OctopusClients",
"max_stars_repo_path": "source/Octopus.Client/Repositories/SpaceRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89856"
} | starcoder | using System.IO;
using Octopus.Client.Model;
namespace Octopus.Client.Repositories
{
public interface ISpaceRepository :
ICreate<SpaceResource>,
IModify<SpaceResource>,
IDelete<SpaceResource>,
IFindByName<SpaceResource>,
IGet<SpaceResource>
{
void SetLogo(Space... | 2.265718 | 818a8dad959f49310440d6dfd7269a3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89856 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/Misc/PackageManagement/Project/Src/PackageManagementViewModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89857"
} | starcoder | <reponame>dongdapeng110/SharpDevelopTest
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.PackageManagement.Design;
using ICSharpCode.PackageMa... | 1.575383 | 70026523b064f79b88d4bcddc19088eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89857 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "wiseman/virtual-radar-server",
"max_stars_repo_path": "VirtualRadar.Interface/BaseStation/BaseStationSupplementaryMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89858"
} | starcoder | <reponame>wiseman/virtual-radar-server
// Copyright © 2012 onwards, <NAME>
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain... | 2.120379 | 8bebec252a3854d59db15d3a600b0b9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89858 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "deltoss/MitchRankChecker",
"max_stars_repo_path": "Solution/MitchRankChecker.Model/SearchEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89859"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using MitchRankChecker.Model.Interfaces;
namespace MitchRankChecker.Model
{
/// <summary>
/// Model class that contains information
/// pertaining to a particular entry of
... | 2.660045 | d9a2f6bcdad3397f2faff98f4ec9598c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89859 | {
"extension": "c-sharp",
"max_stars_count": "484.0",
"max_stars_repo_name": "kafkaesqu3/Macrome",
"max_stars_repo_path": "b2xtranslator/Xls/XlsFileFormat/ChartSequences/ObjSequence.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89860"
} | starcoder | using System.Collections.Generic;
using b2xtranslator.Spreadsheet.XlsFileFormat.Records;
using b2xtranslator.StructuredStorage.Reader;
namespace b2xtranslator.Spreadsheet.XlsFileFormat
{
public class ObjSequence : BiffRecordSequence
{
public List<Continue> Continue;
// public Obj Obj;
... | 2.713051 | 6a9cbeb19342676017837560ba3ee009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pablopioli/webassembly-blazor-workshop",
"max_stars_repo_path": "Workshop/Pages/OneWayDataBinding.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89861"
} | starcoder | @page "/oneway"
<h1>One Way DataBinding</h1>
<p>@content</p>
<button class="btn btn-primary" onclick="@SetContent">Actualizar</button>
@functions {
string content = "";
async Task SetContent()
{
content = "Hola mundo";
}
}
| 2.461908 | 225f1322948111169014a4dc58bea1fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kawaitenshi/fools-run",
"max_stars_repo_path": "Library/PackageCache/com.unity.ui.builder@1.0.0-preview.18/Editor/Utilities/StyleField/DimensionStyleField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89862"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
using UnityEngine.UIElements.StyleSheets;
using UnityEngine.UIElements.StyleSheets.Syntax;
namespace Unity.UI.Builder
{
internal class Dim... | 2.075516 | 2ea3f1d314a8907715df2c74f8d077b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dansiegel/CocoaManifest",
"max_stars_repo_path": "CocoaManifest/UIStatusBarAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89863"
} | starcoder | using System;
namespace CocoaManifest
{
[ManifestKey("")]
[ManifestValueProperty(nameof(Hidden))]
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public class UIStatusBarAttribute : CocoaManifestAttribute
{
public UIStatusBarAttribute(bool hidden)
{
H... | 2.269046 | 21604d8701cb8b61ad599834d71fa2c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89863 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "traburi/OandaV20.3",
"max_stars_repo_path": "OkonkwoOandaV20/OkonkwoOandaV20/Framework/Utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89864"
} | starcoder | using OkonkwoOandaV20.TradeLibrary.REST;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using static OkonkwoOandaV20.TradeLibrary.REST.Rest20;
namespace OkonkwoOandaV20.Framework
{
public class Utilities
{
/// <su... | 2.880554 | e53f16577c2b92ce09023331aca1fb75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thunder033/SoulTrain",
"max_stars_repo_path": "Unity/Assets/Scripts/Data/GameData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89865"
} | starcoder | <reponame>thunder033/SoulTrain
using UnityEngine;
using System;
using System.Collections.Generic;
[Serializable]
public class GameData {
public string name;
DateTime lastSaved;
public Dictionary<string, bool> Conversations { get; private set; }
public Dictionary<string, bool> Clues { get; private se... | 2.346202 | 8b78b1daee2d66beb414e8694de76797 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jpsthecelt/mongoclient",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89866"
} | starcoder | <reponame>jpsthecelt/mongoclient
using System;
using System.Collections.Generic;
using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
// using MongoDB.Bson.Serialzation.Attributes;
// Notice: In order for this program to work, the Mongo BookstoreDb
// has to be 'up and running'. In order to do that y... | 2.619737 | c3d4bb1b95ed019da8725e6611b48f83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bgoodearl/ContosoU_dnc31_MVCB_Clean",
"max_stars_repo_path": "src/ContosoUniversity/Controllers/CUControllerBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89867"
} | starcoder | <reponame>bgoodearl/ContosoU_dnc31_MVCB_Clean<gh_stars>0
using Ardalis.GuardClauses;
using CU.Application.Common.Interfaces;
using CU.Application.Data.Common.Interfaces;
using CU.Application.Shared.Interfaces;
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.De... | 1.822869 | 1de03303740799ace9b5c7b770cfa91f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89995 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "towhidulmannanuae/frapid",
"max_stars_repo_path": "src/Frapid.Web/Areas/Frapid.Dashboard/Controllers/BackendController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89996"
} | starcoder | <reponame>towhidulmannanuae/frapid
using Frapid.Areas;
using Frapid.Areas.Authorization;
using Frapid.Dashboard.Helpers;
namespace Frapid.Dashboard.Controllers
{
[RestrictAnonymous]
public class BackendController : FrapidController
{
protected string GetRazorView(string areaName, string controller... | 1.711886 | bda62b679b3895a8fbcf2026ddb69952 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89996 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thomasreolon2/PATTYNEXCHANGE",
"max_stars_repo_path": "Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:89997"
} | starcoder | @using bitpatt
@namespace bitpatt.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.003491 | ed3693644c1fd6343aa4cb22100efa82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89997 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "grzesiek-galezowski/any",
"max_stars_repo_path": "src/netstandard2.0/AnyGenerators/Generic/ImplementationDetails/DefaultGenerationRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89998"
} | starcoder | <filename>src/netstandard2.0/AnyGenerators/Generic/ImplementationDetails/DefaultGenerationRequest.cs<gh_stars>1-10
using System;
using TddXt.AnyExtensibility;
namespace TddXt.AnyGenerators.Generic.ImplementationDetails
{
[Serializable]
public class DefaultGenerationRequest : GenerationRequest
{
public Nestin... | 2.428586 | 5c179db0678c8f892ecc015be72a2f2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89998 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "veracity/MDSConnector",
"max_stars_repo_path": "MDSConnector/Authentication/CertificateAuthorizedAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:89999"
} | starcoder | <filename>MDSConnector/Authentication/CertificateAuthorizedAttribute.cs
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
names... | 2.78985 | 73ea12ce544d2caab95b9cde80c733af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 89999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorisLechev/CSharp-DB",
"max_stars_repo_path": "Entity Framework Core/7. Advanced Querying/BookShop/BookShop.Data/BookShopContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90000"
} | starcoder | namespace BookShop.Data
{
using BookShop.Data.EntityConfiguration;
using BookShop.Models;
using Microsoft.EntityFrameworkCore;
public class BookShopContext : DbContext
{
public BookShopContext(DbContextOptions options)
: base(options)
{
}
public BookSh... | 2.551231 | 4d14928689aa1de6de801e98a842974e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90000 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "Org.BouncyCastle.Crypto/BufferedStreamCipher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90001"
} | starcoder | <reponame>smdx24/CPI-Source-Code
// BufferedStreamCipher
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using System;
public class BufferedStreamCipher : BufferedCipherBase
{
private readonly IStreamCipher cipher;
public override string AlgorithmName => cipher.AlgorithmName;
public Buffe... | 2.376824 | 442c8a27c041cc3f65674edfed79ef93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90001 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "danpoage/hall-of-beorn",
"max_stars_repo_path": "src/HallOfBeorn/Models/LotR/Scenarios/EredMithrin/TheGhostOfFramsburgScenario.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90002"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace HallOfBeorn.Models.LotR.Scenarios.EredMithrin
{
public class TheGhostOfFramsburgScenario : EredMithrinScenario
{
private const string name = "The Ghost of Framsburg";
public TheGhostOfFra... | 2.150419 | d847ca3fa925b837fcb4b3d12d018539 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MAD-NTID/midterm---exam-kemoycampbell",
"max_stars_repo_path": "Coinbase/Repositories/IAuthenticationRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90003"
} | starcoder | using System.Threading.Tasks;
namespace Coinbase.Models
{
public interface IAuthenticationRepository
{
public Task<Authentication> Authenticate(string key);
}
} | 1.608194 | 7451d1478f404b710ec36eef46e87733 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IceRaptor/PitCrew",
"max_stars_repo_path": "PitCrew/PitCrew/Patches/Patches.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90004"
} | starcoder | <filename>PitCrew/PitCrew/Patches/Patches.cs
using BattleTech;
using Harmony;
namespace PitCrew
{
[HarmonyPatch(typeof(SimGameState), "UpdateMechLabWorkQueue", MethodType.Normal)]
public static class SimGameState_UpdateMechLabWorkQueue
{
private static void Postfix(SimGameState __instance, bool ... | 1.595734 | 40ac6fa472b9c8b6be4e724b2d21950c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikolaitrifonov0/StayFit",
"max_stars_repo_path": "StayFit.Web/Views/Statistics/Get.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:90005"
} | starcoder | <reponame>nikolaitrifonov0/StayFit
@model StatisticsServiceModel
@{
ViewData["Title"] = "Statistics";
}
<div class="text-center">
<h1 class="mb-3">By maximum weight per day</h1>
@foreach (var exercise in Model.UserMaxWeights)
{
<h4>@exercise.Key</h4>
<ul class="list-group list-group-... | 2.740982 | 786ac26984f58199fc2d60b4d3219872 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90005 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pwhe23/MediatrUploader",
"max_stars_repo_path": "MediatorUploader.Domain/Commands/QueryFiles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90006"
} | starcoder | using System.IO;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
namespace MediatorUploader.Domain
{
public class QueryFiles : IRequest<FileInfo[]>
{
internal class Handler : IRequestHandler<QueryFiles, FileInfo[]>
{
private readonly IAppContext _app... | 2.485436 | 40df2004550adbe46e037c36968bf555 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prixladi/expendity-server",
"max_stars_repo_path": "src/Shamyr.Expendity.Server.Service/Mapper/ExpenseTypeMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90007"
} | starcoder | using AutoMapper;
using Shamyr.Expendity.Server.Entities;
using Shamyr.Expendity.Server.Service.Dtos.ExpenseType;
using Shamyr.Expendity.Server.Service.Models.ExpenseType;
namespace Shamyr.Expendity.Server.Service.Mapper
{
public class ExpenseTypeMapping: IMapping
{
public void Create(IMapperConfigurationExpr... | 1.717011 | ad496e3f85cb0bb9fefffa262870b8f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90007 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "smdx24/CPI-Source-Code",
"max_stars_repo_path": "Org.BouncyCastle.Crypto.Parameters/DHPublicKeyParameters.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90008"
} | starcoder | <reponame>smdx24/CPI-Source-Code
// DHPublicKeyParameters
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Math;
using System;
public class DHPublicKeyParameters : DHKeyParameters
{
private readonly BigInteger y;
public BigInteger Y => y;
public DHPublicKeyParameters(B... | 2.191443 | e19d84d7c567764591c41dcf94fa0ac1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90008 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "initionsAG/ssis-dataConverter-component",
"max_stars_repo_path": "DataConverterTest/TestFramework/DFT.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90009"
} | starcoder | <reponame>initionsAG/ssis-dataConverter-component
using DataConverterTest.TestFramework.Components;
using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
using Microsoft.SqlServer.Dts.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data... | 1.765919 | ac1d2393877b452cc7e5d14d5b88878d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GPRayner/AdventOfCode2020",
"max_stars_repo_path": "Day1/Day1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90010"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
namespace AdventOfCode2020.Day1
{
public class Day1
{
private readonly ITestOutputHelper _testOutputHelper;
public Day1(ITestOutputHelper testOutputHelper)
{
_testOutputHelper = tes... | 2.728949 | a8d917c088db14a8c70aa657ba53e561 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90010 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jessepatricio/IQMStarterKit",
"max_stars_repo_path": "IQMStarterKit/Views/Module/PageA36.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:90011"
} | starcoder | <reponame>jessepatricio/IQMStarterKit
@model IQMStarterKit.Models.Forms.ReviewQuizClass
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="main_container">
<div class="form-horizontal">
<h1 class="heading">Review Quiz</h1>
@if (Model.StudentActivity.ProgressValu... | 2.64471 | 1316100d3e02c7abec436e912c238013 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90011 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AdaskoTheBeAsT/WkHtmlToX",
"max_stars_repo_path": "src/AdaskoTheBeAsT.WkHtmlToX/Exceptions/GetObjectSettingsFailedException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90012"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
namespace AdaskoTheBeAsT.WkHtmlToX.Exceptions
{
[ExcludeFromCodeCoverage]
[Serializable]
public class GetObjectSettingsFailedException : Exception
{
public GetObjectSettingsFailedException()
{
... | 2.256254 | 8462b6b511b75099796803d8836e153a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "a3helmich/Konfidence.ProjectReferences",
"max_stars_repo_path": "ToolClasses/Projects/ProjectReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90013"
} | starcoder | <reponame>a3helmich/Konfidence.ProjectReferences
using System.Collections.Generic;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using ToolClasses.ExtensionMethods;
using ToolInterfaces;
namespace ToolClasses.Projects
{
internal class ProjectReader
{
private readonly string _basePat... | 2.012614 | 86f4a482357115e956cff297407392f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FelipeAlmeid4/DigitalMenu",
"max_stars_repo_path": "DigitalMenu.Infrastructure/Core/Data/Nhibernate/Contracts/INhSessionFactoryBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90014"
} | starcoder | using NHibernate;
namespace DigitalMenu.Infrastructure.Core.Data.Nhibernate.Contracts
{
public interface INhSessionFactoryBuilder
{
ISessionFactory BuildSessionFactory();
}
}
| 1.557806 | fd486bea1eb0825898a0947866cc203f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90014 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ReoKzK/SitecoreCoffee",
"max_stars_repo_path": "src/Feature/Commerce/code/Views/Cart/CartCreate.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:90015"
} | starcoder | <reponame>ReoKzK/SitecoreCoffee
@model SitecoreCoffee.Feature.Commerce.ViewModel.CartCreateViewModel
@using (Html.BeginForm("CartCreate", "Cart", FormMethod.Post))
{
<h6>Create cart:</h6>
<div class="row">
<div class="col-md-10 mb-3">
@Html.TextBoxFor(x => x.CartName, new { @class = "form... | 1.83153 | b745c48fa87b716c3b13af31f6d7f365 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90015 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PAKISTANESSS/BFC.Logger",
"max_stars_repo_path": "src/BFC.Logger/Domain/Log/FileLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90016"
} | starcoder | using BFC.Logger.Domain.Log.Abstractions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace BFC.Logger.Domain.Log
{
internal class FileLogger : LogBase
{
public string filePath = @"D:\IDGLog.txt";
public override void Log(string message)
{
... | 2.523607 | 17399ccf5635f791b776801c9d0292ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90016 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "favedit/MoCross",
"max_stars_repo_path": "Utiliy/Profiler/MoScout/Face/Panel/WTracker.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90017"
} | starcoder | using System.Windows.Controls;
namespace MO.Scout.Face.Panel
{
/// <summary>
/// WTracker.xaml 的交互逻辑
/// </summary>
public partial class WTracker : UserControl
{
public WTracker() {
InitializeComponent();
}
}
}
| 1.264566 | a7f008ee739097b606742e9daee68fa5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90017 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "HHChaos/ImageCropper",
"max_stars_repo_path": "ImageCropper.UWP/DragPosition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90018"
} | starcoder | <gh_stars>10-100
namespace ImageCropper.UWP
{
/// <summary>
/// Control point enumeration.
/// </summary>
internal enum DragPosition
{
Top,
Bottom,
Left,
Right,
UpperLeft,
UpperRight,
LowerLeft,
LowerRight
}
}
| 1.842173 | d636119e420c750943caf25776893de1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90018 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zumicts/Shots",
"max_stars_repo_path": "Shots.Web/Models/SuggestedResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90019"
} | starcoder | <filename>Shots.Web/Models/SuggestedResponse.cs
using System.Collections.Generic;
namespace Shots.Web.Models
{
public class UserInfoReponse : BaseResponse
{
public UserInfo UserInfo { get; set; }
}
public class SuggestedResponse : BaseResponse
{
public List<SimpleUserInfo> Sugges... | 1.84273 | 75f3972b5ad6ff28a5a3336ec5bad8c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90019 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "clarte53/clarte-utils",
"max_stars_repo_path": "Net/LMS/Entities/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90020"
} | starcoder | <gh_stars>0
using System;
namespace CLARTE.Net.LMS.Entities
{
[Serializable]
public class User
{
public long id;
public string username;
public string firstName;
public string lastName;
public bool isTrainer;
public string token;
public Group group;
public Organization organization;
}
}
| 1.233421 | 03ce1ce9a740a6160abacd60298a5356 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90020 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EternalSeraph8/ppp_game",
"max_stars_repo_path": "Assets/Narrate/Scripts/Editor/PhrasePropertyDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90021"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEditor;
namespace Narrate {
[CustomPropertyDrawer(typeof(Phrase))]
public class PhrasePropertyDrawer : PropertyDrawer {
private float rowHeight = 18;
private float buttonWidth = 20;
public override void OnGUI(Rect position, Serial... | 2.200568 | 16531efb760a59c5239707cbd6238b7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90021 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "acostagit/SistemaEstoque",
"max_stars_repo_path": "GestaoEstoque/GestaoEstoque.Web/Views/Shared/_Layout_Lateral.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:90022"
} | starcoder | <filename>GestaoEstoque/GestaoEstoque.Web/Views/Shared/_Layout_Lateral.cshtml<gh_stars>0
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
... | 1.872837 | 2340c0d032b59f191ad77dbb70926fcf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leighmetzroth/hotchocolate",
"max_stars_repo_path": "src/Core/Types/Types/Relay/Extensions/RelaySchemaBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90023"
} | starcoder | using System;
using HotChocolate.Configuration;
using HotChocolate.Types.Relay;
namespace HotChocolate
{
public static class IdSchemaBuilderExtensions
{
public static ISchemaBuilder EnableRelaySupport(
this ISchemaBuilder schemaBuilder)
{
return schemaBuilder
... | 1.856704 | 17372b50aaa76d6a0955a83e9016dedb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90023 | {
"extension": "c-sharp",
"max_stars_count": "130.0",
"max_stars_repo_name": "spaceflint7/bluebonnet",
"max_stars_repo_path": "JavaBinary/src/JavaClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90024"
} | starcoder |
using System;
using System.Collections.Generic;
namespace SpaceFlint.JavaBinary
{
public partial class JavaClass
{
public JavaAccessFlags Flags;
public short PackageNameLength;
public string Name;
public string Super;
public List<string> Interfaces;
public Lis... | 2.772392 | f6f24d47be79580cb77dae1392e6c5a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90024 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dss539/clrmd",
"max_stars_repo_path": "src/Microsoft.Diagnostics.Runtime/src/Common/ILInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90025"
} | starcoder | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.Diagnostics.Runtime
{
/// <summary>
/// Returns information about the IL... | 2.152566 | 191a752cde73ee74e7c688e21b29e162 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90025 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "srjheam/console-chess",
"max_stars_repo_path": "ConsoleChess/Chess/Pieces/Pawn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90026"
} | starcoder | <reponame>srjheam/console-chess<filename>ConsoleChess/Chess/Pieces/Pawn.cs
using Board;
using Board.Enums;
using System;
using System.Collections.Generic;
namespace Chess.Pieces
{
/// <summary>
/// Represents the Pawn in chess.
/// </summary>
sealed class Pawn : ChessPiece
{
protected sea... | 2.699519 | 5650e349cad38e67f7fff240b28ea3fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90026 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "zKevz/RhapsodyServer",
"max_stars_repo_path": "Proton/RTVar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90027"
} | starcoder | using System;
using System.Collections.Generic;
namespace RhapsodyServer.Proton
{
public class RTVar
{
public class Pair
{
public string Key { get; set; }
public string Value { get; set; }
public List<string> Values { get; } = new List<string>();
... | 3.307444 | fa5d99f05d5cb08bcafb04cadd8780fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90027 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "hey-red/ImageSharp.AVCodecFormats",
"max_stars_repo_path": "src/ImageSharp.AVCodecFormats/Mov/MovDecoder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90028"
} | starcoder | namespace HeyRed.ImageSharp.AVCodecFormats.Mov
{
public sealed class MovDecoder : BaseAVDecoder
{
public MovDecoder() : base()
{
}
public MovDecoder(IAVDecoderOptions decoderOptions) : base(decoderOptions)
{
}
}
} | 1.705814 | 85fa098e9907f660e7cb31133fa5318e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90028 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "floodgate-io/dotnet-sdk",
"max_stars_repo_path": "src/FloodgateSDK/Events/EventTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90029"
} | starcoder | <reponame>floodgate-io/dotnet-sdk
namespace FloodGate.SDK.Events
{
public enum EventTypes
{
FlushQueue = 0,
ConfigRequest = 1,
FlagEvaluation = 2,
FlagNotFound = 3,
SetUser = 4,
Shutdown = 5
}
}
| 1.162958 | 05fd4ce059e409c0f2629e3e103600dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90029 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "capjan/SqlScripting",
"max_stars_repo_path": "Core.SqlScripting/Common/Syntax/CreateTable/ColumnDef/Constraints/Column/UniqueColumnConstraint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90030"
} | starcoder | <reponame>capjan/SqlScripting
namespace Core.SqlScripting.Common.Syntax.CreateTable.ColumnDef.Constraints.Column
{
public class UniqueColumnConstraint: AbstractSqlColumnConstraint
{
public SqlConflictClause OnConflict { get; set; } = SqlConflictClause.Default;
}
}
| 1.518454 | 5e7d0ef41c9af77237387fd994922f37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90030 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Cruisoring/Astroder",
"max_stars_repo_path": "Astroder/PolygonControl/CircledPathes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90031"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
namespace PolygonControl
{
public delegate bool AngleFilterDelegate(float angle);
public class CircledPathes : AngledItem
{
#region Definitions
public s... | 2.53118 | e0a3e81fd32315b22500d8be294e41ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90031 | {
"extension": "c-sharp",
"max_stars_count": "738.0",
"max_stars_repo_name": "eapbokma/DotSpatial",
"max_stars_repo_path": "Source/DotSpatial.Symbology.Forms/RenameFieldDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90032"
} | starcoder | // Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace DotSpatial.Symbology.Forms
{
/// <summary>
/// This ... | 2.672045 | f75ef069065ed29d597de3b686cf45f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90032 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cicorias/ml-nyc",
"max_stars_repo_path": "src/MLTrain/MLTrainWeb/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:90033"
} | starcoder | <reponame>cicorias/ml-nyc
@{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>Azure Machine Learning Train Web</h1>
<p class="lead">Azure Machine Learning is a powerful cloud-based predictive analysis platform.</p>
<p><a href="http://azure.com/ml" class="btn btn-primary btn-lg">Learn more &r... | 2.235946 | 7f8d1250e3677718a6314979c2efb934 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90033 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Koopa1018/CURGLAFF-DialogueBox",
"max_stars_repo_path": "Dialogue Box/TextWindowOpenChannel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90034"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace Clouds.UI.DialogueBox {
[CreateAssetMenu(menuName="Channels/Open Text Window")]
public class TextWindowOpenChannel : ScriptableObject {
System.Action onBoxOpened;
System.Action ... | 1.768876 | 997a864deeaad486702f07b2bc8948a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahamidou/FuzzySharp",
"max_stars_repo_path": "FuzzySharp/Edits/OpCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90035"
} | starcoder | namespace FuzzySharp.Edits
{
public class OpCode
{
public EditType EditType { get; set; }
public int SourceBegin { get; set; }
public int SourceEnd { get; set; }
public int DestBegin { get; set; }
public int DestEnd { get; set; }
public override string ToString(... | 2.297741 | c513fcead71d76aef5b180faa347374a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90035 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "trenki2/HistoryConverter",
"max_stars_repo_path": "HistoryConverter/Data/Kibot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90036"
} | starcoder | /*
MIT License
Copyright(c) 2017 trenki2
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... | 2.770754 | 3b0736f71ae44dd4ed86f226c6a5e1de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90036 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "yjs/ycs",
"max_stars_repo_path": "src/Ycs/Utils/UpdateEncoderV2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90037"
} | starcoder | // ------------------------------------------------------------------------------
// <copyright company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ------------------------------------------------------------------------------
using System;
using Sy... | 2.192447 | 68289c5b17773f92c9e9a67bb5333458 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90037 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Cyrus-Sushiant/Adobe.Connect.SDK",
"max_stars_repo_path": "AdobeConnectSDK/AdobeConnectXmlAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90038"
} | starcoder | <reponame>Cyrus-Sushiant/Adobe.Connect.SDK
using AdobeConnectSDK.Common;
using AdobeConnectSDK.Interfaces;
using AdobeConnectSDK.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Xml.Serialization;
using System.Xml.XPath;
namespace AdobeConnectSDK
{
/// ... | 2.157848 | 77e9e2fa611a7de3b12a8bfbdb850f51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90038 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jkattestaart/AccoBooking",
"max_stars_repo_path": "DomainServices.SL/Services/CancellationRefundService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90039"
} | starcoder | using System.Threading.Tasks;
using DomainModel;
using IdeaBlade.EntityModel;
namespace DomainServices.Services
{
public class CancellationRefundService
{
public static async Task<decimal> ExecuteAsync(int bookingid)
{
EntityManager mgr = new AccoBookingEntities();
var result = awai... | 2.14267 | 335b90a083aaa640ce9648be58710b84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90039 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ennerperez/DataTables-Blazored",
"max_stars_repo_path": "samples/BlazorShared/Interfaces/IEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90040"
} | starcoder | using System;
namespace BlazorShared.Interfaces
{
/// <summary>
/// Default entity with int key implementation
/// </summary>
public interface IEntity : IEntity<int>
{
}
/// <summary>
/// Generic entity with key implementation
/// </summary>
/// <typeparam name="TKey"></typepar... | 2.567094 | ecbd8c1d3f47ddec3451ecd5f9f99d01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90040 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexDevCSharp/Online-shop",
"max_stars_repo_path": "Controllers/OrderController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90041"
} | starcoder | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using internet_shop.Models;
using internet_shop.Services;
namespace internet_shop.Controllers
{
[ApiController]
[Route("[controller]")]
public class OrderController : Controller
{
public OrderController(OrderService o... | 2.454444 | 369d3bbd8365bcb88cf4569ce6da4188 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90041 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tissueMO/rpgdev-next",
"max_stars_repo_path": "Editor/Dialog/Common/dlgToolPictureResize.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90042"
} | starcoder | <filename>Editor/Dialog/Common/dlgToolPictureResize.Designer.cs
namespace Editor.Dialog.Common {
partial class dlgToolPictureResize {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being use... | 1.772461 | c46869eb0f2862aa6d10b14c44d450e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90042 | {
"extension": "c-sharp",
"max_stars_count": "417.0",
"max_stars_repo_name": "HydAu/CrazyCore",
"max_stars_repo_path": "code/src/CrazyCore/MagnetPowerup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90043"
} | starcoder | using System;
using Engine;
using Engine.Behaviors;
using Engine.Physics;
using System.Numerics;
using Engine.Assets;
using Engine.Graphics;
using Veldrid.Graphics;
namespace CrazyCore
{
public class MagnetPowerup : Behavior
{
private InputSystem _input;
private SphereCollider _ballCollider;
... | 2.200428 | 493ca6b6118d8dd5fa5a600d1cb7aea7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90043 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SDWT/WebStoreASP",
"max_stars_repo_path": "WebStoreASP/Components/UserMenuTabViewComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90044"
} | starcoder | <filename>WebStoreASP/Components/UserMenuTabViewComponent.cs
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebStore.Components
{
public class UserMenuTabViewComponent : ViewComponent
{
public IViewComponentRes... | 1.984464 | 4be4edbc0ae5e3fbc23a17c253e07240 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90044 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "phucan1108/letportal",
"max_stars_repo_path": "src/web-apis/LetPortal.Portal/Models/Apps/AvailableUrl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90045"
} | starcoder | <filename>src/web-apis/LetPortal.Portal/Models/Apps/AvailableUrl.cs
namespace LetPortal.Portal.Models.Apps
{
public class AvailableUrl
{
public string Url { get; set; }
public string Name { get; set; }
public string PageId { get; set; }
}
}
| 1.734811 | fbc4c0596416bb45b5dab32bf31948c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90045 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "IntelliTect/Coalesce",
"max_stars_repo_path": "src/IntelliTect.Coalesce/TypeDefinition/Helpers/SymbolExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90046"
} | starcoder | <filename>src/IntelliTect.Coalesce/TypeDefinition/Helpers/SymbolExtensions.cs
using IntelliTect.Coalesce.Utilities;
using Microsoft.CodeAnalysis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using S... | 2.795233 | d7f0290ed37ce3661f6aeb66be3bce45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90046 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fseldow/csi-plugins-azurefile",
"max_stars_repo_path": "src/Csi.Plugins.AzureFile/SmbShareCredential.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90047"
} | starcoder | <gh_stars>0
namespace Csi.Plugins.AzureFile
{
sealed class SmbShareCredential
{
public string Username { get; set; }
public string Password { get; set; }
}
}
| 0.88789 | 70e021691d86ea19fa9da3e695f5d47d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90047 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "cm-heclouds/CSharp-SDK",
"max_stars_repo_path": "OneNETAPI/OneNETDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90048"
} | starcoder | using System;
using System.Collections.Generic;
namespace OneNET.Api
{
/// <summary>
/// 符合OneNET习惯的纯字符串字典结构。
/// </summary>
public class OneNETDictionary : Dictionary<string, Object>
{
private const string DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
public OneNETDictionary() { }
... | 3.352007 | 825c8325dae812a5c27618799b0878f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shail218/Ashirvad",
"max_stars_repo_path": "Ashirvad-main/Ashirvad.ServiceAPI/Services/Area/Standard/StandardService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90049"
} | starcoder | <filename>Ashirvad-main/Ashirvad.ServiceAPI/Services/Area/Standard/StandardService.cs
using Ashirvad.Data;
using Ashirvad.Logger;
using Ashirvad.Repo.DataAcceessAPI.Area.Standard;
using Ashirvad.ServiceAPI.ServiceAPI.Area.Standard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
u... | 2.176698 | 6afb866bd63987c2a63d27cde5672064 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmjcsltd/Simonish",
"max_stars_repo_path": "UnitTests/ResultTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90050"
} | starcoder | using System;
using NUnit.Framework;
using Rmjcs.Simonish.Models;
namespace UnitTests
{
class ResultTests
{
// Remember: NUnit uses a single instance for all tests !!!
[Test]
public void ConstructorBad_Test()
{
// Text can't be null.
string gameResultTe... | 2.938684 | 0d73cbce88a54c6cf2723ceafca607e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90050 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wallee-payment/csharp-sdk",
"max_stars_repo_path": "src/Wallee/Model/PaymentAppRefundConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90051"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using S... | 2.50143 | 7ad52dfe93ad424c9f7d7a56041a42a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90051 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "memsom/DebugInterface",
"max_stars_repo_path": "Ratcow.Debugging.Server/RegisteredVariableItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90052"
} | starcoder | <reponame>memsom/DebugInterface<filename>Ratcow.Debugging.Server/RegisteredVariableItem.cs
namespace Ratcow.Debugging.Server
{
public class RegisteredVariableItem
{
public object Reference { get; set; }
public string RegisteredName { get; set; }
public string Name { get; set; }
... | 1.335978 | 41aa7da0e923c09c7db9df0b1cf11078 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90052 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "SocialBoards/Owin.Scim",
"max_stars_repo_path": "source/Owin.Scim.v2/Model/ResourceType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90053"
} | starcoder | namespace Owin.Scim.v2.Model
{
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Scim.Model;
public sealed class ResourceType : Resource
{
public ResourceType()
{
Meta = new ResourceMetadata(ScimConstants.ResourceTypes.ResourceType)... | 2.017985 | fc866b299c9aef19c3f89d20380511b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90053 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isenmann/twentythree-net",
"max_stars_repo_path": "TwentyThreeNet/TwentyThree_StatsAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90054"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace TwentyThreeNet
{
public partial class TwentyThree
{
/// <summary>
/// Get a list of referring domains for a collection.
/// </summary>
/// <param name="date">Stats will be returned for this date.
... | 2.742623 | c4fcea067b94105bb9e1c4ef8af5754d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90054 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "maca134/RedisDump",
"max_stars_repo_path": "redisdump/Backup/RBackup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90055"
} | starcoder | <filename>redisdump/Backup/RBackup.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace redisdump
{
public class RBackup
{
private static Redis _client = null;
public sta... | 2.837186 | 125dc90136a4e5a3e0067414ba63822d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90055 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ProSuite/ProSuite",
"max_stars_repo_path": "src/ProSuite.AGP.Editing/Selection/FeatureClassInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90056"
} | starcoder | using System.Collections.Generic;
using ArcGIS.Core.CIM;
using ArcGIS.Core.Data;
using ArcGIS.Desktop.Mapping;
namespace ProSuite.AGP.Editing.Selection
{
public class FeatureClassInfo
{
public List<FeatureLayer> BelongingLayers { get; set; }
public FeatureClass FeatureClass { get; set; }
public string FeatureC... | 1.474854 | 29e28ee6951e09fbf132621b227dbb78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90056 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gomasch/DotNetMasterPassword",
"max_stars_repo_path": "WpfMasterPassword/ViewModel/ConfigurationSiteViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90057"
} | starcoder | using MasterPassword.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfMasterPassword.Common;
namespace WpfMasterPassword.ViewModel
{
public class ConfigurationSiteViewModel
{
public PropertyModel<string> SiteName { get; ... | 2.528011 | 41edfc6ecbb4da22e0340dbf77b47c1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Matistjati/Uncoal-Engine",
"max_stars_repo_path": "UncoalEngine/Uncoal/Utility/Log.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90058"
} | starcoder | <gh_stars>0
using System;
using System.IO;
using System.Runtime.CompilerServices;
namespace Uncoal.Internal
{
internal class Log
{
public string filePath;
public bool showDate;
public bool showLineNumber;
public bool showCaller;
public bool showFileName;
private static Log _defaultLogger;
internal ... | 2.587221 | 21a1f4fc3397880fda6d1803c28035c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90058 | {
"extension": "c-sharp",
"max_stars_count": "264.0",
"max_stars_repo_name": "wbskyboy/netprints",
"max_stars_repo_path": "NetPrintsEditor/ViewModels/ObservableViewModelCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90059"
} | starcoder | using NetPrints.Core;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Diagnostics.Contracts;
using System.Linq;
namespace NetPrintsEditor.ViewModels
{
public class ObservableViewModelCollection<TViewModel, TModel> : Observabl... | 2.64302 | 764e9921af6c6beac0ee6b99eeb44e03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90059 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "SimonCropp/Clipboard",
"max_stars_repo_path": "src/TextCopy/BlazorClipboard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90060"
} | starcoder | <filename>src/TextCopy/BlazorClipboard.cs
#if NET6_0
namespace TextCopy;
/// <inheritdoc />
public class BlazorClipboard :
IClipboard
{
static Type[] types =
{
typeof(string),
typeof(object[])
};
object jsRuntime;
MethodInfo invokeAsync;
// System.Threading.Tasks.ValueTas... | 2.7079 | 467c7d8710c1b682832bf33f1ea8dfa1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 90060 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BesedinAlex/InventorBuilder",
"max_stars_repo_path": "AugerMixer/Forms/Assembly.cs",
"provenance": "train-00000-of-00045.jsonl.gz:90061"
} | starcoder | <filename>AugerMixer/Forms/Assembly.cs
using System;
using System.Windows.Forms;
namespace AugerMixer.Forms
{
public partial class Assembly : Form
{
private Inventor.Application app = null;
public Assembly() =>
InitializeComponent();
private void InventorControl_Click(objec... | 1.964811 | 0c10f777cf40139d302b5a0e47ec1605 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.