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 | 66333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LxzLLL/Smart",
"max_stars_repo_path": "Smart/Smart.Utils/Json/AjaxResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66334"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Script.Serialization;
namespace Smart.Core.Utils
{
/// <summary>
/// 前台Ajax请求的统一返回结果类
/// </summary>
public class AjaxResult
{
private AjaxResult()
{
}
... | 2.381684 | 52a12a67f078bacd0bb7e27a4615adaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HectorEDR/C-Sharp",
"max_stars_repo_path": "Ejercicios/13-Animales-POO/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66335"
} | starcoder | <gh_stars>0
using System;
namespace _13_Animles_POO
{
class Program
{
static void Main(string[] args)
{
Perro p = new Perro();
Console.WriteLine("|Perro|");
Console.WriteLine("-------");
p.Nombre = "Enzo";
p.CuantasPatas = 4;
... | 2.605508 | 0432079425cc8d752d6d37a57c80bc3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "muwaqar/azure-powershell",
"max_stars_repo_path": "src/ResourceManager/Compute/Stack/Commands.Compute/Generated/ComputeManagementClientExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66336"
} | starcoder | <reponame>muwaqar/azure-powershell
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.14.0.0
// Changes may cause incorrect behavior and will... | 0.583606 | 4feda7d6dee316db75551377f2d8eba9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66336 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "zpqrtbnk/NuGetTools",
"max_stars_repo_path": "src/Knapcode.NuGetTools.Logic/Models/Framework/FrameworkCompatibilityInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66337"
} | starcoder | <reponame>zpqrtbnk/NuGetTools
namespace Knapcode.NuGetTools.Logic.Models.Framework
{
public class FrameworkCompatibilityInput
{
public string Project { get; set; }
public string Package { get; set; }
}
} | 1.041693 | 70b127768a1f798fc57310e454abe0fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexandrKlimkin/StickmanWars",
"max_stars_repo_path": "Assets/Scripts/Game/Character/PuppetMaster/InverseKinematics/IKMuscle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66338"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using Assets.Scripts.Tools;
using UnityEngine;
public class IKMuscle : MonoBehaviour
{
public Transform Target;
[Range(0,1f)]
public float Weight;
public bool Enabled;
private Rigidbody2D _Rigidbody;
private void Awake()
{
... | 2.190765 | 155c0dc3556128c01ee9ad06199f96b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "astorch/motoi",
"max_stars_repo_path": "src/libs/motoi.extensions/ConfigurationElementImpl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66339"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
namespace motoi.extensions {
/// <summary> Provides an implementation of <see cref="IConfigurationElement"/>. </summary>
class ConfigurationElementImpl : IConfigurationElement {
/// <summary> Backing variable for the id value map. ... | 2.727672 | f8976ec46e6d93382a240da007a2c158 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66339 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jingliang2005/helix-toolkit",
"max_stars_repo_path": "Source/HelixToolkit.Wpf/Exporters/KerkytheaExporter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66340"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="KerkytheaExporter.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// <summary>
// Exports the 3D visual tree to a <a href="h... | 2.302873 | d35976383080daf7124dc69e1b0e8289 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66340 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "MaximPopov/serilog-sinks-grafana-loki",
"max_stars_repo_path": "test/Serilog.Sinks.Grafana.Loki.Tests/TestHelpers/Backoff/CappedBackoff.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66341"
} | starcoder | using System;
namespace Serilog.Sinks.Grafana.Loki.Tests.TestHelpers.Backoff
{
internal class CappedBackoff : IBackoff
{
private readonly TimeSpan _currentInterval;
public CappedBackoff(TimeSpan currentInterval)
{
_currentInterval = currentInterval;
}
... | 2.346081 | d9f69e53e7c94bc970a2a7070536cdb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66341 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "hveiras/multitenant-saas-guidance",
"max_stars_repo_path": "src/Tailspin.Surveys.Configuration.KeyVault/KeyVaultConfigurationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66342"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Security.Cryptography.X509Certificates;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Tailspin.Survey... | 1.90335 | db4a2b1035136e5a4d83252a3f376d51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trashmoldwilliams/travel-blog",
"max_stars_repo_path": "src/travel-blog/Views/Experiences/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66343"
} | starcoder | @model IEnumerable<TravelBlog.Models.Experience>
@{
ViewData["Title"] = "To Do List";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Experiences</h2>
<h4>@Html.DisplayNameFor(model => model.Description)</h4>
<ul>
@foreach (var listItem in Model)
{
<li>@Html.DisplayFor(modelItem => listItem.Descripti... | 2.658167 | 1828463ebb3f13d03a050348130838e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66343 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WuWeiSage/Softuni-Contest-Problems",
"max_stars_repo_path": "C#/OOP/08.Generics-Exercises/ImplementStack/CustomStack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66344"
} | starcoder | <filename>C#/OOP/08.Generics-Exercises/ImplementStack/CustomStack.cs
using System;
namespace ImplementCustomStack
{
public class CustomStack<T>
{
private const int INITIAL_CAPACITY = 4;
private T[] items;
private int count;
public int Count { get => this.count; }
publi... | 3.784987 | bb235febfccb0a0edb9ec968a7cfc6d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chertby/Course-M-ND2-33-19",
"max_stars_repo_path": "Skuratovich/src/Lab3/Htp.Books/Htp.Books.Data.EntityFramework/EntityConfigurations/GenreEntityConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66345"
} | starcoder | <reponame>chertby/Course-M-ND2-33-19<filename>Skuratovich/src/Lab3/Htp.Books/Htp.Books.Data.EntityFramework/EntityConfigurations/GenreEntityConfiguration.cs<gh_stars>0
using Htp.Books.Data.Contracts.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Htp.Boo... | 2.577304 | 824d014301e98712a4efd66cf6743d15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexandrnikitin/MakingIntParseFaster.NET",
"max_stars_repo_path": "MakingIntParseFaster/V2/FasterInt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66346"
} | starcoder | <filename>MakingIntParseFaster/V2/FasterInt.cs<gh_stars>0
using System;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.CompilerServices;
namespace MakingIntParseFaster.V2
{
public static class FasterInt
{
public static int Parse(string str)
{
return Pars... | 3.20741 | e75cd9c5c0a14badbbce25f14d695db8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nostek/UnityCodebase",
"max_stars_repo_path": "Scripts/Log.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66347"
} | starcoder | using System;
using System.Text;
using System.Diagnostics;
using System.Runtime.CompilerServices;
public static class Log
{
[Conditional("UNITY_EDITOR"), Conditional("DEVELOPMENT_BUILD")]
public static void D(params object[] vars)
{
StringBuilder sb = new StringBuilder();
for (int i = 0; i < vars.Length; i++)... | 2.382468 | baa3b8fb533e59ac0034c098f6ee7d00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66347 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "4SELLERS/amazon-pay-api-sdk-dotnet",
"max_stars_repo_path": "Amazon.Pay.API.SDK/WebStore/Types/AddressRestrictions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66348"
} | starcoder | <filename>Amazon.Pay.API.SDK/WebStore/Types/AddressRestrictions.cs
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Collections.Generic;
namespace Amazon.Pay.API.WebStore.Types
{
// TODO: replace property Type with a boolean property "IsAllowed"
/// <summary>
/// Country-based addr... | 2.73385 | ee5eedf0d0f6c7ce8e9a6503a3fd4378 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dfkeenan/SmootAs.Silk.NET",
"max_stars_repo_path": "Source/Vulkan/SmoothAs.Silk.NET.Vulkan/GlobalUsings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66349"
} | starcoder | global using Silk.NET.Vulkan;
global using static SmoothAs.Silk.NET.Vulkan.InvalidVulkanApiResultException; | 0.923433 | ea818b4b07c19f406441c5bad1022048 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CyberSys/coreclr-mono",
"max_stars_repo_path": "tests/src/CoreMangLib/cti/system/char/chartoupper1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66350"
} | starcoder | using System;
using TestLibrary;
/// <summary>
/// Char.ToUpper(char)
/// Converts the value of a Unicode character to its uppercase equivalent.
/// </summary>
public class CharToUpper
{
public static int Main()
{
CharToUpper testObj = new CharToUpper();
TestLibrary.TestFramework.BeginTestC... | 3.259382 | c4fa74c39fd3f8373818d4e026ffdffa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66350 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "vmtvv/FlexiMvvm",
"max_stars_repo_path": "FlexiMvvm.Lifecycle/Shared/ViewModels/ResultCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66351"
} | starcoder | // =========================================================================
// Copyright 2019 EPAM Systems, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.... | 2.557309 | e579c3ff7fc8377ceda72c518c915d5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66351 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Lombiq/Open-Source-Orchard-Extensions",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/WebSearch/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66352"
} | starcoder | <gh_stars>1-10
@model Orchard.MediaLibrary.ViewModels.ImportMediaViewModel
@using System.Text
@using Orchard.ContentManagement
@using Orchard.MediaLibrary.Models
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3... | 2.066606 | cb569efea0fa66082df69612d8434bd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66352 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "czajowaty/ad_damage_calculator",
"max_stars_repo_path": "AzureDreamsDamageCalculator/MonsterControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66353"
} | starcoder | <reponame>czajowaty/ad_damage_calculator
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace AzureDreamsDamageCalculator
{
public partial class MonsterControl : UserControl
{
static readonly byte[] DAMAGE_ROLLS = { 0, 1, 2 };
static reado... | 2.277958 | 11338d971aba40f36f2bdeb92e514509 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geasi/pipedrive-dotnet",
"max_stars_repo_path": "src/Pipedrive.net/Models/Request/PersonUpdate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66354"
} | starcoder | <filename>src/Pipedrive.net/Models/Request/PersonUpdate.cs<gh_stars>0
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Pipedrive
{
public class PersonUpdate
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("owner_id")]
public long? Owne... | 1.964108 | d3adb2bab2b4e0bf82d84e84ebdf1736 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aKzenT/analyzers",
"max_stars_repo_path": "AkzenteIT.Analyzers/AkzenteIT.Analyzers/TaskNotUsedAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66355"
} | starcoder | <gh_stars>0
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace AkzenteIT.Analyzers
{
/// <summary>
/// Creates a warning when a metho... | 2.317605 | e2bc2839fc182f7560dd66272e83112e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66355 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "johnduhart/MineAPI",
"max_stars_repo_path": "MineAPI.Network/Crypto/AsnKeyParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66356"
} | starcoder | // Copyright (c) 2011-2013 <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,... | 2.25001 | 7959904ecb50e584e6e4020225ea2abc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GladLive/GladLive.Payload",
"max_stars_repo_path": "src/GladLive.Payload.Common/Enums/Payload/Hello/HelloResponseCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66357"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace GladLive.Payload.Common
{
/// <summary>
/// Indicates the status of the <see cref="GladLivePayloadMessageType.HelloResponse"/>.
/// </summary>
public enum HelloResponseCode : int
{
/// <summary>
/// Represents an unknown... | 2.121361 | c0eaee859d443669443a4ec54dc13a53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66357 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joshuajones02/TMDb",
"max_stars_repo_path": "TMDb.Client/API/V3/Models/TVEpisodes/TVEpisodesExternalIdsResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66358"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
namespace TMDb.Client.Api.V3.Models.TVEpisodes
{
public class TVEpisodesExternalIdsResponse : TMDbResponse
{
[JsonProperty("id")]
public virtual int? TMDbId { get; set; }
/// <summary>
/// TVDB ID
/// </summary>
[JsonProper... | 1.517302 | af03376a463293a74b9352b68811efac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abayaz61/NCache",
"max_stars_repo_path": "Src/NCCommon/Logger/NCacheLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66359"
} | starcoder | <reponame>abayaz61/NCache
// Copyright (c) 2018 Alachisoft
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 1.863134 | d92528b735ca3926cde7083ba588c663 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asiryan/UMapx.Video.Windows",
"max_stars_repo_path": "sources/Video/AsyncVideoSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66360"
} | starcoder | <filename>sources/Video/AsyncVideoSource.cs
namespace UMapx.Video
{
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading;
/// <summary>
/// Proxy video source for asynchronous processing of another nested video source.
/// </summary>
///
/// <remarks><para>The cl... | 3.055428 | 9c56da9d29df16403ad2f83b6f8d582f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MobiliyaTechnologies/AMSRESTServer",
"max_stars_repo_path": "AssetMonitoring/AssetMonitoring.API/App_Start/OpenIdConnectCachingSecurityTokenProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66361"
} | starcoder | <reponame>MobiliyaTechnologies/AMSRESTServer
namespace AssetMonitoring.API
{
using System.Collections.Generic;
using System.IdentityModel.Tokens;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.IdentityModel.Protocols;
// This class is necessary because the OAuthBearer Mi... | 2.283389 | 2cd052981d7ba6a7b6b97a1c864a82d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jrDev1/UAlive",
"max_stars_repo_path": "Humility/Generation/Generators/AttributeGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66362"
} | starcoder | using System;
using System.Collections.Generic;
namespace Lasm.UAlive
{
/// <summary>
/// A generator that retains data for creating an attribute as a string.
/// </summary>
public sealed class AttributeGenerator : ConstructGenerator
{
public Type type;
public List<object> paramete... | 3.235495 | aca65efc040424507014ee86c8bcfbb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66362 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "digitalParkour/SitecoreSYM-AzureB2C",
"max_stars_repo_path": "src/Foundation/Settings/website/Services/IRsaSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66363"
} | starcoder | namespace SYMB2C.Foundation.Settings.Services
{
public interface IRsaSettings
{
int GetKeySize();
string GetKeyValue();
}
} | 1.509343 | 78e85e646768165208f0ddf612784f68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SillyLossy/tanks",
"max_stars_repo_path": "Tanks/Game.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66364"
} | starcoder | <filename>Tanks/Game.cs
using System;
using System.Collections.Generic;
using System.Drawing;
namespace Tanks
{
public class Game
{
public Level CurrentLevel { get; set; }
public Random Random { get; }
private RectangleF BoundingRectangle { get; }
public Game(i... | 3.016291 | c23d3dc9d2c1eb8fd41d8356c89835f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Elpulgo/microservice_example_v2",
"max_stars_repo_path": "Shared/Shared.Core/Models/EventDataMeta.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66365"
} | starcoder | <filename>Shared/Shared.Core/Models/EventDataMeta.cs
using System;
using Shared.Core.Constants;
namespace Shared.Core.Models
{
public class EventDataMeta : IEventDataMeta
{
public EventTypeOperation EventTypeOperation { get; set; }
public string EventName { get; set; }
public DateTime T... | 2.701507 | 02fbeb27361c647179b9bce960910e59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66365 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "julielerman/ProgrammingEntityFrameworkBook",
"max_stars_repo_path": "Programming EF 2nd Edition/2e Chapter 26 Layered WPF/BreakAwayPOCOEntities/Payment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66366"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------... | 2.066529 | a05034a094c6e5dd6db0c7e20905d5bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Osama-Tahboub1/N3O.Umbraco",
"max_stars_repo_path": "src/N3O.Umbraco.Extensions/Hosting/ActionLinkGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66367"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using System;
using System.Linq.Expressions;
using Umbraco.Cms.Core;
namespace N3O.Umbraco.Hosting {
public class ActionLinkGenerator : IActionLinkGenerator {
private readonly IHttpContextAccessor _httpContextAccessor;
private rea... | 2.290437 | d75111af69dbb74b8c8997f44b449b5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Abelark/Project-3---Rocket-Punch",
"max_stars_repo_path": "Assets/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain Engine/Runtime/Scripts/Core/GRuntimeSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66368"
} | starcoder | <reponame>Abelark/Project-3---Rocket-Punch
#if GRIFFIN
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
namespace Pinwheel.Griffin
{
//[CreateAssetMenu(menuName = "Griffin/Runtime Settings")]
public partial class GRuntimeSettings : ScriptableObject
... | 1.504713 | f3befb101eebd25ece483728e4c9868a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mu88/Bose_SoundTouch_Extension",
"max_stars_repo_path": "BusinessLogic/DTO/ContentItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66369"
} | starcoder | using System.Xml.Serialization;
namespace BusinessLogic.DTO
{
[XmlRoot("ContentItem")]
public class ContentItem
{
[XmlAttribute("source")]
public string Source { get; set; }
[XmlAttribute("type")]
public string Type { get; set; }
[XmlAttribute("location")]
... | 1.89211 | aacef08c3fb86dd850174d9ac3830a27 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GMihalkow/CSharp",
"max_stars_repo_path": "CSharp Web 2018/Csharp MVC Frameworks - ASP.NET Core/Exercise Introduction To ASP.NET CORE/PandaToAsp/PandaToAsp/obj/Debug/netcoreapp2.1/Razor/Areas/Identity/Pages/Account/Register.g.cshtml.cs"... | starcoder | <reponame>GMihalkow/CSharp
#pragma checksum "C:\Users\Georgi-PC\Documents\Visual Studio 2017\Projects\PandaToAsp\PandaToAsp\Areas\Identity\Pages\Account\Register.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4e6ef4521e8e3eb93ab4474cac9a378c4ac9b835"
// <auto-generated/>
#pragma warning disable 1591
[assembly: globa... | 1.467991 | 84b8f8ee01c61270c061b74a35ebc2d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66370 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "King-diablo/Data-persistence-Project",
"max_stars_repo_path": "Assets/Evereal/VideoCapture/Scripts/Internal/Interfaces/IRecorder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66371"
} | starcoder | /* Copyright (c) 2019-present Evereal. All rights reserved. */
namespace Evereal.VideoCapture
{
public interface IRecorder
{
// If record started
bool RecordStarted();
// Start record
bool StartRecord();
// Stop record
bool StopRecord();
// Cancel record
bool CancelRecord();
... | 1.656825 | 5e46cbe6d2d38fdb26d02d6980e506e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66371 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "niello/deusexmachina",
"max_stars_repo_path": "Tools/DialogEditor/DialogLogic/DialogCharacterPropertyDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66372"
} | starcoder | using System;
using System.ComponentModel;
namespace DialogLogic
{
public class DialogCharacterPropertyDescriptor:PropertyDescriptor
{
private readonly Type _propertyType;
internal event EventHandler<IsReadOnlyRequestEArgs> IsReadOnlyRequest;
public object DefaultValue { get; private ... | 2.701901 | f9534decf462b023fca99a2fefe20c1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66372 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hevaldez07/aws-tools-for-powershell",
"max_stars_repo_path": "modules/AWSPowerShell/Cmdlets/MQ/Basic/Update-MQBroker-Cmdlet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66373"
} | starcoder | /*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License... | 1.58746 | 93545fc4e07589f48a232cc7a3f6387d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "namtazpro/heracles-ai",
"max_stars_repo_path": "chania/Views/Geryon/RedRoute.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66374"
} | starcoder | <filename>chania/Views/Geryon/RedRoute.cshtml<gh_stars>0
@{
ViewData["Title"] = "Geryon - Red";
}
<h1>You are following the Red Route</h1>
<p>Your challenge is to display the victory screen. Pick your next step</p>
<p>@Html.ActionLink("Red Step A", "redstepa", null, null, new { @class = "btn btn-primary", Id="c... | 2.334548 | a76a022b7d3576ca7e1a9ecc3b5dbd3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66374 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OniqLoshiq/OfficeManagerMini",
"max_stars_repo_path": "OfficeManagerMini/04_Tests/OMM.Tests/Services/ActivitiesServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66375"
} | starcoder | using Microsoft.EntityFrameworkCore;
using OMM.Data;
using OMM.Domain;
using OMM.Services.AutoMapper;
using OMM.Services.Data;
using OMM.Services.Data.Common;
using OMM.Services.Data.DTOs.Activities;
using OMM.Tests.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sys... | 2.399784 | 4a5a145cca564103c988311c41a12afb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66375 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "smallsfx/gvmetting",
"max_stars_repo_path": "GVMetting.WPFClient/SettingViews/NavigationView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66376"
} | starcoder | using System.Windows.Controls;
namespace GVMetting.WPFClient.SettingViews
{
public partial class NavigationView : UserControl
{
public NavigationView()
{
InitializeComponent();
}
}
}
| 1.151853 | 83800367c0c940396325d16fa195586b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matias-moll/Carma",
"max_stars_repo_path": "Prg/Ad/CargaCliente.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66377"
} | starcoder | using System;
namespace Carm.Ad
{
partial class CargaCliente
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.625396 | f8cd54885cf3df4a76163e27158e3424 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "loxer/GT2roguelike",
"max_stars_repo_path": "Assets/Scripts/Gameplay(not Dungeon)/BossBattle/JumpBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66378"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JumpBehaviour : StateMachineBehaviour
{
//https://www.youtube.com/watch?v=cXefXSD2SM0
public float timer;
public float minTime;
public float maxTime;
public float speed;
private Transform playerPos;
... | 2.574759 | 2e8ce514d03e81711afe48ac445e52e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Darkfaker/tencentcloud-sdk-dotnet",
"max_stars_repo_path": "TencentCloud/Nlp/V20190408/NlpClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66379"
} | starcoder | /*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 2.202936 | 0b999cf72692b4af952aaf88fe6246f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66379 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ashikns/AOTSerializer",
"max_stars_repo_path": "src/AOTSerializer.Json/Formatters/DictionaryFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66380"
} | starcoder | <gh_stars>1-10
using AOTSerializer.Common;
using AOTSerializer.Internal;
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace AOTSerializer.Json.Formatters
{
// unfortunately, can't use IDictionary<KVP> becau... | 2.435999 | 990e4cb33f3db6e2690110eccf1a03bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66380 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "JawadJaber/AzureTableDataStore",
"max_stars_repo_path": "src/AzureTableDataStore/AzureStorageQuerySelectTranslator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66381"
} | starcoder | <reponame>JawadJaber/AzureTableDataStore<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using Microsoft.Azure.Cosmos.Table;
namespace AzureTableDataStore
{
/// <summary>
/// Converts the <c>entity => new { entity.Prop1, entity.Prop2 ... }</c> expressions into a li... | 2.599201 | dfbc81e6d3b020befc85e6ee52982cc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66381 | {
"extension": "c-sharp",
"max_stars_count": "45.0",
"max_stars_repo_name": "rofl-er/MobiFlight-Connector",
"max_stars_repo_path": "MobiFlightUnitTests/MobiFlight/Config/ConfigTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66382"
} | starcoder | <gh_stars>10-100
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MobiFlight.Config.Tests
{
[TestClass()]
public class ConfigTests
{
[TestMethod()]
public void i... | 2.318617 | 6b7e9b267b97d899b4d16201d0f74418 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66382 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "hafslundnett/hn-akka-persistence-bigtable",
"max_stars_repo_path": "test/Hafslund.Akka.Persistence.Bigtable.PerformanceTests/Journal/BigtableJournalWritePerfSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66383"
} | starcoder | <filename>test/Hafslund.Akka.Persistence.Bigtable.PerformanceTests/Journal/BigtableJournalWritePerfSpec.cs
using System.Linq;
using NBench;
namespace Hafslund.Akka.Persistence.Bigtable.PerformanceTests.Journal
{
public class BigtableJournalWritePerfSpec : BigTableJournalPerfSpecs
{
public const string ... | 2.074113 | a8847ef6b623803f33ad5147f7019eca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66383 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/CustomerPaymentMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66384"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.983775 | 8e8c691f3cf36ac1cb6d40e701ebbfc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66384 | {
"extension": "c-sharp",
"max_stars_count": "275.0",
"max_stars_repo_name": "geffzhang/CsvReader",
"max_stars_repo_path": "code/LumenWorks.Framework.IO/Csv/CsvPropertyDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66385"
} | starcoder | <filename>code/LumenWorks.Framework.IO/Csv/CsvPropertyDescriptor.cs
using System;
using System.ComponentModel;
namespace LumenWorks.Framework.IO.Csv
{
#if !NETSTANDARD1_3
/// <summary>
/// Represents a CSV field property descriptor.
/// </summary>
public class CsvPropertyDescriptor : PropertyDescriptor... | 2.530457 | d90e5440ea301213a75112ace95fd7a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66385 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "idea-statica/iom",
"max_stars_repo_path": "IdeaRS.OpenModel/Loading/CombiInputSIA.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66386"
} | starcoder | <reponame>idea-statica/iom
namespace IdeaRS.OpenModel.Loading
{
/// <summary>
/// Combination according to SIA in the model
/// </summary>
[OpenModelClass("CI.StructModel.Loading.CombiInputEC,CI.Loading", "CI.StructModel.Loading.ICombiInput,CI.BasicTypes", typeof(CombiInput))]
public class CombiInputSIA : CombiIn... | 2.192038 | d91feb731eed23288db1b4637d03b758 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robinmanuelthiel/SnapGoldDemo",
"max_stars_repo_path": "PhotoSharingApp/PhotoSharingApp.Frontend.Forms.Droid/Services/EnvironmentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66387"
} | starcoder | <gh_stars>0
using System;
using Android.OS;
using PhotoSharingApp.Forms.Abstractions;
using PhotoSharingApp.Forms.Droid.Services;
[assembly: Xamarin.Forms.Dependency(typeof(EnvironmentService))]
namespace PhotoSharingApp.Forms.Droid.Services
{
public class EnvironmentService : IEnvironmentService
{
pu... | 1.466376 | 78540fd0e5309f9b90559757a97192ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66387 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xuyiazl/XUCore.Template",
"max_stars_repo_path": "XUCore.Template.WeChat/Content/XUCore.Template.WeChat/XUCore.Template.WeChat.DbService/Article/Tag/Dtos/TagSimpleDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66388"
} | starcoder | using XUCore.Template.WeChat.Core;
using XUCore.Template.WeChat.Persistence.Entities;
using XUCore.Template.WeChat.Persistence.Enums;
namespace XUCore.Template.WeChat.DbService.Article
{
/// <summary>
/// 标签
/// </summary>
public class TagSimpleDto : DtoKeyBase<TagEntity>
{
/// <summary>
... | 1.576849 | 2d7a7bd15ab47504fc3061ae158188a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66388 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "george7378/chunked-terrain",
"max_stars_repo_path": "ChunkedTerrainCore/Utility/NoiseProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66389"
} | starcoder | <reponame>george7378/chunked-terrain<gh_stars>1-10
using System;
namespace ChunkedTerrainCore.Utility
{
public class NoiseProvider
{
#region Properties
public int Seed { get; set; }
public int NumberOfOctaves { get; set; }
public float Persistence { get; set; }
publ... | 2.935522 | 634cad01a44d0938c7415eadb8a5e441 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66389 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ap0llo/mddocs",
"max_stars_repo_path": "src/MdDocs.ApiReference/Model/MethodOverloadDocumentation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66390"
} | starcoder | <filename>src/MdDocs.ApiReference/Model/MethodOverloadDocumentation.cs
using System;
using Grynwald.MdDocs.ApiReference.Model.XmlDocs;
using Mono.Cecil;
namespace Grynwald.MdDocs.ApiReference.Model
{
/// <summary>
/// Documentation model of a method overload.
/// </summary>
public sealed class MethodO... | 2.606269 | 4ecd3bb5013d8def30c731c40c41b72e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66390 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "RocketSurgeonsGuild/Nuke",
"max_stars_repo_path": "src/Nuke/Readme/Sections.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66391"
} | starcoder | <gh_stars>1-10
using System.Collections.ObjectModel;
namespace Rocket.Surgery.Nuke.Readme;
/// <summary>
/// A general sections container, used to replace sections in the markdown
/// </summary>
[PublicAPI]
public class Sections
{
private readonly IDictionary<string, IReadmeSection> _sections =
new Di... | 2.547289 | 134cab59b0aa7058bbf3fbcef7bbfcb5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66391 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "fossabot/ITC-Softskills",
"max_stars_repo_path": "ITC-Softskills_1/Assets/SmartLocalization/Scripts/Editor/EditorWindows/ListControls/CreateLanguageListAdaptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66392"
} | starcoder | namespace SmartLocalization.Editor
{
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using SmartLocalization.ReorderableList;
internal class CreateLanguageListAdaptor : GenericListAdaptor<SmartCultureInfo>
{
public CreateLanguageListAdaptor(List<SmartCultureInfo> list, ReorderableLi... | 2.154458 | 8facf7ebf06290e648479b09db357728 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lost-home/CiGA2020",
"max_stars_repo_path": "Assets/Scripts/Character/Gear/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66393"
} | starcoder | using Characters.Movements;
using UnityEngine;
namespace Characters {
public class Item : Gear {
public override Type type => Type.Item;
[SerializeField]
private Movement _dropMovement;
public Movement dropMovement => _dropMovement;
private void OnDestroy () {
}
protected override vo... | 2.209497 | ea6cfe8f71ded4634bcfcf218d84a5be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Taewii/softuni-software-engineering",
"max_stars_repo_path": "Exams/ProgFundExtExamApril15th/p03_FirstAlbum/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66394"
} | starcoder | <reponame>Taewii/softuni-software-engineering
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
class p03_FirstAlbum
{
static void Main()
{
string lyricsPattern = @"""([A-Za-z ]+)""";
string namePattern = @"\[([^- ][A-Za-z -]+[^- ])\]";
string timePa... | 3.283446 | bbd6fdbe9fe597b58f8afa23ac36ccb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HyeongminKim/PracticeCalc",
"max_stars_repo_path": "PracticeCalc/Assets/Scripts/Practice/TitleController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66395"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
namespace Practice {
public class TitleController : MonoBehaviour {
private void Start() {
switch(GameManager.instance.question) {
case GameManager.QuestionType.Basic: gameObject.GetComponent<Text>().text = "초심자 레벨"; break;
... | 2.443343 | 71e27eca909b9a1e4bacb911e2aaf4da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "donghuazhang98/Taken",
"max_stars_repo_path": "Assets/Scripts/SceneSwitch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66396"
} | starcoder | using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneSwitch : MonoBehaviour {
public void SwitchToScene(string name)
{
SceneManager.LoadScene(name);
}
public void backToMainScene()
{
SceneManager.LoadScene("Start_menu");
}
public void backToMapSelectio... | 1.974865 | acfdc41992c80d56f19676774b9502d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi-bot/pulumi-azure-native",
"max_stars_repo_path": "sdk/dotnet/Security/Inputs/AdditionalWorkspacesPropertiesArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66397"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 1.801489 | b1dc86fc0a9c7dff0bc1160382d518b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "domEnriquez/Algorithms",
"max_stars_repo_path": "StacksAndQueues/Queues/GenericQueue/QueueViaTwoStacks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66398"
} | starcoder | <reponame>domEnriquez/Algorithms<filename>StacksAndQueues/Queues/GenericQueue/QueueViaTwoStacks.cs<gh_stars>0
using GenericStack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenericQueue
{
public class QueueViaTwoStacks<T> : Abstrac... | 3.296385 | 758d87a4db4a91ff64cc8497c8461fcc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66398 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FlukeFan/Generazor",
"max_stars_repo_path": "Generazor.Tests/Templates/Example2.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66399"
} | starcoder | @inherits Generazor.GenerazorPage<Generazor.Tests.Templates.Example2>
@model Generazor.Tests.Templates.Example2
Value=@Model.Value | 1.537835 | cf0683b916fefb6e3ac539a62123b1b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66399 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "SpecBind/SpecBind",
"max_stars_repo_path": "src/SpecBind.Tests/BrowserBaseFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66400"
} | starcoder | // <copyright file="BrowserBaseFixture.cs">
// Copyright © 2013 <NAME>. All rights reserved.
// </copyright>
namespace SpecBind.Tests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Moq.Protected;
using S... | 2.351596 | 46c95f637a06def85e383389fda1bc7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66400 | {
"extension": "c-sharp",
"max_stars_count": "4125.0",
"max_stars_repo_name": "ulrichb/Swashbuckle.AspNetCore",
"max_stars_repo_path": "test/Swashbuckle.AspNetCore.Newtonsoft.Test/Fixtures/JsonExtensionDataAnnotatedType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66401"
} | starcoder | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Swashbuckle.AspNetCore.Newtonsoft.Test
{
public class JsonExtensionDataAnnotatedType
{
public bool Property1 { get; set; }
[JsonExtensionData]
public IDictionary<string, object> ExtensionData { get; set; }
}
} | 1.587336 | 5fd40f4ddb1f98c127961afbb3d7cd18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66401 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IanEscober/WasteMan",
"max_stars_repo_path": "src/WasteMan.MongoDB.Serialization/Conventions/MappingConventionRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66402"
} | starcoder | <reponame>IanEscober/WasteMan
using MongoDB.Bson.Serialization.Conventions;
namespace WasteMan.MongoDB.Serialization.Conventions
{
public static class MappingConventionRegistry
{
public static void Register(MappingConvention mapping)
{
ConventionRegistry.Register("MappingConvention... | 1.524373 | 32a8856bdfb40e4d3bfe2c8910a3ec55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66402 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danielkrainas/squire",
"max_stars_repo_path": "src/Squire.Decoupled/DomainEvents/EventPipelineDispatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66403"
} | starcoder | <gh_stars>1-10
namespace Squire.Decoupled.DomainEvents
{
using Squire.Validation;
using Squire.Decoupled.DomainEvents.Pipeline.Messages;
using Squire.Decoupled.Pipeline;
using Squire.Decoupled.Pipeline.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using Sy... | 2.232341 | b56b81a39f9a394f9e0686b9cd17bbc4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66403 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GMihalkow/CSharp",
"max_stars_repo_path": "CSharp Fundamentals 2018/Csharp OOP Advanced/Iterators and Comparators - Exercise/03_Stack/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66404"
} | starcoder | <reponame>GMihalkow/CSharp
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main(string[] args)
{
List<int> stack = new List<int>();
Engine engine = new Engine(stack);
string input;
while ((input = Console.ReadLine()) != "END")
... | 3.077972 | dbfa2d609502786acbf96ab2d793ad0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66404 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JaydenB14/YandereSimulatorDecompiled",
"max_stars_repo_path": "Assembly-CSharp/UnityEngine/PostProcessing/DitheringModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66405"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: UnityEngine.PostProcessing.DitheringModel
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9
// Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Assembly-CSharp.dll
using... | 1.761743 | 35150fcf902ac569cc27053e65ea0eac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66405 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JustIntroverted/ConsoleFrameBuffer",
"max_stars_repo_path": "ConsoleFrameBuffer.Test/Frames/RootFrame.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66406"
} | starcoder | using System;
using System.Collections.Generic;
using ConsoleFrameBuffer.Test.Mapping;
using ConsoleFrameBuffer.Test.Utility;
namespace ConsoleFrameBuffer.Test.Frames {
public class RootFrame : ConsoleFrame {
// frame variables
private ConsoleFrame _logsFrame;
private ConsoleFrame _mapFra... | 2.721259 | 441d8351f54e80d77cd7891156da0a36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakwa-im/design-studio",
"max_stars_repo_path": "common/configuration/Interface Definitions/IConfigurationItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66407"
} | starcoder | using System;
using System.Xml;
using System.Collections.Generic;
namespace configuration
{
public enum eConfigurationSource {
Undefined, User = 1,
CmdLine = 2,
UserAppData = 4,
AllUsersAppData = 8,
UserServerSide = 16,
GroupServerSide = 32,
ServerSide ... | 2.160521 | 4e3f2cfea047b95749775bb6bc3ec41b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66407 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GiGong/Memories",
"max_stars_repo_path": "Memories/Modules/Memories.Modules.NewBook/Views/InputBookInfoView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66408"
} | starcoder | <gh_stars>1-10
using System.Windows.Controls;
namespace Memories.Modules.NewBook.Views
{
/// <summary>
/// Interaction logic for InputBookInfoView.xaml
/// </summary>
public partial class InputBookInfoView : UserControl
{
public InputBookInfoView()
{
InitializeComponent... | 1.223453 | d79f6c1ffb00be93d3ac2b22b9f02919 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SharpenedMinecraft/SM1",
"max_stars_repo_path": "Main/Types/Blocks/Cobblestone_wallBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66409"
} | starcoder | <gh_stars>0
using SharpenedMinecraft.Types.Items;
using System;
using System.Collections.Generic;
using System.Text;
namespace SharpenedMinecraft.Types.Blocks
{
public class Cobblestone_wallBlock : Block
{
public override string BlockId => "minecraft:cobblestone_wall";
public override BlockSta... | 2.092289 | cba28c946ae911848e28733eb1d88f94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvanIvTodorov/SoftUniEducation",
"max_stars_repo_path": "C#OOP/Polymorphism/Polymorphism-Exercise/WildFarm/Models/Dog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66410"
} | starcoder | <filename>C#OOP/Polymorphism/Polymorphism-Exercise/WildFarm/Models/Dog.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace WildFarm.Models
{
public class Dog : Mammal
{
public const string SOUND = "Woof!";
public const double GAIN = 0.40;
public Dog(string n... | 3.550205 | cb7802919014f4189fd26f8be6a93173 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66410 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MatijaNovosel/tvz2",
"max_stars_repo_path": "tvz2api-cqrs/QueryModels/CourseQueryModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66411"
} | starcoder | <filename>tvz2api-cqrs/QueryModels/CourseQueryModels.cs
using tvz2api_cqrs.Models.DTO;
using System.Collections.Generic;
namespace tvz2api_cqrs.QueryModels
{
public class CourseQueryModel
{
public int Id { get; set; }
public string Name { get; set; }
public string Isvu { get; set; }
public int? Ect... | 1.89908 | fd89926ecabb04adcc298e3c1c9ce6ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sharwell/clide",
"max_stars_repo_path": "src/Clide/Adapters/MsBuildAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66412"
} | starcoder | <filename>src/Clide/Adapters/MsBuildAdapter.cs<gh_stars>0
using Microsoft.Build.Evaluation;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using System;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
namespace Clide.Adapters
{... | 2.217998 | 07725d79c356722adc27fdea3d7b667d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "przemekwa/ProgramingStudy",
"max_stars_repo_path": "ColorPreview/ViewModel/ResetCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66413"
} | starcoder | <filename>ColorPreview/ViewModel/ResetCommand.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using ColorPreview.Model;
namespace ColorPreview.ViewModel
{
public class ResetCommand : ICommand
{
... | 2.657105 | eff2430e0fed5e8ed27edf4d3bcc6f63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "scottenriquez/cdktf-alpha-csharp-testing",
"max_stars_repo_path": "resources/.gen/aws/aws/CodedeployDeploymentGroupEc2TagSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66414"
} | starcoder | <gh_stars>0
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.CodedeployDeploymentGroupEc2TagSet")]
public class CodedeployDeploymentGroupEc2TagSet : aws.ICodedeployDeploymentGroupEc2TagSet
{
/// <summary>ec2_tag_filter block.</su... | 1.547436 | de8929ba763c89d4dc4d8f0bb05f4594 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66414 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "quangdo3112/AElf",
"max_stars_repo_path": "src/AElf.Runtime.CSharp.Core/Metadata/PropertyMethodIndex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66415"
} | starcoder | using System;
using System.Collections.Generic;
using Mono.Cecil;
namespace AElf.Runtime.CSharp.Metadata
{
public class PropertyMethodIndex
{
private readonly IDictionary<MethodDefinition, PropertyDefinition> _cache =
new Dictionary<MethodDefinition, PropertyDefinition>();
public P... | 2.652803 | c89c958698c0cd35b532a67e35d0bceb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "creatingrealitysubmissions/StrokeRehabVR",
"max_stars_repo_path": "StrokeRehab VR/Assets/scripts/DuckSelection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66416"
} | starcoder | <filename>StrokeRehab VR/Assets/scripts/DuckSelection.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DuckSelection : MonoBehaviour {
public GameObject Duck1;
public GameObject Duck2;
public GameObject Duck3;
public GameObject Duck4;
public GameObject Duck5;
Duc... | 2.52163 | 38a523b5a9cb775ad91e47fb2608c844 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66416 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "alanprot/elasticsearch-net",
"max_stars_repo_path": "src/Tests/Nest.Tests.Integration/Indices/GatewaySnapshotTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66417"
} | starcoder | <filename>src/Tests/Nest.Tests.Integration/Indices/GatewaySnapshotTests.cs
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Integration.Indices
{
[TestFixture]
public class GatewaySnapshotTests : IntegrationTests
{
[Test]
public void GatewaySnapshotAll()
{... | 1.791033 | 4262619b68692afa9b283b28263e432b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "appman-agm/EasyCaching",
"max_stars_repo_path": "src/EasyCaching.HybridCache/Configurations/HybridCachingOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66418"
} | starcoder | <reponame>appman-agm/EasyCaching
namespace EasyCaching.HybridCache
{
public class HybridCachingOptions
{
/// <summary>
/// Gets or sets the name of the topic.
/// </summary>
/// <value>The name of the topic.</value>
public string TopicName { get; set; }
/// ... | 2.13803 | 2bc20e250ccdb433de98722eaa30411e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66418 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AndMu/Wikiled.Text.Analysis",
"max_stars_repo_path": "src/Wikiled.Text.Analysis/POS/Tags/Noun.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66419"
} | starcoder | <reponame>AndMu/Wikiled.Text.Analysis<gh_stars>1-10
namespace Wikiled.Text.Analysis.POS.Tags
{
public class Noun : BasePOSType
{
private Noun()
{
}
public static Noun Instance { get; } = new Noun();
public override string Description => "Noun, singular or mass";
... | 2.111556 | a1f933a49ee8e66a04057e6751d0c73c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "304NotModified/NLog.Targets.Syslog",
"max_stars_repo_path": "src/NLog.Targets.Syslog/MessageSend/Udp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66420"
} | starcoder | <reponame>304NotModified/NLog.Targets.Syslog<filename>src/NLog.Targets.Syslog/MessageSend/Udp.cs<gh_stars>0
// Licensed under the BSD license
// See the LICENSE file in the project root for more information
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
using NLog.Targets.Syslog.Settin... | 2.150208 | bc8b98ed28338c63ff63a507d231e90d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66420 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "p0cket/99N",
"max_stars_repo_path": "Assets/Fungus/Scripts/EventHandlers/ToggleChanged.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66421"
} | starcoder | // This code is part of the Fungus library (https://github.com/snozbot/fungus)
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
using UnityEngine;
using UnityEngine.UI;
namespace Fungus
{
/// <summary>
/// The block will execute wh... | 2.655267 | e842e219133baee4fa6b4114dc2bc5b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66421 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "jerriepelser-blog/signalr-long-running",
"max_stars_repo_path": "LongRunningSignalr/Views/Home/Progress.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:66422"
} | starcoder | @{
ViewData["Title"] = "Progress";
}
<h2>@ViewData["Title"]</h2>
<p>Status of your background job: <strong><span id="job-status">Waiting to start...</span></strong></p>
@section Scripts
{
<script src="~/lib/signalr/signalr.js"></script>
<script>
document.head || (document.head = document.getEleme... | 2.373342 | 80d36b32e053cc8b0f0003320f4afc32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66422 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/AutomaticTuningOptionModeDesired.Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66423"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Sql.Models
{
internal static partial class AutomaticTuningOptionModeDesiredExtensions
{
public static string ToSerialSt... | 2.252461 | c907eb5e48e9e3d8f2c0eae2fd78f9d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apprime/Game",
"max_stars_repo_path": "Data/Models/Entities/EntityInterfaces/IAttack.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66424"
} | starcoder | namespace Data.Models.Entities.EntityInterfaces
{
public interface IAttack : IPositioned
{
int Damage { get; }
string AttackName { get; }
DamageType DamageType { get; }
}
} | 2.076491 | 3825abef0cd05c89be57c27b594ab4c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GuruGurra/streamdeck-tools",
"max_stars_repo_path": "barraider-sdtools/GlobalSettingsManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66425"
} | starcoder | using Newtonsoft.Json.Linq;
using streamdeck_client_csharp;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace BarRaider.SdTools
{
public class GlobalSettingsManager
{
#region Private Static Members
private static GlobalSettingsManager in... | 2.512637 | 897b2c0e4995db47cbe247b70f823a4f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66425 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "caioqazz/blip-sdk-csharp",
"max_stars_repo_path": "src/Take.Blip.Builder/Actions/DeleteVariable/DeleteVariableAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66426"
} | starcoder | <reponame>caioqazz/blip-sdk-csharp
using System.Threading;
using System.Threading.Tasks;
namespace Take.Blip.Builder.Actions.DeleteVariable
{
public class DeleteVariableAction : ActionBase<DeleteVariableSettings>
{
public DeleteVariableAction()
: base(nameof(DeleteVariable))
{
... | 1.690254 | c1590ace45c4daf396495be9bd5ed1b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivara/fluentmigrator",
"max_stars_repo_path": "src/FluentMigrator.Tests/Integration/Processors/SqliteProcessorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66427"
} | starcoder | #region License
//
// Copyright (c) 2007-2009, <NAME> <<EMAIL>>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | 2.105003 | 3237f8eed36917990b0d40e0fc43562f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66427 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "ederst/pulumi-openstack",
"max_stars_repo_path": "sdk/dotnet/BlockStorage/GetSnapshotV3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66428"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.963955 | bebc3802d0e9c5020bfe285eff78ea4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bruchs/Text101-PC",
"max_stars_repo_path": "GameController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66429"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class GameController : MonoBehaviour {
public Text GameText;
private enum States {launch, cell, sheets_0, notes_0, mirror, lock_0, cell_mirror, sheets_1, notes_1, lock_1, corridor_0, stairs_0, floor, closet_door,
stairs_1, corridor... | 2.45592 | 8c0a296e01463d81fcc01f695975440f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66429 | {
"extension": "c-sharp",
"max_stars_count": "3192.0",
"max_stars_repo_name": "augustoproiete-forks/ExcelDataReader--ExcelDataReader",
"max_stars_repo_path": "src/ExcelDataReader/ExcelReaderConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66430"
} | starcoder | <reponame>augustoproiete-forks/ExcelDataReader--ExcelDataReader
using System.Text;
namespace ExcelDataReader
{
/// <summary>
/// Configuration options for an instance of ExcelDataReader.
/// </summary>
public class ExcelReaderConfiguration
{
/// <summary>
/// Gets or sets a value i... | 2.687263 | cca3006cfc4e7743bae160db80d556a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "litesz/WFw",
"max_stars_repo_path": "WFw.Redis/WFwRedisCache.Tran.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66431"
} | starcoder | using Microsoft.Extensions.Options;
using WFw.Cache;
using WFw.Redis.Options;
using System.Linq;
using CSRedis;
namespace WFw.Redis
{
/// <summary>
///
/// </summary>
public partial class WFwRedisCache : IRedisCache
{
}
}
| 1.223258 | 6199ab3b0b81ee836f5804ef51da9b0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66431 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "ajbeaven/APIv3-csharp-library",
"max_stars_repo_path": "src/sib_api_v3_sdk/Model/RequestContactExportCustomContactFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66432"
} | starcoder | /*
* SendinBlue API
*
* SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com... | 2.227843 | 39a5f5471746154b9106704881dde92f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 66432 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "vanmxpx/ISDPlatform",
"max_stars_repo_path": "Cooper.Services/AuthorizationService/AuthorizationExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:66433"
} | starcoder | using Cooper.Services.Interfaces;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.IdentityModel.Tokens;
using System;
using System.Text;
namespace Microsoft.Extensions.DependencyInjection
{
public static class AuthorizationExtension
{
public static void AddJWTAuthorization(this I... | 2.129261 | f2d048a1fbabf647ea772875779ccf2f |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.