added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91461 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mtihector/Mod",
"max_stars_repo_path": "Mod.Core.ModuleA/Event.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91462"
} | starcoder | <reponame>mtihector/Mod<gh_stars>1-10
namespace Mod.Core.ModuleA
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Event
{
[Key]
... | 1.801613 | 77dc6e25c7022caf1f04ea5c8613b48b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PhiloSoftware/PhiloSoftware.Core",
"max_stars_repo_path": "Project/PhiloSoftware.Core.Infrastructure/Implementation/Entity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91463"
} | starcoder | using PhiloSoftware.Core.Infrastructure.Definitions;
using System;
namespace PhiloSoftware.Core.Infrastructure.Implementation
{
public abstract class Entity : IEntity
{
[Obsolete("Do not use, this is for ORM's and DOD's")]
public Entity() { }
public Entity(IGenerateSequentialGuids seq... | 2.945343 | 66560e0631454c9a69fec5fe6b00d3af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91463 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "equinor/pcs-preservation-api",
"max_stars_repo_path": "src/tests/Equinor.ProCoSys.Preservation.WebApi.Tests/Controllers/RequirementTypes/UpdateRequirementDefinitionDtoValidatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91... | starcoder | using System.Collections.Generic;
using System.Linq;
using Equinor.ProCoSys.Preservation.Domain.AggregateModels.RequirementTypeAggregate;
using Equinor.ProCoSys.Preservation.WebApi.Controllers.RequirementTypes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Equinor.ProCoSys.Preservation.WebApi.Tests.Co... | 2.260216 | 87b133ebfa372462b43c4c4a250e2663 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shaynevanasperen/coinbase-client-websocket",
"max_stars_repo_path": "src/Coinbase.Client.Websocket/Client/CoinbaseClientStreams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91465"
} | starcoder | <gh_stars>0
using System.Reactive.Subjects;
using Coinbase.Client.Websocket.Responses;
using Coinbase.Client.Websocket.Responses.Books;
using Coinbase.Client.Websocket.Responses.Full;
using Coinbase.Client.Websocket.Responses.Status;
using Coinbase.Client.Websocket.Responses.Tickers;
namespace Coinbase.Client.Websock... | 1.778723 | a6373c766889c4e4305bb96334acc33b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91465 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bnoffer/streamcmdproxy",
"max_stars_repo_path": "streamcmdproxy/AllowedCommands.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91466"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace streamcmdproxy
{
public class AllowedCommands
{
private static object _syncRoot = new object();
private static AllowedCommands _instance;
public static AllowedCommands Instance
{
get
{
lock (_syncRoot)
if (_... | 2.082222 | 093b7fe4c7d08913b01184dac2e0bd22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91466 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Integround/Integround.Components",
"max_stars_repo_path": "Integround.Components.Core/Integround.Components.Core/Core/ProcessConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91467"
} | starcoder | using System.Collections.Generic;
namespace Integround.Components.Core
{
public class ProcessConfiguration
{
public string Name { get; set; }
public ProcessStatus Status { get; set; }
public ProcessParameters Parameters { get; set; }
}
public class ProcessParameters
{
... | 2.798024 | 34f4635ea4bdf07a1a6a24a924a4532e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91467 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "Squidward63/HouraiNetworking",
"max_stars_repo_path": "Runtime/Integrations/Discord/DiscordUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91468"
} | starcoder | using System;
using System.Threading.Tasks;
using UnityEngine;
using DiscordApp = Discord;
namespace HouraiTeahouse.Networking.Discord {
public static class DiscordUtility {
public static Exception ToError(DiscordApp.Result result) {
if (result == DiscordApp.Result.Ok) return null;
return new Exc... | 2.419542 | 5d2d2a09b6ad49285dfb4e07aea43020 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taucode/taucode.mq.abstractions",
"max_stars_repo_path": "src/TauCode.Mq.Abstractions/IMessageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91469"
} | starcoder | <reponame>taucode/taucode.mq.abstractions
namespace TauCode.Mq.Abstractions
{
public interface IMessageHandler
{
void Handle(object message);
}
}
| 1.525309 | 61a89eb329340c49e3e691f665623bd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kdau/SDV-purrplingcat",
"max_stars_repo_path": "NpcAdventure/Loader/ContentPacks/ContentPackProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91470"
} | starcoder | using NpcAdventure.Loader.ContentPacks;
using NpcAdventure.Model;
using StardewModdingAPI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace NpcAdventure.Loader
{
class ContentPackProvider
{
private re... | 2.421733 | 2cadbdb7e06a008e4f705ffa210b7692 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91470 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "vip32/Naos.Core",
"max_stars_repo_path": "src/Foundation.Extensions/IndexOf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91471"
} | starcoder | namespace Naos.Foundation
{
using System;
using System.Collections.Generic;
public static partial class Extensions
{
/// <summary>
/// Finds the index of the first item matching an expression in an enumerable.
/// </summary>
/// <typeparam name="T">the item type.</typep... | 3.684478 | a0a2594545271d29386037269d3c8922 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ianco/jag-lcrb-carla-public",
"max_stars_repo_path": "cllc-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMadoxioApplicationinvoicehistoryCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91472"
} | starcoder | <gh_stars>0
// <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.Lclb.Cllb.Interfaces.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.... | 1.834024 | 3e0c1cda454fdaca61beb36e812c44cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91472 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gashach/EncompassRest",
"max_stars_repo_path": "src/EncompassRest/Contacts/ContactAddress.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91473"
} | starcoder | namespace EncompassRest.Contacts
{
public sealed class ContactAddress : ExtensibleObject
{
private DirtyValue<string> _street1;
public string Street1 { get => _street1; set => _street1 = value; }
private DirtyValue<string> _street2;
public string Street2 { get => _street2; set =... | 2.496557 | ed2a465f7b0e181b3be73c2a9444bf96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bartosz-wozniak/ComputationalCluster",
"max_stars_repo_path": "src/CCluster.Messages/IMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91474"
} | starcoder | using MediatR;
namespace CCluster.Messages
{
/// <summary>
/// Marker interface for every message sent over the wire.
/// </summary>
public interface IMessage : IRequest
{ }
/// <summary>
/// Marker interface for every <see cref="IMessage"/> that does not need response from the other side... | 2.108679 | e936caaedc952256f63156d497a3f188 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91474 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abdullin/telegraf-client",
"max_stars_repo_path": "src/StatsdClient/ISender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91475"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Telegraf {
public interface ISender {
void Send(InfluxPoint point);
}
} | 1.62808 | 2705492bf82d0da4b5d6cd9f367982c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kirill1111/Racing2D",
"max_stars_repo_path": "Scripts/SelectCar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91476"
} | starcoder | <filename>Scripts/SelectCar.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class SelectCar : MonoBehaviour {
public Sprite[] sprite;
public Image ObjectSprite;
public int NextLvl;
public int ... | 2.184418 | 99169c2b17012d68485fd3895cec3bd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "masbicudo/InterSiteLogin",
"max_stars_repo_path": "Masb.Yai/AttributeSources/IAttributeSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91477"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Masb.Yai.AttributeSources
{
public interface IAttributeSource
{
IEnumerable<T> GetCustomAttributes<T>(MemberInfo member, bool inherit = false) where T : Attribute;
IEnumerable<T> GetCustomAttributes<T>(Type type... | 2.337113 | 95b35928d694adf14485d58d683e5acc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91477 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dubrie/Telepathy",
"max_stars_repo_path": "src/soa/SessionAPI.HpcPack/DataMapping/JobStateConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91478"
} | starcoder | namespace Microsoft.Hpc.Scheduler.Session.HpcPack.DataMapping
{
public static class JobStateConverter
{
public static Microsoft.Hpc.Scheduler.Session.Data.JobState FromHpcJobState(Microsoft.Hpc.Scheduler.Properties.JobState jobstate)
{
return (Data.JobState)jobstate;
}
... | 1.942612 | 68c672277406063267bf45bcf95fe930 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91478 | {
"extension": "c-sharp",
"max_stars_count": "778.0",
"max_stars_repo_name": "jeroen-mostert/CodeContracts",
"max_stars_repo_path": "Demo/Devscovery/ContractExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91479"
} | starcoder | <filename>Demo/Devscovery/ContractExtensions.cs<gh_stars>100-1000
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft... | 2.048158 | 9485c12a897d6d51ff847f57988a4472 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91479 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "idaholab/EMRALD",
"max_stars_repo_path": "EMRALD_Sim/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91480"
} | starcoder | <filename>EMRALD_Sim/Program.cs
// Copyright 2021 Battelle Energy Alliance
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using XmppServer;
namespace EMRALD_Sim
{
static class Program
{
/// <summary>
/// The main entry point fo... | 2.065055 | 044c041969e708df3d9efefd67aa4899 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91480 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "secretMoi/Wallon",
"max_stars_repo_path": "RestServer/Data/Taches/TacheRepo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91481"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Models.Models;
namespace RestServer.Data.Taches
{
public class TacheRepo : ITacheRepo
{
private readonly WallonsContext _context;
public WallonsContext Context => _context;
public TacheRepo(WallonsContext context)
{
_context = cont... | 2.87293 | 35f98c7718ee641ec226b1ba0c4e1012 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vishipayyallore/Sample-C--Using-DotNet-Core",
"max_stars_repo_path": "AllSamples/Challenges/AllChallenges/AllChallenges.Lib/UpUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91482"
} | starcoder | using System.Text;
using static System.Console;
namespace AllChallenges.Lib
{
public class UpUp
{
public static void Run()
{
var input = ReadLine().Trim();
var output = new StringBuilder(1024);
foreach (var currentWord in input.Split(' '))
{
... | 3.260051 | 9496bc367af33f087661eeb447b40934 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91482 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonCropp/Argonautica",
"max_stars_repo_path": "src/Argon/Utilities/BidirectionalDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91483"
} | starcoder | // Copyright (c) 2007 <NAME>. All rights reserved.
// Use of this source code is governed by The MIT License,
// as found in the license.md file.
class BidirectionalDictionary<TFirst, TSecond> where TFirst : notnull where TSecond : notnull
{
readonly IDictionary<TFirst, TSecond> firstToSecond;
readonly IDicti... | 2.750941 | 8854a3ed08039ec20ddeb979e1f680d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91483 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SLT-World/Build-and-Upgrade",
"max_stars_repo_path": "Build & Upgrade/Assets/Scripts/Packet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91484"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using UnityEngine;
[Serializable]
public class Packet
{
List<byte> Bytes;
int Index;
public Packet()
=> Initialize();
public Packet(byte[] _Bytes)
=> Initialize(_Bytes);
public Packet(List<... | 2.911183 | 6282426ccfd491211e96b24f85b55fae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91484 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "carbonrobot/CarrotCake",
"max_stars_repo_path": "src/CarrotCake.Data.Ef/EFDataContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91485"
} | starcoder | namespace CarrotCake.Data.Ef
{
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using Domain;
using Extensions;
public class EFDataContext : DbContext, IDataContext
{
public EFDataContext()
{... | 3.028324 | e385bab392c1b17344f37d38d916a39a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SardineFish/RobotBattleServer",
"max_stars_repo_path": "RobotBattleServer/IDRegister.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91486"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace RobotBattleServer
{
public static class IDRegister
{
private static uint idGenerator = 0;
public static uint NewID()
{
return idGenerator++;
}
}
}
| 1.839477 | b5feff94073711a424cc006eb6807608 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91486 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyRuleGetArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91487"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.863199 | 73856bda2094f0f27279949eee67cc5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Amialc/openiddict-core",
"max_stars_repo_path": "src/OpenIddict.Abstractions/Descriptors/OpenIddictTokenDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91488"
} | starcoder | <reponame>Amialc/openiddict-core
using System;
using System.Collections.Generic;
using System.Security.Claims;
namespace OpenIddict.Abstractions
{
/// <summary>
/// Represents an OpenIddict token descriptor.
/// </summary>
public class OpenIddictTokenDescriptor
{
/// <summary>
/// ... | 2.072157 | 5aab6b1450bed62646d291982088cf10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91488 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArneD/json-serializer-settings",
"max_stars_repo_path": "test/Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Formatters.Json.Tests/Infrastructure/Types/CamelCasedString.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91489"
} | starcoder | namespace Be.Vlaanderen.Basisregisters.AspNetCore.Mvc.Formatters.Json.Tests.Infrastructure.Types
{
public class CamelCasedString
{
private readonly string _camelCasedValue;
public CamelCasedString(string value)
=> _camelCasedValue = char.ToLowerInvariant(value[0]) + value.Substring(... | 2.572152 | 3bca825597e89c67503d48e8f0d6fbb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91489 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "bmats/procedural-forest",
"max_stars_repo_path": "Assets/Scripts/ForestBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91490"
} | starcoder | <reponame>bmats/procedural-forest
using UnityEngine;
using String = System.String;
public class ForestBuilder : MonoBehaviour {
public float TileSize = 50f;
public float GroundVertSpacing = 2f;
public float TrunkRadiusMult = 0.3f;
public float LeafDimpleMult = 0.7f;
public float TreeTaper = 0.5f;
... | 2.564168 | d8e8ec6a0c847435ef3c32fdea88408c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91490 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "JuneSoftware/LocalStorage",
"max_stars_repo_path": "Assets/June/LocalStorage/LocalStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91491"
} | starcoder | <filename>Assets/June/LocalStorage/LocalStore.cs
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Logger = June.DebugLogger;
namespace June {
/// <summary>
/// Local storage manager.
/// </summary>
public static partial class LocalStore {
p... | 2.411088 | c877ca93ce133e9acda1dd78ca482645 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roshannizar/Shopper",
"max_stars_repo_path": "ShopperCart/5.0.0/aspnet-core/src/ShopperCart.Application/Customer/ProductNotFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91492"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ShopperCart.Customer
{
public class ProductNotFoundException:Exception
{
public ProductNotFoundException():base("Product Not Found!")
{
}
}
}
| 1.774378 | 7ab6b5ec2d2a32706b9bbc585a21c862 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91492 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tech-ticks/RTDXTools",
"max_stars_repo_path": "Assets/Scripts/Stubs/Generated/Assembly-CSharp/MagnificationManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91493"
} | starcoder | <reponame>tech-ticks/RTDXTools<gh_stars>1-10
/*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
// Image 46: Assembly-CSharp.dll - Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutr... | 1.365674 | aebd9825cf27303b5f31234606629ec8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xObliterate/F.LUX",
"max_stars_repo_path": "App_Code/Showrooms.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91494"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
/// <summary>
/// Summary description for Showroom
/// </summary>
public class Showrooms
{
private string connStr = Configuratio... | 2.277684 | 21330e2cb687fc6894bf97a1d2455e2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91494 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noctarius/OpenVIII",
"max_stars_repo_path": "Encoding/Sources/Tags/FF8TextTagDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91495"
} | starcoder | namespace OpenVIII.Encoding.Tags
{
public enum FF8TextTagDialog : byte
{
CardLevel = 0x20,
CurrentValue = 0x22,
SelectedGF = 0x24,
SelectedGFAbility = 0x25,
SelectedMagic = 0x26,
SelectedCharacter = 0x27,
SelectedParam = 0x28,
SelectedBlueMagic = ... | 1.261803 | 7d0a700cf673e0300ba8ffe699490e58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91495 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Svante-J-TE/PRRPRR02",
"max_stars_repo_path": "Polymorfi/Polymorfi/Coffee.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91496"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Polymorfi
{
class Coffee : Product
{
private string _roastLevel;
public string RoastLevel
{
get { return _roastLevel; }
set { _roastLevel = value; }
}
}
}
| 2.313473 | 92c55aff3a8415b129f06f7489c81cc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CannibalK9/fireperson",
"max_stars_repo_path": "Assets/Scripts/Helpers/Interactables.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91497"
} | starcoder | namespace Assets.Scripts.Helpers
{
public static class Interactables
{
public static string ChimneyLid
{
get { return "ChimneyLid"; }
}
public static string Stove
{
get { return "Stove"; }
}
public static string Sti... | 1.900578 | a52977b5d69985e3ccaea7a8aae226dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MyJetWallet/Service.ExternalApi",
"max_stars_repo_path": "src/Service.ExternalApi.Domain/Services/OrderBookSourceManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91498"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Autofac;
using Microsoft.Extensions.Logging;
using MyJetWallet.Domain.ExternalMarketApi;
using MyJetWallet.Domain.ExternalMarketApi.Dto;
using Newtonsoft.Json;
namespace Service.ExternalApi.Domain.Services
{
public class OrderBookSourceManage... | 2.493575 | cf2fd621b3358850e3d0bfe7940a279d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gabrielpda15/Games-Pardinho",
"max_stars_repo_path": "GamesPardinho.Web/GamesPardinho.Web.Models/Repository/Configuration/IdentityRoleConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91499"
} | starcoder | using GamesPardinho.Web.Models.Entities.Relations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace GamesPardinho.Web.Models.Repository.Configuration
{
public class IdentityRoleConfiguration : I... | 2.076813 | 4d3ce1f8bf9e5db5db0e8b7b2b19db26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91499 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/AlipayPcreditHuabeiSceneprodBenefitCreateModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91500"
} | starcoder | <reponame>alipay/alipay-sdk-net
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayPcreditHuabeiSceneprodBenefitCreateModel Data Structure.
/// </summary>
[Serializable]
public class AlipayPcreditHuabeiSceneprodBenefitCreateModel : AopObject
... | 1.282526 | 15a08646c68af8f6a2e76b3630ac23e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91500 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LordZoltan/JobServe-API-Client",
"max_stars_repo_path": "JobServe.API.Client/System/ArgumentValidationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91501"
} | starcoder | <reponame>LordZoltan/JobServe-API-Client<gh_stars>0
/// JobServe Jobs API Client - for the Jobs API at http://services.jobserve.com
///
/// Copyright <NAME> (https://github.com/LordZoltan) 2013 onwards
///
/// You are free to use code, clone it, alter it at will. But please give me credit if you are incorporating
/... | 2.937399 | cc3bd327325d3b561f837ff0bccc7b12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rlmcneary2/CefSharp",
"max_stars_repo_path": "CefSharp/PaintElementType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91502"
} | starcoder | <reponame>rlmcneary2/CefSharp
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public enum PaintElementType
{
View = 0,
Popup
};
}
| 1.242764 | f3e257f1146c2253f2dcdc8a8f562b51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91502 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rodoch/Schematic.Identity",
"max_stars_repo_path": "src/Interfaces/IUserRoleRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91503"
} | starcoder | <reponame>rodoch/Schematic.Identity
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Schematic.Identity
{
public interface IUserRoleRepository<TUserRole>
{
Task<List<TUserRole>> ListAsync();
}
} | 1.439041 | ab1120a0b9eb3d0588a70e684a087315 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91503 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "calexconc/NSimpleOLAP",
"max_stars_repo_path": "NSimpleOLAP/Storage/Molap/Graph/Node.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91504"
} | starcoder | using NSimpleOLAP.Interfaces;
using System;
using System.Collections.Generic;
namespace NSimpleOLAP.Storage.Molap.Graph
{
/// <summary>
/// Description of Node.
/// </summary>
internal abstract class Node<T, U> : IDisposable
where T : struct, IComparable
where U : class, ICell<T>
{
public T Key
... | 2.716419 | 55a67db462d0ed42b6c64811ed869320 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91504 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "Ivony/LogUtility",
"max_stars_repo_path": "Ivony.Logs/LogFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91505"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ivony.Logs
{
/// <summary>
/// 定义日志筛选器的抽象基类
/// </summary>
public abstract class LogFilter
{
/// <summary>
/// 确定指定的日志条目是否需要记录
/// </summary>
/// <param name="entry">日志条目</param>
/// <retur... | 2.984327 | 842df4c3cdd9376c31caf09c63205859 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91505 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MatthewL246/StyleChecker",
"max_stars_repo_path": "StyleChecker/StyleChecker/Refactoring/EqualsNull/AbstractCodeFixer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91506"
} | starcoder | namespace StyleChecker.Refactoring.EqualsNull
{
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using R = Resources;
/// <summary>
/// ... | 2.51283 | 4dfb6a8100459936ec1351f3bec97617 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91506 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "inukaeth/ethstoragedecode",
"max_stars_repo_path": "ethStorageDecode/ethStorageDecodeTest/TestClassSimple.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91507"
} | starcoder | using Contracttest.Contracts.testClassSimple;
using Contracttest.Contracts.testClassSimple.ContractDefinition;
using Contracttest.Contracts.testInherit;
using Contracttest.Contracts.testInherit.ContractDefinition;
using Contracttest.Contracts.testPacking;
using Contracttest.Contracts.testPacking.ContractDefinition;
usi... | 1.948602 | 487b32dcae6be648ed289915c6973815 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91507 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kevintavog/WatchThis.net",
"max_stars_repo_path": "src/Models/MediaItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91508"
} | starcoder | using System;
using WatchThis.Utilities;
using System.IO;
using Rangic.Utilities.Geo;
namespace WatchThis.Models
{
public class MediaItem
{
public IProvider Provider { get; private set; }
public object Data { get; private set; }
public bool HasSignature { get { return _signature != nu... | 2.489503 | da9d720bba79e2a624db30b2ece3f3ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91508 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ColmBhandal/CsharpExtras",
"max_stars_repo_path": "CsharpExtrasTest/Map/VariantDictionaryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91509"
} | starcoder | using CsharpExtras.Map.Dictionary.Variant;
using CsharpExtras.Map.Dictionary.Variant.Semi;
using Microsoft.VisualBasic;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
namespace CsharpExtrasTest.Map
{
[TestFixture]
... | 2.523047 | 351b8616b842745ba53afed9d66b7d59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91509 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "syrompetka/mudclient",
"max_stars_repo_path": "Adan.Client.Common/Networking/MccpClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91510"
} | starcoder | namespace Adan.Client.Common.Networking
{
using System;
using System.IO;
using System.Text;
using Utils;
using CSLib.Net.Annotations;
using CSLib.Net.Diagnostics;
using Ionic.Zlib;
/// <summary>
/// Class to handle MCCP compression logic.
/// </summary>
public ... | 2.625583 | c7134521372ab93a6fe8e7002713144b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91510 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "abharath27/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/TrafficManager/Domain/ITrafficManagerExternalEndpoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91511"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.TrafficManager.Fluent
{
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
/// <summary... | 1.637188 | a9eceff3152add29a4bd1e5c6ea89b7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91511 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joebain/SimpleWebTransport",
"max_stars_repo_path": "tests/Runtime/MirrorCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91512"
} | starcoder | <gh_stars>0
// use transport class just for tests, easier than re-writing all tests to work without it
// source: https://github.com/vis2k/Mirror/tree/v30.5.1
/*
MIT License
Copyright (c) 2015, Unity Technologies
Copyright (c) 2019, vis2k, Paul and Contributors
Permission is hereby granted, free of charge, to any per... | 2.088409 | 088f00aa428d30438afbd249611ba2d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91512 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "vecno/Unity-ECS-ZombieSimulator",
"max_stars_repo_path": "Assets/GameCode/EntityUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91513"
} | starcoder | <reponame>vecno/Unity-ECS-ZombieSimulator
using Unity.Mathematics;
public class EntityUtil
{
public static float2 GetOffScreenLocation()
{
return new float2(100, 100);
}
} | 1.537743 | 56068bf809eca61683ca11761f889197 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91513 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MadMitten/Sky-High",
"max_stars_repo_path": "Platformer_Own_M2/Assets/_Scripts/Behaviour/CannonBehaviour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91514"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CannonBehaviour : MonoBehaviour
{
public GameObject starObject;
public float spawnTime = 4f;
public float timer = 0.25f;
private void Start()
{
}
private void Update()
{
if (G... | 2.201049 | 5b92d979eb659778b9492e69ef076a97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sundy39/xf",
"max_stars_repo_path": "Components/Security/Hasher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91515"
} | starcoder | <reponame>sundy39/xf
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace XData.Data.Security
{
public abstract class Hasher : IEncryptor
{
public virtual string Encrypt(string text)... | 2.934402 | 40717ed0f996dc49492269a17b5d8852 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivajlotokiew/CSharp_OOP_Basics",
"max_stars_repo_path": "OOP Sample Exam/Furniture/Models/ConvertibleChair.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91516"
} | starcoder | namespace FurnitureManufacturer.Models
{
using Interfaces;
public class ConvertibleChair : Chair, IChair, IConvertibleChair
{
private const decimal ConvertedChairHeigth = 0.10M;
private decimal normalStateHeigth;
public ConvertibleChair(string model, string material, decimal price... | 3.253311 | 1fd11329dce97cf410e46e57258a9d69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91516 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "MarkusMeyer13/PlanButlerV2",
"max_stars_repo_path": "PlanB.Butler.Bot/PlanB.Butler.Bot/Dialogs/PlanDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91517"
} | starcoder | <filename>PlanB.Butler.Bot/PlanB.Butler.Bot/Dialogs/PlanDialog.cs
// Copyright (c) PlanB. GmbH. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Resourc... | 2.108421 | 1ecd6c3ac08e317a0cec3af3a3268556 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91517 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "Zaretto/NuGet",
"max_stars_repo_path": "src/Server/DataServices/PackageIdComparisonVisitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91518"
} | starcoder | using System;
using System.Linq.Expressions;
namespace NuGet.Server.DataServices
{
/// <summary>
/// This class is used to replace expression
/// element.Id == "packageId"
/// with
/// string.Equals(element.Id, "packageId", StringComparison.OrdinalIgnoreCase)
/// so that package id co... | 3.148231 | 7cc8ac8a7ff9a16e5cd35753babd3632 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/ExpenseCtrlEmployeeRuleInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91519"
} | starcoder | <reponame>alipay/alipay-sdk-net
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// ExpenseCtrlEmployeeRuleInfo Data Structure.
/// </summary>
[Serializable]
public class ExpenseCtrlEmployeeRuleInfo : AopObject
{
/// <summary>
/... | 1.709233 | 81b85ef8fce2d59cde46315c296da25b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91519 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RWE-Nexus/EnergyTrading-MDM-Sample",
"max_stars_repo_path": "Code/AdminUi/Admin.Common/Events/MappingUpdateEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91520"
} | starcoder | <reponame>RWE-Nexus/EnergyTrading-MDM-Sample
namespace Common.Events
{
public class MappingUpdateEvent
{
public MappingUpdateEvent(int entityId, int mappingId)
: this(entityId, mappingId, string.Empty)
{
}
public MappingUpdateEvent(int entityId, int mappingId, string... | 2.043162 | 2b9755211a7053736af213a74f7bfb91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91520 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "burakkirbag/advertising-api",
"max_stars_repo_path": "src/Advertising.Api/Controllers/AdvertController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91521"
} | starcoder | <reponame>burakkirbag/advertising-api
using Advertising.Adverts.Commands.AddVisit;
using Advertising.Adverts.Dto;
using Advertising.Adverts.Queries.GetAdvert;
using Advertising.Adverts.Queries.GetAdverts;
using Advertising.Api.Extensions;
using Advertising.Api.Models.Requests;
using Advertising.Api.Mvc.Controllers;
us... | 2.007197 | 59506ab7897b5a3aa8c41322264b2881 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stidsborg/Cleipnir.ResilientFunctions",
"max_stars_repo_path": "Core/Cleipnir.ResilientFunctions/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91522"
} | starcoder | using System;
using Cleipnir.ResilientFunctions.Domain.Exceptions;
using Cleipnir.ResilientFunctions.ExceptionHandling;
using Cleipnir.ResilientFunctions.ParameterSerialization;
namespace Cleipnir.ResilientFunctions;
public record Settings(
Action<RFunctionException>? UnhandledExceptionHandler = null,
TimeSp... | 2.064543 | 02cb88588b20c876607f75137446203c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91522 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DoctorOnline/QuickAuth",
"max_stars_repo_path": "src/QuickAuth.Core/Abstractions/IClientsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91523"
} | starcoder | <reponame>DoctorOnline/QuickAuth
using QuickAuth.Core.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace QuickAuth.Core.Abstractions
{
public interface IClientsService
{
Task<IReadOnlyList<string>> GetClientsAsync();
Task<Client?> GetClientAsync(string name);
... | 1.45224 | ee69ca5083345577fdd30e14dac52497 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91523 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "markgossa/MessageBus",
"max_stars_repo_path": "examples/MessageBus.HostedService.Example/Events/AircraftLeftAirspace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91524"
} | starcoder | <reponame>markgossa/MessageBus<gh_stars>1-10
using MessageBus.Abstractions.Messages;
namespace MessageBus.HostedService.Example.Events
{
public class AircraftLeftAirspace : IEvent
{
public string Airspace { get; set; }
}
} | 1.321593 | ecdec8f6ab44352baf3b1ec02cd4099d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91524 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TylerOrtiz/Sitecron",
"max_stars_repo_path": "Code/Sitecron/Core/Events/SitecronDeletedHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91525"
} | starcoder | using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.Data.Managers;
using Sitecore.Diagnostics;
using Sitecore.Events;
using Sitecron.SitecronSettings;
using System;
namespace Sitecron.Core.Events
{
public class SitecronDeletedHandler
{
private readonly IScheduleManager _scheduleManager;
... | 2.003475 | fccefbe2412d33b173960e6ee5a7012f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yoshiya1113/Fove",
"max_stars_repo_path": "Assets/Examples/FoveCursor/Scripts/CSVRecorder1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91526"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;//CSVファイル出力用
using System;//タイムスタンプ用
public class CSVRecorder1 : MonoBehaviour {
public string CSVFilePath;//CSV
private StreamWriter streamWriter;//CSV
private DateTime st;//開始時刻
private DateTime nt;//現在時刻
... | 2.425696 | 4ba5f89a880ec132b1352119d76a7c84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91526 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mike111177/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STU_6B6014C2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91527"
} | starcoder | // Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0x6B6014C2)]
public class STU_6B6014C2 : STUInstance {
[STUFieldAttribute(0x0D09D2D9)]
public teStructuredDataAssetRef<STUIdentifier> m_0D09D2D9;
[STUFieldAttribu... | 0.603364 | 4de95765d853fd2a7517758c0af47caa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikLG21/Comp_man",
"max_stars_repo_path": "Comp_Man/UserInterface/VirusForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91528"
} | starcoder | namespace UserInterface
{
partial class VirusForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... | 2.142942 | e06b9d405e94c544cc9a109d894366b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91528 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "genjosanzo/mule-devkit",
"max_stars_repo_path": "tools/doclet/src/main/resources/assets/templates/components/masthead.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91529"
} | starcoder | <reponame>genjosanzo/mule-devkit
<?cs def:custom_masthead() ?>
<div id="header">
<div id="headerLeft">
<?cs if:project.name ?>
<span id="masthead-title"><?cs var:project.name ?></span>
<?cs /if ?>
<ul id="header-tabs" class="<?cs var:section ?>">
<?cs each:tab=tabs ?>
<li id="<?cs var:tab... | 1.242303 | 54c736cb4dd30e0e4e79e3dc3c37141e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91529 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pyotr23/MerchApi",
"max_stars_repo_path": "src/OzonEdu.MerchandiseApi.Domain/AggregationModels/EmployeeAggregate/Name.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91530"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using OzonEdu.MerchandiseApi.Domain.Exceptions;
using OzonEdu.MerchandiseApi.Domain.Models;
namespace OzonEdu.MerchandiseApi.Domain.AggregationModels.EmployeeAggregate
{
public class Name : ValueObject
{
public string Value { get; }
pub... | 2.658169 | e717aedcde9b3015255da52a69d3a5e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quager/QRCodeGenerator",
"max_stars_repo_path": "QRCodeGenerator/CodeInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91531"
} | starcoder | using System;
using System.Collections.Generic;
namespace QRCodeGenerator
{
public static class CodeInfo
{
public const int MaxVersion = 40;
public static readonly Func<int, int, bool>[] Masks =
{
(x, y) => (x + y) % 2 == 0,
(x, y) => y % 2 == 0,
(x... | 2.452041 | b2237bfe361486767e6c56040f63f9b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91531 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "majikandy/StratisBitcoinFullNode",
"max_stars_repo_path": "src/Stratis.Bitcoin.IntegrationTests/Compatibility/StratisXTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91532"
} | starcoder | using System;
using System.Runtime.InteropServices;
using System.Threading;
using NBitcoin;
using Stratis.Bitcoin.Builder;
using Stratis.Bitcoin.Features.BlockStore;
using Stratis.Bitcoin.Features.Consensus;
using Stratis.Bitcoin.Features.MemoryPool;
using Stratis.Bitcoin.Features.Miner;
using Stratis.Bitcoin.Features... | 1.957388 | 1e20861273789b427d97418c880600c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91532 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "georgidelchev/C-Fundamentals-Tasks",
"max_stars_repo_path": "23 - [Associative Arrays - More Exercise]/01 - [Ranking]/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91533"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Ranking
{
class Program
{
static void Main(string[] args)
{
string input;
var dict = new Dictionary<string, string>();
while ((input = Console.ReadLine()) != "end of contests")
... | 3.594337 | 6597854cec683bc9a9e224e9354ff994 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91533 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "saucecontrol/Blake2Fast",
"max_stars_repo_path": "src/Blake2Fast/ThrowHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91534"
} | starcoder | <reponame>saucecontrol/Blake2Fast
using System;
#if !BUILTIN_SPAN
using System.Linq;
using System.Reflection;
#else
using System.Runtime.CompilerServices;
#endif
namespace Blake2Fast
{
internal static class ThrowHelper
{
#if !BUILTIN_SPAN
private static class TypeCache<T>
{
public static readonly bool IsRef... | 2.187241 | d189f30c6d8c1c204a1ddda93fb9f3cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91534 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "donut2008/UWPDrawingCanvas",
"max_stars_repo_path": "UWPDrawingCanvas/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91535"
} | starcoder | <filename>UWPDrawingCanvas/MainPage.xaml.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xa... | 1.869884 | abc796fc04fde5affcc4054ac3d57c95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91535 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "WEBZCC/dnstools",
"max_stars_repo_path": "src/DnsTools.Web/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91536"
} | starcoder | @using DnsTools.Web
@using DnsTools.Web.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, WebpackTag
| 1.213556 | c2ffde11d9c0d5c81ac6bf7e8c141c0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91536 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "matt-345/xbox-controller-battery-monitor",
"max_stars_repo_path": "xbca/Models/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91537"
} | starcoder | <gh_stars>1-10
namespace Xbca.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// Represents the settings class.
/// http://stackoverflow.com/questions/453161/best-practice-to-save-application-se... | 2.975221 | 2d7167ab9b6443a988331417fb3bf6c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91537 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "lavataste/TizenFX",
"max_stars_repo_path": "test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/internal/XamlBinding/TSRenderWithAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91538"
} | starcoder | using global::System;
using NUnit.Framework;
using NUnit.Framework.TUnit;
using Tizen.NUI.Components;
using Tizen.NUI.BaseComponents;
using System.Reflection;
using System.Collections.Generic;
using Tizen.NUI.Binding;
namespace Tizen.NUI.Devel.Tests
{
using tlog = Tizen.Log;
[TestFixture]
[Description("i... | 2.128496 | 0e0146aefb6f2763a1674fae5d707a11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GreyArmor/Amoros-Risk",
"max_stars_repo_path": "AmorosRiskUI/Generated/WindowRoot.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91539"
} | starcoder | <filename>AmorosRiskUI/Generated/WindowRoot.xaml.cs<gh_stars>0
// -----------------------------------------------------------
//
// This file was generated, please do not modify.
//
// -----------------------------------------------------------
namespace EmptyKeys.UserInterface.Generated {
using System;
us... | 1.711147 | 3de7c47f3ada8d7bf95b715a49d4c210 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91539 | {
"extension": "c-sharp",
"max_stars_count": "5973.0",
"max_stars_repo_name": "olirobert/uno",
"max_stars_repo_path": "src/Uno.UI.RemoteControl/HotReload/ClientHotReloadProcessor.MetadataUpdate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91540"
} | starcoder | <reponame>olirobert/uno<filename>src/Uno.UI.RemoteControl/HotReload/ClientHotReloadProcessor.MetadataUpdate.cs
#if NET6_0_OR_GREATER || __WASM__ || __SKIA__
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json... | 1.751333 | a43dc175833d6c8dfd366bbb60500b16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91540 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "Dreadrith/DreadScripts",
"max_stars_repo_path": "Selection Helper/SceneObjectSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91541"
} | starcoder | #if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
using System.Linq;
using System.Collections.Generic;
namespace DreadScripts
{
public class SceneObjectSelector : EditorWindow
{
//By Dreadrith#3238
//https://discord.gg/ZsPfrGn
[InitializeOnLoadMethod]
publ... | 1.591327 | 96771bbbe5bd39e13c9bf1b1058c360e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91541 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "orels1/vrc-udon-audio-link",
"max_stars_repo_path": "AudioLink/Scripts/AudioLinkController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91542"
} | starcoder | <reponame>orels1/vrc-udon-audio-link
using UnityEngine;
using VRC.SDKBase;
using UnityEngine.UI;
using System;
#if UDON
using UdonSharp;
using VRC.Udon;
public class AudioLinkController : UdonSharpBehaviour
{
public UdonBehaviour audioLink;
[Space(10)]
public Material audioSpectrumDisplay;
public T... | 1.961559 | 6e69b80a793eda140a340a4f7756c742 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91542 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kprueckl/HomematicIp",
"max_stars_repo_path": "src/HomematicIp/Data/HomematicIpObjects/Devices/WallMountedThermostatBaiscHumidity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91543"
} | starcoder | namespace HomematicIp.Data.HomematicIpObjects.Devices
{
[EnumMap(Enums.DeviceType.WALL_MOUNTED_THERMOSTAT_BASIC_HUMIDITY)]
public class WallMountedThermostatBaiscHumidity : Device { }
} | 1.53577 | ad40d359f4d3754a05ebbe4c06c18af3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91543 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jugstalt/identityserver-legacy",
"max_stars_repo_path": "is4/IdentityServer/Areas/Identity/Pages/Account/Register.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91544"
} | starcoder | <reponame>jugstalt/identityserver-legacy
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;... | 1.924981 | 4dc776ad254e4fe19b9696e2bce0fdd3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91544 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "allisterb/ClassifyBot",
"max_stars_repo_path": "ClassifyBot.Annotator.Wunderkind/Annotators/WunderkindLabelAnnotator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91545"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using CommandLine;
using ClassifyBot.Annotator.Wunderkind;
namespace ClassifyBot
{
public abstract class WunderkindLabelAnnotator<TRecord, TFeature> : LabelAnnotator<TRecord, TFeature>
where TFeature : ICloneable, IComparable, IComparable<T... | 2.398827 | e5a222efd2d7744f3210769668e99b91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimitar-yo-dimitrov/SoftUni-Software-Engineering",
"max_stars_repo_path": "C# OOP/Polymorphism-Exercise/Vehicles/Models/Truck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91546"
} | starcoder | namespace Vehicles.Models
{
public class Truck : Vehicle
{
private const double AirConditionersConsumption = 1.6;
public Truck(double fuelQuantity, double fuelConsumption, double tankCapacity)
: base(fuelQuantity,
fuelConsumption + AirConditionersConsumption,
... | 2.571377 | 453aab1cc26132ff5037f35dd418202f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Scheduler-Bot/scheduler-bot",
"max_stars_repo_path": "SchedulerBot/SchedulerBot/Authentication/ManageConversationAuthenticationConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91547"
} | starcoder | <filename>SchedulerBot/SchedulerBot/Authentication/ManageConversationAuthenticationConfiguration.cs
namespace SchedulerBot.Authentication
{
/// <summary>
/// Holds the information for the manage conversation authentication scheme.
/// </summary>
public static class ManageConversationAuthenticationConfiguration
{
... | 2.253305 | 6b20a142506c1e771e5420e801afab28 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kriss98/CSharp-Projects",
"max_stars_repo_path": "Eventures/Eventures.Web/ViewModels/Account/Binding/RegisterBindingModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91548"
} | starcoder | namespace Eventures.Web.ViewModels.Account
{
using System.ComponentModel.DataAnnotations;
public class RegisterBindingModel
{
[Required]
[MinLength(3, ErrorMessage = "Username must be atleast 3 characters long!")]
[RegularExpression(@"^[A-Za-z0-9\-_\*~]+$", ErrorMessage = "Username... | 2.873602 | 6db4462ad7ae94f594c73d15f48d5c5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91548 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/BindingAccess.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91549"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace CodeGenerationLibrary
{
using System;
/// <summary>
/// Defines the access level for a particular property.
/// </summary>
[Flags]... | 1.918153 | 05cf2eee20e571940803781bd982b76f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91549 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "hikipuro/SharpGlyph",
"max_stars_repo_path": "SharpGlyph/SharpGlyph/Tables/cmap/CmapSubtable10.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91550"
} | starcoder | <gh_stars>1-10
using System;
using System.Text;
namespace SharpGlyph {
/// <summary>
/// Format 10: Trimmed array.
/// </summary>
public class CmapSubtable10 : CmapSubtable {
/// <summary>
/// Reserved; set to 0.
/// </summary>
public ushort reserved;
/// <summary>
/// Byte length of this subtable (i... | 3.025463 | 6c3875a9d0142cbb2f07628342604c71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91550 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xknife-erian/nknife.jeelusrc",
"max_stars_repo_path": "NKnife.App.WebsiteBuilder/SimplusD/Client/Win/Common/Services/InsideClass/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91551"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.Net.Sockets;
using System.Net;
namespace Jeelu.SimplusD.Client.Win
{
public static partial class Service
{
public static class User
{
static private Action _showLoginForm;
... | 2.568395 | b047bf37fe8c4f5b2b42d584bce116de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boldog/PocketApiV3",
"max_stars_repo_path": "PocketApiV3/ModifyActions/Action.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91552"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace PocketApiV3.ModifyActions
{
public abstract class Action
{
[JsonProperty("action")]
internal abstract string ActionApiVerb { get; }
/// <summary>
/// Optional. The time the act... | 2.171583 | de0985ead53089a088bf00869615d037 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91552 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ArturVasilov/PracticeITcs",
"max_stars_repo_path": "Course 1 practice/Task 4 - XML/XMLTask/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91553"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
namespace XMLTask
{
public partia... | 3.004178 | 40e02832ba62c6e5d7375faf3ebba123 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nuthim/Tcp.Communication",
"max_stars_repo_path": "Infrastructure/TcpClientExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91554"
} | starcoder | using System.Net.NetworkInformation;
using System.Net.Sockets;
namespace Tcp.Communication.Infrastructure
{
internal static class TcpClientExtension
{
public static TcpState GetState(this TcpClient client)
{
if (client?.Client == null)
return TcpState.Clos... | 2.743705 | 536aae7b905b61d601d2075a65315d30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91554 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "codemander/RedDog",
"max_stars_repo_path": "src/RedDog.Messenger/Processor/CommandProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91555"
} | starcoder | <reponame>codemander/RedDog
namespace RedDog.Messenger.Processor
{
public class CommandProcessor : MessageProcessor, ICommandProcessor
{
public CommandProcessor(IProcessorConfiguration<ICommandProcessorConfiguration> configuration)
: base(configuration)
{
}
}
} | 1.4268 | 65ec7a3b9257ff07a5916f45e8594154 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91555 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alk0ve/BitViewer",
"max_stars_repo_path": "BitViewer/AskHowManyBits.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91556"
} | starcoder | <filename>BitViewer/AskHowManyBits.cs
using System;
using System.Windows.Forms;
namespace BitViewer
{
public partial class AskHowManyBits : Form
{
public bool pressedOK = false;
public uint bitsToRead = 1000000;
public AskHowManyBits()
{
InitializeCompo... | 2.678312 | 828bab2b8e0d342488cf77c74e4c8bfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Krailit/Aryuwat_Nurse",
"max_stars_repo_path": "AryuwatSystem/Business/StuffCommission.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91557"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using AryuwatSystem.Baselibary;
using Entity;
using Entity.Validation;
namespace AryuwatSystem.Business
{
public class StuffCommission
{
public DataSet Sele... | 1.887388 | 59b8490e709668c90a30ac4ab31f1862 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "f14n/code-cracker",
"max_stars_repo_path": "test/CSharp/CodeCracker.Test/Refactoring/IntroduceFieldFromConstructorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91558"
} | starcoder | <gh_stars>0
using CodeCracker.CSharp.Refactoring;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Refactoring
{
public class IntroduceFieldFromConstructorTest : CodeFixVerifier<IntroduceFieldFromConstructorAnalyzer, IntroduceFieldFromConstructorCodeFixProvider>
{
[Fact]
... | 1.816561 | f09ddae3535c3c968dadffe83d8eda41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91558 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ovis/MqttHomeClient",
"max_stars_repo_path": "PostTracking/Entities/TrackingTimer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91559"
} | starcoder | using System;
using System.Timers;
namespace PostTracking.Entities
{
internal class TrackingTimer
{
public TrackingTimer(string inquiryNumber, Action<Guid> handle)
{
InquiryNumber = inquiryNumber;
SetDate = DateTime.UtcNow;
TimerId = Guid.NewGuid();
... | 2.815987 | 7b090e87c025b32bc5bdadf540b79a40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91559 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DavidAzouz29/Food-Fight-2016-Prototype-Unity",
"max_stars_repo_path": "Assets/Scripts/PillarCamera.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91560"
} | starcoder | using UnityEngine;
using System.Collections;
public class PillarCamera : MonoBehaviour
{
public Transform target;
public Transform pillar;
public float fDistance;
public float speed;
// Update is called once per frame
void LateUpdate ()
{
Vector3 pillar_pos = pillar.position;
p... | 2.170627 | c3e4a599b2a37989bc5f3a6046c274db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "athoma13/ObjectMapper",
"max_stars_repo_path": "OMap/ConfigurationBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91561"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace OMap
{
public class BuilderNode<TSource, TTarget>
{
private readonly IInternalBuilder _internalBuilder;
internal BuilderNode(IInternalBuilder internalBuilder)
{
_int... | 2.351526 | f9b8ad640313fcc256512047f91a7db0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.