added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FortechRomania/xamarin-training-sample-app-advanced",
"max_stars_repo_path": "Droid/Fragments/NavigationChildFragment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162032"
} | starcoder | <gh_stars>0
using Android.Views;
using GameOfThrones.Droid.Views;
namespace GameOfThrones.Droid.Fragments
{
public class NavigationChildFragment : Android.Support.V4.App.Fragment
{
public INavigationParent NavigationParent => (Activity as INavigationParent) ?? (ParentFragment as INavigationParent);
... | 1.807231 | 73a4a55cf4194a651f4b02f9d9cc3439 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842813 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "risadams/Naticon",
"max_stars_repo_path": "src/Naticon/Handlers/RmnSdOnHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162033"
} | starcoder | using Naticon.Tags.Repeaters;
using System.Collections.Generic;
using System.Linq;
namespace Naticon.Handlers
{
public class RmnSdOnHandler : IHandler
{
public Span Handle(IList<Token> tokens, Options options)
{
RepeaterMonthName month = null;
var day = 0;
IList<Token> remainingTokens = null;
if (tok... | 1.972683 | 5472cffeb5610c5d7fc1c1e20018fbf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tvkaruba/art",
"max_stars_repo_path": "Art.Persistence/Repositories/TaskRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162034"
} | starcoder | using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Art.Persistence.Entities;
using Art.Persistence.Infrastructure;
using Art.Persistence.ReferenceData;
using Art.Persistence.Repositories.Abstractions;
using Dapper;
using ArtTask = Art.Persistence.Entities.Task;
... | 2.442474 | fe3d0977165f9da821a0b434a3cf76df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842815 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "impworks/lens",
"max_stars_repo_path": "Lens/Resolver/ReferencedAssemblyCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162035"
} | starcoder | <filename>Lens/Resolver/ReferencedAssemblyCache.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Lens.Resolver
{
/// <summary>
/// The internal list of assemblies referenced by the current script.
/// </summary>
internal class ReferencedAssemblyCa... | 3.016473 | 743cc8ef178fa8b6dbdd32c5d017a469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842816 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GoodCatGames/UnInventory",
"max_stars_repo_path": "Runtime/Standard/MVC/Model/Commands/Composite/PutCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162036"
} | starcoder | using System.Collections.Generic;
using UnInventory.Core.MVC.Model.Commands;
using UnInventory.Standard.MVC.Model.CausesFailureCommand.Causes.Primary.MoValidEntitiesInTargetSlots;
using UnInventory.Standard.MVC.Model.CausesFailureCommand.Check.Composite;
using UnInventory.Standard.MVC.Model.Commands.Composite.InputDat... | 2.258974 | 6be5ba0fefafb4e8407d9cd62b4080c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842817 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jeremy523/AzureFunctionsAADNodeJS",
"max_stars_repo_path": "6.ManagedIdentityFunctionCallingAnotherFunction/MyFunctionProj/MyHttpTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162037"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Microsoft.Azure.Services.AppAuthenticati... | 2.357468 | a2a67fbf2b66986a9a3b543291b4a567 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842818 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-qna-api",
"max_stars_repo_path": "src/SFA.DAS.QnA.Api.UnitTests/ApplicationControllerTests/StartApplication/When_StartApplication_is_called.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162038... | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.das-qna-api<gh_stars>1-10
using System;
using Castle.Core.Logging;
using FluentAssertions;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using NSubstitute;
using NUnit.Framework;
using SFA.DAS.QnA.Api.Controllers;
using SFA.DAS.QnA.Api.Typ... | 1.777044 | 0da15615a09b5e8c807083848eb9e8b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842819 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RosenUrkov/VlogRoom",
"max_stars_repo_path": "VlogRoom/VlogRoom.Web/Contracts/IUserManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162039"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace VlogRoom.Web.Contracts
{
public interface IUserManager
{
bool IsInRole(string id, string roleName);
void AddToRole(string id, string roleName);
void RemoveFromRole(string id, string roleNam... | 1.922501 | 41f6653e7237e8e11e9475f059f335fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wapxmas/rikard-csharp-net-core",
"max_stars_repo_path": "RealEstate/RikardWeb.Lib.News/ServiceExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162040"
} | starcoder | using RikardWeb.Lib.News.Services;
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Extensions.DependencyInjection
{
public static class ServiceExtension
{
public static IServiceCollection AddNewsDatabaseService(this IServiceCollection service)
=> serv... | 1.426449 | 098fbc4bbe814a7fc296066a2be493cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842821 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "test/FunctionalTests/Microsoft.Spatial.Tests/GeometryFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162041"
} | starcoder | <reponame>Sreejithpin/odata.net<filename>test/FunctionalTests/Microsoft.Spatial.Tests/GeometryFactoryTests.cs
//---------------------------------------------------------------------
// <copyright file="GeometryFactoryTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See... | 2.294269 | 2157102f80bd5e9ea73496563f90a5eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StoyanRangelov/GamersHub",
"max_stars_repo_path": "src/Services/GamersHub.Services.Data/Replies/IRepliesService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162042"
} | starcoder | namespace GamersHub.Services.Data.Replies
{
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IRepliesService
{
/// <summary>
/// Returns a number of replies with the given post id from the database, based on the provided take and skip values
/// ... | 2.934237 | c0e86cd867bc5a85b8ffdc5c09db9bb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dweng0/edgroundwars",
"max_stars_repo_path": "EDWars/Hubs/MatchMaking.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162043"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.Entity;
using System.Linq;
using System.Net.Mime;
using System.Runtime.Remoting.Channels;
using System.Timers;
using System.Web.Configuration;
using EDWars.Models;
using Microsoft.Ajax.Utilities;
using Microsoft.AspNet.Signal... | 2.240988 | 63d7014e1dff1f1137b25c8265157c36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842824 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bswanson58/NoiseMusicSystem",
"max_stars_repo_path": "Noise.Librarian/ViewModels/RestoreDatabaseViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162044"
} | starcoder | using System.Linq;
using Caliburn.Micro;
using Noise.Infrastructure;
using Noise.Infrastructure.Dto;
using Noise.Infrastructure.Interfaces;
using Noise.Infrastructure.Support;
using Noise.Librarian.Models;
using ReusableBits.Mvvm.ViewModelSupport;
namespace Noise.Librarian.ViewModels {
public class RestoreDatabaseVi... | 2.046474 | b16de28fcea6b0a0d672d181850286ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimchoLakov/ProgrammingFundamentalsMay2017",
"max_stars_repo_path": "12.Regex-Lab/04.MatchDates/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162045"
} | starcoder | <reponame>DimchoLakov/ProgrammingFundamentalsMay2017
using System;
using System.Text.RegularExpressions;
namespace _04.MatchDates
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
string datesPattern = @"\b(?<days>\d{2})(?<deli>[\/\... | 3.39193 | c794f2dc709162561d638a8936eed0d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hotjk/yue",
"max_stars_repo_path": "Yue.Resources.Contract/Enum/ResourcesState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162046"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yue.Resources.Contract
{
public enum ResourcesState
{
Initial = 0,
Normal = 1,
Closed = 10,
Destroyed = 20,
}
}
| 1.218943 | c15e70d5723b82b1c4e79e9114481776 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/sfuncs/src/SFx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162047"
} | starcoder | <reponame>0xCM/z0
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
usin... | 2.072888 | 42edeebca0db0005ecd771955fce584c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Andytule/comp-CO884",
"max_stars_repo_path": "assignment3/assignment3/Models/Team.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162048"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace assignment3.Models
{
[Table("teams")]
public partial class Team
{
public Team()
... | 2.409617 | 8dc9fae7795f3665b14d65ea7eda24ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ico093/TelerikAcademy",
"max_stars_repo_path": "C#2/Exams/C#Part2-7-February-2012/TelerikAcademyExam2@7Feb2012/4.3DSlices/3DSlices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162049"
} | starcoder | <filename>C#2/Exams/C#Part2-7-February-2012/TelerikAcademyExam2@7Feb2012/4.3DSlices/3DSlices.cs
using System;
using System.Collections.Generic;
class _3DSlices
{
static void Main()
{
string[] WHD = Console.ReadLine().Split(' ');
int W = int.Parse(WHD[0]);
int H = int.Parse(WHD[1]);
... | 3.591049 | 4fe49ce4f503e1907293dd15062e0e79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shirhatti/protobuf-langserver",
"max_stars_repo_path": "language-server/src/ConsoleApp/Internal/ICodedInputStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162050"
} | starcoder | #region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://github.com/jskeet/dotnet-protobufs/
// Original C++/Java/Python code:
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, ... | 2.210808 | 34b4deeaa2eb8fa468964208c05d58c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/Service.Bitgo.WithdrawalProcessor",
"max_stars_repo_path": "src/Service.Bitgo.WithdrawalProcessor/Jobs/SignalCircleTransferJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162051"
} | starcoder | using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using DotNetCoreDecorators;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using MyJetWallet.Circle.Models.Payments;
using MyJetWallet.Circle.Settings.Services;
using MyJetWallet.Sdk.Service;
using Newton... | 1.788595 | be5fa67ec21c5d922b9d89f6cb500a2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dojo87/VerifyTestCategoryAnalyzer",
"max_stars_repo_path": "VerifyTestCategoryAnalyzer/VerifyTestCategoryAnalyzerCodeFixProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162052"
} | starcoder | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Linq... | 2.058779 | c1c4e85991389ce55d601d3c98b1f411 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842833 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "coveo/mono",
"max_stars_repo_path": "mcs/class/System.IdentityModel/System.IdentityModel.Tokens/SessionSecurityToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162053"
} | starcoder | <reponame>coveo/mono
//
// SessionSecurityToken.cs
//
// Author:
// <NAME> (<EMAIL>)
//
// Copyright (C) 2014 Noesis Labs, LLC https://noesislabs.com
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal... | 1.665308 | 3edcc20616acc7c12274b6d54fdd605a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cloud-hai-vo/episerver6r2_sso",
"max_stars_repo_path": "Templates/AlloyTech/Units/Static/PageFooter.ascx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162054"
} | starcoder | /*
Copyright (c) 2010 EPiServer AB. All rights reserved.
This code is released by EPiServer AB under the Source Code File - Specific License Conditions, published in 20 August 2007.
See http://www.episerver.com/Specific_License_Conditions for details.
*/
using EPiServer.Core;
using EPiServer.Web.WebControls;
using... | 1.896886 | 2f9afd9f62764dd45c887acb2bd8ebe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftwareGuy/Mirage",
"max_stars_repo_path": "Assets/Mirage/Editor/NetworkMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162055"
} | starcoder | using System;
using Mirage.Logging;
using Mirage.SocketLayer;
using Mirage.Sockets.Udp;
using UnityEditor;
using UnityEngine;
namespace Mirage
{
public static class NetworkMenu
{
/// <summary>
/// Creates a new game object with NetworkManager and other network components attached, Including Udp... | 2.361552 | ae1e23c2ded85cf57af609cfcff6d2c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AutoProt/AutoProt",
"max_stars_repo_path": "AutoProt/common/InformationKey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162056"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace AutoProt
{
public class InformationKey : INotifyPropertyChanged
{
public event PropertyChangedEventHandler P... | 2.419031 | e9c30dc39c3d19f499b472bca8ba9ad2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842837 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Socolin/Socolin.RabbitMQ.Client",
"max_stars_repo_path": "Socolin.RabbitMQ.Client/Exceptions/InvalidRabbitMqOptionException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162057"
} | starcoder | using System;
namespace Socolin.RabbitMQ.Client.Exceptions
{
public class InvalidRabbitMqOptionException : Exception
{
public InvalidRabbitMqOptionException(string message)
: base(message)
{
}
}
} | 1.880999 | 51233b65e79a68f8b42e908653fc7270 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842838 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DirectXceriD/gridgain",
"max_stars_repo_path": "modules/platforms/dotnet/Apache.Ignite.EntityFramework/Impl/DbCommandInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162058"
} | starcoder | <filename>modules/platforms/dotnet/Apache.Ignite.EntityFramework/Impl/DbCommandInfo.cs<gh_stars>1-10
/*
* GridGain Community Edition Licensing
* Copyright 2019 GridGain Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause
... | 1.667743 | e4732a9285f21b94f72a18d1fa7a4013 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842839 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "waseems/inbox2_desktop",
"max_stars_repo_path": "Code/Platform/Interfaces/Enumerations/MediaType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162059"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Inbox2.Platform.Interfaces.Enumerations
{
[Serializable]
public enum MediaType
{
Text,
Html,
Image,
Flash,
Audio,
Video,
Xaml,
Other,
}
} | 1.665715 | 7b04475026ec1fb0507a1f738561f117 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mvidaldp/wd_ride",
"max_stars_repo_path": "Assets/Arcane Cyber/Demo/Scripts/RoomManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162060"
} | starcoder | using UnityEngine;
public sealed class RoomManager : MonoBehaviour {
private GameObject[] rooms;
private int activeRoom = 0;
private void Awake() {
rooms = new GameObject[transform.childCount];
for (int i = 0; i < rooms.Length; i++)
rooms[i] = transform.GetChild(i).gameO... | 2.938143 | 26b8ce30309e497fbfadda2e8be00b6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitorsousa95/GITvitor",
"max_stars_repo_path": "Console/ListaDeAlunos/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162061"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ListaDeAlunos
{
class Program
{
static string[,] baseDados;
static void Main(string[] args)
{
CarregaBancoDeDados();
MostaDados();
... | 3.42995 | 494f393ad8c5e1024ba3a4a2d7fa7bcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cskardon/AzureFunctionNeo4jDriverExample",
"max_stars_repo_path": "AzureFunctionExample/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162062"
} | starcoder | using AzureFunctionExample;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
// This lets AzureFunctions know that this is the Startup object.
[assembly: FunctionsStartup(typeof(Startup))]
namespace AzureFunctionExample
{
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Mic... | 2.570682 | 4624848c9366dae069a82ff0df43e7ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842843 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danieldamianov/ProgrammingFundamentals",
"max_stars_repo_path": "Lab_Methods_Debugging_and_Troubleshooting_Code/7_Math_Power/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162063"
} | starcoder | <gh_stars>1-10
using System;
namespace _7_Math_Power
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Power(double.Parse(Console.ReadLine()),int.Parse(Console.ReadLine())));
}
static double Power(double number , int power)
{
... | 3.465715 | 36c1bdf7958a985d179b238266982190 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevinTMtz/Immunization",
"max_stars_repo_path": "Assets/Scripts/Enemy/EnemyMoveController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162064"
} | starcoder | <reponame>KevinTMtz/Immunization
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
using Photon.Pun;
public class EnemyMoveController : MonoBehaviourPunCallbacks, IPunObservable
{
private GameObject target;
public bool isAttacking = false;
public bool isDe... | 2.032655 | d70db7b60e8435320e908798cb4539ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TTcoinDeveloper/HomeSchool",
"max_stars_repo_path": "source/EduCATS.UnitTests/Helpers/StringExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162065"
} | starcoder | <reponame>TTcoinDeveloper/HomeSchool<filename>source/EduCATS.UnitTests/Helpers/StringExtensionsTests.cs
using NUnit.Framework;
using EduCATS.Helpers.Extensions;
namespace EduCATS.UnitTests
{
[TestFixture]
public class StringExtensionsTests
{
[Test]
public void StringToDoubleTest()
{
var value = "2.05";
... | 2.778815 | 99cdfec42a8cc5472d1680a0055f8dc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842846 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheYoy/TemplateAPI",
"max_stars_repo_path": "DependencyInjections/Microservices/Tlog/Response/TlogPlaceResponseV1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162066"
} | starcoder | <filename>DependencyInjections/Microservices/Tlog/Response/TlogPlaceResponseV1.cs
using System;
using System.Collections.Generic;
namespace APITemplate.DependencyInjecyions.Microservices.Tlog.Response
{
public class TlogPlaceResponseV1 {
public int LID { get; set; }
public string LNAME { get; set; }... | 1.738573 | 9c1bca69158d93cdd56ed4785a49f426 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842847 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AinoraZ/bittorrent_client_edu",
"max_stars_repo_path": "BitTorrentEdu/TrackerResponseFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162067"
} | starcoder | using Bencode;
using Bencode.DTOs;
using BitTorrentEdu.DTOs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
namespace BitTorrentEdu
{
public class TrackerResponseFactory : ITrackerResponseFactory
{
private IBencodeParser BencodeParser { get; }
... | 2.500882 | d9dbbe34f3980a7e5fe027752638670f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842848 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KornnerStudios/KSoft.Phoenix",
"max_stars_repo_path": "KSoft.Phoenix/Runtime/Tech/BTechUniqueNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162068"
} | starcoder | <filename>KSoft.Phoenix/Runtime/Tech/BTechUniqueNode.cs
namespace KSoft.Phoenix.Runtime
{
using BProtoTechStatusStreamer = IO.EnumBinaryStreamer<Phx.BProtoTechStatus>;
struct BTechUniqueNode
: ITechNode
{
public float ResearchPoints;
public int ResearchBuilding;
public Phx.BProtoTechStatus Statu... | 2.294504 | 166975d04f0dd7c9ba7a2c0fbadec2f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842849 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_EED55DED.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162069"
} | starcoder | <gh_stars>1-10
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xEED55DED)]
public class STU_EED55DED : STU_81C5DE19 {
[STUFieldAttribute(0xF891229F, ReaderType = typeof(InlineInstanceFieldReader))]
public STU_78F2E3C5 ... | 0.785334 | 5e9886cb2a8d7494d020ffbe0086a692 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gokanil/RabbitMQ-Exchanges",
"max_stars_repo_path": "RabbitMQ/Exchanges/Default.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162070"
} | starcoder | using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using System.Text;
namespace RabbitMQ.Exchanges
{
public static class Default
{
public static void Consumer(string Key)
{
try
{
var factory = new ConnectionFactory();
fact... | 2.856535 | 5c8881892279dc82cbdc5cc6737f6f84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842851 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "wdlindmeier/Flight-Paths",
"max_stars_repo_path": "third_party/InputSystem/Core.Extensions/Devices/PointerProfiles/GenericMouseProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162071"
} | starcoder | <reponame>wdlindmeier/Flight-Paths
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace UnityEngine.Experimental.Input
{
#if UNITY_EDITOR
[InitializeOnLoad]
#endif
public class GenericMouseProfile : InputDeviceProfile
{
static GenericMouseProfile()
{
Register(... | 2.050441 | e31e380f6c35a3bf91958de060e1ab18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842852 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "WallLabs/CodeForDotNet",
"max_stars_repo_path": "Source/CodeForDotNet/Drawing/BrushExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162072"
} | starcoder | <reponame>WallLabs/CodeForDotNet
using CodeForDotNet.Properties;
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Globalization;
using System.IO;
namespace CodeForDotNet.Drawing
{
/// <summary>
/// Extensions for work with <see cref="Brush"/> types.
/// </summary>
public static clas... | 2.93132 | 82d37c6f7b5813982f92421937e35945 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842853 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Satochat/satochat-shared",
"max_stars_repo_path": "Satochat.Shared/Domain/Conversation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162073"
} | starcoder | <filename>Satochat.Shared/Domain/Conversation.cs
using System.Collections.Generic;
using System.Linq;
using Satochat.Shared.Util;
namespace Satochat.Shared.Domain {
public class Conversation {
public class MessageDeliveryStatusChangedEventArg {
public Message Message { get; }
publi... | 2.767084 | dfc47d50c1581f09cd6e09d63db94ecb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Avarea/Programming-Basics",
"max_stars_repo_path": "Exams/3HotelRoom/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162074"
} | starcoder | <reponame>Avarea/Programming-Basics
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Programming Basics Exam - 28 August 2016
class Program
{
static void Main()
{
string month = Console.ReadLine();
int numberOfNights = int.Pa... | 3.232322 | ab58873be18a441e5e017dc4d7ee9c06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842855 | {
"extension": "c-sharp",
"max_stars_count": "157.0",
"max_stars_repo_name": "aspose-cells/Aspose.Cells-for-.NET",
"max_stars_repo_path": "Demos/Apps/Aspose.Cells.Editor/Controllers/EditorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162075"
} | starcoder | <gh_stars>100-1000
using Aspose.Cells.Common.Controllers;
using Aspose.Cells.Common.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Aspose.Cells.Editor.Controllers
{
public class EditorController : UIControllerBase
{
public Edito... | 1.729282 | d46bcb5e1ec6b11ca6266704d13d41f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bartoszborys/Hospital-Study-Project",
"max_stars_repo_path": "PresentationLayer/Windows/Login/Login.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162076"
} | starcoder | 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;
using DataLayer;
using MedicalClinic.windowFactory;
using BizzLayer.Services.LoginService;
namespace Med... | 2.769521 | eb151503fd4fcb81f489e6cc5c8aa6de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842857 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "maxim-zhao/SidWizPlus",
"max_stars_repo_path": "LibSidWiz/Outputs/PreviewOutputForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162077"
} | starcoder | <reponame>maxim-zhao/SidWizPlus<filename>LibSidWiz/Outputs/PreviewOutputForm.cs
using System.Windows.Forms;
namespace LibSidWiz.Outputs
{
public partial class PreviewOutputForm : Form
{
public PreviewOutputForm()
{
InitializeComponent();
}
}
}
| 1.21848 | 2e45ff9e7716d4a0313fc854bd5147a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842858 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rprouse/AdventOfCode2017",
"max_stars_repo_path": "AdventOfCode2017/Day25/Day25.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162078"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace AdventOfCode2017
{
public static class Day25
{
public static int PartOne(string filename)
{
var turing = new Turing(filename... | 3.111866 | 15c53909d3e43cbb991454a148c5c68c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tlayson/MySC",
"max_stars_repo_path": "Utils/Tools/YAF/YAF.Types/Interfaces/IPagerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162079"
} | starcoder | /* Yet Another Forum.NET
* Copyright (C) 2006-2013 <NAME>
* http://www.yetanotherforum.net/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at y... | 2.736898 | 9bc88e00f8adacafe7383d1144d66d92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SOLIDSoftworks/Solid.IdentityModel",
"max_stars_repo_path": "src/Solid.IdentityModel.FederationMetadata/AttributeServiceDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162080"
} | starcoder | <reponame>SOLIDSoftworks/Solid.IdentityModel<filename>src/Solid.IdentityModel.FederationMetadata/AttributeServiceDescriptor.cs
using Solid.IdentityModel.FederationMetadata.WsAddressing;
using System;
using System.Collections.Generic;
using System.Text;
namespace Solid.IdentityModel.FederationMetadata
{
public cla... | 1.325426 | 3b289c43159e61e655e9103796358c95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842861 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "aidan-g/FoxTunes",
"max_stars_repo_path": "FoxTunes.Core/Interfaces/Output/IOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162081"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace FoxTunes.Interfaces
{
public interface IOutput : IStandardComponent
{
string Name { get; }
string Description { get; }
bool IsStarted { get; }
event AsyncEventHandler IsStar... | 2.216087 | f6acbeee53f5ebae97a480903a226499 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thinktecture-labs/sg-blazor-samples",
"max_stars_repo_path": "src/SharedLibrary/Features/PokeApi/Models/PokemonModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162082"
} | starcoder | <filename>src/SharedLibrary/Features/PokeApi/Models/PokemonModel.cs
using System.Text.Json.Serialization;
namespace SharedLibrary.Features.PokeApi.Models
{
public class PokemonModel
{
public int Id { get; set; } = 0;
public string Name { get; set; }
public int Order { get; set; }
public int Height { get; se... | 2.579942 | 6807640d4e77cc17d707a4a83f0e2b68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842863 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "test/FunctionalTests/Service/Microsoft/OData/Service/Serializers/ParameterDeserializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162083"
} | starcoder | <reponame>Sreejithpin/odata.net<gh_stars>100-1000
//---------------------------------------------------------------------
// <copyright file="ParameterDeserializer.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
... | 2.160113 | 1ce27bad13d2335dec4f58d984c4a064 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842864 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZoolWay/EliteExx",
"max_stars_repo_path": "EliteExx/EliteDangerous/JournalActor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162084"
} | starcoder | using System;
using Akka.Actor;
using Zw.EliteExx.Core;
using Zw.EliteExx.Core.Config;
namespace Zw.EliteExx.EliteDangerous
{
/// <summary>
/// Parent actor to handle journal parsing.
/// </summary>
public class JournalActor : ReceiveActor
{
private readonly Akka.Event.ILoggingAdapter log ... | 2.087217 | dd61cacb7a3db6a3732f46dd68486dc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842865 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YodaEmbedding/experiments",
"max_stars_repo_path": "cs/design_patterns/ObserverExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162085"
} | starcoder | using System;
using System.Collections.Generic;
/* Observer Pattern
Central observable/subject which observers subscribe to.
Whenever observable changes state, all observers are notified.
*/
namespace DesignPatterns
{
public static class ObserverExample
{
public static void RunExample()
{
Console.WriteLine... | 3.286747 | fc6d2566b343e2154ba6f5eb6ad5133b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skbkontur/extern-csharp-sdk",
"max_stars_repo_path": "src/Kontur.Extern.Api.Client.UnitTests/ApiLevel/Clients/Models/TestDtoGenerators/DraftsBuilders/AutoFakerFactoryDraftsBuilderEntitiesExtension.cs",
"provenance": "train-00027-of-00... | starcoder | using System.Linq;
using Bogus;
using Kontur.Extern.Api.Client.Models.Docflows.Descriptions.Fns.BusinessRegistration;
using Kontur.Extern.Api.Client.Models.DraftsBuilders.Builders.Data.BusinessRegistration;
using Kontur.Extern.Api.Client.Testing.Generators;
using Kontur.Extern.Api.Client.UnitTests.ApiLevel.Clients.Mode... | 1.840094 | 970eed4e20a62a2e07165363b9ad1765 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842867 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "collective4U/clara-dicom-adapter",
"max_stars_repo_path": "src/DicomWebClient/DicomWebClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162087"
} | starcoder | <filename>src/DicomWebClient/DicomWebClient.cs
/*
* Apache License, Version 2.0
* Copyright 2019-2020 NVIDIA 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:/... | 2.126499 | 8b34ba1319c04a6b401fa87c94cbd39e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842868 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "cantte/Rusell.Api",
"max_stars_repo_path": "src/Companies/Application/FindByUser/FindCompanyByUserQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162088"
} | starcoder | using Rusell.Shared.Domain.Bus.Query;
namespace Rusell.Companies.Application.FindByUser;
public record FindCompanyByUserQuery(string UserId) : Query<CompanyResponse?>;
| 0.995741 | 45e6b983b8e3cff49e1b2bbf7d236130 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842869 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OctaneRush/Dirarys-Final-Project",
"max_stars_repo_path": "Pages/Characters/Delete.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162089"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore;
using Dirarys_Final_Project.Models;
namespace Dirarys_Final_Project.Pages.Characters
{
// Page model for d... | 2.86864 | 6799ab894e1c89b2744f43fc0287b3fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842870 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "AgFlore/vocadb",
"max_stars_repo_path": "VocaDbModel/Service/VideoServices/IPVParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162090"
} | starcoder | <reponame>AgFlore/vocadb<gh_stars>100-1000
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using VocaDb.Model.Domain.Security;
namespace VocaDb.Model.Service.VideoServices
{
public interface IPVParser
{
/// <... | 2.036625 | 7722a55c70ffed9a603c51ba9fbf78c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842871 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "AppiChudilko/FiveM-Trouble-in-Terrorist-Town",
"max_stars_repo_path": "source/Client/Menu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162091"
} | starcoder | <filename>source/Client/Menu.cs
using System.Collections.Generic;
using System.Drawing;
using System.Threading.Tasks;
using CitizenFX.Core;
using NativeUI;
using static CitizenFX.Core.Native.API;
/*
- Votemap
- Status in discrod
- Специальное место, ТПшим игроков и фризим их, далее смотрим сколько их в радиусе и от ... | 2.24529 | 66611ba0df3a8667695ee9ccea3ffc0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "redrick-tmn/azure-hackathon",
"max_stars_repo_path": "AzureTwitter.Twitter.Interfaces/ITweetsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162092"
} | starcoder | <reponame>redrick-tmn/azure-hackathon
using System.Threading.Tasks;
using AzureTwitter.Models;
namespace AzureTwitter.Twitter.Interfaces
{
public interface ITweetsProvider
{
Task<TweetModel> GetLatestAsync(string userName);
}
} | 1.491334 | 91ae385d4484dcc6e6d9f8a8c67817fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842873 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "yunyongtech/Yunyong",
"max_stars_repo_path": "src/Yunyong/Yunyong.DataExchange/Impls/ExistImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162093"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Yunyong.Core;
using Yunyong.DataExchange.Core.Bases;
using Yunyong.DataExchange.Core.Common;
using Yunyong.DataExchange.Core.Enums;
using Yunyong.DataExchange.Interfaces;
namespace Yunyong.DataExchange.Impls
{
internal class ExistImpl<M>
... | 2.111485 | a61771c152de9432e6b364af1d8cc4f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SymCors/Altes-Automation",
"max_stars_repo_path": "Automation/VarsDevices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162094"
} | starcoder | <filename>Automation/VarsDevices.cs
using Modbus.Device;
using System.IO.Ports;
namespace Automation
{
class VarsDevices
{
public static int deviceWorking, deviceProjectReady;
public static SerialPort port;
public static IModbusSerialMaster master;
public string name { get; se... | 2.190418 | 71924c425d3d0842fe46fff4f5046d59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842875 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "royarin/Demos",
"max_stars_repo_path": "2021/BLDTalk/GraphQL/GraphQLServer/Order.API/GraphQL/LineItemInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162095"
} | starcoder | <filename>2021/BLDTalk/GraphQL/GraphQLServer/Order.API/GraphQL/LineItemInput.cs
namespace Order.API.GraphQL
{
public class LineItemInput
{
public string SKU { get; set; }
public int Quantity { get; set; }
}
} | 1.446583 | 3624060ae79250b8e027fe63d2321d90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842876 | {
"extension": "c-sharp",
"max_stars_count": "238.0",
"max_stars_repo_name": "samjones00/ApplicationInsights-dotnet",
"max_stars_repo_path": "NETCORE/test/Microsoft.ApplicationInsights.AspNetCore.Tests/SdkVersionTestUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162096"
} | starcoder | namespace Microsoft.ApplicationInsights.AspNetCore.Tests
{
public class SdkVersionTestUtils
{
#if NETFRAMEWORK
public const string VersionPrefix = "aspnet5f:";
#else
public const string VersionPrefix = "aspnet5c:";
#endif
}
}
| 1.226751 | c679e79a9a8593f1454126706ef621c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842877 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LEI-Hongfaan/UltimateOrb.Core",
"max_stars_repo_path": "UltimateOrb.Core.SourceGenerators/System/Runtime/CompilerServices/NullableAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162097"
} | starcoder | using System;
using Microsoft.CodeAnalysis;
namespace System.Runtime.CompilerServices {
[CompilerGenerated]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericPara... | 2.28599 | a09079474b63c27afa303089c2b77272 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wellfedbison/Kronos",
"max_stars_repo_path": "AddAssignment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162098"
} | starcoder | 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 Kronos_Manager
{
public partial class AddAssignment : Form
{
... | 2.871502 | 77dd792734d8596a904bb5d4de82ebfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842879 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "adambarclay/mundane",
"max_stars_repo_path": "tests/Mundane.Tests/Tests_MundaneEngine/ExecuteRequest_Passes_A_Request_To_The_Endpoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162099"
} | starcoder | <filename>tests/Mundane.Tests/Tests_MundaneEngine/ExecuteRequest_Passes_A_Request_To_The_Endpoint.cs
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Mundane.Tests.Tests_MundaneEngine;
[Exclu... | 2.521759 | 99801583df4c0b8686b42061ed64634a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842880 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pondeke120/ScheduleSim",
"max_stars_repo_path": "ScheduleSim.Core/Service/TaskAccessService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162100"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ScheduleSim.Entities.Models;
using ScheduleSim.Entities.Repositories;
namespace ScheduleSim.Core.Service
{
public class TaskAccessService : ITaskAccessService
{
private ITaskRepository taskRepositor... | 1.981334 | 335ce25372bc56370328109c17d2f821 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842881 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ypapou/Xamarin-Started-Kit",
"max_stars_repo_path": "Company.App.Presentation/Operations/BusyOperationNotification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162101"
} | starcoder | <reponame>ypapou/Xamarin-Started-Kit
using Company.App.Presentation.ViewModels;
using FlexiMvvm.Operations;
namespace Company.App.Presentation.Operations
{
public class BusyOperationNotification : OperationNotification
{
public BusyOperationNotification(int delay, int minDuration, bool isCancelable)
... | 1.834311 | 94725b0e710509ae4b1d3e91c88a4f22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842882 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ingchips/INGdemo",
"max_stars_repo_path": "INGdemo/INGdemo/Models/DirFindingViewer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162102"
} | starcoder | <filename>INGdemo/INGdemo/Models/DirFindingViewer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Xamarin.Essentials;
using Plugin.BLE;
using Plugin.BLE.Abstractions.Contracts;
using Plugin.BLE... | 2.173384 | 7c655cd614c52e7da9008c147a051390 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842883 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/EnterpriseLibrary/Logging/Tests/Configuration.Design/LoggingConfigurationDesignManagerFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162103"
} | starcoder | <gh_stars>100-1000
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrar... | 1.37282 | da214ccbb8c911b7361683cc3c418f21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zyun1/IndigoComSample",
"max_stars_repo_path": "IndigoQRCode/IIndigoQRCodeEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162104"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace IndigoQRCode
{
[Guid("54A51C91-5C40-49F4-A22A-254BEBDE18CA")]
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface IIndigoQRCodeEvent
{
[DispId(1)]
void ValueChanged(string oldValue);
}
}
| 1.398214 | a113757d4a2b7e117fb4198d02e7443c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842885 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "LukaszRabiec/NeuralNetworks",
"max_stars_repo_path": "SelfOrganizingMapClient/Helpers/Drawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162105"
} | starcoder | #region License
/*
* This file is subject to the terms and conditions defined in
* file 'LICENSE.txt', which is part of this source code package.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using SelfOrganizingMapClient.Shapes;
namespace SelfOrganizingMap... | 3.293183 | 2537dbf2b6e732374d500733267c6a8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842886 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gastoncaminiti/binarytris",
"max_stars_repo_path": "PROJECT - BINARYTRIS/Assets/Scripts/BinaryCube/PieceCollision.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162106"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PieceCollision : MonoBehaviour
{
private PieceMovement myPieceMovement;
private SpawnManager mySpawnManager;
private Rigidbody myRigidbody;
private Transform myCubes;
private void Start()
... | 1.680349 | 5fe96e94aef122344f9c9486f338f594 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842887 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "c3rebro/EventMessenger",
"max_stars_repo_path": "EventMessenger/3rdParty/Itinerary/Expl.Itinerary/Schedule/Filter/OffsetSchedule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162107"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Expl.Itinerary {
[Description("Offset")]
[Serializable]
public class OffsetSchedule : IFilterSchedule {
private ISchedule _Schedule;
private TimeSpan _OffsetTime;
/// <summary>
/// D... | 2.861204 | bbe2aab5e1b2af24edd483cc4db7ba85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842888 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ACXap/Social",
"max_stars_repo_path": "Common/Settings/Converters/ConvertNameTheme.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162108"
} | starcoder | <reponame>ACXap/Social
using System;
using System.Globalization;
using System.Windows.Data;
namespace Common.Settings.Converters
{
public class ConvertNameTheme : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return... | 2.24504 | 35f766f4d05d4ac00bf95fd95ad46770 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoloMorris/Combo-System-CGS",
"max_stars_repo_path": "ComboSystemSolo/Assets/Scripts/Player/PlayerMovement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162109"
} | starcoder | <filename>ComboSystemSolo/Assets/Scripts/Player/PlayerMovement.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using Player;
using UnityEngine;
public class PlayerMovement : PlayerComponent
{
public Vector2 MovementDirection;
// Jumping
public bool grounded;
[SerializeField... | 2.055889 | a08421a6f4cef87ab5dff06acacbc051 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pedroren/gastosappvue",
"max_stars_repo_path": "GastosAppApi/Controllers/CuentasController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162110"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GastosAppCoreEF.DAL;
using GastosAppCoreEF.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace GastosAppApi.Controllers
{
[Produces... | 2.190461 | 8f489694fadb9c7f8dd0fc83219310a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842891 | {
"extension": "c-sharp",
"max_stars_count": "301.0",
"max_stars_repo_name": "Zackmon/ffxiv-tools",
"max_stars_repo_path": "third-party/monotorrent/src/MonoTorrent.Messages/MonoTorrent.Messages.Peer/HaveBundle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162111"
} | starcoder | //
// RequestBundle.cs
//
// Authors:
// <NAME> <EMAIL>
//
// Copyright (C) 2019 <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 limi... | 1.889798 | 0b286c6971be36c9583fffad644f58b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842892 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Grenkin1988/Brainfuck-Interpreter-CSharp",
"max_stars_repo_path": "BrainfuckInterpreterCSharp/Commands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162112"
} | starcoder | using System;
using System.Collections.Generic;
namespace BrainfuckInterpreterCSharp {
public interface ICommand {
ProgramData Execute(ProgramData data);
}
public class MovePointerToRightCommand : ICommand {
public ProgramData Execute(ProgramData data) {
data.Pointer++;
... | 3.333464 | 493d1d81d1e639e0840994d52516c246 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842893 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Bruno-N-Fernandes/WatiN",
"max_stars_repo_path": "src/Core/Interfaces/IComponentCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162113"
} | starcoder | <gh_stars>1-10
#region WatiN Copyright (C) 2006-2011 <NAME>
//Copyright 2006-2011 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/l... | 2.420527 | f588d7da5fdc55b21a252c2489217f74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842894 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Heinzman/DigiRcMan",
"max_stars_repo_path": "VisualStudio/Sources/Business Objects/GhostController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162114"
} | starcoder | <reponame>Heinzman/DigiRcMan<gh_stars>0
namespace Elreg.BusinessObjects
{
public class GhostController
{
public LaneId LaneId { get; set; }
public int Level { get; set; }
public bool IsButtonPressed { get; set; }
}
}
| 1.54212 | 8b67a59e653407082cd6cbfc8bc6ee31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842895 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ujjwal-Shekhawat/BattleRoyale",
"max_stars_repo_path": "Assets/Scripts/textArranger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162115"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class textArranger : MonoBehaviour
{
public GameObject[] children;
public float yDecrement = 45f;
private void Start()
{
foreach(GameObject child in children)
{
child.transfor... | 1.7326 | 85312fe243932ca6d13f4214235ed634 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842896 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "Buba5473/Splice-Admin",
"max_stars_repo_path": "Splice Admin/Classes/RemoteNetworkAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162116"
} | starcoder | using System;
using System.Collections.Generic;
using System.Management;
namespace Splice_Admin.Classes
{
class RemoteNetworkAdapter
{
public static string ComputerName;
public string[] IpAddresses { get; set; }
public string[] SubnetMasks { get; set; }
public string[] DefaultG... | 2.261482 | 49a3dbd1cf8d6df4bca13c37da9f3a38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842897 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "wagnerhsu/packt-Visual-Studio-2019-Tricks-and-Techniques",
"max_stars_repo_path": "CH6 - Database Explorers/WritingInstrument/WritingInstruments/Pencil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162117"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace WritingExample
{
internal class Pencil
{
private const int MAX_TIP_SIZE = 3;
private int _tipSize = MAX_TIP_SIZE;
public bool CanWrite
{
get { return _tipSize >= 1; }
}
p... | 3.798637 | 2c408f266bd81d50d2aee21126a12ee3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842898 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "randomchance/dotnet-core-templates",
"max_stars_repo_path": "templates/InjectedLibrary/ConfigurationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162118"
} | starcoder | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;
namespace InjectedLibrary
{
public static class ConfigurationExtensions
{
public static IServiceCollection UseInjectedLibrary(this IServiceColle... | 2.284876 | 0d5df15ae7e2dae3f935058953bfea98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842899 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cskardon/PackStream.NET",
"max_stars_repo_path": "Source/PackStream.NET/Attributes/PackStreamIgnoreAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162119"
} | starcoder | namespace PackStream.NET
{
using System;
/// <summary>Instructs the NDP Client not to serialize the public field or public read/write property value.</summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class PackStreamIgnoreAttribute : Attribute { }
} | 2.167126 | f8845384f3a7ac7f32a0bd203ed5161b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842900 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raresmuntenas/AarhusWebDevCoop",
"max_stars_repo_path": "Source/AarhusWebDevCoop/Views/master.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162120"
} | starcoder | @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = null;
}<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><... | 1.937721 | 2cc5d863db533717f5aaf94b57f34598 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meiotoha/WakeOnLanServer",
"max_stars_repo_path": "WolServer/Models/WolModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162121"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace WolServer.Models
{
public class WolModel
{
[Required]
public string Host { get; set; }
[Required]
[Range(1, 65535)]
pu... | 2.287511 | 6960afa55770f5e6b7f68071bd36a9ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842902 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Spunkmeyer32/mmdgraphstudio",
"max_stars_repo_path": "vsstudio2019project/IDGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162122"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MMDGraphStudio
{
class IDGenerator
{
private static UInt64 nextID = 1;
public static UInt64 GetNextID()
{
return nextID++;
}
public static UInt64 PeekID()
{
... | 2.413109 | 46b691c75e12046d28898895216ac209 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842903 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SinsofSloth/RF5-global-metadata",
"max_stars_repo_path": "TMPro/TMP_SpriteCharacter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162123"
} | starcoder | [Serializable]
public class TMP_SpriteCharacter : TMP_TextElement // TypeDefIndex: 5846
{
// Fields
[SerializeField] // RVA: 0x13FCC0 Offset: 0x13FDC1 VA: 0x13FCC0
private string m_Name; // 0x30
[SerializeField] // RVA: 0x13FCD0 Offset: 0x13FDD1 VA: 0x13FCD0
private int m_HashCode; // 0x38
// Properties
public ... | 1.776674 | 52e28d90a07b9c029b0f6cfc6cab0a2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842904 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "src/Microsoft.OData.Core/ODataDeltaResourceSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162124"
} | starcoder | <filename>src/Microsoft.OData.Core/ODataDeltaResourceSet.cs
//---------------------------------------------------------------------
// <copyright file="ODataDeltaResourceSet.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license infor... | 1.381451 | fd03d11d80abb9ebf04b7fd23ab5a05f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842905 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajjack5/design-patterns",
"max_stars_repo_path": "DesignPatterns/Structural/Flyweight/CSharp/RefactoringImplementation/After/FlyweightObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162125"
} | starcoder | <reponame>ajjack5/design-patterns<filename>DesignPatterns/Structural/Flyweight/CSharp/RefactoringImplementation/After/FlyweightObject.cs
namespace DesignPatterns.Structural.Flyweight.CSharp.RefactoringImplementation.After
{
public class FlyweightObject
{
public int XPos { get; set; }
public int... | 2.32594 | 0747c7bfa27ec821c06ff33cb8572bbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842906 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Tball40/RaynMaker",
"max_stars_repo_path": "src/RaynMaker.Modules.Import/Converters/AbstractDataTableToEntityConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162126"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Plainion;
using RaynMaker.Entities;
using RaynMaker.Modules.Import.Spec.v2.Extraction;
namespace RaynMaker.Modules.Import.Converters
{
abstract class AbstractDataTableToEntityConverter<T> : IDataTableToEntityConverter wher... | 2.416183 | 8201fa8948feaaaec0fe5ed113f58395 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842907 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "guilhermedjr/clone-twitter",
"max_stars_repo_path": "source/Peep.Parrot/Peep.Parrot.Domain/Entities/Peep.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162127"
} | starcoder | <reponame>guilhermedjr/clone-twitter
using System.ComponentModel.DataAnnotations.Schema;
namespace Peep.Parrot.Domain.Entities;
public class Peep
{
/*private readonly IList<Peep> _quotes;
private readonly IList<ApplicationUser> _rps;
private readonly IList<ApplicationUser> _likes;
private readonly IL... | 2.096549 | 27c19b27121dca036792118d7894d57d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xurxof/adventofcode2021",
"max_stars_repo_path": "AoC12/Cave.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162128"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Utils;
namespace AoC9
{
public class Cave
{
public List<(string s, string e)> _List = new List<(string s, string e)> ();
private List<string> _Routes = new List<string> ();
private readonly Dictionary<string, int... | 2.720517 | e097a335de320509a95450062b7fb551 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842909 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "punker76/WinReform",
"max_stars_repo_path": "src/Tests/WinReform.Domain.Tests/Infrastructure/Messenger/EventBaseTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162129"
} | starcoder | using Moq;
using WinReform.Domain.Infrastructure.Messenger;
using WinReform.Domain.Infrastructure.Messenger.Strategies;
using WinReform.Tests.Fixtures;
using Xunit;
namespace WinReform.Domain.Tests.Infrastructure.Messenger
{
/// <summary>
/// Tests for the <see cref="EventBase"/>
/// </summary>
public... | 2.294324 | 191c8a4271f1c84b198880f6bf2a38af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842910 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Editor/Mono/AssetDatabase/AssetMoveInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162130"
} | starcoder | <reponame>HelloWindows/AccountBook-
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
namespace UnityEditor.Experimental
{
public struct AssetMoveInfo : IEquatable<AssetMoveInfo>
{
pu... | 2.220442 | ecdd70e53a693db1781d10ea97d396f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842911 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "iniwap/LianQiClient",
"max_stars_repo_path": "Assets/MiroChessBord/MiroModelV1/Script/Caculator/CCEN.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162131"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MiroV1
{
public class CCEN : MiroV1Caculator {
public CellObjCtrl _cellCtrl;
//public MiroV1PlacementMgr _mgr;
private static List<CCEN> _ccs = new List<CCEN>();
public CCEN()
{
_ccs.Add (this);
}
static pub... | 1.986093 | 86d5cc590d175d202066c3a2a3ebc257 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.