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 | 8833412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarinMarinov/C-Sharp-Part-2",
"max_stars_repo_path": "Homework 02-Multidimensional Arrays/Problem 3. Sequence n matrix/Problem 03- Sequence n matrix.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152632"
} | starcoder | <filename>Homework 02-Multidimensional Arrays/Problem 3. Sequence n matrix/Problem 03- Sequence n matrix.cs
/*
We are given a matrix of strings of size N x M. Sequences in the matrix we define as sets of several neighbour elements located on the same line, column or diagonal.
Write a program that finds the longest s... | 3.742527 | 866be13a13d3465e210e221277dc65a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833413 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jeastham1993/ApiEndpoints",
"max_stars_repo_path": "src/Ardalis.ApiEndpoints/BaseEndpoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152633"
} | starcoder | <reponame>jeastham1993/ApiEndpoints<filename>src/Ardalis.ApiEndpoints/BaseEndpoint.cs
using Microsoft.AspNetCore.Mvc;
namespace Ardalis.ApiEndpoints
{
/// <summary>
/// A base class for an endpoint that accepts parameters.
/// </summary>
/// <typeparam name="TRequest">The type to be model bound by the... | 2.447069 | 1f5dbeaccebda00090888ee2ac768379 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833414 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "NimbusHex/XDMessaging.Net",
"max_stars_repo_path": "src/XDMessaging/Entities/Amazon/AmazonSqsNotification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152634"
} | starcoder | <filename>src/XDMessaging/Entities/Amazon/AmazonSqsNotification.cs
using System.Runtime.Serialization;
namespace XDMessaging.Entities.Amazon
{
[DataContract]
internal sealed class AmazonSqsNotification
{
[DataMember]
public string Message { get; set; }
[DataMember]
public ... | 1.874793 | 4129765dd8f25f97490df51c40cff26b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kirilmiletiev/WebCraigslist",
"max_stars_repo_path": "info/BOOKS/BOOKS FROM CORNER/DDD CLEAN CODE/Partial Solutions/9. Integration Tests of Web Features/CarRentalSystem.Application/Features/CarAds/Queries/Search/SearchCarAdsQuery.cs",
... | starcoder | <gh_stars>0
namespace CarRentalSystem.Application.Features.CarAds.Queries.Search
{
using System.Threading;
using System.Threading.Tasks;
using MediatR;
public class SearchCarAdsQuery : IRequest<SearchCarAdsOutputModel>
{
public string? Manufacturer { get; set; }
public class Searc... | 2.146006 | f7b69e0ae015340fe8053f22a9bcd75c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "contino/dotnet-training-course",
"max_stars_repo_path": "Kata/CustomTypes/Complete/RecyclingFactory/Foil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152636"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Kata.CustomTypes.RecyclingFactoryDone
{
public class Foil : TinBase
{
}
}
| 1.194893 | 9fc6321c7247967c58e6bdce95190503 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-login-service",
"max_stars_repo_path": "src/SFA.DAS.LoginService.Web/Controllers/ResetPassword/ViewModels/PasswordResetSuccessfulViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152637"... | starcoder | namespace SFA.DAS.LoginService.Web.Controllers.ResetPassword.ViewModels
{
public class PasswordResetSuccessfulViewModel
{
public string ReturnUrl { get; set; }
public string ServiceName { get; set; }
}
} | 1.307269 | 7aa609efbff4fc1abc5b2b81bee44b12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833418 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "leejuqiang/LGFW",
"max_stars_repo_path": "Unity3D/LGFW/Mesh/Geometry/MeshEditorBone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152638"
} | starcoder | <reponame>leejuqiang/LGFW
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace LGFW
{
[ExecuteInEditMode]
public class MeshEditorBone : MonoBehaviour
{
public Vector3 m_dir;
private Transform m_trans;
public Transform Trans
... | 1.903316 | 9dc1606dc551d7560b33c1ee544018d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cqtd/league-of-legends-tft",
"max_stars_repo_path": "Assets/Prototype/Scripts/Object/ItemObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152639"
} | starcoder | <gh_stars>0
namespace Prototype
{
public class ItemObject : StaticData
{
public int id;
public string description;
public bool IsCombined {
get
{
return id > 10;
}
}
}
public class ItemDataBridge
{
public int id;
public string name;
public string description;
}
} | 1.55731 | e70355b7895f2ff70d77db50696c3b5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Herdo/hou-guildbot",
"max_stars_repo_path": "src/Shared/StrongTypes/StrongTypeGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152640"
} | starcoder | <filename>src/Shared/StrongTypes/StrongTypeGenerator.cs
// ReSharper disable IdentifierTypo
// ReSharper disable CommentTypo
// ReSharper disable PartialTypeWithSinglePart
// ReSharper disable InheritdocConsiderUsage
// ReSharper disable RedundantNameQualifier
// ReSharper disable HeuristicUnreachableCode
// ReSharper... | 2.382558 | 3a237b35fbafc4d57f9091d90d168a77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreaDenikova/csharp-jobsite-repository",
"max_stars_repo_path": "Data/MyJobSite.Data.Models/ReportedJobPosting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152641"
} | starcoder | <reponame>AndreaDenikova/csharp-jobsite-repository
namespace MyJobSite.Data.Models
{
using System;
using System.Collections.Generic;
using System.Text;
using MyJobSite.Data.Common.Models;
public class ReportedJobPosting : BaseDeletableModel<string>
{
public ReportedJobPosting()
... | 1.782779 | ef53b462dd16694de2493d257bad38af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rin6321910/Github-GameOff-2021",
"max_stars_repo_path": "Assets/Scripts/Abilities/GameActionBlocks/VFXActionBlocks/ArcIndicatorVFXActionBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152642"
} | starcoder | <filename>Assets/Scripts/Abilities/GameActionBlocks/VFXActionBlocks/ArcIndicatorVFXActionBlock.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
[CreateAssetMenu(menuName = "Definitions/Game Action/VFX/ArcIndicatorVFXActionBlock")]
public class ArcIndicatorVFXActio... | 1.99981 | 5dcf6bce1494ebd1ecbe9d887776ad8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833423 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RIDICS/Authentication",
"max_stars_repo_path": "Solution/Ridics.Authentication.DataEntities/UnitOfWork/ExternalLoginProviderUoW.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152643"
} | starcoder | <filename>Solution/Ridics.Authentication.DataEntities/UnitOfWork/ExternalLoginProviderUoW.cs
using System.Collections.Generic;
using DryIoc.Facilities.NHibernate;
using DryIoc.Transactions;
using Ridics.Authentication.DataEntities.Entities;
using Ridics.Authentication.DataEntities.Exceptions;
using Ridics.Authenticati... | 1.907045 | 7466deefdd294fcc9fd86ff3f01d937e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "casaletto/alby.pantheon.2015",
"max_stars_repo_path": "alby.pantheon.codegen/storedProcedure/LogEntryGet.rs1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152644"
} | starcoder |
// This file was automatically generated by the code gen tool - do not modify.
using System ;
using scg = System.Collections.Generic ;
using sd = System.Data ;
using sds = System.Data.SqlClient ;
using sr = System.Reflection ;
using mst = Microsoft.SqlServer.Types ;
using mss = Microsoft.SqlServer.Server ;
... | 1.690761 | 2bd761cabe6d35bb4205b5e25ed31703 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833425 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "undancer/oni-data",
"max_stars_repo_path": "Managed/main/SuperCheckboxTableColumn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152645"
} | starcoder | <reponame>undancer/oni-data
using System;
using UnityEngine;
public class SuperCheckboxTableColumn : CheckboxTableColumn
{
public GameObject prefab_super_checkbox = Assets.UIPrefabs.TableScreenWidgets.SuperCheckbox_Horizontal;
public CheckboxTableColumn[] columns_affected;
public SuperCheckboxTableColumn(Checkbox... | 1.609153 | acfa95a6c122ff6f3fb52c480b85efa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "indrivo/bizon360_pm",
"max_stars_repo_path": "IndrivoPM/Gear.ProjectManagement.Application/Domain/Sprints/Queries/GetSprintListQuery/GetSprintListQueryValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152646"
} | starcoder | using FluentValidation;
namespace Gear.ProjectManagement.Manager.Domain.Sprints.Queries.GetSprintListQuery
{
public class GetSprintListQueryValidator : AbstractValidator<GetSprintListQuery>
{
public GetSprintListQueryValidator()
{
RuleFor(request => request.ProjectId).NotNull().Not... | 1.895928 | 998a866c1bf8b911def3b19d54b68252 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833427 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "Microsoft/psi",
"max_stars_repo_path": "Sources/Visualization/Microsoft.Psi.Visualization.Windows/Data/DataManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152647"
} | starcoder | <filename>Sources/Visualization/Microsoft.Psi.Visualization.Windows/Data/DataManager.cs<gh_stars>10-100
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Visualization.Data
{
using System;
using System.Collections.Generic;
using ... | 2.438214 | d753518609d3cbebc90aa37736ab55e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ViktorAleksandrov/SoftUni--CSharp-Fundamentals",
"max_stars_repo_path": "3. CSharp OOP Advanced/01. SOLID/1. Lab/P03.DetailPrinter/Strartup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152648"
} | starcoder | <reponame>ViktorAleksandrov/SoftUni--CSharp-Fundamentals
namespace P03.DetailPrinter
{
class Strartup
{
static void Main()
{
}
}
} | 1.312678 | d7d463cd2ef70db66a30f07ae30aa857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833429 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "dks50217/OpenBots.Studio",
"max_stars_repo_path": "OpenBots.Core/Utilities/CommonUtilities/StringMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152649"
} | starcoder | using Microsoft.Office.Interop.Outlook;
using MimeKit;
using OpenQA.Selenium;
using System;
using System.Data;
using System.Drawing;
using System.Security.Cryptography;
using System.Text;
namespace OpenBots.Core.Utilities.CommonUtilities
{
public static class StringMethods
{
#region Data Encryption
... | 2.854783 | c4ad5f6a92dc9a86e1f88f4376c7bac2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rincew1nd/BaldurToolkit",
"max_stars_repo_path": "src/BaldurToolkit.Entities/Timers/PrioritizedEntityUpdateWorker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152650"
} | starcoder | using System;
using System.Collections.Concurrent;
namespace BaldurToolkit.Entities.Timers
{
public class PrioritizedEntityUpdateWorker<TEntityId, TEntity> : BaseUpdateWorker
where TEntity : class, IEntity<TEntityId>, IPrioritizedUpdateable
where TEntityId : struct, IEquatable<TEntityId>
... | 2.788803 | b6adbab46e614d2571b5cc6b2d54c7b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833431 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pfpack/pfpack-core",
"max_stars_repo_path": "src/core-taggeds-failure/Failure.Tests/Test.FailureStatic/FailureStaticTest.Factory.Unit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152651"
} | starcoder | #nullable enable
using System;
using Xunit;
using static PrimeFuncPack.Core.Tests.AssertHelper;
using static PrimeFuncPack.UnitTest.TestData;
namespace PrimeFuncPack.Core.Tests;
partial class FailureStaticTest
{
[Fact]
public void CreateUnitFailureCode_SourceFailureMessageIsNull_ExpectFailureCodeIsUnitAndMes... | 2.0639 | 80595a224b758b35ad3bf466571e0f8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sagmor/courier",
"max_stars_repo_path": "src/Data/Core/Persistence/IMessageRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152652"
} | starcoder | namespace HawkLab.Data.Core.Persistence
{
using System;
using System.Collections.Generic;
using HawkLab.Data.Core.Types;
public interface IMessageRepository
{
// Message GetById(Guid id);
Message Update(Message updatedMessage);
Message Add(Message newMessage, Thread aThrea... | 2.004556 | f18b615b1217ecb0a1ea06beb17a63bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833433 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Wes-Reid/embc-ess",
"max_stars_repo_path": "oracle-builder/OracleBuilderNet/database-models/Systemuser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152653"
} | starcoder | <reponame>Wes-Reid/embc-ess
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Jag.Embc.Interfaces.Models
{
using Newtonsoft.Json;
using System.Collections;
... | 1.387945 | 17b10e2c419cdf4e27232dae05e5919b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833434 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "WildGums/Blorc.OpenIdConnect",
"max_stars_repo_path": "src/Blorc.OpenIdConnect.DemoApp/Services/WeatherForecastHttpClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152654"
} | starcoder | <reponame>WildGums/Blorc.OpenIdConnect
namespace Blorc.OpenIdConnect.DemoApp
{
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using Blorc.OpenIdConnect.DemoApp.Services;
public class WeatherForecastHttpClient
{
private readonly HttpClient _http;
... | 2.378834 | cc45e03068637667bdca10df0a537d86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833435 | {
"extension": "c-sharp",
"max_stars_count": "553.0",
"max_stars_repo_name": "ggbbeyou/lin-cms-dotnetcore",
"max_stars_repo_path": "test/LinCms.Test/Service/Cms/LogServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152655"
} | starcoder | <gh_stars>100-1000
using System.Collections.Generic;
using LinCms.Cms.Logs;
using Xunit;
using Microsoft.Extensions.DependencyInjection;
namespace LinCms.Test.Service.Cms
{
public class LogServiceTest : BaseLinCmsTest
{
private readonly ILogService _logService;
public LogServiceTest() : base(... | 1.750769 | 17701fc0a31c15e1175e7e2f81b47db0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833436 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "xenial-io/Xenial",
"max_stars_repo_path": "test/Xenial.Framework.Tests/ModelBuilders/XafBuilderManagerFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152656"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.ExpressApp.DC;
using FakeItEasy;
using Xenial.Framework.ModelBuilders;
using static Xenial.Tasty;
namespace Xenial.Framework.Tests.ModelBuilders
{
/// <summary> An xaf builder... | 2.260198 | ccf02c4cf827576ba71056dd55c26bc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833437 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "aubergemediale/xds_temp",
"max_stars_repo_path": "src/components/NBitcoin/BouncyCastle/crypto/signers/RandomDsaKCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152657"
} | starcoder | <filename>src/components/NBitcoin/BouncyCastle/crypto/signers/RandomDsaKCalculator.cs
using System;
using NBitcoin.BouncyCastle.math;
using NBitcoin.BouncyCastle.security;
namespace NBitcoin.BouncyCastle.crypto.signers
{
class RandomDsaKCalculator
: IDsaKCalculator
{
BigInteger q;
Secu... | 2.51426 | 3f0560761572e5df04ffda909e6590ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oss-sakura/WPF_MVVM_SAMPLE",
"max_stars_repo_path": "WpfMVVMSample/ViewModel/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152658"
} | starcoder | <filename>WpfMVVMSample/ViewModel/MainWindowViewModel.cs
/*
* MainWindowViewModel.cs
*
* Copyright (c) 2021 IT SUPPORT SAKURA Co., Ltd.
*
* Released under the MIT license.
* see https://opensource.org/licenses/MIT
*
*/
using System.Windows;
namespace WpfMVVMSample.ViewModel
{
public class MainWindowViewM... | 2.514039 | fb60c5a5adb024290a72d4994c4cbacc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833439 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "et9930/ECS-Game",
"max_stars_repo_path": "Assets/Script/Generated/Game/Components/GameTeamComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152659"
} | starcoder | <reponame>et9930/ECS-Game
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityApiGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is ... | 1.91476 | ff7e4a545de5116571d47b74dc603eb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833440 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YarGU-Demidov/math-site",
"max_stars_repo_path": "src/MathSite.BasicAdmin.ViewModels/Home/DashboardPageViewModelBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152660"
} | starcoder | <filename>src/MathSite.BasicAdmin.ViewModels/Home/DashboardPageViewModelBuilder.cs
using System.Threading.Tasks;
using MathSite.BasicAdmin.ViewModels.SharedModels.Common;
using MathSite.Facades.SiteSettings;
namespace MathSite.BasicAdmin.ViewModels.Home
{
public interface IDashboardPageViewModelBuilder
{
... | 2.377411 | c044b2b8c753724b9603f39fea5275ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833441 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XamarinUniversity/XAM151",
"max_stars_repo_path": "Exercise 1/Completed/BookClient/BookClient/Data/BookManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152661"
} | starcoder | <reponame>XamarinUniversity/XAM151
using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using System.Threading.Tasks;
namespace BookClient.Data
{
public class BookManager
{
const string Url = "http://xam150.azurewebsites.net/... | 2.659689 | e92acc29e89676efb2b5cf90362cba83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833442 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "suhyeon/Khala.Messaging",
"max_stars_repo_path": "source/Khala.Messaging.Abstraction/Messaging/IScheduledMessageBus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152662"
} | starcoder | <reponame>suhyeon/Khala.Messaging<gh_stars>1-10
namespace Khala.Messaging
{
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// Represents the client of the message bus that sends a message at the scheduled time.
/// </summary>
public interface IScheduledMessageBus
{
... | 2.629681 | 8fa7bd3ba986988f3334c790a4a4d314 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833443 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MomchilSt/SoftUni",
"max_stars_repo_path": "01-Programming-Basics/C# Basics/Exams/12. 07 May 2017/School Camp/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152663"
} | starcoder | <filename>01-Programming-Basics/C# Basics/Exams/12. 07 May 2017/School Camp/Program.cs<gh_stars>1-10
using System;
class Program
{
static void Main()
{
string season = Console.ReadLine().ToLower();
string groupType = Console.ReadLine().ToLower();
int students = int.Parse(Console.ReadLi... | 3.278132 | 4a0a107e7dabb8dc0dc6aa4cfa762577 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HX-Rd/Solid.Http.Extensions.SharpCompress",
"max_stars_repo_path": "Solid.Http.Extensions.SharpCompress/Abstraction/ISharpCompressSerializerSettingsProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152664"
} | starcoder | using SharpCompress.Readers;
using HXRd.Solid.Http.Extensions.SharpCompress;
using System;
using System.Collections.Generic;
using System.Text;
namespace HXRd.Solid.Http.Extensions.SharpCompress.Abstraction
{
public interface ISharpCompressSerializerSettingsProvider
{
SharpCompressOptions Ge... | 1.175375 | d53b17b80b5ea8b1b987bab8579b39b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833445 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/FabricGRM/src/system/fabric/FabricGRM/models/HttpRouteMatchHeader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152665"
} | starcoder | <gh_stars>1000+
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace... | 2.234121 | 95255865672f99621f27962e56c3a901 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Djohnnie/SwmSuite-Original",
"max_stars_repo_path": "SwmSuite.Business/DataMapping/AgendaMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152666"
} | starcoder | <reponame>Djohnnie/SwmSuite-Original<filename>SwmSuite.Business/DataMapping/AgendaMapping.cs
using System;
using System.Collections.Generic;
using System.Text;
using SwmSuite.Data.BusinessObjects;
using SwmSuite.Data.DataObjects;
using System.Drawing;
namespace SwmSuite.Business.DataMapping {
public class AgendaM... | 2.376895 | 7e3b40f830b7ab3909b77d36ed6728d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Usman-uzi/CurrencyExchange_AspDotnetCore",
"max_stars_repo_path": "Support/CurrencyExchange.Support.DependencyModules/Modules/ServiceModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152667"
} | starcoder | using CurrencyExchange.Business.Interfaces;
using CurrencyExchange.Business.Services;
using CurrencyExchange.Business.Services.Services;
using Microsoft.Extensions.DependencyInjection;
namespace CurrencyExchange.Support.DependencyModules
{
public static class ServiceModule
{
public static void Configu... | 1.5198 | b8a2b84d41f6f7d347919e3753ba7bc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onerain88/Parse-SDK-dotNET-Standard",
"max_stars_repo_path": "Parse.Test/SubClassTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152668"
} | starcoder | using NUnit.Framework;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
namespace ParseSDK.Test {
public class SubClassTests {
internal class Hello : ParseObject {
internal World World => this["objectValue"] as World;
internal Hello() : base("Hello") { }
... | 2.647273 | 60268ef6db6a9bfb5873c01e2cb0837b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833449 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "lvmajor/squidex-identity",
"max_stars_repo_path": "tests/Squidex.Identity.MvcClient/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:152669"
} | starcoder | <filename>tests/Squidex.Identity.MvcClient/Views/_ViewImports.cshtml
@using Squidex.Identity.MvcClient
@using Squidex.Identity.MvcClient.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.262322 | e47c6d3af882a75bcba9aaa56655fefb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833450 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanrichard19/BookSubscription",
"max_stars_repo_path": "BookSubscriptions.API/Presenters/LoginPresenter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152670"
} | starcoder | using System.Net;
using BookSubscriptions.Core.Dto.UseCaseResponses;
using BookSubscriptions.Core.Interfaces;
using BookSubscriptions.Api.Serialization;
using BookSubscriptions.Presenters;
namespace BookSubscriptions.Api.Presenters
{
public sealed class LoginPresenter : IOutputPort<LoginResponse>
{
public Jso... | 2.127627 | c2de5e5e0496df8d6728dc3afea4b945 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833451 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "BlacCello/MLFlow.NET",
"max_stars_repo_path": "src/MLFlow.NET/MLFlow.NET.Lib/ServiceHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152671"
} | starcoder | <filename>src/MLFlow.NET/MLFlow.NET.Lib/ServiceHost.cs
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using MLFlow.NET.Lib.Contract;
using MLFlow.NET.Lib.Model;
using MLFlow.NET.Lib.Services;
names... | 1.953599 | 718864f0fe65ccd76d720e278ba1f9df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jgonte/DomainFramework",
"max_stars_repo_path": "DomainFramework.DataAccess/OData/Filter/ODataFilterBuilderStatuses.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152672"
} | starcoder | <reponame>jgonte/DomainFramework
namespace DomainFramework.DataAccess
{
public enum ODataFilterBuilderStatuses
{
Initial,
BuildingFieldFilter,
BuildingFunctionCall,
BuildingFunctionCallParameters,
BuildingMultiValueOperator,
BuildingMultiValueOperatorValues
}... | 1.053152 | 8e5ba169c8523579674cf2a539fb567e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juninhsilva/desafios-dio",
"max_stars_repo_path": "C#/Desafios - Banco Carrefour/Poligonos/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152673"
} | starcoder | <reponame>juninhsilva/desafios-dio<filename>C#/Desafios - Banco Carrefour/Poligonos/Program.cs<gh_stars>0
using System;
class Program
{
static void Main(string[] args)
{
string[] v = Console.ReadLine().Split();
int n = int.Parse(v[0]);
int l = int.Parse(v[1]);
Console.... | 2.697714 | f57e85841ed65365d4941acddbe8204f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833454 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "Betrail/ArkBot",
"max_stars_repo_path": "ArkBot/Database/IEfDatabaseContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152674"
} | starcoder | <reponame>Betrail/ArkBot<filename>ArkBot/Database/IEfDatabaseContext.cs
using System.Data.Entity;
using ArkBot.Database.Model;
using System.Threading.Tasks;
using System.Threading;
using System.Data.Entity.Infrastructure;
namespace ArkBot.Database
{
public interface IEfDatabaseContext : System.IDisposable
{
... | 1.874738 | 4afc37ccc806eaee9284ccb4575a01ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833455 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "atlassian-labs/msteams-jira-server",
"max_stars_repo_path": "src/MicrosoftTeamsIntegration.Jira/Models/Notifications/FeedEventType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152675"
} | starcoder | namespace MicrosoftTeamsIntegration.Jira.Models.Notifications
{
public enum FeedEventType
{
Unknown,
AssigneeChanged,
StatusUpdated,
FieldUpdated,
CommentCreated
}
public static class FeedEventTypeHelper
{
public static string ToEventTypeString(this ... | 2.409894 | 35989a6381a359b1dac30be1e0c83740 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AmrReda/CacheAspect",
"max_stars_repo_path": "CacheAspect.Repository/Repositories/GenericRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152676"
} | starcoder | <reponame>AmrReda/CacheAspect<filename>CacheAspect.Repository/Repositories/GenericRepository.cs
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using CacheAspect.Model;
namespace CacheAspect.Repository
{
public class GenericRepository<T... | 2.650715 | d30db494ac7391f6e66738f5bb950c19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833457 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "cschladetsch/UnityTemplate",
"max_stars_repo_path": "UnityVrSandbox/Assets/External/New UI Widgets/Scripts/Sidebar/SidebarEnums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152677"
} | starcoder | namespace UIWidgets
{
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.Serialization;
using UnityEngine.UI;
/// <summary>
/// Sidebar axis.
/// </summary>
public enum SidebarAxis
{
//... | 2.283408 | feee9beabf6591b4721a42cc87e4a81a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833458 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "densen2014/RookieProject",
"max_stars_repo_path": "IOCDemo/UT.Email/EmailHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152678"
} | starcoder | <reponame>densen2014/RookieProject
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UT.Email
{
public class EmailHelper
{
public void Send(string message)
{
Console.Write("Frome email: " + message);
}
}
}
| 1.988785 | 5a500ad2a175d223ebc8effd537e9f1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhukovdm/Congo",
"max_stars_repo_path": "Congo.CLI/CommandLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152679"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using Congo.Core;
namespace Congo.CLI
{
class ExitCommandException : Exception { }
public abstract class CongoCommandLine : ICongoUserInterface, IDisposable
{
private static readonly string resourcesPrefix = "R... | 2.605 | 2041a1133f0b86d56f0564095cb8bf46 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833460 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aikido-forchheim/membermanagement",
"max_stars_repo_path": "AVF.MemberManagement.Reports/AxisTypeMonth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152680"
} | starcoder | using System;
using System.Collections.Generic;
using AVF.MemberManagement.StandardLibrary.Tbo;
using AVF.MemberManagement.ReportsBusinessLogic;
namespace AVF.MemberManagement.Reports
{
public class AxisTypeMonth : AxisTypeTime
{
public AxisTypeMonth(ReportDescriptor desc)
: base(desc)
... | 2.292107 | 6d88087c1ed957983b9b259b8950f9dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833461 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "RightpointLabs/Pourcast",
"max_stars_repo_path": "RightpointLabs.Pourcast.Domain/Models/Style.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152681"
} | starcoder | namespace RightpointLabs.Pourcast.Domain.Models
{
public class Style : Entity
{
public Style(string id, string name)
: base(id)
{
Name = name;
}
public string Name { get; set; }
public string Color { get; set; }
public string Glass { get;... | 2.48449 | b8db421bb43c12febf4bd84bd3984e02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AngelOD/jet-banjo",
"max_stars_repo_path": "JetBanjo/JetBanjo.Android/Utils/DisplayService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152682"
} | starcoder | <filename>JetBanjo/JetBanjo.Android/Utils/DisplayService.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Graphics.Drawables;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
u... | 2.069689 | b4bc708e03f2a4e978788bc688a44d47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833463 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ayakael/dotnet-regular-tests",
"max_stars_repo_path": "version-apis/VersionTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152683"
} | starcoder | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using Xunit;
namespace DotNetCoreVersionApis
{
public class VersionTest
{
[Fact]
public void EnvironmentVersion()
{
var version = Environment.Version;
... | 2.503715 | 4595a19753974f8dec34e67bd1bcdb12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kawazoet/Cube.FileSystem.SevenZip",
"max_stars_repo_path": "Applications/Ice/Main/Sources/Views/ArchiveRtSettingsForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152684"
} | starcoder | <filename>Applications/Ice/Main/Sources/Views/ArchiveRtSettingsForm.cs
/* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the... | 2.344714 | a05e636163bc7741fca6b36d346ae05e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833465 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "M4R774/haka49",
"max_stars_repo_path": "Assets/Scripts/Tatu/Switch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152685"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//
// Used to switch something on/off
//
public class Switch : MonoBehaviour
{
[SerializeField] bool isOn;
[SerializeField] Renderer renderer;
[SerializeField] Material onMaterial;
[SerializeField] Material o... | 2.452811 | 6bfb077507a3cf975e82a5bfbba9b254 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833466 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "joshtwist/azure-mobile-services",
"max_stars_repo_path": "sdk/windowsphone/src/Microsoft.Azure.Zumo.WindowsPhone8.WinMD/ServiceFilter/IServiceFilterResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152686"
} | starcoder | <filename>sdk/windowsphone/src/Microsoft.Azure.Zumo.WindowsPhone8.WinMD/ServiceFilter/IServiceFilterResponse.cs
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ---------------------------------------------------------------... | 2.112911 | 1da4473678c3e6f8ff5212683e9eeeb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833467 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dachibox/GeekyTool",
"max_stars_repo_path": "src/GeekyTool.Core/Extensions/CancellationTokenSourceExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152687"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace GeekyTool.Extensions
{
public static class CancellationTokenSourceExtensions
{
public static CancellationTokenSource ResetIfCancelled(this CancellationTokenSource cts)
{
if (cts.IsCancellationReq... | 2.938568 | dedef01777ae65e06e946a215785078d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833468 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "PeterSnijders/TLCGen",
"max_stars_repo_path": "TLCGen/Views/Tabs/PeriodenTab/Tabs/PeriodenOverigTabView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152688"
} | starcoder | <reponame>PeterSnijders/TLCGen
using System.Windows.Controls;
namespace TLCGen.Views
{
/// <summary>
/// Interaction logic for PeriodenOverigTabView.xaml
/// </summary>
public partial class PeriodenOverigTabView : UserControl
{
public PeriodenOverigTabView()
{
Initializ... | 1.4094 | e991082c2227a5103b4691d678684acf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833469 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "delpher/Workflows.NET",
"max_stars_repo_path": "Workflows/IDependencyBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152689"
} | starcoder | <gh_stars>1-10
using System;
namespace Workflows
{
public interface IDependencyBuilder
{
IDependencyBuilder Requires(params Type[] types);
IDependencyBuilder RequiresAny(params Type[] types);
}
}
| 1.603766 | 56a913d5169a3066c3c1e9c5160f67a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Uncor-RoyalQuest/UncorRTDPS-public",
"max_stars_repo_path": "UncorRTDPS/UncorRTDPS/RTDPS_Settings/UncorRTDPS_Localization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152690"
} | starcoder | using System.Collections.Generic;
using System.IO;
namespace UncorRTDPS.RTDPS_Settings
{
public static class UncorRTDPS_Localization
{
private static Dictionary<string, string> dictGUI;
public static void LoadLocalizationGUI()
{
string lang = "en";
switch (Unco... | 2.646729 | a3c1ebacfed0500e1dbd407252fd8900 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weizhi-luo/stocks",
"max_stars_repo_path": "src/Argus/Argus/Services/GrpcServiceProcedureStatusQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152691"
} | starcoder | <filename>src/Argus/Argus/Services/GrpcServiceProcedureStatusQueue.cs
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Argus
{
... | 2.49995 | f455a2475bd4f94ec7c1d0c551cf6755 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobsonROX/Mapper",
"max_stars_repo_path": "Mapper/MapperExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152692"
} | starcoder | using System.Collections.Generic;
using RobsonROX.Util.Extensions;
namespace RobsonROX.Mapper
{
/// <summary>
/// Métodos de extensão para mapeamento de tipos
/// </summary>
public static class MapperExtensions
{
/// <summary>
/// Inicia o mapeamento do objeto de origem fornecido, ... | 3.435684 | c844c8aff3c4442f8262bd6668720af2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833473 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aalishov/School",
"max_stars_repo_path": "School-2021_2022/12_B/M01-SoftwareDevelopment/S03-NuGet/P01-JSON/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152693"
} | starcoder | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace P01_JSON
{
class Program
{
static void Main(string[] args)
{
Student s = new Student(1, "John", "Biden", 16, new List<int>() { 3, 2, 3, 4, 2 });
string output = JsonConvert.SerializeObject(... | 3.203356 | 3eb5c923206216d4d547cc95ca8d2d40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833474 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "teun25/C-sharp-clipboardquestionanswer-",
"max_stars_repo_path": "Actions/MathActions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152694"
} | starcoder | namespace it.Actions
{
using BenchmarkDotNet.Attributes;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
public sealed class MathActions : IAction
{
public ActionResult TryExecute(st... | 3.091246 | e049d6833ebae51b2d071a5092b882e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Clement-R/lowrez_2017",
"max_stars_repo_path": "Assets/Scripts/Shop/LaneManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152695"
} | starcoder | <reponame>Clement-R/lowrez_2017<gh_stars>0
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LaneManager : MonoBehaviour {
public static LaneManager instance = null;
public Transform[] positions = new Transform[9];
private bool[] _positionsSta... | 2.566442 | d085d4f4f7af9a29bb3dc03051922515 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microsoftgraph/CsdlToDiagram",
"max_stars_repo_path": "CsdlToDiagram/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152696"
} | starcoder | <reponame>microsoftgraph/CsdlToDiagram
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using CommandLine;
using CsdlToPlant;
namespace CsdlToDiagram
{
class Program
{
static async Task<int> Main(string[] args)
{
... | 2.618345 | de5e74ab4b06a0e2f4f4a783fcd77a1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833477 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "belsrc/Metro-UI-Toolkit",
"max_stars_repo_path": "MetroUiToolkit/MetroScrollBar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152697"
} | starcoder | <filename>MetroUiToolkit/MetroScrollBar.cs<gh_stars>10-100
// -------------------------------------------------------------------------------
// MetroScrollBar.cs
// Copyright (c) 2012-2013 <NAME>
// All rights reserved.
// https://github.com/belsrc/Metro-UI-Toolkit
//
// Redistribution and use in sourc... | 2.41246 | e84766c57e3cb6107f4091b43691b73f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833478 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "martinsmith1968/dnx.utils.strings",
"max_stars_repo_path": "Test.DNX.Helpers/Exceptions/ConversionExceptionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152698"
} | starcoder | <filename>Test.DNX.Helpers/Exceptions/ConversionExceptionTests.cs
using DNX.Helpers.Exceptions;
using NUnit.Framework;
using Shouldly;
namespace Test.DNX.Helpers.Exceptions
{
[TestFixture]
public class ConversionExceptionTests
{
[Test]
public void Test_ConversionException_constructor_value... | 2.794868 | b384595f5d27f97c19f0fed0c92a3870 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Corlio5994/ceres",
"max_stars_repo_path": "Assets/Server/Database Converters/VectorConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152699"
} | starcoder | #if UNITY_SERVER || UNITY_EDITOR
using UnityEngine;
using Newtonsoft.Json;
using System;
public class VectorJsonConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
if (objectType == typeof(Vector3))
{
return true;
}
return false;
}
... | 2.694055 | 6d2d0fb710641a8dae6dcc7134287fcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cameronmeyer/Tank-Controller-Assignment",
"max_stars_repo_path": "Assets/Scripts/PowerUps/PowerUpBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152700"
} | starcoder | <gh_stars>0
using System.Collections;
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
public abstract class PowerUpBase : MonoBehaviour
{
[SerializeField] protected float _powerupDuration = 5f;
[SerializeField] ParticleSystem _powerupParticles;
[SerializeField] AudioClip _powerupSound;
protec... | 2.151156 | 37aa9ed78f108cb1502e741c89ca6615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emilti/TravelAlbum",
"max_stars_repo_path": "TravelAlbum.DataServices/IqueryableExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152701"
} | starcoder | <filename>TravelAlbum.DataServices/IqueryableExtension.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
namespace TravelAlbum.DataServices
{
public static class IqueryableExtension
{
public static IOrderedEnumerable<TSource> OrderBy... | 2.748873 | e09e1b0215444e95395e164135ed42f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "musashibg/BikeAround",
"max_stars_repo_path": "BikeAround_MvvmLight/BikeAround.Service.Impl/BikeAroundAuthenticationModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152702"
} | starcoder | using BikeAround.Service.Impl.Data;
using System;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Web;
namespace BikeAround.Service.Impl
{
public sealed class BikeAroundAuthenticationModule : IHttpModule
{
#region IHttpModule Members
public void Dispose()
... | 2.556393 | 56629a51f4a3b17496140d56b83a6e11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tralmix/DbExtensions",
"max_stars_repo_path": "examples/AsyncExample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152703"
} | starcoder | <reponame>tralmix/DbExtensions
using System.Data.Common;
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.Data.Sqlite;
namespace AsyncExample
{
class Program
{
static readonly string inMemoryConnectionString = "Data Source=InMemorySample;Mode=Memory;Cache=Shared";
static async Task Main(s... | 2.231963 | 01abe69f3d8264dac5de6f16a7206ca7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833484 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "theryee/Resource-Static-Analysis",
"max_stars_repo_path": "ResourceStaticAnalysis/src/ResourceStaticAnalysisCore/Engine/Dimension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152704"
} | starcoder | /*
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
* See LICENSE in the project root for license information.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.ResourceStaticAnalysis.Core.Engine.Properties;
using Microsoft.ResourceSta... | 2.95702 | 43e0b34fd5389ff865edd8c76b4c898a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833485 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "pShariiati/EShop",
"max_stars_repo_path": "src/Ticket.WebApi/Controllers/AccountController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152705"
} | starcoder | <reponame>pShariiati/EShop<gh_stars>1-10
using EShop.Services.Contracts.Identity.WebApi;
using EShop.ViewModels.Account.WebApi;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Ticket.WebApi.Controllers;
[ApiController]
[Route("[controller]")]
[Produces("application/json")]
public ... | 1.781922 | 203ee02188bd2b008563c13233e009e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833486 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "sungam3r/SteroidsDI",
"max_stars_repo_path": "src/SteroidsDI/ServiceProviderAdvancedOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152706"
} | starcoder | <filename>src/SteroidsDI/ServiceProviderAdvancedOptions.cs
using System;
using Microsoft.Extensions.DependencyInjection;
namespace SteroidsDI
{
/// <summary>
/// Options to customize the behavior of <see cref="IServiceProvider" /> when used in Func / Defer / Factory.
/// </summary>
public sealed class ... | 2.458376 | b6255068e914f5578aef0771c4fb19c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GameDevEducation/DevEssential_Animations",
"max_stars_repo_path": "Assets/Scripts/Door.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152707"
} | starcoder | <reponame>GameDevEducation/DevEssential_Animations
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Animator))]
public class Door : MonoBehaviour
{
[SerializeField] [Range(0f, 2f)] float SpeedMultiplier = 1f;
Animator LinkedAnimator;
// Start is calle... | 2.505738 | 06f1cf76127518df57bd658c20b8680b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833488 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "publichealthengland/fingertips-open",
"max_stars_repo_path": "PholioVisualisationWS/PholioObjects/SSRSReportsProfileMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152708"
} | starcoder | namespace PholioVisualisation.PholioObjects
{
public class SSRSReportsProfileMapping
{
public int Id { get; set; }
public int ReportId { get; set; }
public int ProfileId { get; set; }
}
}
| 1.424922 | 852fafa40fa7e6bd17d27ceb6dd3d2d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RootRice/JarnsmiorDev",
"max_stars_repo_path": "Assets/Scripts/SmithyScripts/HeatTrackerSmithy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152709"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HeatTrackerSmithy : MonoBehaviour {
bool hotOrCold;
float currentTemp = 0;
int idealTemp = 70;
int counter = 0;
float currentScore;
// Use this for initialization
void Start ()
{
}
// Updat... | 2.456193 | 222b1217498edc26fd941f3928d176ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vladislav-Martian/Recrypt",
"max_stars_repo_path": "Recryptor/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152710"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Recryptor
{
public static class Extensions
{
public static string GetNameOnly(this FileInfo source)
{
return Path.GetFileNameWithoutExtension(source.FullName);
}
}
... | 1.778381 | 3eaa27fd4a0553d5802fcb6b1d1be8a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833491 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rmwatson5/Sitemap-Generation",
"max_stars_repo_path": "Source/SBR.Sitemap/Models/SitemapRenderingModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152711"
} | starcoder | <filename>Source/SBR.Sitemap/Models/SitemapRenderingModel.cs
namespace SBR.Sitemap.Models
{
using System.Collections.Generic;
using Sitecore.Data.Items;
public class SitemapRenderingModel
{
public List<Item> Pages { get; set; }
}
}
| 1.982119 | 67ef1e8ccf8a6d843c37dc135038e35f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sadeqsoli/1100-Words",
"max_stars_repo_path": "1100 Words/Assets/Scripts/General/_Manager/Speech/RecordManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152712"
} | starcoder | <gh_stars>0
using UnityEngine;
using TMPro;
using UnityEngine.UI;
using KKSpeech;
public class RecordManager : MonoBehaviour
{
#region Properties
public string Result { get { return daResult; } }
#endregion
#region Fields
string daResult;
#endregion
#region Public Methods
public void... | 1.965986 | 2336cb95ccfc25d41123570aee657e04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kristof7/ProjectBeta",
"max_stars_repo_path": "Assets/Scripts/Menu Scripts/Menu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152713"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Menu : MonoBehaviour
{
[SerializeField] int sceneNumber = 0;
public GameObject MenuCanvas;
[SerializeField] public GameObject player;
[SerializeField] public float zPosition;... | 2.096377 | 4ddf8bc210eba7fe09b55e04fce5ef97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833494 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SebastianRuzanowski/Ubiquitous",
"max_stars_repo_path": "src/Services/U.ProductService/U.ProductService.Application/Products/Commands/Update/Single/UpdateProductCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152714"
} | starcoder | using System;
using MediatR;
using Newtonsoft.Json;
using U.Common.NetCore.Swagger;
using U.ProductService.Application.Products.Models;
namespace U.ProductService.Application.Products.Commands.Update.Single
{
public class UpdateProductCommand : IRequest, IQueueable
{
[JsonIgnore]
[SwaggerExclu... | 2.018415 | 15a7d2041c2a6bebb774f106653bcc82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joe2275/GOTTO-Alpha",
"max_stars_repo_path": "Assets/Scripts/TriggerHandling/SubTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152715"
} | starcoder | <reponame>joe2275/GOTTO-Alpha
using UnityEngine;
namespace TriggerHandling
{
public class SubTrigger : MonoBehaviour
{
private Trigger mParentTrigger;
#region Private Methods
private void OnTriggerEnter(Collider collision)
{
mParentTrigger.OnTriggerEnter(collision... | 1.829455 | 1938dc2c706a70e26e3d025dadb430dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-matching",
"max_stars_repo_path": "src/Sfa.Tl.Matching.Application.UnitTests/Services/OpportunityProximity/Builders/SearchResultsByRouteBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152716"
} | starcoder | <filename>src/Sfa.Tl.Matching.Application.UnitTests/Services/OpportunityProximity/Builders/SearchResultsByRouteBuilder.cs
using System.Collections.Generic;
using Sfa.Tl.Matching.Models.ViewModel;
namespace Sfa.Tl.Matching.Application.UnitTests.Services.OpportunityProximity.Builders
{
public class SearchResultsByR... | 2.158756 | 79057d3cc8404de45c7728d18fbc5bd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zebslc/ArtTrail",
"max_stars_repo_path": "ArtTrail.Data/Interfaces/ICategoryRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152717"
} | starcoder | <gh_stars>0
namespace ArtTrail.Data.Interfaces
{
using System.Collections.Generic;
using ArtTrail.DomainEntities;
public interface ICategoryRepository
{
/// <summary>
/// A list of all the categories held
/// </summary>
/// <returns>A list of categories</returns>
... | 2.445643 | a67a8a3ef777b689efaa3601dbf76994 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833498 | {
"extension": "c-sharp",
"max_stars_count": "2602.0",
"max_stars_repo_name": "marius-klimantavicius/jint",
"max_stars_repo_path": "Jint.Tests/Runtime/JsonTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152718"
} | starcoder | <reponame>marius-klimantavicius/jint<filename>Jint.Tests/Runtime/JsonTests.cs
using Xunit;
namespace Jint.Tests.Runtime
{
public class JsonTests
{
[Fact]
public void CanParseTabsInProperties()
{
var engine = new Engine();
const string script = @"JSON.parse(""{\... | 2.267706 | 250878985075b60a07c10be2cb6baea5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833499 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jchristn/NetLedger",
"max_stars_repo_path": "NetLedger/Account.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152719"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Watson.ORM.Core;
using Newtonsoft.Json;
namespace NetLedger
{
/// <summary>
/// Account information.
/// </summary>
[Table("accounts")]
public class Account
{
#region Public-Members
/// <summary>
... | 2.685485 | 60479a66e4ecced59afa05275136768d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833500 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "uluhonolulu/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Diagnostics.Tests/Configuration/Policies/DiagnosticsUrlAttributePolicyTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152720"
} | starcoder | using FubuCore;
using FubuMVC.Core.Diagnostics;
using FubuMVC.Core.Registration.Nodes;
using FubuMVC.Diagnostics.Core.Configuration.Policies;
using FubuMVC.Tests;
using FubuTestingSupport;
using NUnit.Framework;
namespace FubuMVC.Diagnostics.Tests.Configuration.Policies
{
public class DiagnosticsUrlAttr... | 1.946589 | 35b9f9a5617c39c4e68aa3fc04fea799 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833501 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MyGet/PackageSourceDiscovery",
"max_stars_repo_path": "src/Extension/NuGet.PackageSourceDiscovery.Extension.Tests/PackageSourceDiscoveryTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152721"
} | starcoder | using System;
using System.Linq;
using Xunit;
using Xunit.Extensions;
namespace NuGet.Test
{
public class PackageSourceDiscoveryTest
{
private class PackageSourceDiscoveryWithMockDownloadData
: PackageSourceDiscovery
{
private readonly Func<string, string> _provider;
... | 2.469812 | bec8bfa82dffd90145d4418f6b298316 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edwardmeng/FluentMethods",
"max_stars_repo_path": "test/Core/System.Linq.Expressions.Expression/AndAssign.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152722"
} | starcoder | using System;
using System.Linq.Expressions;
namespace FluentMethods.UnitTests
{
public partial class ExpressionFixture
{
#if NetCore
[Xunit.Fact]
#else
[NUnit.Framework.Test]
#endif
public void BitwiseAndAssign()
{
var variable = Expression.Variable(typeof(int));
... | 2.652994 | 9bf1342349519783b2f20b79d33f8abc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833503 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "logiclink/corona_seir_workbench",
"max_stars_repo_path": "Download.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152723"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace LogicLink.Corona {
public static class Download {
/// <summary>
/// Gets a file and caches it in the users temp path on a daily basis
... | 3.144922 | 845eac51fe38839a0367a52bd604a377 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833504 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "aspose-diagram/Aspose.Diagram-for-.NET",
"max_stars_repo_path": "Demos/Aspose.Diagram.Live.Demo/Aspose.App.Diagram.Pages/Controllers/BaseController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152724"
} | starcoder | <gh_stars>10-100
using Aspose.App.Diagram.Pages.Config;
using Aspose.App.Diagram.Pages.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Threading.Tasks;
using System.Net;
using Aspose.App.Diagram.Pages.PageModels;
using System.Web.Routing;
... | 1.672299 | 97edcd68540cf24ed66eab43d15063ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833505 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hardikge/FE",
"max_stars_repo_path": "backend/App/Controllers/ApiRootController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152725"
} | starcoder | <reponame>hardikge/FE
using System;
using Microsoft.AspNetCore.Mvc;
namespace DockerTestProject.Controllers {
[Route("/api")]
public class ApiRootController : Controller {
[HttpGet]
public object Get() {
return new {
Guid = Guid.NewGuid(),
Now = DateT... | 1.439795 | 47b7b84ebec31dd462fbe6818ef63118 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WarrenLourens/SDVShadowsOfRonnig",
"max_stars_repo_path": "TextBased2dGameReal/Assets/Scripts/Models/DataServices/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152726"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using SQLite4Unity3d;
[Serializable]
public class Person
{
[PrimaryKey]
public string Name { get; set; }
public string Password { get; set; }
public int Score { get; set; }
}
| 1.791277 | d9802b78a67825d3f9dbaf316e9a384a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NewWorkDesignLab/domicile",
"max_stars_repo_path": "Assets/Project/Scripts/Managers/TeleportManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152727"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TeleportManager : Singleton<TeleportManager> {
public float raycastMaxDistance = 50f;
public LayerMask layerToRaycast;
void Start () {
foreach (Transform child in transform) {
child.... | 2.190358 | c1b411bc88df25f82f2e0501f1235c8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833508 | {
"extension": "c-sharp",
"max_stars_count": "125.0",
"max_stars_repo_name": "kant/IIS.Administration",
"max_stars_repo_path": "src/Microsoft.IIS.Administration.WebServer.Handlers/MappingsHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152728"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.IIS.Administration.WebServer.Handlers
{
using Core;
using Core.Utils;
using System;
using System.Col... | 2.167629 | ebcda3a8300d793e098c014f77796471 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833509 | {
"extension": "c-sharp",
"max_stars_count": "518.0",
"max_stars_repo_name": "ganqiyin/xms",
"max_stars_repo_path": "Libraries/Data/Xms.Data.Import/Data/IImportMapRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152729"
} | starcoder | <filename>Libraries/Data/Xms.Data.Import/Data/IImportMapRepository.cs
using Xms.Core.Data;
using Xms.Data.Import.Domain;
namespace Xms.Data.Import.Data
{
public interface IImportMapRepository : IRepository<ImportMap>
{
}
} | 1.255327 | 10d6fb8527a61f81fdb8d692f3d79a23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833510 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JeroMiya/androidmono",
"max_stars_repo_path": "MonoJavaBridge/android/generated/java/net/SocketImplFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152730"
} | starcoder | <reponame>JeroMiya/androidmono<gh_stars>1-10
namespace java.net
{
[global::MonoJavaBridge.JavaInterface(typeof(global::java.net.SocketImplFactory_))]
public partial interface SocketImplFactory : global::MonoJavaBridge.IJavaObject
{
global::java.net.SocketImpl createSocketImpl();
}
[global::MonoJavaBridge.Java... | 1.495332 | c0bff5e88841d53f75a1e9034018bf2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8833511 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "ludovic-henry/referencesource",
"max_stars_repo_path": "System.Activities.Presentation/System.Activities.Presentation/System/Activities/Presentation/Model/ModelPropertyImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:152731"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities.Presentation.Model
{
using System.Collections.Generic;
using ... | 2.295197 | 4e9a6b673096d2d3b4373b91cbb7e50d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.