added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lenovezhou/UITemplate",
"max_stars_repo_path": "Assets/script/Virtual/testOverride.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96562"
} | starcoder | using UnityEngine;
using System.Collections;
public class testOverride : testcllider {
void Start () {
test ();
base.OnMouseDown ();
}
public override void test ()
{
base.test ();
Debug.Log ("a new place to creat");
}
void Update () {
}
}
| 1.670134 | 75aa5220ed454dd8f159f4b915665d7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96562 | {
"extension": "c-sharp",
"max_stars_count": "136.0",
"max_stars_repo_name": "v-fekalu/azure-mobile-apps-net-server",
"max_stars_repo_path": "e2etest/Controllers/Api/RuntimeInfoController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96563"
} | starcoder | <gh_stars>100-1000
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using System.Linq;
using System.Reflection;
using System.Web.Htt... | 1.753239 | c0dc490d7be7b2bfd811a0ae8b73e689 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96563 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vavilichev/UnityCodeArchitecture",
"max_stars_repo_path": "VavilichevGD/Utils/Attributes/ObjectsOfType/ScriptableObjectOfTypeDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96564"
} | starcoder | <filename>VavilichevGD/Utils/Attributes/ObjectsOfType/ScriptableObjectOfTypeDrawer.cs
using System;
using UnityEditor;
using UnityEngine;
using Object = UnityEngine.Object;
namespace VavilichevGD.Utils.Attributes.ObjectsOfType {
[CustomPropertyDrawer(typeof(ScriptableObjectOfTypeAttribute))]
public class Scriptable... | 2.519405 | c4e1ddcff55a898a7f728b672e53f230 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ossj400/NotSoHotSeats",
"max_stars_repo_path": "NotSoHotSeats!/Models/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96565"
} | starcoder | <filename>NotSoHotSeats!/Models/User.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
#nullable disable
namespace NotSoHotSeats_.Models
{
public partial class User
{
[DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
public int... | 2.321529 | 6c51eadb7e16c98aecf52a3c40e79ed2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96565 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "zzgchina888/msdn-code-gallery-microsoft",
"max_stars_repo_path": "Official Windows Platform Sample/Bluetooth LE Explorer sample/[C#]-Bluetooth LE Explorer sample/C#/BTLE_Explorer/ViewModels/IndividualObjects/BEServiceVM.cs",
"provenan... | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using Windows.ApplicationModel.Background;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Storage;
using BTLE_E... | 2.342609 | f7398341f3847c3b60b0bdd578120c58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "business-sims-toolkit/business-sims-toolkit",
"max_stars_repo_path": "dev/libraries/eboards/ReportBuilder/ESM_ScoreCardReportBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96567"
} | starcoder | <reponame>business-sims-toolkit/business-sims-toolkit<gh_stars>0
using System;
using System.Collections.Generic;
using System.Xml;
using CoreUtils;
using GameManagement;
using LibCore;
using Network;
namespace ReportBuilder
{
public class ESM_ScoreCardReportBuilder : BaseScorecardReport<EsmRoundScores>
{
... | 2.162156 | df8fdcd4bd7378e7b95f51c30a4fba7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96567 | {
"extension": "c-sharp",
"max_stars_count": "544.0",
"max_stars_repo_name": "a-legotin/InstagramApi",
"max_stars_repo_path": "InstaSharper/Classes/ResponseWrappers/InstaDirectInboxItemResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96568"
} | starcoder | <reponame>a-legotin/InstagramApi
using System;
using InstaSharper.Classes.ResponseWrappers.BaseResponse;
using Newtonsoft.Json;
namespace InstaSharper.Classes.ResponseWrappers
{
public class InstaDirectInboxItemResponse : BaseStatusResponse
{
[JsonProperty("text")] public string Text { get; set; }
... | 1.356072 | 1cfcd8924b6ed86beb02a09686271570 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96568 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CASL-AE/xrpl-c",
"max_stars_repo_path": "Xrpl.C/Ripple.Address.Codec/AddressCodec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96569"
} | starcoder | <reponame>CASL-AE/xrpl-c
using System;
namespace Ripple.Address.Codec
{
public class AddressCodec
{
public const string Alphabet = "<KEY>";
// ReSharper disable RedundantArgumentNameForLiteralExpression, RedundantArgumentName
public static B58.Version AccountId = B58.Version.With(versi... | 2.092467 | 00b43f8d9888dc3bf6302ddc589fcb0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96569 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/cmd/vet/testdata/asm/asm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96570"
} | starcoder | // Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file contains declarations to test the assembly in asm1.s.
// package testdata -- go2cs converted at 2020 October 09 06:05:08 UTC
// import "cmd/vet/te... | 1.503147 | c69726495a5b24d53ced256e68ba4354 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96570 | {
"extension": "c-sharp",
"max_stars_count": "1248.0",
"max_stars_repo_name": "Vincentvwal/RazorLight",
"max_stars_repo_path": "src/RazorLight/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96571"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("RazorLight.Tests")] | 0.745188 | cbade2eeb351be424286d2c1d8ac8bed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Artuqu/emerytura",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96572"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wprawki
{
class Program
{
static void Main(string[] args)
{
int x = int.MaxValue;
int y = 2;
int z = x + y;
Console.Wri... | 2.470195 | c42e5f9f5203ffbbc883f04562c4b7c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96572 | {
"extension": "c-sharp",
"max_stars_count": "105.0",
"max_stars_repo_name": "Thieum/DataAnnotationsExtensions",
"max_stars_repo_path": "DataAnnotationsExtensions.ClientValidation/Rules/ModelClientValidationNumericRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96573"
} | starcoder | using System.Web.Mvc;
namespace DataAnnotationsExtensions.ClientValidation.Rules
{
public class ModelClientValidationNumericRule : ModelClientValidationRule
{
public ModelClientValidationNumericRule(string errorMessage)
{
ErrorMessage = errorMessage;
ValidationType = "n... | 1.795481 | 51dc19198f03dea535326937415366c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96573 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "airbrake/sharpbrake-net35",
"max_stars_repo_path": "src/Sharpbrake.Client/AirbrakeNotifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96574"
} | starcoder | <filename>src/Sharpbrake.Client/AirbrakeNotifier.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using Newtonsoft.Json;
using Sharpbrake.Client.Impl;
using Sharpbrake.Client.Model;
using System.ComponentModel;
namespace Sharpbrake.Client
{
/// <summary>
/// ... | 2.386289 | 1bd9c47de584c2f9644c2b45c405030a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96574 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mlnethub/Bet.AspNetCore",
"max_stars_repo_path": "src/Bet.AspNetCore.Jwt/Services/Impl/JwtTokenService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96575"
} | starcoder | using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
using Bet.AspNetCore.Jwt.Options;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
... | 2.467561 | 685cb4fd87998d24bb625ded654969df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96575 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RenatoPacheco/DDD-Basico",
"max_stars_repo_path": "src/DddBasico.Infra.Persistencia/Mensagens/SqlNomeMsg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96576"
} | starcoder | <filename>src/DddBasico.Infra.Persistencia/Mensagens/SqlNomeMsg.cs
namespace DddBasico.Infra.Persistencia.Mensagens
{
public static class SqlNomeMsg
{
public const string HaSessaoAberta = "HaSessaoAberta";
public const string NaoAtualizado = "NaoAtualizado";
public const string NaoDelet... | 1.719022 | 189c7eea41131f0865cad69fda87220d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96576 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "demiurghg/FusionFramework",
"max_stars_repo_path": "Fusion/Utils/Image.Tga.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96577"
} | starcoder | <reponame>demiurghg/FusionFramework
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
using Fusion.Mathematics;
namespace Fusion {
internal partial class Image {
/*----------------------------------------------------------... | 2.452158 | 43fa08905435cf33bb6316bac6c44101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96577 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdruin/F5Eagle",
"max_stars_repo_path": "Library/Containers/Public/LongList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96578"
} | starcoder | /*
* LongList.cs --
*
* Copyright (c) 2007-2012 by <NAME>. All rights reserved.
*
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $Id: $
*/
using System;
using System.Collections.Generic;
using Eagle._Attributes;... | 2.292363 | ffe0cbdc13a45af166fce4c5816b0bc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96578 | {
"extension": "c-sharp",
"max_stars_count": "5937.0",
"max_stars_repo_name": "KodamaSakuno/wpf",
"max_stars_repo_path": "src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls/InitializingNewItemEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96579"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace System.Windows.Controls
{
/// <summary>
/// Delegate used for the Initializing... | 2.10731 | c15d97f4578bce53d66fa0b636e8b942 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96579 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gleitoncesar/calc-ir",
"max_stars_repo_path": "CalcIR.Service.Test/ResultadoAcumuladoTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96580"
} | starcoder | using CalcIR.Domain;
using Microsoft.Extensions.Configuration;
using System;
using System.IO;
using System.Linq;
using Xunit;
namespace CalcIR.Service.Test
{
public class ResultadoAcumuladoTest
{
[Fact]
public void Incluir_Resultado_Inicial()
{
var context = ConfiguracaoTest... | 1.951483 | 97c40a7ed5ffb66f27198612d39b5200 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96580 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NanthawatKTY/Mosquitoes-Slayer",
"max_stars_repo_path": "Assets/Scripts/Defenders/PistolShooter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96581"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PistolShooter : MonoBehaviour
{
[SerializeField] GameObject PistolProjectile, PistolGun;
public void PistolFire()
{
Instantiate(PistolProjectile, PistolGun.transform.position, transform.rotation);
}
... | 2.062305 | 885eaad314250637173838f205b26901 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96581 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gitter-badger/journal-cli",
"max_stars_repo_path": "src/JournalCli/Cmdlets/OpenBackupLocationCmdlet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96582"
} | starcoder | <reponame>gitter-badger/journal-cli
using System.IO.Abstractions;
using System.Management.Automation;
using JetBrains.Annotations;
using JournalCli.Core;
using JournalCli.Infrastructure;
namespace JournalCli.Cmdlets
{
[PublicAPI]
[Cmdlet(VerbsCommon.Open, "BackupLocation")]
public class OpenBackupLocation... | 2.148323 | a09a02cc3a28c905334d5bc1de41ea4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MariBotOfficial/MariDiscordAbstractions",
"max_stars_repo_path": "MariDiscordAbstractions/Core/Models/IMariDiscordImage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96583"
} | starcoder | using System;
using System.IO;
namespace MariBot.DiscordPatterns
{
/// <summary>
/// An image that will be uploaded to Discord.
/// </summary>
public interface IMariDiscordImage : IDisposable
{
/// <summary>
/// Gets the stream to be uploaded to Discord.
/// </summary>
... | 2.417575 | f9923f9bec3b37c8b7234a0b60239ae6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96583 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kulu-M/SpiderManager",
"max_stars_repo_path": "SpiderManager/Model/Spider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96584"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using SpiderManager.Classes;
using System.ComponentModel;
namespace SpiderManager.Model
{
public class Spider
{
public s... | 2.584547 | 484b343d8ed66aee16c86dfc0c4ad6e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96584 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ophilbinbriscoe/More-Gizmos",
"max_stars_repo_path": "Assets/Runtime/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96585"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using UnityEngine;
/// <summary>
/// Utility extensions for formatting and manipulating strings.
/// </summary>
public static class StringExtensions
{
#region Formatt... | 2.989864 | 47c7bb8f9f7e38a5d6d6166ac0a32508 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RedCony/2ndCsharp_ConsoleApp1",
"max_stars_repo_path": "ConsoleApp1/Zerg.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96586"
} | starcoder | <gh_stars>0
using System;
public class Zerg:Unit
{
public Zerg(string name):base(name)
{
}
public override void Attack(Unit target)
{
Console.WriteLine("{0}이 {1}을 공격합니다.", this.mName, target.mName);
target.Hit(this);
}
public override void Hit(Unit sender)
{
Console.... | 2.77697 | 4d98f76d79550eca873bdb4200dbfb35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96586 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "domibu/MarketTool",
"max_stars_repo_path": "Kucoin/WebSocket/Manager/IKucoinWebSocketClientAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96587"
} | starcoder | using System.Threading.Tasks;
namespace Kucoin.WebSocket.Manager
{
public interface IKucoinWebSocketClientAdapter
{
Task Task { get; }
}
}
| 1.372229 | d9b9919f7b64add628bf569db9b50067 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aritters/IqOptionApiDotNet",
"max_stars_repo_path": "src/IqOption.Client/Wss/Subscribes/BinaryOptionPlacedResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96588"
} | starcoder | <reponame>aritters/IqOptionApiDotNet<gh_stars>0
using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using IqOption.Client.Models.BinaryOptions;
using IqOption.Client.Utilities;
using IqOption.Client.Ws.Base;
namespace IqOption.Client.Ws
{
public partial class IqOptionWebSocketClient
{
... | 1.78665 | 51970dbf4d5e67f33a3dd6b1adee8b13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mfreano24/Alchemy_Team5",
"max_stars_repo_path": "Assets/Scripts/GlobalVars.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96589"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GlobalVars : MonoBehaviour {
/// <summary>
/// This will be used for the pause screen.
/// In order to call to this, you can do it in two ways:
///
/// Assign a variable in the following way:
/// GlobalVars ... | 2.343221 | 2186fa21ad1b451fa9e25f4bf024d208 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andyschott/ray-tracer-challenge",
"max_stars_repo_path": "RayTracerChallenge.Domain/Extensions/MatrixExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96590"
} | starcoder | namespace RayTracerChallenge.Domain.Extensions;
public static class MatrixExtensions
{
private static TransformationFactory _transformationFactory = new TransformationFactory();
public static Matrix Translate(this Matrix m, decimal x, decimal y, decimal z)
{
var translate = _transformation... | 2.847404 | 6052d1c4b359f73e45f7db9582f51cc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96590 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cnunezz0911/StarterProject",
"max_stars_repo_path": "MovieArtArena.Web/Controllers/Api/PosterController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96591"
} | starcoder | <filename>MovieArtArena.Web/Controllers/Api/PosterController.cs
using MovieArtArena.Models.Domain;
using MovieArtArena.Models.Request;
using MovieArtArena.Models.Response;
using MoviePosterArena.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using ... | 2.452921 | 98f356f9adfee2e560c831f78c187b6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96591 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "angelobreuer/Trivia4NET",
"max_stars_repo_path": "src/Payloads/TriviaResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96592"
} | starcoder | <filename>src/Payloads/TriviaResponse.cs
namespace Trivia4NET.Payloads
{
using Newtonsoft.Json;
using Trivia4NET.Entities;
/// <summary>
/// The base implementation of a response from the Trivia API.
/// </summary>
public class TriviaResponse
{
/// <summary>
/// Get... | 2.236961 | ce943ad9d30cd0e0ef552e97e81b8c18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anu6is/Disqord",
"max_stars_repo_path": "src/Disqord/Client/Events/Args/ReadyEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96593"
} | starcoder | <filename>src/Disqord/Client/Events/Args/ReadyEventArgs.cs<gh_stars>0
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Disqord.Events
{
public sealed class ReadyEventArgs : DiscordEventArgs
{
public string SessionId { get; }
public IReadOnlyList<string>... | 2.296671 | 203bf4a52cc2b5fbc24e9cc9dea06b34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96593 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "harveytriana/BlazorMongo",
"max_stars_repo_path": "BlazorMongo/Server/Services/FileLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96594"
} | starcoder | // ===============================
// VISIONARY S.A.S.
// ===============================
using System;
using System.IO;
// First approach learning Xamarin Forms
//
namespace BlazorMongo.Server.Services
{
public class FileLogger
{
static readonly string _logFile = @"C:\_tracelog\blazormongo.log";
... | 2.674641 | 461c614acb69e93065b2389ec3dd1f4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96594 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Archerofyail/RoboReflector",
"max_stars_repo_path": "RoboReflector/Assets/Scripts/UI/ResetBallButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96595"
} | starcoder | using UnityEngine;
public class ResetBallButton : MonoBehaviour
{
private void OnPress(bool isDown)
{
if (!isDown && !BallManager.IsLaunching)
{
FindObjectOfType<BallManager>().ResetBall();
//Debug.Log("Resetting ball...");
}
}
}
| 1.832303 | 8b079edc4fcf12dc57306b88d267cc3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96595 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tinglesoftware/falu-sdk-dotnet",
"max_stars_repo_path": "src/FaluSdk/MessageTemplates/MessageTemplatesListOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96596"
} | starcoder | using Falu.Core;
namespace Falu.MessageTemplates;
/// <summary>Options for filtering and pagination of message tempaltes.</summary>
public record MessageTemplatesListOptions : BasicListOptions
{
// intentionally left blank
}
| 1.361895 | cb7ca2b37842c989e3deb07d4e287d46 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96596 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thetestgame/EcoGlueMod",
"max_stars_repo_path": "Client/Assets/EcoModKit/Scripts/Editor/WorldObjectEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96597"
} | starcoder | <reponame>thetestgame/EcoGlueMod<filename>Client/Assets/EcoModKit/Scripts/Editor/WorldObjectEditor.cs<gh_stars>0
// Copyright (c) <NAME>. All rights reserved.
// See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[C... | 1.913153 | bb74491363bd7c89ecdc90c9bb63fe6d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96597 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "gzhynko/IF-Tools",
"max_stars_repo_path": "IF-Tools/Controllers/IfApiController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96598"
} | starcoder | <reponame>gzhynko/IF-Tools<filename>IF-Tools/Controllers/IfApiController.cs
using System.Threading.Tasks;
using IFTools.Data;
using Microsoft.AspNetCore.Mvc;
namespace IFTools.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class IfApiController : Controller
{
[HttpGet("[action... | 1.765863 | 0f4bcfb90a000d256724bc897369194b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrevorDArcyEvans/NHSBuyingCatalogue",
"max_stars_repo_path": "beta-prototype/api/NHSD.GPITF.BuyingCatalog/NHSD.GPITF.BuyingCatalog.Logic.Tests/AssessmentMessageValidator_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96599"
} | starcoder | using FluentAssertions;
using FluentValidation;
using Microsoft.AspNetCore.Http;
using Moq;
using NHSD.GPITF.BuyingCatalog.Interfaces;
using NHSD.GPITF.BuyingCatalog.Models;
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
namespace NHSD.GPITF.BuyingCatalog.Logic.Tests
{
[TestFixture]
p... | 1.981916 | 24615b39c7b8b8c6bbc94fb2b2501c4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96599 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "LanceMcCarthy/DevReachCompanion",
"max_stars_repo_path": "src/DevReach2019/DevReach2019.Forms/DevReach2019.Forms/Views/AgendaPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96600"
} | starcoder | using System;
using DevReach2019.Forms.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace DevReach2019.Forms.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class AgendaPage : ContentPage
{
public AgendaPage(AgendaViewModel context)
{
... | 1.723222 | a436b9c2da9dc7a6b9a8356cdc4c88d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AJMitev/Programming-Basics-CSharp",
"max_stars_repo_path": "0. Exams/Coding 101 Exam - 6 March 2016/03. On Time for the Exam/OnTimeForTheExam.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96601"
} | starcoder | using System;
class OnTimeForTheExam
{
static void Main()
{
int examHour = int.Parse(Console.ReadLine());
int examMinutes = int.Parse(Console.ReadLine());
int arrivalHour = int.Parse(Console.ReadLine());
int arrivalMinutes = int.Parse(Console.ReadLine());
int exam = ex... | 3.764348 | a1af056aeaf4068c54745bf2636ca5ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96601 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FlorianGrimm/OfaSchlupfer",
"max_stars_repo_path": "OfaSchlupfer.ODataV4Tests/ODataV4RepositoryModelTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96602"
} | starcoder | <filename>OfaSchlupfer.ODataV4Tests/ODataV4RepositoryModelTest.cs
namespace OfaSchlupfer.ODataV4Tests {
using System;
using Xunit;
public class ODataV4RepositoryModelTest {
[Fact]
public void Test1() {
}
}
}
| 1.322011 | a972ec2b587e6a716674f19cded6f2df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Teigler/LayeredArchitectureEvaluation",
"max_stars_repo_path": "ArchitectureEvaluation/Mvvm4Layer1/BusinessLogic/API/BusinessLogic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96603"
} | starcoder | <filename>ArchitectureEvaluation/Mvvm4Layer1/BusinessLogic/API/BusinessLogic.cs<gh_stars>0
using LayeredArchitectureEvaluation.Mvvm4Layer1.DataAccess.API;
namespace LayeredArchitectureEvaluation.Mvvm4Layer1.BusinessLogic.API
{
internal class BusinessLogic : IBusinessLogic
{
internal BusinessLogic()
... | 2.081914 | 6a1f5d0967f1d703b468795a0285d8d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96603 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alkalinethunder/untitledphilgame",
"max_stars_repo_path": "Assets/TutorialTriggerScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96604"
} | starcoder | <reponame>alkalinethunder/untitledphilgame
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TutorialTriggerScript : MonoBehaviour
{
private bool _oneshotActivated = false;
private TutorialUIScript _ui;
public string Title = "Tutorial title";
[Multiline]
... | 1.931162 | 700871999d5dbab11a71c088f7811af6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96604 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DefaultO/CW-Client-Internal-Hack",
"max_stars_repo_path": "Features/HealthESP.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96605"
} | starcoder | <filename>Features/HealthESP.cs
using CW_Internal_Hack.Utility;
using UnityEngine;
namespace CW_Internal_Hack.Hacks
{
class HealthESP : MonoBehaviour
{
// Screen turns blank / black after joining a match. Have to debug that one.
// After having looked more into the Assembly-CSharp.dll,
// I've ... | 2.59616 | aa1d80d7d49d4757eef6c2d1730b8b2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ohmin839/CshPlgr",
"max_stars_repo_path": "CshPlgr.Lib/API.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96606"
} | starcoder | using Antlr4.Runtime;
using CshPlgr.Lib.Collector;
using CshPlgr.Lib.Collector.Generated;
using CshPlgr.Lib.Converter;
using CshPlgr.Lib.Converter.Generated;
namespace CshPlgr.Lib
{
public class API
{
public static string ConvertToPolytonic(TextReader reader)
{
var inputStream = new... | 2.403409 | 34ddcdae64274f42be0fc1b5409c8a2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VCCCD-CS-V13/WinForm-SQLServ",
"max_stars_repo_path": "sqlsrvtest/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96607"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace sqlsrvtest
{
class Program
{
static void Main(string[] args)
{
try
{
SqlConnectionStrin... | 2.748335 | be89b08bab12ae49b23b8718d69095e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96607 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "danielcirket/OpenEventSourcing",
"max_stars_repo_path": "tests/OpenEventSourcing.RabbitMQ.Tests/Queues/Sender/ConstructorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96608"
} | starcoder | <reponame>danielcirket/OpenEventSourcing<filename>tests/OpenEventSourcing.RabbitMQ.Tests/Queues/Sender/ConstructorTests.cs<gh_stars>1-10
using System;
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using OpenEventSourcing.RabbitMQ.Messages;
using OpenEventSou... | 2.008602 | 7e0237df0f8e13c48fe19e9ba6a75169 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96608 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "galaxy-team-soft-tech-march-2018/software-technologies-march-2018",
"max_stars_repo_path": "intro-and-basic-syntax/exercise/04. Beverage Labels/04. Beverage Labels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96609"
} | starcoder | //CONFIRMED from d.dimov_96
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Problem_4.Beverage_Labels
{
class Program
{
static void Main(string[] args)
{
// We reading the information for the product
... | 3.182043 | abf591d79f320207f251117d2895dbef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/engine/Stride.Graphics/DepthStencilClearOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96610"
} | starcoder | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... | 2.252943 | 6c324cacb62a5db8c142385ff66e0e8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96610 | {
"extension": "c-sharp",
"max_stars_count": "1338.0",
"max_stars_repo_name": "matisaravia19/2dengine",
"max_stars_repo_path": "Source/Editor/DualityEditor/Utility/DualityEditorUserData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96611"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Duality.Resources;
namespace Duality.Editor
{
/// <summary>
/// Contains user settings for the Duality editor application, such UI layout or preferences.
/// </summary>
public class DualityEditorUserData
{
private D... | 2.190486 | 3e60ba91b6cb5ab8ecc59a267b311168 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tinodo/adfsmfaadapter",
"max_stars_repo_path": "TOTPAuthenticationProvider/TOTPAuthenticationProvider/AuthenticationAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96612"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="AuthenticationAdapter.cs" company="Microsoft">
// Copyright (c) Microsoft. All rights reserved.
// </copyright>
// <author><NAME></author>
//
// THIS CODE AND ANY ASSOCIATED INFORMATION ARE PROVIDED “AS IS” WITHOUT
// WARRA... | 2.237931 | 8f882885bac8295a015b7f8648d32d18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96612 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "IxxyXR/wythoff-polyhedra",
"max_stars_repo_path": "Assets/_3rdParty/zCode/zDynamics/Constraints/OnMesh.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96613"
} | starcoder | #if USING_RHINO
using System;
using zCode.zCore;
using Rhino.Geometry;
/*
* Notes
*/
namespace zCode.zDynamics
{
/// <summary>
///
/// </summary>
[Serializable]
public class OnMesh : OnTarget<Mesh>
{
#region Static
/// <summary>
///
/// </summary>
... | 2.078214 | 6b63f7ff912ccacb7dbdcb8249e651ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96613 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smack0007/TextDecoratorDotNet",
"max_stars_repo_path": "tests/TextDecoratorDotNet.Tests/ForEachTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96614"
} | starcoder | <filename>tests/TextDecoratorDotNet.Tests/ForEachTests.cs<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace TextDecoratorDotNet.Tests
{
public class ForEachTestsContext
{
public IEnumerable<string> Names { get; set; } = Enumerable.Empty<string>();
}
public... | 3.05979 | a09d17b6dc07e0f25e387e72aeb3495e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96614 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jsuarezruiz/FigmaSharp",
"max_stars_repo_path": "FigmaSharp/FigmaModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96615"
} | starcoder | /*
* FigmaModels.cs - Models to parse json from Figma API
*
* Author:
* <NAME> <<EMAIL>>
*
* Copyright (C) 2018 Microsoft, Corp
*
* 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 Softwar... | 2.011229 | f32b2f204401965a15b11fa9d9771a85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stephanepothieux/StarWarsShopGenerator",
"max_stars_repo_path": "Source/ShopGenerator/Base/Singleton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96616"
} | starcoder | <filename>Source/ShopGenerator/Base/Singleton.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopGenerator
{
public class Singleton<T>
{
static protected T _instance;
static public T Instance { get { return _instance; }... | 2.504177 | 1d52d70188887dd175ba3dd47df97469 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96616 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Caeden117/NoodleExtensions",
"max_stars_repo_path": "NoodleExtensions/HarmonyPatches/BeatmapDataNoArrowsTransform.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96617"
} | starcoder | namespace NoodleExtensions.HarmonyPatches
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using HarmonyLib;
[NoodlePatch(typeof(BeatmapDataNoArrowsTransform))]
[NoodlePatch("CreateTransformedData")]
interna... | 2.433046 | 963cbe83c3853da17bf6cc83852af1fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "QuinceImaging/liveswitch-connect",
"max_stars_repo_path": "src/FM.LiveSwitch.Connect/NdiVideoSink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96618"
} | starcoder |
using NewTek;
using NDI = NewTek.NDI;
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Runtime.InteropServices;
namespace FM.LiveSwitch.Connect
{
class NdiVideoSink : VideoSink
{
static ILog _Log = Log.GetLogger(typeof(NdiVideoSink));
public override string L... | 2.08453 | 65e35d71605ce2ca9ebe4581f70f0d16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96618 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "HCGStudio/SecondDimensionWatcher",
"max_stars_repo_path": "SecondDimensionWatcher/Data/AnimationInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96619"
} | starcoder | <gh_stars>1-10
using System;
using System.Globalization;
using System.Text.Json;
using System.Text.Json.Serialization;
using Microsoft.EntityFrameworkCore;
namespace SecondDimensionWatcher.Data
{
[Index(nameof(Hash), IsUnique = true)]
public class AnimationInfo
{
public string Id { get; set; }
... | 2.392639 | ef7c4047a588792bda9c23e2ae58bae3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CountrySideEngineer/TestSupportTools",
"max_stars_repo_path": "AutoTestPrep/dev/src/AutoTestPrep/model/Tempaltes/Driver/common/code/TestDriverTemplateCommonBase_code.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96620"
} | starcoder | using AutoTestPrep.Model.InputInfos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutoTestPrep.Model.Tempaltes.Driver.common
{
public partial class TestDriverTemplateCommonBase
{
/// <summary>
/// Test data for test.
... | 2.550463 | d636ae16f3e92a955b30a0d3447f3ef4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KarlStarkweather/NumToWords",
"max_stars_repo_path": "NumToWords.Tests/ModelTests/NumberTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96621"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using NumToWords.Models;
namespace NumToWords.Tests
{
[TestClass]
public class NumberTests
{
[TestMethod]
public void NumberConstructor_CreateInstanceOfNumber_Number()
{
//Arrange
int firstNum = 1;
//Act
Number newNumber = n... | 3.221861 | 3c64c7a60b06f255e7f33155a15eafe0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruhiel/MastodonSharp",
"max_stars_repo_path": "MastodonSharp/Entity/Error.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96622"
} | starcoder | <reponame>ruhiel/MastodonSharp
using RestSharp.Deserializers;
using System;
using System.Collections.Generic;
using System.Text;
namespace MastodonSharp.Entity
{
public class Error
{
/// <summary>
/// A textual description of the error
/// </summary>
[DeserializeAs(Name = "erro... | 1.595206 | d5cc62adf490a68f18429a77cee1281e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96622 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ghorsey/SharpOAuth2",
"max_stars_repo_path": "code/src/RESTSample/Global.asax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96623"
} | starcoder | <gh_stars>1-10
using System;
using System.Security.Principal;
using System.Threading;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using CommonServiceLocator.NinjectAdapter;
using Microsoft.Practices.ServiceLocation;
using Ninject;
using SharpOAuth2.Provider.Framework;
using SharpOAuth2.Provider.R... | 1.856147 | f944fe6a4f634c2307e66b9f82ad5682 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Valsinev/ComponentTestingWithC",
"max_stars_repo_path": "WritedTestsForExams/OOP - 06 April 2015 - Evening/2/ArmyOfCreatures.Tests/Logic/Specialities/ResurrectionTests/Resurrection_Should.cs",
"provenance": "train-00000-of-00045.jsonl... | starcoder | namespace ArmyOfCreatures.Tests.Logic.Specialities.ResurrectionTests
{
using System;
using ArmyOfCreatures.Logic.Battles;
using ArmyOfCreatures.Logic.Creatures;
using ArmyOfCreatures.Logic.Specialties;
using NUnit.Framework;
[TestFixture]
public class Resurrection_Should
{
[Te... | 2.61379 | e05129db96a2a3ce23f43318c1c46c85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vyara/Telerik-C-2-Homeworks",
"max_stars_repo_path": "08. Text Files/MaximalAreaSum/MaximalAreaSum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96625"
} | starcoder | <filename>08. Text Files/MaximalAreaSum/MaximalAreaSum.cs
//Problem 5. Maximal area sum
//Write a program that reads a text file containing a square matrix of numbers.
//Find an area of size 2 x 2 in the matrix, with a maximal sum of its elements.
//The first line in the input file contains the size of matrix N.
//Ea... | 3.899579 | c142e04728f9095e7ac29dc1a11c836a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96625 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "coreyfournier/WorkFlow",
"max_stars_repo_path": "Workflow.Core/SerializationFailedException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96626"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Workflow.Core
{
/// <summary>
/// Thrown when seralization failed. One reason could be due to a type mismatch
/// </summary>
public class SerializationFailedException : Excepti... | 2.481049 | ba6b944c170d88dcc676e1677d46548f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96626 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "hailstorm75/MarkDoc.Core",
"max_stars_repo_path": "tests/TestLibrary/Classes/ClassTypePublicSealed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96627"
} | starcoder | namespace TestLibrary.Classes
{
public sealed class ClassTypePublicSealed
{
}
}
| 1.116728 | e860c24b4764acc4ebcde41546cda516 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96627 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vnikolov88/bulsatcom-rest",
"max_stars_repo_path": "onepoint/Views/Home/Register.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:96628"
} | starcoder | <gh_stars>1-10
@model onepoint.Models.Home.RegisterModel
@{
ViewBag.Title = "Register";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="container">
<div class="row">
<div class="col-sm-6">
<div class="card text-white bg-secondary w-100 my-5">
<div class="card-h... | 1.82542 | b3d54c1962b1393a966984e93bbc2c53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96628 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "jonreyno/AGS",
"max_stars_repo_path": "Editor/AGS.Types/EditorFeatures/SourceControlProject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96629"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace AGS.Types
{
public class SourceControlProject
{
public string AuxPath;
public string ProjectName;
public SourceControlProject(string auxPath, string projectName)
{
AuxPath ... | 1.965673 | 0036f45139062ae1aa6d3afaeef05166 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Meleron/WayVid",
"max_stars_repo_path": "WayVid/Service/VisitorService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96630"
} | starcoder | using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WayVid.Database;
using WayVid.Database.Entity;
using WayVid.Infrastructure.Extras;
using WayVid.Infrastructure.Interfaces.Core;
using WayVid.Infrastructure.Interfaces.Repository;
... | 1.78003 | 155550f13243deb00f10aae56b975240 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tboogh/Gaucho.Forms",
"max_stars_repo_path": "Gaucho.Forms.Core/Services/TranslationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96631"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Gaucho.Forms.Core.Models;
namespace Gaucho.Forms.Core.Services
{
public class TranslationService : ITranslationService
{
private ILanguage _currentLanguage;
private Task _loadLanguagesTask;
... | 2.840893 | e653c31e39104928724920c5756fed5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96631 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "TotalAI/TotalAI-2D-Demo",
"max_stars_repo_path": "Assets/TotalAI/Scripts/ScriptableObjects/SelectorFactors/TargetMovementSF.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96632"
} | starcoder | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TotalAI
{
[CreateAssetMenu(fileName = "TargetMovementSF", menuName = "Total AI/Selector Factor/Target Movement", order = 0)]
public class TargetMovementSF : SelectorFactor
{
[Header("The min v... | 2.251234 | ed77ea1a8d0c304fbac2e5b4566b4889 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96632 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "NsanDev/ExcelDna.Utilities",
"max_stars_repo_path": "ExcelDna.Utilities/XLConversion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96633"
} | starcoder | <filename>ExcelDna.Utilities/XLConversion.cs
/*
The MIT License (MIT)
Copyright (c) 2014 <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 ... | 2.51621 | 1552c04c178b32aff45ca708e3256ea8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96633 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonathantwite/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Migrations/Upgrade/V_7_5_0/AddRedirectUrlTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96634"
} | starcoder | using System.Linq;
namespace Umbraco.Core.Migrations.Upgrade.V_7_5_0
{
public class AddRedirectUrlTable : MigrationBase
{
public AddRedirectUrlTable(IMigrationContext context)
: base(context)
{ }
public override void Migrate()
{
var database = Database;... | 2.090315 | 3a0e30de996bdc6b9b609327bc28ccc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ponchoa/eart-pathfinder",
"max_stars_repo_path": "Cours Pathfinding/Assets/Scripts/MapHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96635"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class MapHandler : MonoBehaviour
{
public int sizeX, sizeY;
public GameObject tilePrefab;
public bool drawInSteps;
TileData[,] mapData;
GameObject[,] tileMap;
bool cursorWall;
p... | 2.230588 | 297616ea6feb82965e260ff426520512 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karina6188/E-Commerce-Store",
"max_stars_repo_path": "dotnet_ECommerce/dotnet_ECommerce/Pages/Index.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96636"
} | starcoder | <reponame>karina6188/E-Commerce-Store
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using dotnet_ECommerce.Models;
using dotnet_ECommerce.Models.Interfaces;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFramew... | 2.662745 | c2acd1bdd2cf50b71abe20f2a24c3a88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nventive/Pantry",
"max_stars_repo_path": "src/Pantry.Redis.Tests/RedisStandardTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96637"
} | starcoder | using Pantry.Tests.StandardTestSupport;
using Xunit;
using Xunit.Abstractions;
namespace Pantry.Redis.Tests
{
[Collection(RedisStandardTestsFixtureCollection.CollectionName)]
public class RedisStandardTests : StandardRepositoryImplementationTests<RedisRepository<StandardEntity>>
{
public RedisStan... | 1.40617 | dad20c113cd4b5612623e3c71238512a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "detlefm/MediaServerTray",
"max_stars_repo_path": "MediaServerTray/Options.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96638"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MediaServerTray {
public partial class Options : Form {
public Options... | 1.801428 | 7b2f6eb7743cf68376830b9b1e5a95f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96638 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mhusinsky/dx11-vvvv",
"max_stars_repo_path": "Nodes/VVVV.DX11.Nodes.kinect2/KinectPlayerTextureNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96639"
} | starcoder | <reponame>mhusinsky/dx11-vvvv
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Composition;
using SlimDX;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V2;
using VVVV.PluginInterfaces.V1;
using FeralTic.DX11;
using FeralTic.DX11.Resources;
usi... | 1.905226 | a11a238cda8851c08f8f1c85efbeddd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96639 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "dzimchuk/power-video-player",
"max_stars_repo_path": "Core/Pvp.Core/MediaEngine/Renderers/VMR9Windowed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96640"
} | starcoder | <filename>Core/Pvp.Core/MediaEngine/Renderers/VMR9Windowed.cs
/* ****************************************************************************
*
* Copyright (c) <NAME>. All rights reserved.
*
* This software is subject to the Microsoft Public License (Ms-PL).
* A copy of the license can be found in the licen... | 1.938989 | a4b47998438368eb1087061a44f33a23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tiksn/Habitica",
"max_stars_repo_path": "Habitica/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96641"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using TIKSN.Habitica.EisenhowerMatrix;
using TIKSN.Habitica.Rest;
using TIKSN.Habitica.Settings;
namespace TIKSN.Habitica
{
public static class ServiceCollectionExtensions
{
public static void AddHabitica(this IServiceCollection services)
{
... | 1.798776 | 62a4780e0d2c0413ca9b5bf440ff6b9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96641 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "augustogoncalves/data.management-csharp-desktop.sample",
"max_stars_repo_path": "data.management-csharp-desktop.sample/cloud/App_Code/Database.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96642"
} | starcoder | <reponame>augustogoncalves/data.management-csharp-desktop.sample
using Autodesk.Forge;
using Autodesk.Forge.Model;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace FPD.Sample.Cloud
{
public static... | 2.432763 | 2ce23724fa1f570ed59149a04c1542c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhenghua75/Password",
"max_stars_repo_path": "Encrypt/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96643"
} | starcoder | <gh_stars>0
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Encrypt
{
public class User
{
public Guid UserId { get;... | 2.590777 | f054e0733c0e126de46ab46b9293d153 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96643 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "WOCyo/Netch",
"max_stars_repo_path": "Netch/Utils/NetworkInterfaceUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96644"
} | starcoder | <reponame>WOCyo/Netch
using System;
using System.Linq;
using System.Management;
using System.Net.NetworkInformation;
namespace Netch.Utils
{
public static class NetworkInterfaceExtension
{
public static void SetDns(this NetworkInterface ni, string primaryDns, string? secondDns = null)
{
... | 2.532532 | 29dae38899b09a053f727304b7c7bfa6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96644 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "nonoesp/Voxel2GCode",
"max_stars_repo_path": "src/Voxel2GCodeCore/Classes/Geometry/V2GVoxelPoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96645"
} | starcoder | <reponame>nonoesp/Voxel2GCode
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MalachiteNet;
using MonolithLib;
using CGeometrica;
using CSerializer;
using Voxel2GCodeCore.Utilities;
namespace Voxel2GCodeCore.Geometry
{
/// <sum... | 2.304953 | 3f62b41c2bddf3a8508ba593c0adf5be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96645 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pacojq/Seagull",
"max_stars_repo_path": "Seagull/AST/Statements/Definitions/DelegateDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96646"
} | starcoder | <reponame>pacojq/Seagull
using Seagull.AST.Types;
using Seagull.Visitor;
namespace Seagull.AST.Statements.Definitions
{
public class DelegateDefinition : AbstractDefinition
{
public DelegateDefinition(int line, int column, string name, FunctionType type)
: base(line, column, name,... | 1.971018 | a780feacd51ffc702e38fe0594708965 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96646 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "jesse6548/bitdiffer",
"max_stars_repo_path": "Source/BitDiffer.Common/Detail/ResourceDetail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96647"
} | starcoder | <reponame>jesse6548/bitdiffer
using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;
using System.Xml;
using BitDiffer.Common.Interfaces;
using BitDiffer.Common.Utility;
using BitDiffer.Common.Misc;
using BitDiffer.Common.Configuration;
namespace BitDiffer.Common.Model
... | 2.383938 | 82dd36aa6b528fc9ce58085430297506 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96647 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "djspider117/KeepTrack",
"max_stars_repo_path": "GhostCore/ObjectModel/Converters/StringToBoolConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96648"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GhostCore.ObjectModel.Converters
{
public class StringToBoolConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string culture)... | 3.032243 | c9c62f8b84af1f9d8fab931c3f843cf2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96648 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Medialogia/OpenTracing.Contrib.Wcf",
"max_stars_repo_path": "src/OpenTracing.Contrib.Wcf/Properties/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96649"
} | starcoder | using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
[assembly: AssemblyTitle("OpenTracing.Contrib.Wcf")]
[assembly: AssemblyDescription("")]
[assembly: Guid("631093a0-dfa5-4188-8f29-0939bf2cc85d")]
[assembly: AssemblyFileVersion("0.2.1.0")]
[assembly: ContractNamespac... | 1.309804 | e4ccff06d09ead46095a3c7eefc8f974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96649 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "kephas-software/kephas",
"max_stars_repo_path": "src/Kephas.Messaging/HandlerProviders/MessageHandlerProviderBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96650"
} | starcoder | <filename>src/Kephas.Messaging/HandlerProviders/MessageHandlerProviderBase.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessageHandlerProviderBase.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL.... | 2.472445 | 89098b58c8e415157e36741ccbdeb409 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96650 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "factubsio/BubbleTweaks",
"max_stars_repo_path": "BubbleTweaks/AoeIndicators.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96651"
} | starcoder | <reponame>factubsio/BubbleTweaks
using BubbleTweaks.Utilities;
using HarmonyLib;
using Kingmaker.Armies.TacticalCombat;
using Kingmaker.EntitySystem.Entities;
using Kingmaker.PubSubSystem;
using Kingmaker.TurnBasedMode;
using Kingmaker.UnitLogic.Abilities.Blueprints;
using Kingmaker.Utility;
using Kingmaker.Visual.Dec... | 1.965554 | 480f2da39aca39d487de3a3facb5b6ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96651 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "flcdrg/sqlformat",
"max_stars_repo_path": "Laan.SQL.Parser/Entities/InsertDeleteStatementBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96652"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using Laan.Sql.Parser.Entities;
namespace Laan.Sql.Parser.Entities
{
public class InsertDeleteStatementBase : CustomStatement, ITableHints
{
internal InsertDeleteStatementBase()
{
TableHints = new List<TableHint>();
... | 1.732964 | 118a8bfff02909c3cee440009091d6fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96652 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SonicTheCat/Databases-Advanced---Entity-Framework",
"max_stars_repo_path": "06.Advanced Relations/PaymentsSystem/P01_BillsPaymentSystem.Data.Models/CreditCard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96653"
} | starcoder | <gh_stars>1-10
namespace P01_BillsPaymentSystem.Data.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
[Table("CreditCards")]
public class CreditCard
{
public CreditCard(decimal limit, decimal ... | 3.289607 | 6591301f5b694cdc3da7cb4abe062d93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kalystee/Platformer_NoName",
"max_stars_repo_path": "Assets/Script/Inventory/Gears.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96654"
} | starcoder | using System.Collections.Generic;
public class Gears
{
public WeaponBase Weapon { get; set; }
public HelmetBase Helmet { get; set; }
public ChestPlateBase Chestplate { get; set; }
public GlovesBase Gloves { get; set; }
public BootsBase Boots { get; set; }
public List<ConsumableBase> Consumable... | 2.874673 | 42b6caa81c57d319166c47292b6ddf43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96654 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "TouhouBoi/LongBar2",
"max_stars_repo_path": "src/KSideBarTileLib/FlyoutEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96655"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
namespace Applications.Sidebar
{
public class FlyoutEventArgs
{
// Fields
private FrameworkElement _FlyoutContent;
// Properties
public FrameworkElement FlyoutContent
{
... | 1.755063 | 952fae525757b5c5a85aeefb74ae9a81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArmandJ77/iNomNomGatewayAPI",
"max_stars_repo_path": "GatewayAPI/Domain/User/Handlers/GetUserByNameHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96656"
} | starcoder | using System;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Domain.Infrastructure;
using Domain.User.DTO;
using Microsoft.EntityFrameworkCore;
using Repositories;
namespace Domain.User.Handlers
{
public class GetUserByNameHandler : BaseHandler, IGetUserByNameHandler
{
public... | 2.624674 | 01bdd57b439a0e125ce340e135c05c2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Michmcb/CsExt",
"max_stars_repo_path": "src/MichMcb.CsExt/Dates/UtcDateTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96657"
} | starcoder | <filename>src/MichMcb.CsExt/Dates/UtcDateTime.cs
namespace MichMcb.CsExt.Dates
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
/// <summary>
/// Represents a UTC Date Time, as milliseconds since 0001-01-01 00:00:00.000.
/// Unlike <see cref="DateTime"/> and <see cre... | 3.171581 | f772a271ab2bae730cb89b8f5910dc2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LyuboslavKrastev/SofiaMetroStations",
"max_stars_repo_path": "SofiaMetroStations/StationDetailsPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96658"
} | starcoder | <filename>SofiaMetroStations/StationDetailsPage.cs<gh_stars>0
using Xamarin.Forms;
using System;
using System.Linq;
using SofiaMetroStations.Data;
using System.Collections.Generic;
namespace SofiaMetroStations
{
public class StationDetailsPage : ContentPage
{
private Button route_1_button;
priv... | 2.85714 | 92aae306535309a0ed63cd594c482b05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FoxCutter/Cubit",
"max_stars_repo_path": "Tools/ZASM/ObjectInformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96659"
} | starcoder | <reponame>FoxCutter/Cubit
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZASM
{
enum ObjectType
{
None,
Command,
Include,
Conditional,
Label,
Opcode,
Value,
Data,
... | 2.310458 | a047a41199874c64d6b5c08da644ed6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96659 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Microsoft/appcenter-sample-export",
"max_stars_repo_path": "sample-console-app/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96660"
} | starcoder | using System;
using System.Threading.Tasks;
using AppCenter.ExportParser;
namespace AppCenter.Samples
{
public class Program
{
public static void Main(params string[] args)
{
if (args.Length != 3)
{
Console.WriteLine("Usage: sample-console-app.exe <insta... | 2.650589 | 08a23c7147260892dcd5d8d175ca0064 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adamped/CognitiveServices",
"max_stars_repo_path": "CognitiveServices/CognitiveServices/Config.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96661"
} | starcoder | <reponame>adamped/CognitiveServices<gh_stars>0
namespace CognitiveServices
{
public class Config
{
public LUIS LUIS { get; set; }
}
public class LUIS
{
public string APIKey { get; set; }
public string APIEndpoint { get; set; }
}
}
| 1.326619 | 50669e108ac2d79ce80e805a7b710fc9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.