added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pHoran17/GE2-Test-2021-Starter",
"max_stars_repo_path": "Assets/Arrive.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129338"
} | starcoder | <filename>Assets/Arrive.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
public class Arrive : SteeringBehaviour
{
public Vector3 targetPosition = Vector3.zero;
public float slowingDistance = 10.0f;
private GameObject targetGameObject = null;
... | 2.484385 | b0c2121513617e769e9bd459069fdaec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810119 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "darojuv/cset",
"max_stars_repo_path": "CSETWebApi/CSETWeb_Api/DataLayer/USERS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129339"
} | starcoder | //------------------------------------------------------------------------------
// <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 overwritten if the code is regenerated.... | 1.813206 | 13ef4fbc710d6c8368db4ba1582dd4a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asdword/SmartStoreGenlinTheme",
"max_stars_repo_path": "Views/Product/Partials/Product.RelatedProducts.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129340"
} | starcoder | @model ProductSummaryModel
@using SmartStore.Web.Models.Catalog;
@{
if (!Model.Items.Any())
{
return;
}
}
<div class="pd-related-products block block-boxed mb-3 panel-box p-2">
<div class="heading">
<h3 class="heading-title fs-h1">@T("Products.RelatedProducts")</h3>
</div>
<div class="block... | 2.072706 | 3646829649534b02619b97f7161fd128 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810121 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asadulbd247/NiceHashMiner",
"max_stars_repo_path": "src/NHMCore/Mining/ComputeDevice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129341"
} | starcoder | using NHM.Common;
using NHM.Common.Device;
using NHM.Common.Enums;
using NHM.DeviceMonitoring;
using NHM.DeviceMonitoring.TDP;
using NHM.UUID;
using NHMCore.Configs;
using NHMCore.Configs.Data;
using System.Collections.Generic;
using System.Linq;
namespace NHMCore.Mining
{
public class ComputeDevice : NotifyChang... | 2.008998 | d32b1e78fab89d51d439a63821586499 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810122 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nequeo/sockets",
"max_stars_repo_path": "Nequeo.Net/Nequeo.Net/Core/Messaging/MessageSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129342"
} | starcoder | <reponame>nequeo/sockets<gh_stars>1-10
/* Company : Nequeo Pty Ltd, http://www.nequeo.com.au/
* Copyright : Copyright © Nequeo Pty Ltd 2012 http://www.nequeo.com.au/
*
* File :
* Purpose :
*
*/
#region Nequeo Pty Ltd License
/*
Permission is hereby granted, free of charge, t... | 2.248682 | 22c23b2f15c34e416c46db1191b3bdbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tddebart/RoundsMapsExtended",
"max_stars_repo_path": "Editor/MapObjects/EditorSpawn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129343"
} | starcoder | using MapsExt.MapObjects;
using UnityEngine;
using UnboundLib;
namespace MapsExt.Editor.MapObjects
{
[EditorMapObjectSpec(typeof(Spawn), "Spawn")]
public static class EditorSpawnSpec
{
[EditorMapObjectPrefab]
public static GameObject Prefab => SpawnSpec.Prefab;
[EditorMapObjectSerializer]
public static vo... | 1.792006 | 23843bbc363297a7d082c143765c435d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "a-churchill/binding-tools-for-swift",
"max_stars_repo_path": "SwiftReflector/Inventory/ModuleInventory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129344"
} | starcoder | <filename>SwiftReflector/Inventory/ModuleInventory.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using Xamarin;
using SwiftReflector.Exceptions;
using SwiftReflector.IOUtils;
using SwiftReflector.Demangl... | 2.126599 | 8bd5f2168eea7e6da13cf66f2d4e86e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810125 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brianmains/Nucleo.NET",
"max_stars_repo_path": "src/Nucleo.UnitTests.40.MS/Web/CodeGeneration/ClassDefinitionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129345"
} | starcoder | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Nucleo.Web.CodeGeneration
{
[TestClass]
public class ClassDefinitionTest
{
[TestMethod]
public void CheckingForEmptyMembersReturnsTrue()
{
//Arrange
/... | 2.321469 | a6b1da48cdf8eb92ec9d78baf34f2bf0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Joytis/GGJ2018",
"max_stars_repo_path": "Assets/Game Jam Template/Scripts/Menu/DontDestroy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129346"
} | starcoder | <filename>Assets/Game Jam Template/Scripts/Menu/DontDestroy.cs
using UnityEngine;
using System.Collections;
public class DontDestroy : MonoBehaviour {
void Awake()
{
//Causes UI object not to be destroyed when loading a new scene. If you want it to be destroyed, destroy it manually via script.
DontDestroyOnLoa... | 2.150564 | 4a17e3f44f01d3225fda3820ea4710c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "afhaque/mongo-csharp-driver",
"max_stars_repo_path": "src/MongoDB.Driver.Core.Tests/Core/WireProtocol/Messages/UpdateMessageTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129347"
} | starcoder | <gh_stars>1-10
/* Copyright 2013-2014 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 1.510596 | f7db17d4ed7c1ddd6113d02877a2fa4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810128 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ZhaoYis/BerryCore",
"max_stars_repo_path": "BerryCore/BerryCore.Business/BerryCore.BLL/BaseManage/JobBLL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129348"
} | starcoder | <filename>BerryCore/BerryCore.Business/BerryCore.BLL/BaseManage/JobBLL.cs
#region << 版 本 注 释 >>
/*
* 项目名称 :BerryCore.BLL.BaseManage
* 项目描述 :
* 类 名 称 :JobBLL
* 类 描 述 :
* 所在的域 :DASHIXIONG
* 命名空间 :BerryCore.BLL.BaseManage
* 机器名称 :DASHIXIONG
* CLR 版本 :4.0.30319.42000
* 作 者 :赵轶
* 创建时间 :2019-12-17 18:10:54
* 更新时间 :2019-... | 1.826051 | 988a01727e485e66096fc4a781f38db4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810129 | {
"extension": "c-sharp",
"max_stars_count": "131.0",
"max_stars_repo_name": "lamondlu/Library",
"max_stars_repo_path": "src/Library.Domain.Core/Entities/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129349"
} | starcoder | using System;
namespace Library.Domain.Core
{
public class Person : AggregateRoot
{
public Person()
{
}
public Person(Guid personId, PersonName name)
{
this.Id = personId;
this.Name = name;
}
public PersonName Name { get; set; }
}
} | 2.554096 | 744b87568924c2fc2d8f65d1848856da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810130 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "icarus-consulting/Yaapii.Xambly",
"max_stars_repo_path": "src/Yaapii.Xambly/Directive/AttrDirective.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129350"
} | starcoder | <reponame>icarus-consulting/Yaapii.Xambly
// MIT License
//
// Copyright(c) 2019 ICARUS Consulting GmbH
//
// 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 w... | 2.422611 | 55d027737a2b2c9c2d34c982005165e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "milestonetg/NHystrix",
"max_stars_repo_path": "src/NHystrix/HystrixEventType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129351"
} | starcoder | <reponame>milestonetg/NHystrix
using System;
using System.Collections.Generic;
namespace NHystrix
{
/// <summary>
/// The type of an event emitted by a <see cref="HystrixCommand{TRequest, TResult}"/> to <see cref="HystrixMetrics"/>.
/// This class cannot be inherited.
/// </summary>
/// <seealso ... | 2.25967 | cdc7ce08589a9d4e15ed4a1b108ad0bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnnyRose/MarkDom",
"max_stars_repo_path": "MarkDom/MarkdownParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129352"
} | starcoder | using MarkDom.Dom;
using MarkDom.Dom.Code;
using MarkDom.Dom.Headers;
using MarkDom.Dom.Lists;
using MarkDom.Dom.Structure;
using MarkDom.Dom.Styling;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace MarkDom
{
public sealed class MarkdownParser
... | 2.649515 | 29fd1110e42e6506c33884ea3647fd5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810133 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "horeaper/Kaleidoscope",
"max_stars_repo_path": "Kaleidoscope/Tokenizer/TokenTrivia.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129353"
} | starcoder | <filename>Kaleidoscope/Tokenizer/TokenTrivia.cs
namespace Kaleidoscope.Tokenizer
{
public class TokenTrivia : Token
{
public new readonly TriviaType Type;
const int TriviaFirst = (int)TokenType.NewLine;
public TokenTrivia(SourceTextFile sourceFile, int begin, int end, TriviaType type)
: base(sourceFile, be... | 2.943651 | 9dab5064ad2af5bbebbf7748c96d7613 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810134 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AndreGroeschel/SphericalMeshModifier",
"max_stars_repo_path": "Assets/Scripts/PlaneBender.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129354"
} | starcoder | using UnityEngine;
using System.Collections;
[RequireComponent(typeof(MeshRenderer))]
[RequireComponent(typeof(MeshFilter))]
public class PlaneBender : MonoBehaviour {
public Transform m_SphereCenter;
public float m_Radius = 5f;
[SerializeField]
float length = 1f;
[SerializeField]
float widt... | 2.464107 | b7cada5b59ecb14757658345e42d8b04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810135 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RealityVirtually2019/Demystified",
"max_stars_repo_path": "demystified-magicleap/Assets/_TheBirds/Scripts/MagicLeap/SimpleImageRecognition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129355"
} | starcoder | <reponame>RealityVirtually2019/Demystified
// %BANNER_BEGIN%
// ---------------------------------------------------------------------
// %COPYRIGHT_BEGIN%
//
// Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved.
// Use of this file is governed by the Creator Agreement, located
// here: https://id.magicleap.com/c... | 2.271155 | 0ef942cb304ede14f14f3c7aa60a68e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DFE-Digital/trams-data-api",
"max_stars_repo_path": "TramsDataApi/Controllers/AcademyConversionProjectNotesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129356"
} | starcoder | using Microsoft.VisualBasic.CompilerServices;
using System.Collections.Generic;
using System.Text.Json;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using TramsDataApi.RequestModels.AcademyConversionProject;
using TramsDataApi.ResponseModels.AcademyConversionProject;
using TramsDataApi.UseCases;
... | 2.316193 | 7b88f3ea954a2a60049579ea5e9fdb8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ESDP-Csharp-2-3-Team1/starkit",
"max_stars_repo_path": "Starkit/Controllers/DishesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129357"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Ent... | 2.104095 | efd6a289665f0de35a767b9a75364e00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810138 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "nonultimate/CTPSharp",
"max_stars_repo_path": "CTPMarketAdapter/Interface/IMarketApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129358"
} | starcoder | <reponame>nonultimate/CTPSharp
using CTPCore;
using CTPMarketApi;
namespace CTPMarketAdapter.Interface
{
/// <summary>
/// 行情接口
/// </summary>
public interface IMarketApi
{
/// <summary>
/// 是否已连接
/// </summary>
/// <returns></returns>
bool IsConnected();
... | 1.988018 | 2603e91812f697a72265a12c942f76ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tainicom/ProtonType.Aether",
"max_stars_repo_path": "ProtonType.XnaContentPipeline/XnaContentPipelineModule/ViewModels/BrowserViewModel/BrowserItemEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129359"
} | starcoder | #region License
// Copyright 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 applica... | 1.969561 | 0e4ea416286e3b6b817bd40b051ac5c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Minstreams/My-Assets",
"max_stars_repo_path": "TheMatrix/Assets/Scripts/Operator/AutoRotater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129360"
} | starcoder | using UnityEngine;
namespace GameSystem.Operator
{
/// <summary>
/// simply keep rotating around an axis
/// </summary>
[AddComponentMenu("|Operator/AutoRotater")]
public class AutoRotater : MonoBehaviour
{
[MinsHeader("Auto Rotater", SummaryType.TitleYellow, 0)]
[MinsHeader("S... | 2.520971 | 34c2df15953a97550fc2d0937db06373 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810141 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "matteocontrini/NsqClient",
"max_stars_repo_path": "NsqClient/NsqMessageEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129361"
} | starcoder | <gh_stars>1-10
using NsqClient.Commands;
using NsqClient.Frames;
using System;
using System.Text;
using System.Threading.Tasks;
namespace NsqClient
{
public class NsqMessageEventArgs : EventArgs
{
private NsqConnection connection;
private MessageFrame frame;
public ushort Attempt => th... | 2.483101 | 22439fdff6bc8c514e686aaa8cf39b5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skbkontur/extern-csharp-sdk",
"max_stars_repo_path": "src/Kontur.Extern.Api.Client/Models/Drafts/Meta/AdditionalInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129362"
} | starcoder | <filename>src/Kontur.Extern.Api.Client/Models/Drafts/Meta/AdditionalInfo.cs
using System;
using System.Diagnostics.CodeAnalysis;
using JetBrains.Annotations;
using Kontur.Extern.Api.Client.Models.Drafts.Enums;
namespace Kontur.Extern.Api.Client.Models.Drafts.Meta
{
[PublicAPI]
[SuppressMessage("ReSharper", "C... | 2.127833 | 45eb1527e38d9fe604f0d77650dffd3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UNHchabo/LiveSplit.TotalGold",
"max_stars_repo_path": "LiveSplit.TotalGold/UI/Components/TotalGoldSettings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129363"
} | starcoder | <gh_stars>0
namespace LiveSplit.UI.Components
{
partial class TotalGoldSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.776388 | 49372cf059a64c54c57f7944b20617af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wsct/WSCT-EMV",
"max_stars_repo_path": "EMV Library/Commands/EMVSelectByNameCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129364"
} | starcoder | using WSCT.ISO7816.Commands;
namespace WSCT.EMV.Commands
{
/// <summary>
/// EMV Select by DF Name C-APDU.
/// </summary>
public class EMVSelectByNameCommand : SelectCommand
{
#region >> Constructors
/// <summary>
/// Initializes a new <see cref="EMVSelectByNam... | 2.401641 | 80e953ec1c6753f727efea6bba548507 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810145 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "tomhaigh/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/SimpleEmail/Generated/Model/DescribeReceiptRuleSetResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129365"
} | starcoder | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 1.761135 | a8f7b7ff014304d984f826695553cb69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810146 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "iQuickDev/OTCLoader",
"max_stars_repo_path": "OTCLoader/Offline.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129366"
} | starcoder | <reponame>iQuickDev/OTCLoader
namespace OTCLoader
{
partial class Offline
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/... | 2.055968 | 51968ede68616e6c548f77d2d7d5e7fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810147 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NakedObjectsGroup/Clusters",
"max_stars_repo_path": "Cluster.MultiStep.Api/ActionStep.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129367"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
//using Cluster.System.Api;
using NakedObjects;
namespace Cluster.MultiStep.Api
{
/// <summary>
/// Models a user view of a step in completion of an Activity.
/// </summary>
public abstract class ActionStep : IViewModel
{
#... | 2.615166 | f0902b0b6ad1074d72e42ee2569705e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810148 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dfernandesdev/csts-codegen",
"max_stars_repo_path": "src/CsTsCoder/Shared/LineObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129368"
} | starcoder | <filename>src/CsTsCoder/Shared/LineObject.cs
namespace CsTsCoder.Shared
{
public class LineObject
{
public string VariableName { get; set; }
public string Type { get; set; }
public bool IsArray { get; set; }
public bool IsOptional { get; set; }
public bool UserDefined { g... | 1.962308 | 5964589053201a5781d8199011096b7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810149 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mlunnay/minotaur",
"max_stars_repo_path": "minotaur/src/Content/Readers/UniformValueReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129369"
} | starcoder | <reponame>mlunnay/minotaur
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Minotaur.Graphics;
using OpenTK;
using System.Reflection;
using Minotaur.Core;
namespace Minotaur.Content
{
public class UniformValueReader : ContentTypeReader<IUniformValue>
{
public Uniform... | 2.409544 | 11d7df5ad50d04a7b163c32650d4d76f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oledid/oledid.SyntaxImprovement",
"max_stars_repo_path": "src/SyntaxImprovement/Generators/Sql/Select.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129370"
} | starcoder | using System;
using System.Linq.Expressions;
using oledid.SyntaxImprovement.Generators.Sql.Internal;
namespace oledid.SyntaxImprovement.Generators.Sql
{
/// <summary>
/// Used to generate a sql SELECT-query
/// </summary>
/// <typeparam name="TableType">A class which inherits from <see cref="DatabaseTable"/></typ... | 2.656574 | 33e2c89c917d484f188bf529f7dd2ff9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810151 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sispd/Wider",
"max_stars_repo_path": "Examples/WiderClipboard/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129371"
} | starcoder | using Prism.Ioc;
using Wider.Core;
using Wider.Core.Services;
using WiderClipboard.Models;
namespace WiderClipboard
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : WiderApplication
{
protected override void RegisterTypes(IContainerRegistry conta... | 1.410461 | cbfc4c34dc7dc229ce218615b453373c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810152 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ProSuite/ProSuite",
"max_stars_repo_path": "src/ProSuite.DomainModel.Core/QA/ScalarTestParameterValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129372"
} | starcoder | <reponame>ProSuite/ProSuite<filename>src/ProSuite.DomainModel.Core/QA/ScalarTestParameterValue.cs<gh_stars>1-10
using System;
using System.Globalization;
using ProSuite.Commons;
using ProSuite.Commons.Essentials.Assertions;
using ProSuite.Commons.Essentials.CodeAnnotations;
using ProSuite.QA.Core;
namespace ProSuite.D... | 2.476843 | c4667c1cf58e3f366bc732b727f29687 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810153 | {
"extension": "c-sharp",
"max_stars_count": "295.0",
"max_stars_repo_name": "SteeltoeOSS/steeltoe",
"max_stars_repo_path": "src/Security/test/Authentication.CloudFoundryCore.Test/CloudFoundryExtensionsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129373"
} | starcoder | <filename>src/Security/test/Authentication.CloudFoundryCore.Test/CloudFoundryExtensionsTest.cs<gh_stars>100-1000
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more informatio... | 1.42636 | 826f9b298df1844ecb99737fea60df26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "feratur/TelegrafClient",
"max_stars_repo_path": "TelegrafClient/TelegrafClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129374"
} | starcoder | <reponame>feratur/TelegrafClient
using System;
using System.Collections.Generic;
using InfluxDB.Collector;
using Microsoft.Extensions.Logging;
using TelegrafClient.Influx;
using TelegrafClient.Logs;
namespace TelegrafClient
{
public class TelegrafClient
{
public readonly PipelinedMetricsCol... | 2.169456 | 0c229f04233d806c51031343d1c83114 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810155 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Microsoft/wopi-validator-core",
"max_stars_repo_path": "src/WopiValidator.Core/Requests/WopiRequestParam.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129375"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Office.WopiValidator.Core.IncrementalFileTransfer;
using System.Collections.Generic;
namespace Microsoft.Office.WopiValidator.Core.Requests
{
/// <summary>
/// Struct to store parameters required to buil... | 1.47111 | a2a12b3d8c79e375086ac761aa8d3daa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "futurix/cms-cli",
"max_stars_repo_path": "Explorer/Phone/Client/Common/Miscellanea/WaveApplication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129376"
} | starcoder | using System;
using System.Text;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace Wave.Common
{
public class WaveApplication : IXmlSerializable
{
public int ID { get; private set; }
public string Name { get; private set; }
public string... | 2.585312 | cfee00d25f40ed5a4c82219b238d84a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810157 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RapidField/solid-instruments",
"max_stars_repo_path": "src/RapidField.SolidInstruments.Mathematics/Sequences/IGeometricSequence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129377"
} | starcoder | <reponame>RapidField/solid-instruments
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// ==================... | 2.375795 | 4ba0aa1f6c204659a0d35795ddb9ac81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bcostea/nanodi",
"max_stars_repo_path": "Ndi/Lifecycle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129378"
} | starcoder | /**
* This File is part of the NDI Library
* Copyright 2009-2016 <NAME> <<EMAIL>>
*
* This library is free software, published under the terms of the LGPL version 2.1 or newer.
* More info in the LICENSE.TXT file in the root of the project.
*
*/
using Ndi.Exceptions;
using System.Collections.Gener... | 2.650561 | d450cb030e8a17de94b40176ad921f7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810159 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cleannetcode/awesome-shop",
"max_stars_repo_path": "src/AwesomeShop.BusinessLogic/Categories/Services/CategoryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129379"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using AwesomeShop.BusinessLogic.Categories.Interfaces;
using AwesomeShop.BusinessLogic.Categories.Requests;
using AwesomeShop.BusinessLogic.Ca... | 2.417163 | 6d22fda8251b314c7f50a8a71baa02b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaloyankrastev/Utils.Net",
"max_stars_repo_path": "Utils.NetTests/Controls/ButtonTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129380"
} | starcoder | using System.Windows;
using System.Windows.Controls;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Utils.NetTests;
namespace Utils.Net.Controls.Tests
{
[TestClass]
public class ButtonTests
{
private Button testButton;
[TestInitialize]
public void SetUp()
{
... | 2.164525 | 3286001013d4c21c449c9790ed52b623 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810161 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "spring-operator/spring-net-amqp",
"max_stars_repo_path": "test/Spring.Messaging.Amqp.Rabbit.Tests/Connection/CachingConnectionFactoryIntegrationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129381"
} | starcoder | <reponame>spring-operator/spring-net-amqp<filename>test/Spring.Messaging.Amqp.Rabbit.Tests/Connection/CachingConnectionFactoryIntegrationTests.cs<gh_stars>10-100
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CachingConnection... | 1.945048 | d78307c0b5f9d3b2c29822c70d4604fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrevorMare/STAIExtensions",
"max_stars_repo_path": "src/STAIExtensions/STAIExtensions.Abstractions/Collections/IViewCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129382"
} | starcoder | using STAIExtensions.Abstractions.Common;
using STAIExtensions.Abstractions.Views;
namespace STAIExtensions.Abstractions.Collections;
/// <summary>
/// Defines an interface for the View Collection.
/// </summary>
public interface IViewCollection
{
/// <summary>
/// Delegate for the event OnDataSetViewUpdate... | 2.666841 | bbb678fa765320ac13840173da29cb6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810163 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elitegoliath/ld43-yank-train",
"max_stars_repo_path": "LD43 Yank Train/Assets/Dependencies/Puppet2D/Scripts/Editor/Puppet2D_Selection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129383"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using UnityEditorInternal;
using System.Reflection;
using System.Linq;
using System.Text.RegularExpressions;
namespace Puppet2D
{
public class Puppet2D_Selection : Editor
{
public static void SaveSelectionLoad(objec... | 2.013856 | 0e0870c861ae9c17ff19ca54f20e6dbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WycliffeAssociates/ScriptureRenderingPipeline",
"max_stars_repo_path": "ScriptureRenderingPipeline/Models/TranslationWordsCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129384"
} | starcoder | using DotLiquid;
using System.Collections.Generic;
namespace ScriptureRenderingPipeline.Models
{
public class TranslationWordsCategory: ILiquidizable
{
public string Title { get; set; }
public string Slug { get; set; }
public List<TranslationWordsEntry> Words { get; set; }
... | 2.387938 | bbb203158c0ac2dffb57b408b0c749c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810165 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "centrual/Milvasoft.Iyzipay",
"max_stars_repo_path": "Milvasoft.Iyzipay/Request/V2/Subscription/CreateCustomerRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129385"
} | starcoder | <gh_stars>10-100
using Milvasoft.Iyzipay.Model;
using Milvasoft.Iyzipay.Utils.Concrete;
namespace Milvasoft.Iyzipay.Request.V2.Subscription
{
public class CreateCustomerRequest : BaseRequestV2
{
public string Name { get; set; }
public string Surname { get; set; }
public string IdentityN... | 1.389361 | 73554555ee39945ebedb8c44dbc3bd04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810166 | {
"extension": "c-sharp",
"max_stars_count": "351.0",
"max_stars_repo_name": "workgroupengineering/FtpServer",
"max_stars_repo_path": "src/FubarDev.FtpServer.Abstractions/AccountManagement/Directories/RootPerUser/RootPerUserAccountDirectoryQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129386"
} | starcoder | <filename>src/FubarDev.FtpServer.Abstractions/AccountManagement/Directories/RootPerUser/RootPerUserAccountDirectoryQuery.cs
// <copyright file="RootPerUserAccountDirectoryQuery.cs" company="Fubar Development Junker">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
using System.IO;
using System.Security.C... | 2.370937 | 3db42e5caf643663b9f958b90b61ed83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lukasz0303/ServiceSupport",
"max_stars_repo_path": "src/ServiceSupport.Infrastructure/Services/IHandlerTaskRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129387"
} | starcoder | <filename>src/ServiceSupport.Infrastructure/Services/IHandlerTaskRunner.cs<gh_stars>0
using System;
using System.Threading.Tasks;
namespace ServiceSupport.Infrastructure.Services
{
public interface IHandlerTaskRunner
{
IHandlerTask Run(Func<Task> runAsync);
}
} | 1.955394 | b2e1330940206d503d642410a0ce7f2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810168 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "raghava-ammireddy/vss2git",
"max_stars_repo_path": "Vss2Git/GitWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129388"
} | starcoder | /* Copyright 2009 HPDI, 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 i... | 2.504591 | 48e9915d713f30cdf40d09aa64619ecc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrCull/MrCullDevTools",
"max_stars_repo_path": "MrCullDevTools.Tests/Controllers/Account/ResetPasswordTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129389"
} | starcoder | using System;
using System.Linq;
using System.Web.Mvc;
using Dapper;
using FizzWare.NBuilder.Generators;
using Moq;
using MrCullDevTools.Infrastructure;
using MrCullDevTools.Infrastructure.Extensions;
using MrCullDevTools.Models.Users;
using MrCullDevTools.Tests.Utilities;
using MvcKickstart.Infrastructure;
using MvcK... | 1.725471 | 1ed9933b687e28f69cf0b95a8bdf8e7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810170 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "shelldudu/never",
"max_stars_repo_path": "src/Never/IoC/Injections/Rules/ConstructorList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129390"
} | starcoder | using System.Collections.Generic;
namespace Never.IoC.Injections.Rules
{
/// <summary>
/// 构造函数List
/// </summary>
/// <typeparam name="T"></typeparam>
internal class ConstructorList<T> : List<T>, IEnumerable<T>
{
/// <summary>
///
/// </summary>
/// <param name... | 2.863537 | 948649fbcd0a8806305a595a619ac546 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "waikhaisheng/.netframework",
"max_stars_repo_path": "netframework/Common/Utils/DatetimeUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129391"
} | starcoder | <reponame>waikhaisheng/.netframework
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Utils
{
/// <summary>
/// Creater: <NAME>
/// Created: 20211130
/// Updated:
/// </summary>
public static class DatetimeUti... | 2.277423 | f6ed41eeb1366bc6bd13df4521ed6a66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810172 | {
"extension": "c-sharp",
"max_stars_count": "941.0",
"max_stars_repo_name": "liffeyd/Dnn.Platform",
"max_stars_repo_path": "DNN Platform/Dnn.AuthServices.Jwt/Components/Common/Controllers/IJwtController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129392"
} | 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
namespace Dnn.AuthServices.Jwt.Components.Common.Controllers
{
using System.Net.Http;
using Dnn.Aut... | 2.247977 | 5ac712a5aea542cd5bb97bd2149d2e51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810173 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "nickun/OCRonet",
"max_stars_repo_path": "Ocronet.Dynamic/IOData/MappedDataset.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129393"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ocronet.Dynamic.IOData
{
public class MappedDataset : IDataset
{
IDataset _ds;
Intarray _classes;
public MappedDataset(IDataset ds, Intarray classes)
{
this._ds = ds;
... | 2.529001 | 398c876a16dfed31735f95742e22a263 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810174 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SyncfusionExamples/ej2-sql-server-database-aspcore-file-provider",
"max_stars_repo_path": "Models/Base/SQLFileProviderBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129394"
} | starcoder | <reponame>SyncfusionExamples/ej2-sql-server-database-aspcore-file-provider
namespace Syncfusion.EJ2.FileManager.Base
{
public interface SQLFileProviderBase : FileProviderBase
{
void SetSQLConnection(string connectionStringName, string tableName, string tableID);
void SetRules(AccessDetails de... | 1.106965 | 68b34f3f00f6b1dc3cf5ea3efd6ee0ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810175 | {
"extension": "c-sharp",
"max_stars_count": "1031.0",
"max_stars_repo_name": "manigandham/ZString",
"max_stars_repo_path": "sandbox/BenchmarkVsReleasedVersion/ConcatBenchmark.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129395"
} | starcoder | extern alias NewZString;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using Cysharp.Text;
using System;
using System.Text;
namespace BenchmarkVsReleasedVersion
{
[Config(typeof(BenchmarkConfig))]
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
[DisassemblyDiagnoser(maxDepth:... | 2.401321 | 10375f831f414f6863909978cd11667e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810176 | {
"extension": "c-sharp",
"max_stars_count": "350.0",
"max_stars_repo_name": "BearerPipelineTest/botbuilder-dotnet",
"max_stars_repo_path": "libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookEvents/Handover/FacebookTakeThreadControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129396"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Newtonsoft.Json;
namespace Microsoft.Bot.Builder.Adapters.Facebook.FacebookEvents.Handover
{
/// <summary>
/// Event object sent to Facebook when requesting to take thread control from another ... | 2.051003 | 2c5e56ae2cd71a42c31f7c25526ca645 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810177 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Timmoth/Aptacode.NetCore",
"max_stars_repo_path": "Aptacode.CSharp.Core/Http/Controllers/ServerResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129397"
} | starcoder | using System.Net;
using Aptacode.CSharp.Common.Http.Services.Responses;
namespace Aptacode.CSharp.Core.Http.Controllers
{
public class ServerResponse<T> : ServiceResponse<T>
{
public ServerResponse(HttpStatusCode statusCode, string message, T value) : base(value, message)
{
StatusC... | 2.552258 | eb716d9723760d886184e8b666dc5b7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810178 | {
"extension": "c-sharp",
"max_stars_count": "322.0",
"max_stars_repo_name": "jairbubbles/csharp-language-server-protocol",
"max_stars_repo_path": "src/JsonRpc/Server/ServerResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129398"
} | starcoder | using Newtonsoft.Json.Linq;
namespace OmniSharp.Extensions.JsonRpc.Server
{
public class ServerResponse : ResponseBase
{
public ServerResponse(object id, JToken? result) : base(id) => Result = result ?? JValue.CreateNull();
public JToken Result { get; set; }
}
}
| 1.905003 | 5571eaa34898d6c3ff227fec8528185b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810179 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bit-badger/o2f",
"max_stars_repo_path": "src/1-Uno/Domain/MarkdownArticleContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129399"
} | starcoder | <filename>src/1-Uno/Domain/MarkdownArticleContent.cs<gh_stars>1-10
using MarkdownSharp;
namespace Uno.Domain
{
public class MarkdownArticleContent : IArticleContent
{
public string ContentType => Uno.Domain.ContentType.Markdown;
public string Text { get; set; } = "";
public string Gen... | 2.47536 | f48f9069d5ad73526fc3cb120818a028 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810180 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elv1s42/jdi-csharp",
"max_stars_repo_path": "JDI/Commons/JDI Commons/Pairs/Pairs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129400"
} | starcoder | <reponame>elv1s42/jdi-csharp<filename>JDI/Commons/JDI Commons/Pairs/Pairs.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace JDI_Commons.Pairs
{
public class Pairs : Pairs<string, string>
{
public Pairs() {}
publi... | 3.299057 | f2f0fa65a2de5f59ed0aa35954d0a7b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810181 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "keikei14/MikuMikuLibrary",
"max_stars_repo_path": "MikuMikuModel/Modules/Archives/FarcArchiveModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129401"
} | starcoder | using System.Collections.Generic;
using System.IO;
using System.Text;
using MikuMikuLibrary.Archives;
using MikuMikuLibrary.IO;
namespace MikuMikuModel.Modules.Archives
{
public class FarcArchiveModule : FormatModule<FarcArchive>
{
public override IReadOnlyList<FormatExtension> Extensions { get; } = n... | 2.42982 | 7c894ecd15d3741006e8216f2c39425e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atinb/importtest",
"max_stars_repo_path": "src/dotnet/commands/dotnet-clean/LocalizableStrings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129402"
} | starcoder | <gh_stars>0
namespace Microsoft.DotNet.Tools.Clean
{
internal class LocalizableStrings
{
public const string AppFullName = ".NET Clean Command";
public const string AppDescription = "Command to clean previously generated build outputs.";
public const string CmdArgProject = "PROJECT";
... | 1.686393 | 7228116aa5bc665322b4eef8201b4855 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810183 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "OwenYo/Opserver",
"max_stars_repo_path": "Opserver.Core/Data/SQL/SQLInstance.CPUHistory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129403"
} | starcoder | <reponame>OwenYo/Opserver<filename>Opserver.Core/Data/SQL/SQLInstance.CPUHistory.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using StackExchange.Opserver.Data.Dashboard;
namespace StackExchange.Opserver.Data.SQL
{
public partial class SQLInstance
{
private Cache... | 2.031014 | 486b94fd2e20332b60e77fc2a5bd36f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoeHyeonSeong/corpse",
"max_stars_repo_path": "Assets/Scripts/Map/InGameObjects/SignLine/SignLineEnd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129404"
} | starcoder | <filename>Assets/Scripts/Map/InGameObjects/SignLine/SignLineEnd.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SignLineEnd : SignLine
{
static Sprite sprite_on_src;
static Sprite sprite_off_src;
protected override void Awake()
{
base.A... | 2.069981 | b0f3bae937e1b39b378a58627b77725d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrielEstebanSalvatore/PROGRAMACION-I",
"max_stars_repo_path": "PROGRAMACION-I/Player/SinglePlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129405"
} | starcoder | <reponame>GabrielEstebanSalvatore/PROGRAMACION-I<filename>PROGRAMACION-I/Player/SinglePlayer.cs<gh_stars>0
using PROGRAMACION_I.Player;
using System.Collections.Generic;
namespace PROGRAMACION_I.Data
{
public class SinglePlayer
{
public SinglePlayer()
{
}
public SinglePlayer(... | 1.912149 | dc913c70e836746e8659ec85653a7ec4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lbussell/vstest",
"max_stars_repo_path": "src/testhost.x86/TestHostTraceListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129406"
} | starcoder | <reponame>lbussell/vstest<filename>src/testhost.x86/TestHostTraceListener.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.TestHost;
#if NETCOREAPP
using ... | 2.172481 | bed7f268ec22c5a7f0863e043cd31084 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mutatis/Futuru-Futsal",
"max_stars_repo_path": "Assets/Script/Jogador.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129407"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class Jogador : MonoBehaviour
{
bool click;
float mousex;
float mousey;
void Update()
{
mousex = Input.mousePosition.x;
mousey = Input.mousePosition.y;
if (click)
{
transform.position = ... | 2.025481 | f263f1ecf48e6f340f6d2426ca150ccf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tkratena/essence-ioc",
"max_stars_repo_path": "EssenceIoc/Essence.Ioc.UnitTests/Resolution/MultipleServiceResolutionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129408"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using Essence.Ioc.FluentRegistration;
using NUnit.Framework;
namespace Essence.Ioc.Resolution
{
[TestFixture]
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Local")]
[SuppressMessage("ReSharper", "UnusedTypeParameter")]
public class MultipleServiceResoluti... | 2.17567 | 38686311bdead6dc69685f24ae6bab31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810189 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Shadowrabbit/BigBiaDecompilation",
"max_stars_repo_path": "Source/Assembly-CSharp/GameSettleScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129409"
} | starcoder | using System;
using System.Text;
using UnityEngine.Events;
public class GameSettleScreen : ScreenBase
{
public GameSettleScreen() : base(UIPathConstant.GameOver)
{
}
public override void OnLoadComplete(object asset)
{
base.OnLoadComplete(asset);
this.gameSettlePanel = (this.uIControlBase as GameSettlePanel)... | 1.956641 | 070792c4cee264a22d3175a1e24200ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "donstany/InfoTravel",
"max_stars_repo_path": "XUnitTestInfoTravel/Factory/TestFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129410"
} | starcoder | using BusDataAccess;
using FlightDataAccess;
using InfoTravel.Classes.Adaptors;
using InfoTravel.Classes.Factories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XUnitTestInfoTravel.Db;
namespace XUnitTestInfoTravel.Factory
{
internal cla... | 2.100516 | d16e2d568ce3841f98ba1f294e741213 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "h2floh/botframework-solutions",
"max_stars_repo_path": "skills/src/csharp/automotiveskill/automotiveskilltest/Flow/Fakes/MockVehicleSettingsValueIntent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129411"
} | starcoder | using System;
using System.Collections.Generic;
using Luis;
using Microsoft.Bot.Builder;
namespace AutomotiveSkillTest.Flow.Fakes
{
public class MockVehicleSettingsValueIntent : settings_valueLuis
{
private Intent intent;
private double score;
public MockVehicleSettingsValueIntent(str... | 2.32961 | 1614e07855ed8ee70cd6abc6f6dba5fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810192 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Azure-Samples/azure-cosmos-db-table-dotnet-multi-master",
"max_stars_repo_path": "TableMultiMasterSamples/ConflictWorker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129412"
} | starcoder | <reponame>Azure-Samples/azure-cosmos-db-table-dotnet-multi-master<filename>TableMultiMasterSamples/ConflictWorker.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Micr... | 2.40818 | a695de1be890d7d422c03e039a290f2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810193 | {
"extension": "c-sharp",
"max_stars_count": "522.0",
"max_stars_repo_name": "essensoft/paymen",
"max_stars_repo_path": "src/Essensoft.Paylink.Alipay/Domain/KoubeiRetailWmsInboundorderConfirmModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129413"
} | starcoder | using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Domain
{
/// <summary>
/// KoubeiRetailWmsInboundorderConfirmModel Data Structure.
/// </summary>
public class KoubeiRetailWmsInboundorderConfirmModel : AlipayObject
{
/// <summary>
/// 入库通知单号
/// </su... | 1.517353 | 84f4f9b1573e9baefc40152ff69466b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810194 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markbeij/WebApi",
"max_stars_repo_path": "test/E2ETest/Microsoft.Test.E2E.AspNet.OData/Formatter/JsonLight/Metadata/CustomConventionActionMetadataTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129414"
} | starcoder | <filename>test/E2ETest/Microsoft.Test.E2E.AspNet.OData/Formatter/JsonLight/Metadata/CustomConventionActionMetadataTests.cs
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
u... | 1.681936 | 8c569fe26417af744f867fe5e98ce4f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterstoyanov/SpaceX",
"max_stars_repo_path": "SpaceX/SpaceX.Services/Main/Validator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129415"
} | starcoder | using System.Collections.Generic;
using System;
namespace SpaceX.Services.Main
{
public static class Validator
{
/// <summary>
/// Checks collections for an empty result
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="collection"></param>
//... | 3.467405 | c42ea3130a2a04d610e8826511cd3b28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810196 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "SRDebugger/UI/Controls/ProfilerGraphAxisLabel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129416"
} | starcoder | [RequireComponent] // RVA: 0x13B500 Offset: 0x13B601 VA: 0x13B500
public class ProfilerGraphAxisLabel : SRMonoBehaviourEx // TypeDefIndex: 5594
{
// Fields
private float _prevFrameTime; // 0x48
private Nullable<float> _queuedFrameTime; // 0x4C
private float _yPosition; // 0x54
[RequiredFieldAttribute] // RVA: 0x13... | 1.536655 | dcf233f004cf7b7c9652b72d816f22b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "craigktreasure/SymbioticTS",
"max_stars_repo_path": "Tests/Reference/ScenarioReferenceProject/Shapes/IQuadrilateral.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129417"
} | starcoder | namespace ScenarioReferenceProject.Shapes
{
public interface IQuadrilateral
{
}
} | 1.3512 | 8efb1f5fb42dcb236c040f952118d005 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810198 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "InfiniSwiss/InfiniSwiss.nRoute",
"max_stars_repo_path": "src/InfiniSwiss.nRoute/Components.Routing/RouteParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129418"
} | starcoder | using nRoute.Internal;
using System;
using System.Collections.Generic;
using System.Linq;
namespace nRoute.Components.Routing
{
internal static class RouteParser
{
#region Constants
private const string ROUTE_INVALID_ROUTE_URL =
"The route URL cannot start with a '/' or '~' chara... | 2.735967 | 13dbeb04906a691c72e7ad96771f8205 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810199 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wenhulove333/ScutServer",
"max_stars_repo_path": "Source/Framework/ZyGames.Framework.Common/MathUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129419"
} | starcoder | /****************************************************************************
Copyright (c) 2013-2015 scutgame.com
http://www.scutgame.com
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 ... | 2.324472 | aaf60e545ef64041ae04a0621191464e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stephenfuqua/Ed-Fi-ODS",
"max_stars_repo_path": "Utilities/CodeGeneration/EdFi.Ods.CodeGen/Modules/ProvidersModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129420"
} | starcoder | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using Autofac;
using EdFi.Ods.CodeGen.Database.Da... | 1.221423 | e54dedbf18e2ee190e00c7c5f3e30845 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Items/Addons/WaterVat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129421"
} | starcoder | using System;
using Server;
namespace Server.Items
{
public class WaterVatEast : BaseAddon
{
[Constructable]
public WaterVatEast()
{
AddComponent( new AddonComponent( 0x1558 ), 0, 0, 0 );
AddComponent( new AddonComponent( 0x14DE ), -1, 1, 0 );
AddComponent( new AddonComponent( 0x1552 ), 0, 1, 0 );
... | 2.175507 | 4015560d7e475f194bebc9f9de804766 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810202 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "e5r/E5R.Architecture",
"max_stars_repo_path": "test/E5R.Architecture.Business.Test/OutputOnlyBusinessFeatureTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129422"
} | starcoder | // Copyright (c) E5R Development Team. All rights reserved.
// This file is a part of E5R.Architecture.
// Licensed under the Apache version 2.0: https://github.com/e5r/manifest/blob/master/license/APACHE-2.0.txt
using System;
using System.Threading.Tasks;
using Xunit;
namespace E5R.Architecture.Business.Test
{
p... | 2.371706 | a6942f9e91f49aa88a72e98310ef1e84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VeselinovStf/Telerik_Alpha_NET_Prep",
"max_stars_repo_path": "Exercises/CaesarCipher/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129423"
} | starcoder | <reponame>VeselinovStf/Telerik_Alpha_NET_Prep
using System;
using System.IO;
using System.Text;
namespace CaesarCipher
{
internal class Program
{
private static string caesarCipher(string s, int k)
{
StringBuilder result = new StringBuilder();
foreach (var sign in s)
... | 3.473174 | 85bc7ac712133bdf8bd2a162f8644df7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aweistory/UITA",
"max_stars_repo_path": "Assets/Devion Games/Utilities/Scripts/Runtime/Json/JsonSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129424"
} | starcoder | <reponame>Aweistory/UITA<gh_stars>0
using UnityEngine;
using System.Collections;
using System.Text;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace DevionGames{
public static class JsonSerializer {
/*public static string Serialize(List<object> list, ref List<UnityEngine.Object> o... | 2.564706 | bab1bb77fc5f9ce8b51be59bce555ec5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810205 | {
"extension": "c-sharp",
"max_stars_count": "58.0",
"max_stars_repo_name": "pvivera/FluentSecurity.Nancy",
"max_stars_repo_path": "FluentSecurity/SampleApplication/FluentSecurity.SampleApplication/Helpers/TagBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129425"
} | starcoder | <filename>FluentSecurity/SampleApplication/FluentSecurity.SampleApplication/Helpers/TagBuilderExtensions.cs
using System.Web.Mvc;
using System.Web.Routing;
namespace FluentSecurity.SampleApplication.Helpers
{
public static class TagBuilderExtensions
{
public static TagBuilder AddAttributes(this TagBuilder tagBuild... | 2.457816 | eac5ef048e40d98784ad7aff63183155 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qirh/EmailManagerDB",
"max_stars_repo_path": "Email/Email/Login.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129426"
} | starcoder | namespace Email
{
partial class Login
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 2.074877 | 25522cbb83f8a99d4c2d425fe7e0707d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810207 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KillyP/dotnet-tinyman-sdk",
"max_stars_repo_path": "src/Tinyman/V1/Asc/AppContract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129427"
} | starcoder | using Newtonsoft.Json;
namespace Tinyman.V1.Asc {
[ContractType(TypeKeyValue)]
internal class AppContract : Contract {
public const string TypeKeyValue = "app";
[JsonProperty("approval_program")]
public ProgramLogic ApprovalProgram { get; set; }
[JsonProperty("clear_program")]
public ProgramLogic Clea... | 1.938603 | 99bf8c8679095908273a7f56c1c0af2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bfrobin446/CKAN",
"max_stars_repo_path": "Tests/Core/Versioning/KspVersionBoundTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129428"
} | starcoder | <filename>Tests/Core/Versioning/KspVersionBoundTests.cs
using System;
using CKAN.Versioning;
using NUnit.Framework;
#pragma warning disable 414
namespace Tests.Core.Versioning
{
[TestFixture]
public sealed class KspVersionBoundTests
{
private static readonly object[] EqualityCases =
{
... | 2.72761 | 3cb2b35973a2cb0bbb77b7f1195fe93b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alif2/RiotApi.NET",
"max_stars_repo_path": "RiotApi.NET/ChampionMasteryApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129429"
} | starcoder | <reponame>alif2/RiotApi.NET
using RiotApi.NET.Objects.ChampionMasteryApi;
using System.Collections.Generic;
namespace RiotApi.NET
{
public class ChampionMasteryApi : Api
{
public ChampionMasteryApi(RiotApi riotApi) : base(riotApi, "/lol/champion-mastery/v3") {}
public IEnumerable<ChampionMast... | 1.739135 | b30c6289f575bcfb89692b2ea6493b86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810210 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "jaquecr/azure-functions-dotnet-worker",
"max_stars_repo_path": "src/DotNetWorker.Grpc/Http/GrpcWorkerDiagnostics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129430"
} | starcoder | <gh_stars>100-1000
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Channels;
using Microsoft.Azure.Functions.Worker.Diagnostics;
using Microsoft.Azure.Functions.Worker.Grpc.Messages;
namespace Microsoft.Azure.Functions.Worker.Grpc
{
internal class GrpcWorkerDiag... | 2.300765 | 2436143ea28b2f59b3c52d31bc22c127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "detlefgerhardt/WinTelex",
"max_stars_repo_path": "Visual Studio/WinTlx/TextEditor/DelimiterItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129431"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WinTlx.TextEditor
{
public enum WrapMode { Before, After, Both };
class DelimiterItem
{
public char Char { get; set; }
public WrapMode WrapMode { get; set; }
// true ... | 2.635205 | 3b8e561bc8ab4f0725257087bbbc2e0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810212 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "CyberSys/coreclr-mono",
"max_stars_repo_path": "tests/src/baseservices/threading/stress/sudoku/isudokuboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129432"
} | starcoder | // Author: JeffSchw
// Date: 2/21/2006
//Interface for the Board
//The Board returns pieces currently held, including the pieces that have been guessed so far.
using System;
using System.Collections;
public interface ISudokuBoard<T>
{
int Dimension{get;} //Returns the Board dimension (since its always sq., o... | 3.163983 | b6a37a07f25ecc3b5bdd7ff73e22d113 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810213 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "himadric/sitecore-structured-logging",
"max_stars_repo_path": "src/Foundation/Features/Blocks/Views/VideoBlock.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:129433"
} | starcoder | @model IBlockViewModel<VideoBlock>
<div style="background-color: @Model.CurrentBlock.BackgroundColor; opacity:@Model.CurrentBlock.BlockOpacity;" class="@(Model.CurrentBlock.Padding + " " + Model.CurrentBlock.Margin)">
<div>
<video blockId="@(((IContent)Model.CurrentBlock).ContentLink.ID)" name="@(((ICont... | 2.409032 | 9d7c44f19b75939e1c3df4426d6d28f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810214 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Stolym/RAGEMP",
"max_stars_repo_path": "Server/server-files/server-files/client_packages/cs_packages/main_client/Ventura/Utils/ThreadingTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129434"
} | starcoder | <filename>Server/server-files/server-files/client_packages/cs_packages/main_client/Ventura/Utils/ThreadingTask.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using RAGE;
namespace main_client.Ventura.Utils
{
class ThreadingTask : Events.Scr... | 2.695637 | 813efaba0a0bf71228aea824a9307b85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810215 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ironWolf1990/unity-procedural-room-growth",
"max_stars_repo_path": "ProjectSettings/Assets/Scripts/MazeCell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129435"
} | starcoder | <filename>ProjectSettings/Assets/Scripts/MazeCell.cs
using UnityEngine;
public class MazeCell : MonoBehaviour
{
public IntVector2 coordinates;
} | 1.532952 | e7c3f3e7ba43a4e2a21b8c45a19212fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alfusinigoj/pivotal-webapi-template-csharp2",
"max_stars_repo_path": "PivotalServices.WebApiTemplate.CSharp2/src/PivotalServices.WebApiTemplate.CSharp2.Shared.UnitTests/Mvc/Filters/StandardRequestHeaderValidationFilterTests.cs",
"prov... | starcoder | <filename>PivotalServices.WebApiTemplate.CSharp2/src/PivotalServices.WebApiTemplate.CSharp2.Shared.UnitTests/Mvc/Filters/StandardRequestHeaderValidationFilterTests.cs<gh_stars>0
public class StandardRequestHeaderValidationFilterTests
{
readonly StandardRequestHeaderValidationFilter filter;
readonly HttpContext ... | 1.98422 | 334f603d5532dcfcd6575ec814173b4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8810217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marinski/TelerikAcademy2015",
"max_stars_repo_path": "CSharp-1/03.Operators-And-Expressions/07.PointInCircle/PointInCircle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:129437"
} | starcoder | <filename>CSharp-1/03.Operators-And-Expressions/07.PointInCircle/PointInCircle.cs
using System;
class PointInCircle
{
static void Main()
{
int radius = 2;
int Kx = 0;
int Ky = 0;
Console.WriteLine("Enter 'x' and 'y' to see if your point (x, y) is inside a circle K({0, 0}, 2)."... | 4.274065 | 91fc5027fab4a3bd1e0bcaeced3d77b7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.