added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846184 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "traue/2022-1-terca_noite",
"max_stars_repo_path": "Projeto VIagem/Viagem/Viagem/FrmRelatorio.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165404"
} | starcoder | <filename>Projeto VIagem/Viagem/Viagem/FrmRelatorio.cs<gh_stars>1-10
using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace Viagem
{
public partial class FrmRelatorio : Form
{
float consumo, distancia, combustivel, pedagios;
p... | 2.877668 | 4979c926b7d01bf433e4d20995213dad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Genocs/genocs-library",
"max_stars_repo_path": "src/Genocs.Core.Demo.ServiceBusAzure.BusWorker/Handlers/DemoSubscription1EventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165405"
} | starcoder | <filename>src/Genocs.Core.Demo.ServiceBusAzure.BusWorker/Handlers/DemoSubscription1EventHandler.cs
using Genocs.Core.Demo.Contracts;
using Genocs.Core.Interfaces;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace UTU.Platform.Demo.AzureServiceBus.BusWorker.Handlers
{
public class DemoSub... | 2.341027 | d573f0050acc3431381177aa2b5d6365 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846186 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "1AMAC0MPU73R/BBBCSIO",
"max_stars_repo_path": "Source/GpioEnum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165406"
} | starcoder | using System;
/// +------------------------------------------------------------------------------------------------------------------------------+
/// | TERMS OF USE: MIT License |
/// +---------------------------------... | 2.017051 | 05aa3271c2e06ac6b7ce5bc527747831 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcarlin27/band_tracker_csharp",
"max_stars_repo_path": "Views/form.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165407"
} | starcoder | <reponame>mcarlin27/band_tracker_csharp
@{
Layout="Shared/_Layout.cshtml";
}
@if(Model["form-type"] == "new-band")
{
<h1 class="text-center">Add a band</h1>
<form action="/bands/new" method="post">
<div class="form-group">
<label for="band-name">Name</label>
<input type="text" name="band-name" cl... | 2.172104 | 5345d3f5d8543d74e62e47e636231ada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846188 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "bardsnight/unity-2d-online-rpg",
"max_stars_repo_path": "2D Online RPG/Assets/Renderer/SmartLighting2D/Scripts/Misc/MeshObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165408"
} | starcoder | <reponame>bardsnight/unity-2d-online-rpg
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeshObject {
public Mesh mesh;
public Vector3[] vertices;
public Vector2[] uv;
public int[] triangles;
public static MeshObject Get(Mesh meshOrigin) {
if (meshOrigin.isReadable)... | 2.541146 | 801fdc1cc595fec240682d9ef25e99ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846189 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "IanMercer/AboditGraph",
"max_stars_repo_path": "Abodit.Graph/Base/Edge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165409"
} | starcoder | using System;
using System.Diagnostics;
namespace Abodit.Graph.Base
{
public abstract partial class GraphBase<TNode, TRelation>
{
/// <summary>
/// A relationship between two objects
/// </summary>
/// <remarks>
/// These are not stored in the graph per se but are gener... | 3.326463 | e1c6970dbc43e75f49a64f3ccfdbabe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DataGenSoftware/DataGenExtensions",
"max_stars_repo_path": "DataGen.Extensions/DataGen.Extentions.UnitTests/EnumExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165410"
} | starcoder | <gh_stars>0
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataGen.Extensions;
namespace DataGen.Extentions.UnitTests
{
[TestFixture]
public class EnumExtensionsTests
{
[Test]
public void Enum... | 2.527273 | 168714f971aed5ba3ed90c152ce0ed48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846191 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BigEggStudy/LeetCode-CS",
"max_stars_repo_path": "LeetCode/1251-1300/1261-FindElementsInAContaminatedBinaryTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165411"
} | starcoder | //-----------------------------------------------------------------------------
// Runtime: 156ms
// Memory Usage: 41.7 MB
// Link: https://leetcode.com/submissions/detail/360781980/
//-----------------------------------------------------------------------------
using System.Collections.Generic;
namespace LeetCode
{
... | 3.274089 | 3d04bfd23f51fc565ddf368f3d5d076b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846192 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "meliharvey/Triceratops",
"max_stars_repo_path": "src/MeshStandardMaterial_Component.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165412"
} | starcoder | using System;
using System.Drawing;
using System.Collections.Generic;
using System.Dynamic;
using Grasshopper.Kernel;
using Rhino.Geometry;
using Newtonsoft.Json;
namespace Triceratops
{
public class MeshStandardMaterial_Component : GH_Component
{
/// <summary>
/// Initializes a new instance ... | 2.326822 | 65beb894e46c1aa7a304388e2f0325e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846193 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tsmoreland/CouncilBinService",
"max_stars_repo_path": "Bins.Collections/TSMoreland.ArdsBorough.Bins.Collections.Services/BinCollectionService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165413"
} | starcoder | <gh_stars>0
//
// Copyright © 2022 <NAME>
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ... | 1.904736 | adba39024f9d2d365d13ab66b3dd67ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846194 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marvin-garcia/BatchFileProcessor",
"max_stars_repo_path": "BatchFileProcessor/BatchFileProcessor/SendStorageEventToQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165414"
} | starcoder | // Default URL for triggering event grid function in the local environment.
// http://localhost:7071/runtime/webhooks/EventGrid?functionName=SendStorageEventToQueue
// Use command below for local debugging (https://docs.microsoft.com/en-us/azure/azure-functions/functions-debug-event-grid-trigger-local)
// ngrok http -h... | 2.347365 | 41ff23fd0c22c08a5bcf7e1d245feb51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tommarien/timely",
"max_stars_repo_path": "src/Timely.Tests/When_creating_periods_from_values.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165415"
} | starcoder | <filename>src/Timely.Tests/When_creating_periods_from_values.cs
using NUnit.Framework;
using Shouldly;
namespace Timely.Tests
{
[TestFixture]
public class When_creating_periods_from_values
{
[Test]
public void it_retains_the_amount_of_days()
{
Period period = 1000.Days(... | 3.209748 | 0e666c9b59a8b291b36243eccf488724 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846196 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gasparnagy/CucumberExpressionParserDemo",
"max_stars_repo_path": "CucumberExpressionParserDemo/Parser/TokenScanner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165416"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Cucumber
{
public class TokenScanner : ITokenScanner
{
private readonly IEnumerator<Token> _scanner;
public TokenScanner(string expressionString)
{
_scanner = Scan(expressionString);
}
... | 3.255907 | e9d25818dbe724d60a41f7ff2213f4ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yibojiang/ShootingGame",
"max_stars_repo_path": "Assets/Scripts/Enemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165417"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour {
Rigidbody body;
public GameObject target;
public GameObject explosionPrefab;
// Use this for initialization
void Start () {
body = this.GetComponent<Rigidbody>();
// this.GetComponent<Rigidbody... | 2.172763 | 12cd95ea15a2405b40dab0339197ff7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846198 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChrisPelatari/XunitForms",
"max_stars_repo_path": "source/XunitForms/Generic Testers/Tester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165418"
} | starcoder | <gh_stars>1-10
#region Copyright (c) 2003-2007, <NAME>
/********************************************************************************************************************
'
' Copyright (c) 2003-2007, <NAME>
' All rights reserved.
'
' Redistribution and use in source and binary forms, with or without modifica... | 2.31151 | b6577b89ecded8ce4518f41d56e2e95f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846199 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "timmi4sa/MassTransit",
"max_stars_repo_path": "src/MassTransit/Transports/InMemory/Topology/InMemoryMessageConsumeTopology.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165419"
} | starcoder | // Copyright 2007-2017 <NAME>, <NAME>, <NAME>, et. al.
//
// 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 re... | 1.867842 | 6f5a8cbd63e1b05d3ddcb07d1e58b9bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andxpto/open-shelter-app",
"max_stars_repo_path": "src/OpenShelter/Models/Attendance.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165420"
} | starcoder | using System;
using SQLite;
namespace OpenShelter.Models
{
public class Attendance
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public DateTime EnterTime { get; set; }
public DateTime ExitTime { get; set; }
[Indexed]
public int VolunterId { get; ... | 2.547858 | ea8ee58a8477028304be03cccc0b4b15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Patika-dev-Apsiyon-NET-Core-Bootcamp/seymademir_bootcamphomeworks",
"max_stars_repo_path": "3.odev_CleanArchitecture/CleanArchitecture.Domain/Models/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165421"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CleanArchitecture.Domain.Models
{
public class User : Entity
{
public string UserName { get; set; }
public string Password { get; set; }
public virtual ICollect... | 2.014244 | a1d09fbb4699fe2f036c9ca4e1c4fd8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProlificSwan/Skybots",
"max_stars_repo_path": "RoboticsGUI/GUI/Model/TeamControlModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165422"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Robotics.GUI.Model
{
//Defines all controllable elements on a team's side of the field along with their control pin numbers
class TeamControlModel : BaseModel
{
... | 2.115026 | ab1c6c1c1e23da919ac6235beb6e2eac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846203 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "martinhey/RedmineHourglassNet",
"max_stars_repo_path": "Develappers.RedmineHourglassApi/HourglassClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165423"
} | starcoder | <filename>Develappers.RedmineHourglassApi/HourglassClient.cs
using System;
namespace Develappers.RedmineHourglassApi
{
/// <summary>
/// Central object to access the API.
/// </summary>
public class HourglassClient
{
public HourglassClient(Configuration configuration)
{
... | 2.788844 | 555ac5ffcb5ca0f929b55e4a2375e21d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Shaheen47/remote-usability-testing-framework-backend",
"max_stars_repo_path": "session-service/Dtos/ModeratorLoginDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165424"
} | starcoder | <gh_stars>0
namespace session_service
{
public class ModeratorLoginDto
{
public string id { set; get; }
public string username { set; get; }
public string password { set; get; }
}
} | 1.159724 | d0ccbf69500c7a6b770119e49ce15fc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846205 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DragonSpark/Framework",
"max_stars_repo_path": "DragonSpark.Application/Security/Identity/StateViewKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165425"
} | starcoder | using DragonSpark.Application.Compose.Store;
using System.Security.Claims;
namespace DragonSpark.Application.Security.Identity;
sealed class StateViewKey : Key<ClaimsPrincipal>
{
public static StateViewKey Default { get; } = new();
StateViewKey() : base(nameof(StateViewKey), x => x.UserName()) {}
} | 1.68497 | f04d3799fa04f111dbd146a992a72817 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cseshohag/assetmanager",
"max_stars_repo_path": "AssetManager/AssetManager/Controllers/MaintenancesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165426"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.Web.Mvc;
using AssetManager.Models;
namespace AssetManager.Controllers
{
public class MaintenancesController : ... | 1.936177 | 50b4ee1daae7491d58e6973b7df05ab4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846207 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "IdlessChaye/TouhouNingyoMatsuri",
"max_stars_repo_path": "TouhouNingyoMatsuri/Assets/C_Scripts/UI/FinalScoreTableBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165427"
} | starcoder | <filename>TouhouNingyoMatsuri/Assets/C_Scripts/UI/FinalScoreTableBuilder.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Networking;
public class FinalScoreTableBuilder : NetworkBehaviour {
public GameObject targetPanel;
public float to... | 2.103856 | ee95e7100f2a4d16d473ed47e8b5f041 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846208 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marcusjobb/NET20D",
"max_stars_repo_path": "TDD/Inlämning1/Jesper/GeometricJesperPersson/Shapes/Square.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165428"
} | starcoder | namespace GeometricJesperPersson.Shapes
{
using System;
public class Square : GeometricThing
{
/// <summary>
/// Set the square's side to the same as the input when instancing the object.
/// </summary>
/// <param name="side">size of the square´s sides in meter</param>
... | 3.653592 | e4551193eaafc5f6fdb9f30ab87a632f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846209 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice",
"max_stars_repo_path": "src/SFA.DAS.EmployerAccounts/Queries/GetGatewayToken/GetGatewayTokenQueryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165429"... | starcoder | using SFA.DAS.Hmrc.Models;
namespace SFA.DAS.EmployerAccounts.Queries.GetGatewayToken
{
public class GetGatewayTokenQueryResponse
{
public HmrcTokenResponse HmrcTokenResponse { get; set; }
}
} | 1.104812 | a1a9a0adbdd7d3a23e51696060ac1464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ilyabreev/Sintek.Schedule",
"max_stars_repo_path": "Sintek.Schedule.Core/Schedulers/ScheduledJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165430"
} | starcoder | <reponame>ilyabreev/Sintek.Schedule<filename>Sintek.Schedule.Core/Schedulers/ScheduledJob.cs
namespace Sintek.Schedule.Core.Schedulers
{
using Quartz;
public class ScheduledJob
{
public ScheduledJob(IJobDetail jobDetail, ITrigger trigger)
{
JobDetail = jobDetail;
Tr... | 1.579679 | f3ec6359bf59ff74ba676a26bdd93c8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DarkCreekWay/OSI",
"max_stars_repo_path": "src/Microsoft/Windows/ComponentObjectModel/IO/Test.Assets/Net48Component/Net48Component_2nd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165431"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace DarkCreekWay {
[ComVisible( true )]
[Guid( "A8433D0F-170F-4FC6-9553-B3B4120014E0" )]
public class Net48Component_2nd {
public Net48Component_2nd() {
}
}
}
| 1.386883 | 48d2cf57396771efe96a37303bad6e51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846212 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nathnael/cats",
"max_stars_repo_path": "Web/Areas/Procurement/Views/BidWinner/ListOfWinners.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165432"
} | starcoder | @using Cats.Areas.Procurement.Models
@model WinnersTransportersViewModel
@using Cats.Helpers
@using Cats.Models
@using Cats.Security
@using Cats.Services.Security
@using Kendo.Mvc.UI
@{
ViewBag.Title = "ListOfBidWinners";
Layout = "~/Views/Shared/_MainLayout.cshtml";
}
@section Toolbar {
}
<h4 >List... | 2.134554 | d1d9827fb2ac1f54e2cabe19ce3a8267 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846213 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hectorandac/Anagramas",
"max_stars_repo_path": "Anagramas/Anagramas.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165433"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Anagramas
{
class Anagrama
{
public string source = "";
public string[] dictionary = new string[0];
public Word[] words;
public Anagrama(string source... | 3.862773 | 12fab6545f33cec4baeab8b5bd3d9160 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846214 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "RoastedBytes/dotentity",
"max_stars_repo_path": "src/DotEntity/Attributes/NotNullAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165434"
} | starcoder | <filename>src/DotEntity/Attributes/NotNullAttribute.cs<gh_stars>1-10
using System;
namespace DotEntity.Attributes
{
/// <summary>
/// Specifies that a particular field should not be null
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class NotNullAttribute : Attribute
{
... | 2.506992 | 62ef1c2bccaa0e1951a9fa6aefcdb53f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChebanovDD/MatchSweets",
"max_stars_repo_path": "samples/Terminal.Match3/TerminalItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165435"
} | starcoder | <reponame>ChebanovDD/MatchSweets<filename>samples/Terminal.Match3/TerminalItem.cs<gh_stars>0
using System;
using Terminal.Match3.Interfaces;
namespace Terminal.Match3
{
public class TerminalItem : ITerminalItem
{
public TerminalItem()
{
Icon = '-';
Color = ConsoleColor.... | 2.286536 | 62978772c7ccc03e1cd67d47b7dc36c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846216 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "ashwin003/MonkeyBot",
"max_stars_repo_path": "MonkeyBot/Modules/RoleManagement/RoleDropdownService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165436"
} | starcoder | <reponame>ashwin003/MonkeyBot
using DSharpPlus;
using DSharpPlus.Entities;
using DSharpPlus.EventArgs;
using DSharpPlus.Exceptions;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using MonkeyBot.Database;
using MonkeyBot.Models;
using System;
using System.Collections.Concurrent;
using System.... | 2.157718 | 67951a53b2e45fba7b24084832e5e122 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "janniksam/RoleServant.Alexa",
"max_stars_repo_path": "RoleShuffle.Alexa/RoleShuffle.Application/Games/OneNightUltimateWerewolf/OneNightUltimateWerewolfGame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165437"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Alexa.NET;
using Alexa.NET.Request;
using Alexa.NET.Request.Type;
using Alexa.NET.Response;
using RoleShuffle.Application.Abstractions.Model;
using RoleShuffle.Application.Abstractions.RoleManager;
using RoleShuffle.... | 1.761991 | a24e562de63291d286dd86e2b4dd3da1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheWizardAndTheWyrd/ArcanaERP",
"max_stars_repo_path": "ArcanaErp.Core/Interfaces/Models/Commerce/IValidPricePlanComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165438"
} | starcoder | <gh_stars>0
namespace ArcanaErp.Core.Interfaces.Models.Commerce
{
public interface IValidPricePlanComponent
{
}
} | 0.961718 | 770d74f498839789d9e6af0ae96de958 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846219 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Vladimir-Novick/CSharp-Utility-Classes",
"max_stars_repo_path": "CSVUtils/CSVAutoLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165439"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
////////////////////////////////////////////////////////////////////////////
// Copyright 2018 : <NAME> https://www.linkedin.com/in/vladimirnovick/
//
// ... | 2.756281 | 98104b969f0f742ebd695325feada9c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846220 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AndroidQuazar/VanillaFactionsExpanded-Core",
"max_stars_repo_path": "Source/VFECore/Furniture/Options/VanillaFurnitureExpanded_SetingsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165440"
} | starcoder | using RimWorld;
using UnityEngine;
using Verse;
namespace VanillaFurnitureExpanded
{
public class VanillaFurnitureExpanded_Mod : Mod
{
public VanillaFurnitureExpanded_Mod(ModContentPack content) : base(content)
{
GetSettings<VanillaFurnitureExpanded_Settings>();
}
... | 1.487483 | 5a4d65dbbcf1ca08a65579c08afe9690 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846221 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "ghuntley/StructuredEditor",
"max_stars_repo_path": "Controls/PictureBox/PictureChangeBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165441"
} | starcoder | <reponame>ghuntley/StructuredEditor
using System;
using System.Collections.Generic;
using System.Text;
using GuiLabs.Canvas.DrawStyle;
namespace GuiLabs.Canvas.Controls
{
public class PictureChangeBox : PictureBox
{
public PictureChangeBox(IPicture defaultPicture, IPicture togglePicture)
: base(defaul... | 2.117888 | fffa2025fe0a8b9eae49ad1bfa99afb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846222 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kirichenec/ReceptionNET",
"max_stars_repo_path": "src/Reception.Extensions/NullableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165442"
} | starcoder | <reponame>kirichenec/ReceptionNET
namespace Reception.Extension
{
public static class NullableExtensions
{
public static bool HasValue<T>(this T value) where T : class
{
return !value.HasNoValue();
}
public static bool HasNoValue<T>(this T value) where T : class
... | 2.245199 | 39bccc5287297c9b82bc5ea9cee0bedd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846223 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lbenson2/AquaLearn",
"max_stars_repo_path": "AquaLearn/AquaLearn.Data/Helpers/ClassroomHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165443"
} | starcoder | using AquaLearn.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using adm = AquaLearn.Domain.Models;
using AquaLearn.Data.Helpers;
namespace AquaLearn.Data.Helpers
{
public static class ClassroomHelper
{
private static AquaLearnIMDbContext _db = new... | 2.751233 | 043c4d69a1a6ad85d5593abbe65f1585 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846224 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "x10an14/SlackNet",
"max_stars_repo_path": "SlackNet/Blocks/OverflowMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165444"
} | starcoder | <reponame>x10an14/SlackNet<gh_stars>1-10
using System.Collections.Generic;
namespace SlackNet.Blocks
{
/// <summary>
/// This is like a cross between a button and a select menu - when a user clicks on this overflow button,
/// they will be presented with a list of options to choose from. Unlike the select... | 2.753025 | 1493c370610b5948f59596ec86499844 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846225 | {
"extension": "c-sharp",
"max_stars_count": "2759.0",
"max_stars_repo_name": "legistek/AspNetCore",
"max_stars_repo_path": "src/SignalR/server/Core/src/Internal/SignalRBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165445"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Extensions.DependencyInjection;
namespace Microsoft.AspNetCore.SignalR.Internal
{
internal class SignalRServerBuilder : ISignalRSer... | 1.476189 | 5a7dc2ced82caf62efaae2b625164969 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846226 | {
"extension": "c-sharp",
"max_stars_count": "334.0",
"max_stars_repo_name": "bobbyangers/MongoDB.Entities",
"max_stars_repo_path": "Benchmark/Models/File.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165446"
} | starcoder | using MongoDB.Entities;
namespace Benchmark
{
public class File : FileEntity
{
public string Name { get; set; }
}
}
| 1.59813 | 710b42dcfbae3f11ebbf40056099f9b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846227 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "declard/Dotnet.Func.Ext",
"max_stars_repo_path": "Dotnet.Func.Ext/Data/Functions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165447"
} | starcoder | using System;
namespace Dotnet.Func.Ext.Data
{
using static Data.Units;
using static Data.Ctors;
using static Core.Functions;
using Core;
public static partial class Ctors
{
/// <summary>
/// The only lazy injection
/// </summary>
public static Lazy<val> Lazy<v... | 2.738273 | 3f4d574c355523fdd42c04a038b06cb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846228 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "barba3/bitso2cointracking",
"max_stars_repo_path": "CurrencyConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165448"
} | starcoder | <gh_stars>1-10
namespace Bitso2Cointracking
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
public class CurrencyConverter
{
private Dictionary<... | 2.969875 | 7c8898ceea5e6950f789ed27f8f4073d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846229 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Nonny123/EmployeeOnboardingSystem",
"max_stars_repo_path": "EmployeeOnboardingSystem/Onboarding.Domain/DTOs/UserDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165449"
} | starcoder | using Onboarding.Domain.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Onboarding.Domain.DTOs
{
public class UserDto : UserBase
{
}
}
| 1.189066 | 42117e40bfc7bc2b08f1f6c6db13d8ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846230 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "vamsitp/ab-viz",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165450"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ab_viz {
static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
... | 2.802622 | 8305ca8d3b4a653a0972109b836b26cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846231 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "HakanL/animatroller",
"max_stars_repo_path": "Animatroller/src/SceneRunner/SendControls/BinarySendControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165451"
} | starcoder | using System;
using Animatroller.AdminMessage;
using Animatroller.Framework;
namespace Animatroller.SceneRunner.SendControls
{
public class BinarySendControl : ISendControl
{
private bool performUpdate;
private readonly Action updateAvailable;
private bool isOwned;
private bool... | 2.517171 | 8a164f55603a3412184edf9d247cd865 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "binhcan/MTV_API_MVC_Project",
"max_stars_repo_path": "03_SRC/MTV-system/MTV.API/Domain/Users/UsersRolesResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165452"
} | starcoder | using MTV.API.Helper;
using Microsoft.Extensions.Logging;
using System;
using MTV.Utilities;
namespace MTV.API.Domain.Users
{
public class UsersRolesResponse : BaseResponse
{
public UsersRoles UsersRoles { get; private set; }
//private readonly ILogger _logger;
private UsersRolesRespo... | 2.204504 | 99d97a260762e38f3eac1fbe55470208 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "realChrisDeBon/GyroPrompt",
"max_stars_repo_path": "NetworkObjects/GyroCloud.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165453"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Buffers.Binary;
using GyroPrompt... | 2.128354 | 10169f5757ae7920f11d535c5f69ee2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yolanother/UnityScriptableEvents",
"max_stars_repo_path": "Scripts/Runtime/Events/BuiltinTypes/ULongGameEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165454"
} | starcoder | <filename>Scripts/Runtime/Events/BuiltinTypes/ULongGameEvent.cs
using System;
using UnityEngine;
namespace DoubTech.ScriptableEvents.BuiltinTypes
{
[CreateAssetMenu(fileName = "ULongGameEvent", menuName = "DoubTech/Game Events/Built In Types/ULong Game Event")]
[Serializable]
public class ULongGameEvent ... | 1.779739 | 8d4a9110b45d58a8902c337ebb367490 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846235 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Sageframe/Sageframe",
"max_stars_repo_path": "SageFrame/Modules/Language/LocalPage.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165455"
} | starcoder | #region "Copyright"
/*
FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER
*/
#endregion
#region "References"
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.... | 1.714215 | 9321b1d3f4326ce0bc18f0fed2a1d9c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846236 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "k-t/SharpHaven",
"max_stars_repo_path": "SharpHaven/Resources/Factories/DrawableFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165456"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Drawing;
using System.IO;
using Haven.Resources;
using SharpHaven.Graphics;
namespace SharpHaven.Resources
{
public class DrawableFactory : IObjectFactory<Drawable>
{
public Drawable Create(string resName, Resource res)
{
var imageData = res.GetLayer<Imag... | 2.651945 | 5c5c1f191049e252732613d43ffd4ab4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846237 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GITburakdeniz/MarsRover",
"max_stars_repo_path": "Mission/Mission.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165457"
} | starcoder | using NavigationLibrary;
namespace Mission
{
/// <summary>
/// Starts mission of Mars Rover Exploration from given inputs.
/// </summary>
class Mission
{
static void Main( )
{
DataHandling missionData = new DataHandling();
missionData.getMissionFro... | 3.036189 | c7ee31e4df932d715758bb51b76d779a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846238 | {
"extension": "c-sharp",
"max_stars_count": "779.0",
"max_stars_repo_name": "ForEver0512/SqlCeToolbox",
"max_stars_repo_path": "src/API/Scripter/ToolStripSeparatorMenuItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165458"
} | starcoder | <reponame>ForEver0512/SqlCeToolbox<filename>src/API/Scripter/ToolStripSeparatorMenuItem.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer;
using System.Windows.Forms;
namespace SqlCeScripter
{
// menu item c... | 1.851321 | 0deb9b8170f90ac24ff29cdb1bf287e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "graemefoster/AzureResourceMap",
"max_stars_repo_path": "AzureDiagrams/Resources/DnsZoneVirtualNetworkLink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165459"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DrawIo.Azure.Core.Diagrams;
using Newtonsoft.Json.Linq;
namespace DrawIo.Azure.Core.Resources;
internal class DnsZoneVirtualNetworkLink : AzureResource
{
private string _dnsZone = default!;
private string _virtualNetwork... | 1.997542 | 151baf4fa79cb3e230c3836cd33ccf33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846240 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danieldamianov/C-OOP-Basics",
"max_stars_repo_path": "Exam Preparation 4/DungeonsAndCodeWizards/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165460"
} | starcoder | <filename>Exam Preparation 4/DungeonsAndCodeWizards/StartUp.cs<gh_stars>1-10
using System;
using System.Linq;
namespace DungeonsAndCodeWizards
{
public class StartUp
{
// DO NOT rename this file's namespace or class name.
// However, you ARE allowed to use your own namespaces (or no namespaces... | 3.242702 | b6413a02d2bd2a98718de30b6b469e7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "one-night-game-jam/joya-no-kane",
"max_stars_repo_path": "Assets/Scripts/Players/InputImpls/MergedInputEventProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165461"
} | starcoder | using System;
using System.Linq;
using UniRx;
using UnityEngine;
namespace Players.InputImpls
{
class MergedInputEventProvider : IInputEventProvider
{
IObservable<Vector3> moveDirection;
public MergedInputEventProvider(params IInputEventProvider[] inputEventProviders)
{
mov... | 2.328144 | 49474d347e3d09f5fc6a38f9737a794f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846242 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CoinVault/BitcoinNet",
"max_stars_repo_path": "src/Blockchain.Protocol.Bitcoin/Address/Address.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165462"
} | starcoder | <filename>src/Blockchain.Protocol.Bitcoin/Address/Address.cs
// <copyright file="Address.cs" company="SoftChains">
// Copyright 2016 <NAME>
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ... | 2.779649 | 37c745b64afa96e77ab901efbace03fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreyKodzhabashev/CSparpDB",
"max_stars_repo_path": "Exam_01Sept2018_VaporStore/VaporStore/Data/Models/Tag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165463"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace VaporStore.Data.Models
{
public class Tag
{
[Key] public int Id { get; set; } // – integer, Primary Key
[Required] public string Name { get; set; } // – text(required)
public virtual IColl... | 2.394142 | a9e8f7757c6e42ccb2e431d9c5d3ee34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846244 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "dmitrykolchev/d2dsharp",
"max_stars_repo_path": "D2DSharp/Managed.D2DSharp.Bezier/ControlPointArrayDx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165464"
} | starcoder | /*
* ControlPointArray.cs
*
* Authors:
* <NAME> <<EMAIL>>
*
* Copyright (C) 2010 <NAME>
*
* This sourcecode is licenced under The GNU Lesser General Public License
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
... | 2.352449 | 4b134122c758685b32eb5d2c680d7096 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846245 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "henningpohl/body-based-ar",
"max_stars_repo_path": "ARApplication/Shared/FaceAndPose/EmotionRecognizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165465"
} | starcoder | using ChakraHost.Hosting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading;
using System.Threading.Tasks;
using Windows.Data.Json;
using Windows.Graphics.Imaging;
using Windows.Media.FaceAnalysis;
using Wi... | 2.10463 | 38a9847d188c6883adc1f6f32927037b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846246 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "PulsarBlow/SuperMassive",
"max_stars_repo_path": "src/SuperMassive/Helpers/RegexHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165466"
} | starcoder | <filename>src/SuperMassive/Helpers/RegexHelper.cs
namespace SuperMassive
{
using System;
using System.Text.RegularExpressions;
/// <summary>
/// Provides regex utilities
/// </summary>
// TODO: RegexHelper should be renamed to something like ValidationHelper
// because some regex pattern s... | 2.873139 | 108cbfd2ed4579333ad96ab02d5ded7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "watmeron/SImpleMediaConverter",
"max_stars_repo_path": "SimpleMediaConverter/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165467"
} | starcoder | <reponame>watmeron/SImpleMediaConverter
namespace SimpleMediaConverter
{
partial class Form1
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
... | 1.648131 | e86cf687a78155baf6f2d49967bbdf11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Spksh/Poster",
"max_stars_repo_path": "Poster.Template/CompiledToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165468"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Scripting;
using Microsoft.CodeAnalysis.Scripting;
namespace Poster.Template
{
public class CompiledToken<TContext> where TContext : IContext
{
public TokenType Type { get; set... | 2.61322 | 3d4614e3b7b7ab203d3cf45223b741b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846249 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Hertzole/HertzVox",
"max_stars_repo_path": "Assets/Hertzole/HertzVox/Code/Utilities/Data Types/TextureIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165469"
} | starcoder | using Hertzole.HertzVox.Blocks;
using System.Collections.Generic;
using UnityEngine;
namespace Hertzole.HertzVox
{
public class TextureIndex
{
private Dictionary<string, TextureCollection> m_Textures = new Dictionary<string, TextureCollection>();
public Dictionary<string, TextureCollection> Tex... | 2.423384 | 14f9b75264571aa18c02bdbcd71e53b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846250 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xax4o/CompanyManagementSystem",
"max_stars_repo_path": "Web/CompanyManagementSystem.Web/Views/Employees/Add.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165470"
} | starcoder | <reponame>xax4o/CompanyManagementSystem
@model CompanyManagementSystem.DataTransferModels.Employees.InputModels.EmployeeInputModel
@{
ViewBag.Title = "Add";
}
<h2>Add Employee</h2>
<div class="row">
@using (Html.BeginForm("Add", "Employees", FormMethod.Post, new { @class = "form-horizontal", role = "form" })... | 2.098633 | bca939520ff6b22417cec3ac852800a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846251 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hyperform2077/ContactsApp",
"max_stars_repo_path": "ContactsApp.UnitTests/ProjectTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165471"
} | starcoder | using ContactsApp;
using NUnit.Framework;
using System.Linq;
namespace СontactsAppUnitTests
{
[TestFixture]
public class ProjectTest
{
[Test(Description = "Позитивный тест добавления элемента в список")]
public void TestProjectListAdd_CorrectValue()
{
Contact contact = ... | 3.016325 | cb275d12d9dc7ffbff552a925e581086 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846252 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "nesrak1/xenko",
"max_stars_repo_path": "sources/engine/Xenko.Games.Testing/Requests/TapSimulationRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165472"
} | starcoder | <reponame>nesrak1/xenko<filename>sources/engine/Xenko.Games.Testing/Requests/TapSimulationRequest.cs
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
... | 1.325502 | bee41a59a0fff866bffa3598769b7690 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846253 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "matarillo/LanguageServerProtocol",
"max_stars_repo_path": "LanguageServer/Parameters/TextDocument/CompletionParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165473"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace LanguageServer.Parameters.TextDocument
{
/// <summary>
/// For <c>textDocument/completion</c>
/// </summary>
/// <seealso>Spec 3.3.0</seealso>
public class CompletionParams : TextDocumentPositionParams
{
/// <... | 2.092538 | 8342d7c8d4d7aa92d2136062617200a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fieldc/dialpad",
"max_stars_repo_path": "WpfSearcher/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165474"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Runtime.InteropServices;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.... | 1.829013 | 039aa656d8b5863c0a6dd76b263cf3a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jameak/DungeonDigger",
"max_stars_repo_path": "src/DungeonDigger.Generation/FindDoors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165475"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DungeonDigger.Generation
{
class FindDoors
{
private Tile[,] Map;
private Dictionary<int, HashSet<Tuple<int,int>>> RoomHashMap; //dictionary with integers to list rooms... | 3.286325 | 986adad5a82a3db02bf9369f0f90fdda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NetOfficeFw/Excel-XlLateBinding",
"max_stars_repo_path": "ReleaseTags/0.9/Source/LateBindingApi.Excel/Validation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165476"
} | starcoder | //Generated by LateBindingApi.CodeGenerator
using System;
using System.Reflection;
using System.ComponentModel;
using System.Runtime.InteropServices;
using LateBindingApi.Core;
namespace LateBindingApi.Excel
{
[SupportByLibrary("XL10","XL11","XL12","XL14","XL9")]
public class Validation : COMObject
{
#region Const... | 1.888213 | c3f5c86e689b8b7c03701d03b2dfced9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846257 | {
"extension": "c-sharp",
"max_stars_count": "129.0",
"max_stars_repo_name": "adam8797/SciChart.Wpf.UI",
"max_stars_repo_path": "SciChart.UI.Bootstrap/Utility/NumberUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165477"
} | starcoder | using System;
namespace SciChart.UI.Bootstrap.Utility
{
public class NumberUtil
{
public static int Constrain(int value, int min, int max)
{
return Math.Max(Math.Min(value, max), min);
}
}
}
| 2.659548 | e1528e7f90d73618c451974b399c192a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846258 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jugstalt/gview5",
"max_stars_repo_path": "gView.GraphicsEngine.Skia/Extensions/StringAlignmentExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165478"
} | starcoder | using SkiaSharp;
using System;
using System.Collections.Generic;
using System.Text;
namespace gView.GraphicsEngine.Skia.Extensions
{
static class StringAlignmentExtensions
{
static public SKTextAlign ToSkTextAlign(this StringAlignment align)
{
switch(align)
{
... | 2.783062 | ec6ba3e31866e07b0480ee5035b8e92e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luqizheng/Ornament.Core",
"max_stars_repo_path": "src/Uow/Ornament.Uow.EF.Test/Models/Class.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165479"
} | starcoder | using Microsoft.EntityFrameworkCore;
namespace Ornament.Uow.EF.Test.Models
{
public class MyContext : DbContext
{
public MyContext(DbContextOptions opts)
:base(opts)
{
}
public DbSet<Blog> Blogs { get; set; }
protected override void OnModelCrea... | 2.518081 | 6cb2194b66d936f71968312227934099 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846260 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "AsimKhan2019/ERP-Construction",
"max_stars_repo_path": "Accounting/Wilson.Accounting.Core/Entities/ValueObjects/ListOfPayments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165480"
} | starcoder | <gh_stars>10-100
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System;
namespace Wilson.Accounting.Core.Entities.ValueObjects
{
[JsonObject]
public class ListOfPayments : ValueObject<ListOfPayments>, IEnumerable<Payment>
{
[JsonProperty... | 2.91147 | acfc836f84398f059653eab697ae4f2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846261 | {
"extension": "c-sharp",
"max_stars_count": "97.0",
"max_stars_repo_name": "Shattered-Devs/xbox-live-unity-plugin",
"max_stars_repo_path": "CSharpSource/Source/api/Social/Manager/SocialUserGroupType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165481"
} | starcoder | <gh_stars>10-100
// Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Xbox.Services.Social.Manager
{
public enum SocialUserGroupType
{
Filter,
UserList,
}
} | 0.922378 | 32dd6c99b58c18203041cebb2bad6701 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baiuu/ACT.DFAssist",
"max_stars_repo_path": "MainControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165482"
} | starcoder | using Advanced_Combat_Tracker;
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.EnterpriseServices.Internal;
using System.IO;
using System.Linq;
using System.Media;
using System.Reflection;
using ... | 1.597559 | 337726b633ead409250b8a37e7bd2677 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846263 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dnnru/DNN_Platform_9.3.1.2",
"max_stars_repo_path": "DNN Platform/Library/Services/Installer/Blocker/IInstallBlocker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165483"
} | starcoder | #region Copyright
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
// All Rights Reserved
#endregion
namespace DotNetNuke.Services.Installer.Blocker
{
/// <summary>
/// This interface ...
/// </summary>
public interface IInstallBlocker
... | 1.386089 | 158884a9edc88c64253dad5a58b7b671 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jensendp/Lawn-Journal-Api",
"max_stars_repo_path": "LawnJournalApi/Dtos/Lawns/Lawn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165484"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using LawnJournalApi.Models;
namespace LawnJournalApi.Dtos.Lawns
{
public class Lawn
{
public string Id { get; }
[Required]
[StringLength(200)]
public string Name { get; }
[... | 2.742299 | 02df082f482f9027ea984fa39b050e92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846265 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "blukatstudios/ManafestArena",
"max_stars_repo_path": "Arena/ArenaSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165485"
} | starcoder | <filename>Arena/ArenaSettings.cs
/*
A record containing settings used for Arena gamemode.
*/
using System;
using System.Collections.Generic;
public class ArenaSettings {
public bool useKits, usePowerups;
public int duration; // Minutes
public int bots;
public List<int> botIds;
public List<ActorData> enemies;
p... | 2.766948 | fcbe1defa7a711094d8181f266d2589b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emilia98/SoftUni-CSharp-Web",
"max_stars_repo_path": "ASP.NET Core/02. Razor Views/RazorViews/DemoApp/Services/StringManipulation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165486"
} | starcoder | namespace DemoApp.Services
{
public class StringManipulation : IStringManipulation
{
public string MakeFirstLetterUpper(string input)
{
if(input == null)
{
return null;
}
if(input?.Length == 1)
{
return... | 3.333833 | 4407aa6a944c5cee3782c6e96bea5aa8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846267 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "Alan-FGR/SharpPhysX",
"max_stars_repo_path": "SharpPhysX/Generated/PxRigidBodyExt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165487"
} | starcoder | <gh_stars>10-100
// Generated by minBND 5.1.94.90 - © github.com/Alan-FGR
using System;
using System.Runtime.InteropServices;
using static minBND_pinvokes;
public static unsafe partial class physx {
public static unsafe partial class PxRigidBodyExt {
public static bool updateMassAndInertia(physx.PxRigidB... | 1.439871 | 79b3f2960b61b32bc9435116ab109016 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "francescodt/401DSA",
"max_stars_repo_path": "DataStructures/HashingTables/HashTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165488"
} | starcoder | <reponame>francescodt/401DSA
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace DataStructures.HashingTables
{
public class HashTable
{
public Node[] Buckets { get; set; }
public int BucketCount { get; set; }
public HashTable(int bu... | 3.426285 | 2911d0ea04aa143275a364d996c49a42 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846269 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Yuki2718/FilterLists",
"max_stars_repo_path": "server/src/FilterLists.Services/Software/Models/SoftwareDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165489"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using JetBrains.Annotations;
namespace FilterLists.Services.Software.Models
{
[UsedImplicitly]
public class SoftwareDto
{
public int Id { get; set; }
public string HomeUrl { get; set; }
public bool IsAbpSubscribable { get; set; }
... | 1.561761 | 72b3ab72f2c2493997a41827793d295f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846270 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "HtmlUnit/NHtmlUnit",
"max_stars_repo_path": "app/NHtmlUnit/Generated/Html/HtmlBlockQuote.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165490"
} | starcoder | // Generated class v2.50.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Html
{
public partial class HtmlBlockQuote : NHtmlUnit.Html.HtmlElement, NHtmlUnit.W3C.Dom.INode, NHtmlUnit.W3C.Dom.IE... | 1.881329 | 22e1457d98fed36fc453115475b6cdba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vostok/vstk.airlock.client",
"max_stars_repo_path": "Vostok.Airlock.Client/IAirlockSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165491"
} | starcoder | namespace Vostok.Airlock
{
public interface IAirlockSerializer<in T>
{
void Serialize(T item, IAirlockSink sink);
}
}
| 1.716286 | 4eb05951761f7cf40c1f1598c3512860 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JialinXin/wps-function-poc",
"max_stars_repo_path": "src/Microsoft.Azure.WebPubSub.AspNetCore/tests/Samples/WebPubSubSample.HelloWorld.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165492"
} | starcoder | using Microsoft.AspNetCore.Builder;
namespace Microsoft.Azure.WebPubSub.AspNetCore.Tests.Samples
{
class WebPubSubSample
{
public void Configure(IApplicationBuilder app)
{
app.UseEndpoints(endpoint =>
{
endpoint.MapWebPubSubHub<SampleHub>("/eventhander")... | 1.658306 | 00786bb5e7b591d3ec763b7fcc8c4553 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846273 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "S00156670/TheForeverCave",
"max_stars_repo_path": "Assets/Scripts/shurikenProjectile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165493"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class shurikenProjectile : MonoBehaviour {
public Vector3 Direction { get; set; }
public float Range { get; set; }
public int Damage { get; set; }
Vector3 spawnPosition;
private void Start()
... | 2.193104 | f49c15b45a3eb5823375b8ab6982153a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Krucial-kb/E_Valuate",
"max_stars_repo_path": "EvaluateService/DataAccess/DataModels/FriendData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165622"
} | starcoder | using System;
using System.Collections.Generic;
namespace E_ValuateDataAccess.DataModels
{
public partial class FriendData
{
public FriendData()
{
FriendsDetails = new HashSet<FriendsDetails>();
}
public int FriendId { get; set; }
public int FriendInfo { ge... | 1.76537 | dc1f103db4749c0feb0f44a9ad35bb25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gmonos/codeforfun",
"max_stars_repo_path": "FromPastYear/PM/Foundation/Zags.Logging.Middleware/PerformanceLogging.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165623"
} | starcoder | <reponame>gmonos/codeforfun<filename>FromPastYear/PM/Foundation/Zags.Logging.Middleware/PerformanceLogging.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Owin;
namespace Zags.Logging.Middleware
{
using System.Diagnostics;
public class PerformanceLogging: OwinMiddleware
... | 2.296672 | 2f12a45b90c64bb6076f9384b9dab62b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarnas14/TarnasPomodoroTimer",
"max_stars_repo_path": "ConsoleApp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165624"
} | starcoder | <filename>ConsoleApp/Program.cs
namespace ConsoleApp
{
using System.Linq;
using Notifications;
using Pomodoro;
using Pomodoro.Timer;
using Tarnas.ConsoleUi;
using Console = System.Console;
class Program
{
private static TrayBubble _trayNotification;
private const int Va... | 2.810644 | 3387d8ee06e82d7d73bfa853036f808e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846405 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "epri-dev/OpenADR-Virtual-End-Node",
"max_stars_repo_path": "oadr2b-ven/AboutBox1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165625"
} | starcoder | namespace oadr2b_ven
{
partial class AboutBox1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
protecte... | 2.064597 | a0557f44928f3b1c5a4fbbbe19762b97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846406 | {
"extension": "c-sharp",
"max_stars_count": "2227.0",
"max_stars_repo_name": "johnbilliris/Azure-Sentinel",
"max_stars_repo_path": "DataConnectors/JSON-Import/dotnet_loganalytics_json_import/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165626"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Newtonsoft.Json;
using System;
using System.IO;
namespace UploadToLogAnalytics
{
class Program
{
static void Main(string[] args)
{
if (args.Length != 4)
{
Console.WriteLine(... | 2.760147 | 1f65605bda22478ba24f964d13048904 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ctthang/kombit-service-net",
"max_stars_repo_path": "Kombit.Samples.Consumer/CustomTextMessageBindingElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165627"
} | starcoder | <reponame>ctthang/kombit-service-net
using System;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using System.Text;
namespace Kombit.Samples.Consumer
{
/// <summary>
/// A custom MessageBindingElement that wraps the TextMessageEncodingBindingElement and provides an extensible ... | 2.014977 | d867d7cbd4a08814542ece9d17eda387 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vlaluch/ParticipantsCounterBot",
"max_stars_repo_path": "ParticipantsCounter.App/ApplicationSettingsManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165628"
} | starcoder | using Microsoft.Extensions.Configuration;
using System.IO;
namespace ParticipantsCounter.App.Infrastructure
{
public static class ApplicationSettingsManager
{
private static IConfiguration _configuration;
public static IConfiguration Configuration
{
get
{
... | 2.304816 | 9320eaf813bff1a49d96f5e4a34667e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MaxIsJoe/stationhub",
"max_stars_repo_path": "UnitystationLauncher/Models/PullRequestWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165629"
} | starcoder | <filename>UnitystationLauncher/Models/PullRequestWrapper.cs
using Octokit;
using ReactiveUI;
using System.Diagnostics;
namespace UnitystationLauncher.Models
{
public class PullRequestWrapper : PullRequest
{
public PullRequestWrapper(PullRequest pr)
{
Title = pr.Title;
Me... | 2.485175 | 874edafaa976f223d28292a463e8b4d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846410 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "bshishov/aimacode",
"max_stars_repo_path": "Aima/Search/Methods/HillClimbing/SteepestAscentHillClimbingStrategy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165630"
} | starcoder | <filename>Aima/Search/Methods/HillClimbing/SteepestAscentHillClimbingStrategy.cs
using System;
using Aima.Search.NodeExpanders;
using Aima.Utilities;
namespace Aima.Search.Methods.HillClimbing
{
/// <summary>
/// Just takes a successor with minimal heuristic value
/// </summary>
/// <typeparam name... | 3.153388 | 3a23b8de35c6bc110f1b3d48adbd5fe9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javierdpt/csharp-helpers",
"max_stars_repo_path": "src/ServiceFabric.Hangfire/Attributes/CustomDisplayJobNameAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165631"
} | starcoder | using Hangfire;
using Hangfire.Common;
using Hangfire.Dashboard;
using System;
using System.Linq;
namespace HangfireService.Infrastructure.Attributes
{
[AttributeUsage(AttributeTargets.Method)]
public class CustomDisplayJobNameAttribute : JobDisplayNameAttribute
{
private readonly string[] _replac... | 2.560735 | a8ed6079ad2b2c69721e58750500ffce |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.