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 | 66133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TaiwanSpring/L1CSharpTW",
"max_stars_repo_path": "LineageServer/Clientpackets/C_AuthLogin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66134"
} | starcoder | using LineageServer.Exceptions;
using LineageServer.Interfaces;
using LineageServer.Models;
using LineageServer.Server;
using LineageServer.Server.Model;
using LineageServer.Serverpackets;
using System;
namespace LineageServer.Clientpackets
{
/// <summary>
/// 處理 beanfun相關的帳號密碼取得登入與登出
/// </summary>
cl... | 2.180124 | 906e7f4e5034dbe9b86f221212b2dae1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoaoTPinto/scarif-ds-1",
"max_stars_repo_path": "Scarif DS-1/ui/OpcoesMenuPrincipal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66135"
} | starcoder | namespace Scarif_DS_1.ui
{
//Enumerador das Opções do Menu Principal
public enum OpcoesMenuPrincipal
{
Sair = 0,
Editar = 1,
Criar = 2,
Proteger = 3,
Outra = 4
};
} | 1.519147 | 483a2b9a66cba73b86e7aa4d613832e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66135 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LumosX/Unity-Reorderable-List",
"max_stars_repo_path": "Examples/Editor/NestedChildDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66136"
} | starcoder | using UnityEngine;
using UnityEditor;
namespace ZeroVector.Common.Reorderable.Editor {
[CustomPropertyDrawer(typeof(NestedExample.NestedChildCustomDrawer))]
public class NestedChildDrawer : PropertyDrawer {
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) {
... | 1.784281 | ff4c371f405e1b7883a6cb939742674f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaila-spraguemcrae/Bakery.Solution",
"max_stars_repo_path": "Bakery/Models/Pastry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66137"
} | starcoder | namespace Bakery.Models
{
public class Pastry
{
public int Price { get; set; }
public int Quantity { get; set; }
public int Total { get; set; }
public Pastry(int quantity)
{
Price = 2;
Quantity = quantity;
Total = 0;
}
public int PastryTotal(int quantity)
{
T... | 2.798525 | 8a06608c0925b31e4be8dce363ae0fa4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66137 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TimHanewich/Codemasters.F1_2021",
"max_stars_repo_path": "src/Packets/LapPacket.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66138"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using TimHanewich.Toolkit;
namespace Codemasters.F1_2021
{
public class LapPacket : Packet
{
public LapData[] FieldLapData { get; set; }
public override void LoadBytes(byte[] bytes)
{
ByteArrayManager BAM = new... | 2.670633 | 6eb02ae4a8b876cb1b24278b93f075e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66138 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Hiteshgautam01/Project1_TPS",
"max_stars_repo_path": "Project1_TPS/Library/PackageCache/com.unity.cinemachine@2.6.2/Editor/Editors/CinemachineExternalCameraEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66139"
} | starcoder | using System.Collections.Generic;
using UnityEditor;
namespace Cinemachine.Editor
{
[CustomEditor(typeof(CinemachineExternalCamera))]
[CanEditMultipleObjects]
internal class CinemachineExternalCameraEditor
: CinemachineVirtualCameraBaseEditor<CinemachineExternalCamera>
{
protected over... | 1.62877 | a24ca777b56ae81c9dd0ce27154aab12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nakutaka/eiin839",
"max_stars_repo_path": "TD3/TD3/Position.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66140"
} | starcoder | <filename>TD3/TD3/Position.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TD3
{
class Position
{
public double lat {get; set;}
public double lng { get; set;}
public Position(double lat, double... | 3.052828 | 00ca4074e08bf1c25def92144d8b411e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66140 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "talhahaneef/AdvanceOOP",
"max_stars_repo_path": "LodhranStore/LodhranStore/Data/StoreModel.Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66141"
} | starcoder | <reponame>talhahaneef/AdvanceOOP
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overw... | 1.732844 | 45d44bdba4db489235b68ad01ef6e2c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66141 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jennifermarsman/azure-sdk-for-net",
"max_stars_repo_path": "sdk/testcommon/Azure.Management.Resources.2017_05/src/Generated/Models/ResourceManagementErrorWithDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66142"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Management.Resources.Models
{
/// <summary> The detailed error message of resource management. </summary>
public partial cl... | 1.927872 | 738f43202d1257a1b6a326fa95017b5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66142 | {
"extension": "c-sharp",
"max_stars_count": "997.0",
"max_stars_repo_name": "aTiKhan/CQRSlite",
"max_stars_repo_path": "Framework/CQRSlite.Tests/Snapshotting/When_getting_a_snapshot_aggregate_with_no_snapshot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66143"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using CQRSlite.Domain;
using CQRSlite.Snapshotting;
using CQRSlite.Tests.Substitutes;
using Xunit;
namespace CQRSlite.Tests.Snapshotting
{
public class When_getting_a_snapshot_aggregate_with_no_snapshot
{
private readonly TestSnapshotA... | 2.19181 | 112ca6000d2914ce83695927afce5af9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66143 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ControlExpert/extensions",
"max_stars_repo_path": "Signum.Engine.Extensions/Word/WordTemplateNodes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66144"
} | starcoder | using DocumentFormat.OpenXml;
using W = DocumentFormat.OpenXml.Wordprocessing;
using D = DocumentFormat.OpenXml.Drawing;
using S = DocumentFormat.OpenXml.Spreadsheet;
using Signum.Engine.Templating;
using Signum.Entities.DynamicQuery;
using Signum.Utilities;
using Signum.Utilities.DataStructures;
using System;
... | 2.341299 | 1081f97b7e5a937b19e429d429e2578f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kartverket/Geonorge.Produktark",
"max_stars_repo_path": "Kartverket.Produktark/Views/ProductSheets/_AdditionalDetails.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66145"
} | starcoder | <filename>Kartverket.Produktark/Views/ProductSheets/_AdditionalDetails.cshtml
@model Kartverket.Produktark.Models.ProductSheet
<div class="form-group">
@Html.LabelFor(model => model.PrecisionInMeters, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.EditorFor(model => model.Pre... | 2.353498 | addee0d71e384262e76a47dd8fe11724 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BizArk/BizArkStd",
"max_stars_repo_path": "BizArk.Standard.Core/Util/RemoteDateTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66146"
} | starcoder | <reponame>BizArk/BizArkStd
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace BizArk.Standard.Core.Util
{
/// <summary>
/// Provides a convenient DateTime wrapper for handling remote date/time values (eg, the server date/time).
/// </... | 2.972048 | de16acfe2c86b3eaeb18895b28c017ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jcapellman/jcly",
"max_stars_repo_path": "src/jcly.lib/Helpers/KeyGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66147"
} | starcoder | <filename>src/jcly.lib/Helpers/KeyGenerator.cs
using System;
using System.Linq;
using jcly.lib.Common;
namespace jcly.lib.Helpers
{
public static class KeyGenerator
{
private static readonly Random random = new Random();
private const string KEY_CHARACTERS = "<KEY>";
public static s... | 2.757455 | 17519fc0930411cc7598446e450ba36f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66147 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ninjacoder88/software-fundamentals",
"max_stars_repo_path": "13-UnitTesting/02-UnitTestingWithDI/UnitTestingWithDI/UnitTesting.UnitTests/CsvParserTests/ParseTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66148"
} | starcoder | <reponame>ninjacoder88/software-fundamentals<gh_stars>1-10
using System;
using System.Data;
using System.Linq;
using AutoFixture;
using NSubstitute;
using NSubstitute.ExceptionExtensions;
using NSubstitute.ReturnsExtensions;
using NUnit.Framework;
using UnitTestingWithDI;
namespace UnitTesting.UnitTests.CsvParserTest... | 2.6716 | bed08814f213485c0ab5676050d6dfc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66148 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iamprovidence/Lama",
"max_stars_repo_path": "src/backend/Shared/EventBus/EventBus.Extensions.Microsoft.DependencyInjection/ServicesInjectors/Abstract/IServicesInjector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66149"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using EventBus.Extensions.Microsoft.DependencyInjection.Settings.Abstract;
namespace EventBus.Extensions.Microsoft.DependencyInjection.ServicesInjectors.Abstract
{
public interface IServicesInjector
{
void AddPersistentConnection(IServiceCollection services, ISettin... | 1.478994 | 7de64b9ba31b0cb657d066c81c1a7594 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66149 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Rolosoft/Rsft.Identity3.CacheRedis",
"max_stars_repo_path": "src/Components/Rsft.Identity3.CacheRedis/Diagnostics/Common/EventIds.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66150"
} | starcoder | <reponame>Rolosoft/Rsft.Identity3.CacheRedis
// Copyright 2016 Rolosoft Ltd
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required ... | 1.667619 | bd3daa9cf2177036f5fcd155a20aedf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66150 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "jpodpro/chargify-dot-net",
"max_stars_repo_path": "Source/ChargifyDotNet/PaymentProfileAttributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66151"
} | starcoder |
#region License, Terms and Conditions
//
// PaymentProfileAttributes.cs
//
// Authors: <NAME> <twitter.com/djbyter>, <NAME>
// Copyright (C) 2010 Clinical Support Systems, Inc. All rights reserved.
//
// THIS FILE IS LICENSED UNDER THE MIT LICENSE AS OUTLINED IMMEDIATELY BELOW:
//
// Permission is hereby granted, ... | 2.201032 | a4ee18f682f316f7abf33b427ba6c371 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66151 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "wsct/WSCT-Core",
"max_stars_repo_path": "WSCT/Stack/CardChannelLayerDescription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66152"
} | starcoder | <filename>WSCT/Stack/CardChannelLayerDescription.cs<gh_stars>1-10
using WSCT.Stack.Generic;
namespace WSCT.Stack
{
/// <inheritdoc />
public class CardChannelLayerDescription : GenericLayerDescription
{
}
} | 1.347935 | a4f10bdafed3486f8ec799cf33417569 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66152 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TimeTravelPenguin/AllOverIt",
"max_stars_repo_path": "Tests/AllOverIt.Evaluator.Tests/FormulaCompilerFixture.Functional.CosineAngle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66153"
} | starcoder | using System;
using Xunit;
namespace AllOverIt.Evaluator.Tests
{
public class FormulaCompilerFixtureFunctionalCosineAngle : FormulaCompilerFixtureFunctionalBase
{
[Fact]
public void Should_Return_Cosine()
{
var angle = Math.Cos(Val1);
AssertFormula($"acos({angle... | 2.281797 | 574dc8a0287960b1710040888b6ff0e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66153 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "azurechamp/monodroid-samples",
"max_stars_repo_path": "android5.0/RevealEffectBasic/RevealEffectBasic/RevealEffectBasicFragment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66154"
} | starcoder | using System;
using Android.Animation;
using Android.Support.V4.App;
using Android.OS;
using Android.Views;
using Android.Views.Animations;
using CommonSampleLibrary;
namespace RevealEffectBasic
{
public class RevealEffectBasicFragment : Fragment
{
const string TAG = "RevealEffectBasicFragment";
View rootView;... | 2.604339 | f24994893f62d387bcad38c77f1e60c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phanhoanganh9x/ANNsys",
"max_stars_repo_path": "IM_PJ/xem-nuoc-hoa.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66155"
} | starcoder | using IM_PJ.Controllers;
using IM_PJ.Models;
using IM_PJ.Utils;
using MB.Extensions;
using NHST.Bussiness;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace IM_PJ... | 2.334115 | 18538c475358e21e76f495b0d770b5ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66155 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "thautwarm/Traffy.UnityPython",
"max_stars_repo_path": "UnityPython.BackEnd/generated-src/Traffy.MethodBindings/TrGameObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66156"
} | starcoder | using System;
using System.Collections.Generic;
using Traffy.Objects;
using Traffy.Annotations;
#if !NOT_UNITY
namespace Traffy.Unity2D
{
public sealed partial class TrGameObject
{
public override int __hash__() => throw new TypeError($"unhashable type: {CLASS.Name.Escape()}");
public override b... | 2.129901 | 3c414c09515c0553a8ec96fa92a2e613 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66156 | {
"extension": "c-sharp",
"max_stars_count": "1222.0",
"max_stars_repo_name": "AlexNDRmac/stryker-net",
"max_stars_repo_path": "ExampleProjects/fsharpsyntaxtrees/fsharpsyntaxtrees/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66157"
} | starcoder | using FSharp.Compiler;
using FSharp.Compiler.SourceCodeServices;
using FSharp.Compiler.Text;
using Microsoft.FSharp.Collections;
using Microsoft.FSharp.Control;
using Microsoft.FSharp.Core;
using System;
using System.IO;
using System.Linq;
using static FSharp.Compiler.SourceCodeServices.AstTraversal.TraverseStep;
using... | 2.165901 | ecf0cc150645f01f65af4d9807ef9851 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66157 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "davidzwa/BabylonUnityLearnings",
"max_stars_repo_path": "RollABall/Assets/Babylon/Sources/ExporterOutput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66158"
} | starcoder | <filename>RollABall/Assets/Babylon/Sources/ExporterOutput.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Unity3D2Babylon
{
public class ExporterOutput : EditorWindow
{... | 2.195993 | c3d41cc4db67c838df9c469e161d031f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RokKos/GGJ2019",
"max_stars_repo_path": "Assets/Scripts/TVNoiseController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66159"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TVNoiseController : MonoBehaviour
{
[SerializeField] Material material;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
... | 1.874582 | 33ff997f2795a960aa24a19b1b86cff7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66159 | {
"extension": "c-sharp",
"max_stars_count": "3117.0",
"max_stars_repo_name": "MitchellNZ/ClosedXML",
"max_stars_repo_path": "ClosedXML/Excel/Patterns/Quadrant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66160"
} | starcoder | <gh_stars>1000+
using System;
using System.Collections.Generic;
using System.Linq;
namespace ClosedXML.Excel.Patterns
{
/// <summary>
/// Implementation of QuadTree adapted to Excel worksheet specifics. Differences with the classic implementation
/// are that the topmost level is split to 128 squa... | 2.971518 | 9e90547b1550b402b2d4657f38187996 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66160 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "webmd-health-services/Rivet",
"max_stars_repo_path": "Source/Operations/RemoveUserDefinedFunctionOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66161"
} | starcoder | using System;
namespace Rivet.Operations
{
public sealed class RemoveUserDefinedFunctionOperation : ObjectOperation
{
public RemoveUserDefinedFunctionOperation(string schemaName, string name)
: base(schemaName, name)
{
}
public override string ToIdempotentQuery()
{
return
string.F... | 2.434074 | 5bcad53d822bcaa8c261a06abf1cf3fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66161 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "hferrone/mslearn-mr-adt-in-unity",
"max_stars_repo_path": "Unity-Project/Assets/Scripts/SignalR/ADTDataHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66162"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.Unity;
using System.Linq;
using System.Threading.Tasks;
using UnityEngine;
public class ADTDataHandler : MonoBehaviour
{
private SignalRService rService;
public string url = "";
public TurbineSiteData turbineSiteDa... | 2.190321 | a9f7a674f7f7e688a9607badd2f5c74c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66162 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "jeffmaley/PerpetuumServer",
"max_stars_repo_path": "src/Perpetuum/Zones/NpcSystem/Reinforcements/NpcReinforcementsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66163"
} | starcoder | using Perpetuum.Data;
using Perpetuum.Zones.Terrains.Materials;
using System.Data;
using System.Linq;
namespace Perpetuum.Zones.NpcSystem.Reinforcements
{
public class NpcReinforcementsRepository : INpcReinforcementsRepository
{
private const string queryStr = "SELECT threshold, presenceId from npcrei... | 2.346028 | 9ebd0da6aa09a3528648fa0f19b0860a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66163 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joelverhagen/Knapcode.CommonLibrary.NET",
"max_stars_repo_path": "src/Tests/CommonLibrary.UnitTests/StringTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66164"
} | starcoder | <reponame>joelverhagen/Knapcode.CommonLibrary.NET
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using ComLib;
using ComLib.Types;
using ComLib.Collections;
using ComLib.Extensions;
namespace CommonLibrary.Tests
{
[TestFixture]
public class StringDelimitedTests
{
... | 2.812662 | acbec01258a517ade69afa7303539f8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66164 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "HeddaZ/ServiceOnset",
"max_stars_repo_path": "ServiceOnset/Services/ServiceFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66165"
} | starcoder | <gh_stars>10-100
using ServiceOnset.Config;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ServiceOnset.Services
{
public class ServiceFactory
{
#region Singleton
private static ServiceFactory _instance;
private static obje... | 2.38022 | 526918a8a598cc8c9b9d3efd05b0db9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baskren/P42.Uno.HtmlExtensions",
"max_stars_repo_path": "P42.Uno.HtmlExtensions/WebViewX/NativeWebView.unowasm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66166"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Windows.UI.Xaml;
using Uno.UI.Runtime.WebAssembly;
using Uno.Foundation;
using System.Net.Http;
using System.IO;
using Newtonsoft.Json;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace P42.Uno.HtmlExtensions
{
[HtmlElement... | 2.16718 | b09b763dbb7ab329efb6497fecd62cf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66166 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/Sakuno.Base",
"max_stars_repo_path": "src/Sakuno.Base/Collections/FilteredCollectionView`T.Interfaces.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66167"
} | starcoder | <reponame>JTOne123/Sakuno.Base
using System;
using System.Collections;
namespace Sakuno.Collections
{
partial class FilteredCollectionView<T>
{
bool IList.IsFixedSize => throw new NotSupportedException();
bool IList.IsReadOnly => true;
bool ICollection.IsSynchronized => throw new NotSu... | 2.3886 | f163945bdf0f99c38410e63d1c8267d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66167 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mylorik/OctoBot-Core",
"max_stars_repo_path": "OctoBot/Commands/DailyPull.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66168"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using OctoBot.Configs;
using OctoBot.Configs.Server;
using OctoBot.Configs.Users;
using OctoBot.Custom_Library;
using OctoBot.Custom_Library.DiscordBotsList.Api.Custom;
using OctoBot.Handeling... | 2.419595 | 65a87380390210b811fdb7fa87085c26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deadtrickster/LiveLisp",
"max_stars_repo_path": "LiveLisp.Core/Eval/Parsing/ILParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66169"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LiveLisp.Core.Types;
using LiveLisp.Core.AST;
using LiveLisp.Core.BuiltIns.Numbers;
namespace LiveLisp.Core.Eval
{
static class ILParser
{
internal static void EnsureNoArgs(object cdr)
{
if ... | 2.684737 | 23a8cb6c8775a1d9980e156967f01e3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66169 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Platonenkov/OpenXmlEx",
"max_stars_repo_path": "OpenXmlEx/EasyWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66170"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Spreadsheet;
using OpenXmlEx.Errors;
using OpenXmlEx.Errors.Actions;
using OpenXmlEx.Errors.Sheets;
using OpenXmlEx.S... | 2.517681 | 1e509b77f71bda72110935bc3aa72564 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66170 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "square/square-dotnet-sdk",
"max_stars_repo_path": "Square/Apis/ITeamApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66171"
} | starcoder | <reponame>square/square-dotnet-sdk
namespace Square.Apis
{
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Square;
using Square.Http... | 2.15541 | 8186ea79bbbc71815b8e6fac60b2696f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teja-1010100/emuses",
"max_stars_repo_path": "samples/Emuses.Example/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66172"
} | starcoder | <filename>samples/Emuses.Example/Controllers/HomeController.cs
using Emuses.Example.Models.Home;
using Microsoft.AspNetCore.Mvc;
namespace Emuses.Example.Controllers
{
public class HomeController : Controller
{
private readonly ISessionStorage _storage;
public HomeController(ISessionStorage s... | 2.110608 | bb59070ffbd5005e6255423b0a55703c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66172 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "ufcpp/UfcppSample",
"max_stars_repo_path": "Demo/2017/TupleMutableStruct/TupleMutableStruct/ValueObject/MutableClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66173"
} | starcoder | <gh_stars>100-1000
namespace TupleMutableStruct.ValueObject.MutableClass
{
using System;
class MutableClass : IEquatable<MutableClass>
{
public int X { get; set; }
public int Y { get; set; }
public bool Equals(MutableClass other) => X == other.X && Y == other.Y;
public ove... | 3.542064 | a2b206be8ebe0601ef19e5c7ed2c664b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66173 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "NatanaelLemos/nlemos.api.framework",
"max_stars_repo_path": "server/NLemos.Api.Framework/Middlewares/ErrorHandling.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66174"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using NLemos.Api.Framework.Exceptions;
namespace NLemos.Api.Framework.Middlewares
{
internal class ErrorHandling
{
private readonly Reque... | 2.686801 | 5e7c4c6133293d5dbe56d26fed5c196d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66174 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mdabros/CntkCatalyst",
"max_stars_repo_path": "src/CntkCatalyst/LayerFunctions/Layers.Activations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66175"
} | starcoder | <gh_stars>1-10
using CNTK;
namespace CntkCatalyst.LayerFunctions
{
/// <summary>
/// Layer operations for CNTK
/// </summary>
public static partial class Layers
{
public static Function ReLU(this Function input)
{
return CNTKLib.ReLU(input);
}
public st... | 2.229186 | 32e0b7ceb1f490a09badd8766ca29ae4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66175 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "janhartmann/cake",
"max_stars_repo_path": "src/Cake/Composition/ModuleSearcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66176"
} | starcoder | // 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.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Cake.Core;
using ... | 2.172391 | 1d2d310fc0dbcbbef29d9fcde0511d56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66176 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RIDICS/ITJakub",
"max_stars_repo_path": "UJCSystem/ITJakub.Xml.Conversion/Daliboris.OOXML.Word/Udalosti/ParagraphEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66177"
} | starcoder | using System;
namespace Daliboris.OOXML.Word
{
/// <summary>
/// Informace o odstavci (jeho pořadí a názvu)
/// </summary>
public class ParagraphEventArgs : EventArgs {
public ParagraphEventArgs() { }
public ParagraphEventArgs(Style stStyle) {
this.Style = stStyle;
}
public ParagraphEventArgs(Style stS... | 2.58709 | d6d2c68710c51fa5b633f5753642eb1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "douchedetector/mvc-razor",
"max_stars_repo_path": "test/System.Web.Mvc.Test/Html/Test/NameExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66178"
} | starcoder | using Microsoft.Web.UnitTestUtil;
using Xunit;
namespace System.Web.Mvc.Html.Test
{
public class NameExtensionsTest
{
[Fact]
public void NonStronglyTypedWithNoPrefix()
{
// Arrange
HtmlHelper html = MvcHelper.GetHtmlHelper(new ViewDataDictionary());
... | 2.49646 | d5f301d7121ff2aaf200f824fc5b4137 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "candela-software/Schema.NET",
"max_stars_repo_path": "Source/Schema.NET/core/enumerations/ReservationStatusType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66179"
} | starcoder | <filename>Source/Schema.NET/core/enumerations/ReservationStatusType.cs
namespace Schema.NET
{
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
/// <summary>
/// Enumerated status values for Reservation.
/// </summary>
[JsonConverter(typeo... | 2.470316 | 6b613b63f4197a0eb3959e703531472a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dreamarchs/MCCEditor",
"max_stars_repo_path": "Blamite/Blam/ThirdGen/Shaders/ThirdGenShader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66180"
} | starcoder | <filename>Blamite/Blam/ThirdGen/Shaders/ThirdGenShader.cs
using Blamite.Blam.Shaders;
namespace Blamite.Blam.ThirdGen.Shaders
{
/// <summary>
/// Third-gen implementation of <see cref="IShader"/>.
/// </summary>
class ThirdGenShader : IShader
{
/// <summary>
/// Initializes a new instance of the <see cref="T... | 2.791304 | 6a1abad7fae6496f09de1c28f7b6a307 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66180 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bob6664569/HiddenWallet",
"max_stars_repo_path": "HiddenWallet.FullSpvWallet/Fees/FeeType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66181"
} | starcoder | <gh_stars>1-10
namespace HiddenWallet.FullSpv.Fees
{
public enum FeeType
{
Low,
Medium,
High
}
}
| 1.190392 | 8ce5eae58f6922e9f1b87e030e311c20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xiaotie/CSharpGLScripts",
"max_stars_repo_path": "CSharpGL/Scene/Manipulaters/IKeyboardHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66182"
} | starcoder | <filename>CSharpGL/Scene/Manipulaters/IKeyboardHandler.cs
namespace CSharpGL
{
/// <summary>
/// Handle keyboard events.
/// </summary>
public interface IKeyboardHandler
{
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e">... | 2.123063 | 26ec4ec6990eda05dbfccbdeac42eab2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "goNfty/NFTYChain",
"max_stars_repo_path": "Nfty.Tests/MerkleTreeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66183"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nfty.Cryptography;
namespace Nfty.Tests
{
[TestClass]
public class MerkleTreeTests
{
[TestMethod]
public void TestSingleNod... | 2.607706 | 8f4c4cd45eaa126f1e25f8117e23f797 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vlganev/CSharp-Fundamentals",
"max_stars_repo_path": "CSharp Advanced/BashSoft/BashSoft/Static Data/SessionData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66184"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BashSoft.Static_Data
{
public static class SessionData
{
public static string currentPath = Directory.GetCurrentDirectory();
}
}
| 1.674556 | 21ffc9c21866e4fc2f0b9bae3ab12a31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gititGoro/linx5bootstrapjekyll",
"max_stars_repo_path": "docs before all script/database-justin/code/database/mongo/mongodbread/mongodbread.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66185"
} | starcoder | using Twenty57.Linx.Components.Database.Mongo.MongoDBRead;
using Twenty57.Linx.Plugin.Common;
namespace Twenty57.Linx.Components.MongoDB
{
public class MongoDBRead : FunctionProvider
{
public override string Name
{
get { return "MongoDBRead"; }
}
public override string SearchKeywords
{
... | 1.895513 | 18c1597708c48294f81faddebc9be5ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jweissBHG/Amazon",
"max_stars_repo_path": "src/Amazon.Ses/Helpers/SesHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66186"
} | starcoder | <gh_stars>0
#nullable enable
using System;
using System.Net.Mail;
using System.Text;
namespace Amazon.Ses
{
public static class SesHelper
{
public static string EncodeEmail(MailAddress email) => EncodeEmail(email?.ToString());
public static string EncodeEmail(string email)
... | 3.004268 | f39c08409e899d759860667fd504ebf6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VSS-DEV/FastReport",
"max_stars_repo_path": "Extras/Core/FastReport.Data/FastReport.Data.Cassandra/CassandraDataConnection.DesignExt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66187"
} | starcoder | using FastReport.Data.ConnectionEditors;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FastReport.Data.Cassandra
{
public partial class CassandraDataConnection
{
/// <inheritdoc/>
public override void TestConnectio... | 1.883722 | d434922650bd1321f3234e5707073372 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66187 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eduard-bystrov/Dotmim.Sync",
"max_stars_repo_path": "Projects/dotnet-sync/ArgLine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66188"
} | starcoder | <reponame>eduard-bystrov/Dotmim.Sync
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Dotmim.Sync.Tools
{
public class ArgLine
{
private readonly string[] args;
/// <summary>
/// Gets or Sets the project name
/// </summary>
... | 2.820263 | 03810b442dd19c217683d6665c98cc68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66188 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "huww98/MyBlog",
"max_stars_repo_path": "test/MyBlog.Tests/CollectionUpdateHelperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66189"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using MyBlog.Helpers;
using Xunit;
namespace MyBlog.Tests
{
public class CollectionUpdateHelperTests
{
[Fact]
public void UpdateCollection_newDataShouldNotBeChanged()
{
var collection = new List<string> { ... | 2.917286 | aa539995cffcd872b4cc14698f8d3c39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66189 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "EndGameGl/.NetBungieAPI",
"max_stars_repo_path": "DotNetBungieAPI.Generated/Models/Destiny/Character/DestinyItemPeerView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66190"
} | starcoder | <gh_stars>10-100
using System.Text.Json.Serialization;
namespace DotNetBungieAPI.Generated.Models.Destiny.Character;
/// <summary>
/// Bare minimum summary information for an item, for the sake of 3D rendering the item.
/// </summary>
public sealed class DestinyItemPeerView
{
/// <summary>
/// The ha... | 2.225801 | e39d50485f4bb5e565562c2f119e92dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "messerli-informatik-ag/email",
"max_stars_repo_path": "Email/MimeKit/IMimeKitMessageMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66191"
} | starcoder | using MimeKit;
namespace Messerli.Email.MimeKit
{
internal interface IMimeKitMessageMapper
{
WithDisposeAction<MimeMessage> MapToMimeKitMessage(EmailMessage message);
}
}
| 1.407394 | 2d1fb27afac9db23fab2e6d44389024c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66191 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "randyridge-forks/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/ProjectionVisitorTestBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66192"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using HotChocolate.Data.Projections.Expressions;
using HotChocolate.Execution;
using HotChocolate.Execution.Configuration;
using HotChocolate.Resolvers;
using HotChocolate.Types;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Dependency... | 2.047552 | d6e6e1a60f6707ffe0b758b225287306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66192 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reikyo/Ryze",
"max_stars_repo_path": "Assets/Scripts/MenuController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66193"
} | starcoder | <filename>Assets/Scripts/MenuController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEditor; // Needed for AssetDatabase
using UnityEngine;
using UnityEngine.UI;
public class MenuController : MonoBehaviour
{
private GameManager gameManager;
private AudioManager audioManager;
p... | 2.279839 | a7113eb04bfa120a459ebfe188acbb3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66193 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "qg0/EliteQuant_Excel",
"max_stars_repo_path": "SwigConversionLayer/csharp/FloatingRateBond.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66194"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//----... | 1.7762 | e3b70549286e404fe8c7846f619af017 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nollidnosnhoj/Audiochan_old",
"max_stars_repo_path": "src/api/src/Audiochan.Core/Helpers/EncodingHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66195"
} | starcoder | <reponame>nollidnosnhoj/Audiochan_old
using System;
namespace Audiochan.Core.Helpers
{
public static class EncodingHelpers
{
public static byte[] ConvertBase64ToBytes(string base64)
{
// Parse the base64 data
if (base64.Contains("base64"))
base64 = base6... | 1.999616 | 79613cfaaa29def2df8df1489ac58e76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66195 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tunazkn/ETicaretSitesiStaj",
"max_stars_repo_path": "ETicaretSitesiStaj/User/Kullanici.Master.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66196"
} | starcoder | <reponame>tunazkn/ETicaretSitesiStaj
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ETicaretSitesiStaj.User
{
public partial class Kullanici : System.Web.UI.MasterPage
{
protected void Page_Load(objec... | 1.558492 | 080f784de8ed8fdee0f5c0457614dc19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66196 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "a-kozhanov/codewars_csharp",
"max_stars_repo_path": "CodeWarsTests/7kyu/ThinkingTestingAandBTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66197"
} | starcoder | <gh_stars>10-100
using CodeWars;
using NUnit.Framework;
namespace CodeWarsTests
{
[TestFixture]
public class ThinkingTestingAandBTests
{
[Test]
public void BasicTests()
{
//a+b?
Assert.AreEqual(1, new ThinkingTestingAandB().Testit(0, 1));
Assert.... | 2.84297 | 9a236788f089cd727e67077661545178 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StormDevelopmentSoftware/DisCatSharp",
"max_stars_repo_path": "DisCatSharp/Entities/User/DiscordConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66198"
} | starcoder | <gh_stars>0
// This file is part of the DisCatSharp project.
//
// Copyright (c) 2021 AITSYS
//
// 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 limit... | 2.041797 | f045e088d321bb8ac8d1bcf4d74be077 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66198 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ToshchevIvan/zookeeper.client.abstractions",
"max_stars_repo_path": "Vostok.ZooKeeper.Client.Abstractions/Model/Request/ZooKeeperRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66199"
} | starcoder | using JetBrains.Annotations;
namespace Vostok.ZooKeeper.Client.Abstractions.Model.Request
{
[PublicAPI]
public abstract class ZooKeeperRequest
{
/// <param name="path">Absolute path to the node being acted upon.</param>
protected ZooKeeperRequest([NotNull] string path)
{
... | 2.762793 | 15058de07d040edb1e82ecf1bf2ca0b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66199 | {
"extension": "c-sharp",
"max_stars_count": "1399.0",
"max_stars_repo_name": "WholeFunShow/daggerfall-unity",
"max_stars_repo_path": "Assets/Scripts/Game/Questing/Actions/GiveItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66200"
} | starcoder | <reponame>WholeFunShow/daggerfall-unity<filename>Assets/Scripts/Game/Questing/Actions/GiveItem.cs
// Project: Daggerfall Tools For Unity
// Copyright: Copyright (C) 2009-2021 Daggerfall Workshop
// Web Site: http://www.dfworkshop.net
// License: MIT License (http://www.opensource.org/licens... | 2.389178 | 4cb79fe8b78a7acb4f4799aa691360c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "goncalo-oliveira/parcel-channels",
"max_stars_repo_path": "src/abstractions/Adapters/IAdapterContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66201"
} | starcoder | <gh_stars>0
namespace Faactory.Channels.Adapters;
public interface IAdapterContext : IChannelContext
{
void Forward( object data );
}
| 1.044118 | daae9d1abd48bc64da7b92867e2da6d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Perturbed-Pangolin/VNTranslationTools",
"max_stars_repo_path": "VNTextPatch.Shared/ScriptLocation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66202"
} | starcoder | <reponame>Perturbed-Pangolin/VNTranslationTools
using System;
using System.IO;
using VNTextPatch.Shared.Scripts;
namespace VNTextPatch.Shared
{
public struct ScriptLocation
{
public ScriptLocation(IScriptCollection collection, string scriptName)
{
Collection = collection;
... | 2.362252 | 1f08612d83955a73e1a8abacd2c1570a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66202 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rgfaber/m5x-sdk",
"max_stars_repo_path": "src/M5x.Camunda/Acl/StatisticsResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66203"
} | starcoder | using System.Collections.Generic;
namespace M5x.Camunda.Acl;
public class StatisticsResult
{
/// <summary>
/// The total number of failed jobs for the running instances.
/// </summary>
public int FailedJobs;
/// <summary>
/// The id of the process definition the results are aggregate... | 2.147584 | 7b8389f5d8a71ddc72767d92934e8c47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi/pulumi-kubernetes-crds",
"max_stars_repo_path": "operators/azure-service-operator/dotnet/Kubernetes/Crds/Operators/AzureServiceOperator/Azure/V1Alpha1/Inputs/CosmosDBSpecPropertiesArgs.cs",
"provenance": "train-00000-of-00045.j... | starcoder | <gh_stars>0
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kubern... | 1.388736 | a132de494582944e8ad7f4d20185279f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dansav/neural-networks-from-scratch-net",
"max_stars_repo_path": "NeuralNetworksFromScratch/Part009.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66205"
} | starcoder | <filename>NeuralNetworksFromScratch/Part009.cs
using NeuralNetworksFromScratch.Draw;
using NeuralNetworksFromScratch.Utils;
using System;
using System.Linq;
namespace NeuralNetworksFromScratch
{
public class Part009 : IPart
{
public void Run()
{
// https://www.youtube.com/watch?v=t... | 2.916466 | cc90cde6d03d58f99399aa9a49fe26fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jondalnas/Ludum-Dare-45",
"max_stars_repo_path": "Assets/Scripts/CameraController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66206"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour {
public Transform player;
public Vector3 offset = new Vector3(0, 0, -10);
void Setup() {
if (!player) player = GameObject.FindGameObjectWithTag("Player").transform;
}
void Update() {... | 2.425492 | d202896ea0c8119a214691b3fea76f02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66206 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kerr1291/common",
"max_stars_repo_path": "lib/UIHelpers/SliderToUITextValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66207"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace nv
{
/// <summary>
/// Use this to pull a value from a unity slider and place it in a unity text object
/// </summary>
[ExecuteInEditMode]
public class SliderToUITextValue : MonoBehaviour
{
[Serial... | 2.703529 | 30f32c5e18b2dd5c41ca93d3057bfa8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66207 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "filimor/uri-online-judge-c-sharp",
"max_stars_repo_path": "UriOnlineJudge/Iniciante/uri1048/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66208"
} | starcoder | using System;
namespace uri1048 // Aumento de Salário
{
internal static class Program
{
private static void Main()
{
float.TryParse(Console.ReadLine(), out float salario);
float reajuste = salario <= 400.00 ?
0.15f : salario <= 800.00 ?
0... | 3.370852 | fa30858d89c8690004f635201d46e312 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jhonnycano/Leftware-Tasks",
"max_stars_repo_path": "src/Leftware.Tasks.Core/TaskParameters/CustomConsoleTaskParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66209"
} | starcoder | namespace Leftware.Tasks.Core.TaskParameters;
public class CustomConsoleTaskParameter : TaskParameter<object>
{
public Func<ConsoleReadContext, bool> CustomReadFunction { get; set; }
public CustomConsoleTaskParameter(Func<ConsoleReadContext, bool> func) : base("", "")
{
Type = TaskParameterType.C... | 2.179487 | ff57bc9d89ab8b4ac73e2c38394cb9b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66209 | {
"extension": "c-sharp",
"max_stars_count": "319.0",
"max_stars_repo_name": "MichelMichels/MaterialDesignInXaml.Examples",
"max_stars_repo_path": "Window/MDIXWindow/BindingMixins.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66210"
} | starcoder | using System;
using System.Windows;
using System.Windows.Data;
namespace MDIXWindow
{
public static class BindingMixins
{
private static readonly DependencyProperty EvalProperty = DependencyProperty.RegisterAttached(
"Eval", typeof(object), typeof(BindingMixins), new PropertyMetadata(defa... | 2.518912 | 7aa0ef55d91b5e568292044c07c3dfcf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66210 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "iAmBipinPaul/Blazor.AdaptiveCards",
"max_stars_repo_path": "src/Blazor.AdaptiveCards/Extensions/AdaptiveCardsBlazorServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66211"
} | starcoder | using AdaptiveCards;
using AdaptiveCards.Rendering.Html;
using System;
using AdaptiveCards.Blazor;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System.Linq;
using AdaptiveCards.Blazor.ActionHandlers;
using AdaptiveCards.Blazor.Actions;
using AdaptiveCards.Blazor.Extensions;
using AdaptiveCards.Blazo... | 2.050776 | 82d2cb4491d9e791987db383e1913d01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66211 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Jinjinov/Blazor.IndexedDB",
"max_stars_repo_path": "IndexedDB.Blazor/IndexedDB.Blazor/IndexedDb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66212"
} | starcoder | <gh_stars>1-10
using IndexedDB.Blazor.Attributes;
using IndexedDB.Blazor.Extensions;
using Microsoft.JSInterop;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics;
using System.Linq;
using System.Refl... | 2.504659 | b0742557be9453696851b975731cb0f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iPherian/MnB2-Bannerlord-CommunityPatch",
"max_stars_repo_path": "src/CommunityPatch/Patches/Perks/Endurance/Riding/TramplerPatch2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66213"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.CompilerServices;
using TaleWorlds.CampaignSystem;
using TaleWorlds.Core;
using HarmonyLib;
using JetBrains.Annotations;
using TaleWorlds.Engine;
using TaleWorlds.Library;
using TaleWorlds.MountAndBlade;
using stat... | 1.537351 | d293ac8bcb40f78f459bb86f572c6a7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevenli/EnCor",
"max_stars_repo_path": "EnCor.Wcf/Routing/AutoDelistConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66214"
} | starcoder | <reponame>kevenli/EnCor<filename>EnCor.Wcf/Routing/AutoDelistConfig.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
namespace EnCor.Wcf.Routing
{
public class AutoDelistConfig : ConfigurationElement
{
[ConfigurationPropert... | 1.855243 | 95f636da101bb70164fc0ef733979bfb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66214 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Meowmaritus/DS-LuaMan",
"max_stars_repo_path": "DS-LuaMan/LUABND.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66215"
} | starcoder | using MeowDSIO;
using MeowDSIO.DataFiles;
using MeowDSIO.DataTypes.BND3;
using MeowDSIO.DataTypes.LUAGNL;
using MeowDSIO.DataTypes.LUAINFO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace DS_LuaMan
{
... | 2.272091 | f36a7cf127d68a8d2b75a90f3cc3db64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miloszkulesza/OnlineShop",
"max_stars_repo_path": "OnlineShop/Views/Order/OrderDetails.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66216"
} | starcoder | <gh_stars>0
@model OrderDetailsViewModel
@{
ViewData["Title"] = "Szczegóły zamówienia";
}
<h2>@ViewData["Title"] nr @Model.Order.OrderId</h2>
<table class="table">
<thead>
<tr>
<th>Nazwa</th>
<th>Ilość</th>
<th>Wartość</th>
</tr>
</thead>
<tbody>
... | 2.498555 | cf72b11e3c2c612b7aa14dd1a370efc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pandazzurro/PrismApp",
"max_stars_repo_path": "PrismUnityApp1/PrismUnityApp1.Services/ILoginService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66217"
} | starcoder | using Microsoft.WindowsAzure.MobileServices;
using Newtonsoft.Json;
using PrismUnityApp1.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace PrismUnityApp1.Services
{
public interface ILoginService
{
... | 2.3437 | 10744950a39a992e6bde3c4066185b3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66217 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "niltor/open-pdd-net-sdk",
"max_stars_repo_path": "PddOpenSdk/PddOpenSdk/Models/Request/Oversea/GetMallInfoBondedWarehouseRequestModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66218"
} | starcoder | namespace PddOpenSdk.Models.Request.Oversea
{
public partial class GetMallInfoBondedWarehouseRequestModel : PddRequestModel
{
}
}
| 0.8815 | 245b802ed9c5e8d1eb713b90f2e8ceb6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66218 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/hmcts.vh-test-api",
"max_stars_repo_path": "TestApi/TestApi.IntegrationTests/Database/Commands/UnallocateUserCommandTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66219"
} | starcoder | using System;
using System.Threading.Tasks;
using FluentAssertions;
using NUnit.Framework;
using TestApi.Common.Data;
using TestApi.DAL.Commands;
using TestApi.DAL.Exceptions;
using TestApi.DAL.Queries;
namespace TestApi.IntegrationTests.Database.Commands
{
public class UnallocateUserCommandTests : DatabaseTestsB... | 2.261471 | 8c2b325e496e4da35cf729d4d35f1fcb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66219 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "egorozh/Chilite",
"max_stars_repo_path": "src/Frontend/Shared/Chilite.ViewModels/Events/LoginEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66220"
} | starcoder | using Prism.Events;
namespace Chilite.ViewModels.Events
{
internal class LoginEvent : PubSubEvent<string>
{
}
} | 0.835836 | 26fedac8b5440dea4b77166548b62200 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AmayerGogh/CCode",
"max_stars_repo_path": "aspnet-core/src/Amayer.Common/Modules/FlashLog/FlashLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66221"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Amayer.Common.Modules.FlashLog
{
public class FlashLogger
{
string Service { get; set; }
public FlashLogger(string service = null)
{
... | 2.535091 | 719119a592adc3b2f08ad605891d2b6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66221 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "blackcrack/DeskDrive",
"max_stars_repo_path": "src/DeskDrive/XmlResourceManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66222"
} | starcoder | <reponame>blackcrack/DeskDrive<gh_stars>10-100
// Copyright (c) 2008 Blue Onion Software
// All rights reserved
namespace BlueOnion
{
using System;
using System.Collections;
using System.Globalization;
using System.IO;
using System.Resources;
// ReSharper disable LocalizableElement... | 2.503223 | 965349c03be1a28f57a677e91f32669b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yaroslav08/Ereceipt",
"max_stars_repo_path": "Ereceipt/Ereceipt.Web/Middlewares/AccessTokenMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66223"
} | starcoder | namespace Ereceipt.Web.Middlewares
{
public class AccessTokenMiddleware
{
private readonly RequestDelegate _next;
private readonly string headerName = "Authorization";
public AccessTokenMiddleware(RequestDelegate next)
{
_next = next;
}
public async ... | 2.739862 | 1dc548dec4c33b203cf32d22b01c33bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GraphikaPS/google-ads-dotnet",
"max_stars_repo_path": "examples/ErrorHandling/HandlePartialFailure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66224"
} | starcoder | // Copyright 2019 Google LLC
//
// 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 w... | 2.295561 | a44b50c7e1617495eb0fabb21f4f4ccf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yufeiminds/pulumi-ucloud",
"max_stars_repo_path": "sdk/dotnet/Vpc/NatGatewayRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66225"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.uc... | 1.737843 | ec3ecc6986f65902e954382311699564 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66225 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danbystrom/LarvSharpDx",
"max_stars_repo_path": "src/factor10.VisionThing/ExtensionMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66226"
} | starcoder | <reponame>danbystrom/LarvSharpDx
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using SharpDX;
using Point = System.Drawing.Point;
namespace factor10.VisionThing
{
public static class ExtensionMethods
{
public static string ToIsoStri... | 2.897037 | 6ac121e8a67291863762c2a412f680fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66226 | {
"extension": "c-sharp",
"max_stars_count": "82.0",
"max_stars_repo_name": "EzyWebwerkstaden/rhino-esb",
"max_stars_repo_path": "Rhino.ServiceBus.Tests/When_Security_Is_Specified_In_Config.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66227"
} | starcoder | using System.IO;
using System.Security.Cryptography;
using System.Xml.Linq;
using Castle.Windsor;
using Rhino.ServiceBus.Convertors;
using Rhino.ServiceBus.DataStructures;
using Rhino.ServiceBus.Impl;
using Rhino.ServiceBus.Internal;
using Rhino.ServiceBus.Messages;
using Xunit;
namespace Rhino.ServiceBus.T... | 2.273146 | 69765cd66926794cb92bbfa10839643b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66227 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "henriktao/pulumi-azure",
"max_stars_repo_path": "sdk/dotnet/Compute/Outputs/OrchestratedVirtualMachineScaleSetOsProfileLinuxConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66228"
} | starcoder | <filename>sdk/dotnet/Compute/Outputs/OrchestratedVirtualMachineScaleSetOsProfileLinuxConfiguration.cs<gh_stars>0
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collecti... | 1.735623 | 59a0286d12f6ce1212c82a30eaa94e6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShuvroWritesCode/Object_oriented_programming_CSharp_SWE4202",
"max_stars_repo_path": "LabTask-TicTacToe_Game/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66229"
} | starcoder | <filename>LabTask-TicTacToe_Game/Form1.Designer.cs
namespace TicTacToE1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any reso... | 2.189173 | 45d8b94e8c1c9b140ea9df84851e0335 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Joukahainen82/APS-1.0",
"max_stars_repo_path": "Transcriptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66230"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace APS_1.Symbols.Enums
{
public enum Transcriptions
{
transcriptionA,
transcriptionS,
transcriptionG,
transcriptionO
}
}
| 1.405569 | 3b2e324c26f22f559e6baab05f1ef096 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66230 | {
"extension": "c-sharp",
"max_stars_count": "2111.0",
"max_stars_repo_name": "scphantm/GitVersion",
"max_stars_repo_path": "src/GitVersion.Core/VersionCalculation/SemanticVersioning/SemanticVersionFormatValues.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66231"
} | starcoder | <reponame>scphantm/GitVersion
using System.Globalization;
using GitVersion.Extensions;
using GitVersion.Model.Configuration;
namespace GitVersion;
public class SemanticVersionFormatValues
{
private readonly SemanticVersion semver;
private readonly EffectiveConfiguration config;
public SemanticVersionForm... | 2.306026 | 2cb128a53f6a00513d3f4ddfd4347128 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66231 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SlavchoGeorgiev/SupportMe",
"max_stars_repo_path": "Source/Web/SupportMe.Web/Areas/Admin/ViewModels/Users/ManageRoleInputModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66232"
} | starcoder | namespace SupportMe.Web.Areas.Admin.ViewModels.Users
{
using System.Collections.Generic;
public class ManageRoleInputModel
{
public UserShortInfoViewModel User { get; set; }
public IEnumerable<string> SelectedRoles { get; set; }
public IEnumerable<UsersRoleSelectViewModel> Roles ... | 1.412601 | 17fff076ad23b8d99e44711cd2e02cc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66232 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xanathar/follettodellaluce3",
"max_stars_repo_path": "src/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66233"
} | starcoder | using System;
using System.Threading;
namespace fdl3
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("folletto-della-luce 3.0");
Services.Add(new LogService());
Services.Add(new TelegramNotificationService());
Services.Add(... | 2.26129 | ec8c1eea5c9ac2c9ea5a213f401a7ae4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.