added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nitorionedan/WSOT",
"max_stars_repo_path": "Assets/uDesktopDuplication/Examples/Scripts/GazePointAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73434"
} | starcoder | using UnityEngine;
using MeshForwardDirection = uDesktopDuplication.Texture.MeshForwardDirection;
[RequireComponent(typeof(uDesktopDuplication.Texture))]
public class GazePointAnalyzer : MonoBehaviour
{
uDesktopDuplication.Texture uddTexture_;
[Tooltip("This needs a small calculation cost.")]
public bool... | 2.257612 | 2b635b92f69c8c1f6d0eaeffee031570 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73434 | {
"extension": "c-sharp",
"max_stars_count": "553.0",
"max_stars_repo_name": "xujuntwt95329/codestream",
"max_stars_repo_path": "vs/src/CodeStream.VisualStudio.Core/Services/UserSettingsKeys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73435"
} | starcoder | <reponame>xujuntwt95329/codestream<gh_stars>100-1000
namespace CodeStream.VisualStudio.Core.Services {
public static class UserSettingsKeys {
public static string WebviewContext = "webviewcontext";
public static string TeamId = "teamid";
}
}
| 0.860416 | 7389eea7345bc4637f5b6e6d551d1a64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73435 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "todor-tsankov/BoulderBox",
"max_stars_repo_path": "src/Services/BoulderBox.Services.Data/Boulders/StylesService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73436"
} | starcoder | <reponame>todor-tsankov/BoulderBox<filename>src/Services/BoulderBox.Services.Data/Boulders/StylesService.cs<gh_stars>1-10
using AutoMapper;
using BoulderBox.Data.Common.Repositories;
using BoulderBox.Data.Models;
using BoulderBox.Services.Data.Common;
namespace BoulderBox.Services.Data.Boulders
{
public class Sty... | 1.626293 | 9fdbb6818cfd2ab52ffa1bbfd89ea0b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bproorda/BrennToDo",
"max_stars_repo_path": "BrennToDo/Repositories/ToDoRepositories/IToDoRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73437"
} | starcoder | using BrennToDo.Models;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BrennToDo.Repositories.ToDoRepositories
{
public interface IToDoRepository
{
Task<IEnumerable<ToDo>> GetAllToDos();
Task<ToDo> GetToDoById(long i... | 2.048095 | da684856c657934c165101f0061c00f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73437 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "NetOfficeFw/NetOffice-LegacyRepository",
"max_stars_repo_path": "Source/Visio/Enums/VisListDirection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73438"
} | starcoder | <reponame>NetOfficeFw/NetOffice-LegacyRepository<gh_stars>10-100
using System;
using NetOffice;
namespace NetOffice.VisioApi.Enums
{
/// <summary>
/// SupportByVersion Visio 14, 15
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/ff766886(v=office.14).a... | 1.579804 | 0f7b9c537a731024db92d920c0bbe51c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73438 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "thechosi/CAVE",
"max_stars_repo_path": "Examples/Jenga/Assets/Cave/Tracking/Scripts/FlystickSphereInteraction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73439"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Cave;
public class FlystickSphereInteraction : MonoBehaviour {
public GameObject FlystickSphere;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
... | 1.918153 | 07deaaa21e0e7a91dc27b77967548523 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dolittle/AspNetCore",
"max_stars_repo_path": "Samples/Debugging/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73440"
} | starcoder | <filename>Samples/Debugging/Startup.cs
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Threading.Tasks;
using Dolittle.AspNetCore.Debugging;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.... | 1.771347 | 96bcb4d7b6573c16052a38e13a7f1bb1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "etilic/Etilic.Core",
"max_stars_repo_path": "Extensibility/Bundle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73441"
} | starcoder | <reponame>etilic/Etilic.Core
using Etilic.Core.Diagnostics;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Etilic.Core.Extensibility
{
/// <summary>
/// Represents a bundle which may be loaded
... | 2.64658 | 770997d573885f6567d8601541e06d36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rajenderkundhuri/aspnetcore-taghelper",
"max_stars_repo_path": "AspNetCore.Mvc.Bootstrap/TagHelper/CarouselIndicatorTagHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73442"
} | starcoder | <gh_stars>0
/**********************************************************************
* Copyright (c) 2019
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* ##URL##
*
**********************************************************************... | 2.104836 | 2123e761e102593b7e547801e62ff026 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tbebekis/Tripous",
"max_stars_repo_path": "Tripous/Node.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73443"
} | starcoder | <gh_stars>0
/*--------------------------------------------------------------------------------------
Copyright © 2013 <NAME>
<EMAIL>
--------------------------------------------------------------------------------------*/
using System;
using System.Col... | 2.89002 | bbebee9ab384dbf5bfe480954596d831 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73443 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "leancloud/realtime-SDK-dotNET",
"max_stars_repo_path": "CLI/LeanCloud.Realtime.CLI/Hosting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73444"
} | starcoder | <filename>CLI/LeanCloud.Realtime.CLI/Hosting.cs
using System;
namespace LeanCloud.Realtime.CLI
{
interface IHosting
{
void Invoke();
}
public class Hosting
{
public Hosting()
{
}
}
}
| 1.583139 | 24c2b204820bf33aed32a0e33c6157fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taherkheli/IntTest",
"max_stars_repo_path": "src/TennisBookings.Merchandise.Api/Data/Dto/ProductDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73445"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using TennisBookings.Merchandise.Api.DomainModels;
namespace TennisBookings.Merchandise.Api.Data.Dto
{
public class ProductDto
{
public Guid Id { get; set; }
public string Name { get; set; }
public string ShortDescripti... | 2.717913 | 7c96c31bf4060c80fffa5c2c6e902aee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73445 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "optivem/optivem-commons-cs",
"max_stars_repo_path": "test/Infrastructure/Selenium.SystemTest/Fixtures/Interfaces/Pages/ICheckoutInformationPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73446"
} | starcoder | namespace Atomiv.Infrastructure.Selenium.SystemTest.Fixtures.Interfaces.Pages
{
public interface ICheckoutInformationPage
{
void InputFirstName(string firstName);
void InputLastName(string lastName);
void InputZipCode(string zipCode);
void ClickCancel();
void ClickCo... | 1.75817 | 6b30da5fb1d4c2e8cc71c0e5c74003f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RixianOpenTech/RxWrappers",
"max_stars_repo_path": "Source/Wrappers/mscorlib/System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73447"
} | starcoder | <filename>Source/Wrappers/mscorlib/System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.cs
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Threading.Tasks
{
public static class __ConcurrentExclusiveSchedulerPair
... | 2.256143 | 8b8c8d9a043ec0a9d89f1558acfdaf7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kadyrov-ruslan/BMSTU_Master_DecisionTheory",
"max_stars_repo_path": "Lab_1/Lab_1/KnapsackStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73448"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace Lab_1
{
public interface IKnapsackStrategy
{
Solution Solve(KnapsackData data);
List<Item> GenerateSolution(KnapsackData knapsackData, BinarySolution solution);
}
}
| 1.652665 | d88b9ffdfd9e2651b412914ee2d82d85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikeleishen/bacosys",
"max_stars_repo_path": "pda/Inventory/Frm/frmSemiWork.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73449"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Inventory.Model;
using Inventory.Request;
using Newtonsoft.Json;
using Common;
using Inventory.Response;
using Entrance;
namespa... | 1.859088 | a307a91cf89f6e7f12a98acd6ce25ccb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73449 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "charla-n/ManahostManager",
"max_stars_repo_path": "ManahostManager/Model/MailBookingModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73450"
} | starcoder | <reponame>charla-n/ManahostManager<filename>ManahostManager/Model/MailBookingModel.cs
namespace ManahostManager.Model
{
public class MailBookingModel
{
// The booking id
// The API will use this id and get the CurrentStep in BookingStepBooking and then send the good MailTemplate which is associ... | 2.023736 | dc1b3f1b64e006b302b7ed7d28926614 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73450 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "CitiesSkylinesMods/AutoRepair",
"max_stars_repo_path": "AutoRepair/AutoRepair/Catalogs/Catalog.Skin.UI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73451"
} | starcoder | namespace AutoRepair.Catalogs {
using AutoRepair.Descriptors;
using AutoRepair.Enums;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
/// <summary>
/// Stuff that alters user interface.
/// </summary>
public partial class Catalog {
///... | 2.07827 | 5ab90b8964c591372b069b7474da88fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Conscience-Information-Technology/OpenApiValidator",
"max_stars_repo_path": "Conscience.Extensions/System/System.Boolean/Boolean.ToStrings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73452"
} | starcoder | using System;
namespace System
{
public static partial class Extensions
{
public enum BooleanToString
{
Default = 0,
True_False = 1,
T_F = 2,
Yse_No = 3,
Y_N = 4,
Int_1_0 = 5,
Int_11_00 = 6,
}
public static string ToStrings(this bool @this, BooleanToString val = BooleanToString.Default)... | 3.129064 | af4ec6107e4dca7febfb66800a822a36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DeepSingh93/Grockart",
"max_stars_repo_path": "grockart/Grockart.DATALAYER/CardDetailsDataLayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73453"
} | starcoder | using Grockart.CUSTOM_RESPONSE_CLASSES;
using Grockart.LOGGER;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grockart.DATALAYER
{
public class CardDetailsDataLayer : CRUDTemplate<ICardD... | 2.50849 | f859b7e721d4e5c878d71f55b3539aff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73453 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "esofar/elight.mvc",
"max_stars_repo_path": "project/Elight.UnitTest/CalculatorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73454"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Elight.UnitTest
{
[TestFixture]
public class CalculatorTest
{
/// <summary>
/// 测试DEMO。
/// </summary>
[Test]
... | 2.329736 | 44e77aadc2cdc5097df434c1d77db1c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73454 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nameofSEOKWONHONG/JWLibraryNetCore",
"max_stars_repo_path": "JWLibrary/Data/Base/RequestDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73455"
} | starcoder | using System;
using Newtonsoft.Json;
namespace JWLibrary
{
/// <summary>
/// base request class
/// </summary>
/// <typeparam name="TRequestDto"></typeparam>
public class RequestBase<TRequestDto>
{
[JsonProperty("data")] public TRequestDto Data { get; set; }
}
/// <summary... | 2.43912 | 8f327c216016cbfd071407fc81a58d56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d3x0r/xperdex",
"max_stars_repo_path": "games/PhysX.NET/NxClothFlag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73456"
} | starcoder | <reponame>d3x0r/xperdex<filename>games/PhysX.NET/NxClothFlag.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will b... | 1.668468 | 604af3e9fc161bff93cb5b2a217d1692 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ysjr-2002/BatteryTest",
"max_stars_repo_path": "BITools/Core/StateBrushConstrant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73457"
} | starcoder | <reponame>ysjr-2002/BatteryTest<filename>BITools/Core/StateBrushConstrant.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
namespace BITools.Core
{
class StateBrushConstrant
{
}
}
| 1.123376 | e422c6f54cc78800524f4658564c6432 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73457 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "stefan-baumann/ManiaPlanetSharp",
"max_stars_repo_path": "old/ManiaPlanetSharp/ManiaPlanetSharp.ManiaExchangeTest/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73458"
} | starcoder | using ManiaPlanetSharp.ManiaExchange;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ManiaPlanetSharp.ManiaExchangeTest
{
class Program
{
static void Main(string[] args)
{
while (true)
{
... | 2.950289 | ee3d128db2d8515e5575e83dceb61e9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stevenhillcox/voting-application",
"max_stars_repo_path": "VotingApplication/VotingApplication.Web.Tests/Controllers/WebApiControllerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73459"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Routing;
using FakeDbSet;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using VotingApplication.Data.Context;
using VotingApplication... | 1.980122 | 8a7d2195299f782be1cb7ec5a8a55d14 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobertBronsonAvalara/AvaTax-REST-V2-DotNet-SDK",
"max_stars_repo_path": "src/enums/CertificateRequestDeliveryMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73460"
} | starcoder | using System;
/*
* AvaTax API Client Library
*
* (c) 2004-2018 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author <NAME>
* @author <NAME>
* @author <NAME>
*/
namespace Avalara.AvaTax.RestClient
{
/// <... | 2.319068 | 51a56c71449d965a79a3706a80f6d97d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73460 | {
"extension": "c-sharp",
"max_stars_count": "64.0",
"max_stars_repo_name": "DotNetCross/Unsafe",
"max_stars_repo_path": "src/DotNetCross.Memory.Unsafe.Benchmark/BasicReadWriteBenchmark.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73461"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using BenchmarkDotNet;
using BenchmarkDotNet.Attributes;
using DotNetCross.Memory;
namespace DotNetCross.Memory.Benchmark
{
public struct Bgr { public byte B; public byte G; public byte R; }
[LegacyJitX8... | 2.342232 | da79b67aa6f2bd0934f783151cb03864 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikefili/data-structures-and-algorithms",
"max_stars_repo_path": "Challenges/BinarySearch/UnitTest1/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73462"
} | starcoder | <gh_stars>0
using System;
using Xunit;
using BinarySearch;
namespace UnitTest1
{
public class UnitTest1
{
[Fact]
public void CanAcceptEvenArray()
{
int[] arr = { 4, 8, 15, 16, 23, 42 };
int key = 15;
Assert.Equal(2, Program.BinarySearch(arr, key));
... | 2.512227 | be020011d892773e0948103dc47d1c8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarleneBoyce/Midterm",
"max_stars_repo_path": "PosSystem/PosSystem/frmAddOrder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73463"
} | starcoder | <filename>PosSystem/PosSystem/frmAddOrder.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PosSystem
{
pub... | 3.218496 | 4839d5d5492d5861ae88c57160e4fb77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73463 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cool2Feel/Dwl_Color_Calibration",
"max_stars_repo_path": "Color Calibration/Color Calibration/NetCommand/IOCPServer/AsyncEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73464"
} | starcoder | <reponame>Cool2Feel/Dwl_Color_Calibration<filename>Color Calibration/Color Calibration/NetCommand/IOCPServer/AsyncEventArgs.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Color_Calibration.NetCommand.IOCPServer
{
public class AsyncEventArgs : EventArgs
... | 2.34464 | c6952c5fc887d9ae6af7e85673fc02f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73464 | {
"extension": "c-sharp",
"max_stars_count": "166.0",
"max_stars_repo_name": "wjW901314/WpfTimQQ",
"max_stars_repo_path": "Demo/ViewModes/MainWindowViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73465"
} | starcoder | <filename>Demo/ViewModes/MainWindowViewModel.cs
using Prism.Commands;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls... | 2.781977 | d32516a6146e45b81eefd72b4e50c2f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hectorjsmith/csharp-performance-recorder",
"max_stars_repo_path": "PerformanceRecorder/Formatter/IStringResultFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73466"
} | starcoder | <filename>PerformanceRecorder/Formatter/IStringResultFormatter.cs
using PerformanceRecorder.Result;
namespace PerformanceRecorder.Formatter
{
public interface IStringResultFormatter : IResultFormatter<string, IRecordingResult>
{
}
} | 1.588762 | a8a3897fd17b9c4f39f941b603599107 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wdmatthews/operation-cure-zombies",
"max_stars_repo_path": "Assets/_Project/Scripts/Tests/PlayMode/PlayerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73467"
} | starcoder | <reponame>wdmatthews/operation-cure-zombies
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine.TestTools;
using Project.Characters;
using Project.Weapons;
namespace Project.Tests.PlayMode
{
public class PlayerTests
{
public class CurrentWeapon
{... | 2.134041 | 2a7ba34d9ca11cb2a165acf8acc1311f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73467 | {
"extension": "c-sharp",
"max_stars_count": "188.0",
"max_stars_repo_name": "NETMF/llilum",
"max_stars_repo_path": "Zelig/Zelig/DebugTime/Debugger/VisualTree/VisualItems/VisualItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73468"
} | starcoder | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Zelig.Debugger.ArmProcessor
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
u... | 2.280036 | 762fa2b81631525498811ea73fd419f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73468 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "stanb/Comformation",
"max_stars_repo_path": "src/Comformation/Generated/S3/AccessPoint/VpcConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73469"
} | starcoder | <reponame>stanb/Comformation
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.S3.AccessPoint
{
/// <summary>
/// AWS::S3::AccessPoint VpcConfiguration
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-p... | 1.808091 | 693b9adfb41dec2e8b18611b1fdad932 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73469 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Maxzor/CP77Tools",
"max_stars_repo_path": "CP77.CR2W/Types/W3/RTTIConvert/BookPopupFeedback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73470"
} | starcoder | using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class BookPopupFeedback : TextPopupData
{
[Ordinal(1)] [RED("bookItemId")... | 1.335018 | cfe7aa264b035dfece7baea6280ccec0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielCauser/shiny",
"max_stars_repo_path": "src/Shiny.Blazor/BluetoothLE/Central/ScanResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73471"
} | starcoder | using System;
namespace Acr.BluetoothLE.Central
{
public class ScanResult : IScanResult
{
public int Rssi { get; }
public IPeripheral Peripheral { get; }
public IAdvertisementData AdvertisementData { get; }
}
}
| 1.662523 | 7424b1806ed0b54933c7e25fdce6f86b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73471 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "xubb1988/ElasticSearch7Template",
"max_stars_repo_path": "ElasticSearch7Template.DAL/Repositories/ElasticSearchPocoData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73472"
} | starcoder | <gh_stars>1-10
using ElasticSearch7Template.Entity;
using Nest;
using System;
using System.Reflection;
namespace ElasticSearch7Template.DAL
{
public class ElasticSearchPocoData
{
/// <summary>
///
/// </summary>
public string DefaultIndexName { get; set; }
public str... | 2.271247 | 6153a1d8d66247b168598315bc937342 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CIPop/azure-amqp",
"max_stars_repo_path": "Microsoft.Azure.Amqp/Amqp/Transport/TransportProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73473"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Amqp.Transport
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Azure.... | 2.141409 | 92d7058f424d9f4b6d3b3048e0ff9d7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73473 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ElPlatero/HueSharp",
"max_stars_repo_path": "src/HueSharp/Messages/Schedules/CreateScheduleRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73474"
} | starcoder | <gh_stars>1-10
using HueSharp.Converters;
using Newtonsoft.Json;
using System;
using System.Net.Http;
namespace HueSharp.Messages.Schedules
{
public class CreateScheduleRequest : HueRequestBase, IUploadable, IContainsCommand
{
public GetScheduleResponse NewSchedule { get; set; }
public Create... | 2.143645 | c77d27f404d16e852c32c5c7d876dffc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lagerdalek/alchemy",
"max_stars_repo_path": "ObviousCode.Alchemy/ObviousCode.Alchemy.Library/Selection/Selector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73475"
} | starcoder | <filename>ObviousCode.Alchemy/ObviousCode.Alchemy.Library/Selection/Selector.cs
using System;
using System.Collections.Generic;
using System.Linq;
using ObviousCode.Alchemy.Library.Populous;
namespace ObviousCode.Alchemy.Library
{
public abstract class Selector
{
public Selector (SelectionType method)
{
Sele... | 2.921447 | 8743a8f7f35dd54e424913204433b4f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73475 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HydrologicEngineeringCenter/HEC-FDA",
"max_stars_repo_path": "ViewModel/ImpactArea/ImpactAreaEditorVM.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73476"
} | starcoder | <filename>ViewModel/ImpactArea/ImpactAreaEditorVM.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ViewModel.ImpactArea
{
//[Author("q0heccdm", "10 / 13 / 2016 10:05:26 AM")]
public class ImpactAreaEditorVM : BaseViewModel
{
... | 2.476111 | 038174ffa2179e07c90d1c3f7d180b6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antomys/Parimatch_Academy_Homeworks",
"max_stars_repo_path": "Homework_7/PM_HW_7/Services/Impl/RequestHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73477"
} | starcoder | <filename>Homework_7/PM_HW_7/Services/Impl/RequestHandler.cs
namespace PM_HW_7.Services.Impl
{
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Exceptions;
using Models;
using PM_HW_7.Models.Impl;
internal class RequestHandler : IRequestHan... | 2.986299 | 292ba7349820353ae1fba2045b220958 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi/pulumi-kubernetes-crds",
"max_stars_repo_path": "operators/ham-deploy/dotnet/Kubernetes/Crds/Operators/HamDeploy/Deploy/V1Alpha1/Inputs/OperatorSpecToolsArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73478"
} | starcoder | <filename>operators/ham-deploy/dotnet/Kubernetes/Crds/Operators/HamDeploy/Deploy/V1Alpha1/Inputs/OperatorSpecToolsArgs.cs<gh_stars>0
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generi... | 1.232647 | 1c6eaa613bfa9f5436d805736d92b584 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73478 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "qxlllll/MMORPG",
"max_stars_repo_path": "Backend/Game/Creature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73479"
} | starcoder | <reponame>qxlllll/MMORPG<filename>Backend/Game/Creature.cs
using System;
using System.Collections.Generic;
using Common;
using GeometRi;
namespace Backend.Game
{
public class Creature : Entity
{
public int currentHP;
public int maxHP;
public int level;
public int sp... | 2.478476 | 0056565efa6614190450867bc7376621 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73479 | {
"extension": "c-sharp",
"max_stars_count": "88.0",
"max_stars_repo_name": "gbull122/vscode-r",
"max_stars_repo_path": "src/R/Platform/Impl/Windows/Registry/IRegistryKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73480"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
namespace Microsoft.R.Platform.Windows.Registry {
public interface IRegistryKey : IDisposable {
string[] GetValueNames();
object G... | 1.736327 | d77f252dbdea3a85fb34c0ee0f2237be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aleksandra992/TelerikAcademy",
"max_stars_repo_path": "CSharp Part 2/Exams/4Feb2013Morning/KaspichanNumbers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73481"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace KaspichanNumbers
{
class Program
{
static void Main(string[] args)
{
int SystemBase = 256;
string[] digitsSystem = new s... | 3.430854 | d92f0dbe7f726e6786d0b196feec7ca6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73481 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Shadowrabbit/BigBiaDecompilation",
"max_stars_repo_path": "Source/Assembly-CSharp/XLua/Cast/UInt32.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73482"
} | starcoder | using System;
namespace XLua.Cast
{
public class UInt32 : Any<uint>
{
public UInt32(uint i) : base(i)
{
}
}
}
| 1.749184 | 97659cf009302b19cb70d561ba4e142e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PanCave/ChessDotCore",
"max_stars_repo_path": "Engine/Piece.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73483"
} | starcoder | <filename>Engine/Piece.cs
using ChessDotCore.Engine.Interfaces;
using System.Collections.Generic;
namespace ChessDotCore.Engine
{
internal class Piece : IPiece
{
public Piece(Color color, PieceType pieceType, ISquare square)
{
Color = color;
PieceType = pieceType;
Square = square;
... | 2.847349 | cc72583754cd46f82a7cbd7e48e964b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZZHGit/corert",
"max_stars_repo_path": "src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/Target_X64/X64JumpStubNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73484"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using ILCompiler.DependencyAnalysis;
using ILCompiler.DependencyAnalysis.X64;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
usi... | 1.431086 | 39852419757e6f2e203f7e9c4dbbf5fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73484 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "TradeNexus/tradesharp-ui",
"max_stars_repo_path": "TradeHubGui.Common/Models/PositionStatistics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73485"
} | starcoder | <reponame>TradeNexus/tradesharp-ui<filename>TradeHubGui.Common/Models/PositionStatistics.cs
/*****************************************************************************
* Copyright 2016 Aurora Solutions
*
* http://www.aurorasolutions.io
*
* Aurora Solutions is an innovative services and product company at
* ... | 2.238963 | 2610b62199d33fd09c5cf1f4a1f41293 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ALMLAMBO/ERP-for-service-activity",
"max_stars_repo_path": "Second-version/ERPForServiceActivity/ERPForServiceActivity.CommonModels/BindingModels/Speedy/AdditionalServices/SpeedyShipmentOBPD.cs",
"provenance": "train-00000-of-00045.js... | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace ERPForServiceActivity.CommonModels.BindingModels.Speedy.AdditionalServices {
public class SpeedyShipmentOBPD {
[JsonPropertyName("option")]
public string Option { get; set; }
[JsonPro... | 1.192104 | 3a0b7c5f2dbf11ac98f70f428693048d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73486 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "dannoh/YahooFantasyWrapper",
"max_stars_repo_path": "src/YahooFantasyWrapper/Models/Scoreboard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73487"
} | starcoder | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace YahooFantasyWrapper.Models
{
[XmlRoot(ElementName = "stat_winner")]
public class StatWinner
{
[XmlElement(ElementName = "stat_id")]
public string StatId { get; set; }
[XmlElement(ElementName =... | 2.073362 | bee38cade23eded802821390e4aae2d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "finbourne/luminesce-sdk-csharp-preview",
"max_stars_repo_path": "sdk/Finbourne.Luminesce.Sdk/Model/BackgroundMultiQueryProgressResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73488"
} | starcoder | /*
* FINBOURNE Honeycomb Web API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.6.34
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System... | 1.979551 | 94addcc3229f1b699337d134eb752128 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "greeduomacro/vivre-uo",
"max_stars_repo_path": "Scripts/Gumps/Guilds/GuildWarGump.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73489"
} | starcoder | using System;
using System.Collections;
using Server;
using Server.Guilds;
using Server.Network;
using System.Collections.Generic;
namespace Server.Gumps
{
public class GuildWarGump : Gump
{
private Mobile m_Mobile;
private Guild m_Guild;
public GuildWarGump( Mobile from, Guild guild ) : base( 20, 30 )
{
... | 2.402517 | 10aa422f919af502b34288f7b94dea37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73489 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "piyongcai/rpcx.net",
"max_stars_repo_path": "Shared/Protocol/Header.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73490"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace rpcx.net.Shared.Protocol
{
[StructLayout(LayoutKind.Explicit, CharSet = CharSet.Ansi)]
public class Header
{
public enum eTypeMask : ushort
{
messageType = 0x8000,
heartBeat = 0x4000,
oneWay = 0x2000,
compressType = 0x1C00,
message... | 2.314914 | a49bd3fefd9c22fe6bd2f6a41a65c9a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amro93/VendingMachine-Test",
"max_stars_repo_path": "src/Host/VendingMachine.ConsoleApp/Application/VendingMachineBootstrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73491"
} | starcoder | using System.Collections.Generic;
using VendingMachine.Application.Logging;
using VendingMachine.Application.Services;
using VendingMachine.Shared.Products;
namespace VendingMachine.ConsoleApp.Application
{
public class VendingMachineBootstrapper : IApplicationBootstrapper
{
private readonly IAppLogge... | 2.342518 | d9acb55634159ead45bdf0b3a200403a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "craigber/LUWAdmin",
"max_stars_repo_path": "LuwAdmin.Web/Controllers/MemberController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73492"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using LuwAdmin.Web.Data;
using LuwAdmin.Web.... | 1.810521 | b605abeaf59c19d0e36e882bdb62ee87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moto2002/jiandangjianghu",
"max_stars_repo_path": "src/GraphCollection/IPriorityQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73493"
} | starcoder | using System;
namespace GraphCollection
{
public interface IPriorityQueue<T>
{
void Push(T item);
T Pop();
bool Contains(T item);
void Clear();
}
}
| 2.489344 | 4ba00704af6fbb1f929a264a98762f5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73493 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "maxathon2020/O10",
"max_stars_repo_path": "O10.Web.Server/O10.Web.Server/Dtos/User/AttributesIssuanceRequestDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73494"
} | starcoder | <filename>O10.Web.Server/O10.Web.Server/Dtos/User/AttributesIssuanceRequestDto.cs<gh_stars>1-10
using System.Collections.Generic;
namespace O10.Web.Server.Dtos.User
{
public class AttributesIssuanceRequestDto
{
public long? MasterRootAttributeId { get; set; }
public string Issuer { get; set; }... | 2.02307 | 3a4f89b3b830e069ff2e67e0bd23bfbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Peefy/DesignPatternByCSharp",
"max_stars_repo_path": "Patterns/CompositePattern/CompositePattern.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73495"
} | starcoder |
using System;
namespace VsCodeProOne.Patterns.CompositePattern
{
public static class CompositePattern
{
public static void Test()
{
Console.WriteLine("组合模式测试");
var CEO = new Employee("DuGu","CEO",30000);
var headSales = new Employee("Robert","Head Sales", 2... | 3.230681 | a17e1ddc0138e452a1517d0981ede304 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73495 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/libraries/System.Private.Xml/tests/Writers/XmlWriterApi/TCCheckChars.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73496"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using OLEDB.Test.ModuleCore;
using System.Text;
using XmlCoreTest.Common;
using Xunit;
namespace System.Xml.Tests
{
public class TCCheckChars
{
[Theory]
[Xml... | 2.217486 | 2c86feb35c37c8b4b7117e0e96cd5a84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rtfpessoa/padi-dstm",
"max_stars_repo_path": "CommonTypes/NameRegistry/RegistryEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73497"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace CommonTypes.NameRegistry
{
[Serializable]
public class RegistryEntry
{
public readonly HashSet<int> FaultDetection;
public readonly int Parent;
public bool Active;
public RegistryEntry(int... | 2.132992 | 7747ae04762a46398c7c269d1d0a5659 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raminrahimzada/SQLEngine",
"max_stars_repo_path": "SQLEngine.Tests/SqlServer/Transaction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73498"
} | starcoder |
using Xunit;
namespace SQLEngine.Tests.SqlServer
{
public partial class AllTests
{
[Fact]
public void Test_Transaction()
{
using (var q=Query.New)
{
q.BeginTransaction();
q.Delete.Table<UserTable>();
... | 2.503809 | 4baf129f174bf82fdab202dba9795116 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73498 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tannguyent/coolstore-microservices",
"max_stars_repo_path": "src/microservices/shopping-cart-service/VND.CoolStore.ShoppingCart/Usecases/ReplicateProductCatalogInfo/ReplicateProductCatalogInfoHandler.cs",
"provenance": "train-00000-of... | starcoder | <reponame>tannguyent/coolstore-microservices
using System;
using System.Threading;
using System.Threading.Tasks;
using CloudNativeKit.Infrastructure.Data.EfCore.Core;
using MediatR;
using VND.CoolStore.ShoppingCart.Data;
namespace VND.CoolStore.ShoppingCart.Usecases.ReplicateProductCatalogInfo
{
public class Repli... | 2.114728 | 989d47205e9f0ab1a07c02b041ebb154 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "schreurz/BillTracker",
"max_stars_repo_path": "src/BillTracker/Bill.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73500"
} | starcoder | using System;
namespace BillTracker
{
public class Bill : IComparable
{
private Bill(double balance, DateTime dueDate, string payee)
{
this.balance = balance;
this.dueDate = dueDate;
this.payee = payee;
}
public static Bill From(double balanc... | 3.266812 | a5f4bac25e9472a9c451ab3b6722bbf1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73500 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "youstinus/volunteer",
"max_stars_repo_path": "server/WebAPI/Controllers/OrganizationsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73501"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.AspNetCore.Mvc;
using WebAPI.Base;
using WebAPI.Controllers.Interfaces;
using WebAPI.Enums;
using WebAPI.Models;
using WebAPI.Models.DTO;
using WebAPI.Services.Interfaces;
namesp... | 2.150932 | 7d9733172f5f90b789cdfd424e2e2e3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidgn/Prager-Software",
"max_stars_repo_path": "BulkLister/utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73502"
} | starcoder | <reponame>davidgn/Prager-Software<filename>BulkLister/utilities.cs
using System;
using System.Data;
using System.Linq;
using System.Data.OleDb;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using System.Xml;
using System.Data.Odbc;
using FirebirdSql;
using FirebirdSql.Data.FirebirdClient... | 2.49435 | 89c3797724b3acd96bc9b3f29523f526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73502 | {
"extension": "c-sharp",
"max_stars_count": "102.0",
"max_stars_repo_name": "luk355/flickr-net",
"max_stars_repo_path": "FlickrNet/Flickr_PhotosMisc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73503"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace FlickrNet
{
public partial class Flickr
{
/// <summary>
/// Rotates a photo on Flickr.
/// </summary>
/// <remarks>
/// Does not rotate the original photo.
///... | 2.871517 | 31b0435f785d511b2eab137cb31176f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73503 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "synthetic-borealis/Andromeda-Saving-System",
"max_stars_repo_path": "Assets/Examples/Scripts/CubeMover.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73504"
} | starcoder | <filename>Assets/Examples/Scripts/CubeMover.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeMover : MonoBehaviour
{
[SerializeField, Range(0.5f, 5.0f)]
private float _speed = 1.0f;
// Start is called before the first frame update
void Start(... | 2.607564 | 248f3f0894b72b09a3e1b02c490619d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73504 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "aliencube/yarm",
"max_stars_repo_path": "src/Yarm.Functions/Formatters/TextPlainMediaTypeFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73505"
} | starcoder | using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Yarm.Functions.Formatters
{
/// <summary>
/// This represents the formatter entity for "te... | 2.816457 | dc7e73b906d39de2add69b0faf5bb4b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73505 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonAnders/NHtmlUnit",
"max_stars_repo_path": "app/NHtmlUnit/Generated/Activex/Javascript/Msxml/XMLDOMImplementation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73506"
} | 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.Activex.Javascript.Msxml
{
public partial class XMLDOMImplementation : NHtmlUnit.Activex.Javascript.Msxml.MSXMLScripta... | 1.769936 | 32b164facdbe25ef7628a3be408cf781 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73506 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jramongomez/TFG-1718",
"max_stars_repo_path": "Proyecto/TFG/Assets/Scripts/LeapMotionMenuController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73507"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.SceneManagement;
using Leap;
public class LeapMotionMenuController : LeapMotionControllerClass {
void Start ()
{
//Inicializamos el controlador
controll... | 2.285776 | 14469e678bf539df6dfb6afadbb6695d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73507 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mlidbom/Composable",
"max_stars_repo_path": "src/framework/Composable.CQRS.UnitTests/SystemCE/CollectionsCE/GenericCE/DictionaryExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73508"
} | starcoder | using System;
using System.Collections.Generic;
using Composable.SystemCE.CollectionsCE.GenericCE;
using NUnit.Framework;
namespace Composable.Tests.SystemCE.CollectionsCE.GenericCE
{
public static class DictionaryExtensionsGetOrAddWhenKey
{
const int ExistingValue = 1;
const int InsertedValue ... | 2.810134 | 87750ea2a75662ea36dbbb97c9c936fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prashanth8403/Plutonium",
"max_stars_repo_path": "Src/Node/ServerPlus/Dashboard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73509"
} | starcoder | <reponame>prashanth8403/Plutonium<filename>Src/Node/ServerPlus/Dashboard.cs
using System;
using System.Data;
using System.Linq;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using System.Threading;
using System.IO;
using Newtonsoft.Json.Linq;
namespace Node
{
public partial class Das... | 2.337545 | 374ca175a718e711b3bffe7c12b0b4f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73509 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "goyzhang/roslyn-analyzers",
"max_stars_repo_path": "src/Utilities/Compiler/SymbolDisplayNameCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73510"
} | starcoder | <reponame>goyzhang/roslyn-analyzers
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Concurrent;
using Microsoft.CodeAnalysis;
namespace Analyzer.Utilities
{
/// <summary>
... | 2.60301 | fa8de37b183e0a27e03203b33964a61f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73510 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Leitee/NetCoreBackend",
"max_stars_repo_path": "Pandora.NetStandard.Api/Controllers/AccountController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73511"
} | starcoder | using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Pandora.NetStandard.Business.Services.Contracts;
using Pandora.NetStdLibrary.Base.Base;
using Pandora.NetStdLibrary.Base.Utils;
using Pandora.NetStand... | 2.094493 | ff8734cc4c401a998c051d22d44db40c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ca1e/PokemonTycoon",
"max_stars_repo_path": "EasyCon2/Script/Parsing/Statements/StickAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73512"
} | starcoder | namespace EasyCon2.Script.Parsing.Statements
{
abstract class StickAction : Statement
{
protected readonly ECDevice.ECKey Key;
protected readonly string KeyName;
protected readonly string Direction;
public StickAction(ECDevice.ECKey key, string keyname, string direcion)
... | 2.640172 | f6c86f2130406266fb59881d286e1ae0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73512 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "warning-explosive/Core",
"max_stars_repo_path": "Modules/GenericEndpoint.DataAccess/Deduplication/InboxMessageWasHandled.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73513"
} | starcoder | namespace SpaceEngineers.Core.GenericEndpoint.DataAccess.Deduplication
{
using System;
using GenericDomain.Api.Abstractions;
internal class InboxMessageWasHandled : IDomainEvent
{
public InboxMessageWasHandled(Guid inboxId, Guid messageId)
{
InboxId = inboxId;
M... | 1.701 | f957aa96ad3375afea8387caa804eab0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73513 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "UUGMorelia/TimeLinePractice",
"max_stars_repo_path": "Timeline Practice/Assets/Standard Assets/Vehicles/Aircraft/Scripts/AeroplaneAiControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73514"
} | starcoder | <filename>Timeline Practice/Assets/Standard Assets/Vehicles/Aircraft/Scripts/AeroplaneAiControl.cs
using System;
using UnityEngine;
using Random = UnityEngine.Random;
namespace UnityStandardAssets.Vehicles.Aeroplane
{
[RequireComponent(typeof (AeroplaneController))]
public class AeroplaneAiControl : MonoBehavi... | 2.666894 | 474fc63300caba6f42657f9cd65b93be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73514 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "XDKSerenity/Ascension",
"max_stars_repo_path": "Ascension/Forms/Dialog/Extras/slider_poker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73515"
} | starcoder | namespace Ascension.Forms.Dialog.Extras
{
using Ascension.Forms.Dialog.Extras.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
public class slider_poker : Form
... | 2.144777 | 3a59b6c72537b2acc2bf067e993ce084 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73515 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Web/Test/System.Web.Mail/MailMessageCas.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73516"
} | starcoder | <reponame>lefb766/mono
//
// MailMessageCas.cs - CAS unit tests for System.Web.Mail.MailMessage
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentat... | 1.661822 | 92fa51cdd64b4a2358f2a8b66392ec47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "franklzt/DataStruct",
"max_stars_repo_path": "algs/Quick3way.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73517"
} | starcoder | <gh_stars>0
/******************************************************************************
* Compilation: javac Quick3way.java
* Execution: java Quick3way < input.txt
* Dependencies: StdOut.java StdIn.java
* Data files: https://algs4.cs.princeton.edu/23quicksort/tiny.txt
* https://algs4.c... | 3.413395 | 79d87e1431212e984184e1638a760ffb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomaforn/clean-architecture",
"max_stars_repo_path": "src/Ticket.Domain/Entities/Workorder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73518"
} | starcoder | using Shared.Domain;
using System.Collections.Generic;
namespace Modules.Ticket.Domain.Entities
{
public class Workorder : AuditableEntity, IHasDomainEvent
{
public int Id { get; set; }
public Ticket Ticket { get; set; }
public bool IsClosed { get; set; }
public string SomeOthe... | 1.791183 | bc85e96cb10b3cde84930f3ef1e5cb1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73518 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mjfreelancing/AllOverIt",
"max_stars_repo_path": "Demos/AllOverIt.Aws.Cdk.AppSync/GraphqlSchema/Schema/Types/LanguageType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73519"
} | starcoder | using AllOverIt.Aws.Cdk.AppSync.Attributes.Types;
namespace GraphqlSchema.Schema.Types
{
[SchemaEnum("LanguageGroup")]
internal enum LanguageType
{
Native,
Other
}
} | 1.116129 | ac6fedbddd5e49995203346595037faf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73519 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "ammogcoder/SqlDiffFramework",
"max_stars_repo_path": "SqlDiffFramework/SqlDiffFramework/DiffChunk.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73520"
} | starcoder | using Algorithm.Diff;
using PotterDiffEngine;
namespace SqlDiffFramework
{
// converts elements from various difference engines to a canonical form
public struct DiffChunk
{
#region constructor
public struct Range
{
public int Start, End, Count;
... | 2.888183 | 855b37b1b87bd9fbf6ae9465fe028660 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bo6682/Snap.Genshin",
"max_stars_repo_path": "DGP.Genshin/Services/CookieService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73521"
} | starcoder | <gh_stars>0
using DGP.Genshin.Common.Core.DependencyInjection;
using DGP.Genshin.Common.Data.Json;
using DGP.Genshin.Common.Exceptions;
using DGP.Genshin.Common.Extensions.System;
using DGP.Genshin.Controls.Cookies;
using DGP.Genshin.Helpers.Converters;
using DGP.Genshin.Messages;
using DGP.Genshin.MiHoYoAPI.UserInfo;... | 1.899036 | 77d0c49c86e9f95538b0e312dc47a3ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "newbienewbie/elsa-core",
"max_stars_repo_path": "src/scripting/Elsa.Scripting.JavaScript/Services/JintEvaluationResultConverterFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73522"
} | starcoder | using System;
using Microsoft.Extensions.DependencyInjection;
namespace Elsa.Scripting.JavaScript.Services
{
public class JintEvaluationResultConverterFactory
{
readonly IServiceProvider serviceProvider;
public IConvertsJintEvaluationResult GetConverter()
{
IConvertsJintEva... | 2.373721 | 7efa07e3972bd43a10bd9fda394a5db9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kriss98/CSharp-Projects",
"max_stars_repo_path": "SIS/MishMash.Services/Contracts/IUserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73523"
} | starcoder | namespace MishMash.Services.Contracts
{
using MishMash.ViewModels.Users;
public interface IUsersService
{
string GetUserRole(string username);
void RegisterUser(RegisterViewModel model);
bool UserExists(LoginViewModel model);
}
} | 1.653219 | 7d2eb65f899b25074d6ff31e80b3b7fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewhoi/squidex",
"max_stars_repo_path": "tests/Squidex.Infrastructure.Tests/CQRS/Commands/DefaultDomainObjectFactoryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73524"
} | starcoder | // ==========================================================================
// DefaultDomainObjectFactoryTests.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// =======================================... | 2.061216 | dcdced75b8d9d3812cb35ae8d7e7fec9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hotheart0122/ClientManager",
"max_stars_repo_path": "ClientManagerApp/Views/Client/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73525"
} | starcoder | @model ClientManagerLibrary.ClientViewModel
@{
ViewBag.Title = "Add New Client";
}
<h2>Add New Client</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Add information then click CREATE</h4>
<hr />
@Html.ValidationSummary(true, "",... | 2.348542 | 2692695ff9ba2d1d8a011570f25fca51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73525 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PankajRawat333/MicrosoftAzureTrainingKit",
"max_stars_repo_path": "HOLs/HOL-ASPNETAzureWebSitesVMSQL-VS2012/Source/Ex2-CreatingMVCWebSite/End/ContactManager.Web/Views/Contact/List.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:... | starcoder | @model IEnumerable<ContactManager.Web.Models.Contact>
@{
ViewBag.Title = "List";
}
<section class="featured">
<div class="content-wrapper">
<hgroup class="title">
<h1>Contact Manager Sample</h1>
<h2>for Windows Azure Web Sites</h2>
</hgroup>
<p>
Create and sea... | 2.948394 | 7b81db53b8d7948166f4af3393869702 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73526 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "pulumi/pulumi-spotinst",
"max_stars_repo_path": "sdk/dotnet/Gcp/Outputs/ElastigroupIntegrationGke.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73527"
} | starcoder | <filename>sdk/dotnet/Gcp/Outputs/ElastigroupIntegrationGke.cs
// *** 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;
us... | 1.490547 | dad61daa6765864126f088dc5483e8e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73527 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "pengweiqhca/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-dyvmsapi/Dyvmsapi/Model/V20170525/ListCallTaskDetailResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73528"
} | starcoder | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1.415543 | 1f4755a914a22c924f41771f8d6f7523 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73528 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "X-Crew/Red",
"max_stars_repo_path": "Assets/Plugins/Red/Pure/RSystemizeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73529"
} | starcoder | #if CSHARP_7_OR_LATER || (UNITY_2018_3_OR_NEWER && (NET_STANDARD_2_0 || NET_4_6))
namespace Red.Pure {
using System;
using UniRx;
public static partial class RSystemizeExtensions {
/// <summary>
/// Complex operator, which allows process stream with custom <see cref="ISystem{T, TR}" />... | 2.522575 | 2a6c1af601c68e745ff5d0e2acfbb9a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73529 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "El-Tejaso/Harmonic-Table",
"max_stars_repo_path": "Assets/Scripts/Beatmaps/File/TempoEventInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73530"
} | starcoder | <filename>Assets/Scripts/Beatmaps/File/TempoEventInfo.cs
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
//used to store tempo change event information in the beatmap
public class TempoEventInfo : IComparable<TempoEventInfo>{
//the time in MIDI ticks that this event execu... | 2.685208 | 1fc25d3672e9227518e1afdeb6d75999 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arpple/projectend",
"max_stars_repo_path": "Assets/Scripts/_Sources/Card/UI/CardActionGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73531"
} | starcoder | <gh_stars>0
using UI;
using UnityEngine;
public abstract class CardActionGroup : ActionGroup
{
public GameObject CardPanel;
public abstract void OnCardClick(CardObject card);
} | 1.289742 | 683f7e167e6ed18f056004bf41cc60bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "githubacct54385/HawkerFinder",
"max_stars_repo_path": "Data/HawkerContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73532"
} | starcoder | using Microsoft.EntityFrameworkCore;
using HawkerFinder.Models;
namespace HawkerFinder.Data {
public class HawkerContext : DbContext {
public HawkerContext (DbContextOptions<HawkerContext> options) : base (options) {}
public DbSet<Address> Addresses { get; set; }
protected override void O... | 2.258467 | 8937825eff0c1a979d2aefa0b8c939f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cnrdmrci/Usage-Of-MongoDb",
"max_stars_repo_path": "Client.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73533"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using MongoDB.Driver;
using Usage_Of_MongoDb.Models;
using Usage_Of_MongoDb.MongoCRUD;
namespace Usage_Of_MongoDb
{
public class Client
{
private readonly IMongoDatabase _db;
private readonly MongoClient _mongoClient;
... | 2.807894 | 49081c30b012b512bcd768b8814fed20 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.