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 | 8837912 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "Srynetix/godot-nature-of-code",
"max_stars_repo_path": "chapters/07-cellular-automata/C7Exercise4.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157132"
} | starcoder | using Godot;
using Automata;
namespace Examples.Chapter7
{
/// <summary>
/// Exercise 7.4: Infinite 1D CA.
/// </summary>
public class C7Exercise4 : Node2D, IExample
{
public string GetSummary()
{
return "Exercise 7.4:\nInfinite 1D CA";
}
public override... | 2.282644 | 002dd911b5dd3e8b0e6b38105e38ee5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837913 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ctoec/ecis-experimental",
"max_stars_repo_path": "src/Hedwig/Models/FundingSpace/FundingSpaceDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157133"
} | starcoder | <reponame>ctoec/ecis-experimental
namespace Hedwig.Models
{
public class FundingSpaceDTO
{
public int Id { get; set; }
public int Capacity { get; set; }
public int OrganizationId { get; set; }
public FundingSource Source { get; set; }
public Age AgeGroup { get; set; }
public FundingTime Time { get; set; ... | 1.328172 | c60580ce658ed6766f883f7cd1c18d0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837914 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skneko/Yoakke",
"max_stars_repo_path": "Sources/Core/Yoakke.Text/SourceFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157134"
} | starcoder | <reponame>skneko/Yoakke
// Copyright (c) 2021 Yoakke.
// Licensed under the Apache License, Version 2.0.
// Source repository: https://github.com/LanguageDev/Yoakke
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
namespace Yoakke.Text
{
/// <summar... | 2.977065 | 16c6ca557c8db3558b6fa6c3f762c93c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837915 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gegMa3ai/AdsWebsite",
"max_stars_repo_path": "Service/Dto/UserDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157135"
} | starcoder | using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Service.Dto
{
[DataContract]
public class UserDto
{
[DataMember]
public string UserName { get; set; }
[DataMember]
public string Password { get; set; }
[DataMember]
public Role... | 2.057848 | e5a3f0228c5185e6797ac2bf9faf825b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837916 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "studio-nine/Nine",
"max_stars_repo_path": "Source/Nine.Studio.Shell/Utilities/Utilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157136"
} | starcoder | /**************************************************************************\
Copyright Microsoft Corporation. All Rights Reserved.
\**************************************************************************/
// This file contains general utilities to aid in development.
// Classes here generally shouldn't be ... | 2.243187 | f3a6fe668ec2cd56b9179d1bf762a59b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837917 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kbrizov/Data-Structures-Implementations",
"max_stars_repo_path": "PriorityQueue.Implementation/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157137"
} | starcoder | <reponame>kbrizov/Data-Structures-Implementations
namespace PriorityQueue
{
class Program
{
static void Main(string[] args)
{
PriorityQueue<int> queue = new PriorityQueue<int>();
for (int i = 10; i > 0; i--)
{
queue.Enqueue(i);
}
... | 2.703596 | 900370fa7e9fb0584a4136f8879d9609 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837918 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "StefH/RestEaseExamples",
"max_stars_repo_path": "src/RestEaseXmlExample/IXmlSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157138"
} | starcoder | namespace RestEaseXmlExample
{
internal interface IXmlSerializer
{
string SerializeToString<T>(T value);
byte[] Serialize<T>(T value);
T Deserialize<T>(string xml);
T Deserialize<T>(byte[] data);
}
} | 1.937815 | aa962befb197dc309defd169c5570c1d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837919 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "rennner/Maikebing.EntityFrameworkCore.Taos",
"max_stars_repo_path": "src/EFCore.Taos.Core/Query/Internal/TaosMethodCallTranslatorProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157139"
} | starcoder | // Copyright (c) Maikebing. All rights reserved.
// Licensed under the MIT License, See License.txt in the project root for license information.
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Query;
namespace Maikebing.EntityFrameworkCore.Taos.Query.Internal
{
public class TaosMethodCallTransla... | 1.813658 | 581e768ecc22af8de438e976b4d21d8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837920 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EasyDesk/easydesk-clean-architecture",
"max_stars_repo_path": "sample/src/EasyDesk.SampleApp.Infrastructure/DataAccess/Repositories/EfCorePersonRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157140"
} | starcoder | <reponame>EasyDesk/easydesk-clean-architecture<gh_stars>1-10
using EasyDesk.CleanArchitecture.Dal.EfCore.Repositories;
using EasyDesk.CleanArchitecture.Domain.Metamodel;
using EasyDesk.CleanArchitecture.Domain.Metamodel.Results;
using EasyDesk.SampleApp.Domain.Aggregates.PersonAggregate;
using EasyDesk.SampleApp.I... | 1.909343 | 2312046d8d2494378fd866b805489ceb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837921 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KimberlyPhan/Dragonfly",
"max_stars_repo_path": "src/VAP/PostProcessor/MongoDBClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157141"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using MongoDB.Bson;
using MongoDB.Driver;
using System.Configuration;
namespace PostProcessor
{
public class MongoDBClient
{
private static string connectionString = ConfigurationManager.AppSettings["MongoDBConnectionString"] ... | 2.278138 | 19095cd6733f44b45d5f3b7d5bc34d74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NovusTheory/SharpLink",
"max_stars_repo_path": "SharpLink/LavalinkPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157142"
} | starcoder | <reponame>NovusTheory/SharpLink<gh_stars>0
using Discord;
using Discord.WebSocket;
using Newtonsoft.Json.Linq;
using SharpLink.Enums;
using System;
using System.Threading.Tasks;
namespace SharpLink
{
public class LavalinkPlayer
{
private LavalinkManager manager;
private IVoiceChannel initialVo... | 2.653054 | 1962326e032389ee242b6dd96ebbf979 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837923 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Aandrzejmi/TPUM2021",
"max_stars_repo_path": "CommunicationAPI/OpcModels/TPUM.OPC.Classes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157143"
} | starcoder | <gh_stars>1-10
/* ========================================================================
* Copyright (c) 2005-2016 The OPC Foundation, Inc. All rights reserved.
*
* OPC Foundation MIT License 1.00
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated ... | 1.469922 | 6e343aa9bd30e76220052adee75e52fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837924 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prjseal/vendr-checkout",
"max_stars_repo_path": "src/Vendr.Checkout/PathHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157144"
} | starcoder | using System;
namespace Vendr.Checkout
{
public static class PathHelper
{
public const string RootPath = "/App_Plugins/VendrCheckout";
public const string VirtualRootPath = "~" + RootPath;
private const string VirtualViewPathToken = "~" + RootPath + "/Views/{0}.cshtml";
private... | 2.30304 | 7aecbfc967798a6053804f9151cfc1be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837925 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "piecesofreg09/rotanect_it",
"max_stars_repo_path": "project/Assets/Scripts/setMiniGameObjPosition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157145"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class setMiniGameObjPosition : MonoBehaviour {
private Button btToChange;
private RectTransform rTr;
private Text tt;
private int sHeight;
private int sWidth;
// Use this for initialization
void Start ... | 1.926715 | e6713b7d38c46e1f20580e2d8b9851cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Khaleesh/Mzinga",
"max_stars_repo_path": "Mzinga.Shared/Core/Position.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157146"
} | starcoder | <gh_stars>0
//
// Position.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2015, 2016, 2017, 2018 <NAME> <http://jonthysell.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in ... | 2.528071 | 7cfb9b96c7f57b119db153cfba606c45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837927 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "scichelli/genogram-generator",
"max_stars_repo_path": "generator/GenogramGenerator/GenogramGenerator.Tests/YearTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157147"
} | starcoder | using System;
using GenogramGenerator.Core;
using Should;
namespace GenogramGenerator.Tests
{
public class YearTests
{
public void SetBirthYearWithADate()
{
var year = new Year(new DateTime(1941, 4, 28));
year.ToString().ShouldEqual("1941");
}
public voi... | 2.932588 | c58b03b9ff71a6abb1bf10b5351ba3e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837928 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "AlejandroDominguez/checkers-player",
"max_stars_repo_path": "src/CheckersTests/PlayerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157148"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Checkers;
using System;
using System.Collections.Generic;
using System.Text;
namespace Checkers.Tests
{
[TestClass()]
public class PlayerTests
{
[TestMethod()]
public void Should_Eat_Better_Than_Move()
{
var game... | 2.785874 | dd83228c9206dbabfeaee5a467aed0ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avjabalpur/ccd-generator",
"max_stars_repo_path": "gpmr/MohawkCollege.EHR.gpmr.Pipeline.Triggers.CorCollapser/CombineLog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157149"
} | starcoder | /*
* Copyright 2008-2013 Mohawk College of Applied Arts and Technology
*
* 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
*
* Unl... | 2.502422 | 4ee0930d3cbd75de7fa5ea160a24473b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Arsslensoft/war-card-game",
"max_stars_repo_path": "src/CardGames.Core/Enums/PlayerStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157150"
} | starcoder | <reponame>Arsslensoft/war-card-game<filename>src/CardGames.Core/Enums/PlayerStatus.cs
namespace CardGames.Core.Enums
{
/// <summary>
/// Represents the player status enum.
/// </summary>
public enum PlayerStatus : byte
{
/// <summary>
/// Represents the player in competition... | 2.286843 | a589b5843fd37807cbd75975d910bb8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837931 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tunjiadelana/AutomateThePlanet-Learning-Series",
"max_stars_repo_path": "TestCaseManager/Fidely/src/Core.Tests/Instrumentation/OperandBuilderImpl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157151"
} | starcoder | <filename>TestCaseManager/Fidely/src/Core.Tests/Instrumentation/OperandBuilderImpl.cs
using System;
using System.Linq.Expressions;
using Fidely.Framework.Compilation.Evaluators;
using Fidely.Framework.Compilation;
namespace Fidely.Framework.Tests.Instrumentation
{
public class OperandBuilderImpl : IOperandBuilder... | 1.706606 | 2a65225884de0b7d80d4e347fe7ff5ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837932 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "coolcode/MonkeyOthello",
"max_stars_repo_path": "MonkeyOthello.Tests/Engines/Colosseum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157152"
} | starcoder | <filename>MonkeyOthello.Tests/Engines/Colosseum.cs
using MonkeyOthello.Core;
using MonkeyOthello.Engines;
using MonkeyOthello.Utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
n... | 2.735482 | 089b6acefd2ebfe102ae05d4604d0967 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837933 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DavidSheh/version",
"max_stars_repo_path": "GameCore/JSON/JsonName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157153"
} | starcoder | <reponame>DavidSheh/version
using System;
namespace org.vxwo.csharp.json
{
[AttributeUsage(AttributeTargets.Field|AttributeTargets.Property, AllowMultiple = false)]
public sealed class JsonName: Attribute
{
private string name;
public JsonName (string name)
{
this.name = name;
}
public string G... | 2.167983 | 63ec0fe30a98aab71ff3b7d47fe08f81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RadHazard/RimworldTrailblazer",
"max_stars_repo_path": "Source/Rules/CellCostRule_Walls.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157154"
} | starcoder | <filename>Source/Rules/CellCostRule_Walls.cs
using Verse;
using Verse.AI;
namespace Trailblazer.Rules
{
/// <summary>
/// Cost penalty to a cell if it has a wall sitting on it
/// Note - this rule only gets invoked if the PassabilityRule_PathGrid allows walls to be pathed through in the
/// first plac... | 2.616184 | 381839a994d999163c5db6fbbf2de8e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837935 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "craigmoliver/mesoBoard",
"max_stars_repo_path": "mesoBoard.Framework/Models/Board/ThreadPoll.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157155"
} | starcoder | <reponame>craigmoliver/mesoBoard
using mesoBoard.Data;
namespace mesoBoard.Framework.Models
{
public class ThreadPoll : BaseViewModel
{
public Poll Poll;
public bool CanCastVote;
}
}
| 1.255945 | 8ee0593b70578e759011d9f06edcfbe2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeremyBanks/corefx",
"max_stars_repo_path": "src/System.Data.SqlClient/src/System/Data/SqlClient/SNI/SNIProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157156"
} | starcoder | // 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.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Se... | 1.833826 | 21e0e80cb5b5767093d3a5e39cd9d2d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837937 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "snehkalasannavar/FourRoads.TelligentCommunity",
"max_stars_repo_path": "src/code/FourRoads.TelligentCommunity.MetaData/Logic/MetaData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157157"
} | starcoder | <reponame>snehkalasannavar/FourRoads.TelligentCommunity
using System;
using FourRoads.Common;
namespace FourRoads.TelligentCommunity.MetaData.Logic
{
[Serializable]
public class MetaData
{
public MetaData()
{
ExtendedMetaTags = new SerializableDictionary<string, string>();
... | 1.591167 | b0e7ac5e5a5ac9487534fd5c447bfde5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "y-kitami/relational-lock",
"max_stars_repo_path": "test/RelationalLock.Core.Tests/RelationalLockManagerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157158"
} | starcoder | using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Xbehave;
using Xunit.Abstractions;
namespace RelationalLock.Tests {
public class RelationalLockManagerTests : TestBase {
private IRelationalLockBuilder builder;
priv... | 2.552103 | 8881d56d925657e0aed14aff9f0ce4c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837939 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edijavi/MicroserviceMiniProject",
"max_stars_repo_path": "OrderApi/Data/OrderApiContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157159"
} | starcoder | using Microsoft.EntityFrameworkCore;
using SharedModels;
namespace OrderApi.Data
{
public class OrderApiContext : DbContext
{
public OrderApiContext(DbContextOptions<OrderApiContext> options)
: base(options)
{
}
public DbSet<Order> Orders { get; set; }
}
}
| 1.824182 | 8e48aa1e3a48ff356a15d4dd3bd40eb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThiagoGodinhoPaschoalin/knowledge-net_core",
"max_stars_repo_path": "CoreLib/Extensions/JsonExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157160"
} | starcoder | using System;
namespace CoreLib.Extensions
{
public static class JsonExtension
{
/// <summary>
/// Try SerializeObject Indented;
/// </summary>
/// <typeparam name="TEntity"></typeparam>
/// <param name="class"></param>
/// <param name="serialized"></param>
... | 3.058948 | 66368d02d8be7160bc9e0595235e0575 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837941 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "gradientspace/geometry3SharpDemos",
"max_stars_repo_path": "g3MeshConvert/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157161"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using g3;
namespace g3MeshConvert
{
class Program
{
static void Main(string[] args)
{
bool INTERACTIVE = true;
//string inFile = "c:\\scratch\\test_bunn... | 2.856005 | db08b4e16e20469d3b878361d040f322 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837942 | {
"extension": "c-sharp",
"max_stars_count": "401.0",
"max_stars_repo_name": "gdianaty/HlslTools",
"max_stars_repo_path": "src/ShaderTools.CodeAnalysis.Hlsl/Diagnostics/HlslMessageProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157162"
} | starcoder | <reponame>gdianaty/HlslTools
using ShaderTools.CodeAnalysis.Diagnostics;
using ShaderTools.CodeAnalysis.Hlsl.Properties;
namespace ShaderTools.CodeAnalysis.Hlsl.Diagnostics
{
internal sealed class HlslMessageProvider : MessageProvider
{
public static readonly HlslMessageProvider Instance = new ... | 1.753575 | 850d0347bee55be5e3d61c035aaefd79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "win7user10/Laraue.TypeScriptContractsGenerator",
"max_stars_repo_path": "src/Laraue.CodeTranslation.Abstractions/Output/Metadata/IOutputTypeMetadataGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157163"
} | starcoder | <reponame>win7user10/Laraue.TypeScriptContractsGenerator
using Laraue.CodeTranslation.Abstractions.Metadata;
namespace Laraue.CodeTranslation.Abstractions.Output.Metadata
{
public interface IOutputTypeMetadataGenerator
{
public OutputTypeMetadata Generate(TypeMetadata metadata);
}
} | 1.598651 | d452585f31f5f775132af11cc691e0a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cloud-hai-vo/episerver6r2_sso",
"max_stars_repo_path": "Templates/Advanced/Workroom/Pages/CalendarList.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157164"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4952
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-gene... | 1.025633 | 091fa86183f8967d274ad67332684376 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-knet/IdentityServer4.Demo",
"max_stars_repo_path": "src/IdentityServer4Demo/Seed/User.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157165"
} | starcoder | <reponame>m-knet/IdentityServer4.Demo<filename>src/IdentityServer4Demo/Seed/User.cs
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using IdentityModel;
namespace IdentityServer4Demo.Seed
{
public class User
{
public string SubjectId { get; set; }
public str... | 2.326979 | 54d2409d6297d877139bd148b421c4ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "notfood/UCH-UltimateBuilder",
"max_stars_repo_path": "Patches/GameStateUpdatePatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157166"
} | starcoder | <filename>Patches/GameStateUpdatePatch.cs<gh_stars>0
using HarmonyLib;
using UnityEngine;
namespace UltimateBuilder
{
[HarmonyPatch(typeof(GameState), nameof(GameState.Update))]
static class GameStateUpdatePatch
{
static void Prefix()
{
if (Input.GetKeyDown(KeyCode.F5))
... | 2.246267 | 2edba989ffaad023ac7e85780d31a36e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837947 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "odudycz/EventStore",
"max_stars_repo_path": "src/EventStore.ClientAPI/UserManagement/UserUpdateInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157167"
} | starcoder | <gh_stars>1-10
using EventStore.ClientAPI.Common.Utils;
namespace EventStore.ClientAPI.UserManagement {
internal class UserUpdateInformation {
public readonly string FullName;
public readonly string[] Groups;
public UserUpdateInformation(string fullName, string[] groups) {
Ensure.NotNullOrEmpty(fullName, ... | 1.999385 | 5f53bfe87403ecbae72eece2296d7846 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837948 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlitzkriegSoftware/RedisDemo",
"max_stars_repo_path": "Blitz.Redis.Demo/Models/CommandOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157168"
} | starcoder | using CommandLine;
namespace Blitz.Redis.Demo.Models
{
public class CommandOptions
{
/// <summary>
/// Verbose Output
/// </summary>
[Option('v', "verbose", Required = false, HelpText = "Set output to verbose messages.")]
public bool Verbose { get; set; }
publi... | 2.675201 | 1ee160149768dcc9740d3acc86d1f273 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837949 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AegisSpatial/aegis-origin",
"max_stars_repo_path": "AEGIS.Core.Reference/CompoundReferenceSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157169"
} | starcoder | /// <copyright file="CompoundReferenceSystem.cs" company="Eötvös Loránd University (ELTE)">
/// Copyright (c) 2011-2019 <NAME>. Licensed under the
/// Educational Community License, Version 2.0 (the "License"); you may
/// not use this file except in compliance with the License. You may
/// obtain a co... | 2.656166 | 4f256f423f821dcd02a5ad4c9c5f0a8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837950 | {
"extension": "c-sharp",
"max_stars_count": "1433.0",
"max_stars_repo_name": "halitcan/samples",
"max_stars_repo_path": "AllJoyn/Samples/MyLivingRoom/MyLivingRoom/Controls/IconView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157170"
} | starcoder | <reponame>halitcan/samples<filename>AllJoyn/Samples/MyLivingRoom/MyLivingRoom/Controls/IconView.cs
// Copyright (c) 2015, Microsoft Corporation
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice an... | 2.221316 | a004cb24ecd8f27f2d1630bacc19bda1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837951 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "ferib/LuaToolkit",
"max_stars_repo_path": "src/Models/Enums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157171"
} | starcoder | <reponame>ferib/LuaToolkit<filename>src/Models/Enums.cs
namespace LuaToolkit.Models
{
public enum VarArg
{
Has = 1,
Is = 2,
Needs = 4,
}
public enum OpcodeType
{
ABC,
ABx,
AsBx
}
public enum LuaType
{
Nil = 0,
Bool = 1,
... | 1.942451 | a07c33ab859b8d95a84ca867e7e42769 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimplyAnIcon/Samples",
"max_stars_repo_path": "SimplyAnIcon.Samples.NotifyIcon/ViewModels/ConfigViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157172"
} | starcoder | using System.Collections.Generic;
using Com.Ericmas001.DependencyInjection.Resolvers.Interfaces;
using SimplyAnIcon.Core.Models;
using SimplyAnIcon.Core.ViewModels;
using SimplyAnIcon.Core.ViewModels.Interfaces;
using SimplyAnIcon.Samples.NotifyIcon.ViewModels.ConfigurationSections;
namespace SimplyAnIcon.Samples.Not... | 1.954227 | 9ecc669fa7ccc1c7bd5209d94574d554 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837953 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LevYas/CodingProblems",
"max_stars_repo_path": "CodingProblemsTests/Indices/IntervalIntersectionFinder_Find.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157173"
} | starcoder | <gh_stars>1-10
using CodingProblems.Indices;
using FluentAssertions;
using System;
using Xunit;
namespace CodingProblemsTests.Indices;
public class IntervalIntersectionFinder_Find
{
[Theory]
[MemberData(nameof(TestData))]
public void Works(int[][] firstList, int[][] secondList, int[][] expected)
{
... | 2.540996 | 8d6dfecaf86ae4304d255286db8c1999 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837954 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mihirdilip/restapi-client",
"max_stars_repo_path": "src/RestApi.Client/RestClientBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157174"
} | starcoder | <gh_stars>0
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See License in the project root for license information.
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Http;
using Microsoft.Extensions.L... | 2.178249 | e543c57ade7466d59dfb43abab9a56b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837955 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "kexxxfeng/learning-schedule",
"max_stars_repo_path": "src/Domain/Cnblogs.Domain.Abstract/Repository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157175"
} | starcoder | using System.Data;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage;
namespace Cnblogs.Domain.Abstract
{
public abstract class Repository<TDbContext, T> : IRepository<T>
where T : IAggregateRoot
where TDbContext : DbConte... | 2.496345 | d64cce6ea9f17c428cba23c730337961 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837956 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "soundarmoorthy/Mimikyu",
"max_stars_repo_path": "LoadPayerPlanDataToMongo/PracticeLocationOpenMaket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157176"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LoadPayerPlanDataToMongo
{
class PracticeLocationOpenMaket
{
static ContentIterator iterator;
public static int Next()
{
if (iterator == null)
... | 2.27223 | 7d362bc02cfc1e268a9d3194307f3b59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsmr/WolvenKit-CyberCAT",
"max_stars_repo_path": "CyberCAT.Core/Enums/Dumped Enums/physicsPhysicsJointDriveType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157177"
} | starcoder | namespace CyberCAT.Core.DumpedEnums
{
public enum physicsPhysicsJointDriveType
{
AxisX = 0,
AxisY = 1,
AxisZ = 2,
Swing = 3,
Twist = 4,
SLERP = 5
}
}
| 1.184791 | 50d17144323fc18f93e8f6ff85b4e302 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shining-force/My2019",
"max_stars_repo_path": "DatabaseConsole/DatabaseConsole/DAO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157178"
} | starcoder | <reponame>shining-force/My2019<filename>DatabaseConsole/DatabaseConsole/DAO.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DatabaseConsole
{
class DAO
{
public static string sUserName;
public static string sPassw... | 1.502949 | e6b54dcce738852fb1f9505aa67bbc3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.S0030",
"max_stars_repo_path": "source/R5T.S0030.F002/Code/Bases/Extensions/IClassGeneratorExtensions-Get.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157179"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using R5T.B0006;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
namespace R5T.S0030.F002
{
public static partial class IClassGeneratorExtensions
{
public static ClassD... | 2.037585 | 78ca84a97dc200aa71e668da91206d90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gonendo/unitrys",
"max_stars_repo_path": "Assets/Scripts/ConfigData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157180"
} | starcoder | namespace unitrys{
public class ConfigData{
public bool debug;
}
} | 1.192205 | 8b9a65a80ac893049f93b50ea08358a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837961 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaizer04/Telerik-Academy-2013-2014",
"max_stars_repo_path": "KPK/KPK-Mocking-Homework/Cars.Tests.JustMock/CarsControllerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157181"
} | starcoder | <filename>KPK/KPK-Mocking-Homework/Cars.Tests.JustMock/CarsControllerTests.cs
namespace Cars.Tests.JustMock
{
using Cars.Contracts;
using Cars.Controllers;
using Cars.Models;
using Cars.Tests.JustMock.Mocks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Coll... | 2.67146 | 7b74e792fe61acc868bc38bdd093dcb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837962 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgiGarnenkov/DatabasesAdvancedEntityFramework",
"max_stars_repo_path": "IntroductionToEFCore/P02_DatabaseFirst/Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157182"
} | starcoder | namespace P02_DatabaseFirst
{
public class Configuration
{
public const string ConnectionString = "";// <---- Put Connection String !
}
} | 1.288314 | 8061239b5385f0778ecacc45bca2d761 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837963 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "KonH/udbase",
"max_stars_repo_path": "Extensions/OneLine/OneLine/Editor/Drawers/Decorators/SpaceDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157183"
} | starcoder | <gh_stars>10-100
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace OneLine {
internal class SpaceDrawer : Drawer {
public override void AddSlices(SerializedProperty property, Slices slices){
property.GetCustomAttribute<SpaceAttr... | 2.003661 | 345fca5f551d0b84678b57bc08fa9161 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837964 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "wesleycosta/orangotango",
"max_stars_repo_path": "src/backend/3.Shared/3-2.DependencyInjection/Orangotango.DependencyInjection/Infrastructure/LoggerConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157184"
} | starcoder | using Orangotango.Core.Settings;
using Serilog;
using Serilog.Sinks.Elasticsearch;
using System;
using Microsoft.Extensions.Configuration;
namespace Orangotango.DependencyInjection.Infrastructure
{
public static class LoggerConfig
{
public static IConfiguration AddLogger(this IConfiguration configurat... | 2.031278 | 0bd5173544929096fc0d042cbe0ca3e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitorbellotto/LoadProfileGenerator",
"max_stars_repo_path": "SimulationEngineLib/HouseJobProcessor/HouseGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157185"
} | starcoder | <reponame>vitorbellotto/LoadProfileGenerator
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using Automation;
using Automation.ResultFiles;
using Common;
using Common.Enums;
using Commo... | 2.175653 | d9931b1964a01096a1b4904672bbbfe0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nada-essam/CGUI-Package",
"max_stars_repo_path": "CGAlgorithms/Algorithms/SegmentIntersection/SweepLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157186"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CGUtilities;
using CGUtilities.DataStructures;
namespace CGAlgorithms.Algorithms.SegmentIntersection
{
public class Event
{
public Point point;
public string type;
p... | 2.822177 | 41ac088b8765ac28472af84097faf020 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837967 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "bilsaboob/Pliant",
"max_stars_repo_path": "libraries/Pliant/Forest/IForestDisambiguationAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157187"
} | starcoder | namespace Pliant.Forest
{
public interface IForestDisambiguationAlgorithm
{
IAndForestNode GetCurrentAndNode(IInternalForestNode internalNode);
}
} | 1.624694 | dec5c542a3c644712be762cb8fc0f127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837968 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ts2do/Inlinq",
"max_stars_repo_path": "Inlinq/Cmp/Int32Comparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157188"
} | starcoder | <filename>Inlinq/Cmp/Int32Comparer.cs
using System.Collections.Generic;
namespace Inlinq.Cmp
{
public struct Int32Comparer : IComparer<int>, IEqualityComparer<int>
{
public int Compare(int x, int y)
{
if (x < y) return -1;
if (x > y) return 1;
return 0;
... | 2.890282 | cc477a1df85a11b3167ab5c9b8b53dc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OmnipotentOwl/PAM2FASAMS",
"max_stars_repo_path": "PAM2FASAMS/Validations/FASAMSValidations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157189"
} | starcoder | using PAM2FASAMS.OutputFormats;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace PAM2FASAMS
{
public class FASAMSValidations
{
public ProviderClie... | 2.445184 | 20f0061aeffc7aee898ef84ca84cd157 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837970 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "darrenferguson/speedwagon",
"max_stars_repo_path": "SpeedWagon.New/Views/SpeedWagon/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157190"
} | starcoder | @{
Layout = "_Layout";
}
<h2>Welcome</h2>
<p>Speedwagon is an experimental developer centric - exerimental CMS. Use the links in the header to play.</p>
<p><a class="btn btn-info" asp-controller="SpeedWagon" asp-action="Install">Setup some basic stuff</a></p>
<p>The button above will setup some basic file stru... | 2.765992 | 98b8731a91446b4ec32badfa58ca5c2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837971 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "netcore-jroger/SimpleRpc",
"max_stars_repo_path": "src/SimpleRpc.Server/RpcHostedService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157191"
} | starcoder | <reponame>netcore-jroger/SimpleRpc<filename>src/SimpleRpc.Server/RpcHostedService.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace SimpleRpc.Server
{
internal class RpcHosted... | 2.192645 | 2e9ee0c40fa3d84a3ecce117a66e30ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837972 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nerdymishka/gainz",
"max_stars_repo_path": "dotnet/src/Api/Search.Core/Index/DocumentFrequencyPair.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157192"
} | starcoder | /*
Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distrib... | 2.611768 | 09358caafb2442a3f806f3fdeb68d3b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837973 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "tests/Umbraco.Tests.UnitTests/Umbraco.Core/Models/UserGroupTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157193"
} | starcoder | <filename>tests/Umbraco.Tests.UnitTests/Umbraco.Core/Models/UserGroupTests.cs
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using NUnit.Framework;
using Umbraco.Cms.Core.Models.M... | 2.435239 | 613bdbd76af62fc8a0670949254ee0d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mdsgoens/Consensus",
"max_stars_repo_path": "src/Consensus/Methods/RankedConsensusCondorcet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157194"
} | starcoder | using System;
using System.Linq;
using Consensus.Ballots;
namespace Consensus.Methods
{
public sealed class RankedConsensusCondorcet : RankedConsensusBase
{
public override ElectionResults GetElectionResults(CandidateComparerCollection<RankedBallot> ballots)
{
var beatMatr... | 2.385769 | 8b13d6949b7dae6da58f71a8c58741ad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "troy909/Eshva.Poezd",
"max_stars_repo_path": "tests/Eshva.Poezd.Adapter.Kafka.UnitTests/given_api_consumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157195"
} | starcoder | #region Usings
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Confluent.Kafka;
using Eshva.Common.Testing;
using Eshva.Poezd.Adapter.Kafka.Ingress;
using Eshva.Poezd.Core.Routing;
using FluentAssertions;
using Microsoft.Extensions.Log... | 1.891854 | 42021274ca71488d91b4b49aa731e4c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837976 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "jkone27/AliceMQ",
"max_stars_repo_path": "src/AliceMQ.Core/Types/ManualAckEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157196"
} | starcoder | <filename>src/AliceMQ.Core/Types/ManualAckEventArgs.cs
using System;
namespace AliceMQ.Core.Types
{
public class ManualAckEventArgs<T> : EventArgs
{
public T MessageArgs;
public ManualAckEventArgs(T messageArgs)
{
MessageArgs = messageArgs;
}
}
} | 1.792004 | 321732d2324f6dc0571a2ca35b4dd661 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837977 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "drapperr/C-Fundamentals",
"max_stars_repo_path": "Text Processing - Exercise/03. Extract File/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157197"
} | starcoder | using System;
namespace _03._Extract_File
{
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine().Split("\\");
string[] file = input[input.Length - 1].Split(".");
string fileName = file[0];
string extension = fil... | 3.129271 | 16cefbde3a2219da4d2695c5f9795fc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837978 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ProDog/Zoro",
"max_stars_repo_path": "NeoDB/leveldb_EX/Value/Map.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157198"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LevelDB.Ex
{
public class MapIterator
{
LevelDB.DB db;
LevelDB.ReadOptions snapshot;
byte[] head;
LevelDB.Iterator it;
public MapIterator(LevelDB.DB db, LevelDB.ReadOptions ... | 2.416649 | 94468b45984533a94eba1a48c7b0625c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837979 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "eoghantelnyx/telnyx-dotnet",
"max_stars_repo_path": "src/Telnyx.net/Services/PhoneNumbers/NumberConfigurations/VoiceSettingsListOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157199"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Telnyx.net.Entities.PhoneNumbers.NumberConfigurations;
namespace Telnyx.net.Services.PhoneNumbers.NumberConfigurations
{
public class VoiceSettingsListOptions : ListOpti... | 2.28938 | c7c778e5ba917b32f8136e8774a8347f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837980 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "braveworldinc/BraveWorld.Forms",
"max_stars_repo_path": "samples/BWFSamples/BWFSamples/Models/ChangeLogEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157200"
} | starcoder | using System;
namespace BWFSamples.Models
{
public struct ChangeLogEntry
{
public ChangeLogEntryType EntryType { get; }
public string Message { get; }
public ChangeLogEntry(ChangeLogEntryType entryType, string message)
{
EntryType = entryType;
Message =... | 2.770154 | 9e55ba587386d5f871d03ac1aa974753 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wind010/Microservices",
"max_stars_repo_path": "UserService/Model/Common/ContaDetail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157201"
} | starcoder | <gh_stars>0
using System;
using System.Runtime.Serialization;
namespace Services.User.Models.Rest
{
[Serializable]
[DataContract]
public class ContactDetail
{
[DataMember]
public ContactType Type { get; set; }
[DataMember]
public string Name { get; set; }
[Da... | 1.49062 | 0dafacfd74a047b8963a317611a18e4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837982 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Pazzobg/03.01.CSharp-DB-Advanced-Entity-Framework",
"max_stars_repo_path": "16. EF Core Exam 10DEC17 - Fast Food/Fast Food/FastFood.DataProcessor/Serializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157202"
} | starcoder | namespace FastFood.DataProcessor
{
using System;
using System.IO;
using FastFood.Data;
using System.Linq;
using FastFood.Models.Enums;
using Microsoft.EntityFrameworkCore;
using FastFood.DataProcessor.Dto.Export;
using System.Collections.Generic;
using Newtonsoft.Json;
using Fas... | 2.789205 | bf633aeb155e018ed7472b45df4f8bd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837983 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Lc3586/Microservice",
"max_stars_repo_path": "src/Applications/SimpleApi/Model/Utils/Pagination/FilterGroupRelation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157203"
} | starcoder | using System.ComponentModel;
namespace Model.Utils.Pagination
{
/// <summary>
/// 筛选条件分组关系类型
/// <para>and / 0 (并且)</para>
/// <para>or / 1 (或)</para>
/// </summary>
public enum FilterGroupRelation
{
/// <summary>
/// 并且
/// </summary>
[Description("并且")]
... | 2.424878 | 6f08c1ee5a8b63a9d34b18055ccaab1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonathanHiggs/Higgsoft.Cake",
"max_stars_repo_path": "src/Higgsoft.Cake/Recipes/Libs/DotNetLib.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157204"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http.Headers;
using Cake.Common.Tools.DotNetCore.Build;
using Cake.Common.Tools.DotNetCore.MSBuild;
using Cake.Common.Tools.DotNetCore.Publish;
using Cake.Common.Tools.DotNetCore.Restore;
using Cake.Common.Tools.NuGet.Pack;
using Cake... | 2.135069 | 485826c3a09f0c94df56add8e1b8bc88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "riftgg/Playnite",
"max_stars_repo_path": "source/Plugins/SteamLibraryCore/Models/SteamGameMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157205"
} | starcoder | using Playnite.SDK.Metadata;
using SteamKit2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SteamLibrary.Models
{
public class SteamGameMetadata : GameMetadata
{
public KeyValue ProductDetails
{
get; se... | 1.527267 | 5de0827c64fe47aa55044e2edb154ce6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Liuchengyun0114/WebApi",
"max_stars_repo_path": "SG/PatrolServer/Model/EntityManager/BaseEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157206"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Data.EntityClient;
using System.Data.Objects;
using System.Data.Objects.DataClasses;
using System.Linq;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using System... | 2.308331 | 075dc21288db77d7bd6581774740f782 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luisdvalle/WTTestApp",
"max_stars_repo_path": "WTBankWebApp/WTBankWebApp/Views/Monetary/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:157207"
} | starcoder | <reponame>luisdvalle/WTTestApp
@model MonetaryFigureViewModel
<h2>Monetary Service</h2>
<p>This service converts a numerical monetary value in dollars and cents and produces its Engligh equivalent</p>
<form asp-action="Convert" asp-controller="Monetary" method="post">
<div>
<label>Enter your monetary va... | 2.897017 | a5cf16d99caa3e7506ef2cc2861ba048 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kkohno/Extenject",
"max_stars_repo_path": "UnityProject/Assets/Plugins/Zenject/Source/Factories/Pooling/Util/StaticMemoryPoolRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157208"
} | starcoder | <reponame>kkohno/Extenject
using System;
using System.Collections.Generic;
using ModestTree;
namespace Zenject
{
#if UNITY_EDITOR
public static class StaticMemoryPoolRegistry
{
public static event Action<IMemoryPool> PoolAdded = delegate { };
public static event Action<IMemoryPool> PoolRemoved = delegate { };
... | 2.296296 | e437941161d1096f8c599bbe3150116e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837989 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "RegrowthStudios/VoxelRTS",
"max_stars_repo_path": "RTSGame/RTSEngine/Graphics/VoxMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157209"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Grey.Engine;
using Grey.Graphics;
using Grey.Vox;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace RTSEngine.Graphics {
public struct ... | 2.219999 | 0b2b84fcb726ae61646cbc6eb242333d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837990 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hoangphuong020193/library",
"max_stars_repo_path": "back-end/Library/Library.Library/Book/Queries/GetBookSection/GetBookSectionQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157210"
} | starcoder | <filename>back-end/Library/Library.Library/Book/Queries/GetBookSection/GetBookSectionQuery.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Library.Data.Entities.Library;
using Library.Data.Services;
using Library.Library.Book.ViewModels;
usin... | 2.619217 | 5b150eb6813ad0171cde208d3ebcbd11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837991 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Azure-Samples/key-vault-dotnet-vnet",
"max_stars_repo_path": "AzureKeyVaultVNetSamples/SampleConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157211"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Net;
using Microsoft.Azure.Management.Network.Fluent.Models;
namespace AzureKeyVaultVNetSamples
{
public static class SampleConstants
{
/// <summary>
/// Constants representing the configuration setting keys.
/// </summary>
... | 2.039411 | 52115d0e56b60aec92ad712a138fc058 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837992 | {
"extension": "c-sharp",
"max_stars_count": "669.0",
"max_stars_repo_name": "curlysemi/Scripty",
"max_stars_repo_path": "src/Scripty.MsBuild.Tests/SampleSolution/Proj/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157212"
} | starcoder | <reponame>curlysemi/Scripty
namespace Proj
{
public class Class1
{
}
}
| 1.079299 | 4126beafeaf40bd0736abc5264cfe53b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837993 | {
"extension": "c-sharp",
"max_stars_count": "568.0",
"max_stars_repo_name": "heroboy/XUnity.AutoTranslator",
"max_stars_repo_path": "src/UnityEngine/TouchPhase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157213"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using UnityEngine.Rendering;
using UnityEngine.SceneManagement;
namespace UnityEngine
{
public enum TouchPhase
{
Began,
Moved,
... | 1.293097 | 1f8238609247a17a11658f46049bd98a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837994 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "DvdKhl/AVDump3",
"max_stars_repo_path": "AVDump3Gui/Controls/Settings/EnumToStringsValueConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157214"
} | starcoder | <filename>AVDump3Gui/Controls/Settings/EnumToStringsValueConverter.cs
using Avalonia.Data;
using Avalonia.Data.Converters;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace AVDump3Gui.Controls.Settings {
public class EnumToStringsValueConverte... | 2.506222 | be493a7b0f471cc2159cfadd7cbbf412 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837995 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "artemfomin/ML.ImagePreprocessor",
"max_stars_repo_path": "src/ML.ImagePreprocessor/ML.ImagePreprocessor.Desktop/ViewModels/Base/ViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157215"
} | starcoder | <filename>src/ML.ImagePreprocessor/ML.ImagePreprocessor.Desktop/ViewModels/Base/ViewModel.cs
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Threading;
namespace ML.ImagePreprocessor.Desktop.ViewModels.Base
{
public class ViewModel : INotifyPropertyChanged
{
pu... | 2.855988 | b109d7dd9de920a0d15cd208d91640c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837996 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "orifjonmelibayev/Console",
"max_stars_repo_path": "Cognifide.PowerShell/Integrations/Tasks/ExecuteScriptTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157216"
} | starcoder | using System.Collections.Generic;
using Cognifide.PowerShell.Core.Extensions;
using Cognifide.PowerShell.Core.Host;
using Cognifide.PowerShell.Core.Settings;
using Cognifide.PowerShell.Core.Utility;
using Sitecore.Data.Items;
using Sitecore.Tasks;
namespace Cognifide.PowerShell.Integrations.Tasks
{
public class E... | 2.163462 | e3f652007d99eda108ce2896e6df8101 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chunk1ty/WebsiteManagement",
"max_stars_repo_path": "src/Api/Controllers/ImageController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157217"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using WebsiteManagement.Application.Common;
using WebsiteManagement.Application.Images.Queries.GetImage;
using WebsiteManagement.Common;
namespace WebsiteManagement.Api.Controllers
{
// [Authorize]
[ApiController]
[Route("api/webs... | 1.932774 | 62bfbe2135980722f69689aaaaf5cbd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837998 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mglochsen/duplocator",
"max_stars_repo_path": "src/Duplocator.CLI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157218"
} | starcoder | <reponame>mglochsen/duplocator<gh_stars>1-10
using System;
using System.IO;
using System.Linq;
using System.Text;
using CommandLine;
using Duplocator.Data;
namespace Duplocator.CLI
{
class Program
{
static void Main(string[] args)
{
Parser.Default
.ParseArguments<Op... | 2.740346 | 592cb784467380deada80b622260247f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8837999 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "furkanisitan/magicore",
"max_stars_repo_path": "src/Validation/MagiCore.Validation/IValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157219"
} | starcoder | using MagiCore.Exceptions;
namespace MagiCore.Validation;
/// <summary>
/// Defines a validator for a particular type.
/// </summary>
/// <typeparam name="T">The type of the object being validated.</typeparam>
public interface IValidator<in T>
{
/// <summary>
/// Validates the specified instance.
/// </s... | 2.956429 | e4fb3e65b3917a27231a002cab50a8db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838000 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tlayson/MySC",
"max_stars_repo_path": "MyUSC/Classes/TimeSelectTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157220"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyUSC.Classes;
using MyUSC.Classes.MyOrg;
[assembly: TagPrefix("MyUSC.Classes", "MSC")]
namespace MyUSC.Cl... | 2.207823 | 4339c45db844db9e959a7c6903ef18f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838001 | {
"extension": "c-sharp",
"max_stars_count": "130.0",
"max_stars_repo_name": "a-churchill/binding-tools-for-swift",
"max_stars_repo_path": "tests/tom-swifty-test/tomswiftydevicetests/iphone/ITomTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157221"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace TomTest
{
public interface ITomTest
{
void Run ();
string TestName { get; }
string ExpectedOutput { get; }
}
public class TomSkipAttribute : Attribute
{
public TomSkipAttribute (string reason)
{
Reaso... | 1.944557 | fca8e8ab2919c3949e1879680ed024c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cdcd72/Grpc.FileTransfer.Demo",
"max_stars_repo_path": "src/GrpcFileClient/Models/TransferResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157222"
} | starcoder | namespace GrpcFileClient.Models
{
public class TransferResult<T>
{
public string Message { get; set; }
public T Record { get; set; }
}
}
| 1.605948 | 6c13187ead759a2026dba50d18776212 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838003 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Tyranastrasz/RPG-Teamwork",
"max_stars_repo_path": "TeamTyranastrasz/GameFiles/Interfaces/IUsable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157223"
} | starcoder | <reponame>Tyranastrasz/RPG-Teamwork<gh_stars>1-10
namespace RpgGame.Interfaces
{
public interface IUsable
{
void Consume(IItem item);
void Equip(IItem item, int id, bool IsNew);
void UnEquip(IItem item);
void AddToInventory(IItem item);
void RemoveFromInventory(IItem... | 1.992229 | a23ce43d534d6f734bf1415dc2fa31aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rentianhua/surfboard",
"max_stars_repo_path": "Source/Modules/Activity/Activity.BusinessComponent/ActivityBusinessComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157224"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using CCN.Modules.Activity.BusinessEntity;
using CCN.Modules.Activity.DataAccess;
using Cedar.Core.ApplicationContexts;
using Cedar.Core.Logging;
using Cedar.Foundation.SMS.Common;
usi... | 1.611367 | 025f5bf83ce09e54a559fafc52765248 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838005 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Kimjunseo319/OpenWorker",
"max_stars_repo_path": "ow.Service.District/Game/Storage/BaseStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157225"
} | starcoder | <reponame>Kimjunseo319/OpenWorker<gh_stars>1-10
using ow.Framework.Database.Storages;
using System.Collections.Generic;
using System.Linq;
namespace ow.Service.District.Game.Storage
{
public abstract class BaseStorage : List<StorageItem?>
{
public new byte Capacity { get; set; }
public BaseSt... | 2.053193 | aa6397257e476ae5807470b15ea966ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sohns/CultureIdle",
"max_stars_repo_path": "Assets/RealGame/scripts/Game/Managers/Data/Projects/ActiveProjects/ActiveProjectCost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157226"
} | starcoder | using UnityEngine;
using System.Collections;
public class ActiveProjectCost {
private object activeProjectCostType;
private BiggerNumber maxValue, currentValue, incrementValue;
public ActiveProjectCost (object activeProjectCostType, BiggerNumber maxValue, BiggerNumber currentValue, BiggerNumber incrementValue)
{... | 2.424738 | b3cee0f2f425fd42d546538538406944 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "feyris-tan/azusa",
"max_stars_repo_path": "vocadbDumper/IO/Swagger/Model/SongForApiContract.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157227"
} | starcoder | using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace IO.Swagger.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class SongForApiContract {
/// <summary>
/// Gets or Sets Addit... | 2.046257 | 7fc5864d3879a82c9e6e74048a27a109 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lariodiniz/Alura-Curso-Mock",
"max_stars_repo_path": "codigoInicial/mock/testes/EncerradorDeLeilaoTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157228"
} | starcoder | <reponame>lariodiniz/Alura-Curso-Mock<filename>codigoInicial/mock/testes/EncerradorDeLeilaoTest.cs<gh_stars>0
using mock.dominio;
using mock.servico;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using mock.infra;
using Moq;
... | 2.259584 | c578d6a5ccc7404bd5b3d8ce0b98ec98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vishal-sharma/Beef",
"max_stars_repo_path": "src/Beef.Data.OData/Linq/ODataQueryExpressionTreeVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157229"
} | starcoder | // Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using Beef.RefData;
using Remotion.Linq.Parsing;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace Beef.Data.OData.Linq
{
/// <summary>
... | 2.388148 | 9465b112bbbb66bd2bc58c9700c4bb87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838010 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "DB4865/RimHUD",
"max_stars_repo_path": "Source/Patch/RimWorld_PlaySettings_DoPlaySettingsGlobalControls.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157230"
} | starcoder | using HarmonyLib;
using RimHUD.Data;
using RimHUD.Interface;
using RimWorld;
using Verse;
namespace RimHUD.Patch
{
[HarmonyPatch(typeof(PlaySettings), "DoPlaySettingsGlobalControls")]
internal static class RimWorld_PlaySettings_DoPlaySettingsGlobalControls
{
private static void Postfix(WidgetRow r... | 1.487888 | 1839c82f7689c8d3d5872b6d5366088f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8838011 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "NisanurBulut/IBlog",
"max_stars_repo_path": "Medusa.Business/Concrete/CategoryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:157231"
} | starcoder | <reponame>NisanurBulut/IBlog
using Medusa.Business.Interface;
using Medusa.DataAccess.Interface;
using Medusa.Entities;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Medusa.Business.Concrete
{
public class CategoryService : GenericService<CategoryEntity>, ICategoryService
{
... | 1.915538 | afcd7a65c2dd678e9aba07f9d11ebea7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.