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 | 10237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rejemy/serverville-client-unity",
"max_stars_repo_path": "Assets/ServervilleClient/json/Converters/JsonDateTimeSerializationMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10238"
} | starcoder | <reponame>rejemy/serverville-client-unity<filename>Assets/ServervilleClient/json/Converters/JsonDateTimeSerializationMode.cs
#if !UNITY_WINRT || UNITY_EDITOR || (UNITY_WP8 && !UNITY_WP_8_1)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Newtonsoft.Json.Converters... | 2.528595 | f3413ded5088184286395b458db1dcd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xueandfeng/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-ccc/CCC/Model/V20170705/ListCallEventDetailByContactIdResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10239"
} | 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 ... | 1.411884 | ff40ac337fc21c53c11f72fdecd23720 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UghThatGuyAgain/RiotSharp",
"max_stars_repo_path": "RiotSharp/Http/RateLimitedRequester.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10240"
} | starcoder | <filename>RiotSharp/Http/RateLimitedRequester.cs
using RiotSharp.Http.Interfaces;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using RiotSharp.Misc;
using System;
namespace RiotSharp.Http
{
/// <summary>
/// A requester with a rate limiter
/// <... | 2.608611 | 570d9e20650d489adc6912a883845599 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10240 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brpanask/azure-sdk-for-net",
"max_stars_repo_path": "sdk/keyvault/Azure.Security.KeyVault.Secrets/src/SecretClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10241"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.Pipeline;
namespace Azure.Security.KeyVault.Secrets
{
/// <summary>
/// The SecretClient provides synchronous ... | 2.263963 | e6d416c34e4fc2bd06660ac70fbaec6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10241 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devmaestro1/Eto",
"max_stars_repo_path": "src/Eto.Mac/Forms/Printing/PrintDialogHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10242"
} | starcoder | using System;
using Eto.Forms;
#if XAMMAC2
using AppKit;
using Foundation;
using CoreGraphics;
using ObjCRuntime;
using CoreAnimation;
#else
using MonoMac.AppKit;
using MonoMac.Foundation;
using MonoMac.CoreGraphics;
using MonoMac.ObjCRuntime;
using MonoMac.CoreAnimation;
#endif
namespace Eto.Mac.Forms.Printing
{
pub... | 2.002414 | aeebed1873c7ce54f45ab485e531a831 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10242 | {
"extension": "c-sharp",
"max_stars_count": "329.0",
"max_stars_repo_name": "coderIML/850.roadkillwiki.net",
"max_stars_repo_path": "src/Roadkill.Core/DependencyResolution/StructureMap/StructureMapServiceLocator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10243"
} | starcoder | <reponame>coderIML/850.roadkillwiki.net
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.Http.Dependencies;
using Microsoft.Practices.ServiceLocation;
using StructureMap;
using StructureMap.Pipeline;
using IDependencyResolver = System.Web.Mvc.... | 1.951507 | 546b873fac179740643e19ad1b6766d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Divya1384/designpatterns",
"max_stars_repo_path": "Structural/DecoratorPattern/Decorator/SteamedMilk.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10244"
} | starcoder | namespace DecoratorPattern.Decorator
{
public class SteamedMilk : ICondiment
{
private IBeverage _beverage;
public string Description { get; set; }
public SteamedMilk(IBeverage beverage)
{
_beverage = beverage;
Description = beverage.Description + " St... | 3.589181 | 3c5ce9eeb8720c9ffa4a60d9d5c0e420 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cannelle-plus/glowing-wookie",
"max_stars_repo_path": "src/glowing.projections/GamesListProjection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10245"
} | starcoder | using EventStore.ClientAPI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using glowing.core;
using System.Net;
using EventStore.ClientAPI.SystemData;
using System.Configuration;
namespace glowing.projections
{
public cl... | 2.333885 | 32337fbc1c1a3bb3a0c0a1777805f6ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10245 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "knocte/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Build.Tasks/MethodReferenceExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10246"
} | starcoder | <gh_stars>10-100
using System;
using Mono.Cecil;
namespace Xamarin.Forms.Build.Tasks
{
static class MethodReferenceExtensions
{
public static MethodReference ResolveGenericParameters(this MethodReference self, TypeReference declaringTypeRef,
ModuleDefinition module)
{
if (self == null)
throw new Argume... | 2.485603 | 6babcd99194a393d0e877f8dd05fb41f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PDNemesis/Simple.OData.Client",
"max_stars_repo_path": "src/Simple.OData.Client.Core/Session.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10247"
} | starcoder | <reponame>PDNemesis/Simple.OData.Client<filename>src/Simple.OData.Client.Core/Session.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Simple.OData.Client
{
class Session : ISession
{
... | 2.287974 | 9a9949aeb2aeedc325fd35e7d2a517fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "3DI70R/MeshCanvas",
"max_stars_repo_path": "Scripts/IMeshWorldTexelExtractor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10248"
} | starcoder | using System;
using UnityEngine;
namespace ThreeDISevenZeroR.MCanvas
{
/// <summary>
/// Class which handles world texel texture creation
/// </summary>
public interface IMeshWorldTexelExtractor : IDisposable
{
/// <summary>
/// Extract world positions for mesh texels and store it i... | 2.400799 | 862016497fb5e258d616fec43457d484 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10248 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "shellscape/Shellscape.Common",
"max_stars_repo_path": "Shellscape.Common/Utilities/BrowserHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10249"
} | starcoder | <reponame>shellscape/Shellscape.Common
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Win32;
namespace Shellscape.Utilities {
public class BrowserHelper {
public static Browser DefaultBrowser {
get {
using (RegistryKey key = Registry.CurrentUser.Open... | 2.902862 | ee29943c5187c8e00c5c1b543ff0be2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itn3000/Fos",
"max_stars_repo_path": "Fos/Listener/FosRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10250"
} | starcoder | <gh_stars>0
using System;
using FastCgiNet;
using Fos.Owin;
using Fos.Logging;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
using System.IO;
using FastCgiNet.Streams;
using System.Net.Sockets;
namespace Fos.Listener
{
internal delegate void SocketClosed();
internal clas... | 2.227818 | 8511e1e858374044c585c3c84d356129 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10250 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "6en6ar/SpartanX_RS2_Seminarski",
"max_stars_repo_path": "SpartanX/SpartanX/Mapping/SpartanXProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10251"
} | starcoder | using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SpartanX.Mapping
{
public class SpartanXProfile : Profile
{
public SpartanXProfile()
{
CreateMap<Database.Korisnici, ModelSpartanX.Korisnici>().ReverseMap();... | 1.89433 | b6e04c640c2ef8d6dd5e8bc3f634f595 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10251 | {
"extension": "c-sharp",
"max_stars_count": "697.0",
"max_stars_repo_name": "clinuxrulz/sodium",
"max_stars_repo_path": "book/petrol-pump/c#/PetrolPump/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10252"
} | starcoder | using System.Threading.Tasks;
using System.Windows;
namespace PetrolPump
{
public partial class App
{
protected override void OnStartup(StartupEventArgs e)
{
// ensure unhandled exceptions on task pool threads aren't swallowed
TaskScheduler.UnobservedTaskException += (s... | 2.329726 | fa1a20031b9bd2b2eca33bbfd355da96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pkar70/Xamarin.OneDrive.Connector",
"max_stars_repo_path": "srcs/Xamarin.OneDrive.Connector.Files/Search/Client.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10253"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Xamarin.OneDrive.Files
{
partial class Extender
{
public static async Task<List<FileData>> SearchFilesAsync(this Xamarin.OneDrive.Connector connector, string searchText, int top = 100)
{
... | 2.769649 | f5dd84f101cb09d434effdecf1d4ee69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10253 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JakubK/Files",
"max_stars_repo_path": "src/Files.Backend/Models/Imaging/ImageModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10254"
} | starcoder | <gh_stars>1-10
#nullable enable
using System.Collections.Generic;
namespace Files.Backend.Models.Imaging
{
public abstract class ImageModel : ICustomFormattable
{
public virtual IReadOnlyCollection<string>? Formats { get; }
public virtual void AppendFormat(string formatInfo) { }
}
}
| 1.684696 | 49efa73c764fe2df6443a54c026010e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miltador-forks/aws-sdk-net",
"max_stars_repo_path": "sdk/test/UnitTests/Generated/Marshalling/LambdaMarshallingTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10255"
} | starcoder | <reponame>miltador-forks/aws-sdk-net
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.ama... | 1.163049 | c4952264121c6a22259b49376659a12b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10255 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/insights/Azure.ResourceManager.Insights/src/Generated/Models/AzureFunctionReceiver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10256"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net<filename>sdk/insights/Azure.ResourceManager.Insights/src/Generated/Models/AzureFunctionReceiver.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.... | 1.998929 | e9c54465f71c0d809dfc3c7b19ab6194 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10256 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "syntaxonline-rewhitley/elsa-core",
"max_stars_repo_path": "src/persistence/Elsa.Persistence.EntityFrameworkCore/DbContexts/MySqlContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10257"
} | starcoder | <gh_stars>1-10
using Microsoft.EntityFrameworkCore;
namespace Elsa.Persistence.EntityFrameworkCore.DbContexts
{
public class MySqlContext : ElsaContext
{
public MySqlContext(DbContextOptions<MySqlContext> options) : base(options)
{
}
}
} | 1.360877 | 4f34aea24fae2addf8876b69d9e4ee49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10257 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Jellyfrog/PowerShell",
"max_stars_repo_path": "src/Microsoft.PowerShell.LocalAccounts/LocalAccounts/LocalGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10258"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.PowerShell.LocalAccounts;
namespace Microsoft.PowerShell.Commands
{
/// <summary>
/// Describes a Local Group.
/// Objects of this type are provided to and returned from group-rel... | 2.6656 | 197e8de637078780590990909d5f461c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10258 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "matteofabbri/Workday.WebServices",
"max_stars_repo_path": "Workday.ResourceManagement/Internal_Catalog_Request_ReferencesType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10259"
} | starcoder | using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace Workday.ResourceManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace... | 1.628421 | 2417125db94d62a46e7d9839fe217929 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rusmass/wealthland_client",
"max_stars_repo_path": "arpg_prg/nativeclient_prg/Assets/Code/Client/UI/UIFeedBackWindow/UIFeedBackWindowControll.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10260"
} | starcoder | <filename>arpg_prg/nativeclient_prg/Assets/Code/Client/UI/UIFeedBackWindow/UIFeedBackWindowControll.cs
using System;
namespace Client.UI
{
/// <summary>
/// 游戏反馈界面
/// </summary>
public class UIFeedBackWindowControll:UIController<UIFeedBackWindow,UIFeedBackWindowControll>
{
protected override... | 1.983841 | e20f4e9ce16af8fa04e457178391a96b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10260 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "PBVK/engine",
"max_stars_repo_path": "src/SolidifyProject.Engine.Infrastructure/Interfaces/IDataService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10261"
} | starcoder | <gh_stars>10-100
using System.Dynamic;
using System.Threading.Tasks;
namespace SolidifyProject.Engine.Infrastructure.Interfaces
{
public interface IDataService
{
Task<ExpandoObject> GetDataModelAsync();
}
} | 1.523735 | 1b940bcb693ed5f40d5cbff507a58311 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10261 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fqkw6/SmartGame01",
"max_stars_repo_path": "Assets/Scripts/Framework/AssetBundle/AsyncOperation/WebAssetRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10262"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using XLua;
/// <summary>
/// added by wsh @ 2017.12.22
/// 功能:资源异步请求,本地、远程通杀
/// 注意:
/// 1、Unity5.3官方建议用UnityWebRequest取代WWW:https://unity3d.com/cn/learn/tutorials/topics/best-practices/assetbundle-fundamentals?playlist=30089
/// 2、这里还是采用WWW,因为UnityWebRequest的Bug无... | 2.036789 | 44260410280a032edfc273e70412a4ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10262 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cts-randrid/WurmAssistant3",
"max_stars_repo_path": "src/Apps/WurmAssistant/WurmAssistant3/Areas/Granger/ValuePreset/FormEditValuePresetsNewNameDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10263"
} | starcoder | <reponame>cts-randrid/WurmAssistant3
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using AldursLab.WurmAssistant3.Areas.Granger.DataLayer;
using AldursLab.WurmAssistant3.Utils.WinForms;
namespace AldursLab.WurmAssistant3.Areas.Granger.ValuePreset
{
public partial c... | 2.058769 | 6d01e64e2895df3c2bf51e41a0d84c62 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10263 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Refsa/Collections_ECS",
"max_stars_repo_path": "Tests/EditorTests/NativeStackTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10264"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using Refsa.Collections.String;
using Unity.Collections;
using Unity.PerformanceTesting;
using UnityEngine;
using UnityEngine.TestTools;
namespace Refsa.Collections.Tests
{
public class NativeStackTests
{
[Test]
... | 2.455278 | 0097bc704f7a04dd13352b9bd53d46fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RedDestroer/SetMeta",
"max_stars_repo_path": "SetMeta.Tests/Impl/OptionSetParserTestFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10265"
} | starcoder | <filename>SetMeta.Tests/Impl/OptionSetParserTestFixture.cs
using System;
using System.IO;
using System.Reflection;
using System.Xml;
using Moq;
using NUnit.Framework;
using SetMeta.Abstract;
using SetMeta.Tests.Util;
namespace SetMeta.Tests.Impl
{
[TestFixture]
public class OptionSetParserTestFixture
... | 2.372396 | af85a540f9499b66435e5852972033da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ekov1/TelerikAcademy-Exercises",
"max_stars_repo_path": "regular/C#/C# - Unit Testing/Isolation Techniques/Tasker.Test/Core/Fakes/FakeTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10266"
} | starcoder | <reponame>ekov1/TelerikAcademy-Exercises
using System;
using Tasker.Core.Contracts;
namespace Tasker.Test.Core.Fakes
{
internal class FakeTask : ITask
{
public DateTime? deadline
{
get
{
throw new NotImplementedException();
}
set... | 2.050184 | 1a24c731931e97447d895292b29a4b5d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10266 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stevenengland/WatiN",
"max_stars_repo_path": "BrowserDrivers/WebDriver/src/WebDriverSelectAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10267"
} | starcoder | using WatiN.Core.Native;
using WatiN.Core;
using OpenQA.Selenium;
namespace Watin.BrowserDrivers.WebDriver
{
public class WebDriverSelectAction : ISelectAction
{
private readonly Option _option;
public WebDriverSelectAction(Option option)
{
_option = option;
}
... | 2.121025 | ffe0251f31090c1c50b038ff8f79d4d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SnakeBiit/Healthy-App",
"max_stars_repo_path": "Healthy.Data/Repositories/DoctorRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10268"
} | starcoder | <reponame>SnakeBiit/Healthy-App
using System.Linq;
using Healthy.Data.Entities;
using Healthy.Data.Interfaces;
namespace Healthy.Data.Repositories
{
public class DoctorRepository : GenericRepository<Doctor>, IDoctorRepository
{
public DoctorRepository(HealthyDbContext healthyDbContext) :base(healthyDb... | 2.150602 | 5b3c3c14038d5f5a1d206b7a75624836 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10268 | {
"extension": "c-sharp",
"max_stars_count": "117.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/EnergyGoodRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10269"
} | starcoder | using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// EnergyGoodRequest Data Structure.
/// </summary>
[Serializable]
public class EnergyGoodRequest : AopObject
{
/// <summary>
/// 发放的能量
... | 1.825458 | 3dfe856bbed3581b4be06196c7bf145e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10269 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MaiReo/MicroServiceInfrastructure",
"max_stars_repo_path": "src/Core.Abstractions/PersistentStore/Entities/IMayHaveBigRegionId.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10270"
} | starcoder | <reponame>MaiReo/MicroServiceInfrastructure
using System;
namespace Core.PersistentStore
{
public interface IMayHaveBigRegionId
{
Guid? BigRegionId { get; set; }
}
}
| 1.031375 | c5bc84368ca7e1a4101c84791cb48bb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sagitarian812/New-AR-Project-Repository",
"max_stars_repo_path": "Assets/MinionAI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10271"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MinionAI : MonoBehaviour
{
public float speed;
public int health = 200;
private float currentHealth;
private Transform target;
private int wavepointIndex = 0;
[Header("Unity Stu... | 2.401225 | ead822d33098013c9e694ece35035d66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10271 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "opensourceios/toggle-mobile",
"max_stars_repo_path": "Ross/Theme/Style.ProjectList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10272"
} | starcoder | using System;
using CoreGraphics;
using UIKit;
namespace Toggl.Ross.Theme
{
public static partial class Style
{
public static class ProjectList
{
public static void HeaderBackgroundView (UIView v)
{
v.BackgroundColor = Color.LightestGray;
}
... | 2.270021 | 00da0282be4bf8ece97f6b98a5370957 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10272 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "iniceice88/OxyPlot.Xamarin.Forms.Skia",
"max_stars_repo_path": "Source/OxyPlot.Xamarin.Forms.Skia/Tracker/TrackerHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10273"
} | starcoder | <reponame>iniceice88/OxyPlot.Xamarin.Forms.Skia
namespace OxyPlot.XF.Skia.Tracker
{
internal static class TrackerHelper
{
/// <summary>
/// Gets the nearest tracker hit.
/// </summary>
/// <param name="series">The series.</param>
/// <param name="point">The point.</param>... | 2.44262 | dc1391f0bfd6d8c924f7293aca637424 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10273 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wyfish/taskt",
"max_stars_repo_path": "taskt/Core/Automation/Commands/ActivateWindowCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10274"
} | starcoder | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml.Serialization;
using taskt.Core.Automation.User32;
using taskt.UI.Forms;
using taskt.UI.CustomControls;
namespace taskt.Core.Automation.Commands
{
[Serializable]
[Attributes.ClassAttributes.Group("Window Commands")]
... | 2.456996 | 3e35f22026483bf5c01bd15db5d15c6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10274 | {
"extension": "c-sharp",
"max_stars_count": "138.0",
"max_stars_repo_name": "WOCyo/pmcenter",
"max_stars_repo_path": "pmcenter/Methods/H2Helper/Methods.H2Helper.DownloadFileAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10275"
} | starcoder | using System;
using System.IO;
using System.Threading.Tasks;
namespace pmcenter
{
public static partial class Methods
{
public static partial class H2Helper
{
public static async Task DownloadFileAsync(Uri uri, string filename)
{
var bytes = await GetByt... | 2.454869 | ea6ecc6c461e6b6f042425bc3e191e1c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10275 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "cjstevenson/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Core/src/Types/Types/Pagination/GetPagingProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10276"
} | starcoder | <reponame>cjstevenson/hotchocolate<gh_stars>10-100
using System;
using HotChocolate.Internal;
#nullable enable
namespace HotChocolate.Types.Pagination
{
public delegate IPagingProvider GetPagingProvider(
IServiceProvider services,
IExtendedType sourceType);
}
| 1.430958 | 596d419c5abdfe6b6f724d0ab14d7660 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10276 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Krixohub/IntoTheCode",
"max_stars_repo_path": "CSharp/IntoTheCodeUnitTest/Read/Words/WordIntTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10277"
} | starcoder | <gh_stars>1-10
using System;
using IntoTheCode.Message;
using IntoTheCode.Read.Words;
using IntoTheCodeUnitTest.Read;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Read.Words
{
[TestClass]
public class WordIntTest
{
[TestMethod]
public void ITC10Load()
{
... | 2.721885 | 5c65b60dd0eb5f810a8de65edbc72ee8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10277 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abhishekns/UBTA",
"max_stars_repo_path": "Deployment/Config/Logging/LoggingTracingTemplate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10278"
} | starcoder | using System;
$usings$
namespace $nameSpace$
{
//public class Log
//{
// public void Info()
// {
// $logClass$.$logInfoMethod$($logInfoParams$);
// }
// public void Warning()
// {
// $logClass$.$logWarningMethod$($logWarnParams$);
// }
// ... | 2.237925 | 9401c80ecb17a2705e0b80166d878a10 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10278 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "9192939495969798/Websitepanel",
"max_stars_repo_path": "WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10279"
} | starcoder | <filename>WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/WebServers/WebServerController.cs
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are... | 1.626079 | f23c43daa5404ba51f4dc9582308d86c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10279 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Hakan77/sharpHDF",
"max_stars_repo_path": "src/sharpHDF/Objects/Hdf5DataType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10280"
} | starcoder | <reponame>Hakan77/sharpHDF<filename>src/sharpHDF/Objects/Hdf5DataType.cs
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by <NAME> 2016. *
* See license in repo for more information *
* https://gith... | 1.727028 | d6276bbc2c8dee23327091cbda4155f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10280 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "kzu/xunit.vsix",
"max_stars_repo_path": "src/Xunit.Vsix/IVsClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10281"
} | starcoder | using System;
using System.Threading.Tasks;
using Xunit.Sdk;
namespace Xunit
{
internal interface IVsClient : IDisposable
{
void Recycle();
Task<RunSummary> RunAsync(VsixTestCase testCase, IMessageBus messageBus, ExceptionAggregator aggregator);
}
}
| 1.082544 | 3c68370ae3d21eee7b7fcdbc01dc150f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SafetyCone/R5T.D0082",
"max_stars_repo_path": "source/R5T.D0082.T001/Code/Constants/GitHubLicenseIdentifiers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10282"
} | starcoder | <reponame>SafetyCone/R5T.D0082<gh_stars>0
using System;
namespace R5T.D0082.T001
{
public static class GitHubLicenseIdentifiers
{
public static string MIT => "mit";
}
}
| 1.325716 | 0e8ddef70eb6f65a7137a3203cbcd75e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Future-Game-Studio/Prototype",
"max_stars_repo_path": "Game/Assets/Scripts/UI/Tools/UICraftComponentInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10283"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text;
using TMPro;
public class UICraftComponentInfo : MonoBehaviour
{
[SerializeField] private TextMeshProUGUI _componentInfo;
public ItemRecipe Recipe;
public int HaveValue;
public int NeedValue;
public ... | 2.335757 | e849d03226fbd8b3c765e74d32e90264 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rangerranger/WireMock.Net",
"max_stars_repo_path": "src/WireMock.Net/Admin/Mappings/MappingModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10284"
} | starcoder | <filename>src/WireMock.Net/Admin/Mappings/MappingModel.cs
using System;
namespace WireMock.Admin.Mappings
{
/// <summary>
/// MappingModel
/// </summary>
public class MappingModel
{
/// <summary>
/// Gets or sets the unique identifier.
/// </summary>
public Guid? Gu... | 2.401802 | c193ddb4b01991ed1f46847f35e907a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "parope23/Flowlight",
"max_stars_repo_path": "FlowLight simulator/Assets/Scripts/Algoritmos/VaciarMayorTrafico.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10285"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class VaciarMayorTrafico : MonoBehaviour {
private GameController controller;
private Cruce cruce;
//Variables usadas para pausar los semáforos a la vez que los coches
private string proximaIn... | 2.020512 | 069cb3654983596809def074653af3e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10285 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "salvrtsy/OpenSilver",
"max_stars_repo_path": "src/Runtime/Runtime/Windows.UI.Xaml.Data/BindingOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10286"
} | starcoder |
/*===================================================================================
*
* Copyright (c) Userware/OpenSilver.net
*
* This file is part of the OpenSilver Runtime (https://opensilver.net), which is
* licensed under the MIT license: https://opensource.org/licenses/MIT
*
* As stated in t... | 2.505492 | 2c7d75a5515b16adef4165dabe67636c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10286 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boyan-ast/FantasyFL",
"max_stars_repo_path": "Web/FantasyFL.Web/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10287"
} | starcoder | namespace FantasyFL.Web
{
using System.Reflection;
using Azure.Storage.Blobs;
using FantasyFL.Data;
using FantasyFL.Data.Common;
using FantasyFL.Data.Common.Repositories;
using FantasyFL.Data.Models;
using FantasyFL.Data.Repositories;
using FantasyFL.Data.Seeding;
using FantasyFL.... | 1.31496 | 4f595a355d675c57d4faba1c01aecc34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brianuuu/HedgeModManager",
"max_stars_repo_path": "HedgeModManager/Config/RegistryConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10288"
} | starcoder | <filename>HedgeModManager/Config/RegistryConfig.cs
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HedgeModManager
{
public static class RegistryConfig
{
private const string PersonalizePath = @"SOFTWA... | 2.612744 | 40c7a5a6b093d2289bfe51cd8ecf4225 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10288 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jorgediegocrespo/XamarinIntro",
"max_stars_repo_path": "TaskList/TaskList/TaskList/Services/Navigation/NavigationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10289"
} | starcoder | [assembly: Xamarin.Forms.Dependency(typeof(TaskList.Services.NavigationService))]
namespace TaskList.Services
{
using System.Threading.Tasks;
using TaskList.Features;
using Xamarin.Forms;
public class NavigationService : INavigationService
{
private INavigation FormsNavigation
... | 2.121783 | c018e7fb5817da9a5d1173f3a3ee97c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Davilink/runtime",
"max_stars_repo_path": "src/coreclr/tests/src/GC/Features/PartialCompaction/eco1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10290"
} | 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.Linq;
using System.Text;
using System.Threading;
using... | 2.675214 | 707ba6015cc38be9363012fef1799182 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weslleyramos/MvcThrottleImproved",
"max_stars_repo_path": "MvcThrottle/ThrottleLogEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10291"
} | starcoder | using System;
using System.Web;
namespace MvcThrottleImproved
{
[Serializable]
public class ThrottleLogEntry
{
public string RequestId { get; set; }
public string ClientIp { get; set; }
public string ClientKey { get; set; }
public string Endpoint { get; set; }
publi... | 1.623757 | 7aea86c24cff2d35252c07f2bd009260 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pierre-galaup/globalgamejam2016",
"max_stars_repo_path": "Assets/End Clock/_makeYOURlevel_LITE/PREFAB_makeYOURlevel_LITE/6_scripts/uScriptRuntime/Nodes/Actions/Math/uScriptAct_ReflectVector3.cs",
"provenance": "train-00000-of-00045.js... | starcoder | <reponame>pierre-galaup/globalgamejam2016<filename>Assets/End Clock/_makeYOURlevel_LITE/PREFAB_makeYOURlevel_LITE/6_scripts/uScriptRuntime/Nodes/Actions/Math/uScriptAct_ReflectVector3.cs
// uScript Action Node
// (C) 2010 Detox Studios LLC
using UnityEngine;
using System.Collections;
[NodePath("Actions/Math/Vectors")... | 2.225523 | 5077becbd0ef3d363ee9c2c838052c26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10292 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "HLSW/DeltaEngine",
"max_stars_repo_path": "VisualStudioTemplates/Delta Engine/CreepyTowers/GUI/TowerSelectionPanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10293"
} | starcoder | using System.Collections.Generic;
using CreepyTowers.Avatars;
using CreepyTowers.Content;
using CreepyTowers.Levels;
using CreepyTowers.Towers;
using DeltaEngine.Commands;
using DeltaEngine.Content;
using DeltaEngine.Datatypes;
using DeltaEngine.GameLogic;
using DeltaEngine.Scenes;
using DeltaEngine.Scenes.Co... | 2.051303 | 273e61857bc160f30ec6b20058615975 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10293 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "BalticAmadeus/MdxParser",
"max_stars_repo_path": "BalticAmadeus.FluentMdx/Lexer/TokenType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10294"
} | starcoder | namespace BalticAmadeus.FluentMdx.Lexer
{
/// <summary>
/// Provides a list of possible tokens that can be recognized by <see cref="ILexer"/>.
/// </summary>
internal enum TokenType
{
AnyExpression,
As,
/// <summary>
/// Denotes an axis name identifier.
... | 2.934382 | e760ff7a8da685043f9e6e43e7a99bde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10294 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Excalib88/itext7-dotnet",
"max_stars_repo_path": "itext/itext.sign/itext/signatures/SecurityIDs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10295"
} | starcoder | <gh_stars>1-10
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2019 iText Group NV
Authors: <NAME>, <NAME>, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation w... | 1.500979 | aa12bbb8bfc2701cd9859fe387c3ca33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CaitSith2/libhac",
"max_stars_repo_path": "src/LibHac/FsSystem/Save/SaveDataFileSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10296"
} | starcoder | <filename>src/LibHac/FsSystem/Save/SaveDataFileSystem.cs
using System.Collections.Generic;
using System.IO;
using LibHac.Fs;
namespace LibHac.FsSystem.Save
{
public class SaveDataFileSystem : FileSystemBase
{
internal const byte TrimFillValue = 0;
public Header Header { get; }
... | 2.110236 | daa46600cee663ef8840c4977e1fd48d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10296 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Patrick-Batenburg/asp-net-core-student-house",
"max_stars_repo_path": "Studentenhuis/Studentenhuis/Models/Guest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10297"
} | starcoder | <reponame>Patrick-Batenburg/asp-net-core-student-house
using System.ComponentModel.DataAnnotations.Schema;
namespace Studentenhuis.Models
{
/// <summary>
/// Represents a strongly typed guest object.
/// </summary>
public class Guest
{
/// <summary>
/// Gets or sets a <see cref="Student"/> object as guest.
... | 2.631982 | aaaec626ddf313c19e9d5d4d16a3a6a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chen0040/cs-dspic-ultrasonic",
"max_stars_repo_path": "dsPicDesktop/frmSerialPort.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10298"
} | starcoder | <gh_stars>0
namespace dsPicDesktop
{
partial class frmSerialPort
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | 1.319171 | 65edef217da55035e0896b19773f085e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10298 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kandrakah/Cardinal.AspNetCore",
"max_stars_repo_path": "Utils/Cardinal.AspNetCore.Utils/Enumerators/CertificateSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10299"
} | starcoder | <filename>Utils/Cardinal.AspNetCore.Utils/Enumerators/CertificateSource.cs
namespace Cardinal.AspNetCore
{
/// <summary>
/// Enumerator de definição da fonte do certificado.
/// </summary>
public enum CertificateSource
{
/// <summary>
/// Sistema de arquivos.
/// </summary>
... | 2.255607 | 1c46e1406942677db46f2242eaab5e43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10299 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EusthEnoptEron/Sketchball",
"max_stars_repo_path": "Sketchball/Elements/ValidationProblem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10300"
} | starcoder | using Sketchball.Elements;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sketchball.Elements
{
/// <summary>
/// Represents a problem with the validation.
/// </summary>
public class ValidationProblem
{
/// <su... | 3.211628 | 99bb965c82ccb9020f169e819a393d7e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bennef/BIP",
"max_stars_repo_path": "Assets/Scripts/Player/CharacterAnimationController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10301"
} | starcoder | using Scripts.Game.Game_Logic;
using UnityEngine;
namespace Scripts.Player
{
public abstract class CharacterAnimationController : MonoBehaviour
{
// This class is an abstract class that stores everything that any Character Animation script should need.
// The idea is that all Character Animati... | 2.517697 | 9ba82f6d45f17789be0d76ce6754d146 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vladimir1965/LargoComposer",
"max_stars_repo_path": "LargoSharedControls/ControlMusicalInstrument.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10302"
} | starcoder | // <copyright file="ControlMusicalInstrument.xaml.cs" company="Traced-Ideas, Czech republic">
// Copyright (c) 1990-2021 All Right Reserved
// </copyright>
// <author>vl</author>
// <email></email>
// <date>2021-09-01</date>
// <summary>Part of Largo Composer</summary>
using JetBrains.Annotations;
namespace LargoSha... | 2.312612 | 8b3f7aa0aa9dc036bddae9e235be4a33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Paulo-Faustino/Tarefas",
"max_stars_repo_path": "Exercicios/Algoritmo C#/exerc_24/exerc_24/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10303"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace exerc_24
{
class Program
{
static void Main(string[] args)
{
string nome, sexo;
int totH = 0,totM = 0;
for(int i = 0; i < 3; i++)
... | 3.749648 | c46289ca8a31cff944aca78f0fc6d030 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10303 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aarrgard/solidrpc",
"max_stars_repo_path": "SolidRpc.Tests/Swagger/CodeGen/Vitec/Types/Area/Models/Area.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10304"
} | starcoder | using System.CodeDom.Compiler;
using System.Runtime.Serialization;
using System;
using SolidRpc.Tests.Swagger.CodeGen.Vitec.Types.Common.Estate;
using System.Collections.Generic;
using SolidRpc.Tests.Swagger.CodeGen.Vitec.Types.Models.Api;
namespace SolidRpc.Tests.Swagger.CodeGen.Vitec.Types.Area.Models {
/// <summ... | 2.111651 | e5c6235e57796daa37d33c71c38ad2a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10304 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "otani-koji/flashdevelop",
"max_stars_repo_path": "FlashDevelop/Dialogs/FirstRunDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10305"
} | starcoder | <filename>FlashDevelop/Dialogs/FirstRunDialog.cs
using System;
using System.IO;
using System.Collections.Generic;
using PluginCore.Localization;
using System.ComponentModel;
using System.Windows.Forms;
using FlashDevelop.Managers;
using FlashDevelop.Helpers;
using FlashDevelop.Settings;
using PluginCore.Utilit... | 1.807586 | 57c68dbda59efbbea9cb4ac2335407a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "openkas/GitVersion",
"max_stars_repo_path": "src/GitVersionTask/WriteVersionInfoToBuildLog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10306"
} | starcoder | namespace GitVersionTask
{
using GitVersion;
using GitVersion.Helpers;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using System;
using System.Collections.Generic;
using Logger = GitVersion.Logger;
public class WriteVersionInfoToBuildLog : Task
{
... | 2.267462 | 625fc744be6fc6e1cb7a792e181d5744 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10306 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VuacheslavSichkarenko/FamilyTree",
"max_stars_repo_path": "FamilyTree.Application/FamilyTrees/Queries/GetFamilyTreesQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10307"
} | starcoder | <filename>FamilyTree.Application/FamilyTrees/Queries/GetFamilyTreesQuery.cs
using FamilyTree.Application.FamilyTrees.ViewModels;
using MediatR;
using System.Collections.Generic;
namespace FamilyTree.Application.FamilyTrees.Queries
{
public class GetFamilyTreesQuery : IRequest<List<FamilyTreeEntityDto>>
{
... | 1.550941 | 8584d558d751a945bc280c87a2d24812 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10307 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "m-fredsgaard/Moment.Net",
"max_stars_repo_path": "MomentJs.Net/Globalization/Ordinal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10308"
} | starcoder | using System;
using System.Diagnostics;
using Jint;
namespace MomentJs.Net.Globalization
{
public abstract class Javascript
{
protected Javascript(string javascriptFunction)
{
JavascriptFunction = javascriptFunction;
}
internal string JavascriptFunction { get; }
... | 2.961078 | fe16dca9a3b9c624f811bb4774b7ce25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marknic/BicepXray",
"max_stars_repo_path": "src/Bicep.Core/Registry/DefaultModuleRegistryProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10309"
} | starcoder | // Copyright (c) <NAME>. All Rights Reserved.
// Licensed under the MIT License.
using Bicep.Core.Features;
using Bicep.Core.FileSystem;
using System.Collections.Immutable;
namespace Bicep.Core.Registry
{
public class DefaultModuleRegistryProvider : IModuleRegistryProvider
{
private readonly IFileR... | 1.924169 | 1a318a94671470ec2f76d1a0c88bdda3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10309 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "TheDuQe/net-dns",
"max_stars_repo_path": "src/KeyExchangeMode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10310"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Makaretu.Dns
{
/// <summary>
/// Identifies a key exchange algorithm.
/// </summary>
public enum KeyExchangeMode : ushort
{
/// <summary>
/// Server ass... | 2.200548 | 6136778070f4a91b1afaa72b010c3970 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10310 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "JVanloofsvelt/QBitNinja",
"max_stars_repo_path": "QBitNinja/ModelBinders/Base58ModelBinder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10311"
} | starcoder | using NBitcoin;
using System;
using System.Web.Http.ModelBinding;
using System.Web.Http.ValueProviders;
namespace QBitNinja.ModelBinders
{
public class Base58ModelBinder : IModelBinder
{
#region IModelBinder Members
public bool BindModel(System.Web.Http.Controllers.HttpActionContex... | 2.305716 | 1be4bff294929dce9a5ce84d19e5f58d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10311 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TobiZtark/FL-League",
"max_stars_repo_path": "InputScript.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10312"
} | starcoder | <reponame>TobiZtark/FL-League
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class InputScript : MonoBehaviour
{
EventSystem system;
// Use this for initialization
void Start ()
{
system = EventSystem.current;
}
// Update is called once per frame
public void Update()
{
... | 2.368354 | 4140d91f8fb1403045af8e9de261aa3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10312 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BryanApellanes/bam.net.shared",
"max_stars_repo_path": "Services/DataReplication/Data/Generated_Dao/DataRelationshipColumns.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10313"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Bam.Net.Data;
namespace Bam.Net.Services.DataReplication.Data.Dao
{
public class DataRelationshipColumns: QueryFilter<DataRelationshipColumns>, IFilterToken
{
public DataRelationshipColumns() { }
public DataRelationshipCol... | 2.039196 | 8fd481f1b664b2883970cd7d297190fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10313 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "Dirkster99/MLib",
"max_stars_repo_path": "source/More_Components/fs3_Components/FolderBrowser/FolderBrowserFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10314"
} | starcoder | <filename>source/More_Components/fs3_Components/FolderBrowser/FolderBrowserFactory.cs
namespace FolderBrowser
{
using FileSystemModels.Interfaces.Bookmark;
using FolderBrowser.Dialogs.Interfaces;
using FolderBrowser.Dialogs.ViewModels;
using FolderBrowser.Interfaces;
using FolderBrowser.ViewModels;... | 2.702635 | 5554dc95b6f0c2e308898b8730a7e9da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cjgunnar/Stealth-Game",
"max_stars_repo_path": "Stealth-Prototype/Assets/Scripts/EnemyAI/AI Scripts/DieAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10315"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "PluggableAI/Actions/Die")]
public class DieAction : Action {
public override void Enter(StateController controller)
{
//call die function in state controller
c... | 1.572578 | c2ad30238e69d3c6738cfe3a2a4513de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Codentia/Codentia.Common.Reporting",
"max_stars_repo_path": "src/test/BL/CEReportTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10316"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Xml;
using Codentia.Common.Data;
using Codentia.Common.Logging.BL;
using Codentia.Test.Helper;
using Microsoft.Reporting.WebForms;
using NUnit.Framework;
namespace Codentia.Common.Reporting.BL.Test
{
/// <summary>
... | 2.390205 | 621dd3e25a58b467e09706c9f2c3d943 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuzd/Autofac.Configuration.Core",
"max_stars_repo_path": "test/TestProject1/Model.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10317"
} | starcoder | namespace TestProject1
{
public class ChildGeneric<T> where T:class
{
}
public class Child
{
}
public class Parent
{
}
} | 1.636769 | 1de1bcd456fa9d18adbe5c21f79db3c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10317 | {
"extension": "c-sharp",
"max_stars_count": "2374.0",
"max_stars_repo_name": "PrimoDev23/Roslynator",
"max_stars_repo_path": "src/Tests.Old/Analyzers.Tests.Old/CallThenByInsteadOfOrderBy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10318"
} | starcoder | // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
#pragma warning disable RCS1021, RCS1176, RCS1196
namespace Roslynator.CSharp.Analyzers.Tests
{
internal... | 2.131441 | b0cf7a8fc2acff26327b13b8bb7fd1e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alerdenisov/VoxelBuilder",
"max_stars_repo_path": "Generators/SimpleMeshGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10319"
} | starcoder | <reponame>alerdenisov/VoxelBuilder<gh_stars>0
using UnityEngine;
using System;
using VoxelBuilder.Interfaces;
using VoxelBuilder.DataTypes;
using Uniful;
namespace VoxelBuilder.Generators
{
public class SimpleMeshGenerator : AbstractMeshGenerator
{
public override bool GenerateUV { get { return true; } }
publi... | 2.619491 | 87dae368dea44ec7bca00787feb71962 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10319 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "oguna/AssimpSharp",
"max_stars_repo_path": "AssimpSharp/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10320"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssimpSharp
{
public abstract class Logger
{
public enum LogSeverity
{
Normal,
Verbose
}
public enum ErrorSeverity
{
... | 3.028306 | 3a7b5fae7946bb8a969786583fddb5a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10320 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "DaveDezinski/Fo.Net",
"max_stars_repo_path": "src/Fo/Pagination/Region.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10321"
} | starcoder | <reponame>DaveDezinski/Fo.Net
namespace Fonet.Fo.Pagination
{
using Fonet.Layout;
internal abstract class Region : FObj
{
public const string PROP_REGION_NAME = "region-name";
private SimplePageMaster _layoutMaster;
private string _regionName;
protected Region(FObj parent,... | 2.317827 | 48570e64cd747040436b5bd17e280f2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10321 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArulMozhiVaradan/google-cloud-dotnet",
"max_stars_repo_path": "apis/Google.Cloud.Tasks.V2Beta3/Google.Cloud.Tasks.V2Beta3.Tests/CloudTasksClientTest.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10322"
} | starcoder | <reponame>ArulMozhiVaradan/google-cloud-dotnet
// Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unl... | 1.36691 | e0b7495f42cbfcea12d67b14f15cc3ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10322 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "seungilpark/ClaimManager",
"max_stars_repo_path": "ClaimManager.Application/Interfaces/Contexts/IApplicationDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10323"
} | starcoder | using ClaimManager.Domain.Entities.Catalog;
using ClaimManager.Domain.Entities.Claims;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using System.Data;
using System.Threading;
using System.Threading.Tasks;
namespace ClaimManager.Application.Interfaces.Contexts
{
public i... | 2.096738 | 1e99a0747a5491a18e921b0b57e17f02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guanhh/fastcore",
"max_stars_repo_path": "extension/FastCore.Sample.Abstract/Class1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10324"
} | starcoder | <reponame>guanhh/fastcore
using System;
namespace FastCore.Sample.Abstract
{
public class Class1
{
}
}
| 0.653388 | b7f27d04f5f20d782c61b967162d33a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10324 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "S00156670/TheForeverCave",
"max_stars_repo_path": "Assets/Scripts/Inventory/UIEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10325"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
public class UIEventHandler : MonoBehaviour {
// these events basicly just relay a signal from the main code to the UI that something has happened
public delegate void ItemEventHandler(Item item);
public static event ItemEventHandler OnItemAdde... | 2.370472 | ad04d7f9307fbad13a264d620688e7d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10325 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "philasmar/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/IoTAnalytics/Generated/Model/DeltaTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10326"
} | starcoder | <filename>sdk/src/Services/IoTAnalytics/Generated/Model/DeltaTime.cs
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is locate... | 2.092029 | 81dba0024c828372981bcfeb4bb39a2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nextoras/VK_Apple_pie",
"max_stars_repo_path": "Back/Serv/DTO/UserDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10327"
} | starcoder | <reponame>nextoras/VK_Apple_pie
using System;
using System.Collections.Generic;
using System.Text;
namespace Vk_server
{
public class UserDTO
{
public long Id { get; set; }
public long? VkId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }... | 1.503843 | 3525ad5b28ae1e83df4675e9d610c11e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10327 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/Kernal/ObjectSnapshot/ISnapshot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10328"
} | starcoder | <filename>SourceCode/Source/Kernal/ObjectSnapshot/ISnapshot.cs
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System.Li... | 1.877499 | fb2586375be39d1084728adf22252148 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10328 | {
"extension": "c-sharp",
"max_stars_count": "421.0",
"max_stars_repo_name": "hamarb123/dotnet-api-docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_WebNet/System.Web.DynamicData.MetaModel/CS/PlaceHolder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10329"
} | starcoder | //<Snippet1>
using System;
using System.Web.DynamicData;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
[MetadataType(typeof(ProductMetaData))]
public partial class Product
{
}
public class ProductMetaData
{
}
//</Snippet1> | 1.666804 | d77577553031f826f68b1dfeb3e8e546 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IxMilia/Classics",
"max_stars_repo_path": "src/IxMilia.Classics.ProcessFile/NounEntry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10330"
} | starcoder | using System;
using System.Text.RegularExpressions;
namespace IxMilia.Classics.ProcessFile
{
public class NounEntry : DictionaryEntry
{
private static readonly Regex _nounMatcher = new Regex(@"N \(([12345])..\) ([MFN])");
public Declension Declension { get; }
public Gender Gender { ge... | 3.030715 | 5f1bc4b07040489ea61c1a41b959da79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10330 | {
"extension": "c-sharp",
"max_stars_count": "298.0",
"max_stars_repo_name": "sethreidnz/mindaro",
"max_stars_repo_path": "samples/todo-app/database-api/MongoHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10331"
} | starcoder | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Driver;
namespace DatabaseApi
{
public static class MongoHelper
... | 2.6194 | c3b24e14f5c857e93195b3ffb5906604 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjohnsnaill/tModLoader",
"max_stars_repo_path": "ExampleMod/ExampleConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10332"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.Serialization;
using... | 2.657094 | b506f3edcd987897584bee3650e4206b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NathanSparta1/CopyDirectoriesFolder",
"max_stars_repo_path": "Copy Directories/Copy Directories/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10333"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.983618 | 4aefe431e8e9494458b655db59ceadbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10333 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zydronium/muddesigner",
"max_stars_repo_path": "Main/OldEngine/Scripts/Default/States/TalkingState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10334"
} | starcoder | <reponame>zydronium/muddesigner<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MudDesigner.Engine.States;
using MudDesigner.Engine.Mobs;
using MudDesigner.Engine.Commands;
using MudDesigner.Engine.Scripting;
namespace... | 2.414697 | 41ab7260f4602af23abe950e50957749 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10334 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matteobruni/xamarin-nfc",
"max_stars_repo_path": "src/Plugin.Nfc.Android/CrossNfc.Android.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10335"
} | starcoder | using Android.App;
using Android.Content;
using System;
namespace Plugin.Nfc
{
public partial class CrossNfc
{
private static Func<Activity> _activityResolver;
public static Activity CurrentActivity => GetCurrentActivity();
public static void SetCurrentActivityResolver(Func<Activity> activityResolver) => _a... | 2.226341 | cefb08310f51f2b7ad07a13055e8039b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bdonkey/dotnet-docs-samples",
"max_stars_repo_path": "bigtable/api/QuickStart/QuickStart.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10336"
} | starcoder | <reponame>bdonkey/dotnet-docs-samples<filename>bigtable/api/QuickStart/QuickStart.cs
// [START bigtable_quickstart]
using System;
using Google.Cloud.Bigtable.Common.V2;
// Imports the Google Cloud client library
using Google.Cloud.Bigtable.V2;
namespace GoogleCloudSamples.Bigtable
{
public class QuickStart
{... | 2.56688 | 744a3b000e8be632bba71dc289053008 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 10336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maruhe/iChronoMe.Base",
"max_stars_repo_path": "iChronoMe.Core/Extentions/StringExtention.shared.cs",
"provenance": "train-00000-of-00045.jsonl.gz:10337"
} | starcoder | using System;
namespace iChronoMe.Core.Types
{
public static class StringExtention
{
public static string WithMaxLength(this string value, int maxLength)
{
return value?.Substring(0, Math.Min(value.Length, maxLength));
}
}
}
| 2.757927 | 460ef6c014ae6fc1427c8ef23a737e17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.