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 | 9937 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "OrionDevelop/Orion",
"max_stars_repo_path": "Source/Orion.Service.GnuSocial/Models/Geo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9938"
} | starcoder | using Newtonsoft.Json;
namespace Orion.Service.GnuSocial.Models
{
public class Geo
{
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("coordinates")]
public double[] Coordinates { get; set; }
}
} | 1.654329 | 9863ad842b19da44209ce0278774b95f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dustinlacewell/Malimbe",
"max_stars_repo_path": "Sources/FodyRunner.UnityIntegration/InspectorEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9939"
} | starcoder | <filename>Sources/FodyRunner.UnityIntegration/InspectorEditor.cs
namespace Malimbe.FodyRunner.UnityIntegration
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Malimbe.MemberChangeMethod;
using UnityEditor;
using UnityEngine;
using Obje... | 2.417414 | 855818f7d0919ac8ad37b23e515f2f3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9939 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "molooh/electro",
"max_stars_repo_path": "src/Uniplug/Cinema4D/C4d/C4dApi/PLUGINTYPE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9940"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.8
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... | 1.043301 | 19d0df88af17215496b0a70e3ab2b8c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9940 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aaasoft/Quick.WpfToolkit",
"max_stars_repo_path": "Xceed.Wpf.DataGrid/Views/(ColumnVirtualization)/ColumnVirtualizationManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9941"
} | starcoder | <filename>Xceed.Wpf.DataGrid/Views/(ColumnVirtualization)/ColumnVirtualizationManager.cs
/*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft P... | 2.097599 | ca520d93ce3276068f88107f14bfc7d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soriano7788/VocabularyCardProject",
"max_stars_repo_path": "VocabularyCard.Web/Filters/AuthAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9942"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Filters;
using System.Web.Security;
using VocabularyCard.Web.Extensions;
namespace VocabularyCard.Web.Filters
{
public class AuthAttribute : ... | 2.19577 | 85028807cc3026ba5ded70c6ebe2df87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9942 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "DFE-Digital/get-into-teaching-api",
"max_stars_repo_path": "GetIntoTeachingApi/Jobs/FindApplySyncJob.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9943"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Flurl;
using Flurl.Http;
using GetIntoTeachingApi.Models.FindApply;
using GetIntoTeachingApi.Services;
using GetIntoTeachingApi.Utils;
using Hangfire;
using Microsoft.Extensions.Logging;
using MoreLinq;
using Promet... | 2.079771 | aa43355e26e381edadcd83b87526d5e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9943 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pmgr/Lumina",
"max_stars_repo_path": "src/Lumina.Excel/GeneratedSheets/FateMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9944"
} | starcoder | <reponame>pmgr/Lumina
// ReSharper disable All
using Lumina.Text;
using Lumina.Data;
using Lumina.Data.Structs.Excel;
namespace Lumina.Excel.GeneratedSheets
{
[Sheet( "FateMode", columnHash: 0x6be0e840 )]
public class FateMode : ExcelRow
{
public uint Unknown0 { get; set; }
public... | 1.983012 | 441ddee7b197f3a48aec37709796db4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9944 | {
"extension": "c-sharp",
"max_stars_count": "119.0",
"max_stars_repo_name": "nikeee/ILSpy",
"max_stars_repo_path": "NRefactory/ICSharpCode.NRefactory.Tests/CSharp/Resolver/ArrayCreateTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9945"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// 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, m... | 2.244112 | 84e1d0489a9d885566ffa8d80ec1dd25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TobyMeehan/TypeQuery",
"max_stars_repo_path": "TypeQuery/MySqlQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9946"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace TypeQuery
{
public class MySqlQuery<T> : SqlQuery<T>
{
protected override SqlQuery<T> CloneQuery()
{
var query = new MySqlQuery<T>();
query.Clauses.AddRange(Clauses);
... | 2.53117 | c0b3fbf532fe8f1cb7b2f25f301c873d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9946 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-shared-packages",
"max_stars_repo_path": "SFA.DAS.Http/SFA.DAS.Http.UnitTests/MessageHandlers/LoggingMessageHandlerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9947"
} | starcoder | using System;
using System.Net.Http;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using SFA.DAS.Http.Logging;
using SFA.DAS.Http.MessageHandlers;
using SFA.DAS.Http.UnitTests.Fakes;
using SFA.DAS.Testing;
namespace SFA.DAS.Http.UnitTests.Me... | 2.064978 | eed48d3c3b67c525edb1692122e0f9c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "atinb/importtest",
"max_stars_repo_path": "TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9948"
} | starcoder | public class Net45Lib
{
}
| 0.479269 | 1d976b40459849e39c509f111c621cd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9948 | {
"extension": "c-sharp",
"max_stars_count": "485.0",
"max_stars_repo_name": "ScriptBox99/reaqtor",
"max_stars_repo_path": "Reaqtor/Samples/Remoting/Reaqtor.Remoting.Deployable/Streams/PartitionedMultisubject{T}.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9949"
} | 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;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq.CompilerServices;
using... | 1.784349 | 1798a7dc0a304482b488ee4a572a887c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9949 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zgynhqf/trunk",
"max_stars_repo_path": "Rafy/Rafy/Env/WCF/CompactMessageEncoder/CompactMessageEncoderFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9950"
} | starcoder | #if NET45
using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel.Channels;
namespace Rafy.WCF
{
internal class CompactMessageEncoderFactory : MessageEncoderFactory
{
/// <summary>
/// Stores the compact message encoder
/// </summary>
priva... | 2.272308 | 95539101601b35da015d4a5e0ee6b71c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9950 | {
"extension": "c-sharp",
"max_stars_count": "836.0",
"max_stars_repo_name": "GFlisch/dotnet-sdk",
"max_stars_repo_path": "src/Dapr.Actors/Communication/ActorMethodDispatcherMap.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9951"
} | starcoder | <gh_stars>100-1000
// ------------------------------------------------------------------------
// Copyright 2021 The Dapr Authors
// 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.847833 | 8e703312d02f2204febc021a34e8688c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9951 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Overrideveloper/SAAS-AIMS",
"max_stars_repo_path": "SAAS-AIMS/Views/Account/Registers.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9952"
} | starcoder | <filename>SAAS-AIMS/Views/Account/Registers.cshtml
@model SAAS_AIMS.Models.RegisterViewModel
@using SAAS_AIMS.Enums
@{
Layout = "~/Views/Shared/_LoginLayout.cshtml";
ViewBag.Title = "Register";
}
@using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" })... | 2.137352 | 59bdff9bfdb814748c32624382fb592f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khiem2/quanlyhocsinh",
"max_stars_repo_path": "cms_form/Web_CMS/ETO/ETO/ChartRound.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9953"
} | starcoder | namespace ETO
{
using System;
public class ChartRound
{
private int _value;
private string chartName;
private DateTime chartpostdate;
private int chartRoundid;
private int chartRoundParentid;
private bool chartstatus;
public string ChartName
... | 2.385798 | c06ddec05cb3d8295f709c77f00b8402 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9953 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Totopolis/console-utils",
"max_stars_repo_path": "src/ConsoleHelpers/KeyValue/KeyValueUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9954"
} | starcoder | using ConsoleHelpers;
using dotnet_etcd;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace KeyValueHelpers
{
public class KeyValueUtils
{
public static KeyValueData Load(string path, bool recursive = false,
bool showProcess = false,... | 2.375974 | 995058efa362d5684a245804341977af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9954 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "jamaravilla/signalfx-dotnet-tracing",
"max_stars_repo_path": "src/Datadog.Trace/Propagation/W3CHeaderNames.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9955"
} | starcoder | // Modified by SignalFx
namespace SignalFx.Tracing.Propagation
{
/// <summary>
/// Names of HTTP headers that can be used tracing inbound or outbound HTTP requests.
/// </summary>
public static class W3CHeaderNames
{
/// <summary>
/// Describes the position of the incoming request i... | 1.890545 | 9d3ffdbbf5695aa93e24aedfa8b260de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9955 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hamidrezahanify/Hann.Application",
"max_stars_repo_path": "src/Hahn.ApplicatonProcess.Application.Data/Context/ApplicationDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9956"
} | starcoder | using Hahn.ApplicatonProcess.Application.Domain.Entities;
using Microsoft.EntityFrameworkCore;
namespace Hahn.ApplicatonProcess.Application.Data.Context
{
public class ApplicationDbContext : DbContext
{
public ApplicationDbContext(DbContextOptions options) : base(options)
{ }
public v... | 1.884678 | 937cbc207700e5f532a299df6b57999a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9956 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "Pomona/Pomona",
"max_stars_repo_path": "app/Pomona.Common/Serialization/SerializerExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9957"
} | starcoder | #region License
// Pomona is open source software released under the terms of the LICENSE specified in the
// project's repository, or alternatively at http://pomona.io/
#endregion
using System;
using System.IO;
using System.Text;
namespace Pomona.Common.Serialization
{
public static class Seriali... | 2.722709 | 4e44f507f72375003b90bd7f7b013291 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9957 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "TrakHound/TrakHound-Api",
"max_stars_repo_path": "src/v2/UnixTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9958"
} | starcoder | <reponame>TrakHound/TrakHound-Api<filename>src/v2/UnixTime.cs<gh_stars>1-10
// Copyright (c) 2020 TrakHound Inc., All Rights Reserved.
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
namespace TrakHound.Api.v2
{
publi... | 2.546365 | 77e8c495a54222d3871434dde8480574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9958 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abjerner/Skybrud.Social.Slack",
"max_stars_repo_path": "src/Skybrud.Social.Slack/Exceptions/SlackHttpException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9959"
} | starcoder | using System.Net;
using Skybrud.Essentials.Http;
using Skybrud.Essentials.Http.Exceptions;
namespace Skybrud.Social.Slack.Exceptions {
/// <summary>
/// Class representing an exception based on an error from the Slack API.
/// </summary>
public class SlackHttpException : SlackException, IHttpException... | 3.041267 | e82eaede3bbb64ac7e03a20fbee6f6ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9959 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BohdanMosiyuk/samples",
"max_stars_repo_path": "snippets/csharp/VS_Snippets_CLR_System/system.threading.thread.join/cs/join1c.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9960"
} | starcoder | // <Snippet3>
using System;
using System.Threading;
public class Example
{
static Thread thread1, thread2;
public static void Main()
{
thread1 = new Thread(ThreadProc);
thread1.Name = "Thread1";
thread1.Start();
thread2 = new Thread(ThreadProc);
thread2.Name = "Thread2... | 3.598672 | 0ce2bf04fdcea68f1cb5e28475d89a97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9960 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uttne/ScoreCompare",
"max_stars_repo_path": "ScoreCompare/Xml/OpeningTag.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9961"
} | starcoder | using System.Collections.Generic;
namespace ScoreCompare.Xml
{
public class OpeningTag : Tag
{
private TagAttributeCollection _attributes;
public string Name { get; }
public TagAttributeCollection Attributes => _attributes ?? (_attributes = new TagAttributeCollection(new TagAttribute[0... | 2.988927 | 6c54a48b823a6b4ab65f3967dce95022 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9961 | {
"extension": "c-sharp",
"max_stars_count": "10964.0",
"max_stars_repo_name": "ewyn72/osu",
"max_stars_repo_path": "osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaPlacementBlueprint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9962"
} | starcoder | <reponame>ewyn72/osu<gh_stars>1000+
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects;
using... | 1.686026 | 15156bd5abb80198f38acfe986dcd5c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9962 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VladislavAntonyuk/Maui",
"max_stars_repo_path": "samples/CommunityToolkit.Maui.Sample/ViewModels/Converters/DoubleToIntConverterViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9963"
} | starcoder | namespace CommunityToolkit.Maui.Sample.ViewModels.Converters;
public class DoubleToIntConverterViewModel : BaseViewModel
{
double _index;
public double Input
{
get => _index;
set => SetProperty(ref _index, value);
}
} | 1.947264 | 337c84dae4a01a5327c01f3cf2980f34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoseLuisRojasAranda/Visual-Practicas",
"max_stars_repo_path": "BotesPesqueros/BotesPesqueros/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9964"
} | starcoder | <reponame>JoseLuisRojasAranda/Visual-Practicas
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BotesPesqueros
{
public partial class Form1... | 2.728488 | 443f85054479ca3df3d0bd62ff4e0554 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KinetonDev/KinetonCarsLog",
"max_stars_repo_path": "Src/Core/KinetonCarsLog.Application/Interfaces/ICarService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9965"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using KinetonCarsLog.Application.Models;
using KinetonCarsLog.Domain.Entities;
namespace KinetonCarsLog.Application.Interfaces
{
public interface ICarService
{
Task<IEnumerable<Car>> GetAllCarsAsync();... | 1.559766 | 79f714ccbb213b94d8394723cf0d2764 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Adjuvant/unity-scripting-workshops",
"max_stars_repo_path": "Assets/_TutorialResources/02-FunctionsDebugging/AnotherScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9966"
} | starcoder | <filename>Assets/_TutorialResources/02-FunctionsDebugging/AnotherScript.cs
using UnityEngine;
public class AnotherScript : MonoBehaviour
{
public int playerScore = 9001;
} | 1.695162 | 68a7c74763a2e52a115a85cf0b56547f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9966 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reflectronic/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/DirectX/um/d3d11/D3D11_VIDEO_DECODER_EXTENSION.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9967"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d11.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.Versioning;
namespace Terr... | 1.353825 | d5305def09d35845da22fc2d0c4f6f51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9967 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnotherPurpleGuy/CSharpScanner",
"max_stars_repo_path": "Scanner/ScannerExceptions/NoMatchFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9968"
} | starcoder | <filename>Scanner/ScannerExceptions/NoMatchFoundException.cs<gh_stars>0
using System;
namespace Scanners.Exceptions
{
public class NoMatchFoundException : Exception
{
public NoMatchFoundException()
{
}
public NoMatchFoundException(string message)
: base(message)... | 2.225645 | ca97b48601505dad9f9e6c1ab52c94ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edmunoz/NiceApi_WholeCode",
"max_stars_repo_path": "NiceApiLibrary/Data_Net__04CheckTelNumbers_File.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9969"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using NiceApiLibrary_low;
namespace NiceApiLibrary
{
class Data_Net__04CheckTelNumbers_File : IData_Net__04CheckTelNumbers_store
{
public String GetInfo(NiceSystemInfo niceSystem)
... | 2.193237 | 1727d5340c288929c244d4520480d5a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9969 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ezergil/coravel",
"max_stars_repo_path": "Src/Coravel.Mailer/Mail/Renderers/RazorRendererFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9970"
} | starcoder | using System.Diagnostics;
using System.IO;
using System.Reflection;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Internal;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
u... | 2.098357 | cace4d307e4d0803e60f86c041db6a97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9970 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MIPT-Oulu/LocalBinaryPattern",
"max_stars_repo_path": "LBP/LBP.UnitTests/Tests/ConversionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9971"
} | starcoder | using System;
using LBPLibrary;
using LBP.UnitTests;
using Accord.Math;
using System.Drawing;
using Xunit;
namespace LBP.UnitTests
{
public class ConversionTests
{
TestImage testImg = new TestImage(); // Initialize testimage function
// Bitmap conversions
[Theory]
[InlineData... | 2.60968 | cc97e27480e1992000fbe419c73cd99c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnktims/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/LightSail/Domain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9972"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 2.153451 | c20a1b3ec2597cb68e12120c9ff33949 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itsoli91/IOT-Vanguard",
"max_stars_repo_path": "src/src/Services/Core/Core.Domain/AggregatesModel/Device/Device.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9973"
} | starcoder | <gh_stars>0
using System;
using System.Buffers.Text;
using System.Text;
using Common.Domain;
namespace Core.Domain.AggregatesModel.Device
{
public class Device : EntityBase
{
public void NewToken()
{
DeviceAccessKey = Convert.ToBase64String(Encoding.UTF8.GetBytes(Guid.NewGuid().ToS... | 1.593397 | f87ce9c11070121b3be6f362a4508d45 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9973 | {
"extension": "c-sharp",
"max_stars_count": "629.0",
"max_stars_repo_name": "Sreejithpin/odata.net",
"max_stars_repo_path": "test/FunctionalTests/Taupo/Source/Taupo/Contracts/Types/DateTimeDataType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9974"
} | starcoder | //---------------------------------------------------------------------
// <copyright file="DateTimeDataType.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------------------... | 3.026815 | 431c7a4b2d5b9ee81a5c39cbaa039603 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9974 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jay184/DebugNET",
"max_stars_repo_path": "DebugNET/DebugNET/PInvoke/FloatingSaveArea.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9975"
} | starcoder | using System.Runtime.InteropServices;
namespace DebugNET.PInvoke {
[StructLayout(LayoutKind.Sequential)]
public struct FloatingSaveArea {
public uint ControlWord;
public uint StatusWord;
public uint TagWord;
public uint ErrorOffset;
public uint ErrorSelector;
pu... | 1.290472 | 6097bf40923b2ef05c8207e206fe72b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9975 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "liuguiyou/JT808Gateway",
"max_stars_repo_path": "src/JT808.DotNetty.Abstractions/Dtos/JT808UnificationSendRequestDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9976"
} | starcoder | namespace JT808.DotNetty.Abstractions.Dtos
{
/// <summary>
/// 统一下发请求参数
/// </summary>
public class JT808UnificationSendRequestDto
{
public string TerminalPhoneNo { get; set; }
public byte[] Data { get; set; }
}
}
| 1.448445 | f15ef14dd18541c49887ba44b3ea4e8e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9976 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ruubmeister/ddd-efteling",
"max_stars_repo_path": "DddEfteling.UnitTests/DddEfteling.ParkTests/Shared/Boundaries/FairyTaleClientTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9977"
} | starcoder | <filename>DddEfteling.UnitTests/DddEfteling.ParkTests/Shared/Boundaries/FairyTaleClientTest.cs<gh_stars>1-10
using DddEfteling.Shared.Boundaries;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using Xunit;
namespace DddEfteling.ParkTests.Shared.Boundaries
{
public cl... | 2.340076 | cd0ae572825342ed5cf11d71b32a41e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "obboylabs/sentinel-chain-explorer-dotnet",
"max_stars_repo_path": "SentinelChain.Explorer/ViewModels/SendTransactionViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9978"
} | starcoder | <filename>SentinelChain.Explorer/ViewModels/SendTransactionViewModel.cs
using System.Threading.Tasks;
using Nethereum.Hex.HexTypes;
using Nethereum.RPC.Eth.DTOs;
using Nethereum.Util;
using Nethereum.Web3;
using SentinelChain.Explorer.Services;
namespace SentinelChain.Explorer.ViewModels
{
public class SendTransa... | 2.358726 | dffe22faf95b6a153e21fc28f244a227 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9978 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paonath/PH.UowEntityFramework",
"max_stars_repo_path": "src/PH.UowEntityFramework/PH.UowEntityFramework.EntityFramework/Audit/AuditInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9979"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace PH.UowEntityFramework.EntityFramework.Audit
{
/// <summary>
/// Entity's audit data
/// </summary>
/// <seealso cref="PH.UowEntityFramework.EntityFramework.Audit.AuditInfoBase" />
public abstract class
... | 2.181607 | 1a5c76d5f3e70a5fe897abffa6a59650 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9979 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "krzycho1024/EntityFrameworkCore",
"max_stars_repo_path": "src/EFCore.Relational/Query/ExpressionTranslators/Internal/EqualsTranslator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9980"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.EntityFrameworkCore.Infrastructure;
using ... | 2.237998 | b91eee34aae3b9c9c1af46a76818525b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9980 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Lin-Deng/TensorFlow.NET",
"max_stars_repo_path": "test/TensorFlowNET.Examples/NaiveBayesClassifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9981"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Tensorflow;
namespace TensorFlowNET.Examples
{
/// <summary>
/// https://github.com/nicolov/naive_bayes_tensorflow
/// </summary>
public class NaiveBayesClassifier : Python, IExample
{
public void Run()
{
... | 1.645222 | 8f22bdfcebbd5416d53964a9320b1b54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9981 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "kreghek/Zilon_Roguelike",
"max_stars_repo_path": "Zilon.Core/Zilon.Core.Tests.Common/Schemes/TestPerkScheme.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9982"
} | starcoder | <reponame>kreghek/Zilon_Roguelike
using System.Diagnostics.CodeAnalysis;
using Zilon.Core.Components;
using Zilon.Core.Schemes;
namespace Zilon.Core.Tests.Common.Schemes
{
[ExcludeFromCodeCoverage]
public sealed class TestPerkScheme : SchemeBase, IPerkScheme
{
public string SystemDescription { ge... | 1.249985 | 2cd82d3dce731179a5b27e49ee5c6120 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9982 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "g-jozsef/mshare",
"max_stars_repo_path": "backend/aspnet/MShare_ASP/API/Request/NewUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9983"
} | starcoder | using FluentValidation;
using MShare_ASP.Data;
using System;
using System.Linq;
namespace MShare_ASP.API.Request
{
/// <summary>Represents a new user to be registered</summary>
public class NewUser
{
/// <summary>Email of the user as in SMTP standard</summary>
public String Email { get; se... | 2.99017 | 1c2ed3977bc268a23f1b9c4a2c101277 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marksvc/libpalaso",
"max_stars_repo_path": "PalasoUIWindowsForms/SettingProtection/SettingsProtectionLauncherButton.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9984"
} | starcoder | namespace Palaso.UI.WindowsForms.SettingProtection
{
partial class SettingsProtectionLauncherButton
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... | 1.747735 | 00cbba45b0948f7c92c408f6430b4e53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9984 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JFouts-BlueModus/kentico-contrib",
"max_stars_repo_path": "src/CMS/CMSModules/OnlineMarketing/Controls/UI/MVTVariant/Edit.ascx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9985"
} | starcoder | using System;
using CMS.DataEngine;
using CMS.DocumentEngine;
using CMS.Helpers;
using CMS.Membership;
using CMS.OnlineMarketing;
using CMS.PortalEngine.Web.UI;
using CMS.UIControls;
public partial class CMSModules_OnlineMarketing_Controls_UI_MVTVariant_Edit : CMSAdminEditControl
{
#region "Propert... | 1.60467 | 93942d11a76f05b5f1fc94ecf06853b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9985 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/LeaseJournalParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9986"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.971189 | 707274da85bede9ed1cb759a09c36093 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9986 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "swpuzhang/CleanGameArchitecture",
"max_stars_repo_path": "Services/Reward/Application/Services/IActivityService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9987"
} | starcoder | <filename>Services/Reward/Application/Services/IActivityService.cs
using Reward.ViewModels;
using Reward.Domain.Entitys;
using Commons.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Commons.DiIoc;
namespace Reward.Application.Services
{
public interf... | 1.550331 | 0420cf7964a79f0e0ecac91b4a6966b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tejasshah7/azure-powershell",
"max_stars_repo_path": "src/Synapse/Synapse/Models/Activity/PSCopySource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9988"
} | starcoder | using Azure.Analytics.Synapse.Artifacts.Models;
using Microsoft.WindowsAzure.Commands.Utilities.Common;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Microsoft.Azure.Commands.Synapse.Models
{
public class PSCopySource
{
public PSCopySource() { }
[JsonProperty(P... | 2.121858 | 233038cfb8c034418fb0d234d9823ade |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9988 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bravecollective/doctrine-contracts",
"max_stars_repo_path": "DoctrineShips.Repository/Operations/ShortUrlOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9989"
} | starcoder | namespace DoctrineShips.Repository.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using DoctrineShips.Entities;
using GenericRepository;
internal sealed class ShortUrlOperations
{
private readonly IUnitOfWork unitOfWork;
internal ShortUrlOp... | 2.87749 | 89b98ad18fcdcbed466d11f0344719af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9989 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jarrey/MagicLockScreen",
"max_stars_repo_path": "src/MagicLockScreen.Service.InterfaceLIFTService/InterfaceLIFTServiceChannel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9990"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using MagicLockScreen_Helper;
using MagicLockScreen_Service_InterfaceLIFTService.Models;
using NoteOne_Core;
using NoteOne_Core.Common.Models;
using NoteOne_Utility.Converters;
using NoteOne_Utility.Extensions;
using Windows.Data.Xml... | 1.998156 | fc32cbf59f7ac14cb38bc0359228fb8f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9990 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "creative-cloud/cake",
"max_stars_repo_path": "src/Cake.Core.Tests/Unit/Diagnostics/CakeBuildLogTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9991"
} | 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;
using Cake.Core.Diagnostics;
using Cake.Testing;
using NSubstitute;
using Xunit;
namespace Cake.Core... | 2.330046 | 613dae7bef3bec1f8583844f589ce627 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9991 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mnadareski/ZPAQSharp",
"max_stars_repo_path": "ZPAQSharp/Compiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9992"
} | starcoder | <gh_stars>1-10
using System;
using System.Text;
namespace ZPAQSharp
{
// Input ZPAQL source code with args and store the compiled code
// in hz and pz and write pcomp_cmd to out2.
class Compiler
{
// Compile a configuration file. Store COMP/HCOMP section in hcomp.
// If there is a PCOMP section, store it in p... | 2.322071 | 458d83899497718e6487fc1080d8e0c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/Fibrous",
"max_stars_repo_path": "Fibrous/Fibers/LockFiber.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9993"
} | starcoder | <filename>Fibrous/Fibers/LockFiber.cs
using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace Fibrous
{
public class LockFiber : FiberBase
{
private readonly ArrayQueue<Action> _queue;
private readonly TaskFactory _taskFactory;
private readonly Acti... | 2.801773 | e4561b0e1635b679be16d036be73f58f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9993 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "gugadev/LibrePOS",
"max_stars_repo_path": "core/LibrePOS/Types/EmissionPointPagination.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9994"
} | starcoder | using System;
using Microsoft.AspNetCore.Mvc;
namespace Pos.Types
{
public class EmissionPointPagination
{
[FromQuery(Name = "page")]
public int Page { get; set; }
[FromQuery(Name = "quantity")]
public int Quantity { get; set; }
public string IsActive { get; set; }
... | 1.882393 | 5844f6cbf91f1ce8c22015f624b5868e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pavsavov/SuperCharactersApp",
"max_stars_repo_path": "src/Web/SuperCharacters.Web/Views/Character/Partials/_EditCharacterSuperPowers.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:9995"
} | starcoder | @model IEnumerable<SuperCharactersApp.ViewModels.DTO.SuperPowerViewModels.SuperPowersListingViewModel>
@{
var maxNumberSuperpowersPerCharacter = 3;
}
<div class="form-group row col-md-12">
<form method="post">
<span>Choose new set of superpowers:</span>
@for (int i = 0; i < maxNumberSuperpower... | 2.737937 | 5dbe69f4a751d27eef264433830ede48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9995 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "danielchalmers/command-line-api",
"max_stars_repo_path": "src/System.CommandLine/IIdentifierSymbol.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9996"
} | starcoder | <filename>src/System.CommandLine/IIdentifierSymbol.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace System.CommandLine
{
/// <summary>
//... | 2.809076 | 0770e4b23106839bd90b86c7e2579676 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9996 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "configit-open-source/csmerge",
"max_stars_repo_path": "SlnTools/CWDev.SLNTools.Core.dll/Merge/NodeConflict.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9997"
} | starcoder | <reponame>configit-open-source/csmerge<gh_stars>1-10
#region License
// SLNTools
// Copyright (c) 2009
// 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, in... | 1.819644 | 4b08719e685979efb7b5921f2d85be15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9997 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jweissBHG/Amazon",
"max_stars_repo_path": "src/Amazon.Sts/Actions/AssumeRoleWithWebIdentityResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9998"
} | starcoder | #nullable disable
using System.Xml.Serialization;
namespace Amazon.Sts
{
public sealed class AssumeRoleWithWebIdentityResponse : IStsResponse
{
[XmlElement]
public AssumeRoleWithWebIdentityResult AssumeRoleWithWebIdentityResult { get; set; }
}
public class AssumeRoleWit... | 1.527621 | 1f967e3668e7c63f8196cf912f6fcbd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9998 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Orinion/MR-Collab-Framework",
"max_stars_repo_path": "AR/CustomObserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:9999"
} | starcoder | using Microsoft.MixedReality.Toolkit;
using Microsoft.MixedReality.Toolkit.SpatialAwareness;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class CustomObserver : LocalDataSender<MeshData>, IProgressInterface
{
IEnumerator<SpatialAwarenessMeshObject> myMeshes = null;
private i... | 2.390499 | 0c89a78980b54807caabe84ad5e388a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 9999 | {
"extension": "c-sharp",
"max_stars_count": "535.0",
"max_stars_repo_name": "fantasydr/DiscUtils",
"max_stars_repo_path": "Library/DiscUtils.Iscsi/TargetAddress.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10000"
} | starcoder | //
// Copyright (c) 2008-2011, <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, merge, publis... | 2.693951 | 4c82a6387a480bd0a91d5c45124d00e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10000 | {
"extension": "c-sharp",
"max_stars_count": "461.0",
"max_stars_repo_name": "RichLogan/unity-atoms",
"max_stars_repo_path": "Packages/InputSystem/Editor/Drawers/Events/InputAction_CallbackContextEventDrawer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10001"
} | starcoder | <gh_stars>100-1000
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.InputSystem.Editor
{
/// <summary>
/// Event property drawer of type `InputAction.CallbackContext`. Inherits from `AtomDrawer<InputAction_CallbackContextEvent>`. Only availble in `UNITY_2019_1_OR... | 1.555327 | 00a90531b0275bfdd28e048759d86918 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10001 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "startrunner/shano-mvvm",
"max_stars_repo_path": "src/ShanoMVVM/ShanoLibraries.MVVM.NetStandard/DependencyInjection/IDependencyProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10002"
} | starcoder | <filename>src/ShanoMVVM/ShanoLibraries.MVVM.NetStandard/DependencyInjection/IDependencyProvider.cs
using System;
namespace ShanoLibraries.MVVM.DependencyInjection
{
/// <summary>
/// An abstraction over an IOC container to be used by <see cref="InjectingViewModel"./>
/// Implemented by <see cref="Dependen... | 2.605196 | 0f62bec59958cbbd07cceba82297860d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simonauner/knightbus",
"max_stars_repo_path": "knightbus-azurestorage/src/KnightBus.Azure.Storage/Singleton/BlobLockManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10003"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using KnightBus.Core.Singleton;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
namespace KnightBus.Azure.Storage.Singleton
{
internal class BlobLockManager : ISingletonLockManager
{
private readonly s... | 2.373505 | ec5f982f86eb701748bd83eaa1e6dec0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shash431/testing-c-",
"max_stars_repo_path": "OcarambaLite/DriverContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10004"
} | starcoder | // <copyright file="DriverContext.cs" company="Objectivity Bespoke Software Specialists">
// Copyright (c) Objectivity Bespoke Software Specialists. All rights reserved.
// </copyright>
// <license>
// The MIT License (MIT)
// Permission is hereby granted, free of charge, to any person obtaining a copy
// o... | 1.893722 | c7366bf84e862e27fb4afbe9c8aa489e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10004 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi-bot/pulumi-azure-native",
"max_stars_repo_path": "sdk/dotnet/BotService/Latest/Inputs/FacebookChannelPropertiesArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10005"
} | starcoder | <filename>sdk/dotnet/BotService/Latest/Inputs/FacebookChannelPropertiesArgs.cs
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
u... | 1.856141 | af21f63da9ac67582372fa103dfe9294 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10005 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Devin0xFFFFFF/singed-feathers",
"max_stars_repo_path": "CoreGame/Utility/TurnMergeUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10006"
} | starcoder | <gh_stars>1-10
using CoreGame.Models;
using System.Collections.Generic;
using System.Linq;
namespace CoreGame.Utility {
public class TurnMergeUtility {
private TurnMergeUtility() { }
public static List<Delta> SortDeltas(List<Delta> deltas) { return deltas.OrderBy(delta => delta.Command).ToList();... | 2.011463 | f38c5ccff18b81a8702b1ef2c86ef810 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10006 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Octadesk-Tech/vCardLib",
"max_stars_repo_path": "vCardLib.Tests/ModelTests/GeoTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10007"
} | starcoder | <reponame>Octadesk-Tech/vCardLib
using NUnit.Framework;
using vCardLib.Models;
namespace vCardLib.Tests.ModelTests
{
[TestFixture]
public class GeoTests
{
public void PropertiesTest()
{
Assert.DoesNotThrow(
delegate
{
var geo ... | 1.613946 | e78264341fe96105ca6f3f451fdd0de0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10007 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "leegoonz/Maya-devkit",
"max_stars_repo_path": "win/devkit/dotnet/examples/undoRedoMsgCmd/undoRedoMsgCmd.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10008"
} | starcoder | // ==================================================================
// Copyright 2012 Autodesk, Inc. All rights reserved.
//
// This computer source code and related instructions and comments are
// the unpublished confidential and proprietary information of Autodesk,
// Inc. and are protected under appli... | 2.237762 | b3ca56a9c43e217218a74341875edbf5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petyodelta/CSharp-PartOne-Homework",
"max_stars_repo_path": "OperatorsAndExpressionsHomework/7. PointInACircle/PointInACircle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10009"
} | starcoder | //Write an expression that checks if given point (x, y) is inside a circle K({0, 0}, 2).
using System;
class PointInACircle
{
static void Main()
{
Console.Write("Enter point coordinate x=");
double x = double.Parse(Console.ReadLine());
Console.Write("Enter point coordinate y=");
... | 3.988787 | c7e425d0ef2fe57325a128788bc87498 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brandio/spellLike",
"max_stars_repo_path": "dungeons of spell/Assets/Scripts/Ai/PathingObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10010"
} | starcoder | <filename>dungeons of spell/Assets/Scripts/Ai/PathingObject.cs
using UnityEngine;
using System.Collections;
public interface PathingObject {
PathFindingNode GetPosition();
Transform GetTransform();
}
| 1.57003 | 962750b60cd3703c9a82c43bd9444341 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10010 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zach-v/Deeper",
"max_stars_repo_path": "top-down-shooter/Assets/Scripts/ManagerScripts/BiomeManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10011"
} | starcoder | <reponame>zach-v/Deeper<gh_stars>0
using Assets.Scripts.Components;
using ProceduralNoiseProject;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BiomeManager : MonoBehaviour
{
public enum Biome
{
Void, Planes, Swamp, Forest, Hell
}
public EnvironmentGene... | 2.269921 | dcd3cb7a41cf4f6e132445e215d36bc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10011 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "digitaldrummerj/developerproductivity",
"max_stars_repo_path": "ExpensesDemo/Expenses.Data/Data/ExpensesContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10012"
} | starcoder | <gh_stars>10-100
using System.Data.Entity;
namespace Expenses.Data
{
public class ExpensesContext : DbContext
{
public ExpensesContext()
: base("name=DefaultConnection")
{
Database.SetInitializer<ExpensesContext>(new ExpensesContextInitializer());
}
pro... | 2.555677 | 1d4ee0f9b89d30447386d2bc8e6df922 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10012 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/class/System.Web/Test/System.Web.UI.WebControls/TargetConverterTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10013"
} | starcoder | <filename>mcs/class/System.Web/Test/System.Web.UI.WebControls/TargetConverterTest.cs
//
// Tests for System.Web.UI.WebControls.TargetConverter.cs
//
// Author:
// <NAME> (<EMAIL>)
//
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtainin... | 2.070138 | de6a3c6e2d0d09cf70f77d1d83e2a46d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10013 | {
"extension": "c-sharp",
"max_stars_count": "11580.0",
"max_stars_repo_name": "BSoDGamingYT/Ryujinx",
"max_stars_repo_path": "Ryujinx.HLE/HOS/Services/Audio/IAudioOutManagerForDebugger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10014"
} | starcoder | namespace Ryujinx.HLE.HOS.Services.Audio
{
[Service("audout:d")]
class IAudioOutManagerForDebugger : IpcService
{
public IAudioOutManagerForDebugger(ServiceCtx context) { }
}
} | 0.876349 | 9e51046557140f58ca5f8859017b2dfe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10014 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Hobbs1210/Topshelf.Lamar",
"max_stars_repo_path": "Tests/Topshelf.Common.Tests/SampleRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10015"
} | starcoder | <reponame>Hobbs1210/Topshelf.Lamar<filename>Tests/Topshelf.Common.Tests/SampleRegistry.cs
using Lamar;
using Quartz;
using System;
using Moq;
namespace Topshelf.Common.Tests
{
public class SampleRegistry : ServiceRegistry
{
public SampleRegistry()
{
For<ISampleDependency>().Use<Sam... | 1.083633 | f4feab01384f846c7487c31a36e32fd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10015 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "corneliudascalu/operation-cronos",
"max_stars_repo_path": "1mai/WindowsGame1/GameInterface/BuildingPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10016"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace Operation_Cronos.Display {
public partial class BuildingPanel : InputVisualComponent, ISliding {
public event EventHandler OnPanelOpened = delegate { };
public ... | 2.237892 | 93b684fa65c110d177950aa341010d4e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10016 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "garyhertel/VideoGamesDB",
"max_stars_repo_path": "Libraries/VideoGamesDB.Tabs/TabVideoGameCharts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10017"
} | starcoder | <gh_stars>1-10
using Atlas.Core;
using Atlas.Tabs;
namespace VideoGamesDB.Tabs
{
public class TabVideoGameCharts : ITab
{
public Database Database;
public TabVideoGameCharts(Database database)
{
Database = database;
}
public TabInstance Create() => new Instance(this);
public class Instance : TabIn... | 2.45373 | 12cd4aef93c34356e510870eeea70e16 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HemanthRj96/Repos-UtilitiesPackage",
"max_stars_repo_path": "UtilityPackage/Assets/FFG/Core Modules/Singletons/Singleton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10018"
} | starcoder | using UnityEngine;
namespace FFG.Utils
{
public class Singleton<T> : MonoBehaviour where T : Singleton<T>
{
public static T instance;
[SerializeField]
private bool doNotDestroyOnLoad = true;
protected void Awake()
{
if (instance != null)
De... | 2.574928 | a76102a3be4a7cf2b8ecda5246a427e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10018 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tsymiar/----",
"max_stars_repo_path": "Client/Assets/Scripts/Resource/LightmapHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10019"
} | starcoder | using UnityEngine;
using System.Collections;
namespace BlGame.Resource
{
public class LightmapHelper : MonoBehaviour
{
public int lightmapIndex;
public float x;
public float y;
public float z;
public float w;
void Start()
{
MeshRenderer rende... | 2.160546 | 2a2abc983952a2cfa304d01ffa29986d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10019 | {
"extension": "c-sharp",
"max_stars_count": "52.0",
"max_stars_repo_name": "bobbyangers/XrmUnitTest",
"max_stars_repo_path": "NMemory.Base/Exceptions/ForeignKeyViolationException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10020"
} | starcoder | // ----------------------------------------------------------------------------------
// <copyright file="ForeignKeyViolationException.cs" company="NMemory Team">
// Copyright (C) 2012-2014 NMemory Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software a... | 2.062304 | 63eca68667a9444b5f31fe98bc7728bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10020 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LykkeCity/Lykke.Service.KycSpider",
"max_stars_repo_path": "client/Lykke.Service.KycSpider.Client/KycSpiderServiceClientSettings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10021"
} | starcoder | <filename>client/Lykke.Service.KycSpider.Client/KycSpiderServiceClientSettings.cs
using Lykke.SettingsReader.Attributes;
namespace Lykke.Service.KycSpider.Client
{
/// <summary>
/// KycSpider client settings.
/// </summary>
public class KycSpiderServiceClientSettings
{
/// <summary>Servi... | 1.736647 | 78f5fe29da65d781e9dabb1ba48ba7ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10021 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "mind0n/hive",
"max_stars_repo_path": "Product/Server/Logging/Json/Attributes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10022"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace CoreJson
{
public class JsonIgnoreAttribute : Attribute
{
}
public class MethodAttribute : Attribute
{
public virtual object[] OnInv... | 2.623549 | f53b57553723029196493e45f25f9043 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10022 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "millinon/SillyVM",
"max_stars_repo_path": "Examples/Conversion/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10023"
} | starcoder | using System;
using System.Collections.Generic;
using SillyVM;
namespace Driver
{
class Program
{
static void Main(string[] args)
{
VirtualMachine VM = new VirtualMachine();
var r0 = VM.AddRegister("R0");
var Program = new List<Instruction>(){
... | 2.831779 | 035f9aae9e9a140af6a9e880c7ed795f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10023 | {
"extension": "c-sharp",
"max_stars_count": "73.0",
"max_stars_repo_name": "xoniuqe/EntityFrameworkCore.Jet",
"max_stars_repo_path": "test/EFCore.Jet.IntegrationTests/Model04_Guid/CarsContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10024"
} | starcoder | using System;
using System.Data.Common;
using EntityFrameworkCore.Jet;
using Microsoft.EntityFrameworkCore;
namespace EntityFrameworkCore.Jet.IntegrationTests.Model04_Guid
{
public class CarsContext : DbContext
{
public CarsContext(DbContextOptions options) : base(options)
{
}
... | 2.047504 | 2a9a052a6e4e1dce676ae6903ba29515 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10024 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stoian1929/Exam-Project",
"max_stars_repo_path": "Football/Views/Football/Edit.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:10025"
} | starcoder | <reponame>stoian1929/Exam-Project<gh_stars>0
@model Football.Models.Footballs.Edit
@{
ViewBag.Title = "Edit";
}
<div class="container">
<div class="well">
<h2>Delete</h2>
@using (Html.BeginForm("Edit", "Football", FormMethod.Post))
{
@Html.EditorForModel();
<di... | 2.075707 | 1dbac9b7745f36253f8e9d43ee88d95b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10025 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdeprato/EntityFrameworkCoreGraph",
"max_stars_repo_path": "src/TestConsoleApp/ScaffoldedContext/Node1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10026"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace TestConsoleApp.ScaffoldedContext
{
public partial class Node1
{
public string NodeId { get; set; }
public int Id { get; set; }
public string Name { get; set; }
}
}
| 1.228023 | 19ab30887e5e71e8033857b8670a3215 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10026 | {
"extension": "c-sharp",
"max_stars_count": "419.0",
"max_stars_repo_name": "vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/CardGetResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10027"
} | starcoder | <reponame>vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat<filename>src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/CardGetResponse.cs
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /card/get 接口的响应。</para>
/// </summary>
public class CardGetResponse : WechatApiResponse... | 2.09479 | 1035123a725f55261fbe9c1be1be5537 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10027 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JackAndrewMcKay/SeeSharpLib",
"max_stars_repo_path": "SeeSharpLib/Manipulation/IGrayscaleImageManipulation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10028"
} | starcoder | <reponame>JackAndrewMcKay/SeeSharpLib
using SeeSharpLib.Images;
namespace SeeSharpLib.Manipulation
{
public interface IGrayscaleImageManipulation<TPixel>
{
/// <summary>
/// Apply the manipulation to the specified image.
/// </summary>
/// <param name="image">The image to be modified.</param>
void ApplyTo... | 2.095473 | 3316fe6009bce206607afb8f71d63465 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10028 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cpacalevcc/currencycloud-net",
"max_stars_repo_path": "Source/CurrencyCloud/Entity/SettlementAccount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10029"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace CurrencyCloud.Entity
{
public class SettlementAccount : Entity
{
public SettlementAccount() { }
public string BankAccountHolderName { get; set; }
public List<string> BeneficiaryAddress { get; set; }... | 2.472318 | 1d46935f7215ce1d47d53f2b2eb80f65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10029 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Bartlett-RC3/skilling-module-1-JoyceRen0116",
"max_stars_repo_path": "Assets/Scripts/Homework/JoyceRen4/Distroy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10030"
} | starcoder | <filename>Assets/Scripts/Homework/JoyceRen4/Distroy.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Distroy : MonoBehaviour
{
// variables
private Vector3 minScale;
public Vector3 maxScale;
public bool repeatable;
public float speed = 2... | 2.609587 | ee0b5cdbc05b684154f8219e60fef5de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10030 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "Zechsu/OpenNefia",
"max_stars_repo_path": "OpenNefia.Core/Input/InputContextContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10031"
} | starcoder | <filename>OpenNefia.Core/Input/InputContextContainer.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace OpenNefia.Core.Input
{
/// <summary>
/// Contains a set of created <see cref="InputCmdContext"/>s.
/// </summary>
public interfac... | 2.715776 | 94754202f796ec828b6bbf40a216b43d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10031 | {
"extension": "c-sharp",
"max_stars_count": "149.0",
"max_stars_repo_name": "EasyAbp/Shop",
"max_stars_repo_path": "modules/EasyAbp.EShop.Payments/test/EasyAbp.EShop.Payments.MongoDB.Tests/MongoDB/PaymentsMongoDbTestBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10032"
} | starcoder | namespace EasyAbp.EShop.Payments.MongoDB
{
/* This class can be used as a base class for MongoDB integration tests,
* while SampleRepository_Tests uses a different approach.
*/
public abstract class PaymentsMongoDbTestBase : PaymentsTestBase<EShopPaymentsMongoDbTestModule>
{
}
} | 1.445396 | b9a0e738a5436d20560351f0601aa9b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10032 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "Jetski5822/NGM.Forum",
"max_stars_repo_path": "ViewModels/ThreadCloseAdminViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10033"
} | starcoder | namespace NGM.Forum.ViewModels {
public class ThreadCloseAdminViewModel {
public int ThreadId { get; set; }
public string Description { get; set; }
}
} | 1.33811 | a0273333c0fbbe462e366783f91f669a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10033 | {
"extension": "c-sharp",
"max_stars_count": "1451.0",
"max_stars_repo_name": "nivalxer/AspectCore-Framework",
"max_stars_repo_path": "src/AspectCore.Extensions.DataValidation/DataValidationInterceptorAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10034"
} | starcoder | using System;
using System.Reflection;
using System.Threading.Tasks;
using AspectCore.DynamicProxy;
using AspectCore.Extensions.Reflection;
namespace AspectCore.Extensions.DataValidation
{
public class DataValidationInterceptorAttribute : AbstractInterceptorAttribute
{
public override bool AllowMultip... | 2.253277 | c39d5345485caa6656e6fdbc7844886d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10034 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niku-live/UncommonSense.CBreeze",
"max_stars_repo_path": "CBreeze/UncommonSense.CBreeze.Core/Property/Implementation/RunObjectProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10035"
} | starcoder | namespace UncommonSense.CBreeze.Core.Property.Implementation
{
public class RunObjectProperty : ReferenceProperty<RunObject>
{
internal RunObjectProperty(string name)
: base(name)
{
}
public override bool HasValue
{
get
{
... | 2.047364 | 85afe33c751d8ff9d4351e833cd735d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10035 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "singhmi4/rawaccel",
"max_stars_repo_path": "grapher/Models/Serialized/SettingsManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10036"
} | starcoder | <filename>grapher/Models/Serialized/SettingsManager.cs
using Newtonsoft.Json;
using System;
using System.Windows.Forms;
using System.Threading;
using System.Text;
namespace grapher.Models.Serialized
{
public class SettingsManager
{
#region Constructors
public SettingsManager(
Mana... | 2.69102 | 9af26ccc82b692634248f801cfb2ec4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10036 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "realLiangshiwei/ofo",
"max_stars_repo_path": "Amap.Web/ApiUrls.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10037"
} | starcoder | namespace Amap.Web
{
/// <summary>
/// API接口地址
/// </summary>
public class ApiUrls
{
/// <summary>
/// 获取行走路线
/// </summary>
public const string GetWalkingRoute = "https://restapi.amap.com/v3/direction/walking";
/// <summary>
/// 获取地址详情
/// <... | 1.937677 | 3d778c2627177d356d601a9f90d57644 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.