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 | 8841812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prvshah51/dafny",
"max_stars_repo_path": "Source/DafnyLanguageServer/Workspace/ChangeProcessors/TextChangeProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161032"
} | starcoder | using Microsoft.Dafny.LanguageServer.Util;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
using System;
using System.Linq;
using System.Threading;
namespace Microsoft.Dafny.LanguageServer.Workspace.ChangeProcessors {
public class TextChangeProcessor : ITextChangeProcessor {
public DocumentTextBuffer... | 2.631423 | 006c79c2f3cbeb340a846c4f695d6439 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841813 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gregoa/raritan-pdu-json-rpc-sdk",
"max_stars_repo_path": "pdu-dotnet-api/_idlc_gen/dotnet/Com/Raritan/Idl/tfw/EventChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161033"
} | starcoder | // SPDX-License-Identifier: BSD-3-Clause
//
// Copyright 2020 Raritan Inc. All rights reserved.
//
// This file was generated by IdlC from TfwEventChannel.idl.
using System;
using System.Linq;
using LightJson;
using Com.Raritan.Idl;
using Com.Raritan.JsonRpc;
using Com.Raritan.Util;
#pragma warning disable 0108, 0219... | 1.59028 | 7d3a2bf72eb3ce09918dc827775e85b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841814 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Scott004948/AnyRPGCore",
"max_stars_repo_path": "Assets/AnyRPG/Engine/Core/System/Scripts/GameManager/PreviewManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161034"
} | starcoder | using AnyRPG;
using System.Collections;
using UnityEngine;
using UnityEngine.AI;
namespace AnyRPG {
public abstract class PreviewManager : MonoBehaviour {
protected UnitController unitController;
[SerializeField]
protected Vector3 previewSpawnLocation;
/*
[Tooltip("The n... | 2.0914 | 7c299f9057947e2f189559c6e455b8cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HermesSts/Exercises",
"max_stars_repo_path": "DoWhile/doWhile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161035"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
namespace CSharp_Shell
{
public static class Program
{
public static void Main()
{
while (true)
{
Console.Write("N: ");
int n = int.Parse(Console.ReadLine());
int cont = 1;
do
{
cont *= n;
n... | 3.164722 | 1e69224384b4965394c4bdd69b2cb69c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nwnstuff/nwn-csharp",
"max_stars_repo_path": "nwnapi/types/nwtrappable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161036"
} | starcoder | namespace NWN
{
public class NWTrappable : NWObject
{
public NWTrappable(uint oid) : base(oid) {}
public virtual bool IsTrapped
{
get => NWScript.GetIsTrapped(this) == 1;
//set => NWScript.SetTrapDisabled(this);
}
public virtual bool IsTrapActive... | 2.015017 | 7fb553a7ece67d2d034e009b061aa15b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841817 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "Drul1337/DigitalRune",
"max_stars_repo_path": "Source/DigitalRune.Game.UI/ToolTipManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161037"
} | starcoder | <reponame>Drul1337/DigitalRune
// DigitalRune Engine - Copyright (C) DigitalRune GmbH
// This file is subject to the terms and conditions defined in
// file 'LICENSE.TXT', which is part of this source code package.
using System;
using DigitalRune.Game.UI.Controls;
using DigitalRune.Mathematics.Algebra;
namespace Di... | 2.994768 | 44f55823749fd0565458143c00acdea7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gajanankulkarni09/CodeGeneration.BasePlatform",
"max_stars_repo_path": "BaseImplementations/CompositeCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161038"
} | starcoder | <gh_stars>0
using CodeGeneration.BasePlatform.Exceptions;
using CodeGeneration.BasePlatform.Interfaces;
using CodeGeneration.BasePlatform.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CodeGeneration.BasePlatform.BaseImplementations
{
public class CompositeCommand : BaseComma... | 2.093844 | 30ab46b10245ba06cec26177f57e06e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "babaq/Soul",
"max_stars_repo_path": "Soul1/SCore/Random.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161039"
} | starcoder | //--------------------------------------------------------------------------------
// This file is part of The Soul, A Neural Network Simulation System.
//
// Copyright © 2010 LBE Group. All rights reserved.
//
// For information about this application and licensing, go to http://soul.codeplex.com
//
// THIS CODE AND ... | 2.481296 | 87eefe579705274e4d8a5f21a963b617 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841820 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MFathirIrhas/ProgrammingChallenges",
"max_stars_repo_path": "OpenKattis/RaggedRight/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161040"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RaggedRight
{
class Program
{
static string LongestLine(List<string> p){
return p.OrderByDescending(s => s.Length).First();
}
static int Raggedness(List<string> p){
... | 3.85158 | d1b939406473cb7f04c47563628c2bb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841821 | {
"extension": "c-sharp",
"max_stars_count": "132.0",
"max_stars_repo_name": "demonsaw/Code",
"max_stars_repo_path": "ds1/Library/Component/TransferComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161041"
} | starcoder | //
// The MIT License(MIT)
//
// Copyright(c) 2014 Demonsaw LLC
//
// 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, ... | 2.235023 | 10784c95eda5d6169f0a5d696e17bdab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841822 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Senthilvera/google-api-dotnet-client",
"max_stars_repo_path": "Src/GoogleApis.Core/Apis/Http/IHttpUnsuccessfulResponseHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161042"
} | starcoder | /*
Copyright 2013 Google Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... | 2.485649 | 23d2c3dff12222272a7c51acd3ee6ef7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841823 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ermshiperete/Glyssen",
"max_stars_repo_path": "GlyssenTests/Rules/TrialGroupConfigurationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161043"
} | starcoder | <filename>GlyssenTests/Rules/TrialGroupConfigurationTests.cs
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Glyssen;
using Glyssen.Bundle;
using Glyssen.Character;
using Glyssen.Dialogs;
using Glyssen.Rules;
using Glyssen.VoiceActor;
using GlyssenTests.Properties;
using NUnit.Fram... | 2.205966 | 2651706e1a80599c9ef89741c541e393 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "R-T-B/Unity.Analytics.StandardEvents_NOTELEMETRY_KSP18",
"max_stars_repo_path": "TutorialStep.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161044"
} | starcoder | <reponame>R-T-B/Unity.Analytics.StandardEvents_NOTELEMETRY_KSP18
namespace UnityEngine.Analytics
{
[StandardEventName("tutorial_step", "Onboarding", "What the frick do you mean there's more parts to this shit?")]
public struct TutorialStep
{
[RequiredParameter("step_index", "How many parts are ther... | 1.694105 | cd7af07eb9c7a5032e6db4e0e5c9cad3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841825 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "drinoff/C-Advanced",
"max_stars_repo_path": "functionalProgramming/addVAT/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161045"
} | starcoder | <reponame>drinoff/C-Advanced<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace addVAT
{
class Program
{
static void Main(string[] args)
{
var numbers = Console.ReadLine().Split(", ").Select(double.Parse).ToList();
foreach (var nu... | 3.412345 | e628ca4411224ef253238f352be9c642 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "glitchcraftCosmonaut/Programming-Training",
"max_stars_repo_path": "Programming Training/Assets/Scripts/Level 3/ShowPassword.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161046"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
public class ShowPassword : MonoBehaviour
{
[SerializeField] private InputField userPassword;
public void ShowUserPassword()
{
if (userPassword.contentType == InputField.ContentType.Password)
{
userPassword.contentType = InputField.Cont... | 2.312802 | b7911ddf8126979171c944e879b4f955 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattgwagner/Battery-Commander",
"max_stars_repo_path": "Battery-Commander.Web/Views/Admin/Jobs.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161047"
} | starcoder | @model IEnumerable<FluentScheduler.Schedule>
<table>
@foreach (var schedule in Model)
{
<tr>
<td>@Html.DisplayFor(_ => schedule.Name)</td>
<td>@schedule.NextRun.ToEst()</td>
<td>
<form action="/api/Jobs/@schedule.Name" method="post">
... | 2.545994 | cf3cc21766efa9fc0116874e8833a30a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RocherBrockas/GobelinsDiplome",
"max_stars_repo_path": "Assets/PC2D/Scripts/ZoneCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161048"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ZoneCache : MonoBehaviour
{
private bool masked;
private Animator anim;
private void Start()
{
masked = false;
anim = this.GetComponent<Animator>();
}
private void OnTriggerEnter2D(Co... | 2.128543 | 3acdd5148dbb439a66dfcefeaf1a582b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841829 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "developermj/txFileManager",
"max_stars_repo_path": "ChinhDo.Transactions.FileManager/IoOperation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161049"
} | starcoder | <reponame>developermj/txFileManager
using System;
using System.IO;
namespace ChinhDo.Transactions
{
/// <summary>Represents an I/O operation (file or directory)</summary>
abstract class IoOperation
{
/// <summary>Constructor</summary>
/// <param name="tempPath">Path to temp directory</para... | 2.831521 | cc6f501a81a7d7eff00ea76933e7e531 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841830 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "fossabot/Fusee",
"max_stars_repo_path": "src/Jometri/GeomAttributeInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161050"
} | starcoder | using Fusee.Math.Core;
namespace Fusee.Jometri
{
/// <summary>
/// Contains additional information that can be added to Vertices.
/// </summary>
public struct VertexData
{
/// <summary>
/// The position of the Vertex.
/// </summary>
public float3 Pos;
}
///... | 2.441087 | d2972fa5d0a433c3e61849fa50c401e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841831 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "kiranvsr/KinderChat",
"max_stars_repo_path": "KinderChatServer/Views/Templates/NewUser.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161051"
} | starcoder | <reponame>kiranvsr/KinderChat<filename>KinderChatServer/Views/Templates/NewUser.cshtml
@model KinderChatServer.Models.User
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Kinder Chat New User</title>
</head>
<body>
<div>
<h2>Hell... | 1.88619 | 9efc031f0eb3d67aab1291da0f9516f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielfinke/BizHawk",
"max_stars_repo_path": "src/BizHawk.Client.EmuHawk/tools/VirtualPads/schema/AppleIISchema.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161052"
} | starcoder | using System.Collections.Generic;
using System.Drawing;
using BizHawk.Emulation.Common;
namespace BizHawk.Client.EmuHawk
{
[Schema("AppleII")]
// ReSharper disable once UnusedMember.Global
public class AppleIISchema : IVirtualPadSchema
{
public IEnumerable<PadSchema> GetPadSchemas(IEmulator core)
... | 2.442039 | 0c63b3aa94341dd10942fe16f8601f14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841833 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "0xflotus/caelum",
"max_stars_repo_path": "Caelum/Funktionen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161053"
} | starcoder | using System;
using System.Collections.Generic;
using ToastIOS;
namespace Caelum
{
public static class Funktionen
{
public static Dictionary<String, Action<String>> actions = new Dictionary<String, Action<String>>()
{
{"Toast", s => Toast.MakeText(s, Toast.LENGTH_SHORT).S... | 2.315639 | 5e24b689144bee310fee5242ca0d065c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841834 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Lombiq/Orchard-Application-Host",
"max_stars_repo_path": "Environment/ProcessingEngineTaskAddedHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161054"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Orchard.Environment.Configuration;
using Orchard.Environment.Descriptor.Models;
using Orchard.Environment.State;
namespace Lombiq.OrchardAppHost.Environment
{
public interface IProcessingEngineT... | 2.443165 | 46e4bb335379767fac6e06ae0ca12602 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841835 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xerris/Xerris.DotNet.Core",
"max_stars_repo_path": "test/Xerris.DotNet.Core.Test/Utilities/ApplicationEvents/ApplicationEventTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161055"
} | starcoder | <reponame>xerris/Xerris.DotNet.Core<filename>test/Xerris.DotNet.Core.Test/Utilities/ApplicationEvents/ApplicationEventTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Xerris.DotNet.Core.Time;
using Xerris.DotNe... | 2.193286 | f096cf8f17e0d7ad76c68da8985e2ccc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HNochev/SoftUni-CSharp-Software-Engineering",
"max_stars_repo_path": "C# Advanced/C# ADVANCED/Lab 1 - Stacks and Queues/4.MatchingBrackets/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161056"
} | starcoder | using System;
using System.Collections.Generic;
namespace _4.MatchingBrackets
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
Stack<string> brackets = new Stack<string>();
for (int i = 0; i < input.Length; i++)
... | 3.817752 | 313a9cd297a9184c1e0fda53565f75af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841837 | {
"extension": "c-sharp",
"max_stars_count": "793.0",
"max_stars_repo_name": "dguder/wixsharp",
"max_stars_repo_path": "Source/bin/package.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161057"
} | starcoder | //css_args /ac
using System.Diagnostics;
using System.Text;
using System.Reflection;
// using System.Windows.Forms;
using System.IO;
using System.Linq;
using System;
void main()
{
string version = Assembly.LoadFrom(@"WixSharp\WixSharp.dll").GetName().Version.ToString();
Directory.GetDirectories(@"WixSharp\Sam... | 2.456223 | 9fb590c1624921b6b08482235d252a4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841838 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "mzhokh/FilterByCategoryWidget",
"max_stars_repo_path": "CMS/CMSModules/Reporting/Tools/ReportTable_Edit.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161058"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 1.14768 | 6a552d536ded484988ae1f900597d615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841839 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Patrickkk/Tests",
"max_stars_repo_path": "TypescriptGeneration-old/TypescriptGeneration/TypescriptGeneration/Model/TypescriptFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161059"
} | starcoder | <gh_stars>1-10
using FunctionalSharp.DiscriminatedUnions;
namespace TypescriptGeneration.Model
{
/// <summary>
/// Represenst a typescript file. Beiing DiscriminatedUnionList of TypescriptModule, TypescriptClass, TypescriptInterface, TypescriptFunction, TypescriptEnumerable and TypescriptCode.
/// </summ... | 1.976036 | 208c3c0c541e57db05cf13a5605e1d78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841840 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "holthe-tveit/digipost-api-client-dotnet",
"max_stars_repo_path": "Digipost.Api.Client.Common.Tests/Actions/DigipostActionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161060"
} | starcoder | <filename>Digipost.Api.Client.Common.Tests/Actions/DigipostActionTests.cs<gh_stars>1-10
using Digipost.Api.Client.Common.Actions;
using Digipost.Api.Client.Common.Enums;
using Digipost.Api.Client.Common.Identify;
using Digipost.Api.Client.Common.Recipient;
using Digipost.Api.Client.Common.Utilities;
using Xunit;
name... | 2.05107 | e67a3fbef527c0358534582010240b3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jesuscorral/jcp-shop",
"max_stars_repo_path": "src/Services/Catalog/Presentation/JCP.Catalog.API/Helperes/StartupHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161061"
} | starcoder | <gh_stars>0
using Autofac;
using BuildingBlocks.EventBus;
using BuildingBlocks.EventBus.Abstractions;
using BuildingBlocks.EventBus.EventBusRabbitMQ;
using JCP.Catalog.API.IntegrationEvents.EventHandling;
using JCP.Catalog.Infrastructure;
using JCP.Ordering.Application.IntegrationEvents;
using Microsoft.AspNetCore.Bui... | 1.687189 | 1023a5a4ed6a90cfedf609be7da54711 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtarcha/Transavia_Airports",
"max_stars_repo_path": "src/Transavia.Application.Queries/GetSupportedAirportSizes/Size.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161062"
} | starcoder | using System;
namespace Transavia.Application.Queries.GetSupportedAirportSizes
{
public sealed class Size
{
public Guid Id { get; set; }
public string Name { get; set; }
}
} | 1.554497 | 51f7b34e33b68f1645fc4b79e69421e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841843 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Infragistics/IgOutlook-NetCore3",
"max_stars_repo_path": "IgOutlook.Modules.Calendar/ViewModels/CalendarViewModelBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161063"
} | starcoder | <reponame>Infragistics/IgOutlook-NetCore3<filename>IgOutlook.Modules.Calendar/ViewModels/CalendarViewModelBase.cs
using IgOutlook.Business.Calendar;
using IgOutlook.Core;
using IgOutlook.Core.Dialogs;
using IgOutlook.Services;
using Infragistics.Controls.Schedules;
using Prism.Commands;
using Prism.Events;
using Syste... | 1.996746 | 82f6a29f2322ed336a03cc21487b9312 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saramgsilva/CompanyXPOSample",
"max_stars_repo_path": "src/dotnet/CompanyXPTO.ToggleService.Platform.IntegratedTests/ToggleControllerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161064"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using CompanyXPTO.ToggleService.Dtos;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
namespace CompanyXP... | 2.128881 | 2bf80e53fb2359fd2964075f9e3bcc45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PsiOmegaDelta/AdventOfCode2021",
"max_stars_repo_path": "AdventOfCode2021.Day11/ArrayExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161065"
} | starcoder | using AdventOfCode.Shared.Extensions;
namespace AdventOfCode2021.Day11
{
public static class ArrayExtensions
{
public static (int[][], long) ConductStep(this int[][] input)
{
var newArray = input.Copy();
var width = newArray.Length;
var flashes = 0L;
... | 3.023153 | 6fa160de899694c908500583b5a81b17 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841846 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NaosProject/Naos.Serialization",
"max_stars_repo_path": "Naos.Serialization.Test/SpecificModelTests/DictionaryFlavorSupportTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161066"
} | starcoder | <filename>Naos.Serialization.Test/SpecificModelTests/DictionaryFlavorSupportTest.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DictionaryFlavorSupportTest.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. ... | 1.940954 | bc333ec9c0c112c62b76b220dca0ff29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841847 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Soverclysm/Exurb1aBot",
"max_stars_repo_path": "Exurb1aBot/Model/Exceptions/LocationExceptions/NoLocationAssociatedException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161067"
} | starcoder | <filename>Exurb1aBot/Model/Exceptions/LocationExceptions/NoLocationAssociatedException.cs
using System;
namespace Exurb1aBot.Model.Exceptions.LocationExceptions {
class NoLocationAssociatedException:Exception{
public NoLocationAssociatedException():base("There is no location set"){}
}
}
| 1.9833 | 62bdf3f7b455270294ecd55f7015fe67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841848 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TsvetanMilanov/TelerikAcademyHW",
"max_stars_repo_path": "01.CSharpPartOne/05_ConditionalStatements/ConditionalStatements/03CheckForAPlayCard/CheckForAPlayCard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161068"
} | starcoder | using System;
/*Problem 3. Check for a Play Card
Classical play cards use the following signs to designate the card face: `2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K and A.
Write a program that enters a string and prints “yes” if it is a valid card sign or “no” otherwise.
* */
class CheckForAPlayCard
{
static void Mai... | 4.186117 | 277c4f29e46c8b9a7e83a503a37cefaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841849 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Wicorel/WicoCalpurnius",
"max_stars_repo_path": "Data/Scripts/ScenarioMaster/DuckExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161069"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Sandbox.Definitions;
using Sandbox.Game;
using Sandbox.Game.Entities;
using Sandbox.Game.Gui;
using Sandbox.ModAPI;
using Sandbox.ModAPI.Interfaces;
using SpaceEngineers.Game.ModAPI;
using VRage;
using VRage.Game;
using VRage.Game.... | 2.141235 | cd698fedf4b2f029a77d0dc0007878a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dev-mich/AspNetCore.EventLog",
"max_stars_repo_path": "src/AspNetCore.EventLog/Interfaces/IEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161070"
} | starcoder | <gh_stars>0
using System;
using System.Threading.Tasks;
namespace AspNetCore.EventLog.Interfaces
{
public interface IEventHandler<in TEvent> : IDisposable where TEvent : IIntegrationEvent
{
Task<(bool, IIntegrationEvent)> Handle(TEvent @event, string correlationId);
}
}
| 1.549275 | e08e8dc1ee66617e6f77619af02637a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841851 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "awcoats/bynder-c-sharp-sdk",
"max_stars_repo_path": "Bynder/Sdk/Model/CollectionCover.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161071"
} | starcoder | <filename>Bynder/Sdk/Model/CollectionCover.cs
// Copyright (c) Bynder. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Bynder.Sdk.Model
{
/// <summary>
/... | 2.409611 | 17abad00d03102f1fd608314311fc32c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "borislavayordanova/BlackSound",
"max_stars_repo_path": "BlackSound/Repositories/SongsRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161072"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using BlackSound.Entities;
using System.IO;
namespace BlackSound.Repositories
{
public class SongsRepository : BaseRepository<Song>
{
public SongsRepository(string filePath)
: base(filePath)
{
}
public Lis... | 2.81625 | 22da4c3c6c4ae23359bba855af0d8559 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841853 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "aritchie/deviceinfo",
"max_stars_repo_path": "Plugin.DeviceInfo/NetworkType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161073"
} | starcoder | using System;
namespace Plugin.DeviceInfo
{
public enum NetworkType
{
Unknown,
NotReachable,
Cellular,
Wifi,
Other
}
}
| 1.518709 | a19ebebe9fd45b9535e433c8fb333666 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uizaio/api-wrapper-dotnet",
"max_stars_repo_path": "src/Uiza.Net/Services/Interface/IEntityService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161074"
} | starcoder | <reponame>uizaio/api-wrapper-dotnet
using Uiza.Net.Parameters;
using Uiza.Net.Response;
namespace Uiza.Net.Services.Interface
{
/// <summary>
///
/// </summary>
public interface IEntityService : IBaseServices,
ICreate<UizaData, CreateEntityParameter>,
IRetrieve<UizaData, string>,
... | 1.679745 | 562b4d3982fb38b019998603538bc227 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841855 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "barlexandr/ContactsApp",
"max_stars_repo_path": "ContactsAppUI/ContactsAppUI/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161075"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ContactsApp;
namespace ContactsAppUI
{
public partial class MainForm : Form
{
//Со... | 2.871075 | 60e6768557b26fb9e104c42523b1dee8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jluisestrada/UniversalFormsToolkit",
"max_stars_repo_path": "AutoGenerateForm.Uwp/Fluent/PropertyBags/NumericPropertyBag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161076"
} | starcoder | <filename>AutoGenerateForm.Uwp/Fluent/PropertyBags/NumericPropertyBag.cs<gh_stars>0
namespace AutoGenerateForm.Uwp.Fluent
{
internal class NumericPropertyBag : PropertyBag
{
internal NumericPropertyBag(PropertyBag bag)
{
this.DisplayAs = bag.DisplayAs;
this.Required = ... | 2.487371 | 44a529f712e6702f5c857de2a75453ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "2ia/frapid",
"max_stars_repo_path": "src/Frapid.Web/Areas/Frapid.Account/DTO/ConfigurationProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161077"
} | starcoder | using Frapid.DataAccess;
namespace Frapid.Account.DTO
{
public class ConfigurationProfile:IPoco
{
public int ProfileId { get; set; }
public string ProfileName { get; set; }
public bool IsActive { get; set; }
public bool AllowRegistration { get; set; }
public int Registr... | 1.654287 | de39969dda458f8610c75476c924f597 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twilek/njupiter",
"max_stars_repo_path": "Development/nJupiter.Web.Syndication/FeedWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161078"
} | starcoder | #region Copyright & License
/*
Copyright (c) 2005-2011 nJupiter
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, cop... | 2.356208 | a44302549ca83fbd2cc8b49e60055c9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841859 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NattyNarwhal/N400",
"max_stars_repo_path": "N400/Packets/RandomSeedExchangeRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161079"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace N400.Packets
{
internal class RandomSeedExchangeRequest : Packet
{
static Random random = new Random();
const ushort ID = 0x7001;
public byte[] Seed
{... | 2.50031 | 5ec8034123782f94a6ebb811c5b594cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841860 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ShadowTheHedgehogHacking/ShadowFNT",
"max_stars_repo_path": "ShadowFNTTest/Modifying.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161080"
} | starcoder | <filename>ShadowFNTTest/Modifying.cs
using ShadowFNT.Structures;
using System.Collections.Generic;
using Xunit;
namespace ShadowFNTTest
{
public class Modifying
{
private const string filterString = "Assets/";
[Fact]
public void ModifyExistingEntries()
{
... | 2.420126 | 68734d71038792c2416ea45756c2f753 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841861 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "echoprotocol/echo-unity-lib",
"max_stars_repo_path": "Scripts/BaseApi/Data/Operation/Results/VoidOperationResultData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161081"
} | starcoder | using Buffers;
using Base.Config;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Base.Data.Operations.Result
{
public sealed class VoidOperationResultData : OperationResultData
{
private object value;
public override object Value => value;
public override ChainTypes.Op... | 2.47824 | bd96cb14a8bd72a17969e74c264a48e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blendiahmetaj1/eSupremacy",
"max_stars_repo_path": "EntityFramework/structs/Trades/TradeProductFindArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161082"
} | starcoder | <reponame>blendiahmetaj1/eSupremacy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities.structs.Trades
{
public class TradeProductFindArgs
{
public long TradeID { get; set; }
public int EntityID { get; set; }
... | 1.557991 | 657fbbcdaf71f40ab7e5100909f6ffde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jezzsantos/queryany",
"max_stars_repo_path": "samples/ri/Storage.UnitTests/GeneralQueueStorageSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161083"
} | starcoder | <reponame>jezzsantos/queryany<gh_stars>1-10
using System;
using Common;
using FluentAssertions;
using Moq;
using ServiceStack;
using Xunit;
namespace Storage.UnitTests
{
[Trait("Category", "Unit")]
public class GeneralQueueStorageSpec
{
private readonly Mock<IQueueository> queueository;
pr... | 2.159512 | 8a30e378ce25cd452dcf8a56e3c0b75f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laskoviymishka/Commander",
"max_stars_repo_path": "src/Commander/ConsoleCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161084"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="ConsoleCommand.cs">
// Copyright © <NAME>. All Rights Reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Commander
{
#region usings
using System... | 2.64909 | efb0b84b325a3064de1b158e1dc0749b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841865 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RIDICS/ITJakub",
"max_stars_repo_path": "UJCSystem/ITJakub.Web.Hub/Areas/Dictionaries/Views/Dictionaries/List.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161085"
} | starcoder | <filename>UJCSystem/ITJakub.Web.Hub/Areas/Dictionaries/Views/Dictionaries/List.cshtml
@using Scalesoft.Localization.AspNetCore
@inject ILocalizationService Localizer
@section styles{
<link asp-append-version="true" href="~/Areas/Dictionaries/css/itjakub.dictionaries.css" rel="stylesheet" />
}
@section scripts{
... | 1.6768 | 9a74c856df68caa895ee99d50dc09580 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841866 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "BrunoS3D/FastPlay",
"max_stars_repo_path": "Assets/FastPlay/FP-Runtime/Parameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161086"
} | starcoder | using System;
namespace FastPlay.Runtime {
public abstract class Parameter : ObjectBase {
public bool is_public = true;
public virtual Type valueType {
get {
return GetType();
}
}
}
}
| 2.199311 | e2f3bbb8bcdf3da9f3ca082cfc18eb04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841867 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NathanMagnus/Interrogator",
"max_stars_repo_path": "Interrogator.Http.TestApi/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161087"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Interrogator.Http.TestApi
{
public static class Constants
{
public static readonly string[] TestBody = new[] { "A1", "B2", "C3" };
public const string TestBodyJson = "[\"A1\",\"B2\",\"C3\"]";
public co... | 2.253263 | 002474e57e2dd06c342c5b927f049969 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841868 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "mphilipp622/NodeBasedQuestEditor",
"max_stars_repo_path": "Assets/Scripts/HUD/DisplayNPCInteraction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161088"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DisplayNPCInteraction : MonoBehaviour
{
[SerializeField]
GameObject interactionIcon;
private void Awake()
{
ErrorCheck();
}
void Start ()
{
interactionIcon.SetActive(false); // set the interaction icon to false by... | 2.411208 | dff5c7141f97fce681b445e4ee0628a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841869 | {
"extension": "c-sharp",
"max_stars_count": "798.0",
"max_stars_repo_name": "ultr0n-coder/dnx",
"max_stars_repo_path": "src/Microsoft.Dnx.Compilation.CSharp/RoslynDiagnostics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161089"
} | starcoder | <reponame>ultr0n-coder/dnx
using Microsoft.CodeAnalysis;
namespace Microsoft.Dnx.Compilation.CSharp
{
internal class RoslynDiagnostics
{
internal static readonly DiagnosticDescriptor RealSigningSupportedOnlyOnDesktopClr = new DiagnosticDescriptor(
id: "DNX1001",
title: "Strong ... | 1.597407 | 39aaf7455f2920ce56604f26e1ef84b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841870 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "fbridger/QuickBooksSharp",
"max_stars_repo_path": "QuickBooksSharp/Webhooks/EntityChangedName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161090"
} | starcoder | namespace QuickBooksSharp
{
/// <summary>
/// Supported API entities
///
/// <para>https://developer.intuit.com/app/developer/qbo/docs/develop/webhooks#sample-implementations</para>
/// </summary>
public enum EntityChangedName
{
Account,
Bill,
BillPayment,
B... | 1.61274 | a0a078dd9860444953d62260f66a43a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841871 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "algernon-A/TransportLinesManager",
"max_stars_repo_path": "WorldInfoPanel/Components/TLMTicketPriceEditorLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161091"
} | starcoder | using ColossalFramework.Globalization;
using Klyte.TransportLinesManager.Xml;
namespace Klyte.TransportLinesManager.UI
{
public class TLMTicketPriceEditorLine : TLMBaseSliderEditorLine<TLMTicketPriceEditorLine, TicketPriceEntryXml>
{
public const string TICKET_PRICE_LINE_TEMPLATE = "TLM_TicketPriceLine... | 1.975495 | 6f8faaaf34d38c8ed29107b66472fb93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841872 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "santedb/santedb-api",
"max_stars_repo_path": "SanteDB.Core.Api/Jobs/JobStateType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161092"
} | starcoder | <reponame>santedb/santedb-api<filename>SanteDB.Core.Api/Jobs/JobStateType.cs
/*
* Copyright (C) 2021 - 2021, SanteSuite Inc. and the SanteSuite Contributors (See NOTICE.md for full copyright notices)
* Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors
* Portions Copyright (C) 2015-2018 M... | 1.685217 | fdbd5bc4c9230710c0f4c49df7cb47b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841873 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "ksopyla/KMLib",
"max_stars_repo_path": "KMLib.CUDA/GPUKernels/Col2/CuVectorKernelCol2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161093"
} | starcoder | /*
author: <NAME>
mail: <EMAIL>
License: MIT
web page: http://wmii.uwm.edu.pl/~ksopyla/projects/svm-net-with-cuda-kmlib/
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KMLib.Kernels;
//using dnAnalytics.LinearAlgebra;//
using GASS.CUDA.Types;
using GASS.CU... | 1.988143 | a9cd4b02a48485bf70729e3714900c38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tauri-code/PSDT.TfsProvider",
"max_stars_repo_path": "Source/TfsProvider/TeamFoundationServer/TfsNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161094"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using PSDT.TfsProvider.Foundation;
namespace PSDT.TfsProvider.Nodes {
public class TfsNode : NodeBase {
public TfsNode(NodeContext nodeContext) : base(nodeContext, string.Empty) {
PathSegment = new PathSegment(string.Empty);
}
public override I... | 2.361305 | 3dae2b7b49a5bce4c32dc99725315ed2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841875 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "blade1981m/TriggersPC",
"max_stars_repo_path": "PokemonManager/PokemonStructures/ManagerPokeBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161095"
} | starcoder | <filename>PokemonManager/PokemonStructures/ManagerPokeBox.cs<gh_stars>10-100
using PokemonManager.Game;
using PokemonManager.Game.FileStructure;
using PokemonManager.Util;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using... | 2.361598 | f40660b976eb745866626bab73ef81ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jm-Fox/NetCoreCodeAnalysis",
"max_stars_repo_path": "NetFramework/CA1710.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161096"
} | starcoder | <reponame>Jm-Fox/NetCoreCodeAnalysis<filename>NetFramework/CA1710.cs
using System;
using System.Collections.Generic;
namespace CodeAnalysis
{
public class CA1710 : List<Guid> { }
} | 1.087454 | 18bbdd1b48a4166b6f079fe406fa0f42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841877 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frankhaugen/Frank.Extensions",
"max_stars_repo_path": "src/Frank.Libraries.CodeGeneration/Extensions/EnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161097"
} | starcoder | <reponame>frankhaugen/Frank.Extensions
using System;
using System.Collections.Generic;
using System.Linq;
namespace Frank.Libraries.CodeGeneration.Extensions
{
public static class EnumerableExtensions
{
public static IEnumerable<string> ToStrings<T>(this IEnumerable<T> source)
{
va... | 3.350175 | 24f78cc9ac4e68da757b4dc324f38cc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ByGGy/EliteJournal",
"max_stars_repo_path": "EliteSolution/EliteJournal/Presentation/Catalog/CatalogView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161098"
} | starcoder | using System.Windows.Controls;
namespace EliteJournal.Presentation
{
public partial class CatalogView : UserControl
{
public CatalogView()
{
InitializeComponent();
}
}
}
| 1.202164 | a57b3b9b09ae8c54de1ce26f0f3c729a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841879 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "impworks/matcher",
"max_stars_repo_path": "Matcher/Matcher.Tests/PatternTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161099"
} | starcoder | using System;
using Matcher.Cases.Pattern;
using NUnit.Framework;
namespace Matcher.Tests
{
[TestFixture]
public class PatternTests
{
[Test]
public void Constant()
{
var m = Match.Value(1)
.AndReturn<string>()
.With(ctx ... | 2.732946 | 16743b3171e40266bfcdd416b80a4045 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Adslot/i18n",
"max_stars_repo_path": "src/i18n/DependencyResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161100"
} | starcoder | using System;
using Microsoft.Practices.ServiceLocation;
namespace i18n
{
internal class DependencyResolver
{
#region ILocalizingService
private static ILocalizingService _defaultLocalizingService;
public static ILocalizingService LocalizingService
{
get
... | 2.224095 | 9fd8c6430a957b86b1e0fb6e85f9fcda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841881 | {
"extension": "c-sharp",
"max_stars_count": "1110.0",
"max_stars_repo_name": "bstordrup/CoreWCF",
"max_stars_repo_path": "src/CoreWCF.Primitives/src/CoreWCF/Channels/ReliableChannelBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161101"
} | starcoder | <reponame>bstordrup/CoreWCF
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace CoreWCF.Channels
{
internal enum TolerateFaultsMode
{
Never,
IfNotSecuritySession,
Always
}
... | 1.497066 | 2ffeb1b29b0a491dcd2492b7d83e9d18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Infarh/MathCore.NET",
"max_stars_repo_path": "Tests/MathCore.NET.TestConsole/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161102"
} | starcoder | using System;
namespace MathCore.NET.TestConsole
{
class Program
{
private const int __ServerPort = 8080;
static void Main(string[] args)
{
ServerHost.Start(__ServerPort);
Console.WriteLine("Server started...");
Console.ReadLine();
C... | 1.964969 | dd36ae143764b5c8d1eb9ba45c58b2ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gtri-iead/LEXS-NET-Sample-Implementation-4.0",
"max_stars_repo_path": "LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/AttachmentType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161103"
} | starcoder | <gh_stars>0
namespace Lexs4SearchRetrieveWebService
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]... | 1.609284 | 81ce4588a003bed9f9fa16ca4d41736d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "athulrajts/Resusables",
"max_stars_repo_path": "Infrastructure/LogViewer/Converters/LogLevelToBackgroundBrushConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161104"
} | starcoder | using KEI.Infrastructure.Logging;
using KEI.UI.Wpf;
using System;
using System.Globalization;
using System.Windows.Media;
namespace LogViewer.Converters
{
public class LogLevelToBackgroundBrushConverter : BaseValueConverter<LogLevelToBackgroundBrushConverter>
{
public override object Convert(object va... | 2.56886 | 3fd3bed978d4c159b97280e34cb24754 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RodgerLeblanc/Linehaul-Helper",
"max_stars_repo_path": "Linehaul Helper/Linehaul_Helper/ViewModels/WeightPageForCombinationViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161105"
} | starcoder | using Linehaul_Helper.Helpers;
using Linehaul_Helper.Localization;
using Linehaul_Helper.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Xamarin.Forms;
namespace Linehaul_Helper.ViewModels
{
public class ... | 2.21711 | 8df68dda416d42d5c7476e071e1ada4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NetOfficeFw/Excel-XlLateBinding",
"max_stars_repo_path": "ReleaseTags/0.7/LateBindingApi.Excel/Shapes/XlTextFrame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161106"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Reflection;
using LateBindingApi.Excel.Enums;
using LateBindingApi.Excel.Interfaces;
namespace LateBindingApi.Excel.Shapes
{
public class XlTextFrame : XlNonCreatable
{
#region Constr... | 2.26507 | bc5eecf9b5822d9d966c33d26b342b0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841887 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "borzel/win-installer",
"max_stars_repo_path": "src/HardwareDevice/Device.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161107"
} | starcoder | using HelperFunctions;
using Microsoft.Win32;
using PInvokeWrap;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
namespace HardwareDevice
{
public static class Device
{
public static string GetDevRegPropertyStr(
SetupApi.DeviceInfoSet devInf... | 2.650698 | 67a3c7cea74793c8fa04de609d28bbcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841888 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GMS-online/wt-libraries",
"max_stars_repo_path": "wt.core-test/Classes/Components/TestComponents/Test2C.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161108"
} | starcoder |
namespace WhileTrue.Classes.Components.TestComponents
{
[Component]
internal class Test2C : ITestFacade2
{
}
} | 1.108505 | 05788f93d6a745f08cab2d1997914d91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841889 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wyDuang/Blog",
"max_stars_repo_path": "src/WYBlog.Domain.Shared/BlogAppConsts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161109"
} | starcoder | namespace WYBlog
{
public static class BlogAppConsts
{
/// <summary>
/// 默认Cors策略名称
/// </summary>
public const string DefaultCorsPolicyName = "BlogApiCors";
}
} | 1.500729 | fcf6e195b28357ab0a0a8495308c856d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "klmcdorm/LevelPost",
"max_stars_repo_path": "LevelPost/FindWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161110"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System... | 1.6523 | 6441293176861396c55d89929e1854ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qanwi1970/dnd-srd",
"max_stars_repo_path": "SrdReference/Infrastructure/ExtendedClaimsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161111"
} | starcoder | <filename>SrdReference/Infrastructure/ExtendedClaimsProvider.cs
using System.Collections.Generic;
using System.Security.Claims;
namespace SrdReference.Infrastructure
{
public static class ExtendedClaimsProvider
{
public static IEnumerable<Claim> GetClaims(ApplicationUser user)
{
L... | 2.884435 | f6ab1ca38ba99802fa06e7280e89e9c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841892 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "theXappy/PacketStudio",
"max_stars_repo_path": "PacketDotNet/SctpPacket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161112"
} | starcoder | <reponame>theXappy/PacketStudio<gh_stars>1-10
// Decompiled with JetBrains decompiler
// Type: PacketDotNet.SctpPacket
// Assembly: PacketDotNet, Version=0.14.0.0, Culture=neutral, PublicKeyToken=null
// MVID: F90CC42A-15BE-4D4B-8C38-4E8DECCB77A2
// Assembly location: C:\Desktop\PacketDotNet.dll
using PacketDotNet.Mi... | 1.373687 | 64145aab28864af2c92e042ed21b8ad1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841893 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Frederikskaj2/Reservations",
"max_stars_repo_path": "Server/Views/PayOut/Html.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161113"
} | starcoder | @model PayOutModel
@inject CultureInfo CultureInfo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<title>Udbetaling</title>
<meta http-equiv="Content-Type" content="text/html; charset... | 2.625626 | c2375562c5dd8a4d4012789b06de0dd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841894 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dalessio/DallEX.io",
"max_stars_repo_path": "PoloniexApi.Net/TradingTools/Order.Interface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161114"
} | starcoder | namespace DallEX.io.API.TradingTools
{
public interface IOrder
{
ulong IdOrder { get; }
OrderType Type { get; }
double PricePerCoin { get; }
double AmountQuote { get; }
double AmountBase { get; }
}
}
| 1.59943 | ddf99ae4f0c7830088e10c86f302f1d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NatsumiHB/Yarnball",
"max_stars_repo_path": "Yarnball/Areas/Identity/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161115"
} | starcoder | @using Microsoft.AspNetCore.Identity
@using Yarnball.Areas.Identity
@using Yarnball.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using Yarnball.Data | 1.485708 | c0ec969add1563662444afcdef493442 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841896 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "INVA-Spa/Laser.Orchard.Platform",
"max_stars_repo_path": "src/Themes/Lasergroup/Views/Orchard.Users/Account/RequestLostPassword.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161116"
} | starcoder | @Display(New.Parts_Title_Default(Title: T("Lost Password").ToString(),
Subtitle: "",
ImageUrl: "",
ImageTitle: "",
ImageAlternateText: ""))
@Display(New.Parts_Body_Default(Html: T("Please enter your username or email address.You will receive a link to create a new password via email.").ToString()))
<di... | 2.337134 | 15ba86eca262d254e37c0e7e7e558d3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841897 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "moljac/Samples.Xamarin.Forms",
"max_stars_repo_path": "samples/tutorial/Expert-01-PlatformSpecific/DependencyService/Sample/PlatformSpecific.DependencyService.WinPhone/FeaturesCapabilities/Logging/LoggerService.cs",
"provenance": "tra... | starcoder | <filename>samples/tutorial/Expert-01-PlatformSpecific/DependencyService/Sample/PlatformSpecific.DependencyService.WinPhone/FeaturesCapabilities/Logging/LoggerService.cs
using System;
using PlatformSpecific.DependencyService.FeaturesCapabilities.Logging.WindowsPhone;
[assembly: Xamarin.Forms.Dependency(typeof(Logge... | 2.194596 | fbca1c105db626e9afa22ffc660eb984 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841898 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ChrWieg/TvHeadend",
"max_stars_repo_path": "TvHeadendGui/ViewModels/RecordingsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161118"
} | starcoder | using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using Prism.Commands;
using Prism.Events;
using Prism.Regions;
using PropertyChanged;
using TvHeadendGui.Events;
using TvHeadendGui.Helper;
using TvHeadendLib.Interfaces;
using TvHeadendLib.Models;
namespace TvHeadendGui.View... | 2.268561 | 922a7a10bad0e8f8a36fc75ae70e6cd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841899 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "idea-statica/ideastatica-public",
"max_stars_repo_path": "src/IdeaStatiCa.Public/IProjectContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161119"
} | starcoder | using System.Collections.Generic;
using System.IO;
namespace IdeaStatiCa.Public
{
/// <summary>
/// Provides methods for accessing project data streams.
/// </summary>
public interface IProjectContent
{
/// <summary>
/// Creates new project data stream. If <paramref name="contentId"/> already exists, it will... | 3.106446 | 0a40f51f1f9ed1b0627d34aa96c8ad4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841900 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Higurashi-kagome/Algorithms-4th-Edition-in-Csharp",
"max_stars_repo_path": "1 Fundamental/1.4/1.4.10/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161120"
} | starcoder | <filename>1 Fundamental/1.4/1.4.10/Program.cs
using System;
using _1._4._10;
var key = 1;
var a = new[] { 1, 1, 3, 4, 5 };
Console.WriteLine($"The first index of {key} is {BinarySearch.Rank(key, a, 0, a.Length - 1)}"); | 2.937915 | 65b66c6a2170ddf2a2722a4f398a47da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841901 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GEOTEST-AG/BioDivCollector",
"max_stars_repo_path": "Server/BioDivCollector.DB/Models/Domain/Data.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161121"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace BioDivCollector.DB.Models.Domain
{
public abstract class DataBase<T>
{
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public Guid Id { get; set; }
public ... | 2.294485 | 9c4ec15edec0367602394db26c5197b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841902 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "navigati0n/ActivityAnalysis",
"max_stars_repo_path": "ActivityAnalysis.WPF/Views/ProgramsAnalysisView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161122"
} | starcoder | <filename>ActivityAnalysis.WPF/Views/ProgramsAnalysisView.xaml.cs
using System.Windows.Controls;
namespace ActivityAnalysis.WPF.Views
{
public partial class ProgramsAnalysisView : UserControl
{
public ProgramsAnalysisView()
{
InitializeComponent();
}
}
} | 1.243931 | a7d59ffa463932a2ac7aa2ad2e0d8146 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "limitzero/MonacoServiceBus",
"max_stars_repo_path": "src/Extensibility/Transports/Monaco.Transports.Msmq/MsmqRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161123"
} | starcoder | using System;
using Castle.MicroKernel;
using Monaco.Configuration;
using Monaco.Endpoint.Factory;
using Monaco.Endpoint.Registrations;
namespace Monaco.Transports.Msmq
{
public class MsmqRegistration :
IEndpointTransportRegistration<MsmqEndpoint, MsmqTransport>
{
public IContainer Container { get; set; }
pu... | 1.749647 | 7f5a366f47c234bb484a5652e657a424 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841904 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "Swastika-IO/Swastika",
"max_stars_repo_path": "src/Sio.Cms.Lib/ViewModels/SioPages/UpdateViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161124"
} | starcoder | <reponame>Swastika-IO/Swastika
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage;
using Sio.Cms.Lib.Models.Cms;
using Sio.Cms.Lib.Repositories;
using Sio.Cms.Lib.Services;
using Sio.Cms.Lib.ViewModels.SioSystem;
using Sio.Common.Helper;
using Sio.Domain.Core.Models;
using Sio.Doma... | 1.568079 | 9ef2a98a17c89ed6899fe053d943cffa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841905 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "temezeta/DiscordNHL",
"max_stars_repo_path": "NHLStats/Dtos/TeamStatDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161125"
} | starcoder | <filename>NHLStats/Dtos/TeamStatDto.cs<gh_stars>0
namespace NHLStats.Dtos
{
public class TeamStatDto
{
public int? GamesPlayed { get; set; }
public string Wins { get; set; }
public string Losses { get; set; }
public string Ot { get; set; }
public string Pts { get; set; }... | 2.041643 | 9f910d60fc0b280bb8f0e6bd9aef3e47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841906 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Weflac/nodejstools",
"max_stars_repo_path": "Nodejs/Product/Nodejs/Jade/TextUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161126"
} | starcoder | <gh_stars>1-10
//*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 License
//
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 2.209583 | 0f8d08a950b6696a47cf1a2aae20ed84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841907 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "lotbr101/roslyn2famix",
"max_stars_repo_path": "Roslyn2Famix/Model/FAMIX/BehaviouralEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161127"
} | starcoder | <reponame>lotbr101/roslyn2famix
using Dynamix;
using Fame;
using FAMIX;
using FILE;
using System;
using System.Collections.Generic;
namespace FAMIX
{
[FamePackage("FAMIX")]
[FameDescription("BehaviouralEntity")]
public class BehaviouralEntity : FAMIX.ContainerEntity
{
private List<FAMIX.Access>... | 1.95627 | c2498cf51957995ce7f660eaaaebbae5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftwareAG/cumulocity-sdk-cs",
"max_stars_repo_path": "REST-SDK/test/Cumulocity.SDK.Client.IntegrationTest/DeviceControl/DeviceCredentialsFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161128"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Cumulocity.SDK.Client.HelperTest;
using Cumulocity.SDK.Client.Rest;
using Cumulocity.SDK.Client.Rest.Model.Authentication;
namespace Cumulocity.SDK.Client.IntegrationTest.DeviceControl
{
public class DeviceCredentialsFixture : IDisposable
{
... | 1.862043 | 7126280ab070aaa6fef9dd21edd47464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paulsalmon-za/microservices-play-ground",
"max_stars_repo_path": "Abstractions/Information/InformationNameResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161129"
} | starcoder | using System;
using System.Linq;
namespace Abstractions
{
public interface IInformationNameResolver
{
string Resolve<T>();
string Resolve(Type type);
}
public class SimpleInformationNameResolver : IInformationNameResolver
{
public string Resolve<T>()
{
r... | 3.215008 | 9fd7138b001ed1d2ea231648acbd85c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StefanoRaggi/ExchangeSharp",
"max_stars_repo_path": "src/ExchangeSharp/API/Exchanges/BTSE/ExchangeBTSEAPI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161130"
} | starcoder | <gh_stars>0
namespace ExchangeSharp {
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public sealed partial class ExchangeBTSEAPI :ExchangeAPI {
public override string BaseUrl { get; set; } = "https://api.btse.com";
protected overr... | 2.166228 | ee26e9ccd964416c533dae2315e8b145 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8841911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nvisionative/framework",
"max_stars_repo_path": "Oqtane.Client/Modules/ModuleBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161131"
} | starcoder | using Microsoft.AspNetCore.Components;
using Oqtane.Shared;
using Oqtane.Models;
namespace Oqtane.Modules
{
public class ModuleBase : ComponentBase, IModuleControl
{
[CascadingParameter]
protected PageState PageState { get; set; }
[CascadingParameter]
protected Module ModuleSt... | 2.164118 | c3c163733d35f1b1f0e99107790ce61a |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.