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 | 8848040 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gdgeek/gamejam",
"max_stars_repo_path": "Assets/GDGeek/Plugins/Voxel/Model/VoxelModelEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167260"
} | starcoder | using UnityEngine;
using System.Collections;
using System.IO;
using Pathfinding.Serialization.JsonFx;
namespace GDGeek{
//[ExecuteInEditMode]
public class VoxelModelEditor : VoxelModel {
public VoxelData[] _data = null;
public override VoxelData[] data{
get{
return _data;
}
set{
_data = v... | 1.609523 | 8c5695816ef7009d9ee98f93487f8850 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848041 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "forki/NServiceBus",
"max_stars_repo_path": "src/NServiceBus.Core/Pipeline/BehaviorChain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167261"
} | starcoder | <filename>src/NServiceBus.Core/Pipeline/BehaviorChain.cs
namespace NServiceBus.Pipeline
{
using System;
using System.Collections.Generic;
using System.Runtime.ExceptionServices;
using Logging;
class BehaviorChain<T> where T : BehaviorContext
{
// ReSharper disable once StaticF... | 2.706954 | fbe3710497f92c5610f5c10034042bca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848042 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alannwk1980/TIM_WARM",
"max_stars_repo_path": "AcessoBancoDados/AcessoDadosSqlServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167262"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using AcessoBancoDados.Properties;
namespace AcessoBancoDados
{
public class AcessoDadosSqlServer
{
//criar c... | 2.906882 | a126b84f0e057dfcf9cb3b3d94b49d1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848043 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "jborean93/PSOpenAD",
"max_stars_repo_path": "tests/units/MatchingRuleUseDescriptionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167263"
} | starcoder | using PSOpenAD.LDAP;
using System;
using System.Collections.Generic;
using Xunit;
namespace PSOpenADTests;
public static class MatchingRuleUseDescriptionTests
{
[Fact]
public static void ParseMatchingRuleUseDescription()
{
const string VALUE = "( 2.5.13.16 APPLIES ( givenName $ surname ) )";
... | 2.531847 | 6297e77324b9de2d12311c1f19f42628 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848044 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RushuiGuan/framework",
"max_stars_repo_path": "tests/Albatross.Hosting.Demo/ValuesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167264"
} | starcoder | <filename>tests/Albatross.Hosting.Demo/ValuesController.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Albatross.Authentication.Core;
using Albatross.Config.Core;
using Albatross.Hosting.Demo.Hubs;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.M... | 1.990449 | b91464d9cbb6ceb6e84493e82995418c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848045 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuviKunG/LuviConsole",
"max_stars_repo_path": "Assets/LuviConsole/Scripts/LuviCommandExecution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167265"
} | starcoder | using System.Collections.Generic;
namespace LuviKunG.Console
{
public delegate void LuviCommandExecution(IReadOnlyList<string> arguments);
} | 1.461288 | acbaab16a71c3babe12f56f77aaafec4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848046 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yazawa-ichio/SRNet",
"max_stars_repo_path": "unity/Assets/SRConnection.Unity/Core/Internal/ServerConnectionImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167266"
} | starcoder | <filename>unity/Assets/SRConnection.Unity/Core/Internal/ServerConnectionImpl.cs
using SRConnection.Packet;
using System;
using System.Collections.Generic;
using System.Net;
using System.Security.Cryptography;
namespace SRConnection
{
internal class ServerConnectionImpl : ConnectionImpl
{
static readonly int Clie... | 2.003176 | b1a2008627a550702583008ab18c5272 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848047 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "r-alekseev/Profiler.Net",
"max_stars_repo_path": "src/Profiler.PerformanceTests/ChainEqualityComparerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167267"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Shouldly;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Profiler... | 2.715894 | 1d945ca3feb6d37e9f412998df6f57e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848048 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geantas/Muesli",
"max_stars_repo_path": "Muesli/Muesli/Models/Ingredient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167268"
} | starcoder | <gh_stars>0
using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
using System.Web.Mvc;
using Muesli.ViewModels;
using Muesli.Models;
namespace Muesli.Models
{
public class Ingredient
{
public int IngredientId { get; set; }
public string Name { get... | 1.399083 | 1ca1c919d15efe1d082f92f3aa4b9bfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848049 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iotbusters/assistant.net",
"max_stars_repo_path": "tests/Serialization.Json.Tests/Converters/AdvancedJsonConverterFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167269"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using FluentAssertions;
using NUnit.Framework;
using Assistant.Net.Serialization.Con... | 1.979669 | 3709b2377342100652622addbb56e7ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848050 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/Monitor/Monitor/OutputClasses/PSEventDataHttpRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167270"
} | 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... | 2.229296 | 417376a42f8835aed436fe668356a5ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848051 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "sergeyshushlyapin/Sitecore.FakeDb",
"max_stars_repo_path": "test/Sitecore.FakeDb.Tests/Security/Accounts/UserSwitcherTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167271"
} | starcoder | namespace Sitecore.FakeDb.Tests.Security.Accounts
{
using FluentAssertions;
using Sitecore.Security.Accounts;
using Xunit;
public class UserSwitcherTest
{
[Fact]
public void ShouldSwitchContextUser()
{
// act
using (new UserSwitcher(@"extranet\Visito... | 1.898975 | 625797d28665a9d30bc820d854596a5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848052 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ruudschouten/ModularDungeons",
"max_stars_repo_path": "Assets/Scripts/Generation/Dungeon/Parts/Column.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167272"
} | starcoder | <gh_stars>1-10
using MyMath.Primitives;
using UnityEngine;
namespace Generation.Dungeon.Parts
{
public class Column : MonoBehaviour
{
[SerializeField] private Transform topPart;
[SerializeField] private Transform pillar;
[SerializeField] private Transform bottomPart;
public voi... | 2.558876 | a27ef4852f9ec97e6670e76bb06d57df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848053 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sivertheisholt/BOP3000",
"max_stars_repo_path": "API/Entities/SteamApps/AppList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167273"
} | starcoder | using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace API.Entities.SteamApps
{
public class AppList
{
[Key]
public int Id { get; set; }
[JsonProperty("apps")]
public ICollection<AppListInfo> Apps { get; set; }
[JsonIgnore]
... | 2.014147 | 7998d4f055481b1c79ba1e5a3f7c594f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848054 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "henrikfroehling/Trakt.NET",
"max_stars_repo_path": "Source/Lib/Trakt.NET/Requests/Interfaces/Base/IHasRequestBody'1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167274"
} | starcoder | <filename>Source/Lib/Trakt.NET/Requests/Interfaces/Base/IHasRequestBody'1.cs
namespace TraktNet.Requests.Interfaces.Base
{
internal interface IHasRequestBody<TRequestBodyType> where TRequestBodyType : IRequestBody
{
TRequestBodyType RequestBody { get; set; }
}
}
| 1.868674 | 1d88e77ae4bbfde9b32cdb240ad4c4bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848055 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "odalet/CertXplorer",
"max_stars_repo_path": "src/Delta.CertXplorer.Common/Commanding/ICommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167275"
} | starcoder | <gh_stars>1-10
namespace Delta.CertXplorer.Commanding
{
/// <summary>
/// Represents an UI command
/// </summary>
public interface ICommand
{
/// <summary>
/// Runs the command with the specified arguments.
/// </summary>
/// <param name="verb">The verb this command ... | 2.07834 | 52f6f6b5df92433e52e13eb11ebd2f1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848056 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thientu995/T4LogS",
"max_stars_repo_path": "T4LogS.Example.ASPCore/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167276"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions... | 2.059665 | 0b89fe2d49ad3b3de8ff898060dce1e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848057 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "actioninja/IronyModManager",
"max_stars_repo_path": "src/IronyModManager.Parser/Generic/BaseLineParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167277"
} | starcoder | <reponame>actioninja/IronyModManager
// ***********************************************************************
// Assembly : IronyModManager.Parser
// Author : Mario
// Created : 08-31-2020
//
// Last Modified By : Mario
// Last Modified On : 01-29-2022
// **********************************... | 2.469604 | 05d94cbe33c4ee6f32e4689bd243c6cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848058 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rowdy1/Quandl.NET",
"max_stars_repo_path": "Quandl.NET/Quandl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167278"
} | starcoder | using CsvHelper;
using Flurl.Http;
using Quandl.NET.Model;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System;
namespace Quandl.NET
{
public static class Quandl
{
private static IEnumerable<StockIndexConstituent> ParseIndexConstituentsResponse(strin... | 2.392026 | 69b761abefdc643763b2f7bdf5184618 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848059 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mertozler/CompanyPanel",
"max_stars_repo_path": "DataAccessLayer/Migrations/ContextModelSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167279"
} | starcoder | // <auto-generated />
using System;
using DataAccessLayer.Concrete;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace DataAccessLayer.Migrations
{
[DbContext(... | 1.855521 | 0242ace45c17aa144b81242a24c084f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848060 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "eyupgevenim/TeknikServis",
"max_stars_repo_path": "DAL/Siniflar/DUrun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167280"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using OBJ;
namespace DAL.Siniflar
{
public class DUrun : DBaglanti
{
//ürün ekleme
protected OIslemSonuc<bool> urunEkle(OUrun _u)
{
try
{
var kayit = new urunmodel
... | 2.291954 | 58d130e49b37399248d089b2992eaa1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Max632/Mechanist",
"max_stars_repo_path": "Mechanist Website/Controllers/ManageDownloadController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167281"
} | starcoder | <filename>Mechanist Website/Controllers/ManageDownloadController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Mechanist_Website.Data;
using Mechani... | 2.516685 | 7d98a3f475662d39cd6c27c062e0096e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848062 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "itdesigners/challenges",
"max_stars_repo_path": "src/SubmissionEvaluation/Shared/Models/Submission/UploadModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167282"
} | starcoder | using System.Collections.Generic;
using SubmissionEvaluation.Contracts.Data;
using SubmissionEvaluation.Shared.Models.Shared;
namespace SubmissionEvaluation.Shared.Models.Submission
{
public class UploadModel<T, S> : SubmissionHistoryModel<S> where T : ISubmission where S : IMember
{
public UploadModel... | 1.902583 | b326b9508834b30e35be03972fa44947 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847807 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/data/system/data/dataexception.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167027"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="DataException.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------... | 2.365254 | 3e24f2f70f1b57042bcf1a7764f4050a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847808 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "aTiKhan/Cactus.Fileserver",
"max_stars_repo_path": "Cactus.Fileserver.LocalStorage/SubfolderUriResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167028"
} | starcoder | using System;
using System.IO;
using System.Linq;
using Cactus.Fileserver.LocalStorage.Config;
using Cactus.Fileserver.Model;
using Microsoft.Extensions.Options;
namespace Cactus.Fileserver.LocalStorage
{
/// <summary>
/// Direct storing files in subfolders of the baseFolder based on upload URI
/// </summa... | 2.658071 | 7e008a43401a496bd9f22829d621a65c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stlimtat/arlo-test",
"max_stars_repo_path": "TemplateParser/AbstractTruncateFromCloseTagParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167029"
} | starcoder | <reponame>stlimtat/arlo-test
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TemplateParser
{
internal abstract class AbstractTruncateFromCloseTagParser : IMyParser
{
public abstract string Apply(string tag, IDictionary<string, object> dataSource);
... | 2.318096 | aee8ba7066cd8b0a6fc36ab2eb43c67d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GagiuFilip1/Solaris.Web.CrewApi",
"max_stars_repo_path": "Solaris.Web.CrewApi/Solaris.Web.CrewApi.Presentation/GraphQl/Mutations/ExplorersTeamMutations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167030"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using GraphQL;
using GraphQL.Types;
using Solaris.Web.CrewApi.Core.GraphQl.Helpers;
using Solaris.Web.CrewApi.Core.GraphQl.InputObjects.ExplorersTeam;
using Solaris.Web.CrewApi.Core.Models.Entities;
using Solaris.Web.CrewApi.Core.Services.Interfaces;
using Sol... | 2.156919 | df55ab89a22615303d82d7529e59dba9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jhonny1984/InterfazFracttalSap",
"max_stars_repo_path": "ProInterfaceFracttal/Log.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167031"
} | starcoder | <filename>ProInterfaceFracttal/Log.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace ProInterfaceFracttal
{
public class Log
{
#region Private Attributes
... | 2.979308 | 81dad18b2a4f0fe59aacf1dfc02222e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847812 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "papeh/icu-dotnet",
"max_stars_repo_path": "source/icu.net/NativeMethods/NativeMethods_Regex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167032"
} | starcoder | <reponame>papeh/icu-dotnet
// Copyright (c) 2013-2018 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Runtime.InteropServices;
namespace Icu
{
internal static partial class NativeMethods
{
private class RegexMethodsContainer
{
... | 2.354948 | 0ee0ac72e88c54be8eddba679fec3b82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847813 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nitrictech/dotnet-sdk",
"max_stars_repo_path": "Nitric.Sdk/Document/Query.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167033"
} | starcoder | <gh_stars>1-10
// Copyright 2021, Nitric Technologies Pty Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | 1.819379 | 07f02d3024aff73cfd9f8861f240895e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bcariaga/gato-negro",
"max_stars_repo_path": "src/Bootstrap/Modules/Products/ProductsModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167034"
} | starcoder | using Autofac;
using Bootstrap.Modules.Infrastructure;
using Infrastructure.Features.GetProducts.Dtos;
using Infrastructure.Features.GetProducts.Repositories;
using Infrastructure.Features.GetProducts.Services;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
namespace Bootstrap.Modules.Products... | 2.089531 | c26e5f5d31f3e83343113b655a0d2519 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hashikawau/cs_samples",
"max_stars_repo_path": "AccoutBookServer/Src/Http/HttpListenerWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167035"
} | starcoder | using CSSamples.Common.Logger;
using System;
using System.Collections.Generic;
using System.Net;
namespace AccoutBookServer.Http
{
public class HttpListenerWrapper
{
static Logger _logger = Logger.GetLogger(typeof(HttpListenerWrapper));
HttpListener _listener;
List<IRequestHandler> _... | 2.615752 | bf06ae511f3dc5907ce1bdf68c8670d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847816 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ComarPers922/AI-based-3D-Game-Simulator",
"max_stars_repo_path": "RandomCity/Cars And Roads/Cars/Car.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167036"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
public class Car : MonoBehaviour
{
private static readonly float[] Angles = new float[] { 0f/*, -10f, 10f, -20f, 20f, -30f, 30f*/ };
private static readonly float[] Offsets = new float[] { 0f, /*-.25f, .25f,*/ -.1f, .1f };
public static readonly float ... | 1.93646 | 0cc5250fdf7faed9a944d95ec2a741b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattbragaw/mqb",
"max_stars_repo_path": "Mqb.Data/Descriptors/IHasDataTypeForeign.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167037"
} | starcoder | using Mqb.Descriptors.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mqb.Descriptors
{
public interface IHasDataTypeForeign_R
{
IDataType DataTypeForeign { get; }
}
public interface IHasDataTypeForeign_RW
{
IDataTypeMutable DataTypeForeign { ge... | 1.469902 | 33d05ac2884972f6ed800ce31c9ba49b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ipetk0v/InvenioReportingSystem",
"max_stars_repo_path": "Presentation/Invenio.Web/Invenio.Web/Administration/Models/Report/FinalReportListModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167038"
} | starcoder | <gh_stars>0
using Invenio.Web.Framework;
using Invenio.Web.Framework.Mvc;
using System.Collections.Generic;
using System.Web.Mvc;
namespace Invenio.Admin.Models.Report
{
public class FinalReportListModel : BaseNopEntityModel
{
public FinalReportListModel()
{
AvailableSuppliers = ne... | 1.307152 | 0b9dc18e24edc713dd45630cb795cd55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aurlaw/ReactCore",
"max_stars_repo_path": "ReactCore.Tests/ClientCaptureServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167039"
} | starcoder | <filename>ReactCore.Tests/ClientCaptureServiceTest.cs
using System;
using Xunit;
using ReactCore.Controllers;
using Moq;
using ReactCore.Services;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Components;
using System.Threading.Tasks;
usi... | 2.142222 | 8ef80a3c76d2c01fa6d473b13215c448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847820 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Nosrick/JoyGodot",
"max_stars_repo_path": "Assets/Scripts/Events/JobChangedEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167040"
} | starcoder | <reponame>Nosrick/JoyGodot
using System;
using JoyGodot.Assets.Scripts.Entities.Jobs;
namespace JoyGodot.Assets.Scripts.Events
{
public delegate void JobChangedEventHandler(object sender, JobChangedEventArgs args);
public class JobChangedEventArgs
{
public IJob NewJob { get; set; }
pu... | 1.520225 | 845cc07ae45f32ecfd0a50eec38607ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847821 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsides44/MARSGeofencing",
"max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Editor/Rules/Scripts/ContentRow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167041"
} | starcoder | <filename>MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Editor/Rules/Scripts/ContentRow.cs<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using Unity.MARS.Actions;
using Unity.MARS.Behaviors;
using Unity.MARS.Forces;
using Unity.XRTools.ModuleLoader;
using UnityEditor;
using UnityEditor.MA... | 1.597776 | 4b8678d2f2f1eeb788a0d1e7a9374152 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847822 | {
"extension": "c-sharp",
"max_stars_count": "174.0",
"max_stars_repo_name": "jasoncouture/dd-trace-dotnet",
"max_stars_repo_path": "tracer/test/Datadog.Trace.DuckTyping.Tests/Errors/Methods/NonGenerics/ProxiesDefinitions/WrongArgumentModifier/WrongArgumentModifierVirtualClass.cs",
"provenance": "train-00027-... | starcoder | <filename>tracer/test/Datadog.Trace.DuckTyping.Tests/Errors/Methods/NonGenerics/ProxiesDefinitions/WrongArgumentModifier/WrongArgumentModifierVirtualClass.cs<gh_stars>100-1000
// <copyright file="WrongArgumentModifierVirtualClass.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository ... | 1.923891 | 9cbeb0337b8407e5fe2054824c330841 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847823 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "coldacid/FlatRedBall",
"max_stars_repo_path": "FRBDK/Glue/EntityInputMovementPlugin/ViewModels/AdditionalEntitiesControlViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167043"
} | starcoder | <reponame>coldacid/FlatRedBall<filename>FRBDK/Glue/EntityInputMovementPlugin/ViewModels/AdditionalEntitiesControlViewModel.cs
using EntityInputMovementPlugin.ViewModels;
using FlatRedBall.Glue.MVVM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
usin... | 1.934456 | bc701c2ce6e9c78cdda23596e87097a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847824 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "rngtm/UnityEditor-RatioCalculator",
"max_stars_repo_path": "RatioCalculator/Assets/ratio-calculator/Editor/RatioTreeView_Multiplication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167044"
} | starcoder | ///------------------------
/// Ratio Calculator
/// @ 2019 RNGTM
///------------------------
namespace RatioCalculator
{
using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.IMGUI.Controls;
using UnityEngine;
/// <summary>
/// 数値と係数を指定して計算を行うTreeView
//... | 2.350253 | 655c5690b94a6eb8ebe882d0f4c8165d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saludnqn/Empadronamiento",
"max_stars_repo_path": "DalSic/generated/PnSmiefectoreController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167045"
} | starcoder | using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;... | 2.203172 | daf57d02faa5811c21512ab086cde44c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847826 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "blaherrod/Meraki.Api",
"max_stars_repo_path": "Meraki.Api/Data/NetworkUpdateRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167046"
} | starcoder | <reponame>blaherrod/Meraki.Api<filename>Meraki.Api/Data/NetworkUpdateRequest.cs
namespace Meraki.Api.Data;
/// <summary>
/// UpdateNetwork
/// </summary>
[DataContract]
public class NetworkUpdateRequest
{
/// <summary>
/// The name of the network
/// </summary>
/// <value>The name of the network</value>
[DataMemb... | 2.118691 | 228933a2dd64e6986e4cb9303e1aaf64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "minkostaev/ShortcutsGrid",
"max_stars_repo_path": "ShortcutsGrid/Services/Run/RunProcess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167047"
} | starcoder | <gh_stars>0
namespace ShortcutsGrid.Services.Run;
using System;
using System.Diagnostics;
public static class RunProcess
{
public static string Run(string commandOrPath, bool admin = false)
{
if (string.IsNullOrWhiteSpace(commandOrPath))
{
return string.Empty;
}
i... | 2.110798 | 4c031859165b00463ac3bfc56ed4c5df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847828 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "yadavvineet/Alexa.NET.Management",
"max_stars_repo_path": "Alexa.NET.Management/Package/ImportStatusSkill.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167048"
} | starcoder | using Newtonsoft.Json;
namespace Alexa.NET.Management.Package
{
public class ImportStatusSkill
{
[JsonProperty("skillId")]
public string SkillId { get; set; }
[JsonProperty("eTag")]
public string ETag { get; set; }
[JsonProperty("resources")]
public ImportStat... | 1.517038 | 435e20a99360e4f904f3c08089f5b8a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847829 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Codeer-Software/Friendly.Windows.KeyMouse",
"max_stars_repo_path": "Project/Codeer.Friendly.Windows.KeyMouse.2.0/TimingUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167049"
} | starcoder | using Codeer.Friendly.Windows.KeyMouse.Inside;
namespace Codeer.Friendly.Windows.KeyMouse
{
/// <summary>
/// Utility for taking timing.
/// </summary>
public static class TimingUtility
{
/// <summary>
/// Wait for the timer message to be executed inside the target application.
... | 2.471756 | 7656fe996822eec435b2832b7d1cbb84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847830 | {
"extension": "c-sharp",
"max_stars_count": "834.0",
"max_stars_repo_name": "mavasani/visualstudio-docs",
"max_stars_repo_path": "docs/vs-2015/snippets/csharp/VS_Snippets_VSSDK/firsttoolwin/cs/mytoolwindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167050"
} | starcoder | <filename>docs/vs-2015/snippets/csharp/VS_Snippets_VSSDK/firsttoolwin/cs/mytoolwindow.cs
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.... | 2.607429 | f1094f06e10bd200adfe200bc922766c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847831 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mcneel/CCSycles",
"max_stars_repo_path": "csycles/ShaderNodes/MatrixMathNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167051"
} | starcoder | <reponame>mcneel/CCSycles
/**
Copyright 2014 <NAME> and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... | 2.120215 | bee6a44997a29324c62ed716cf991911 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oliversturm/cs-demos",
"max_stars_repo_path": "4.0/OptionalNamedParameters/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167052"
} | starcoder | // Copyright 2010 <NAME> <<EMAIL>> All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OptionalNamedParameters {
class Program {
static void Main(string[] args) {
// Using the name vs not doesn't make a difference as long as
... | 3.453787 | dfdb94bbd8b8f60b19196daf3981eebb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847833 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AltBuild/AltBuild.BaseExtensions",
"max_stars_repo_path": "StringBuilderExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167053"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.CompilerServices;
namespace AltBuild.BaseExtensions
{
/// <summary>
/// StringBuilder extensions
/// </summary>
public static class StringBuilderExtensions
{
/// <summary>
/// 指定の位置から最後まで、文字列を連結す... | 3.343075 | 92a0e02183b5e707d1ce069dab5c6fdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847834 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SteveRuble/Bloomn",
"max_stars_repo_path": "src/Bloomn/Behaviors/MaxCapacityBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167054"
} | starcoder | namespace Bloomn.Behaviors
{
public enum MaxCapacityBehavior
{
/// <summary>
/// The bloom filter will throw an exception when it hits capacity.
/// </summary>
Throw,
/// <summary>
/// The bloom filter will scale up when it reaches capacity, using the alg... | 2.848466 | 5062087c4b181dcdb6dbc5997467f87a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847835 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mogatti/hazelcast-csharp-client",
"max_stars_repo_path": "Hazelcast.Net/Hazelcast.Core/ServiceNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167055"
} | starcoder | <gh_stars>0
// Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... | 0.706428 | 2e153cd73f22dbd1b3a7317c18c76ebf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847836 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "864430457/asm-dude",
"max_stars_repo_path": "VS/CSHARP/asm-sim-lib/ExecutionTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167056"
} | starcoder | // The MIT License (MIT)
//
// Copyright (c) 2017 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, ... | 2.348771 | a6241f70cd196fa597bb8c6a42a6d257 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847837 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/errors/cs1674-4.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167057"
} | starcoder | // CS1674: `int': type used in a using statement must be implicitly convertible to `System.IDisposable'
// Line: 10
using System;
class C
{
void Method (IDisposable i)
{
using (int o = 1, b = 2)
{
}
}
}
| 2.491443 | a0231d22fb4c9f202e79f03f6a78ff2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sernick/FloorPlanBuilder",
"max_stars_repo_path": "FloorPlanBuilder/FloorPlanBuilder/Classes/AdapterBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167058"
} | starcoder | <reponame>sernick/FloorPlanBuilder
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace FloorPlanBuilder.Classes
{
[Serializable]
public abstract class AdapterBase : INotifyPropertyChanged
{
#region Methods
protected virtual void RaisePropertyChanged([CallerMemberName] ... | 2.189462 | 959bea2fda1bb6565e228a05f35df895 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847839 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "mstr2/Avalonia",
"max_stars_repo_path": "src/Avalonia.OpenGL/IGlPlatformSurface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167059"
} | starcoder | namespace Avalonia.OpenGL
{
public interface IGlPlatformSurface
{
IGlPlatformSurfaceRenderTarget CreateGlRenderTarget();
}
}
| 1.385481 | b1782bcb0dff326f77dc834b3cce3867 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guyrt/routefinder",
"max_stars_repo_path": "src/RouteFinder/RouteFinder/Graph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167060"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
namespace RouteFinder
{
/// <summary>
/// A graph contains a Node -> LinkedList of neighbors. All graphs are weighted, and
/// </summary>
/// <typeparam name="T"></typeparam>
public class Graph<T>
{
private readonly ICo... | 3.038509 | 5b597c501770892f4b136d04c2bd893c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimitarPramatarov/MommyApi",
"max_stars_repo_path": "MommyApi.AppInfrastructure/Extensions/IdentityExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167061"
} | starcoder | <filename>MommyApi.AppInfrastructure/Extensions/IdentityExtension.cs
using System;
namespace MommyApi.AppInfrastructure.Extensions
{
using System.Linq;
using System.Security.Claims;
public static class IdentityExtension
{
public static string GetId(this ClaimsPrincipal user)
=> us... | 2.46832 | a0fbba13c2e522c7f3cdc035d13c3fdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847842 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "XAOS-Interactive/Aura-Operating-System",
"max_stars_repo_path": "Aura Operating System/Aura OS/System/Shell/cmdIntr/Util/EnvVariables.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167062"
} | starcoder | <reponame>XAOS-Interactive/Aura-Operating-System<gh_stars>1-10
/*
* PROJECT: Aura Operating System Development
* CONTENT: Environment variables
* PROGRAMMER(S): <NAME> <<EMAIL>>
*/
using System;
using L = Aura_OS.System.Translation;
namespace Aura_OS.System.Shell.cmdIntr.Util
{
class EnvVar
... | 2.498795 | 1647427599465dfd04d8aef786bc63d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847843 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UniqueStudioAndroid/WeIn-Unity",
"max_stars_repo_path": "Assets/Script/Scripts/Player/ObjectManipulator/ObjectSelector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167063"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections.Generic;
using Hi5_Interaction_Core;
using Hi5_Interaction_Interface;
public class ObjectSelector : MonoBehaviour
{
public HitPointReader hitPointReader;
public List<ObjectComponent> selectedObjects;
private Hi5InputController vrcon;
public Hi5_... | 2.077694 | f3d258e7885704e831be06e0a08bcec9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847844 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JulianVo/SumpfkrautOnline-Khorinis",
"max_stars_repo_path": "RP_Shared_Script/GermanNameValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167064"
} | starcoder | using System;
using System.Text.RegularExpressions;
namespace RP_Shared_Script
{
public sealed class GermanNameValidator : ICharacterNameValidator
{
private readonly Regex _NameRegex = new Regex("^[a-zA-ZäÄüÜöÖ ,.'-]+$");
public bool IsValid(string characterName)
{
if (cha... | 2.970888 | c7e91b2afaca2643e39a4e93a7dd2d12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847845 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "bunq/sdk_csharp",
"max_stars_repo_path": "BunqSdk/Model/Generated/Endpoint/CardBatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167065"
} | starcoder | using Bunq.Sdk.Context;
using Bunq.Sdk.Http;
using Bunq.Sdk.Json;
using Bunq.Sdk.Model.Core;
using Bunq.Sdk.Model.Generated.Object;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Text;
using System;
namespace Bunq.Sdk.Model.Generated.Endpoint
{
/// <summary>
/// Used to update multiple c... | 2.372063 | 72b7d42e8eec8dbee59abf6736fd1bbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847846 | {
"extension": "c-sharp",
"max_stars_count": "991.0",
"max_stars_repo_name": "kant/WhatTheHack",
"max_stars_repo_path": "002-IntroToAzureAI/Host/Solutions/Challenge-2.2-Building-Bots/Code/FinishedPictureBot-Part4/PictureBot/PictureBot/ITopic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167066"
} | starcoder | using System.Threading.Tasks;
using Microsoft.Bot.Builder;
namespace PictureBot
{
public interface ITopic
{
/// <summary>
/// Name of the topic
/// </summary>
string Name { get; set; }
/// <summary>
/// Called when topic starts
/// </summary>
//... | 2.563777 | 12bbfa8a6006be0dfd00871cb66aa219 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847847 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mequanta/MsoServices",
"max_stars_repo_path": "Mso.SignalR/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167067"
} | starcoder | <reponame>mequanta/MsoServices<gh_stars>0
using System;
using Owin;
using Microsoft.AspNet.SignalR;
using System.Collections.Generic;
using Microsoft.Owin;
namespace Mso.SignalR
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
// This property must be set becau... | 1.46371 | 40b3f049648734b820caf7eefed42aa0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847848 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "miyu/Vortice.Windows",
"max_stars_repo_path": "src/Vortice.Direct3D12/RootDescriptorTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167068"
} | starcoder | // Copyright © <NAME> and Contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.
namespace Vortice.Direct3D12;
/// <summary>
/// Describes the root signature 1.0 layout of a descriptor table as a collection of descriptor ranges that appear one after the other ... | 2.235989 | 49511c9769b03752ec658648226d60b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847849 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Letheloney/YiHanCms",
"max_stars_repo_path": "src/YiHan.Cms.Web/Session/PerRequestSessionCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167069"
} | starcoder | <reponame>Letheloney/YiHanCms
using System.Threading.Tasks;
using System.Web;
using Abp.Dependency;
using YiHan.Cms.Sessions;
using YiHan.Cms.Sessions.Dto;
namespace YiHan.Cms.Web.Session
{
public class PerRequestSessionCache : IPerRequestSessionCache, ITransientDependency
{
private readonly ISessionA... | 1.851532 | 430ce5d7acc2d65fb1f3e07dff5dab7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847850 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jankeesv/RFIDKanban",
"max_stars_repo_path": "KanbanStatsServer/WebApplication/Controllers/ValuesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167070"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using WebApplication.Models;
namespace WebApplication.Controllers
{
public class ValuesController : ApiController
{
// GET api/values
... | 2.430056 | cd554e3d0683c8f76854b686ee598c6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847851 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "imranq2/Fabric.Identity",
"max_stars_repo_path": "Fabric.Identity.API/FabricIdentityEnums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167071"
} | starcoder | namespace Fabric.Identity.API
{
public class FabricIdentityEnums
{
public enum ValidationState
{
Duplicate,
MissingRequiredField
}
public enum PrincipalType
{
User,
Group,
UserAndGroup
}
... | 1.714062 | 8dd8dad465c9f0397f2bf4587ff0c3cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847852 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "itchyOwl/general-unity-utilities",
"max_stars_repo_path": "General/SerializableStructs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167072"
} | starcoder | using System;
namespace ItchyOwl.General
{
/// <summary>
/// Unity structs are not marked as serializable and cannot thus be serialized by .Net BinaryFormatter.
/// One solution around this, is to convert the Unity structs to custom structs before saving them in binary format.
/// Note that this is r... | 3.039188 | cbf36ed092fab39b0f2452729bf9b208 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847853 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fengqinhua/Maple",
"max_stars_repo_path": "src/Maple.Core/Data/DbDriveFactories.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167073"
} | starcoder | using Maple.Core;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace System.Data.Common
{
public static class DbDriveFactories
{
public const string SQLiteProviderInvariantName = "System.Data.SQLite";
public const string OracleProvid... | 2.704745 | 83a78cbfddc18bcb8c255adab6161b6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847854 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peteryu54089/android-meeting",
"max_stars_repo_path": "MeetingServer/MeetingSystem/MeetingServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167074"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Threading;
using System.Net.Sockets;
namespace MeetingSystem
{
public class MeetingServer
{
private const int broadcastPort = 3389;
private const int screenServicePort = 8080;
... | 2.550635 | 154144d0f864501310d52d42b3024e9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847855 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "Meowv/meowv.core",
"max_stars_repo_path": "Plus.Core/Plus/ObjectExtending/Modularity/ModuleExtensionConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167075"
} | starcoder | <reponame>Meowv/meowv.core
using JetBrains.Annotations;
using System.Collections.Generic;
namespace Plus.ObjectExtending.Modularity
{
public class ModuleExtensionConfiguration
{
[NotNull]
public EntityExtensionConfigurationDictionary Entities { get; }
[NotNull]
public Dictiona... | 1.740269 | 8f17fc7ad71c2e9b28347dcac16d4e57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847856 | {
"extension": "c-sharp",
"max_stars_count": "361.0",
"max_stars_repo_name": "TypeTen/HunterPie",
"max_stars_repo_path": "HunterPie.Core/Utils/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167076"
} | starcoder | using System;
using System.Text.RegularExpressions;
namespace HunterPie.Utils
{
public static class StringExtensions
{
/// <summary>
/// Removes specific characters from a string
/// </summary>
/// <param name="value">string</param>
/// <param name="chars">characters t... | 3.632141 | a1a976bcb4759f16d1bd56d553d6ecdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847857 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wouterdevinck/lamp",
"max_stars_repo_path": "test/simulator/Lamp.Simulator/Nvs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167077"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using LampInterop;
namespace Lamp.Simulator {
internal class Nvs: AbstractNvs {
private readonly Dictionary<string, string> _store = new Dictionary<string, string>();
protected override string GetValue(string key) {
return _store.Cont... | 2.205186 | c112ead3f12fe364f996899d141a6c4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847858 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cheng219/tianyu",
"max_stars_repo_path": "Assets/Shares/Tables/NewGuideRefTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167078"
} | starcoder | <gh_stars>1-10
//=========================
//作者:龙英杰
//日期:2016/2/15
//用途:新手引导静态配置表
//=========================
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class NewGuideRefTable : AssetTable
{
public List<NewGuideRef> infoList = new List<NewGuideRef>();
}
[System.Seriali... | 1.621098 | 3525707dc72a53bea496e575943b5b74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakapon/AtCoder-Contests",
"max_stars_repo_path": "CSharp/AOJCourses/ITP205/A.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167079"
} | starcoder | <reponame>sakapon/AtCoder-Contests<gh_stars>0
using System;
using System.Linq;
class A
{
static void Main() => Console.WriteLine(string.Join("\n", new int[int.Parse(Console.ReadLine())].Select(_ => Console.ReadLine().Split().Select(int.Parse).ToArray()).OrderBy(v => v[0]).ThenBy(v => v[1]).Select(v => $"{v[0]} ... | 2.510007 | 9736a866ca70e716c5ec85ef1d5851f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HenkVanMilligen/Philcosa",
"max_stars_repo_path": "Philcosa.Application/Features/CoverTypes/Queries/GetAll/GetAllCoverTypesQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167080"
} | starcoder | using AutoMapper;
using Philcosa.Application.Interfaces.Repositories;
using Philcosa.Domain.Entities;
using Philcosa.Shared.Constants.Application;
using Philcosa.Shared.Wrapper;
using LazyCache;
using MediatR;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using S... | 2.226745 | a4000673206625c3c216a39bca61a30f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847861 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MohamedHashish42/Data-Structures-And-Algorithms",
"max_stars_repo_path": "3-Algorithms/Algorithms/Algorithms/3-Searching_Traversing/BreadthFirstSearch/1-BFSforTree.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167081"
} | starcoder | <filename>3-Algorithms/Algorithms/Algorithms/3-Searching_Traversing/BreadthFirstSearch/1-BFSforTree.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Algorithms.Searching_Traversing
{
class BFSforTree
{
public static List<int> BFS_Iterative(Node currentNode)
{
... | 3.444392 | c8c96cff27cfff8d4f02a42f1656ee6f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivs/DjvuNet",
"max_stars_repo_path": "DjvuNet.DjvuLibre/Messages/LayoutMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167082"
} | starcoder | using System.Runtime.InteropServices;
namespace DjvuNet.DjvuLibre
{
/// <summary>
/// This message is generated when a DjVu viewer
/// should recompute the layout of the page viewer
/// because the page size and resolution information
/// has been updated.
/// </summary>
/// <remarks>
... | 2.220052 | a1407a44a48d74d35c4f2e9a89e15376 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847863 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "douglasciole/The-Hunter",
"max_stars_repo_path": "Assets/Scripts/MainMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167083"
} | starcoder | <gh_stars>0
using System;
using UnityEngine;
public class MainMenu : MonoBehaviour {
// Use this for initialization
void Start()
{
FindObjectOfType<AudioManager>().Play("mainMenu");
}
}
| 1.014019 | 75900f6f998d2016a40859529d3d8f94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847864 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "still-scene/t3",
"max_stars_repo_path": "Operators/Types/ExecRepeatedly.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167084"
} | starcoder | <filename>Operators/Types/ExecRepeatedly.cs<gh_stars>10-100
using T3.Core;
using T3.Core.Logging;
using T3.Core.Operator;
using T3.Core.Operator.Attributes;
using T3.Core.Operator.Slots;
namespace T3.Operators.Types.Id_46420979_1e56_4de3_a6ca_0447be1b9813
{
public class ExecRepeatedly : Instance<ExecRepeatedly>
... | 2.315377 | fc3952404e8b5f587b0b5bcbb09cfe6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847865 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SkillsFundingAgency/das-employerusers",
"max_stars_repo_path": "src/SFA.DAS.EmployerUsers.Web.UnitTests/OrchestratorTests/AccountOrchestratorTests/WhenConfirmingChangeEmail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167085"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using MediatR;
using Moq;
using NLog;
using NUnit.Framework;
using SFA.DAS.EmployerUsers.Application.Commands.ChangeEmail;
using SFA.DAS.EmployerUsers.Application.Exceptions;
using SFA.DAS.EmployerUsers.Application.Qu... | 1.953736 | b545e0af65cc3d1c9b094b3d36825005 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847866 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "etechi/ServiceFramework",
"max_stars_repo_path": "Projects/Server/Common/SF.IdentityService.Abstractions/Managers/IUserManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167086"
} | starcoder | <reponame>etechi/ServiceFramework
#region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 <NAME> (<EMAIL>)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy... | 1.584178 | 564912c53ae474a15d6b390d56d91103 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847867 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Toxa2202/plast",
"max_stars_repo_path": "EPlast/EPlast.DataAccess/Repositories/Realizations/User/UserPlastDegreesRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167087"
} | starcoder | using EPlast.DataAccess.Entities;
using EPlast.DataAccess.Repositories.Contracts;
namespace EPlast.DataAccess.Repositories
{
public class UserPlastDegreesRepository : RepositoryBase<UserPlastDegree>, IUserPlastDegreesRepository
{
public UserPlastDegreesRepository(EPlastDBContext dbContext)
... | 1.657906 | b1303da6d36c9748337a8537fdc1afb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847868 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "aurigma/WebControls",
"max_stars_repo_path": "AjaxControls/Common/ResDescriptionAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167088"
} | starcoder | <reponame>aurigma/WebControls
// Copyright (c) 2018 Aurigma Inc. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
namespace Aurigma.GraphicsMill.AjaxControls
{
[AttributeUsage(AttributeTargets.All)]
internal sealed class... | 2.063047 | 01b68142611151202459aa4f44541e05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847869 | {
"extension": "c-sharp",
"max_stars_count": "238.0",
"max_stars_repo_name": "fairhopeweb/NFT.net",
"max_stars_repo_path": "src/NFT.net/Exception/DifferentLayerSizeException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167089"
} | starcoder | <reponame>fairhopeweb/NFT.net
// <copyright file="DifferentLayerSizeException.cs" company="Tedeschi">
// Copyright (c) Tedeschi. All rights reserved.
// </copyright>
namespace Tedeschi.NFT.Exception
{
public class DifferentLayerSizeException : System.Exception
{
public DifferentLayerSizeException()
... | 1.881499 | 68627fdbcd338a4a7db6a881c113b1d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847870 | {
"extension": "c-sharp",
"max_stars_count": "245.0",
"max_stars_repo_name": "bacongobbler/hippo",
"max_stars_repo_path": "tests/Core.UnitTests/Events/EventTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167090"
} | starcoder | using System;
using System.Linq;
using Hippo.Core.Entities;
using Hippo.Core.Events;
using Xunit;
namespace Core.UnitTests.Events;
public class EventTests
{
[Fact]
public void AppCreatedEventTest()
{
var x = new App();
Assert.Equal(x, new CreatedEvent<App>(x).Entity);
}
[Fact]
... | 1.891904 | 615fe9a5da5af3ba382dad8638e44e1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847871 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jksware/sim-agents-clustering",
"max_stars_repo_path": "VisualAgents/AgentsClusteringDemo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167091"
} | starcoder | /*
* Visual Agents (for clustering)
*
* Copyright (C) 2014 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights... | 2.409292 | d3510158f016c1e0682320b5a9e91222 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maycondbraga/ExerciciosIniciante",
"max_stars_repo_path": "Exercicios.Estrutura.Properties/Class.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167092"
} | starcoder | <reponame>maycondbraga/ExerciciosIniciante
using System;
using System.Threading;
using System.Globalization;
namespace Exercicios.Estrutura.Properties
{
public class ExerciciosProperties
{
/// <summary> Cadastra um produto e adiciona e remove unidades do estoque, agora utilizando encapsulamento manual... | 3.420532 | 425bed7d961f5a2aadbfcd56ea080fe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kolokolov-i/UPrint",
"max_stars_repo_path": "UPrintServer/entity/Job.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167093"
} | starcoder | <reponame>kolokolov-i/UPrint<gh_stars>0
using System;
namespace UPrint.entity
{
public class Job
{
public int Id { get; set; }
public String Name { get; set; }
public DateTime DateAdd { get; set; }
public String Description { get; set; }
public short Person { get; set; ... | 2.274545 | f49e2864e38f934b8b91f1693808ddd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847874 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "riccardod/fubumvc",
"max_stars_repo_path": "src/Spark.Web.FubuMVC.Tests/Controllers/StubController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167094"
} | starcoder | namespace Spark.Web.FubuMVC.Tests.Controllers
{
public class StubController
{
}
} | 0.726177 | aef9e8be6477c67e75e454861c058f76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847875 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qinyuanpei/ExcelLite",
"max_stars_repo_path": "ExcelLite/Interface/IExcelWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167095"
} | starcoder | <filename>ExcelLite/Interface/IExcelWriter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExcelLite.Interface
{
interface IExcelWriter
{
void AppendRow(object[] data);
void AppendRow<T>(T entity) where T : class;... | 2.598972 | e304297e235fe4920d05be1810c9c191 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847876 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK",
"max_stars_repo_path": "NextGenSoftware.Holochain.HoloNET.HDK.Core/CSharpDNATemplates/Interfaces/IPlanetDNATemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167... | starcoder | <gh_stars>10-100
namespace NextGenSoftware.Holochain.HoloNET.HDK.Core.CSharpTemplates
{
public interface IPlanetDNATemplate : IPlanet
{
}
}
| 0.964769 | 298193fddebe2e6194489cd7842bfc7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847877 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "golfstrom/notifo",
"max_stars_repo_path": "backend/src/Notifo.Domain/Channels/Sms/ISmsUrl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167097"
} | starcoder | <gh_stars>1-10
// ==========================================================================
// Notifo.io
// ==========================================================================
// Copyright (c) <NAME>
// All rights reserved. Licensed under the MIT license.
// =================================================... | 1.272089 | ae1cd41158f9823263c4d5d3ae91f0ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847878 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sangeren/PlayWith",
"max_stars_repo_path": "PlayWith.Oauth/ViewModels/LogoutViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167098"
} | starcoder | <filename>PlayWith.Oauth/ViewModels/LogoutViewModel.cs
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PlayWith.Oauth.ViewModels
{
public class LogoutViewModel
{
[BindNever]
public string Re... | 1.680072 | 3506315f60e2075614b0a47ac38d19a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847879 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yuxiaobopp/furryshelter",
"max_stars_repo_path": "client/webapitest/api/WebApplication/DbModels/Register.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167099"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApplication.DbModels
{
public class Register
{
public int Id { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public ... | 1.999387 | 09fcf7a52fdbb80269f436e36d980a02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847880 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MrBabadook/DarkRiftRPGServer",
"max_stars_repo_path": "Assets/Scripts/ConnectedClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167100"
} | starcoder | <reponame>MrBabadook/DarkRiftRPGServer
using DarkRift.Server;
using DarkRift;
using System;
namespace DarkRiftRPG
{
public class ConnectedClient
{
public ushort ClientID;
public IClient Client;
public string PlayFabID;
public PlayFabCharacterData CurrentCharacterD... | 2.135521 | b22f48830d88d0b22cf7fa08df39b11b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847881 | {
"extension": "c-sharp",
"max_stars_count": "65.0",
"max_stars_repo_name": "XandraAI/syn-speech",
"max_stars_repo_path": "Syn.Speech/Linguist/Flat/WordState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167101"
} | starcoder | <reponame>XandraAI/syn-speech
using Syn.Speech.Linguist.Dictionary;
//REFACTORED
namespace Syn.Speech.Linguist.Flat
{
/// <summary>
/// Represents a word in an SentenceHMMS
/// </summary>
public class WordState : SentenceHMMState
{
/** Creates a WordState
/// @param which*/
... | 2.727488 | 24e282bb75d4c8b736fee1121afc1eb5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evertonfa7/Algoritmos-e-Estruturas-de-Dados-",
"max_stars_repo_path": "Estrutura_De_Dados_Classicas/Pilhas/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167102"
} | starcoder | using System;
namespace Pilhas
{
class Program
{
static void Main(string[] args)
{
PilhaDinamica<int> pilha = new PilhaDinamica<int>();
pilha.Empilhar(1);
pilha.Empilhar(2);
pilha.Empilhar(3);
pilha.Empilhar(4);
... | 2.716428 | dfd08fcfba485b5469db1543dbe27c61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8847883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-2021-DataStore",
"max_stars_repo_path": "src/ESFA.DC.ILR.DataStore.PersistData/Helpers/PersistenceHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167103"
} | starcoder | using System;
using System.Data.SqlClient;
namespace ESFA.DC.ILR.DataStore.PersistData.Helpers
{
public static class PersistenceHelper
{
public static SqlParameter AddWithNullableValue(this SqlParameterCollection collection, string parameterName, object value)
{
return collection.A... | 1.947388 | 30b5f32b7c8f41f0fd417ac1bc5ef523 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.