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 | 8835512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajsuth/ordercloud-dotnet-catalyst",
"max_stars_repo_path": "OrderCloud.Catalyst/Integrations/Exceptions/IntegrationNoResponseException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154732"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace OrderCloud.Catalyst
{
public class IntegrationNoResponseException : CatalystBaseException
{
public IntegrationNoResponseException(OCIntegrationConfig config, string requestUrl) : base(
"IntegrationNoResponse",
$... | 2.132786 | 2cbd525c789553061fb8da38385efc06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835513 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ianitor/ObjectServicePlatform",
"max_stars_repo_path": "Osp/Backend/Ianitor.Osp.Backend.CoreServices/GraphQL/Types/UpdateMutationDtoType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154733"
} | starcoder | using GraphQL.Types;
using Ianitor.Osp.Common.Shared;
using Ianitor.Osp.Common.Shared.DataTransferObjects;
#pragma warning disable 1591
namespace Ianitor.Osp.Backend.CoreServices.GraphQL.Types
{
public class UpdateMutationDtoType<TItemType> : InputObjectGraphType<MutationDto<TItemType>>
{
public Update... | 1.97296 | 40742fc2ff722adf920ef0d7bc6e8e27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fangh/LoveLetter",
"max_stars_repo_path": "Assets/Scripts/LevelManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154734"
} | starcoder | <reponame>Fangh/LoveLetter
using UnityEngine;
using System.Collections;
using DG.Tweening;
using UnityStandardAssets.ImageEffects;
public class LevelManager : MonoBehaviour {
public static LevelManager Instance;
[HideInInspector]
public int currentLevel = 0;
public GameObject[] levelsCont... | 1.963686 | 0af1f68c2198cefbf0efa7dc065f7987 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ramihamati/distributed",
"max_stars_repo_path": "ComX.Infrastructure.Distributed.Outbox/Abstractions/IOutboxRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154735"
} | starcoder | namespace ComX.Infrastructure.Distributed.Outbox;
public interface IOutboxRepository<TMessage>
where TMessage : class, IIntegrationMessageLog
{
Task DeleteAsync(TMessage entity, CancellationToken cancellationToken = default);
Task<bool> ExistsAsync(Guid entityId, CancellationToken cancellationToken = defa... | 1.397291 | 32b4354eb3ecffc79e5868309059fd97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "countincognito/Zametek.Utility",
"max_stars_repo_path": "src/Zametek.Utility/SafeTypes/SafeEnumString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154736"
} | starcoder | using System;
namespace Zametek.Utility
{
/// <summary>
/// Based on the following:
/// https://docs.microsoft.com/en-us/dotnet/architecture/microservices/microservice-ddd-cqrs-patterns/enumeration-classes-over-enum-types
/// https://lostechies.com/jimmybogard/2008/08/12/enumeration-classes/
/// h... | 3.231298 | 423158e1cdec00b0e59f7b00cba1bd05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaizer04/Telerik-Academy-2013-2014",
"max_stars_repo_path": "KPK/PokerTests/TestHand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154737"
} | starcoder | namespace PokerTests
{
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Poker;
[TestClass]
public class TestHand
{
public IList<ICard> listOfCards;
[TestInitialize]
public void GetListWithCards()
{
... | 3.1911 | 14a37fa1fcd1f6e3b8d6b392f091ca69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OneBitSoftware/RecursionDemo",
"max_stars_repo_path": "RecursionDemo/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154738"
} | starcoder | namespace RecursionDemo
{
using System;
using System.Linq;
public class Program
{
static void Main(string[] args)
{
string secretCode = "1122";
string key = "<KEY>";
for (int i = 0; i < 10000; i++)
{
EncodedMessageHelper.... | 3.275366 | b14551dc14924a914132994c92c50940 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gualtyphone/SquadControlVR",
"max_stars_repo_path": "Assets/Scripts/Orders/NewSquadMember.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154739"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class NewSquadMember : MonoBehaviour {
//stats
public List<ThreatValue> knownThreats;
//comands
public List<Order> orders;
public ThreatValue threat;
//Squad Recognition
... | 2.007649 | 6cf1b1f02b81e2de21e5c0dcaeef2ad7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oguzhankircali/budalapi",
"max_stars_repo_path": "Domain/Repositories/ICityRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154740"
} | starcoder |
using System.Collections.Generic;
using System.Threading.Tasks;
using Budalapi.Domain.Models;
namespace Budalapi.Repositories
{
public interface ICityRepository
{
Task<IEnumerable<City>> ListAsync();
Task AddAsync(City item);
Task<City> FindByIdAsync(int id);
void Update(City i... | 2.03527 | f419f2be84fa86c70b482d18eeaa3c0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "syedhassaanahmed/log-storage-service",
"max_stars_repo_path": "ValidationPipeline.LogStorage.Tests/BasicAuthenticationMiddlewareTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154741"
} | starcoder | using System;
using System.Net;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Xunit;
namespace ValidationPipeline.LogStorage.Tests
{
public class BasicAuthenticationMiddlewareTests
{
privat... | 2.431397 | e0ec6e51a46ad28bffb5f1ef688d8b55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835522 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Aeroblast/AeroEpubProcesser",
"max_stars_repo_path": "src/Ungrouped/NameFormat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154742"
} | starcoder | namespace AeroEpubProcesser
{
public class NameFormater : EpubProcesser
{
public override void Process(Epub epub)
{
string old = epub.filename;
string name = string.Format("[{0}]{1}", epub.creator, epub.title);
name = FilenameCheck(name);
epub.fil... | 2.763863 | bb1328d056310b854c640bbb751969e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835523 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CmsZwo/CmsZwo",
"max_stars_repo_path": "CmsZwo/Src/Cache.Memory/MemoryCacheFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154743"
} | starcoder | using Microsoft.Extensions.Caching.Memory;
namespace CmsZwo.Cache.Memory
{
public interface IMemoryCacheFactory : IService
{
MemoryCache Create();
}
public class MemoryCacheFactory : IMemoryCacheFactory
{
#region IMemoryCacheFactory
public MemoryCache Create()
=> new MemoryCache(new MemoryCacheOptions... | 2.083325 | b2a352044515a39d02dc5f671b465dfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835524 | {
"extension": "c-sharp",
"max_stars_count": "13846.0",
"max_stars_repo_name": "tomaswesterlund/aspnetcore",
"max_stars_repo_path": "src/Middleware/StaticFiles/src/DefaultFilesOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154744"
} | starcoder | <reponame>tomaswesterlund/aspnetcore
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using Microsoft.AspNetCore.StaticFiles.Infrastructure;
namespace Microsoft.AspNetCore.Builder
{
/// <summa... | 2.185663 | a077eb00f7e7021f8b8a4303acc738f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835525 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hancheester/apollo",
"max_stars_repo_path": "Store Front/Apollo.FrontStore/Models/Product/AlternativeProductModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154745"
} | starcoder | using System.Collections.Generic;
namespace Apollo.FrontStore.Models.Product
{
public class AlternativeProductModel
{
public int ProductId { get; set; }
public IList<ProductBoxModel> Products { get; set; }
}
} | 1.598189 | 34679056618a2c80a0583bc497438071 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835526 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Scrivener07/Endless-Studio",
"max_stars_repo_path": "Source/Studio.ES2/Amplitude/Unity/Simulation/quest/DiplomaticContractState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154746"
} | starcoder | using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace ES2.Amplitude.Unity.Simulation
{
/// <remarks/>
[GeneratedCode("xsd", "2.0.50727.3038")]
[Serializable]
public enum DiplomaticContractState
{
/... | 1.699102 | 318fff94e0d034b9bcffbe12e0e625d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BacanCI/Bacan",
"max_stars_repo_path": "src/Bakana.ServiceInterface/Validators/GetBatchVariableRequestValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154747"
} | starcoder | using Bakana.ServiceModels.Batches;
using ServiceStack.FluentValidation;
namespace Bakana.ServiceInterface.Validators
{
public class GetBatchVariableRequestValidator : AbstractValidator<GetBatchVariableRequest>
{
public GetBatchVariableRequestValidator()
{
RuleFor(x => x.BatchId).N... | 1.780641 | f2f9460a6fa0080a9a8ce015cc84449f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835528 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kekyo/Favalon.PoC",
"max_stars_repo_path": "Favalon.10/Favalet.Core/Expressions/FunctionDeclaredExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154748"
} | starcoder | ////////////////////////////////////////////////////////////////////////////
//
// Favalon - An Interactive Shell Based on a Typed Lambda Calculus.
// Copyright (c) 2018-2020 <NAME> (@kozy_kekyo, @kekyo2)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl... | 2.450435 | 686ba9d6a20130f6270fe80f0b3f6cfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835529 | {
"extension": "c-sharp",
"max_stars_count": "487.0",
"max_stars_repo_name": "cdwiegand/csharp-driver",
"max_stars_repo_path": "src/Cassandra.Tests/TestHelpers/TestHostFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154749"
} | starcoder | <gh_stars>100-1000
//
// Copyright (C) DataStax Inc.
//
// 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
//
// Un... | 1.966147 | 578a4d6207eef38b75ed920eb14c542f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RenatoPacheco/DDD-Basico",
"max_stars_repo_path": "src/DddBasico.Infra.IdC/Modulos/ServicoModulo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154750"
} | starcoder | <filename>src/DddBasico.Infra.IdC/Modulos/ServicoModulo.cs
using DddBasico.Dominio.Interfaces.Servicos;
using DddBasico.Dominio.Servicos;
using SimpleInjector;
namespace DddBasico.Infra.IdC.Modulos
{
public static class ServicoModulo
{
public static void Carregar(Container recipiente)
{
... | 1.748938 | 38b4160bf872e0882e4ba18d8807b479 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wy/neo-sharp",
"max_stars_repo_path": "src/NeoSharp.Persistence.RedisDB/BuildKeyExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154751"
} | starcoder | using NeoSharp.Core.Persistence;
using NeoSharp.Core.Types;
namespace NeoSharp.Persistence.RedisDB
{
public static class BuildKeyExtensions
{
public static string BuildDataBlockKey(this UInt256 hash)
{
return DataEntryPrefix.DataBlock.BuildKey(hash.ToString());
}
p... | 2.247476 | 77c30747c314e6091c9ffab45dfd9f73 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835532 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "KaiNet-X/simple-network-library",
"max_stars_repo_path": "SimpleNetwork/SimpleNetwork/CryptoServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154752"
} | starcoder | <filename>SimpleNetwork/SimpleNetwork/CryptoServices.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace SimpleNetwork
{
internal static class CryptoServices
{
public static byte[] CreateHash(byte[] input)
{
... | 3.072019 | a69b05b37d026237a9e0a5cf07895397 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835533 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MyJetTools/MyTcpSockets",
"max_stars_repo_path": "MyTcpSockets/SocketStatistic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154753"
} | starcoder | using System;
namespace MyTcpSockets
{
public class SocketStatistic
{
public DateTime ConnectionTime { get; } = DateTime.UtcNow;
public DateTime LastSendTime { get; private set; }= DateTime.UtcNow;
public DateTime LastReceiveTime { get; private set; }= DateTime.UtcNow;
... | 2.675251 | 3355219941f9afbea9ff5ea858ac07a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835534 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jeduardocosta/class-property-validator",
"max_stars_repo_path": "test/StructureComparer.Tests/Fakes/FakeEnum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154754"
} | starcoder | namespace StructureComparer.Tests.Fakes
{
public enum FakeEnum
{
One = 1,
Two = 2,
Three = 3,
Four = 4,
Five = 5
}
} | 2.115563 | 02cb3f3e38fd0b4e3292932eb568bc6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835535 | {
"extension": "c-sharp",
"max_stars_count": "253.0",
"max_stars_repo_name": "angyanmark/TMDbLib",
"max_stars_repo_path": "TMDbLib/Objects/Movies/Country.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154755"
} | starcoder | using System;
using Newtonsoft.Json;
namespace TMDbLib.Objects.Movies
{
public class Country
{
[JsonProperty("certification")]
public string Certification { get; set; }
/// <summary>
/// A country code, e.g. US
/// </summary>
[JsonProperty("iso_3166_1")]
... | 2.21855 | 8c6b396259d18fed2a7f035c4e6350ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835536 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LBHackney-IT/asset-information-api",
"max_stars_repo_path": "AssetInformationApi/V1/UseCase/Interfaces/IGetAssetByIdUseCase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154756"
} | starcoder | using AssetInformationApi.V1.Boundary.Request;
using Hackney.Shared.Asset.Boundary.Response;
using System.Threading.Tasks;
namespace AssetInformationApi.V1.UseCase.Interfaces
{
public interface IGetAssetByIdUseCase
{
Task<AssetResponseObject> ExecuteAsync(GetAssetByIdRequest query);
}
}
| 1.474359 | e06df18941d8a0a9d533d561c08c942c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835537 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "escritoriointeligente/Portal",
"max_stars_repo_path": "aspnet-core/src/EI.Portal.Application/Companies/Dto/CreateUpdateCompanyDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154757"
} | starcoder | <gh_stars>0
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace EI.Portal.Companies.Dto
{
[AutoMapTo(typeof(Company))]
public class CreateUpdateCompanyDto : AuditedEntityDto<Guid>, IShou... | 2.115686 | b2707133ac62147559a7087634bd41cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835538 | {
"extension": "c-sharp",
"max_stars_count": "187.0",
"max_stars_repo_name": "N500/PhysX.Net",
"max_stars_repo_path": "PhysX.Net/Test/Controller/ObstacleTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154758"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PhysX.Test.Controller
{
[TestClass]
public class ObstacleTest : Test
{
[TestMethod]
public void CreateAndDisposeObstacleContext()
{
using (var physics = CreatePhysicsAndScene())... | 2.080488 | ab79e7746f5e27cc3672e5b2f9209615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seymourpoler/TuduManayer",
"max_stars_repo_path": "dotnet/react.mvc-core.postgres.dapper/TuduManager/src/TuduManayer.Domain/Todo/Validation/validators/IValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154759"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace TuduManayer.Domain.Todo.Validation.validators
{
internal interface IValidation
{
List<Error> Validate(ValidationArgs args);
}
} | 1.213001 | 8e8838a0dd5bcf55b5cc3fa74028de74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835540 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Softdrink117/unity-sound-testing",
"max_stars_repo_path": "Assets/Scripts/Sound/SFX/SFXSourceIncludes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154760"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Softdrink{
// Struct containing playback data for an SFXSource (or other randomizable audio)
[System.Serializable]
public struct SFXPlaybackSettings{
[Range(0f,1f)]
[TooltipAttribute("The playback volume for this sound ef... | 2.921523 | 1624df1d7f08a18cc5aaaeb0a23ebff9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835541 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "flagship-io/flagship-dotnet-sdk",
"max_stars_repo_path": "Flagship.Tests/Bucketing/TargetingMatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154761"
} | starcoder | <gh_stars>1-10
using System;
using Flagship.Model.Bucketing;
using Flagship.Services.Bucketing;
using Flagship.Services.Logger;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Flagship.Tests.Bucketing
{
[TestClass]
public class TargetingMatch
{
[TestMethod]
public void TestBo... | 2.351608 | f9370c0d395deabb4c35b089fe16005a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835542 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "JackToaster/ToasterSim",
"max_stars_repo_path": "ToasterSimVr/Assets/scripts/TrailEnabler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154762"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TrailEnabler : MonoBehaviour {
public string button;
public TrailRenderer tr;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(Input.GetButtonD... | 2.024687 | 00faca2485bdccc7a31e4f4bae51bd05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835543 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mattlk13/EntityFramework",
"max_stars_repo_path": "src/Microsoft.EntityFrameworkCore.Specification.Tests/DataAnnotationFixtureBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154763"
} | starcoder | <reponame>Mattlk13/EntityFramework
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
names... | 2.104849 | c898e457b239c8b0e713d111a28e4f58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835544 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "heyehang/DotNetCore.RabbitMQ.Extensions",
"max_stars_repo_path": "DotNetCore.RabbitMQ.Extensions/IConsumerService/ConsumerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154764"
} | starcoder | using Microsoft.Extensions.Logging;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DotNetCore.RabbitMQ.Extensions
{
public abstract class ConsumerService : IConnectionKey, IConsumerService
{
ILogger l... | 2.304397 | 89e6be3dff31a0612a3cda5aac50ae07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "incoboggart/ReSharperPlugin-BinaryGenerator",
"max_stars_repo_path": "BinaryMethodsGenerator/CodeGeneration/TypesHandling/Implementations/Primitives/ByteHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154765"
} | starcoder | using System.Collections.Generic;
using System.Text;
using JetBrains.ReSharper.Psi;
namespace ReSharperPlugins.BinaryMethodsGenerator.CodeGeneration.TypesHandling.Implementations.Primitives
{
internal sealed class ByteHandler : IEnumBaseTypeHandler
{
#region ITypeHandler members
public bool B... | 2.415831 | 7141d1240e04d148afaaf63c3cc5b135 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835546 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Caskia/ENode-Infrastructure",
"max_stars_repo_path": "test/ENode.Kafka.Tests/CommandsAndEvents/CommandAndEventServiceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154766"
} | starcoder | <gh_stars>1-10
using ECommon.Components;
using ECommon.Utilities;
using ENode.Commanding;
using ENode.Domain;
using ENode.Eventing;
using ENode.Kafka.Tests.CommandsAndEvents.Commands;
using ENode.Kafka.Tests.CommandsAndEvents.Domain;
using ENode.Kafka.Tests.CommandsAndEvents.Tests;
using System;
using System.Collectio... | 1.82387 | 0ba9ee7e61fcfc77429ef93e2442ac0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prohimanshu/CshOOP-basic_adv",
"max_stars_repo_path": "Multi Level Inheritance/Multi Level Inheritance/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154767"
} | starcoder | using System;
using Multi_Level_Inheritance.com.Module;
namespace Multi_Level_Inheritance
{
class Program
{
static void Main(string[] args)
{
ClassA ca = new ClassA();// call ClassA
}
}
}
| 1.792075 | d4026f5d12110b6a21ed1f8ffcbbf105 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamilk08/BookLoversApi",
"max_stars_repo_path": "BookLovers.Readers.Infrastructure/Services/ReadContextAccessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154768"
} | starcoder | <reponame>kamilk08/BookLoversApi
using System;
using BookLovers.Base.Infrastructure.AppCaching;
using BookLovers.Base.Infrastructure.Services;
namespace BookLovers.Readers.Infrastructure.Services
{
internal class ReadContextAccessor : IReadContextAccessor
{
private readonly CacheService _cacher;
... | 1.949023 | 97d35db25e6ec752ac03be389c7eed70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835549 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shana/corefx",
"max_stars_repo_path": "src/Common/src/Interop/Linux/libc/Interop.gethostbyaddr_r.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154769"
} | starcoder | <reponame>shana/corefx<gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.InteropServices;
using socklen_t = System.UInt32;
internal static partial class Interop
{
... | 1.541409 | 8f0d7e97eb7a8618dd1bdf909041b84b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fushuai2016/aspnet-petapoco-mysql-nvelocity-cms",
"max_stars_repo_path": "src/ccphl.Web/tools/ccphl_ajax.ashx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154770"
} | starcoder | <reponame>fushuai2016/aspnet-petapoco-mysql-nvelocity-cms
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Web;
using System.Web.SessionState;
using ccphl.Web.UI;
using ccphl.Common;
using ... | 2.007196 | e890eb5743015f451573bdac7612ca80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fiivestudio/sports-play-web-api",
"max_stars_repo_path": "FutbolPlay/Controllers/status_typeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154771"
} | starcoder | <reponame>fiivestudio/sports-play-web-api
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using FutbolPlay;
namesp... | 2.112097 | a2349effde4fa27e5c23d3e09afc30cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835552 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataSet/DataSet_Merge_DtBM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154772"
} | starcoder | <filename>mcs/class/System.Data/Test/System.Data.Tests.Mainsoft/System.Data/DataSet/DataSet_Merge_DtBM.cs
// Authors:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
// <NAME>
//
// Copyright (c) 2004 Mainsoft Co.
//
// Permission is hereby granted, free of charge, to any person obtainin... | 2.166886 | a72992fc289be7eca9a899e44e7beea0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835553 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Spatial4n/Spatial4n",
"max_stars_repo_path": "src/Spatial4n/Shapes/Impl/BufferedLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154773"
} | starcoder | <reponame>Spatial4n/Spatial4n<filename>src/Spatial4n/Shapes/Impl/BufferedLine.cs<gh_stars>1-10
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* ... | 2.471483 | 3203494f93c840ed26f03dd61941fb4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835554 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "forget-myself/JEngine",
"max_stars_repo_path": "UnityProject/HotUpdateScripts/JEngine/Event/JEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154774"
} | starcoder | <filename>UnityProject/HotUpdateScripts/JEngine/Event/JEvent.cs
//
// JEvent.cs
//
// Author:
// JasonXuDeveloper(傑) <<EMAIL>>
//
// Copyright (c) 2020 JEngine
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"... | 2.364843 | ef8e4e6ae554eb6abf89fff497bcaa8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "InnocentThief/Neos.Leaderboard",
"max_stars_repo_path": "DataAccess.Entity/GameEntity/Game.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154775"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
namespace DataAccess.Entity.GameEntity
{
/// <summary>
/// Represents a game create by an account.
/// </summary>
public class Game
{
/// <summary>
/// Gets or sets the unique identifier of the game.
///... | 2.852795 | 85209be5a406a62948bbb9be92cc1859 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chandnipatel57/SearchApp_ASP.NET-MVC-AngularJS-",
"max_stars_repo_path": "SearchApp/SearchApp/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154776"
} | starcoder |
@{
ViewBag.Title = "Index";
}
<h2 style="text-align:center">My Search Application </h2>
<body ng-app="MySearchApp">
<div ng-controller="HomeController">
<label>Search Account</label>
<input type="text" class="form-control" placeholder="Enter Account Name" ng-model="SearchAccount.Name"/>
... | 2.306426 | 6b9a6f5d5eb7d49ad26973600ae864cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bun2fun/FirstSteps",
"max_stars_repo_path": "6th Loops/Decimal to Binary Number/DecimalToBinaryNumber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154777"
} | starcoder | using System;
class DecimalToBinaryNumber
{
static void Main()
{
long number = long.Parse(Console.ReadLine());
string n = Convert.ToString(number);
long[] array = new long[64];
string[] binary = new string[64];
for (int i = 0; i < 64; i++)
{
long re... | 3.58649 | 0ab87712b4f69ec3ab16a2c67046d811 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835558 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "habaneroofdoom/AltNetRop",
"max_stars_repo_path": "Tests/ResultTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154778"
} | starcoder | <filename>Tests/ResultTests.cs
using System;
using System.Linq;
using FluentAssertions;
using Demo.Rop;
using IntResult = Demo.Rop.Result<int, string>;
using BoolResult = Demo.Rop.Result<bool, string>;
using Xunit;
namespace Demo.Tests
{
public class ResultTests
{
[Fact]
public void Successes_And_Failures()
{
... | 2.657792 | 91c7bff6544f5cf391b1024af96073d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835559 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "codedipper/WinBot",
"max_stars_repo_path": "Source/Misc/EventLogging.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154779"
} | starcoder | using System;
using DSharpPlus;
using DSharpPlus.Entities;
using DSharpPlus.EventArgs;
using Serilog;
namespace WinBot.Misc
{
public class EventLogging
{
public static void Init()
{
// Edit logging
Bot.client.MessageUpdated += async (DiscordClient client, MessageUpdate... | 2.443907 | da1481413483bf2615aa1496d9a7d682 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835560 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Paulina-Dyulgerska/CSharp_ASP.NET_Core",
"max_stars_repo_path": "ConformityCheck/Services/ConformityCheck.Services.Data/SuppliersSeedService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154780"
} | starcoder | namespace ConformityCheck.Services.Data
{
using System;
using System.Linq;
using System.Threading.Tasks;
using ConformityCheck.Common;
using ConformityCheck.Data.Common.Repositories;
using ConformityCheck.Data.Models;
using ConformityCheck.Services.Data.Models;
using Microsoft.AspNetCo... | 2.087061 | 7915b67270d268123a3a3a564fbcadc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835561 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sbradno/DotNetHero",
"max_stars_repo_path": "src/DotNetHero.Core/Components/ConsoleInputProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154781"
} | starcoder | // Authored by <NAME>
namespace DotNetHero.Core.Components
{
using System;
using System.Collections.Generic;
sealed class ConsoleInputProcessor : SingletonComponent<ConsoleInputProcessor>
{
readonly Dictionary<ConsoleKey, MappedInput> keyMap;
int keyProcessedCount = 0;
Consol... | 2.444301 | 8447ba0735c0e27d7f20835c4963de03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835562 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "vmanthena/aspnetwebstack",
"max_stars_repo_path": "test/System.Web.Http.OData.Test/OData/Formatter/ODataTestUtil.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154782"
} | starcoder | <filename>test/System.Web.Http.OData.Test/OData/Formatter/ODataTestUtil.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using... | 2.177226 | fe3d12f7e44c51ee04aaf4c33c8d3af8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835563 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SevcanAlkan/WebChat",
"max_stars_repo_path": "Backend/NGA.API/Controllers/SearchController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154783"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using NGA.Data.Service;
using NGA.Domain;
namespace NGA.API.Controllers
{
public class SearchController : DefaultApiController
{
... | 2.353669 | f1ffe80f3c8493ebe098cdebbca1cab4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835564 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "encosoftware/ifps",
"max_stars_repo_path": "ButorRevolutionWebAPI/src/backend/factory/IFPS.Factory.EF/Repositories/PlanRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154784"
} | starcoder | using ENCO.DDD.EntityFrameworkCore.Relational.Repositories;
using IFPS.Factory.Domain.Model;
using IFPS.Factory.Domain.Repositories;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace IFPS.Facto... | 2.195769 | 4f456de0eb479b95ae251c81f78d5248 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835565 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jcdickinson/CompilerKit",
"max_stars_repo_path": "src/CompilerKit.Emit/Ssa/Comparison.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154785"
} | starcoder | <filename>src/CompilerKit.Emit/Ssa/Comparison.cs
using System.Linq.Expressions;
namespace CompilerKit.Emit.Ssa
{
/// <summary>
/// Represents the different types of branch comparison options.
/// </summary>
public enum Comparison
{
/// <summary>
/// Always branch.
/// </sum... | 3.094627 | 7895d2119de783ecad4ca6f0629d7048 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EducationGameDevelopers/WordParkourGame",
"max_stars_repo_path": "Assets/Game/Scripts/Framework/Pool/IReusable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154786"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
public interface IReusable
{
/// <summary>
/// 当使用时调用
/// </summary>
void OnSpawn();
/// <summary>
/// 当回收时调用
/// </summary>
void OnUnspawn();
}
| 1.634334 | 6dbbefbe41b0c489d12273455f40d6ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835567 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KonstantinPostoev/ecs-submodule",
"max_stars_repo_path": "Essentials/Pathfinding/Pathfinding/Core/Processor/PathModifiers/PathCornerModifierSeeker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154787"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ME.ECS.Pathfinding {
public class PathCornerModifierSeeker : PathModifierSeeker {
public PathCornersModifier modifier;
public override Path Run(Path path, Constraint constraint) {
return this.m... | 2.21978 | 8da92188b145087cc4ff5f8a4f42f134 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835568 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "terrajobst/AspNetOutputCache",
"max_stars_repo_path": "src/OutputCacheModuleAsync/Util.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154788"
} | starcoder | <reponame>terrajobst/AspNetOutputCache
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See the License.txt file in the project root for full license information.
namespace Microsoft.AspNet.OutputCache {
using System;
using System.Collections;
using System.Gl... | 2.661005 | 885ecef5923187e3ec50b781ce00ffdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835569 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "LordDragonus/mutefm",
"max_stars_repo_path": "src/win/MuteTunesConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154789"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace MuteFm
{
// TODO: make it easy for me to upgrade this. have a version field and be able t... | 2.075478 | a5e003b8780464f69328050204989917 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tweakch/Pdc.System",
"max_stars_repo_path": "Pdc.Net/Service/Inspector/PdcMessageInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154790"
} | starcoder | <gh_stars>0
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Dispatcher;
namespace Pdc.Net.Service.Inspector
{
public class PdcMessageInspector : IClientMessageInspector
{
public virtual void AfterReceiveReply(ref Message reply, object correlationState)
... | 1.484286 | a52758bf70101f54a5cb38e15d1c47d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835571 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belandproject/unity-renderer",
"max_stars_repo_path": "unity-renderer/Assets/Scripts/MainScripts/BLD/Controllers/Settings/SettingsControllers/SpecificControllers/ProfanityChatFilterControlController.cs",
"provenance": "train-00027-of-... | starcoder | using BLD;
using BLD.SettingsCommon.SettingsControllers.BaseControllers;
using UnityEngine;
namespace MainScripts.BLD.Controllers.Settings.SettingsControllers.SpecificControllers
{
[CreateAssetMenu(menuName = "Settings/Controllers/Controls/Profanity Chat Filtering", fileName = "ProfanityChatFilteringControlContro... | 1.79337 | f138f6f9a305b51fb03d35c49031ae94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/roslyn",
"max_stars_repo_path": "src/EditorFeatures/Core/Implementation/InlineRename/AbstractEditorInlineRenameService.FailureInlineRenameInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154792"
} | starcoder | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.T... | 1.41986 | bdad6bf0aecc6e0f0f14d83bafaca0ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835573 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kassomats/TelerikAcademy",
"max_stars_repo_path": "ITest/ITest/ITest.DTO/SolveTestDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154793"
} | starcoder | <reponame>Kassomats/TelerikAcademy<filename>ITest/ITest/ITest.DTO/SolveTestDTO.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ITest.DTO
{
public class SolveTestDTO
{
public ICollection<QuestionDTO> Questions { get; set; }
public Guid UserId { get; set; }
... | 1.593929 | fa768b0e24cd72156e930cb39c8fd143 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835574 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "martindevans/Myre",
"max_stars_repo_path": "Myre/Myre.UI/Frame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154794"
} | starcoder | <reponame>martindevans/Myre<filename>Myre/Myre.UI/Frame.cs
using System;
using System.Collections.Generic;
using System.Numerics;
using Microsoft.Xna.Framework.Graphics;
using Rectangle = Microsoft.Xna.Framework.Rectangle;
using Point = Microsoft.Xna.Framework.Point;
namespace Myre.UI
{
/// <summary>
/// Rep... | 2.82834 | 67c37e0be9173a949011b1c2fdd62ab3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835575 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "envyvox/Hinode.Izumi",
"max_stars_repo_path": "Hinode.Izumi.Services/GameServices/CalculationService/Queries/GetCraftingPriceQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154795"
} | starcoder | <filename>Hinode.Izumi.Services/GameServices/CalculationService/Queries/GetCraftingPriceQuery.cs<gh_stars>1-10
using System.Threading;
using System.Threading.Tasks;
using Hinode.Izumi.Data.Enums.PropertyEnums;
using Hinode.Izumi.Services.GameServices.PropertyService.Queries;
using MediatR;
namespace Hinode.Izumi.Serv... | 2.569756 | c87aae2fc4724ad409e784329d8e27fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835576 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "inthehand/Pontoon",
"max_stars_repo_path": "Source/InTheHand/Foundation/IAsyncAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154796"
} | starcoder | <reponame>inthehand/Pontoon
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IAsyncAction.cs" company="In The Hand Ltd">
// Copyright (c) 2016 In The Hand Ltd, All rights reserved.
// </copyright>
// ---------------------------... | 2.323537 | b47f00bf23571cd20de141c5f3fa47d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835577 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "srigaux/FileSystemAbstraction",
"max_stars_repo_path": "src/FileSystemAbstraction/Schemes/FileSystemScheme.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154797"
} | starcoder | <filename>src/FileSystemAbstraction/Schemes/FileSystemScheme.cs
using System;
using FileSystemAbstraction.Adapters;
namespace FileSystemAbstraction.Schemes
{
/// <summary>
/// FileSystemSchemes assign a name to a specific <see cref="IFileSystem" />
/// fileSystemType.
/// </summary>
public class F... | 3.306972 | 6adea3f1c552cf16fc1a59e556a5e841 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835578 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tgruenewald/noahsark",
"max_stars_repo_path": "proj/Assets/Tower.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154798"
} | starcoder | <filename>proj/Assets/Tower.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Tower : MonoBehaviour
{
Queue<GameObject> targetList = new Queue<GameObject> ();
GameObject target = null;
public float bulletSpeed = 6f;
private bool already... | 2.055504 | e23f3f653e9cef60c6bc8c5282acd6eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835579 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "madiantech/tkcore",
"max_stars_repo_path": "Data/YJC.Toolkit.AdoData/Data/_SourceConfig/ChildTableInfoConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154799"
} | starcoder | using YJC.Toolkit.Right;
using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Data
{
public class ChildTableInfoConfig : IRegName
{
#region IRegName 成员
public string RegName
{
get
{
if (Relation != null)
return Relation.Name;
... | 1.63408 | 1b5dc84101d2ca5c1a987f5bda657745 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835580 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Broxzier/Project-Planner",
"max_stars_repo_path": "Assets/Project Planner/Editor/Scripts/Interfaces/IRename.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154800"
} | starcoder | namespace ProjectPlanner
{
public interface IRename
{
string GetName();
void SetName(string value);
void Validate();
}
}
| 2.053569 | 88010be604ff0cd36a44ca3414bc93a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835581 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "RageKingBanana/PixelEarth",
"max_stars_repo_path": "Library/PackageCache/com.unity.ads@3.6.1/Runtime/Monetization/PlacementContentStateChangeEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154801"
} | starcoder | <reponame>RageKingBanana/PixelEarth<gh_stars>10-100
using System;
namespace UnityEngine.Monetization
{
public class PlacementContentStateChangeEventArgs : EventArgs
{
public string placementId;
public PlacementContent placementContent;
public PlacementContentState previousState;
... | 1.778848 | 9a49a3d2f7ff6deb08e767f3381e975b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835582 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "beBoss/SoftUni",
"max_stars_repo_path": "SoftUni-CSharp/Operators Expressions and Statements/5. Third Digit Is Seven/ThirdDigitIsSeven.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154802"
} | starcoder | <filename>SoftUni-CSharp/Operators Expressions and Statements/5. Third Digit Is Seven/ThirdDigitIsSeven.cs
using System;
//Problem 5. Third Digit is 7?
//Write an expression that checks for given integer if its third digit from right-to-left is 7. Examples:
//n Third digit 7?
//5 false
//701 true
//9703 true
//877 f... | 4.133993 | c982255190368b01002ce5c0d3232f2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835583 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "VB10/HWASocial",
"max_stars_repo_path": "ViewModel/BaseViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154803"
} | starcoder | <filename>ViewModel/BaseViewModel.cs
using System;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using BoshokuDemo1.Helper;
using BoshokuDemo1.Model;
using BoshokuDemo1.Service;
using BoshokuDemo1.Views.Popup;
using Firebase.Storage;
using Firebase... | 1.900363 | 53b38add58fa75a807ac54c8992e71de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835584 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "dsmalik/FunnelWeb",
"max_stars_repo_path": "src/FunnelWeb/Settings/IAppHarborSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154804"
} | starcoder | <filename>src/FunnelWeb/Settings/IAppHarborSettings.cs
namespace FunnelWeb.Settings
{
public interface IAppHarborSettings
{
string SqlServerConnectionString { get; set; }
}
} | 1.648553 | c56f1ea84c767ed0b0f8485b0d7ccd44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ctyar/dotnet-serve",
"max_stars_repo_path": "src/dotnet-serve/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154805"
} | starcoder | // Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using McMaster.Extensions.CommandLineUtils;
namespace McMaster.DotNet.Serve
{
... | 2.198624 | 9f581ae8243287794440fd792c007c90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835586 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mbyase/AR",
"max_stars_repo_path": "R2/Assets/Scripts/RandomValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154806"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class RandomValue : MonoBehaviour
{
public bool IsRandom = false;
Slider slider;
Text text;
float curValue;
float step;
string origText;
// Use this for initialization
void Start ()
{
... | 2.466531 | 8c0b18b7f819c69e8a96015a16ffc571 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "totsamiy/Game-Sound-Designer-test",
"max_stars_repo_path": "Assets/Imports/_KinematicCharacterController/ExampleCharacter/Scripts/footsteps.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154807"
} | starcoder | <reponame>totsamiy/Game-Sound-Designer-test
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class footsteps : MonoBehaviour
{
[FMODUnity.EventRef]
public string inputsound;
bool playerismoving = false;
public float walkingspeed;
void Update ()
{
}
void CallFo... | 1.892744 | 7aa514dd9175a38f1b6af488658df9ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reems59/RubeGolbergGame",
"max_stars_repo_path": "Assets/MyScripts/OculusHandInteraction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154808"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OculusHandInteraction : MonoBehaviour {
public SteamVR_TrackedObject trackedObj;
private SteamVR_Controller.Device device;
public float throwForce = 1.5f;
private OVRInput.Controller thisController;
public... | 2.08945 | 9a444498aa846df5e150b222f6c42cc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835589 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirusser/Learning-dontNet",
"max_stars_repo_path": "src/FluenValidationDemo/ExternalModels.Library/Tester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154809"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExternalModels.Library
{
public class Tester
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
... | 1.833937 | 96acabd513f6b261da981e2c90553d37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835590 | {
"extension": "c-sharp",
"max_stars_count": "194.0",
"max_stars_repo_name": "Youssef1313/FigmaSharp",
"max_stars_repo_path": "tools/MonoDevelop.Figma/FigmaNodeWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154810"
} | starcoder | // Authors:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2018 Microsoft, Corp
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the righ... | 2.04752 | 2dcc57e7b41fae7b79d51be2f2c4589a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835591 | {
"extension": "c-sharp",
"max_stars_count": "5937.0",
"max_stars_repo_name": "KodamaSakuno/wpf",
"max_stars_repo_path": "src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/IO/SynchronizingStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154811"
} | starcoder | <gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//------------------------------------------------------------------------------
//
//
//
// File: ... | 2.643855 | 32ce5c7f17daa9e92d11107b4b76c6ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rs-swc/Koralium",
"max_stars_repo_path": "netcore/tests/Koralium.SqlParser.Tests/CloneTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154812"
} | starcoder | <filename>netcore/tests/Koralium.SqlParser.Tests/CloneTests.cs
using Koralium.SqlParser.Expressions;
using Koralium.SqlParser.Literals;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace Koralium.SqlParser.Tests
{
public class CloneTests
{
[Test]
... | 2.459697 | 6a08747fb6c143bda9569a6c74eb0464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835593 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leo-the-dev/AzureCloudServices",
"max_stars_repo_path": "src/AzureCloudServices.Bll/Abstractions/IAzureStorageRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154813"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
namespace AzureCloudServices.Bll.Abstractions
{
public interface IAzureStorageRepository
{
Task<string> GetBlobAsync(string name);
Task<IEnumerable<string>> ListBlobsAsync();
Task UploadBlobAsync(string name, string path);
... | 2.023443 | 37d55acdd9a7d90d932a1aedf8ec06e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835594 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ZachNo/ProjectStargazer",
"max_stars_repo_path": "Assets/SunColor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154814"
} | starcoder | <reponame>ZachNo/ProjectStargazer<filename>Assets/SunColor.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SunColor : MonoBehaviour {
Renderer render;
MaterialPropertyBlock mpb;
int emcolorID;
int colorID;
Color tempColor;
// Use this for initi... | 1.905588 | 015a306a352ee25ce1d1e2a434135b01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835595 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "litmus/aws-lambda-s3-zipper-dotnet",
"max_stars_repo_path": "LambdaS3FileZipper/Interfaces/IService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154815"
} | starcoder | using System.Threading;
using System.Threading.Tasks;
using LambdaS3FileZipper.Models;
namespace LambdaS3FileZipper.Interfaces
{
public interface IService
{
Task<Response> Process(Request request, CancellationToken cancellationToken);
}
}
| 1.553831 | ee2c4cce73c2cd18c12b02d281584193 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835596 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "githubmathushiva/asp.net001",
"max_stars_repo_path": "test/Abp.TestBase.SampleApplication/Crm/Company.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154816"
} | starcoder | <reponame>githubmathushiva/asp.net001
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities.Auditing;
using Abp.MultiTenancy;
namespace Abp.TestBase.SampleApplication.Crm
{
[Table("Companies")]
[MultiTenancySide(MultiTenancySides.Host)]
public clas... | 1.659008 | d2fcd43e42a785fbbe7dadecab6fd886 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835597 | {
"extension": "c-sharp",
"max_stars_count": "618.0",
"max_stars_repo_name": "valuex/OneMore",
"max_stars_repo_path": "OneMore/Commands/Numbering/NumberPagesDialog.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154817"
} | starcoder | namespace River.OneMoreAddIn.Commands
{
partial class NumberPagesDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if m... | 2.023275 | b70caa4b0884ccb64535a3c7021977b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835598 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tc303730352/WedonekRpcFrame",
"max_stars_repo_path": "Source/HttpApiGateway/HttpApiGateway/Interface/IHttpConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154818"
} | starcoder | using System;
using HttpApiGateway.Model;
namespace HttpApiGateway.Interface
{
public interface IHttpConfig
{
/// <summary>
/// 响应模板
/// </summary>
IApiResponseTemplate ApiTemplate { get; set; }
/// <summary>
... | 2.034212 | 50894f9b6962a2d7fc99ed4eae0bf7b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835599 | {
"extension": "c-sharp",
"max_stars_count": "833.0",
"max_stars_repo_name": "DevChive/lessmsi",
"max_stars_repo_path": "src/ExplorerShortcutHelper/RegistryTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154819"
} | starcoder | <filename>src/ExplorerShortcutHelper/RegistryTools.cs
// 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, modif... | 2.708411 | d5591e5c1bb17948e994fe4de1d756e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SneakyPeet/Dirtybase",
"max_stars_repo_path": "src/Dirtybase.Core/Implementations/Sql/SqlCommandBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154820"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.Common;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using Dirtybase.Core.Exceptions;
using Dirtybase.Core.Options;
using Dirtybase.Core.VersionComparison;
namespace Dirtybase.Core.Implementations.Sql
{
internal abstract... | 2.530693 | ca80d503e4620de7ffacb9c62853d1a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835601 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "juniorgasparotto/SysCommand",
"max_stars_repo_path": "src/SysCommand.Tests.ConsoleApp.Net462/Views/Custom/IndexDynamicModel.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154821"
} | starcoder | Title: @Model.Title | 1.000435 | 1704edd25a4a576dbe21e09218a16068 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835602 | {
"extension": "c-sharp",
"max_stars_count": "3147.0",
"max_stars_repo_name": "tomy2105/elsa-core",
"max_stars_repo_path": "src/modules/workflowsettings/Elsa.WorkflowSettings.Persistence.YesSql/Documents/WorkflowSettingDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154822"
} | starcoder | using Elsa.Persistence.YesSql.Documents;
namespace Elsa.WorkflowSettings.Persistence.YesSql.Documents
{
public class WorkflowSettingDocument : YesSqlDocument
{
public string SettingId { get; set; } = default!;
public string WorkflowBlueprintId { get; set; } = default!;
public string Key... | 1.283175 | b2dceb2fa34742cb89b265ceeb3655aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835603 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jnyrup/puppeteer-sharp",
"max_stars_repo_path": "lib/PuppeteerSharp/Messaging/BoxModelResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154823"
} | starcoder | <filename>lib/PuppeteerSharp/Messaging/BoxModelResponse.cs
namespace PuppeteerSharp.Messaging
{
internal class BoxModelResponse
{
public BoxModelResponseModel Model { get; set; }
public class BoxModelResponseModel
{
public decimal[] Content { get; set; }
public... | 1.98022 | f0326b3c7561dfd37e6c28556a4fac43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835604 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kovachevmartin/SoftUni",
"max_stars_repo_path": "CSharp-OOP/Exams/Basics_18-Mar-2018_DungeonsAndCodeWizards/DungeonsAndCodeWizards/Factories/ItemFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154824"
} | starcoder | <filename>CSharp-OOP/Exams/Basics_18-Mar-2018_DungeonsAndCodeWizards/DungeonsAndCodeWizards/Factories/ItemFactory.cs
namespace DungeonsAndCodeWizards.Factories
{
using DungeonsAndCodeWizards.Items;
using System;
using System.Linq;
using System.Reflection;
public class ItemFactory
{
pub... | 3.179951 | a18350b0ffcbf63518ba1c469ffe6448 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835605 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "vladislav-karamfilov/TelerikAcademy",
"max_stars_repo_path": "Databases Projects/Exam-Bookstore/Bookstore.DataAccessLayer/BooksDAO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154825"
} | starcoder | namespace Bookstore.DataAccessLayer
{
using System;
using System.Collections.Generic;
using System.Linq;
using Bookstore.Data;
public class BooksDAO
{
// Tasks 3
public void SimpleImportOfBook(string authorName, string title, string isbn, decimal? price, string webSite)
... | 3.155616 | 446fbd8de23e6f29656303bd5f256a88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mungojam/dotnetrdf-fork",
"max_stars_repo_path": "Testing/unittest/Writing/Serialization/TripleSerializationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154826"
} | starcoder | /*
dotNetRDF is free and open source software licensed under the MIT License
-----------------------------------------------------------------------------
Copyright (c) 2009-2012 dotNetRDF Project (<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated d... | 2.381471 | 7a48e654be0f11282f3d01e41158313b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kugushev/net-core-ecosystem",
"max_stars_repo_path": "2018.2/module24-redis-elasticsearch/Test/RedisWeb/Controllers/ValuesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154827"
} | starcoder | <reponame>kugushev/net-core-ecosystem<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.Memory;
using Nest;
using Newtonsoft.Js... | 2.369714 | 1281888693fb0ea8497a23bb3de9aaae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835608 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.tl-matching",
"max_stars_repo_path": "src/Sfa.Tl.Matching.Application.UnitTests/InMemoryDb/EfCoreExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154828"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.tl-matching
using Microsoft.EntityFrameworkCore;
namespace Sfa.Tl.Matching.Application.UnitTests.InMemoryDb
{
public static class EfCoreExtensions
{
public static void DetachAllEntities(this DbContext context)
{
foreach (var entity in con... | 1.74535 | 429e35976ae1d7fc16dc3e821d2ee22c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cjuanstevan/CSG",
"max_stars_repo_path": "CSG/CSG/views/CdoArticle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154829"
} | starcoder | using CSG.cache;
using CSG.logic;
using CSG.model;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CSG.views
{
public partial class CdoArt... | 2.358598 | 7ca6f92fd6a2b8911962ed5b5e853113 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835610 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "toptensoftware/ThemeKit",
"max_stars_repo_path": "Topten.ThemeKit/Ast/AstDocument.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154830"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Topten.ThemeKit.Ast
{
internal class AstDocument : AstElement
{
public AstDocument(SourcePosition pos) : base(pos)
{
}
L... | 2.219623 | 071419fd2da4f6afe58b48020d24f1d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835611 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "stevehebert/SignalR",
"max_stars_repo_path": "SignalR/Hubs/SignalAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154831"
} | starcoder | <gh_stars>1-10
using System.Dynamic;
using System.Threading.Tasks;
namespace SignalR.Hubs
{
public class SignalAgent : DynamicObject, IClientAgent
{
private readonly IConnection _connection;
private readonly string _signal;
private readonly string _hubName;
private readonly Tra... | 2.412998 | 36dc15eba8b062a6c0e95883eaab53c1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.