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 | 96461 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jonattaz/Save-The-City",
"max_stars_repo_path": "Assets/Scripts/Geral/Bullet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96462"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Bullet : MonoBehaviour
{
[SerializeField]
// Controla a velocidade da bala
protected float speed;
[SerializeField]
// Controla quem irá levar o dano
protected string damageTag;
[SerializeField]
... | 2.432563 | 7d97cdf1cf6aaf5ab708f3462487cbd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1ooIL40/FundamentalsExtendetRepo",
"max_stars_repo_path": "Data Types and Variables - Exercises/07. Exchange Variable Values/ExchangeVariableValues.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96463"
} | starcoder |
namespace _07.Exchange_Variable_Values
{
using System;
public class ExchangeVariableValues
{
public static void Main()
{
int a = 5;
int b = 10;
int c = a;
Console.WriteLine($"Before:\na = {a}\nb = {b}");
a = b;
b = c... | 3.076999 | f48746b7a64c48df8dd8ccc74fd065f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96463 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kamilbaczek/estimation-tool",
"max_stars_repo_path": "Src/Modules/Payments/Divstack.Company.Estimation.Tool.Payments.Persistance/DataAccess/PaymentsContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96464"
} | starcoder | namespace Divstack.Company.Estimation.Tool.Payments.Persistance.DataAccess;
using MongoDB.Driver;
using Payments.Domain.Payments;
internal sealed class PaymentsContext : IPaymentsContext
{
private const string DatabaseName = "EstimationTool";
private const string PaymentsCollectionName = "Payments";
pri... | 2.039158 | f89d79c3c31f57328abac2eba0c39477 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96464 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alex-titarenko/Testcheck",
"max_stars_repo_path": "Testcheck.Core/Helpers/CryptoHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96465"
} | starcoder | <filename>Testcheck.Core/Helpers/CryptoHelper.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
using System.Security.Cryptography;
namespace TAlex.Testcheck.Core.Helpers
{
internal static class CryptoHelper
{
... | 2.857114 | 97cb124cf311d0bb1b3d03fd389a6d3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hsinyu-chen/Hcs.Extensions.OdataClient",
"max_stars_repo_path": "Expressions/ExpressionNodeContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96466"
} | starcoder | <gh_stars>0
using System.Linq.Expressions;
namespace Hcs.Extensions.Odata.Queryable.Expressions
{
public class ExpressionNodeContext
{
public Expression Node { get; }
public Expression ReferenceNode { get; set; }
public ExpressionNodeContext ParentContext { get; set; }
public P... | 1.921813 | 988ad78616ccdfd7778ff4e63e6f992a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gunnsoft/gunnsoft-api",
"max_stars_repo_path": "src/Gunnsoft.Api/Authentication/HeaderSubjectAccessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96467"
} | starcoder | using System;
using Microsoft.AspNetCore.Http;
namespace Gunnsoft.Api.Authentication
{
public class HeaderSubjectAccessor : ISubjectAccessor
{
private readonly Lazy<string> _subject;
public HeaderSubjectAccessor
(
IHttpContextAccessor httpContextAccessor
)
{... | 2.34627 | 984c206e194ac1494fc06b2c2c7a56cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96467 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ahmetsait/LF2.IDE",
"max_stars_repo_path": "LF2.IDE/FormDesign.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96468"
} | starcoder | <reponame>ahmetsait/LF2.IDE
namespace LF2.IDE
{
partial class FormDesign
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Disposes resources used by the form.
/// </summary>... | 1.980215 | 79da6a4a708fc1950df1c5a7b9f58d30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BeltekyKoppany/CSharpGrafok",
"max_stars_repo_path": "GrafFeladat_CSharp/Graf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96469"
} | starcoder | <reponame>BeltekyKoppany/CSharpGrafok
using System;
using System.Collections.Generic;
namespace GrafFeladat_CSharp
{
/// <summary>
/// Irányítatlan, egyszeres gráf.
/// </summary>
class Graf
{
int csucsokSzama;
/// <summary>
/// A gráf élei.
/// Ha a lista tartalmaz... | 3.078098 | d7080e62e97383ac5b996255fe40114a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ndrmc/cats-hub",
"max_stars_repo_path": "Domain/DRMFSS.BLL.Service/SMSService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96470"
} | starcoder | <reponame>ndrmc/cats-hub<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace DRMFSS.BLL.Services
{
public class SMSService : ISMSService
{
private readonly IUnitOfWork _unitOfWork;
public SMSService()
{
this._unitOfWork... | 2.306269 | 560c95834481e67b9243ef2d742a8705 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96470 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "UCL-ORCA/Orca",
"max_stars_repo_path": "OrcaTests/Integration/IntegrationFact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96471"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace OrcaTests.Integration
{
/// <summary>
/// Custom implementation of a Fact (Test attribute) which only runs if the ORCA_INTEGRATION env variable is set to TRUE
/// </su... | 2.586654 | 0cb6b11121d29f7be51820b4db35fd3c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mkpetrov/EFRelations",
"max_stars_repo_path": "P03_FootballBetting/Data/FootballBettingContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96472"
} | starcoder | using Microsoft.EntityFrameworkCore;
using P03_FootballBetting.Data.Models;
namespace P03_FootballBetting.Data
{
public class FootballBettingContext : DbContext
{
DbSet<Bet> Bets { get; set; }
DbSet<Color> Colors { get; set; }
DbSet<Country> Countries { get; set; }
DbSet<Gam... | 2.440631 | a68120ffc714581c95841c085e211419 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96472 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "joaofbantunes/EventDrivenSample",
"max_stars_repo_path": "src/BurgerJoint.StoreFront/Data/Order.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96473"
} | starcoder | using System;
using BurgerJoint.StoreFront.Data.Events;
namespace BurgerJoint.StoreFront.Data
{
public class Order : EntityBase
{
public Guid Id { get; private set; }
public Dish Dish { get; private set; }
public Status Status { get; private set; }
public DateTime CreatedAt {... | 2.555202 | 8c08a786f980f1b6e866eb56ea3fee12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2002-feb24-net/pauls-project0",
"max_stars_repo_path": "DataAccess/Entities/BurgerDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96474"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace DataAccess.Entities
{
public partial class BurgerDbContext : DbContext
{
public BurgerDbContext()
{
}
public BurgerDbContext(DbContextOptions<BurgerDbContext> options)
... | 2.34699 | efd41056f32aeb1e10967fce841ba041 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96474 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "zamgi/lingvo--PosTagger_ru",
"max_stars_repo_path": "pos-tagger-crf.net/PosTaggerScriber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96475"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using lingvo.core;
using lingvo.crfsuite;
using lingvo.tokenizing;
namespace lingvo.postagger
{
/// <summary>
/// Конвертор в формат CRF
/// </summary>
unsafe public sealed class ... | 2.031877 | 25898dfe01d0e13bc186540ba6e18d89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "h10r/YouTubeNetworks",
"max_stars_repo_path": "App/SysExtensions/Threading/TaskExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96476"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using SysExtensions.Collections;
namespace SysExtensions.Threading {
public static class TaskExtensions {
/// <summary>
/// Waits for all of the tasks, however... | 2.983331 | d75b57d5da4604870c4f20b5ae6df44f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96476 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ttanatb/CardBattler",
"max_stars_repo_path": "Assets/Scripts/UI/CardPileView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96477"
} | starcoder | <filename>Assets/Scripts/UI/CardPileView.cs
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
namespace UI
{
public class CardPileView : MonoBehaviour
{
[SerializeField]
TextMeshProUGUI cardCountText_;
// Start is called before the first frame... | 2.25702 | c50158252fcba79063e2ef476f0a06e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96477 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "anthonn/csharp-api-sdk",
"max_stars_repo_path": "FortnoxSDK/Entities.Shared/AccountingMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96478"
} | starcoder | using System.Runtime.Serialization;
namespace Fortnox.SDK.Entities
{
public enum AccountingMethod
{
[EnumMember(Value = "ACCRUAL")]
Accrual,
[EnumMember(Value = "CASH")]
Cash,
}
} | 1.916355 | 1f8527c7403f31e11d895e70af933611 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcarlin27/inventory_csharp_SQL",
"max_stars_repo_path": "Objects/Inventory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96479"
} | starcoder | <filename>Objects/Inventory.cs<gh_stars>0
using System.Collections.Generic;
using System.Data.SqlClient;
using System;
namespace Inventory
{
public class Scarf
{
private string _name;
private int _year;
private string _description;
private int _id;
public Scarf(string Name, int Year, string De... | 3.215577 | 1facc1d16c795c04cb889879b2c870c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fred-Jacobs/tfvc-2-git",
"max_stars_repo_path": "src/Tfvc2Git.Core/Infrastructure/FileSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96480"
} | starcoder | <filename>src/Tfvc2Git.Core/Infrastructure/FileSystem.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Serilog;
namespace Tfvc2Git.Core.Infrastructure
{
public class FileSystem
{
#region Properties
public char CsvSeparator { get; } = ';';
pu... | 2.823001 | 56880382ab80ae6b01e70f9b25bd2db1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96480 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "jakeswenson/envelope-encryption",
"max_stars_repo_path": "csharp/SecureMemory/PlatformNative/LLP64/Windows/CryptProtect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96481"
} | starcoder | <reponame>jakeswenson/envelope-encryption<filename>csharp/SecureMemory/PlatformNative/LLP64/Windows/CryptProtect.cs
namespace GoDaddy.Asherah.PlatformNative.LLP64.Windows
{
public class CryptProtect
{
public const ulong BLOCKSIZE = 16;
}
}
| 1.335299 | 5796be941257f1f3b921c134f3f93889 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96481 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sameeranihathe/Patch-Master",
"max_stars_repo_path": "Patch-Master/Patch-Master/Forms/Requirements.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96482"
} | starcoder | <reponame>sameeranihathe/Patch-Master<gh_stars>1-10
using System;
namespace Patch_Master.Forms
{
partial class Requirements
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 1.843212 | c1bd3a2bcd5718c3c9a546c371e0603f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dualog-students/DualogSwaggerUI",
"max_stars_repo_path": "AuthServer/Views/Consent.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:96483"
} | starcoder | <reponame>Dualog-students/DualogSwaggerUI<gh_stars>0
@model SwaggerUI.AuthServer.Controllers.ConsentViewModel
<style>
</style>
<h1>Consent</h1>
<p>
@Model.ClientName is requesting your permission to ...
</p>
<form asp-controller="Consent" asp-action="Consent">
<input type="hidden" asp-for="ReturnUrl" />
... | 2.211124 | 732cb8e1522cf5a8008ad0dc24d1ac01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RDF-Utilities-dotnet/SE2Rdf",
"max_stars_repo_path": "src/SE2Rdf/Converter.PostLinks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96484"
} | starcoder | <gh_stars>0
/*
------------------------------------------------------------------------------
This source file is a part of SE2Rdf.
Copyright (c) 2015 VIS/University of Stuttgart
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (t... | 2.057094 | 991068f9f9266a34c9f1bc0782b7d526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muwaqar/azure-powershell",
"max_stars_repo_path": "src/ResourceManager/Consumption/Commands.Consumption/Models/PSUsageDetail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96485"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... | 1.804757 | 37a0ffbafcdbb2f5476fccf15b3353ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zcxb/lily",
"max_stars_repo_path": "templates/lilysimple/src/LilySimple.Infra/Shared/Consts/ApiResponseFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96486"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace LilySimple.Shared.Consts
{
public static class ApiResponseFormat
{
public const string Tree = "tree";
public const string List = "list";
}
}
| 1.596738 | cf6f765b1357b435f60d66076acc79b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96486 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marodev/EventStore",
"max_stars_repo_path": "src/EventStore.Core/LogAbstraction/IRecordFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96487"
} | starcoder | using System;
using EventStore.Core.TransactionLog.LogRecords;
namespace EventStore.Core.LogAbstraction {
public interface IRecordFactory {
ISystemLogRecord CreateEpoch(EpochRecord epoch);
}
public interface IRecordFactory<TStreamId> : IRecordFactory {
IPrepareLogRecord<TStreamId> CreatePrepare(
long logPo... | 1.90301 | 395824ffd085d36d9f9119efc15e865c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aratzky/ArGo",
"max_stars_repo_path": "ArGo/walletPasswordWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96488"
} | starcoder | <gh_stars>0
using System.Windows;
using ArGo.src;
namespace ArGo
{
/// <summary>
/// Interaction logic for walletPasswordWindow.xaml
/// </summary>
public partial class walletPasswordWindow : Window
{
public walletPasswordWindow(string walletPath)
{
Init... | 1.932482 | 425bae879d7a28568159bc4650b392cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adamajammary/simple-tower-defense",
"max_stars_repo_path": "Assets/Scripts/ObjectPool_script.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96489"
} | starcoder | <reponame>adamajammary/simple-tower-defense<filename>Assets/Scripts/ObjectPool_script.cs<gh_stars>0
//using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool_script : MonoBehaviour
{
[SerializeField]
private GameObject[] _objectPrefabs;
private List<GameObje... | 2.412897 | c70f0f5e26169344b746d06c9b2d3a23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96489 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "StatTag/StatTag",
"max_stars_repo_path": "R/RMarkdownAutomation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96490"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RDotNet;
using StatTag.Core.Exceptions;
using StatTag.Core.Models;
using StatTag.Core.Parser;
using StatTag.Core.Utility;
namespace R
{
public class RMarkdownAutomation : RAut... | 2.591156 | eb63db75d768024a6bd45bb164a8340d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96490 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "kemmis/Kemmis.MyWorkItemsOnPendingChangesPage",
"max_stars_repo_path": "Kemmis.MyWorkItemsOnPendingChangesPage/Models/WorkItemModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96491"
} | starcoder | namespace Kemmis.MyWorkItemsOnPendingChangesPage.Models
{
public class WorkItemModel
{
public string Title { get; set; }
public int Id { get; set; }
public string WorkItemType { get; set; }
public string State { get; set; }
public string AssignedTo { get; set; }
... | 1.709382 | 8a503611055c761375996dd65b211adc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96491 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "homura/tippy",
"max_stars_repo_path": "src/Tippy/Pages/DeniedTransactions/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:96492"
} | starcoder | @page
@model Tippy.Pages.DeniedTransactions.CreateModel
@{
}
| 1.500102 | 196c393b3f8c8d1312c5371dbc1b226e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96492 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/containerregistry/Microsoft.Azure.ContainerRegistry/src/Generated/Models/BlobGetChunkHeaders.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96493"
} | starcoder | <filename>sdk/containerregistry/Microsoft.Azure.ContainerRegistry/src/Generated/Models/BlobGetChunkHeaders.cs
// <auto-generated>
// 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 Micros... | 1.999453 | 59e5cc2aa8b9f464bf2cbdf35fb0764f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sotanmochi/YouTubeDataAPI-Unity",
"max_stars_repo_path": "Assets/YouTubeDataAPI-Unity/AggregationExample/ChatMessageAggregationExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96494"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
namespace YouTubeDataAPI.Examples
{
public enum Color
{
Red,
Green,
Blue,
}
public class ChatMessageAggregationExample : MonoBehaviour
{
[SerializeField] YouTubeDataAPIConfigs _Configs;
You... | 2.674357 | 696f4cbe41e7454ae1561590d19f8317 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96494 | {
"extension": "c-sharp",
"max_stars_count": "216.0",
"max_stars_repo_name": "brcaswell/FIFA-Ultimate-Team-Toolkit",
"max_stars_repo_path": "UltimateTeam.Toolkit/Models/ValidateResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96495"
} | starcoder | namespace UltimateTeam.Toolkit.Models
{
public class PhishingToken
{
public string Code { get; set; }
public string Debug { get; set; }
public string Reason { get; set; }
public string String { get; set; }
public string Token { get; set; }
}
} | 1.592523 | d005d39bdec1d7d202a1cc52c5278479 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EnriqueUbillus/OnlineServices-RegistrationService",
"max_stars_repo_path": "Cross-Cutting/OnlineServices.Shared/TranslationServices/IMultiLanguageNameFields.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96496"
} | starcoder | <reponame>EnriqueUbillus/OnlineServices-RegistrationService<filename>Cross-Cutting/OnlineServices.Shared/TranslationServices/IMultiLanguageNameFields.cs
namespace OnlineServices.Shared.TranslationServices
{
public interface IMultiLanguageNameFields
{
string NameEnglish { get; set; }
string Name... | 1.687715 | cc760009161956d9b33cca398eb6bf5b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96496 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AiridasKutra/SupportYourLocals-5gr1pgr",
"max_stars_repo_path": "localhostUI/UserInformationForm/AppSettingsPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96497"
} | starcoder | <filename>localhostUI/UserInformationForm/AppSettingsPanel.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace localhostUI
{
public partial class AppSettingsPanel : Form, IPa... | 1.96275 | ffa585e5efcddc2549e03558bb7a7869 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96497 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "namofun/polygon",
"max_stars_repo_path": "src/Packaging/Statements/StatementWriterMarkdown.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96498"
} | starcoder | <filename>src/Packaging/Statements/StatementWriterMarkdown.cs
using Markdig;
using Markdig.Renderers.LaTeX;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using Microsoft.Extensions.FileProviders;
using Polygon.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
u... | 2.522719 | 95f98d608d51ab514c05b9e27bd59083 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96498 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zhangjianqi/RRQMSkin",
"max_stars_repo_path": "RRQMSkin/Charts/Pie/PieChartItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96499"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using RRQMSkin.Charts.Primitives;
using RRQMSkin.DragDrop;
namespace RRQMSkin.Charts
{
publi... | 2.505914 | 6d1d43c85a5fbe711bc10327db2c393c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96499 | {
"extension": "c-sharp",
"max_stars_count": "964.0",
"max_stars_repo_name": "hossamamer7/AsyncAwaitBestPractices",
"max_stars_repo_path": "Src/AsyncAwaitBestPractices.UnitTests/SafeFireAndForgetTests/Tests_Task_SafeFireAndForget.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96500"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace AsyncAwaitBestPractices.UnitTests
{
class Tests_SafeFireAndForget : BaseTest
{
[SetUp]
public void BeforeEachTest()
{
SafeFireAndForgetExtensions.Initialize(false);
... | 2.59553 | 09fd0575ff5558e909ccee3ae00d4852 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96500 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "magicskysword/Next",
"max_stars_repo_path": "Next/Scr/StaticFace/CustomStaticFaceInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96501"
} | starcoder | <reponame>magicskysword/Next
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace SkySwordKill.Next.StaticFace
{
public class CustomStaticFaceInfo
{
[JsonProperty(Order = 0)]
public int ID { get; set; }
[JsonProperty(Order = 1)]
public ... | 2.336026 | 81352a4d73179ec2a534ae2eb3747d56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mylab-tools/rebbit-client",
"max_stars_repo_path": "src/MyLab.RabbitClient/Consuming/IRabbitConsumer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96502"
} | starcoder | <filename>src/MyLab.RabbitClient/Consuming/IRabbitConsumer.cs
using System.Threading.Tasks;
using RabbitMQ.Client.Events;
namespace MyLab.RabbitClient.Consuming
{
/// <summary>
/// Defines consumer logic interface
/// </summary>
public interface IRabbitConsumer
{
/// <summary>
/// ... | 2.004404 | 062a41ec1512882dfeca43f5bd2c1183 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96502 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Berat-Dzhevdetov/DeemZ-Platform",
"max_stars_repo_path": "DeemZ/DeemZ.Web/Controllers/QuestionController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96503"
} | starcoder | namespace DeemZ.Web.Controllers
{
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using DeemZ.Services.Question;
using DeemZ.Services.ExamServices;
using DeemZ.Models.FormModels.Exam;
using DeemZ.Web.Infrastructure;
using DeemZ.Web.Areas.Administration.Controllers;... | 1.913489 | 3775733795716fef15cac006d5651425 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96503 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "plantain-00/csharp-demo",
"max_stars_repo_path": "OldThings/HtmlTemplate/HtmlTemplate/RuleFamily/CodeRuleBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96504"
} | starcoder | <reponame>plantain-00/csharp-demo
using System.Windows.Input;
using HtmlTemplate.TextBoxFamily;
namespace HtmlTemplate.RuleFamily
{
public abstract class CodeRuleBase : RuleBase
{
public override void InputSingleQuotation(TextEditor textBox, KeyEventArgs e)
{
textBox.Insert("", "'... | 2.025557 | b272e5edc8a81f130ad07ec9e9db0ea6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96504 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamieBickers/UkcLogbookMapper",
"max_stars_repo_path": "LocationsMapperTests/Models/UkcDateParserTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96505"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LocationsMapper.Models;
namespace LocationsMapperTests
{
[TestClass]
public class UkcDateParserTests
{
[TestMethod]
public void KnownThisYear()
{
var date = "12/May";
var parsedDate = U... | 2.468301 | d6a48f1488bc346826ba3010cb1887bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96505 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bbqchickenrobot/Voron.Graph",
"max_stars_repo_path": "src/Voron.Graph/GraphStorage.Commands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96506"
} | starcoder | using Sparrow;
using System.Runtime.CompilerServices;
using Voron.Data.Tables;
using System.Linq;
using System.Collections.Generic;
using System.Net;
namespace Voron.Graph
{
public unsafe partial class GraphStorage
{
public long AddVertex(Transaction tx, byte[] data)
{
fixed(byte* dataPtr = data... | 2.591165 | b86614931b2398dc16ed34dcd560e608 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muzudho/csharp-tile-to-png",
"max_stars_repo_path": "Source/TileToPng/TileMapModel/TileMapItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96507"
} | starcoder | <reponame>muzudho/csharp-tile-to-png<gh_stars>0
namespace Grayscale.TileToPng
{
using System.Drawing;
/// <summary>
/// タイルの項目。
/// </summary>
public class TileMapItem
{
/// <summary>
/// 空っぽのタイル。
/// </summary>
public static readonly TileMapItem Empty = new Til... | 2.683809 | f2e9ae48a1166db3120fb483100cd227 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96507 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PLCnext/PLCnext_CLI",
"max_stars_repo_path": "src/PlcNext.CppParser/CppRipper/CodeModel/CppCodeModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96508"
} | starcoder | <gh_stars>1-10
#region Copyright
///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Phoenix Contact GmbH & Co KG
// This software is licensed under Apache-2.0
//
///////////////////////////////////////////////////////////////////////////////
#endregion
using... | 1.996345 | fc539f686046c892576ef68aa07f7fd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96508 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MaxxWyndham/unluacNet",
"max_stars_repo_path": "unluacNet/decompile/expression/FunctionCall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96509"
} | starcoder | using System;
using System.Collections.Generic;
namespace unluac.decompile.expression
{
using Output = unluac.decompile.Output;
public class FunctionCall : Expression
{
private readonly Expression function;
private readonly Expression[] arguments;
private readonly bool multiple;
pub... | 2.597368 | 061c46d9a5c63a8e5344bf6c81ebd33e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96509 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "smackem/black-watch",
"max_stars_repo_path": "src/BlackWatch.Core/Services/RedisRequestQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96510"
} | starcoder | <reponame>smackem/black-watch
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BlackWatch.Core.Contracts;
using BlackWatch.Core.Util;
using Microsoft.Extensions.Logging;
namespace BlackWatch.Core.Services;
/// <summary>
/// implements a <see cref="IRequestQueue"/>... | 2.376889 | 269ea25b45b67c46c58d0478780ebc1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96510 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aliencube/GymLog",
"max_stars_repo_path": "src/GymLog.FunctionApp/Models/RequestMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96511"
} | starcoder | <gh_stars>1-10
using System;
using GymLog.FunctionApp.Traces;
using Newtonsoft.Json;
namespace GymLog.FunctionApp.Models
{
/// <summary>
/// This represents the request message entity. This MUST be inherited.
/// </summary>
public abstract class RequestMessage
{
/// <summary>
/// ... | 1.709609 | a933f916d695d08c45967badc9056b70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96511 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jiabiao/spi-client-windows",
"max_stars_repo_path": "SPIClient.Test/PairingTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96512"
} | starcoder | <gh_stars>1-10
using System.Numerics;
using Xunit;
using SPIClient;
namespace Test
{
public class PairingTests
{
[Fact]
public void TestPairingKeyResponse()
{
// We don't have secrets to start with.
Secrets secrets = null;
// We've jus... | 2.316529 | b6f70bd5d14bd6f85b4abb1def0e4e6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntonyGarand/ppInk",
"max_stars_repo_path": "src/FormInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96513"
} | 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.Windows.Forms;
namespace gInk
{
public partial class FormInput : Form
{
Microsoft.Ink.Stroke stroke;
... | 1.881256 | c2167d3e3952b44b4d50963da2fc5680 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96513 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jbatonnet/tramurway",
"max_stars_repo_path": "TramUrWay.Android/Utils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96514"
} | starcoder | <reponame>jbatonnet/tramurway<filename>TramUrWay.Android/Utils.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data.Common;
using System.Linq;
using System.Net;
using Android.App;
using Android.Content;
using Android.Database;
using Android.Graphics;
using Android.OS;
using A... | 2.216228 | 2ce95d1f8eee5108d1bf5c36634d9fe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NovakVed/PracticingCoding",
"max_stars_repo_path": "ZadaciIZExcela/112Zadatak/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96515"
} | starcoder | namespace _112Zadatak
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param ... | 2.408275 | 2a9819278c0876c3524cfa4bb36e4ce3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96515 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "miguelcjalmeida/DOTEModder",
"max_stars_repo_path": "Modder/Ships/Loaders/ShipConfigurationLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96516"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Modder.Common.Loaders;
using Modder.Ships.Entities;
namespace Modder.Ships.Loaders
{
public class ShipConfigurationLoader : XmlLoader
{
public IList<Ship> LoadFromAssets(string assetsPath)
{
... | 2.419945 | 0fce69b64d5206ff0003a8c8026f5e5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frigus02/RESTer-Server",
"max_stars_repo_path": "RESTer.Server.Repositories/Models/StsOAuth2RefreshToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96517"
} | starcoder | using MongoDB.Bson;
namespace RESTer.Server.Repositories.Models
{
public class StsOAuth2RefreshToken
{
public string Id { get; set; }
public string ClientId { get; set; }
public string UserId { get; set; }
}
}
| 1.32453 | 05b7914d0639affe55b4d79b61bb68e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96517 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "NakamaNetwork/nakama.legacy",
"max_stars_repo_path": "Source/TreasureGuide.Entities/TeamComment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96518"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 1.712959 | 62b8c7ab408188bf7b7cfb2e4d223566 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrownieBunch/Tea",
"max_stars_repo_path": "Assets/Resources/Scripts/UIScripts/ToggleUIFeature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96519"
} | starcoder | <reponame>BrownieBunch/Tea
using UnityEngine;
using System.Collections;
public class ToggleUIFeature : MonoBehaviour
{
bool isPaused;
//pause screen is removed
public GameObject UIScreen;
public GameObject[] otherUIScreens;
//to keep an overview of input keys and not search through scripts
... | 2.348856 | 7e6209e7545e77a70ba54567da99cc10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96519 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AdrianTayeh/Wu-Xing",
"max_stars_repo_path": "Wu_Xing/Projectile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96520"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace Wu_Xing
{
class ProjectileAttributes
{
public int CriticalChance;
... | 2.423644 | df8788c2e229b71f10ea5e2216a91a12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96520 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "saman-hosseini/tatum-csharp",
"max_stars_repo_path": "src/Tatum/Model/Responses/Ada/AdaAccount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96521"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace TatumPlatform.Model.Responses
{
public class AdaAccount
{
[JsonPropertyName("summary")]
public AdaSummary Summary { get; set; }
... | 2.022964 | d1bd05eb02919decc555b4615f0514f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Feonya/JetPaper_Edu",
"max_stars_repo_path": "Assets/Scripts/UI/PauseExitButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96522"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class PauseExitButton : MonoBehaviour
{
private Button pauseExitButton;
private GameObject resumeAndExitButtons;
private StateMachine stateMachine;
private void Start()
{
pauseExitButton = GetC... | 1.856535 | 51f62965c526a95ab9f772f8eafe9729 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96522 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "friendlyanon/zoragen-blazor",
"max_stars_repo_path": "zoragen-blazor/Services/Interfaces/ILocalStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96523"
} | starcoder | /* This program is free software. It comes without any warranty, to the extent
* permitted by applicable law. You can redistribute it and/or modify it under
* the terms of the Do What The Fuck You Want To Public License, Version 2, as
* published by Sam Hocevar. See http://www.wtfpl.net/ for more details. */
using ... | 2.041588 | 0c0702caa1f9efafaf8b6b4e63459499 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alireza-rezaee/interactive",
"max_stars_repo_path": "src/Microsoft.DotNet.Interactive/Parsing/ParsingExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96524"
} | starcoder | <filename>src/Microsoft.DotNet.Interactive/Parsing/ParsingExtensions.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.CommandLine... | 2.427734 | 84fc940af14895c69d75b775407f1aa5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96524 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SystemExtensions/System.Extensions",
"max_stars_repo_path": "Samples/BasicSample/HttpSample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96525"
} | starcoder | <reponame>SystemExtensions/System.Extensions
using System;
using System.Text;
using System.Extensions.Http;
using System.IO;
using System.Threading.Tasks;
using System.Dynamic;
namespace BasicSample
{
public class HttpSample
{
public static void Run()
{
//testFile
var t... | 2.701817 | 052775087ca3b5c02331392c89f1991b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96525 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "JimCordwell/Free.FileFormats.VRML",
"max_stars_repo_path": "26 Humanoid Animation/Interfaces/IX3DHAnimSiteNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96526"
} | starcoder | namespace Free.FileFormats.VRML.Interfaces
{
public interface IX3DHAnimSiteNode
{
}
}
| 0.867604 | 9f5a8559141b34903460a9cd29f8e77c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96526 | {
"extension": "c-sharp",
"max_stars_count": "322.0",
"max_stars_repo_name": "jairbubbles/csharp-language-server-protocol",
"max_stars_repo_path": "src/Protocol/AssemblyRegistrationOptionsAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96527"
} | starcoder | using System;
namespace OmniSharp.Extensions.LanguageServer.Protocol
{
/// <summary>
/// Used by source generation to add generation options to a given assembly.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class AssemblyRegistrationOptionsAttribute : Attr... | 2.387453 | be76832799717df579a08b6280856611 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96527 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lucax88x/JobTimer",
"max_stars_repo_path": "src/JobTimer.Data.Access/Migrations/201512271202032_Initial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96528"
} | starcoder | namespace JobTimer.Data.Access.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Initial : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.LastVisited",
c => new
{
... | 2.117111 | 712a4db274f520cbd9ad25d0bb199276 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96528 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aarrgard/solidrpc",
"max_stars_repo_path": "SolidRpc.Abstractions/Services/ISolidRpcHost.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96529"
} | starcoder | <reponame>aarrgard/solidrpc
using SolidRpc.Abstractions.Security;
using SolidRpc.Abstractions.Types;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace SolidRpc.Abstractions.Services
{
/// <summary>
/// Represents a solid rpc host.
/// </summary... | 2.359154 | 68b648a76b85511fee72e9ea103db372 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SergtoUn/GunSudexDoc",
"max_stars_repo_path": "adminlte/Areas/Manager/Views/CallViewModels/CreateContract.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:96530"
} | starcoder | <filename>adminlte/Areas/Manager/Views/CallViewModels/CreateContract.cshtml
@{
ViewBag.Title = "CreateContract";
Layout = "~/Areas/Manager/Views/Shared/_LayoutManager.cshtml";
}
<h2>CreateContract</h2>
<div>
</div>
<div>
@Html.ActionLink("Назад", "Index")
</div>
| 1.543231 | 82e080829473652e4de0f90e16c5deaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zgynhqf/trunk",
"max_stars_repo_path": "Rafy/WPF/Rafy.WPF.Controls/TreeGrid/TreeGridCell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96531"
} | starcoder | <gh_stars>0
/*******************************************************
*
* 作者:胡庆访
* 创建时间:2011
* 说明:此文件只包含一个类,具体内容见类型注释。
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 2011
*
*******************************************************/
using System;
using System.Collections.Generic;
using Syste... | 2.153215 | 06511ca69bbcd9a90f12812635aeb3a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohanNel/XSharpPublic",
"max_stars_repo_path": "VisualStudio/ProjectPackage/LanguageService/XSharpScanner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96532"
} | starcoder | ////
//// Copyright (c) XSharp B.V. All Rights Reserved.
//// Licensed under the Apache License, Version 2.0.
//// See License.txt in the project root for license information.
////
//using Microsoft.VisualStudio.Package;
//using Microsoft.VisualStudio.TextManager.Interop;
//using System;
//using System.Collection... | 2.573461 | 1a30e250619f9e052dfb55450d2399e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RighteousRyan1/AerovelenceMod",
"max_stars_repo_path": "Content/Items/Armor/Frost/FrostMail.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96533"
} | starcoder | using AerovelenceMod.Content.Items.Others.Crafting;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace AerovelenceMod.Content.Items.Armor.Frost
{
[AutoloadEquip(EquipType.Body)]
public class FrostMail : ModItem
{
public override void SetStaticDefaults()
{
Dis... | 1.9008 | d42a39a000577e5ac5d0557d97c612d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96533 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JDouglasMendes/arquitetura-corporativa",
"max_stars_repo_path": "src/RH/RH.Infra.Data/Repository/OcorrenciaDeFeriasRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96534"
} | starcoder | using RH.Domain.Ocorrencias.Ferias;
using RH.Domain.Ocorrencias.Ferias.Contracts;
using RH.Infra.Data.DAO.Contracts;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RH.Infra.Data.Repository
{
public class OcorrenciaDeF... | 2.132732 | 132cba2cdbbae64374af9cb6e539b872 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96534 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "a-patel/Azure-Labs",
"max_stars_repo_path": "src/AzureLabs.Storage.Queue/Class1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96535"
} | starcoder | using System;
namespace AzureLabs.Storage.Queue
{
public class Class1
{
}
}
| 0.981145 | b102a10e973c6b289db56172c8fa50f6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96535 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "corvus-dotnet/Corvus.Monitoring",
"max_stars_repo_path": "Solutions/Corvus.Monitoring.Instrumentation.Abstractions/Corvus/Monitoring/Instrumentation/IOperationsInstrumentation{T}.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96536... | starcoder | // <copyright file="IOperationsInstrumentation{T}.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
namespace Corvus.Monitoring.Instrumentation
{
/// <summary>
/// Enables reporting of operations for monitoring and diagnostic purposes.
/// </summary>
/... | 2.260846 | 704f58fe954a301b9d105539d8187e1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96536 | {
"extension": "c-sharp",
"max_stars_count": "245.0",
"max_stars_repo_name": "mehmetcanbudak/LiveSPICE",
"max_stars_repo_path": "LiveSPICE/Utils/RootExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96537"
} | starcoder | <filename>LiveSPICE/Utils/RootExtension.cs
using System;
using System.Windows.Markup;
using System.Xaml;
namespace LiveSPICE
{
// http://www.codeproject.com/Tips/612994/Binding-with-Properties-defined-in-Code-Behind
public class RootExtension : MarkupExtension
{
public override object ProvideValue... | 2.327014 | bd328f45c86a1fd86edf0ea2986ad2d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "the-best-cool/RX-Explorer",
"max_stars_repo_path": "RX_Explorer/View/TextViewer.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96538"
} | starcoder | <filename>RX_Explorer/View/TextViewer.xaml.cs<gh_stars>0
using RX_Explorer.Class;
using System;
using System.Linq;
using System.Collections.ObjectModel;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.C... | 2.467887 | b5be6a726494dfb38318f505da3fc9cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96538 | {
"extension": "c-sharp",
"max_stars_count": "807.0",
"max_stars_repo_name": "lucasassislar/splitplaypc",
"max_stars_repo_path": "Master/Nucleus.Coop.App/Codebase/Controls/CTabControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96539"
} | starcoder | <gh_stars>100-1000
// From http://dotnetrix.co.uk/tabcontrol.htm#tip2
using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace Nucleus.Coop.App.Controls {
/// <summary>
/// Summary description for TabControl.
/// </summary... | 2.220144 | d65e18604dd03bbac731c07f98fdd5a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joelhoisko/Runtime",
"max_stars_repo_path": "Source/Grpc.Interaction/Nuget/Protobuf/Conversion/GeneralExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96540"
} | starcoder | <filename>Source/Grpc.Interaction/Nuget/Protobuf/Conversion/GeneralExtensions.cs
/*---------------------------------------------------------------------------------------------
* Copyright (c) Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
... | 2.636648 | 2c4dcffbba556502751e9a9e338c60e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96540 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "awest03/TechCraft",
"max_stars_repo_path": "TechCraft/sourceCode/techcraft/TechCraft/TechCraft4.0Engine/Components/TechEngineComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96541"
} | starcoder | <reponame>awest03/TechCraft
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Micros... | 2.005007 | 821ae31052f2c2db3130a9f91c13d84f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96541 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qq863391602/demo",
"max_stars_repo_path": "T4-Template-POCO-Example/Export/T_Material.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96542"
} | starcoder | <reponame>qq863391602/demo<filename>T4-Template-POCO-Example/Export/T_Material.cs
using System;
using NPoco;
using System.ComponentModel.DataAnnotations;
namespace Electric.Domain.Entities
{
/// <summary>
/// Represents a T_Material.
/// NOTE: 这个类是从T4模板生成的——你不应该手动修改它。
/// </summary>
[MetadataType(typ... | 2.337234 | 35c99245470b28403e200ccc5801a927 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96542 | {
"extension": "c-sharp",
"max_stars_count": "2975.0",
"max_stars_repo_name": "IllusionCui/UniTask",
"max_stars_repo_path": "src/UniTask.NetCoreTests/CompletionSourceTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96543"
} | starcoder | using Cysharp.Threading.Tasks;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Channels;
using Cysharp.Threading.Tasks.Linq;
using System.Threading.Tasks;
using Xunit;
namespace NetCoreTests
{
public class... | 2.434439 | 39f5b39bd28a25f5481bc279deffebd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msusur/xRMCiFramework2016",
"max_stars_repo_path": "Xrm.Framework.CI.PowerShell/Common/PhoneCall.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96544"
} | starcoder | <filename>Xrm.Framework.CI.PowerShell/Common/PhoneCall.cs
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.Serialization;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Client;
namespace Xrm.Framework.CI.Common.Entitie... | 2.501273 | 11d7a8380f09d6dade08bf64e544158b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96544 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/BATTLEGROUNDS/TB/Sim_TB_BaconShop_8P_PlayerE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96545"
} | starcoder |
/* _BEGIN_TEMPLATE_
{
"id": "TB_BaconShop_8P_PlayerE",
"name": [
"战棋商店8玩家强化",
"BaconShop8PlayerEnchant"
],
"text": [
null,
null
],
"CardClass": "NEUTRAL",
"type": "ENCHANTMENT",
"cost": null,
"rarity": null,
"set": "BATTLEGROUNDS",
"collectible": null,
"dbfId": 57980
}
_END_TEMP... | 1.300085 | c32f5ecd3550fdef5de443ec90ad415e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96545 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BigEggStudy/LeetCode-CS",
"max_stars_repo_path": "LeetCode.Test/0051-0100/076-MinimumWindowSubstring-Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96546"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _076_MinimumWindowSubstring_Test
{
[TestMethod]
public void MinWindowTest()
{
var solution = new _076_MinimumWindowSubstring();
var result = solution.MinWi... | 2.857428 | 8299296d733fcbcd6db9d4818cf249fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96546 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "N-Valchanov/Voting-System",
"max_stars_repo_path": "VotingSystem/Views/Vote/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:96547"
} | starcoder | <gh_stars>1-10
@model VotingSystem.Models.InputModels.SubmitVoteInputModel
@{
ViewBag.Title = "Quick Poll";
}
<div class="row">
@using (Html.BeginForm("SubmitVote", "Vote", null, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.AntiForgeryToken()
@H... | 2.423584 | 96dffe9b5e94a1e1d1ae9dfbc03919e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onefiftyone/TearDrops",
"max_stars_repo_path": "OneFiftyOne.TearDrops.Repository/GenericRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96548"
} | starcoder | <filename>OneFiftyOne.TearDrops.Repository/GenericRepository.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Simple.Data;
using System.Dynamic;
using OneFiftyOne.TearDrops.Common;
namespace OneFiftyOne.TearDr... | 2.980574 | b6a006aeb64648624f5468e6411b4c5c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96548 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "quantumsheep/thousands-sheep",
"max_stars_repo_path": "Assets/Web3Unity/Scripts/Prefabs/ERC1155/ERC1155URIExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96549"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ERC1155URIExample : MonoBehaviour
{
async void Start()
{
string chain = "binance";
string network = "mainnet";
string contract = "0x3E31F70912c00AEa971A8b2045bd568D738C31... | 2.259197 | 94ee85035d3caf432bb7907e244f8d0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96549 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "pirica/FTN-Power",
"max_stars_repo_path": "src/UnrealEngine4/FortnitePakManager/Utilities/AssetsUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96550"
} | starcoder |
using Microsoft.Win32;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using PakReader;
using SkiaSharp;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using FProp = FortnitePakManager.Settings;
namespace FModel.Methods.Utilities
{
static class AssetsU... | 2.579091 | 51aace60fa435d7a1a4af3a271359da2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96550 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "amosvoron/QueryTalk",
"max_stars_repo_path": "demo/querying/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96551"
} | starcoder | <filename>demo/querying/Program.cs
using System;
using QueryTalk;
using s = QueryTalk.Db.QueryTalkBase;
namespace QueryTalkDemo
{
class Program
{
static void Main(string[] args)
{
d.SetConnection(@"Data Source=UNICE\SQL2016;Initial Catalog=QueryTalkBase;Integrated Security=True;");... | 2.769707 | 5f01e83ff14e1da07a4d6bd719d29bb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96551 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Enigmatrix/Cobalt",
"max_stars_repo_path": "Cobalt.Common.UI/Converters/ObservableConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96552"
} | starcoder | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using Cobalt.Common.IoC;
namespace Cobalt.Common.UI.Converters
{
public abstract class ObservableConverter<T, TE> : DependencyObject, IMultiValueConverter
{
public static readonly DependencyProperty BufferDurati... | 2.485797 | e2a876cdd910fe1e6a8f427295d763c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Stitch37/hammertime",
"max_stars_repo_path": "src/items/DiggerItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96553"
} | starcoder | using Vintagestory.API.Common;
using Vintagestory.API.Common.Entities;
using Vintagestory.API.MathTools;
namespace hammertime.items
{
public class DiggerItem : Item
{
public override bool OnBlockBrokenWith(IWorldAccessor world, Entity byEntity, ItemSlot itemslot,
BlockSelection bl... | 2.445445 | b56a33797672d0da5785071377bd3e12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chumpon-asaneerat/DMT.TA.TODv3",
"max_stars_repo_path": "09.App/DMT.TOD.App/TOD/Pages/TollAdmin/JobListPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96554"
} | starcoder | #region Using
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Windows.Threading;
using System.Windows;
using System.Windows.Controls;
using DMT.Configurations;
using DMT.Models;
using DMT.Services;
using NLib;
using NLib.Services;
using NLib.Reflection;
#end... | 1.942709 | 1ee94d96ef31dd08e4baa3227b21d9f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96554 | {
"extension": "c-sharp",
"max_stars_count": "3903.0",
"max_stars_repo_name": "CK-LinoPro/language-ext",
"max_stars_repo_path": "LanguageExt.Tests/ChoiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96555"
} | starcoder | using System;
using LanguageExt;
using LanguageExt.ClassInstances;
using static LanguageExt.Prelude;
using Xunit;
using System.Threading.Tasks;
namespace LanguageExt.Tests
{
public class ChoiceTests
{
[Fact]
public void TryFirstChoice()
{
var ma = Try(() => 123);
... | 2.312166 | e6115c5ab26ed68a6f898da8c5d23e4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "unity-game-framework/ugf-kernel",
"max_stars_repo_path": "Packages/UGF.Kernel/Runtime/Loaders/KernelConfigLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96556"
} | starcoder | using System.Threading.Tasks;
using UnityEngine;
namespace UGF.Kernel.Runtime.Loaders
{
public abstract class KernelConfigLoader : MonoBehaviour, IKernelConfigLoader
{
public abstract Task<IKernelConfig> Load();
}
}
| 1.543962 | dcd0d475786fdde5cc1ac54ccc4c7b37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GIrimia96/TripPlannerV2",
"max_stars_repo_path": "TripPlanner/Cqrs.Service/QueryHandlers/QueryDispatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96557"
} | starcoder | <filename>TripPlanner/Cqrs.Service/QueryHandlers/QueryDispatcher.cs
using System;
using Autofac;
using Cqrs.Service.QueryContracts;
namespace Cqrs.Service.QueryHandlers
{
public class QueryDispatcher : IQueryDispatcher
{
private readonly IComponentContext _componentContext;
public QueryDispat... | 2.342155 | 1f8a459a4be964f09b9dc39cc0f7018e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lanceccraig/SpreadsheetIO",
"max_stars_repo_path": "tests/SpreadsheetIO.Facts/Reading/Internal/ResourcePropertyDefaultValueResolverFacts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96558"
} | starcoder | <gh_stars>0
using LanceC.SpreadsheetIO.Facts.Testing.Creators;
using LanceC.SpreadsheetIO.Facts.Testing.Fakes.Models;
using LanceC.SpreadsheetIO.Mapping;
using LanceC.SpreadsheetIO.Mapping.Extensions;
using LanceC.SpreadsheetIO.Reading;
using LanceC.SpreadsheetIO.Reading.Internal;
using Moq.AutoMock;
using Xunit;
name... | 1.877923 | 7be645e869b98d66c9f78b8b94491596 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96558 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Coding4FunProjects/Coding4FunToolk",
"max_stars_repo_path": "Experimental/FileExplorer/FileExplorerExperimental/FileExplorerExperimental/Control/Interop/FileExplorerItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96559"
} | starcoder | using System.ComponentModel;
namespace FileExplorerExperimental.Control.Interop
{
public class FileExplorerItem : INotifyPropertyChanged
{
private string _name;
public string Name
{
get
{
return _name;
}
set
... | 2.735534 | 4a60eff01c67dc33d3e92c6cd1f455dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96559 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Frederick-S/30-seconds-of-csharp",
"max_stars_repo_path": "ThirtySecondsOfCSharp/Lists/IsSorted.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96560"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace ThirtySecondsOfCSharp.Lists
{
public partial class Lists
{
public static int IsSorted<T>(List<T> list)
where T : IComparable
{
Debug.Assert(list.Count > 1, "The list should c... | 3.222516 | 647c18ae95883a2ae1d71345ce644553 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 96560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leixf2005/Alipay.AopSdk.Core",
"max_stars_repo_path": "Alipay.AopSdk.Core/Response/AlipayOpenPublicPersonalizedExtensionBatchqueryResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:96561"
} | starcoder | using System.Collections.Generic;
using System.Xml.Serialization;
using Alipay.AopSdk.Core.Domain;
namespace Alipay.AopSdk.Core.Response
{
/// <summary>
/// AlipayOpenPublicPersonalizedExtensionBatchqueryResponse.
/// </summary>
public class AlipayOpenPublicPersonalizedExtensionBatchqueryResponse : Aop... | 1.504619 | f573d6eda9bd51e312036ca31f191bb2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.