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 | 75733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonechenug/MSFramework",
"max_stars_repo_path": "src/Ordering.Domain/AggregateRoots/Events/OrderStartedDomainEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75734"
} | starcoder | using MSFramework.Domain.Events;
namespace Ordering.Domain.AggregateRoots.Events
{
public class OrderStartedDomainEvent : Event
{
public string UserId { get; }
public Order Order { get; }
public OrderStartedDomainEvent(Order order, string userId )
{
Order = order;
UserId = userId;
}
}
} | 1.991999 | 46de46ab9aeb2a95e2a653851887206b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75734 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hhko/Books",
"max_stars_repo_path": "3.Lectures/DDD/FluentValidationFundamentals/Module2/Step2/Src/Api/StudentController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75735"
} | starcoder | using System;
using System.Linq;
using System.Text.RegularExpressions;
using DomainModel;
using FluentValidation.Results;
using Microsoft.AspNetCore.Mvc;
namespace Api
{
[Route("api/students")]
public class StudentController : Controller
{
private readonly StudentRepository _studentRepository;
... | 2.848021 | 5c07ed12db00067f8ad08b19148825fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75735 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "CodeBlanch/serilog-sinks-periodicbatching",
"max_stars_repo_path": "test/Serilog.Sinks.PeriodicBatching.Tests/PeriodicBatchingSinkTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75736"
} | starcoder | <reponame>CodeBlanch/serilog-sinks-periodicbatching<filename>test/Serilog.Sinks.PeriodicBatching.Tests/PeriodicBatchingSinkTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
using Serilog.Events;
using Serilog.Tests.Support;
n... | 2.390025 | 9eaaa0e921d25bad48ba0b3e97b81192 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75736 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ferhatcandas/TStack.MongoDB",
"max_stars_repo_path": "tests/TStack.MongoDB.Tests/Maps/PersonMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75737"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using TStack.MongoDB.Map;
using TStack.MongoDB.Tests.Connection;
using TStack.MongoDB.Tests.Entity;
namespace TStack.MongoDB.Tests.Maps
{
public class PersonMapper : Mapper<Person>
{
public PersonMapper()
{
Rule("t... | 1.932555 | a153ffbc14ff34ca8b434e3582c0ac34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XJINE/Unity_XRangeAttribute",
"max_stars_repo_path": "Assets/Packages/XRangeAttribute/XRangeAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75738"
} | starcoder | #if UNITY_EDITOR
using UnityEngine;
namespace UnityEditor
{
// NOTE:
// This class hide a default Unity's RangeDrawer.
[CustomPropertyDrawer(typeof(RangeAttribute))]
internal sealed class RangeDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property... | 2.439127 | bf2b1a2bc8684e921f41fdb73ee3288b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75738 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ranran1997/Wms",
"max_stars_repo_path": "Src/TygaSoft/BLL/Product.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75739"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using TygaSoft.IDAL;
using TygaSoft.Model;
using TygaSoft.DALFactory;
namespace TygaSoft.BLL
{
public partial class Product
{
#region Product Member
... | 2.327744 | 11195dc30e6568eec6cacc03f300ca44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75739 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SonnevilleJ/Investing",
"max_stars_repo_path": "Sonneville.Utilities/Persistence/v1/JsonSerialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75740"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Sonneville.Utilities.Persistence.v1
{
public static class JsonSerialization
{
public static readonly JsonSerializerSettings Settings = new J... | 2.685623 | c31343c39b151ddf1633cce29fe156e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sitecore-Hackathon/2020-Pune-Techies",
"max_stars_repo_path": "src/Feature/PageContent/code/Templates.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75741"
} | starcoder | namespace Sitecore.Feature.PageContent
{
using Sitecore.Data;
public struct Templates
{
public struct HasPageContent
{
public static readonly ID ID = new ID("{AF74A00B-8CA7-4C9A-A5C1-156A68590EE2}");
public struct Fields
{
... | 1.558358 | 40cad745443b9e994a5eff8d34c17b5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bobtjanitor/SampleTDDApp",
"max_stars_repo_path": "SampleApplication.Migration/Migrations/CreateEmplyeeTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75742"
} | starcoder | using System;
using FluentMigrator;
namespace SampleApplication.Migrations
{
//migration number is mased on YYYYMMDDhhmm
[Migration(201803231125)]
public class CreateEmplyeeTable : FluentMigrator.Migration
{
public override void Up()
{
Create.Table("Employees")
... | 2.269284 | 117ffb375b11dcfa64722feceee09ed9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75742 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "luizvnegrini/Pactify",
"max_stars_repo_path": "tests/Pactify.UnitTests/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75743"
} | starcoder | <reponame>luizvnegrini/Pactify
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json;
namespace Pactify.UnitTests
{
public class Start... | 2.379036 | 40d654d0f1ae0b1011b1a5f84aecb2b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75743 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "frankwang0/bdd-tdd-starter-kit",
"max_stars_repo_path": "SharpArch/app/BddTraining.SharpArch.NHibernate/SessionStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75744"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Runtime.Remoting.Messaging;
using System.Web;
using NHibernate;
namespace BddTraining.SharpArch.NHibernate
{
public class SessionStorage : ISessionStorage
{
private const string SessionStorageKey = "SessionStorageKey";
public ISess... | 2.349535 | 6eea74f7cd48822d33942ce2cc108a91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75744 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "roknr/minesweeper",
"max_stars_repo_path": "Source/Minesweeper.Core/ViewModels/Modals/ModalViewModelBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75745"
} | starcoder | namespace Minesweeper.Core.ViewModels.Modals
{
/// <summary>
/// The base view model for modals.
/// </summary>
public abstract class ModalViewModelBase : ViewModelBase
{
/// <summary>
/// The modal title.
/// </summary>
public string Title { get; }
/// <summ... | 2.806598 | 50a46a272a75f48e084744b75a68a07a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vartanchik/csharp_training",
"max_stars_repo_path": "addressbook-web-tests/addressbook-web-tests/tests/ContactModificationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75746"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace WebAddressBookTests
{
[TestFixture]
public class ContactModificationTests : AuthTestBase
{
[Test]
public void ContactModificationTest()
... | 2.34798 | 251677470f78efc2d205c98d90efd703 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gilligan128/Pancake",
"max_stars_repo_path": "src/Pancake.Core/ICreateResources.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75747"
} | starcoder | <filename>src/Pancake.Core/ICreateResources.cs
using System.Collections.Generic;
namespace Pancake.Core
{
public interface ICreateResources
{
void Execute(Resource[] missingResources, ResourceProvider provider);
}
} | 1.67268 | e8627cf478992bcdcb5263e7a4c59c69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75747 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "DEVSENSE/Parsers",
"max_stars_repo_path": "Source/UnitTests/TokensVisitorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75748"
} | starcoder | <filename>Source/UnitTests/TokensVisitorTest.cs
using Devsense.PHP.Syntax;
using Devsense.PHP.Syntax.Ast;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnitTests.TestImplemen... | 2.225562 | 20fc29c914c28a03f69288e37528759c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75748 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "aliostad/BeeHive",
"max_stars_repo_path": "demo/BeeHive.Demo.PrismoEcommerce/Actors/FraudCheckActor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75749"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BeeHive.DataStructures;
using BeeHive.Demo.PrismoEcommerce.Entities;
using BeeHive.Demo.PrismoEcommerce.Events;
using BeeHive.Demo.PrismoEcommerce.ExternalSystems... | 2.160944 | 234e61e6ae578af42bfa88ef37d178a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75749 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "jamiepollock/umbraco-graphql",
"max_stars_repo_path": "test/Our.Umbraco.GraphQL.Tests/Adapters/Types/OrderByGraphTypeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75750"
} | starcoder | using System;
using FluentAssertions;
using GraphQL.Resolvers;
using GraphQL.Types;
using Our.Umbraco.GraphQL.Adapters.Types;
using Our.Umbraco.GraphQL.Types;
using Xunit;
using IdGraphType = Our.Umbraco.GraphQL.Adapters.Types.IdGraphType;
namespace Our.Umbraco.GraphQL.Tests.Adapters.Types
{
public class OrderByGr... | 2.444854 | 9743224cd82a72000ac0cb9758a17d48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75750 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakapon/AtCoder-Contests",
"max_stars_repo_path": "CSharp/AOJCourses/GRL003/C.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75751"
} | starcoder | <filename>CSharp/AOJCourses/GRL003/C.cs
using System;
using System.Collections.Generic;
using System.Linq;
class C
{
static int[] Read() => Console.ReadLine().Split().Select(int.Parse).ToArray();
static void Main()
{
var h = Read();
var n = h[0];
var es = new int[h[1]].Select(_ => Read()).ToArray(... | 3.068891 | 60ca6e15dde0c2d7d9ab9cc00a5096ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75751 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeteGoo/MicroIoc",
"max_stars_repo_path": "MicroIoc.Core/Tuple.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75752"
} | starcoder | <reponame>PeteGoo/MicroIoc
namespace MicroIoc
{
public class Tuple<T1, T2>
{
public Tuple(T1 item1, T2 item2)
{
Item1 = item1;
Item2 = item2;
}
public T1 Item1 { get; private set; }
public T2 Item2 { get; private set; }
public bool Equal... | 3.221531 | e354f62b685ef6d5e0128e3878ffe7f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75752 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "newcatshuang/JobManager",
"max_stars_repo_path": "src/Newcats.JobManager.Host/Service/JobService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75753"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Transactions;
using Newcats.JobManager.Common.DataAccess;
using Newcats.JobManager.Common.Entity;
namespace Newcats.JobManager.Host.Service
{
public class JobService
{
private readonly IRepository<JobInfoEntity, int>... | 2.378368 | 80f2ba6f8218da928b02e443bb2bd885 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75753 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "sireneweb/EventSource4Net",
"max_stars_repo_path": "EventSource4Net/StateChangedEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75754"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EventSource4Net
{
public class StateChangedEventArgs : EventArgs
{
public EventSourceState State { get; private set; }
public StateChangedEventArgs(EventSourceState state)
{... | 1.999518 | 346d8eec4bfbb0eccad5a51e48280874 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75754 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "richdizz/TrainingContent",
"max_stars_repo_path": "O3653/O3653-7 Deep Dive into the Office 365 APIs for OneNote services/Demos/OneNoteAPISampleWinStore/OneNoteCloudCreatePagesSample/App.xaml.cs",
"provenance": "train-00000-of-00045.js... | starcoder | //*********************************************************
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the ""License"");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http:/... | 1.983968 | db773a90d6d3a7d45f936ee3fc9bd5de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "spvinod1986/PersonalBlog",
"max_stars_repo_path": "PersonalBlog.Api/Options/ImageUploadOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75756"
} | starcoder | <filename>PersonalBlog.Api/Options/ImageUploadOptions.cs
namespace PersonalBlog.Api.Options
{
public class ImageUploadOptions
{
public string LocalServerUrl { get; set; }
public string AzureBlobConnectionString { get; set; }
public string AzureBlobImageContainer { get; set; }
pub... | 1.720387 | 5ee1aab832b2ed5b08cde95b9ec3fa9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Crossing-Minds/xminds-dotnet",
"max_stars_repo_path": "src/XMinds/Utils/DateTimeToUnixDateTimeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75757"
} | starcoder | <filename>src/XMinds/Utils/DateTimeToUnixDateTimeExtensions.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace XMinds.Utils
{
static class DateTimeToUnixDateTimeExtensions
{
private static readonly DateTime EpochDateTime = new DateTime(1970, 1, 1, 0, 0, 0, DateT... | 3.090328 | f60d47b6e35cb9534298aef141f62b90 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75757 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "markrendle/CodeProjector",
"max_stars_repo_path": "CodeProjector/PkgCmdID.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75758"
} | starcoder | <gh_stars>1-10
// PkgCmdID.cs
// MUST match PkgCmdID.h
using System;
namespace MarkRendle.CodeProjector
{
static class PkgCmdIDList
{
public const uint cmdidProjectCode = 0x100;
};
} | 1.216063 | 5b6811c80c74ec98447c2a4ba59db344 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75758 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ng-eneter/eneter-net",
"max_stars_repo_path": "EneterMessaging/EneterMessagingFramework/MessagingSystems/UdpMessagingSystem/UdpMessagingSystemFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75759"
} | starcoder |
using Eneter.Messaging.Diagnostic;
using Eneter.Messaging.MessagingSystems.ConnectionProtocols;
using Eneter.Messaging.MessagingSystems.MessagingSystemBase;
using Eneter.Messaging.MessagingSystems.SimpleMessagingSystemBase;
using Eneter.Messaging.MessagingSystems.TcpMessagingSystem;
using Eneter.Messaging.Thr... | 2.576478 | cd2f04875f2ec471ce19d10b26df53f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrodrigues95/ClassroomChat",
"max_stars_repo_path": "api/Application/Classrooms/Commands/LeaveClassroom/LeaveClassroomCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75760"
} | starcoder | using Application.Common;
using MediatR;
using System;
namespace Application.Classrooms.Commands.LeaveClassroom {
public class LeaveClassroomCommand : IRequest<Result<Unit>> {
public Guid Id { get; set; }
}
}
| 1.537666 | 81478c9dd7182680f6482a76455a6fa9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/c-sharp",
"max_stars_repo_path": "src/CSharp.Examples/CSharp.Examples.Example_001/Source/Core/Examples.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75761"
} | starcoder | using System;
namespace CSharp.Examples.Example_001.Source.Core
{
internal class Examples
{
public Examples Example_001()
{
var a = ("cat", "dog");
// cat & dog
Console.WriteLine($"{a.Item1} & {a.Item2}");
// ValueTuple`2
Console.Wri... | 3.313984 | 7af9d99e7a73df7843d80eb67f7a07bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vishalshah3584/SPAApp",
"max_stars_repo_path": "api/Application.Common/Validation/IValidationException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75762"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace App.Common.Validation
{
public interface IValidationException
{
IList<ValidationError> Errors { get; set; }
void Add(ValidationError error);
}
}
| 1.541351 | c2d15b208a1877ea94f56aa898e411af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamlesh-microsoft/CloudCure",
"max_stars_repo_path": "Backend/Tests/ModelTests/MedicationModelTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75763"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Models.Diagnosis;
using Xunit;
namespace Tests
{
public class MedicationModelTest
{
[Fact]
public void MedicationNameShouldSetValidData()
{
Medication _medicationNameTest =... | 2.537902 | a7469dc8f696e77880682456efb60d07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yinghualuowu/XShoppySharp",
"max_stars_repo_path": "XShoppySharp/Entities/Order/XShoppyOrderResp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75764"
} | starcoder | namespace XShoppySharp.Entities.Order
{
/// <summary>
/// 订单服务返回实体
/// </summary>
public class XShoppyOrderResp:XShoppyObject<XShoppyOrderData> { }
/// <summary>
/// 订单服务返回列表实体
/// </summary>
public class XShoppyOrderListResp : XShoppyObject<XShoppyOrderListData> { }
/// <summary>... | 1.602363 | 8f580f75f0afb50024c0ce9eaa547897 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75764 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Gandjurov/AdvancedOOP_CSharp",
"max_stars_repo_path": "07.Workshop-StorageMaster/StorageMaster.BusinessLogic.Tests/StorageMasterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75765"
} | starcoder | namespace StorageMaster.BusinessLogic.Tests
{
using NUnit.Framework;
using StorageMaster.Entities.Products;
using StorageMaster.Entities.Storage;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
[TestFi... | 2.379702 | 6a36f7ae10e67284f9bb243196039722 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75765 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "YTWANGP/azure-iiot-opc-vault-service",
"max_stars_repo_path": "src/v1/Models/StatusApiModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75766"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System;
using System.... | 2.077618 | 2aac2b73098b424ca62b2daef5e61476 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75766 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "andyalm/EventToolkit",
"max_stars_repo_path": "toolkit/IEventBus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75767"
} | starcoder | using System;
namespace EventToolkit
{
public interface IEventBus
{
void Publish<TEvent>(TEvent eventMessage)
where TEvent : IEvent;
IEventSubscription Subscribe<TEvent>(Action<TEvent> handler)
where TEvent : IEvent;
IEventSubscription Subscribe<TEvent>(IEventSub... | 2.231655 | 67b498f4d66bc1eb78d85023c9461802 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75767 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JaavLex/shooting-session-app",
"max_stars_repo_path": "Controllers/AmmunitionController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75768"
} | starcoder | <reponame>JaavLex/shooting-session-app
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using ssa_backend.Models;
using ssa_backend.Models.DTO;
namespace ssa_backend.... | 2.487555 | 90dded65c0e0bab4f7fa5e546a7b8c0d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e-hill/track-my-games",
"max_stars_repo_path": "src/Migrations/20200810042500_AddPsnGamesTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75769"
} | starcoder | <filename>src/Migrations/20200810042500_AddPsnGamesTable.cs
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TrackMyGames.Migrations
{
public partial class AddPsnGamesTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder... | 2.094887 | 2e46f4bab2f3ddfeb8526c6e6d59b9b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rhythmagency/rhythm.umbraco7.data-processor",
"max_stars_repo_path": "trunk/Website/App_Code/Rhythm.Umbraco7.DataProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75770"
} | starcoder | namespace Rhythm.Umbraco7.DataProcessor
{
// Namespaces.
using global::Umbraco.Core;
using global::Umbraco.Web.Mvc;
using global::Umbraco.Web.WebApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web.Http;
#region class Proc... | 2.794202 | c9e9d09720b5a088bf23b938d2e1e3f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75770 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "jncronin/tysila",
"max_stars_repo_path": "libtysila5/layout/Array.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75771"
} | starcoder | <gh_stars>1-10
/* Copyright (C) 2017 by <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify... | 2.251621 | dc0b92ff312062b0dc24b7f4d6422bea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MisterChangRay/minij",
"max_stars_repo_path": "classfile/constant/CONSTANT_InvokeDynamic_info.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75772"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/**
CONSTANT_InvokeDynamic_info {
u1 tag;
u2 bootstrap_method_attr_index;
u2 name_and_type_index;
}
**/
namespace minij.classfile.constant
{
class CONSTANT_InvokeDynamic_info : Constant
... | 2.139408 | 75e4080f6f2a7d71755717f4a8531955 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bodrick/Topshelf",
"max_stars_repo_path": "samples/DisposeHostWhenServiceStopped/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75773"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Topshelf.Extensions.Hosting;
namespace DisposeHostWhenServiceStopped
{
public class MyService : IHostedService
{
private readonly Service _servic... | 2.982926 | a0a2e08ce975d12a3e163879c0e6b15b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75773 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "albyho/Tubumu",
"max_stars_repo_path": "src/Tubumu.Core/FastLambda/HashedListCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75774"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading;
namespace Tubumu.Core.FastLambda
{
/// <summary>
/// HashedListCache
/// </summary>
/// <typeparam name="T"></typeparam>
public class HashedListCache<T> : IDisposable, IExpressionCache<T> where T... | 2.796087 | 1127a13d6bde0c5e56b1fb56759c2bd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75774 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "timw255/timw255.Sitefinity.RestClient",
"max_stars_repo_path": "timw255.Sitefinity.RestClient/Model/UploadResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75775"
} | starcoder | <reponame>timw255/timw255.Sitefinity.RestClient
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace timw255.Sitefinity.RestClient.Model
{
[JsonObject]
public class UploadResponse
{
public string Conten... | 1.912109 | e30fd5b0b6c145ff04b751d4d9bbc7a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75775 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beholder-rpa/SharpGenTools",
"max_stars_repo_path": "SharpGen/Generator/Marshallers/StringMarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75776"
} | starcoder | using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using SharpGen.Model;
using System.Collections.Generic;
using System.Linq;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
namespace SharpGen.Generator.Marshallers
{
class StringMarshaller : MarshallerBase, IMarshaller
... | 2.344406 | 31ca934755d65f62c18cd7dd3e06c6c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0x25b3/ColorExtractor",
"max_stars_repo_path": "ColorExtractor/ColorExtractorViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75777"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace ColorExtractor
{
public class ColorExtractorViewModel : INotifyPropertyChanged
{... | 2.72758 | 6c245622de0678df9272d1207a787d22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75777 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JBeni/BlazorShop",
"max_stars_repo_path": "BlazorShop.Application/Handlers/Commands/AccountHandler/ChangePasswordCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75778"
} | starcoder | namespace BlazorShop.Application.Handlers.Commands.AccountHandler
{
public class ChangePasswordCommandHandler : IRequestHandler<ChangePasswordCommand, RequestResponse>
{
private readonly IAccountService _accountService;
private readonly ILogger<ChangePasswordCommandHandler> _logger;
pu... | 2.375294 | 49ef4bf02cb9aa725b717bc833d85dd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "P-Hayk/Dice",
"max_stars_repo_path": "Dice/Dice/Dice.DAL/Repositories/StepRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75779"
} | starcoder | using Dice.DAL.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dice.DAL.Repositories
{
class StepRepository : IStepRepository
{
private DICEEntities db;
public StepRepository(DICEEntities co... | 2.681354 | 57c55f97812607ac6ed7294f5192be3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lohas1107/painter",
"max_stars_repo_path": "PainterTest/PresentationModelTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75780"
} | starcoder | <reponame>lohas1107/painter<filename>PainterTest/PresentationModelTest.cs
using Painter;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Drawing;
using System.Windows.Forms;
namespace PainterTest
{
/// <summary>
///This is a test class for PresentationModelTest and is intended
... | 2.351675 | 7c505ae648c0022afa920d2d3be90382 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75780 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "hoangduit/MapSuiteGisEditor",
"max_stars_repo_path": "MapSuiteGisEditor/GisEditorPluginCore/Plugins/NavigatePlugin/Adorment/ScaleLineBar/ScaleLineOrBarAdornmentLayerViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75781"
} | starcoder | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may no... | 1.809018 | 94e594ec9d2fd8a4ef2641d7a224a156 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "craiggwilson/EntityFramework",
"max_stars_repo_path": "src/EntityFramework.SqlServer.Design/Utilities/SqlServerTypeMapping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75782"
} | starcoder | <reponame>craiggwilson/EntityFramework
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace Microsoft.Data.Entity.SqlServer.Desi... | 1.981596 | b870d209536b6cf4259e3eb6867b3808 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75782 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SkillsFundingAgency/das-apim-endpoints",
"max_stars_repo_path": "src/SFA.DAS.LevyTransferMatching.Api.UnitTests/Controllers/PledgeTests/GetSectorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75783"
} | starcoder | <reponame>SkillsFundingAgency/das-apim-endpoints
using System.Threading;
using System.Threading.Tasks;
using AutoFixture;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using SFA.DAS.LevyTransferMatching.Api.Controllers;
using SFA.DAS.LevyTransferMa... | 1.764761 | 7a67235a83548ae49bcbcfc3212c6025 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75783 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Deedsogado/AsteroidsFisheye",
"max_stars_repo_path": "RossHigleyProject7a/RossHigleyProject7a/References/Objects/EnemyBussiness/Enemy Tactics/Sniper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75784"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RossHigleyProject7a
{
/*****
* <NAME>
* 4/012/15
* This is one of the three types of enemies faced, this is the sniper which will stay as far away from the p... | 2.54597 | 12088bf5ab854b7e194bf007734fddd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "malikov-dm/HackerRank",
"max_stars_repo_path": "Statistics/Day 5/s10-poisson-distribution-2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75785"
} | starcoder | <filename>Statistics/Day 5/s10-poisson-distribution-2.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using MathNet.Numerics;
namespace Statistics
{
class s10_poisson_distribution_2
{
public static void Solve()
{
double estX = 0.88d;
... | 3.065834 | ee7b773acd89337a8a64ee58ba322fe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75785 | {
"extension": "c-sharp",
"max_stars_count": "144.0",
"max_stars_repo_name": "ADeltaX/AudioFlyout",
"max_stars_repo_path": "src/AudioFlyoutLauncher/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75786"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AudioFlyoutLauncher
{
class Program
{
static void Main(string[] args)
{
try
{
var file = AppDomain.Cur... | 2.227766 | 0fbb4ade80084081a013ec3febf2036e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75786 | {
"extension": "c-sharp",
"max_stars_count": "489.0",
"max_stars_repo_name": "BlythMeister/cupboard",
"max_stars_repo_path": "src/Cupboard.Core/RebootOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75787"
} | starcoder | namespace Cupboard
{
public enum RebootOptions
{
IgnorePendingReboot = 0,
Reboot = 1,
}
}
| 1.657308 | 242d838340095c9a4668350ef5735118 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobJellinghaus/BuildXL",
"max_stars_repo_path": "Public/Src/Pips/Dll/Graph/PipGraph.WindowsDefaults.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75788"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using BuildXL.Pips.Builders;
using BuildXL.Pips.Operations;
using BuildXL.Utilities;
namespace BuildXL.Pips.Graph
{
partial class PipGraph
{
/// <nodoc />
public class WindowsOsDefaults
... | 2.117901 | 78b9e543e0595c22977657df190d130a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75788 | {
"extension": "c-sharp",
"max_stars_count": "64.0",
"max_stars_repo_name": "AsimKhan2019/AdventureWorksSkiApp",
"max_stars_repo_path": "src/SkiResort.Infrastructure/Model/Enums/RestaurantPriceLevel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75789"
} | starcoder |
namespace AdventureWorks.SkiResort.Infrastructure.Model.Enums
{
public enum PriceLevel
{
Unknown = 0,
Low = 1,
Medium = 2,
Hight = 3,
}
}
| 1.698435 | db066bd0a8a8d9ee0ad5a51490431b70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75789 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "cucmberium/Flantter.MilkyWay",
"max_stars_repo_path": "Flantter.MilkyWay/Models/Apis/Objects/Gap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75790"
} | starcoder | <gh_stars>10-100
using System;
namespace Flantter.MilkyWay.Models.Apis.Objects
{
public class Gap : ITweet
{
public Gap(long id, long maxId, DateTime createAt)
{
CreatedAt = createAt;
Id = id;
MaxId = maxId;
}
public Gap()
{
... | 1.962197 | 0614c8312ae10f27863a6f2dc5f55dda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OrangeLV/HoloLensCompanionKit",
"max_stars_repo_path": "SpectatorView/Samples/SharedHolograms/Assets/Holograms/Support/Anchor/ExplodingBlob.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75791"
} | starcoder | using UnityEngine;
public class ExplodingBlob : MonoBehaviour
{
/// <summary>
/// TargetDangerLevel tracks what 'danger level' we are heading towards.
/// Once we hit max danger level we'll do a fun effect.
/// </summary>
float TargetDangerLevel = 0;
float SetDangerLevel = 0 ;
... | 2.560681 | f6a09b21685af0d362ed06cb68ee8bf5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75791 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidLievrouw/Voter",
"max_stars_repo_path": "src/Voter/Api/Users/Models/GetCurrentUserRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75792"
} | starcoder | <filename>src/Voter/Api/Users/Models/GetCurrentUserRequest.cs
using DavidLievrouw.Voter.Security;
namespace DavidLievrouw.Voter.Api.Users.Models {
public class GetCurrentUserRequest {
public ISecurityContext SecurityContext { get; set; }
}
} | 1.523725 | 756ed4c6f0f39011327c363d4854d6b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75792 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "michaelprichardson/multiplayer-fps",
"max_stars_repo_path": "Assets/Scripts/PlayerWeapon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75793"
} | starcoder | <filename>Assets/Scripts/PlayerWeapon.cs
using UnityEngine;
[System.Serializable]
public class PlayerWeapon {
public string name = "Glock";
public int damage = 10;
public float range = 100f;
}
| 2.000006 | 3100bd3a3db6b00f3193408ba87ee70f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75793 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cheprogrammer/bentities",
"max_stars_repo_path": "Source/BEntities/BaseComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75794"
} | starcoder | using System;
using BEntities.Components;
namespace BEntities
{
public abstract class BaseComponent
{
/// <summary>
/// Gets the source entity
/// </summary>
public Entity SourceEntity { get; internal set; }
public Transform2DComponent Transform => SourceEntity.Transfo... | 2.814191 | a5dceccd1af5061c9bedbe23c77b21e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tencho0/SoftuniEducation",
"max_stars_repo_path": "C# Advanced/advanced-jan22/SetsandDictionariesAdvanced-Lab/T03.Largest3Numbers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75795"
} | starcoder | <filename>C# Advanced/advanced-jan22/SetsandDictionariesAdvanced-Lab/T03.Largest3Numbers/Program.cs
using System;
using System.Linq;
namespace T03.Largest3Numbers
{
internal class Program
{
static void Main(string[] args)
{
int[] givenArr = Console.ReadLine()
.Split... | 3.690348 | 1f81f863701395f7dcdb30430ebc6718 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoyfulReaper/HeadFirstCSharp",
"max_stars_repo_path": "BaseballPlayers/BaseballPlayers/RetiredPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75796"
} | starcoder | <reponame>JoyfulReaper/HeadFirstCSharp<filename>BaseballPlayers/BaseballPlayers/RetiredPlayer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BaseballPlayers
{
class RetiredPlayer
{
public string Name { get; set; }
... | 2.608707 | 9b46ef9ea16f2c2dac8682a173b90c47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75796 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Micky5991/Inventory",
"max_stars_repo_path": "Inventory/Entities/Inventory/Inventory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75797"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Micky5991.Inventory.AggregatedServices;
using Micky5991.Inventory.Exceptions;
using Micky5991.Inventory.Interfaces;
namespace Micky5991.Inventory.Entities.Inventory
{
/// <inheritdoc />
... | 2.542001 | 4b26179855e2c88569755367813a1e0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "netonjm/Xamarin.PropertyEditing",
"max_stars_repo_path": "Xamarin.PropertyEditing.Tests/CreateVariantViewModelTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75798"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using Xamarin.PropertyEditing.ViewModels;
namespace Xamarin.PropertyEditing.Tests
{
[TestFixture]
class CreateVariantViewModelTests
{
[Test]
public vo... | 1.87995 | e3ab4b884a9b13a09f8f531e9ba1242f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Timwi/KtaneVariety",
"max_stars_repo_path": "Assets/Items/Led/LedPrefab.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75799"
} | starcoder | using UnityEngine;
public class LedPrefab : MonoBehaviour
{
public KMSelectable Selectable;
public MeshRenderer Led;
public Material[] LedColors;
}
| 1.330513 | 7b0eb254dfeaab09e865021ffee9ea6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GetReQ/LiteratureInventory",
"max_stars_repo_path": "literature.inventory/Models/Publications/Magazine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75800"
} | starcoder | <gh_stars>0
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace literature.inventory.Models.Publications
{
public class Magazine : IPublication
{
public ObjectId Id { get; set; }
public string Title { get; set; }
public string Language { get; set; }
public string Edition { ... | 1.330798 | 27d67f73aab2f8c8316024f232ff44a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dogwith1eye/Mio",
"max_stars_repo_path": "Core.Tests/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75801"
} | starcoder | using System.Runtime.CompilerServices;
[assembly: InternalsVisibleToAttribute("Core")]
var app = App.BracketNestedErrorKnown();
app.Main(args);
class StackSafety : MIOApp<Unit>
{
static MIO<Unit> MyProgram =
MIO.Succeed(() =>
{
Console.WriteLine("Howdy!");
return Unit();... | 2.731546 | 079a900e6633da83a72396456436d2e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "junjieye-nlp/HierProMul-Trans",
"max_stars_repo_path": "data-raw/valid.bpe.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75802"
} | starcoder | <filename>data-raw/valid.bpe.cs
skupina mužů nakládá ba@@ vlnu na náklaďák .
muž spí na gauči v zeleném pokoji .
chlapec má na sobě sluchátka a sedí ženě na ramenou .
dva muži rozděl@@ ávají modrý rybářský stan na zamrz@@ lém jezeře .
plešatící muž má na sobě červenou záchrannou vestu a sedí na malé loďce .
dáma v červ... | 2.00554 | 5f7dd95a368a7160854ee5ad502ee419 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75802 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "tjmoses/stripe-checkout-aspnet",
"max_stars_repo_path": "Views/Home/Charge.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:75803"
} | starcoder | <filename>Views/Home/Charge.cshtml
<h2>You successfully paid <strong>$5.00</strong></h2>
| 1.654642 | fb8dfe7af3c04c119a65a726f7c22fef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75803 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "webformsmvp/webformsmvp",
"max_stars_repo_path": "WebFormsMvp/WebFormsMvp.CodeAnalysisRules/PresentersShouldUseConsistentViewType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75804"
} | starcoder | using System;
using System.Linq;
using Microsoft.FxCop.Sdk;
#if DEV10
using Microsoft.VisualStudio.CodeAnalysis.Extensibility;
#endif
namespace WebFormsMvp.CodeAnalysisRules
{
public class PresentersShouldUseConsistentViewType : BaseRule
{
public PresentersShouldUseConsistentViewType()
... | 1.935817 | 5413741305f20e53831b6670f28c3c4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75804 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "SpriteMaster-Ext/StructLinq",
"max_stars_repo_path": "src/StructLinq/Dictionary/DictionaryValueEnumerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75805"
} | starcoder | #if !NETSTANDARD1_1
using System.Runtime.CompilerServices;
namespace StructLinq.Dictionary
{
public struct DictionaryValueEnumerator<TKey, TValue> : ICollectionEnumerator<TValue>
{
private readonly Entry<TKey, TValue>[] entries;
private readonly int length;
private readonly int start;
... | 2.825004 | 9edbbb87f7a4ad5dafff91b9c5f3ddc9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75805 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hhko/Books",
"max_stars_repo_path": "1.Tutorials/OOD/CSharpDesignPattern/Ch 01. Inheritance/01. Explicit Interface/MultipleExplicitInterfaces/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75806"
} | starcoder | using System;
namespace MultipleExplicitInterfaces
{
class Program
{
static void Main(string[] args)
{
IA a = new Foo();
a.Run();
IB b = new Foo();
b.Run();
IC c = new Foo();
c.Run();
//
//
... | 2.325262 | 2931644a6374fadd04baedae56412b85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75806 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chadiik/PCG-MCT",
"max_stars_repo_path": "Assets/Uween/Runtime/TweenSXYZ.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75807"
} | starcoder | using UnityEngine;
namespace Uween
{
public class TweenSXYZ : TweenVec3S
{
public static TweenSXYZ Add(GameObject g, float duration)
{
return Add<TweenSXYZ>(g, duration);
}
public static TweenSXYZ Add(GameObject g, float duration, Vector3 to)
{
... | 2.33528 | d01e0aeb00698fca65590b96e8adff8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75807 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "studentutu/interaction_urp",
"max_stars_repo_path": "Assets/Oculus/Interaction/Runtime/Scripts/Unity/ToggleDeselect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75808"
} | starcoder | <reponame>studentutu/interaction_urp
/************************************************************************************
Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved.
Your use of this SDK or tool is subject to the Oculus SDK License Agreement, available at
https://deve... | 1.766788 | d6ede2e55f5f2322a75ec0f777b72b8b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mkhoury93/Rube-Goldberg-Puzzle-VR",
"max_stars_repo_path": "Assets/AntiCheat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75809"
} | starcoder | <filename>Assets/AntiCheat.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AntiCheat : MonoBehaviour
{
public GameObject Ball;
public GameObject AntiCheatUI;
bool activateOnce = false;
// Use this for initialization
void Start()
{... | 2.398062 | 9ec52536f44f6c92f02e0604d2ca1f7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MPTG94/WindAPI",
"max_stars_repo_path": "WindAPI.Tests/MockRequestGenerators/AddAdministratorRequestGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75810"
} | starcoder | <reponame>MPTG94/WindAPI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WindAPI.Classes.RequestObjects;
namespace WindAPI.Tests.MockRequestGenerators
{
class AddAdministratorRequestGenerator
{
}
}
| 1.041489 | a6fcf34a51acca69b2115bc8d500ad89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75810 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "142-Bupa-Acibadem-FullStack-Bootcamp/week-5-assignment-1-atillarin",
"max_stars_repo_path": "Northwind.Dal/Concrete/EntityFramework/Repository/TerritoryRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75811"
} | starcoder | <filename>Northwind.Dal/Concrete/EntityFramework/Repository/TerritoryRepository.cs
using Microsoft.EntityFrameworkCore;
using Northwind.Dal.Abstract;
using Northwind.Entity.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace No... | 2.115104 | efb5851c82fb78395dc5770ce85843c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75811 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pcharlesmoran/roslyn",
"max_stars_repo_path": "src/Workspaces/Core/MSBuild/MSBuild/ProjectFile/Conversions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75812"
} | starcoder | <filename>src/Workspaces/Core/MSBuild/MSBuild/ProjectFile/Conversions.cs<gh_stars>1-10
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.CodeAnalysis.MSBuild
{
/// <sum... | 2.581364 | 292472b9cafe78c800d3880ae453dbce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75812 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Soletek/SoletekForce",
"max_stars_repo_path": "SoletekForce/Graphics/GfxItemTypes/Particle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75813"
} | starcoder | using System;
using System.Collections.Generic;
namespace SoletekForce.Graphics
{
struct Particle<TData>
where TData : struct
{
TData dataStore;
Action<TData> update;
ParticleRenderer holder;
public Particle(ParticleRenderer holder)
{
this.holder = holder;
dataStore = new TData();
update = (o)... | 2.717145 | 0e066a637078af2842b9a5905436a137 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75813 | {
"extension": "c-sharp",
"max_stars_count": "709.0",
"max_stars_repo_name": "sspekinc/System.Linq.Dynamic.Core",
"max_stars_repo_path": "test/System.Linq.Dynamic.Core.Tests/EntitiesTests.Include.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75814"
} | starcoder | <reponame>sspekinc/System.Linq.Dynamic.Core
using System.Collections;
using System.Linq.Dynamic.Core.Tests.Helpers.Entities;
#if EFCORE
using Microsoft.EntityFrameworkCore;
#else
using System.Data.Entity;
#endif
using Xunit;
namespace System.Linq.Dynamic.Core.Tests
{
public partial class EntitiesTests : IDisposab... | 2.344962 | d7fae9eebfcaa43a1d9cdddd48520f20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75814 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Alp0716/Sepet-DDD",
"max_stars_repo_path": "Sepet2/Domain/Interfaces/IBaseRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75815"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace Domain.Interfaces
{
public interface IBaseRepository<T> where T:class
{
void Delete(T id);
void Update(T entity);
void Add(T enti... | 2.186398 | afe8636d7bbe8cffec691179e5045916 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tuffrabit/virtual-xinput-host",
"max_stars_repo_path": "ControllerBindings.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75816"
} | starcoder | namespace TuFFrabitX360
{
partial class ControllerBindings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.876796 | ab1e94ab367b570a2e9b848544d06298 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75816 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LaizerXIV/Lumina",
"max_stars_repo_path": "src/Lumina.Generated/Excel/GeneratedSheets/DeepDungeonRoom.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75817"
} | starcoder | <filename>src/Lumina.Generated/Excel/GeneratedSheets/DeepDungeonRoom.cs<gh_stars>1-10
// ReSharper disable All
using Lumina.Data;
using Lumina.Data.Structs.Excel;
namespace Lumina.Excel.GeneratedSheets
{
[Sheet( "DeepDungeonRoom", columnHash: 0x6be0e840 )]
public class DeepDungeonRoom : IExcelRow
{
... | 2.335416 | 8d1b04d35f37da1fb635effff6e3c955 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ANamelessWolf/RivieraModulador",
"max_stars_repo_path": "ModEnfasisPlus/UI/Dialog_PanelEditor.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75818"
} | starcoder | using DaSoft.Riviera.OldModulador.Controller;
using DaSoft.Riviera.OldModulador.Model;
using DaSoft.Riviera.OldModulador.Model.Delta;
using DaSoft.Riviera.OldModulador.Runtime;
using DaSoft.Riviera.OldModulador.Runtime.Delta;
using MahApps.Metro.Controls;
using NamelessOld.Libraries.HoukagoTeaTime.Yui;
using System;
u... | 1.77032 | 23fb58aeccf4130e64fb1a2d44042d8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75818 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ScottColson/CCLLCBusinessTransactionFramework",
"max_stars_repo_path": "Shared Projects/CCLLC.BTF.Process.CDS/Extensions/EntityExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75819"
} | starcoder | <reponame>ScottColson/CCLLCBusinessTransactionFramework<filename>Shared Projects/CCLLC.BTF.Process.CDS/Extensions/EntityExtensions.cs
using System;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Metadata;
namespace CCLLC.BTF.Process.CDS
{
using CCLLC.Core;
static class EntityExtensions
{
public... | 2.667131 | 3a0d8f899cce7d24a03894188575e0eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75819 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kidagine/ProjectRoboto",
"max_stars_repo_path": "Assets/Scripts/PlayerScripts/PlayerPosHead.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75820"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerPosHead : MonoBehaviour {
public static bool IsPlayerHeadDead = false;
private GameMaster gm;
private Collider2D playerCollider;
private bool death;
private int knockbackTime ... | 1.715966 | 7eaec9f28631b3414e4f0d42c623b8c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "school-projects-cesi/battle-calculator-api",
"max_stars_repo_path": "BattleCalculator/Settings/JwtSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75821"
} | starcoder | namespace BattleCalculator.Settings
{
public class JwtSettings
{
public string SecretKey { get; set; }
public int Lifespan { get; set; }
}
}
| 1.623502 | 4c8aca296e776efa3ab2f091d3da71f0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75821 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "optivem/optivem-commons-cs",
"max_stars_repo_path": "generator/src/Web/Generator.Web.UI/Pages/Customers/Details.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75822"
} | starcoder | <reponame>optivem/optivem-commons-cs
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Generator.Web.UI.Pages.Customers
{
public class DetailsModel : PageModel
{
public void OnGet()
{
}
}
} | 1.169649 | 2481364a3ad86b4c5d1aa74c5358125d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75822 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MainMa/mockeverything",
"max_stars_repo_path": "MockEverything/Tests/InspectionDemo/PropertiesFromInterface.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75823"
} | starcoder | <reponame>MainMa/mockeverything
using System;
namespace MockEverythingTests.Inspection.Demo
{
public class PropertiesFromInterface : ISampleInterface
{
string ISampleInterface.Name
{
get
{
throw new NotImplementedException();
}
}
}... | 1.600161 | cef0d3c463904d64e335f81daf2a6650 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75823 | {
"extension": "c-sharp",
"max_stars_count": "173.0",
"max_stars_repo_name": "Can-Bot/hackathon22",
"max_stars_repo_path": "SDK/Player/Chips/Game/GameChip.Sprite.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75824"
} | starcoder | <filename>SDK/Player/Chips/Game/GameChip.Sprite.cs
//
// Copyright (c) <NAME>, Pixel Vision 8. All rights reserved.
//
// Licensed under the Microsoft Public License (MS-PL) except for a few
// portions of the code. See LICENSE file in the project root for full
// license information. Third-party libraries used... | 2.547045 | 119a318cfa51d943ca67f11a84689964 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75824 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlphaFinests/SmartSensors",
"max_stars_repo_path": "SmartSensors/SmartSensors.Tests/Controllers/RequestControllerTests/GetSensors_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75825"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SmartSensors.Service.Contracts;
using SmartSensors.Controllers;
using Moq;
using System.Threading.Tasks;
namespace SmartSensors.Tests.Controllers.SensorControllerTests
{
[TestClass]
public class UpdateSensors_Should
{
[TestMet... | 2.135509 | 27d22dc262208f9c8cb1b74fcac874ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShayanFiroozi/PersianDate_Class",
"max_stars_repo_path": "SingoCore_DateTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75826"
} | starcoder | <filename>SingoCore_DateTime.cs
/*******************************************************************
* Forever Persian Gulf , Forever Persia *
* *
* ----> Singonet.ir <---- *
* ... | 2.657534 | 2b0ac73a5028dd6e777e49c6bd0743d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75826 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "MicrosoftArchive/opengax",
"max_stars_repo_path": "GAX/Src/VisualStudio/Package/Properties/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75827"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18213
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | 1.902093 | 7f0f70d28220148984d8745b84248c84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75827 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "garora/EntityFramework",
"max_stars_repo_path": "src/EntityFramework.SqlServer/SqlServerValueGeneratorCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75828"
} | starcoder | <reponame>garora/EntityFramework<gh_stars>1-10
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using JetBrains.Annotations;
using Microsoft.Data.Entity.Identity;
namespace Microsoft.... | 1.360958 | b97539c41ec271fbaa42ea43e4911049 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75828 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "patrickCode/CosmosDB",
"max_stars_repo_path": "CosmosDB/Table/Storage/TableRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75829"
} | starcoder | using System;
using System.IO;
using System.Xml;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.Storage;
using System.Collections.Generic;
using Microsoft.Azure.CosmosDB.Table;
namespace Table.Data
{
public class TableRepository<TElement> : ITableRepository<TElement> where TElement: TableE... | 2.29642 | b3064ff0803e720f0e15bfa4e682fada |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75829 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "doncollins/StardewValleyMods",
"max_stars_repo_path": "CategorizeChests/Config.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75830"
} | starcoder | <filename>CategorizeChests/Config.cs
using Microsoft.Xna.Framework.Input;
namespace StardewValleyMods.CategorizeChests
{
class Config
{
public Keys StashKey { get; set; } = Keys.S;
public bool CheckForUpdates { get; set; } = true;
}
} | 1.641296 | 4893a2aa1b700caa1d393bfdf1429492 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonasSamuelsson/labs",
"max_stars_repo_path": "AspNetCore.OptionalAuth/AspNetCore.OptionalAuth/Authentication/Foobar/FoobarAuthenticationHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75831"
} | starcoder | using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.Net.Http.Headers;
using System.Security.Claims;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
namespace AspNetCore.OptionalAuth.Authentication.Foobar
{
internal class ... | 2.243216 | db8a086720a9ee8a086d862664acd521 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75831 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackobo/jackobs-code",
"max_stars_repo_path": "MockBootstrapper/GGPMock.Core/ViewModels/OkCancelDialogViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75832"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GGPGameServer.ApprovalSystem.Common;
namespace GGPMockBootstrapper.ViewModels
{
public class OkCancelDialogViewModel : ViewModelBase, IOkCancelDialogViewModel
{
public OkCancelDialogViewModel()
... | 2.079636 | 5cf1e09c0d29d6332b95209085f8b8d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 75832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Big-Bro222/Zombie-runner",
"max_stars_repo_path": "Assets/ButtonViewHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:75833"
} | starcoder | <filename>Assets/ButtonViewHandler.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ButtonViewHandler : MonoBehaviour
{
[SerializeField] Color defaultColor;
[SerializeField] Color hoverColor;
[SerializeField] Color selectColor;
private Vector3 originScale... | 2.095752 | 840bb07d2df71ac638e7f72f0775a298 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.