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 | 8836812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VLAB-ExperimentSystem/VLab",
"max_stars_repo_path": "Assets/ExperimentLogic/SpikeGLXBO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156032"
} | starcoder | <reponame>VLAB-ExperimentSystem/VLab<gh_stars>0
/*
SpikeGLXBO.cs is part of the Experica.
Copyright (c) 2016 <NAME> and Contributors
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 restr... | 1.886976 | 809dc491f11aace0a8c354072fcd69b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836813 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "moto2002/tianqi_src",
"max_stars_repo_path": "src/SkillDetailUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156033"
} | starcoder | using Foundation.Core.Databinding;
using GameData;
using System;
using UnityEngine.UI;
public class SkillDetailUI : UIBase
{
protected Text SkillDetailUITitleName;
protected Image SkillDetailUIIconFG;
protected Text SkillDetailUIInfo;
private void Awake()
{
base.AwakeBase(BindingContext.BindingContextMode.Mo... | 1.939592 | 423a4c68640ee17f652af05bec436144 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836814 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "ffMathy/roslyn",
"max_stars_repo_path": "src/VisualStudio/Core/Def/Implementation/CommonControls/MemberSelectionViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156034"
} | starcoder | <gh_stars>10-100
// 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.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immuta... | 2.018367 | 23b169555c47eca0c6ee9cf156a9cffa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HelloKitty/UMA",
"max_stars_repo_path": "UMADLL/UMA/TextureProcessPROCoroutine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156035"
} | starcoder | <reponame>HelloKitty/UMA
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace UMA
{
public class TextureProcessPROCoroutine : TextureProcessBaseCoroutine
{
Transform[] textureModuleList;
UMAData umaData;
RenderTexture destinationTexture;
Texture[] resultingTextures;
... | 1.921359 | 629c67022cd4bb8766dfaabd46296ab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836816 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jflheureux/Cortex.Demo.RFM",
"max_stars_repo_path": "DemoCortex/src/Foundation/ProcessingEngine/code/Processors/ConvertPurchaseOutcome.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156036"
} | starcoder | using Demo.Foundation.ProcessingEngine.Models;
using Sitecore.Analytics.Model;
using Sitecore.Analytics.XConnect.DataAccess.Pipelines.ConvertToXConnectEventPipeline;
using Sitecore.XConnect;
namespace Demo.Foundation.ProcessingEngine.Processors
{
public class ConvertPurchaseOutcome : ConvertToXConnectEventProces... | 2.221816 | 69e05587164f11b40089167c76b487d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghmoore/Microsoft.Toolkit.Win32",
"max_stars_repo_path": "Tests/UnitTests.WebView.WinForms/FunctionalTests/NewWindow/NewWindowTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156037"
} | starcoder | <reponame>ghmoore/Microsoft.Toolkit.Win32
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//namespace Microsoft.Windows10.Forms.Controls.FunctionalTests.NewWind... | 1.819883 | 085f672537fa1dacd51573d035b5ca7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836818 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Jono120/PlayMe",
"max_stars_repo_path": "PlayMe.UnitTest/PlayMe.Server/Helpers/SearchHelperRules/AlbumNameIsForbiddenSearchAlbumRule_Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156038"
} | starcoder | <filename>PlayMe.UnitTest/PlayMe.Server/Helpers/SearchHelperRules/AlbumNameIsForbiddenSearchAlbumRule_Tests.cs
using Moq;
using NUnit.Framework;
using PlayMe.Common.Model;
using PlayMe.Server.Helpers.Interfaces;
using PlayMe.Server.Helpers.SearchHelperRules;
namespace PlayMe.UnitTest.PlayMe.Server.Helpers.SearchHelpe... | 2.393076 | f7f6bc6168e7c61c2810e28506942f1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836819 | {
"extension": "c-sharp",
"max_stars_count": "2441.0",
"max_stars_repo_name": "ortic/Chromely",
"max_stars_repo_path": "src/Chromely.CefGlue.Winapi/CefGlue/Enums/CefDomNodeType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156039"
} | starcoder | //
// This file manually written from cef/include/internal/cef_types.h.
// C API name: cef_dom_node_type_t.
//
namespace Xilium.CefGlue
{
using System;
/// <summary>
/// DOM node types.
/// </summary>
public enum CefDomNodeType
{
Unsupported = 0,
Element,
Attribute,
... | 1.411163 | 6cea7a01dd42d7e325b1f86ab983d53f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836820 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FernandoCalmet/DOTNET-6-Azure-FunctionApp-CosmosDB-CRUD",
"max_stars_repo_path": "Tasks.FunctionApp/Exceptions/TaskException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156040"
} | starcoder | using System;
namespace Tasks.FunctionApp.Exceptions;
public class TaskException : Exception
{
public TaskException() { }
public TaskException(string message) : base(message) { }
public TaskException(string message, Exception innerException) : base(message, innerException) { }
}
| 2.227459 | 1e87fd3709c637ff66ac7bde6773da5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "age-killer/Electronic-invoice-document-processing",
"max_stars_repo_path": "MailSort_CSHARP/packages/Independentsoft.Exchange.3.0.400/Tutorial/SynchronizeItems1/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156041"
} | starcoder | <reponame>age-killer/Electronic-invoice-document-processing
using System;
using System.Net;
using System.Collections.Generic;
using Independentsoft.Exchange;
namespace Sample
{
class Program
{
static void Main(string[] args)
{
NetworkCredential credential = new NetworkCredential("us... | 2.723629 | 4e55b634f1be1b49b4a002ce55b8b0d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonAnders/NHtmlUnit",
"max_stars_repo_path": "app/NHtmlUnit/Generated/Javascript/Host/Html/HTMLKeygenElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156042"
} | starcoder | // Generated class v2.19.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Javascript.Host.Html
{
public partial class HTMLKeygenElement : NHtmlUnit.Javascript.Host.Html.HTMLElement, NHtmlUnit.... | 1.817068 | 91120b78858ea9e39f5956ca2566e298 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tietzee/SalaEscape-Ort",
"max_stars_repo_path": "Views/Escape/felicitaciones.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156043"
} | starcoder | @{
ViewData["Title"] = "Felicitaciones! - Estacion Música";
}
<div class="container">
<div class="row">
<div class="col-md-6 col-12">
<img class="w-100" src="~/img/sala-escape.jpg" alt="">
</div>
<div class="col-md-6 col-12">
<h2 class="text-center ... | 2.222941 | b5fbdc4d60da29343351b01d9131edc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836824 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "thomasvt/pose",
"max_stars_repo_path": "Pose/Pose.Domain.Editor/Serialization/NodeType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156044"
} | starcoder | <filename>Pose/Pose.Domain.Editor/Serialization/NodeType.cs
namespace Pose.Domain.Editor.Serialization
{
public enum NodeType : byte
{
SpriteNode
}
}
| 1.413866 | f0c524849ae49b337d98e0886a3626c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836825 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/KinesisAnalyticsV2/ApplicationCloudWatchLoggingOption/ApplicationCloudWatchLoggingOptionResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156045"
} | starcoder | <reponame>stanb/Comformation
using System;
using System.Collections.Generic;
using Comformation.IntrinsicFunctions;
namespace Comformation.KinesisAnalyticsV2.ApplicationCloudWatchLoggingOption
{
/// <summary>
/// AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOption
/// https://docs.aws.amazon.com/AW... | 1.845938 | e1d2412af32ea50746edfa54367b7b1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836826 | {
"extension": "c-sharp",
"max_stars_count": "596.0",
"max_stars_repo_name": "XiaoHeitu/SmartSql",
"max_stars_repo_path": "src/SmartSql/Configuration/Tags/TagBuilders/ForBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156046"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace SmartSql.Configuration.Tags.TagBuilders
{
public class ForBuilder : AbstractTagBuilder
{
public override ITag Build(XmlNode xmlNode, Statement statement)
{
var property = GetProperty(xmlN... | 2.387267 | c0764abdca606f2eeb0eeb5f8f8aae49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aristotle333/Schooled",
"max_stars_repo_path": "Assets/_Scripts/Nodes/PlayerBuildings/Tunnel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156047"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class Tunnel : Building {
// Use this for initialization
void Start () {
TunnelExit.instance.activate ();
}
// Update is called once per frame
void FixedUpdate () {
}
void OnTriggerEnter(Collider coll) {
if (TunnelExit.instance != null) {
... | 1.291113 | 00217b575fb779ffeeb22363a6864193 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836828 | {
"extension": "c-sharp",
"max_stars_count": "1629.0",
"max_stars_repo_name": "aTiKhan/CommunityServer",
"max_stars_repo_path": "module/ASC.Files.Thirdparty/Sharpbox/SharpBoxDaoBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156048"
} | starcoder | /*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 la... | 1.688575 | 72795f9be23e0d36e07cc61c0c406338 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "remi-espie/KJam-WonderJam",
"max_stars_repo_path": "Assets/Scripts/DoorButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156049"
} | starcoder | <reponame>remi-espie/KJam-WonderJam
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DoorButton : MonoBehaviour
{
public Sprite openSprite1;
public Sprite openSprite2;
public Sprite openSprite3;
public Sprite closeSprite;
private SpriteRend... | 2.063201 | f27972948cc9a5769b78de6f2b1b5ff1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836830 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/BackendBindings/Scripting/Project/Src/IMemberProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156050"
} | starcoder | <reponame>dongdapeng110/SharpDevelopTest
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
namespace ICSharpCode.Scripting
{
/... | 1.481002 | 2048f3622ff100b85ce9b1b6d241367b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836831 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "LexdevTutorials/FrostpunkHeatmap",
"max_stars_repo_path": "FrostpunkHeatmapUnityProject/Assets/Scripts/HeatViewController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156051"
} | starcoder | using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
/// <summary>
/// Handles the visual transition of all gameplay objects involved in the effect
/// </summary>
public class HeatViewController : MonoBehaviour
{
/// <summary>
/// Light used for the default view
/// </summary>
public Light M... | 2.502669 | 53c654ac36de523a9e75828f57c0870e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DotNetters/cinematic",
"max_stars_repo_path": "Cinematic.Infrastructure/QueryableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156052"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Cinematic
{
/// <summary>
/// Extensions methods for <see cref="IQueryable{T}"/>
/// </summary>
/// <remarks>
/// See the reasons in Cazzulin... | 3.051334 | 91bc03bdd02b6d7d3f1dc3969cf3232f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boothemjr/mab1488-HW-Week3",
"max_stars_repo_path": "ZombieRun/Assets/Scripts/EnemyControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156053"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyControl : MonoBehaviour
{
public float speed = 1.0f;
private GameObject _target;
void Awake()
{
_target = GameObject.Find("Player");
}
// Update is called once per fr... | 1.854919 | d20b347ad88c202c2be02dc12b453d26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi/pulumi-databricks",
"max_stars_repo_path": "sdk/dotnet/GetDbfsFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156054"
} | 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;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.988925 | 9ee4621ad37dbfd79dfc1cd9f2c1ed61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "essenius/FitNesseFitSharpFixtureExplorer",
"max_stars_repo_path": "FixtureExplorer/TestAssembly/ClassNotSupportingDecisionTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156055"
} | starcoder | // Copyright 2016-2021 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
// except in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 2.589786 | 41955fe9d69a343cb0e2336c59ccd1b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836836 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Melesar/DoTs_TowerDefence",
"max_stars_repo_path": "Assets/Gamedata/Source/Enemies/EnemySpawner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156056"
} | starcoder | <reponame>Melesar/DoTs_TowerDefence<filename>Assets/Gamedata/Source/Enemies/EnemySpawner.cs
using System;
using DoTs.Graphics;
using DoTs.Physics;
using DoTs.Resources;
using DoTs.Utilites;
using Unity.Collections;
using Unity.Entities;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine;
using Random = ... | 2.017487 | f80921b2cbd2cff089ffcfea0cd8cea0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836837 | {
"extension": "c-sharp",
"max_stars_count": "206.0",
"max_stars_repo_name": "Biodam/bitstrap",
"max_stars_repo_path": "Assets/BitStrap/Plugins/Runtime/Animation/BoolAnimationParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156057"
} | starcoder | using System;
using UnityEngine;
namespace BitStrap
{
/// <summary>
/// A Bool Animation Parameter
/// </summary>
[Serializable]
public class BoolAnimationParameter : AnimationParameter
{
/// <summary>
/// Sets the value of the selected parameter, based on value
/// </summary>
/// <param name="animator">... | 2.61703 | acaadc60a16ba7941568b337ab48dbec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ClaveConsulting/BackgroundUpdatable",
"max_stars_repo_path": "Projects/Clave.BackgroundUpdatable/AtomicBool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156058"
} | starcoder | namespace Clave.BackgroundUpdatable
{
using System.Threading;
public class AtomicBool
{
private const int False = 0;
private const int True = 1;
private volatile int _state;
public bool WasFalse() => Interlocked.CompareExchange(ref _state, True, False) == False;
... | 2.834068 | be8c3880067db9cc42a1bf81f38f639e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836839 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sibusten/philomena-client",
"max_stars_repo_path": "Sibusten.Philomena.Client.Examples/DownloadImageToFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156059"
} | starcoder | <filename>Sibusten.Philomena.Client.Examples/DownloadImageToFile.cs
using System.Linq;
using System.Threading.Tasks;
using Sibusten.Philomena.Client.Extensions;
using Sibusten.Philomena.Client.Images;
namespace Sibusten.Philomena.Client.Examples
{
public class DownloadImageToFile : IExample
{
... | 2.50689 | 7e80e968000b4c0ac2842e52ffcda573 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836840 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GPAshka/docman",
"max_stars_repo_path": "src/Docman.API/Application/EventHandlers/Documents/UpdateDocumentInDatabaseWhenApprovedEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156060"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using Docman.API.Application.Dto.DocumentEvents.Events;
using Docman.Domain.DocumentAggregate;
using Docman.Infrastructure.Repositories;
using LanguageExt;
using MediatR;
using Microsoft.Extensions.Logging;
using Unit = LanguageExt.Unit;
namespace Docman.API.Applic... | 2.360185 | e4d818fbcda9e7ed3068ea595e75bbe3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836841 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "COliver988/Traveller",
"max_stars_repo_path": "Traveller4/Traveller4/ViewModels/ViewModelLocator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156061"
} | starcoder | <reponame>COliver988/Traveller
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Ioc;
using GalaSoft.MvvmLight.Views;
using Microsoft.Practices.ServiceLocation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Traveller4.ViewModels
{
//... | 2.040491 | b2cbd84c774e89609cab6fe8d1505a29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Toky0/cronofy-csharp",
"max_stars_repo_path": "src/Papabytes.Cronofy.NetCore/CreateChannelBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156062"
} | starcoder | using Papabytes.Cronofy.NetCore.Requests;
namespace Papabytes.Cronofy.NetCore
{
using System;
using System.Collections.Generic;
/// <summary>
/// Builder for generating <see cref="CreateChannelRequest"/>s.
/// </summary>
public sealed class CreateChannelBuilder : IBuilder<CreateChannelRequest... | 2.668136 | c047a5b659b95a0d9b387b81e69abc16 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836843 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "VladLupashevskyi/CaesarSuite",
"max_stars_repo_path": "Caesar/Diogenes/Preferences.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156063"
} | starcoder | <gh_stars>10-100
using Caesar;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Diogenes
{
public class Preferences
{
public enum PreferenceKey
{
AllowVC,
EnableSCNZero,
... | 2.994598 | 63fa98337c90e686d8b522444abfcdac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benjanderson/AssessmentTracker",
"max_stars_repo_path": "src/AssessmentTracker/DataAccess/Question.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156064"
} | starcoder | <reponame>benjanderson/AssessmentTracker
namespace AssessmentTracker.DataAccess
{
public class Question : IEntity
{
public int Id { get; set; }
public string Text { get; set; }
}
} | 1.528073 | b4852f3d5244be7b545cdc22b9b8de74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836845 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "thomasneff/YGOLOTDPatchDraft",
"max_stars_repo_path": "YGOLOTDPatchDraft/YGOPROCard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156065"
} | starcoder | <reponame>thomasneff/YGOLOTDPatchDraft
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SQLite;
using System.Drawing;
namespace YGOPRODraft
{
public class YGOPROCard
{
#region Public Fields
public static int ygoproIsExtraDeck = 0x1 | 0x80 | 0x40 | 0x2000 | 0x800000;
public... | 2.457657 | 2e891d5873a2905397f68a4df5780063 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836846 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "RabbitStewDio/Steropes.UI",
"max_stars_repo_path": "src/Steropes.UI/Bindings/ObservableListBinding.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156066"
} | starcoder | <reponame>RabbitStewDio/Steropes.UI<filename>src/Steropes.UI/Bindings/ObservableListBinding.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
namespace Steropes.UI.Bindings
{
/// <summ... | 2.786238 | ded0474897b180fc17767a4bdf65fe6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pardakhtyar/shaparak",
"max_stars_repo_path": "src/PardakhtYar.Shaparak/Enums/ShaparakTerminalType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156067"
} | starcoder | using System.ComponentModel;
namespace PardakhtYar.Shaparak {
/// <summary>
/// انواع ترمینال
/// طبق جدول (5-9) مستند شاپرک
/// </summary>
public enum ShaparakTerminalType {
[Description("پایانه فروش رومیزی")]
DesktopPOS = 0,
[Description("درگاه پرداخت اینترنتی"... | 2.354336 | 5d6e5ee03bc134e032ba811809802490 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daniel-buchanan/pdq",
"max_stars_repo_path": "src/core/pdq.core/IGroupBy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156068"
} | starcoder | <reponame>daniel-buchanan/pdq
using pdq.common;
namespace pdq
{
public interface IGroupBy : IExecute
{
IGroupByThen GroupBy(string column, string tableAlias);
}
public interface IGroupByThen : IExecute
{
IOrderByThen ThenBy(string column, string tableAlias);
}
}
| 1.703178 | 351e344425bc2863109e31db0dd93223 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "romancewen/Util",
"max_stars_repo_path": "src/Util/Datas/Sql/Queries/Builders/Core/SqlQueryContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156069"
} | starcoder | <filename>src/Util/Datas/Sql/Queries/Builders/Core/SqlQueryContext.cs
using System;
using Util.Datas.Matedatas;
using Util.Datas.Sql.Queries.Builders.Abstractions;
namespace Util.Datas.Sql.Queries.Builders.Core {
/// <summary>
/// Sql查询执行上下文
/// </summary>
public class SqlQueryContext {
/// <s... | 2.271092 | 80977e4523e382259a45c984b0e4b9b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Csummors/MTEC-2120-SPR22-INTRO",
"max_stars_repo_path": "Assets/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156070"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour
{
// Start is called before the first frame update
private void Start()
{
Enemy enemy = new Enemy();
GameObject temp = enemy.bulletPrefab;
}
// Update is called once pe... | 2.018843 | a0436487f9e4c8b654d3261eb2f406b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836851 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xafdelta/xafdelta",
"max_stars_repo_path": "src/XafDelta/ModelExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156071"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.DC;
using DevExpress.ExpressApp.Editors;
using DevExpress.ExpressApp.Model;
using DevExpress.E... | 1.510211 | 379639e7f0624e84b81d1e04df480e80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836852 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HouseBreaker/Advanced-CSharp",
"max_stars_repo_path": "04. Strings And Text Processing/02. String Length/StringLength.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156072"
} | starcoder | <filename>04. Strings And Text Processing/02. String Length/StringLength.cs
using System;
namespace _02.String_Length
{
class StringLength
{
static void Main()
{
string input = Console.ReadLine();
string manipulated = string.Empty;
if (input.Length < 20)
{
manipulated = string.Concat(input, new... | 3.911975 | f455bd17da9055ea3af79735955ebb60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836853 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mlof/Magento.RestClient",
"max_stars_repo_path": "source/Magento.RestClient.Domain/Models/Cart/Exceptions/CartValidationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156073"
} | starcoder | <gh_stars>1-10
using System;
namespace Magento.RestClient.Domain.Models.Cart.Exceptions
{
public class CartValidationException : Exception
{
public CartValidationException(string shippingAddressName,
string canNotSetShippingMethodWithoutAShippingAddress)
{
}
public CartValidationException() : base()
{... | 1.744964 | 1f0b624ef27d0fac156f240a3da495cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836854 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "inmark92/hotchocolate",
"max_stars_repo_path": "src/StrawberryShake/Client/src/Core/Json/JsonResultPatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156074"
} | starcoder | <filename>src/StrawberryShake/Client/src/Core/Json/JsonResultPatcher.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Nodes;
using StrawberryShake.Internal;
using static StrawberryShake.Properties.Resources;
using static StrawberryShake.ResultFields;
... | 2.246218 | 91d2a259fa78543185dc78f179f16d11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836855 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "teodoran/web-hack",
"max_stars_repo_path": "Notes.Api/Database/DatabaseExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156075"
} | starcoder | namespace Notes.Api.Database;
using Microsoft.AspNetCore.Builder;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
public static class DatabaseExtensions
{
public static IServiceCollection AddNotesDatabase(this IServiceCollection services) =>
services.AddDbContext<Notes... | 2.218824 | b05724c0eb9a27fb024a3c0e6e10e69e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marcusca10/AzureAdExplorerMobile",
"max_stars_repo_path": "AzureAdExplorerMobile/AzureAdExplorerMobile/Services/AzureAdConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156076"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace AzureAdExplorerMobile.Services
{
public static class AzureAdConstants
{
// Azure AD Coordinates
public static string Tenant = "Enter_the_Tenant_Id_Here";
public static string ClientID = "Enter_the_Application_... | 1.893049 | da83fedbb1985d2dfc5acc6759badcb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836857 | {
"extension": "c-sharp",
"max_stars_count": "475.0",
"max_stars_repo_name": "Lilac311/shriek-fx",
"max_stars_repo_path": "src/Shriek/Reflection/New.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156077"
} | starcoder | using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
namespace Shriek.Reflection
{
public static class New<T>
{
public static readonly Func<T> Instance = Creator();
private static Func<T> Creator()
{
var t = typeof(T);
if (t == typeo... | 2.6034 | 94f0039c2be646e8654886424eed2e7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836858 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmdSpirit/ChatParty",
"max_stars_repo_path": "Assets/Scripts/ScriptableClass/Brains/BrainClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156078"
} | starcoder | using UnityEngine;
namespace dmdSpirit {
/// <summary>
/// Base class for all Avatar brains.
/// </summary>
public abstract class BrainClass : ScriptableObject {
[SerializeField]
protected AvatarAction[] actionList;
/// <summary>
/// Initializing function for brain.
... | 2.667813 | f80da20eb7add040c1b92caa410ebdfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abayir41/Road-Roller",
"max_stars_repo_path": "Dozer/Dozer/Assets/Scripts/SteerSystem/ObjectScanner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156079"
} | starcoder | <filename>Dozer/Dozer/Assets/Scripts/SteerSystem/ObjectScanner.cs
using System.Collections.Generic;
using UnityEngine;
public class ObjectScanner : MonoBehaviour, IObjectScanner
{
public List<string> Filter => MapController.Instance.mapConfig.CollisionObjectFilter;
private void OnEnable()
{
Acti... | 2.536619 | 337a6d16875c5d5239c9c92d7f7ee51a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khanlarmammadov/TacitusLogger",
"max_stars_repo_path": "src/TacitusLogger.IntegrationTests/Builders/ExceptionHandlingStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156080"
} | starcoder | using Moq;
using NUnit.Framework;
using TacitusLogger.Builders;
using TacitusLogger.Strategies.ExceptionHandling;
namespace TacitusLogger.IntegrationTests.Builders
{
[TestFixture]
public class ExceptionHandlingStrategy
{
[Test]
public void LoggerBuilder_When_Configuring_Exception_Handling_... | 2.526956 | f17f154af979367ef91e54b60937f086 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836861 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "shimat/opencvsharp_2410",
"max_stars_repo_path": "src/OpenCvSharp.CPlusPlus/modules/ml/Enum/SvmKernelType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156081"
} | starcoder |
namespace OpenCvSharp.CPlusPlus
{
#if LANG_JP
/// <summary>
/// SVMカーネルの種類
/// </summary>
#else
/// <summary>
/// The kernel type of SVM
/// </summary>
#endif
public enum SVMKernelType : int
{
#if LANG_JP
/// <summary>
/// マッピングは行われない.もとの特徴空間内で,線形分離(あるいは回帰)が行われる.最も高速なオプション.d(x,y) = x•y == (x,y)
/// ... | 2.982064 | 9ce34bbd3978696320c0dda0588e6af4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SadPencil/Captura",
"max_stars_repo_path": "src/Captura.Core/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156082"
} | starcoder | using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Threading.Tasks;
using System.Windows.Input;
using Captura.Models;
using Captura.ViewModels;
using Screna;
namespace Captura
{
public static class Extensions
{
public static void ExecuteIfCan... | 2.532828 | 2e72c2a15b9f3040c93dc2c29ff8bde0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "angelicrf/twodunitygame",
"max_stars_repo_path": "Legend_Zelda/Assets/Scripts/ScriptableObjs/Signal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156083"
} | starcoder | <filename>Legend_Zelda/Assets/Scripts/ScriptableObjs/Signal.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu]
[System.Serializable]
public class Signal : ScriptableObject
{
public List<SignalListener> allSignals = new List<SignalListener>();
public bool hasSig... | 2.370468 | 08363c72801a7640ee1e898e5d043818 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836864 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bytian/dafny",
"max_stars_repo_path": "Source/DafnyExtension/KeyBindingFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156084"
} | starcoder | <reponame>bytian/dafny
using System;
using System.ComponentModel.Composition;
using EnvDTE;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.Utilities;
using Microsoft.VisualStudio.Editor;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.TextMana... | 1.585702 | 6d4afd7511002dfbe7408b26c23813b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836865 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "gordonjohnpatrick/XobotOS",
"max_stars_repo_path": "android/generated/android/widget/DoubleDigitManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156085"
} | starcoder | <filename>android/generated/android/widget/DoubleDigitManager.cs
using Sharpen;
namespace android.widget
{
[Sharpen.Stub]
internal class DoubleDigitManager
{
private readonly long timeoutInMillis;
private readonly android.widget.DoubleDigitManager.CallBack mCallBack;
private int intermediateDigit;
[Sharp... | 2.440112 | 340eb7a563600ef9d253a2db0772b390 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836866 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rolan18/Valigator",
"max_stars_repo_path": "Valigator.Core/Core/MissingConstructorException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156086"
} | starcoder | <reponame>rolan18/Valigator<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Valigator.Core
{
public class MissingConstructorException : Exception
{
public MissingConstructorException(Type type)
: base($"The type \"{type.FullName}\" is missing a default constructor.")
... | 2.510187 | b340135e539ae970d9458c3aa34507ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "douglasgoodman/dots",
"max_stars_repo_path": "AiTest/Brain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156087"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace AiTest
{
public class Brain
{
private const int MaxDirectionChange = 30;
private const double MutationRate = 0.01d;
private static readonly Random random = new Random();
private readonly i... | 2.775115 | daa6672c252b9f847ac9ca4b9895d20f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836868 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lurienanofab/lnf",
"max_stars_repo_path": "LNF.Impl/Repository/Scheduler/AuthLevel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156088"
} | starcoder | <gh_stars>1-10
using LNF.DataAccess;
using LNF.Scheduler;
using System;
using System.Collections.Generic;
namespace LNF.Impl.Repository.Scheduler
{
public class AuthLevel : IAuthLevel, IDataItem
{
public virtual ClientAuthLevel AuthLevelID { get; set; }
public virtual int Authorizable { get; se... | 2.046576 | 13ead09b738daf4f2458305fff4e6160 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tannergooding/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/Gdiplus/um/gdiplusenums/CompositingMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156089"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/gdiplusenums.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop.Gdiplus;
/// <... | 1.52243 | 0a844ac169c65e78cf6c3b5e760194db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836870 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samakon5566/Gym",
"max_stars_repo_path": "slnGymEndTerm/prjGymEndTerm/ViewModels/CCompanyViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156090"
} | starcoder | <filename>slnGymEndTerm/prjGymEndTerm/ViewModels/CCompanyViewModel.cs
using prjGymEndTerm.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
namespace prjGymEndTerm.ViewModels
{
public class CCompanyViewModel
{
private ... | 2.284829 | b61b19f58c8868d92bf85df861e002cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GrPe/NAudio_Exaples",
"max_stars_repo_path": "AudioRecorder/Recorder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156091"
} | starcoder | <gh_stars>0
using NAudio.Wave;
using System;
using System.IO;
namespace AudioRecorder
{
public class Recorder : IDisposable
{
private string outputPath;
private WaveInEvent waveIn;
private WaveFileWriter writer;
private event Action OnStopRecording;
private event Actio... | 2.61693 | 3c662f62c677c5d32bf0dbf11f41b35c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836872 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "anaparthi-k/dotnet-nquery",
"max_stars_repo_path": "Src/NQuery/Execution Plan/DistinctSortIterator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156092"
} | starcoder | using System;
namespace NQuery.Runtime.ExecutionPlan
{
internal sealed class DistinctSortIterator : SortIterator
{
private object[] _lastSpooledRow;
public DistinctSortIterator()
{
}
public override void Open()
{
base.Open();
_lastSpooledRow = null;
}
public override bool R... | 2.553706 | 82c0916bd21cb2c0fe5857a8cfee891a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836873 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alicommit-malp/Pipeline",
"max_stars_repo_path": "test/PipeNet.Benchmark/Chr/Pipeline/ExceptionNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156093"
} | starcoder | using System;
using System.Threading.Tasks;
namespace PipeNet.Benchmark.Chr.Pipeline
{
public class ExceptionNode : Node<OrderData>
{
public override Task<OrderData> Execute(OrderData param)
{
param.State = nameof(ExceptionNode);
throw new Exception("100");
}
... | 2.111297 | c2111ce836b1ca9b49f1d5e1d16bb236 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836874 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GoryMoon/OvercookedStreamIntegration",
"max_stars_repo_path": "StreamIntegration/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156094"
} | starcoder | using System;
using Object = UnityEngine.Object;
namespace StreamIntegration
{
public static class Utils
{
public static void ForEachPlayer(Action<PlayerControls> host, Action<PlayerControls> remote)
{
var controls = Object.FindObjectsOfType<PlayerControls>();
if (contr... | 2.542805 | 7801833410b82befccb7b5b4463a73a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836875 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "india-rose/webservice-collection",
"max_stars_repo_path": "WebAPI/Database/DatabaseCollectionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156095"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Security.Cryptography;
using WebAPI.Common.Requests;
using WebAPI.Models;
using WebAPI.ProcessModels;
namespace WebAPI.Database
{
public partial class DatabaseService
{
#region Get IndiagramForDevice
publi... | 2.103752 | a29b1e6f833d061c20e368bd882af318 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lordvlads77/Fighting-Game",
"max_stars_repo_path": "Assets/JMO Assets/Cartoon FX Remaster/CFXR Assets/Editor/CFXR_Styles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156096"
} | starcoder | <reponame>lordvlads77/Fighting-Game
//--------------------------------------------------------------------------------------------------------------------------------
// Cartoon FX
// (c) 2012-2020 <NAME>
//----------------------------------------------------------------------------------------------------------------... | 2.104167 | fd06e49ddfaeaa611e0f6607cd97905f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836877 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Synnotech-AG/Synnotech.RavenDB",
"max_stars_repo_path": "Code/Synnotech.RavenDB.Tests/DocumentSessionMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156097"
} | starcoder | <reponame>Synnotech-AG/Synnotech.RavenDB
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using FluentAssertions;
using Raven.Client.Documents;
using Raven.Client.Documents.Commands;
using Raven.Client.Documents.Commands.Ba... | 1.628002 | 719de64aa7d7a65c15585b6852ef1b9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836878 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "charles-river-analytics/VSDK",
"max_stars_repo_path": "Assets/VIRTUOSO/Scripts/Utilities/KeyEvents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156098"
} | starcoder | <reponame>charles-river-analytics/VSDK
using System;
using UnityEngine;
namespace CharlesRiverAnalytics.Virtuoso.Utilities
{
/// <summary>
/// Simple class that allows the developer to specify a key and fire off a reaction when the key is pressed down.
/// Helpful for debugging.
///
/// Written ... | 2.43623 | 397c41a7202cbf773f00abc7c1191580 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836879 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LBHackney-IT/lbh-finance-services-api",
"max_stars_repo_path": "FinanceServicesApi/V1/Boundary/Responses/YearlyRentDebitResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156099"
} | starcoder | namespace FinanceServicesApi.V1.Boundary.Responses
{
public class YearlyRentDebitResponse
{
/// <example>
/// 2020
/// </example>
public short ChargeYear { get; set; }
/// <example>
/// <NAME>
/// </example>
public string LeaseHolderName { get; se... | 2.110641 | 9b13e07d0828936ec8b6d0c0516dffe6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KaloyanchoSt/Telerik-Academy-Homeworks",
"max_stars_repo_path": "1. Programming C#/2. CSharp-Part-2/02. Multidimensional-Arrays/04. BinarySearch/BinarySearch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156100"
} | starcoder | <reponame>KaloyanchoSt/Telerik-Academy-Homeworks
namespace BinarySearch
{
using System;
class BinarySearch
{
static void Main()
{
Console.Write("Enter array's length: ");
int n = int.Parse(Console.ReadLine());
Console.Write("Enter K: ");
int ... | 3.767145 | 60b3d8692d92889c04471255e5c492fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836881 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "SyllabusGames/DSMapStudio",
"max_stars_repo_path": "HKX2/Autogen/hkpDeformableFixedConstraintData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156101"
} | starcoder | using SoulsFormats;
using System.Collections.Generic;
using System.Numerics;
namespace HKX2
{
public partial class hkpDeformableFixedConstraintData : hkpConstraintData
{
public override uint Signature { get => 1382660763; }
public hkpDeformableFixedConstraintDataAtoms m_atoms;
... | 1.915848 | 901c3cb1ff14cf884b1e87449b780318 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836882 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "sedc-codecademy/skwd8-05-oopcharp",
"max_stars_repo_path": "g2/Class06_Part2/SEDC.LibraryApp/SEDC.LibraryApp.DomainModels/User/Roles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156102"
} | starcoder | <reponame>sedc-codecademy/skwd8-05-oopcharp
using System;
using System.Collections.Generic;
using System.Text;
namespace SEDC.LibraryApp.DomainModels.User
{
public enum Roles
{
Admin = 1,
User
}
}
| 1.312547 | b757d2a29c51ebef1f832b0ab1d5298c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836883 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zagorec92/ExpressionBuilder",
"max_stars_repo_path": "ExpressionBuilder/ExpressionBuilder/ParameterUpdateVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156103"
} | starcoder | /*
* Copyright © zagorec92 2018
* Licensed under MIT license.
*/
using System.Linq.Expressions;
namespace ExpressionBuilder.Expressions
{
/// <summary>
/// Encapsulates logic for expression parameter update
/// </summary>
internal class ParameterUpdateVisitor : ExpressionVisitor
{
#region Fields
private... | 2.714613 | be028c8d5945ccc81dd74d06fc200ab3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wis3guy/I18NDotNet",
"max_stars_repo_path": "src/I18NDotNet.Address/AddressModelExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156104"
} | starcoder | <reponame>wis3guy/I18NDotNet
using System;
using System.Collections.Generic;
using System.Linq;
namespace I18N.Address
{
internal static class AddressModelExtensions
{
public static string GetCleanValue(this AddressModel address, AddressFieldKey key)
{
if (key == AddressFieldKey.A)
throw new InvalidOpera... | 2.992284 | ae9acaa80796b3f081cf886d59f96fda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diego-said/speed_gem",
"max_stars_repo_path": "Assets/Scripts/Grid/GridManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156105"
} | starcoder | using UnityEngine;
using System.Collections;
public class GridManager : MonoBehaviour {
private Hashtable grid;
private const int COLUMN_SIZE = 10;
private const int ROW_SIZE = 10;
private const float INITIAL_POS_X = -9.0f;
private const float INITIAL_POS_Y = 7.0f;
private const float SPAC... | 2.461147 | dcdbf6cbec9671fc4cad612523f642b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836886 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vthem/PolyRace",
"max_stars_repo_path": "Assets/Scripts/TSW.GameLib/Messaging/ScanForHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156106"
} | starcoder | <filename>Assets/Scripts/TSW.GameLib/Messaging/ScanForHandler.cs
using System.Collections.Generic;
using UnityEngine;
using BLogger = TSW.Log.Logger;
namespace TSW.Messaging
{
public class ScanForHandler : MonoBehaviour
{
[SerializeField]
private bool _recursive = false;
private readonly List<Dispatcher.Even... | 2.339618 | 68aad1b24d82420df55ee944dbb63040 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836887 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "Cysharp/DFrame",
"max_stars_repo_path": "sandbox/Ecs/CdkEcs/Fargate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156107"
} | starcoder | <reponame>Cysharp/DFrame<filename>sandbox/Ecs/CdkEcs/Fargate.cs<gh_stars>10-100
using System;
namespace Cdk
{
/// <summary>
/// FargateSpec follow to the rule.
/// https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html
/// </summary>
public class Fargate
{
... | 3.074821 | c7f43a0c9bc5ce37f9fbba585bc18b3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomo0611/BEditor",
"max_stars_repo_path": "src/libraries/BEditor.Primitive/Objects/PrimitiveImages/Polygon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156108"
} | starcoder | // Polygon.cs
//
// Copyright (C) BEditor
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using BEditor.Data;
using BEditor.Data.Primitive;
using BEditor.Data.Property... | 2.195251 | cb5c5f320df01473f900c9392f4ff29b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thinktecture/basta-2022-spring-blazor-sample",
"max_stars_repo_path": "TT.ConfTool/TT.ConfTool.Shared/Validators/ConferenceDetailsValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156109"
} | starcoder | <reponame>thinktecture/basta-2022-spring-blazor-sample<filename>TT.ConfTool/TT.ConfTool.Shared/Validators/ConferenceDetailsValidator.cs
using FluentValidation;
using TT.ConfTool.Shared.DTO;
namespace TT.ConfTool.Shared.Validators
{
public class ConferenceDetailsValidator : AbstractValidator<ConferenceDetails>
... | 1.76322 | c3d70378fecdb4ef7a3c110b1442645f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pepi29/CSharp-Part1",
"max_stars_repo_path": "04.InOutConsole HW/01.SumNumbers/08.Numers1toN/Numbers1toN.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156110"
} | starcoder | using System;
namespace _08.Numers1toN
{
class Numbers1toN
{
static void Main()
{
uint N = uint.Parse(Console.ReadLine());
for (int i = 1; i <= N; i++)
{
Console.WriteLine(i);
}
}
}
}
| 2.935479 | 00ff416fd9542ae4372b57135b785601 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836891 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vabalcar/NetworkOperator",
"max_stars_repo_path": "Sources/OperandSelectors/ScreenEdgeSelector/ScreenEdgeSelectorConfiguratorWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156111"
} | starcoder | using NetworkOperator.UserInterfaces;
using System.Windows;
namespace NetworkOperator.OperandSelectors
{
/// <summary>
/// Interaction logic for ScreenEdgeSelectorConfiguratorWindow.xaml
/// </summary>
public partial class ScreenEdgeSelectorConfiguratorWindow : Window
{
private const doubl... | 2.362514 | a3c9f73cda32d0013b59f9298e102591 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836892 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DatZach/Swift",
"max_stars_repo_path": "Source/Compiler/src/Commands/Platforms.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156112"
} | starcoder | <reponame>DatZach/Swift
using System;
using System.Collections.Generic;
namespace Swift.Commands
{
public class Platforms : CommandLineMethod
{
public override string Command
{
get
{
return "platforms";
}
}
public override string DocString
{
get
{
return "Display a list of register... | 1.988789 | 93fdf6d61e33e9d15567460297accd13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836893 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rozturac/Lolaflora.Basket",
"max_stars_repo_path": "Lolaflora.Basket.Domain/Customers/Customer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156113"
} | starcoder | using Lolaflora.Baskets.Domain.Baskets;
using Lolaflora.Baskets.Domain.Customers.Baskets;
using Lolaflora.Baskets.Domain.Products;
using Lolaflora.Baskets.Domain.SeedWork;
using System;
using System.Collections.Generic;
using System.Text;
namespace Lolaflora.Baskets.Domain.Customers
{
public class Customer : Enti... | 2.288515 | 267b50ff9432232c37016e723606fc0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdwdjzhy/run-admin",
"max_stars_repo_path": "run-server/RunUI.SysModels/Entities/TSysMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156114"
} | starcoder | using FreeSql.DataAnnotations;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace RunUI.SysModels
{
/// <summary>
/// 系统用户
/// </summary>
[Table(Name = "sys_menu")]
public class TSysMenu : BaseTenantModel
{
/// <summary>
/// 名称
/// </sum... | 2.312863 | f7aed5101e68f3c7d92b78e857494497 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "exit-path/server",
"max_stars_repo_path": "Config/AuthConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156115"
} | starcoder | <filename>Config/AuthConfig.cs
using Microsoft.IdentityModel.Tokens;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace ExitPath.Server.Config
{
public class AuthConfig
{
[Required, MinLength(32)]
public string TokenSecret { get; set; } = "";
[Required]
... | 2.443011 | 132bd60c88316b32a29c294bcfde326c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836896 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AntonioVT/azure-sdk-for-net",
"max_stars_repo_path": "sdk/resourcemanager/Azure.ResourceManager/src/Resources/Custom/ArmClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156116"
} | starcoder | <filename>sdk/resourcemanager/Azure.ResourceManager/src/Resources/Custom/ArmClient.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core;
namespace Azure.ResourceManager
{
/// <summary>
/// The entry point for all ARM clients.
/// </summary>
... | 1.476966 | 0526e0e0de91902385755346908bda84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836897 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "longshilin/GeekServer",
"max_stars_repo_path": "GeekServer.Hotfix/Logic/ComponentTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156117"
} | starcoder | <reponame>longshilin/GeekServer<filename>GeekServer.Hotfix/Logic/ComponentTools.cs
using Geek.Server.Demo;
namespace Geek.Server
{
public class ComponentTools
{
public static void RegistAllComps()
{
//注册组件,所有actor的所有组件
ComponentMgr.Singleton.RegistComp<ServerActor, Serv... | 1.551715 | ae012ff100705f3dd81344ad95a59bc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836898 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LyuboslavKrastev/BlazorDesk",
"max_stars_repo_path": "BlazorDesk/Data/Services/Repository/DbRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156118"
} | starcoder | using BlazorDesk.Data.Services.Repository.Interfaces;
using BlazorDesk.DataModels.Interfaces;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorDesk.Data.Services.Rep... | 2.731117 | 7ae7852ebcfdd3966b27d400dc6b91a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836899 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatfRS2/SeminarskiRadovi",
"max_stars_repo_path": "programski-projekti/Matf-RS2-FocusOpen/FocusOPEN_OS_Source_3_3_9_5/FocusOPEN.Business/Scripts/Objects/ScriptJSONData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156119"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace FocusOPEN.Business.Scripts
{
[Serializable]
public class ScriptJSONData : ISerializable
{
Dictionary<string, object> data = new Dictionary<string, object>();
... | 2.652641 | 059259348fd89462c7fa2304a26277c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836900 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jakubsenk/ReliefTool",
"max_stars_repo_path": "ReliefWeb/Views/Home/ReliefSorted.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:156120"
} | starcoder | @using ReliefWeb.Models
@model List<ReliefResult>
@{
ViewBag.Title = "Relief";
}
<h2>Result</h2>
<style>
td, th {
padding: 3px 5px;
}
</style>
@if (Model != null && Model.Count > 0)
{
foreach (ReliefResult item in Model)
{
<span style="width: 250px; display: inline-block">
Calculation time: @item.Duration... | 2.800812 | 34b627d97e53516a60db7f1633a00997 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CallumCarmicheal/NodeGraph",
"max_stars_repo_path": "GlobalExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156121"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace NodeGraph {
public static class GlobalExtensions {
public static CornerRadius ScaleDown(this CornerRadius x, double scale) {
if (scale == 0)
... | 2.559055 | b738518c6195b399fd7bb9379d3e720d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nuitsjp/Studio",
"max_stars_repo_path": "DddAdventureWorks/DddAdventureWorks/ISalesOrderDetailRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156122"
} | starcoder | <filename>DddAdventureWorks/DddAdventureWorks/ISalesOrderDetailRepository.cs
namespace DddAdventureWorks
{
public interface ISalesOrderDetailRepository
{
SalesOrderDetail GetSalesOrderDetail(int salesOrderID, int salesOrderDetailID);
}
} | 1.609426 | 5a9178799b57a94035c52324c3356b40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "threax/Threax.PackageUpdate",
"max_stars_repo_path": "Threax.PackageUpdate.Nuget/NullLogger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156123"
} | starcoder | <filename>Threax.PackageUpdate.Nuget/NullLogger.cs
using NuGet.Common;
using System;
using System.Collections.Generic;
using System.Text;
namespace Threax.PackageUpdate.Nuget
{
class NullLogger : ILogger
{
public void LogDebug(string data) { }
public void LogVerbose(string data) { }
pu... | 2.102302 | 4afaffe8027f8fa3b5639d300175e252 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836904 | {
"extension": "c-sharp",
"max_stars_count": "189.0",
"max_stars_repo_name": "dustinmoris/Firewall",
"max_stars_repo_path": "src/Firewall/Extensions/IPAddressExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156124"
} | starcoder | using System.Net;
namespace Firewall
{
internal static class IPAddressExtensions
{
internal static byte[] GetMappedAddressBytes(this IPAddress address) =>
address.IsIPv4MappedToIPv6
? address.MapToIPv4().GetAddressBytes()
: address.GetAddressBytes();
... | 2.689346 | f5b59852e9285084ec792a66a5c54982 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "test/SlowTests/Issues/RavenDB_3543.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156125"
} | starcoder | <reponame>ryanheath/ravendb
using System.Linq;
using FastTests;
using Raven.Client.Documents.Indexes;
using Xunit;
namespace SlowTests.Issues
{
public class RavenDB_3543 : RavenTestBase
{
private class Lead
{
public Status Status { get; set; }
}
privat... | 2.178306 | aa37563cd578e0703686cdd0e4c411f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836906 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Edwardchorius/ItsAllAboutTheGame",
"max_stars_repo_path": "ItsAllAboutTheGame/ItsAllAboutTheGame.Data/Migrations/20181125231721_Changed_DepositClass_ToWalletClass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156126"
} | starcoder | using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ItsAllAboutTheGame.Data.Migrations
{
public partial class Changed_DepositClass_ToWalletClass : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrati... | 2.238107 | 5f6b9c454d346e753d7e0b135bb043c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stackprobe/Fairy",
"max_stars_repo_path": "Donut/Donut/Donut/Donut/GameInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156127"
} | starcoder | <filename>Donut/Donut/Donut/Donut/GameInput.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte.Donut
{
public static class GameInput
{
public enum INP
{
DIR_2,
DIR_4,
DIR_6,
DIR_8,
A,
B,
C,
D,
E,
F,
L,
R,
PAUSE,
... | 2.527354 | fb042b8b4c283c00c22b693a3d8d3deb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836908 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CAUCA-9-1-1/survip-webapi",
"max_stars_repo_path": "Survi.Prevention.ServiceLayer/Import/BuildingImportation/BuildingHazardousMaterialImportationConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156128"
} | starcoder | using System;
using FluentValidation;
using Survi.Prevention.DataLayer;
using Survi.Prevention.Models;
using Survi.Prevention.Models.Buildings;
using Survi.Prevention.ServiceLayer.Import.Base;
using Survi.Prevention.ServiceLayer.Import.Base.Cache;
using importedBuildingHazardousMaterial = Survi.Prevention.ApiClient.Da... | 1.916211 | 65cdd4d8cc56ca95ee4efdd231f16f88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836909 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luca16s/Infnet-Pos-DevOpsPresentation",
"max_stars_repo_path": "DeadFishStudio.MarketList.Domain.Model/Interfaces/Services/IMarketListServiceAsync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156129"
} | starcoder | using DeadFishStudio.MarketList.Domain.Model.Entities;
using GianLuca.Domain.Core.Interfaces.Services;
namespace DeadFishStudio.MarketList.Domain.Model.Interfaces.Services
{
public interface IMarketListServiceAsync : IBaseServiceAsync<Entities.MarketList>
{
int CalculaQuantidadeDeItemsNaLista(Items<Ma... | 1.797325 | a2fa00a7245fd3d73f0a2a4620341953 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836910 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bberak/Appy",
"max_stars_repo_path": "Appy.Core/App/App.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156130"
} | starcoder | namespace Appy.Core
{
partial class App
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name... | 1.804042 | eecb526a6aabe7fea30c102296b6b25d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8836911 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niku-live/UncommonSense.CBreeze",
"max_stars_repo_path": "CBreeze/UncommonSense.CBreeze.Core/Property/Implementation/LinkFields.cs",
"provenance": "train-00027-of-00045.jsonl.gz:156131"
} | starcoder | using UncommonSense.CBreeze.Core.Generic;
namespace UncommonSense.CBreeze.Core.Property.Implementation
{
public class LinkFields : Collection<LinkField>
{
}
}
| 1.018086 | 3ff680d2083d8e2ae5435d7120505dd4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.