added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817618 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zutto-oreno-turn/unity-eigo",
"max_stars_repo_path": "Assets/GoogleMobileAds/Platforms/Android/RewardedAdClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136838"
} | starcoder | <reponame>zutto-oreno-turn/unity-eigo
// Copyright (C) 2018 Google, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | 1.515824 | e81c3e815977e6f688d30e7a8b6e3817 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817619 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nulldreams/dungeon-finder",
"max_stars_repo_path": "DungeonFinder/Items/SkeletonBelt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136839"
} | starcoder | <reponame>nulldreams/dungeon-finder<filename>DungeonFinder/Items/SkeletonBelt.cs<gh_stars>1-10
using Jotunn.Entities;
using Jotunn.Managers;
using Jotunn.Utils;
using UnityEngine;
namespace DungeonFinder
{
class SkeletonBelt : ItemGenerator
{
public override void GenerateItem()
{
v... | 2.225296 | 0cf1b062f55cf2b08336ad69324f5cdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817620 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Snailos/SuperSocket",
"max_stars_repo_path": "Agent/WorkItemAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136840"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Lifetime;
using System.Text;
using SuperSocket.SocketBase;
using SuperSocket.SocketBase.Config;
using SuperSocket.SocketBase.Logging;
using SuperSocket.SocketBase.Metadata;
using SuperSocket.SocketBase.Provi... | 2.002188 | b5bd969db6761f3ac268ee8d21d0cd76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817621 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Loriko/project_jetson",
"max_stars_repo_path": "BackEnd/BackEndServer/Models/ViewModels/UserPassword.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136841"
} | starcoder | <reponame>Loriko/project_jetson
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BackEndServer.Models.ViewModels
{
public class UserPassword
{
public int? UserId { get; set; }
public string NewPassword { get; set; }
public strin... | 1.594699 | fc56240b9ca313fc6d67fc14ca33cda5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tvikrantht/vsts-agent",
"max_stars_repo_path": "src/Test/L0/Worker/TestResults/ResultsCommandExtensionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136842"
} | starcoder | <gh_stars>0
using Microsoft.TeamFoundation.DistributedTask.WebApi;
using Microsoft.TeamFoundation.TestManagement.WebApi;
using Microsoft.VisualStudio.Services.Agent.Util;
using Microsoft.VisualStudio.Services.Agent.Worker;
using Microsoft.VisualStudio.Services.Agent.Worker.TestResults;
using Moq;
using System;
using S... | 1.361322 | 6e6b4eda22335759d8df68d93effee66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sirfergy/qdfeed",
"max_stars_repo_path": "QDFeedParser.Silverlight/IsolatedStorageFeedFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136843"
} | starcoder | using System;
using System.IO;
using System.IO.IsolatedStorage;
using QDFeedParser.Silverlight.Extensions;
using QDFeedParser.Xml;
namespace QDFeedParser
{
public partial class IsolatedStorageFeedFactory : BaseFeedFactory
{
public IsolatedStorageFeedFactory()
: this(new LinqFeed... | 2.293337 | ca26520ecd96373978e95e0c74fc68a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carloseduardofernandes/JhipsterCadastroDotNet",
"max_stars_repo_path": "test/Cadastro.Test/Controllers/ProfileInfoControllerIntTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136844"
} | starcoder | <gh_stars>0
using FluentAssertions;
using Carlos.Test.Setup;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Carlos.Test.Controllers
{
public class ProfileInfoControllerIntTest
{
private readonly AppWebApplicationFact... | 1.925254 | a52833ef124e5fff84633709cac80ad3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817625 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "nnn1590/spritely",
"max_stars_repo_path": "src/Resources/ResourceMgr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136845"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Resources;
using System.Text;
namespace Spritely
{
public static class ResourceMgr
{
static ResourceManager m_rm = new ResourceManager("Spritely.Resources.Resources",
System.Reflection.Assembly.GetExecutingAssembl... | 2.448693 | e3695e25b6d0bb6222f55a8e003c2c2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bounty123/snacks",
"max_stars_repo_path": "Snacks/LifeSupport/SnackSnapshot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136846"
} | starcoder | <filename>Snacks/LifeSupport/SnackSnapshot.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using KSP;
using KSP.UI;
namespace Snacks
{
public class SnackSnapshot
{
private SnackSnapshot()
{}
private static SnackSnapshot snap... | 2.21545 | c1a24325b21fd43162e134c14f20dc30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817627 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ankur198/MotionDetectionSurvilance",
"max_stars_repo_path": "MotionDetectionSurvilance/MotionData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136847"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MotionDetectionSurvilance
{
internal class MotionData
{
public int MotionValue { get; set; }
public DateTime DateT... | 2.868921 | c75c7219a3d03b0f5c346f83aa140229 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817628 | {
"extension": "c-sharp",
"max_stars_count": "349.0",
"max_stars_repo_name": "r2d2m/Chisel.Prototype",
"max_stars_repo_path": "Packages/com.scene.handle.extensions/Handle Extensions/Editor/SceneHandles/SceneHandleUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136848"
} | starcoder | <filename>Packages/com.scene.handle.extensions/Handle Extensions/Editor/SceneHandles/SceneHandleUtility.cs<gh_stars>100-1000
using UnityEditor;
using UnityEngine;
namespace UnitySceneExtensions
{
public sealed partial class SceneHandleUtility
{
private static readonly Vector3[] Points = {Vector3.zero,... | 2.204492 | 3fbb7f8b1309a5a6873e535bedc99355 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Voxel8/etoViewport",
"max_stars_repo_path": "Eto.Gl.Mac/MacGLView8.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136849"
} | starcoder | using System;
using Eto.Mac.Forms;
using OpenTK.Graphics;
using OpenTK.Platform;
#if MONOMAC
using MonoMac.AppKit;
using MonoMac.CoreGraphics;
using MonoMac.Foundation;
namespace Eto.Gl.Mac
#elif XAMMAC2
using AppKit;
using Foundation;
using CoreGraphics;
namespace Eto.Gl.XamMac
#endif
{
public ... | 2.077818 | 7a02b6d54a018814214941bf8a1d62cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817630 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "VTPDevelopment/Silk",
"max_stars_repo_path": "src/Silk/Commands/Bot/RestRequestCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136850"
} | starcoder | <reponame>VTPDevelopment/Silk<gh_stars>10-100
using System;
using System.ComponentModel;
using System.Drawing;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Humanizer;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
u... | 2.249219 | a7fdf6e9b90910a3600bf20ad1c51973 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817631 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "naumanmy/case-apps",
"max_stars_repo_path": "2019/Case.UngroupAll/Case.UngroupAll/UI/form_Main.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136851"
} | starcoder | <gh_stars>10-100
namespace Case.UngroupAll.UI
{
partial class form_Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="di... | 1.938414 | 88e57eae155f94407f277c74327b18c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817632 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "adamkrupadev/adam-video-conferencing",
"max_stars_repo_path": "src/Services/Identity/Identity.API/DemoUserProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136852"
} | starcoder | <gh_stars>100-1000
using System;
using System.Text;
using System.Text.RegularExpressions;
using Duende.IdentityServer.Test;
using Identity.API.Quickstart;
namespace Identity.API
{
public class DemoUserProvider : IUserProvider
{
public bool ValidateCredentials(string username, string password)
... | 2.408512 | aee3cc76dfbf726d9ef57367b8cce3ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrielAureo/Louvre",
"max_stars_repo_path": "Assets/_Scripts/UI/InventoryCanvas.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136853"
} | starcoder | using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventoryCanvas : MonoBehaviour, IObserver
{
[SerializeField] private Inventory inventoryScript;
[SerializeField] private GameObject itemPrefab;
private List<GameObject> items;
private v... | 2.343921 | 1db010ef122b6fd4f9fb2019d754978e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivarszarins/LocalizationProvider",
"max_stars_repo_path": "Tests/DbLocalizationProvider.Tests/DataAnnotations/_DataAnnotationsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136854"
} | starcoder | <reponame>ivarszarins/LocalizationProvider
using System.ComponentModel.DataAnnotations;
using System.Linq;
using DbLocalizationProvider.Abstractions;
using DbLocalizationProvider.Queries;
using DbLocalizationProvider.Sync;
using Xunit;
namespace DbLocalizationProvider.Tests.DataAnnotations
{
public class DataAnno... | 2.267966 | 587f7c9e0f612ebcd0eb23f2cb0f8c8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817635 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Polly-Contrib/Polly.Contrib.DuplicateRequestCollapser.RedisDistributedLock",
"max_stars_repo_path": "src/Polly.Contrib.DuplicateRequestCollapser.RedisDistributedLock/RedisDistributedLockProvider.cs",
"provenance": "train-00027-of-0004... | starcoder | <filename>src/Polly.Contrib.DuplicateRequestCollapser.RedisDistributedLock/RedisDistributedLockProvider.cs
#nullable enable
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using StackExchange.Redis;
namespace Polly.Contrib.DuplicateRequestCollapser.RedisDistributedLock
... | 2.677022 | 686a626cc2c10e327efbb2df4cd9db06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817636 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "mars-low/DotNetJS",
"max_stars_repo_path": "Samples/HelloWorld/Project/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136856"
} | starcoder | <filename>Samples/HelloWorld/Project/Program.cs
using System;
using DotNetJS;
using Microsoft.JSInterop;
namespace HelloWorld;
public partial class Program
{
// Entry point is invoked by the JavaScript runtime on boot.
public static void Main ()
{
// Invoking 'dotnet.HelloWorld.GetHostName()' Jav... | 2.729246 | 622d3baccbfa935323082f5731b28359 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817637 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "ToCSharp/AsyncWebDriver",
"max_stars_repo_path": "AsyncWebDriver/SyncWrapper/SyncWebElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136857"
} | 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;
using System.Threading;
using System.Threading.Tasks;
using Zu.WebBrowser.BasicTypes;
using System;
namespace Z... | 2.333232 | 14553f79e592a7344b96a296cf9d6a02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817638 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "monkeyglasses/mdo",
"max_stars_repo_path": "mdo/src/mdo/dao/AbstractConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136858"
} | starcoder | <gh_stars>1-10
#region CopyrightHeader
//
// Copyright by Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0.txt
//
... | 1.626937 | 30a0f3548def46b08df29df911895e52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817639 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ru-petrovi4/Ssz.Utils",
"max_stars_repo_path": "Ssz.Xi.Client/Xi.Contracts/Data/ListAttributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136859"
} | starcoder | <reponame>ru-petrovi4/Ssz.Utils
/**********************************************************************
* Copyright © 2009, 2010, 2011, 2012 OPC Foundation, Inc.
*
* The source code and all binaries built with the OPC .NET 3.0 source
* code are subject to the terms of the Express Interface Public
* License (Xi-PL... | 2.176788 | 79d0a28db42dea7ac052a42cee975324 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wdmatthews/gem-swap",
"max_stars_repo_path": "Assets/_Project/Scripts/GameManagerSO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136860"
} | starcoder | <filename>Assets/_Project/Scripts/GameManagerSO.cs
using UnityEngine;
namespace GemSwap
{
[CreateAssetMenu(fileName = "GameManager", menuName = "Gem Swap/Game Manager")]
public class GameManagerSO : ScriptableObject
{
[SerializeField] private int _pointsPerGem;
[SerializeField] private Anim... | 2.420903 | 05fdeb89a16e46dd12c0df647b758515 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DragonSpark/VoteReporter",
"max_stars_repo_path": "Framework/DragonSpark/Application/ApplicationTypeSpecification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136861"
} | starcoder | using DragonSpark.Extensions;
using DragonSpark.Sources.Parameterized.Caching;
using DragonSpark.Specifications;
using PostSharp.Aspects.Internals;
using System;
using System.Runtime.CompilerServices;
using Defaults = DragonSpark.Activation.Defaults;
namespace DragonSpark.Application
{
public sealed class Application... | 1.811446 | c2d4dc576ee7a116b68388eef7c1e523 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817642 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Gfi-Innovation/UMI3D-Desktop-Browser",
"max_stars_repo_path": "UMI3D-Browser-Desktop/Assets/UMI3D SDK/Dependencies/Runtime/Inetum-Unity-Utils/Editor/ConstEnumDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136862"
} | starcoder | <filename>UMI3D-Browser-Desktop/Assets/UMI3D SDK/Dependencies/Runtime/Inetum-Unity-Utils/Editor/ConstEnumDrawer.cs
/*
Copyright 2019 - 2021 Inetum
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
... | 2.258696 | 052f32aa96bbd7e680e23dc027bccda4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817643 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "cetusfinance/qwack",
"max_stars_repo_path": "src/Qwack.Core/Basic/CdsScheduleType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136863"
} | starcoder | namespace Qwack.Core.Basic
{
public enum CdsScheduleType
{
Basic,
DualStubs,
Imm3M,
Imm6M
}
}
| 1.320593 | 2a99c80992510bfda5e6ae9c7e27f9c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817644 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ShiJess/FastRegluar",
"max_stars_repo_path": "src/Jess.DotNet.Extension/BasicTypeExtensions/EnumExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136864"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Jess.DotNet.Extension
{
/// <summary>
///
/// </summary>
public static class EnumExtensions
{
... | 3.113596 | ceba92a921fd7b094d4a7d59a03420ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817645 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "mscorlib/system/runtime/interopservices/windowsruntime/nativemethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136865"
} | starcoder | <gh_stars>100-1000
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//
// <OWNER>LadiPro</OWNER>
// <OWNER>RByers</OWNER>
// <OWNER>ShawnFa</OWNER>
using System;
using System.Runtime.InteropServices;
using System.Security;
namespace System.Runtime.InteropServices.WindowsRun... | 1.713445 | 12a927530d2586a111d114f7d5362563 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817646 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alex-kulakov/dataobjects-net",
"max_stars_repo_path": "Orm/Xtensive.Orm.Tests/Issues/IssueJira0416_NpgsqlPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136866"
} | starcoder | <gh_stars>0
// Copyright (C) 2013 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2014.05.05
using System.Linq;
using NpgsqlTypes;
using NUnit.Framework;
using Xtensive.Orm.Configuration;
using Xtensive.Orm.Tests.Issues.Issue... | 1.817338 | 9b28ba78961ab499111002e4c36595ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817647 | {
"extension": "c-sharp",
"max_stars_count": "94.0",
"max_stars_repo_name": "SpiralP/typescript-for-unity",
"max_stars_repo_path": "Assets/Scripts/JavaScript/API/UnityEngine/Networking/NetworkBroadcastResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136867"
} | starcoder | using System;
using ChakraCore.API;
using static JavaScript.Bridge;
namespace JavaScript.API.JSUnityEngine.Networking {
class JSNetworkBroadcastResult {
public static void Register(JavaScriptContext context) {
JavaScriptValue NetworkBroadcastResultPrototype;
JavaScriptValue NetworkBroadcastResultCons... | 2.047804 | 8891030db6c2076197e4a402a43e24d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817648 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LykkeCity/Lykke.Job.BlockchainCashinDetector",
"max_stars_repo_path": "src/Lykke.Job.BlockchainCashinDetector.Core/Domain/CashinAggregate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136868"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Common;
namespace Lykke.Job.BlockchainCashinDetector.Core.Domain
{
public class CashinAggregate
{
public string Version { get; }
public CashinState State { get; private set; }
public CashinResult Result { get; pr... | 1.678874 | 54d14d1716fe2fa10babc75287c581a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817649 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jag43/Jag.AdventOfCode",
"max_stars_repo_path": "src/Jag.AdventOfCode/Y2021/Day16/Solver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136869"
} | starcoder | <reponame>jag43/Jag.AdventOfCode<filename>src/Jag.AdventOfCode/Y2021/Day16/Solver.cs
using System;
using System.Linq;
using System.Text;
namespace Jag.AdventOfCode.Y2021.Day16
{
public class Solver : ISolver
{
public int Year => 2021;
public int Day => 16;
public string SolvePart1(str... | 3.0803 | da8bc7aba30ad11338227f382ec02a06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aTiKhan/CliverRoutines",
"max_stars_repo_path": "CliverRoutinesExample/LogExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136870"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
using Cliver;
namespace Example
{
class LogExample
{
public static void Run()
{
//default configuration: everything is written to the same file in the same folder:
Log.Inform("write out of box");
Log.Thread.I... | 2.571641 | 99aa07b47764728cc272a929acdf7a4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RabbitStewDio/UnityAsepriteImport",
"max_stars_repo_path": "Assets/Plugins/UnityAsepriteImport/Editor/Importer/ParameterBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136871"
} | starcoder | using System;
using System.Collections.Generic;
namespace AseImport.Importer
{
public class ParameterBase
{
readonly List<LayerParam> parameters;
public string Name { get; }
/// If is metadata, the action name of the layer
public string ActionName { get; internal set; }
public ParameterBase(s... | 2.783248 | 7cac08bb0712f28773802442e0ed1114 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterson1/indie-ds-readers",
"max_stars_repo_path": "IDSR.CondorReader.Core.ns11/ReportRows/MonthlySalesDailyRow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136872"
} | starcoder | <filename>IDSR.CondorReader.Core.ns11/ReportRows/MonthlySalesDailyRow.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using IDSR.CondorReader.Core.ns11.DomainModels;
namespace IDSR.CondorReader.Core.ns11.ReportRows
{
public class MonthlySalesDailyRow
{
public MonthlySa... | 2.475476 | 4ab102419688293b401227f02f3aa0b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817653 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "LaudateCorpus1/distributed-architecture-of-moba-game-server",
"max_stars_repo_path": "PurificationPioneer/Assets/3rd/ReadyGamerOne/Rougelike/Person/PersonSystem/AbstractPerson/AttackPersonExtension.cs",
"provenance": "train-00027-of-... | starcoder | <filename>PurificationPioneer/Assets/3rd/ReadyGamerOne/Rougelike/Person/PersonSystem/AbstractPerson/AttackPersonExtension.cs
using System;
using UnityEngine;
namespace ReadyGamerOne.Rougelike.Person
{
public static class AttackPersonExtension
{
/// <summary>
/// 尝试攻击另一单位
/// </summary... | 3.009485 | 060d0b0011a00d05c72988d48f18c9d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817654 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "IrisBroadcast/CCM",
"max_stars_repo_path": "CCM.DiscoveryApi/Authentication/BasicPreAuthenticationAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136874"
} | starcoder | /*
* Copyright (c) 2018 Sveriges Radio AB, Stockholm, Sweden
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | 1.90253 | 11463798932c2a6510283066590418ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817655 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "rejemy/LiteDB",
"max_stars_repo_path": "UltraLiteDB/Engine/Pages/EmptyPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136875"
} | starcoder | <reponame>rejemy/LiteDB
using System;
namespace UltraLiteDB
{
/// <summary>
/// Represent a empty page (reused)
/// </summary>
internal class EmptyPage : BasePage
{
/// <summary>
/// Page type = Empty
/// </summary>
public override PageType PageType { get { return P... | 2.65038 | 48d6ea049b166bcd4c5c5cd6058129ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "southernwind/Gohan",
"max_stars_repo_path": "MealRecipes/Views/Settings/SearchSettingsPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136876"
} | starcoder | <reponame>southernwind/Gohan<filename>MealRecipes/Views/Settings/SearchSettingsPage.xaml.cs
using System.Windows.Controls;
namespace SandBeige.MealRecipes.Views.Settings {
/// <summary>
/// SearchSettingsPage.xaml の相互作用ロジック
/// </summary>
public partial class SearchSettingsPage : UserControl {
public SearchSetti... | 1.045665 | 5b8b33d073ab3654dcafd80abd62b724 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817657 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alexinea/React.NET",
"max_stars_repo_path": "tests/React.Tests/Core/JavaScriptEngineFactoryTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136877"
} | starcoder | /*
* Copyright (c) 2014-Present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
usin... | 2.330821 | 22bd9f214070f6816f867dd3d1c3412d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817658 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "codeforamerica/denver-schedules-api",
"max_stars_repo_path": "Schedules.API.Tests/SystemTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136878"
} | starcoder | <reponame>codeforamerica/denver-schedules-api
using System;
using NUnit.Framework;
using Centroid;
namespace Schedules.API.Tests
{
[TestFixture, Category("System")]
public class SystemTests
{
[Test]
public void CheckThatEnvironmentVariablesExist()
{
dynamic config = Config.FromFile("config.jso... | 2.172812 | 841120670a01bca7b46a93cc52bfa56c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817659 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "contino/dotnet-training-course",
"max_stars_repo_path": "Kata/PresentationLayer/Progressive/OnlineShopDemoV1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136879"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Helpers;
using ImplementationLayer;
using Part1 = BusinessObjectLayer.OnlineShop.Part1;
using Part2 = BusinessObjectLayer.OnlineShop.Part2;
using Part3 = BusinessObjectLayer.OnlineShop.Part3;
using Part4 = BusinessObjectLayer.OnlineShop.Part4;
/... | 2.821025 | 0e236433270021e15e52487d3df52991 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817660 | {
"extension": "c-sharp",
"max_stars_count": "203.0",
"max_stars_repo_name": "tompazourek/Cirqus",
"max_stars_repo_path": "d60.Cirqus.Tests/Contracts/Views/Models/GeneralViewManagerTest/AnEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136880"
} | starcoder | using d60.Cirqus.Events;
namespace d60.Cirqus.Tests.Contracts.Views.Models.GeneralViewManagerTest
{
public class AnEvent : DomainEvent<EventEmitter>
{
}
} | 0.928151 | b1ca4136947be9b60d12c0ec1827eb05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mattgwagner/Dev-Tools",
"max_stars_repo_path": "Azure/HttpFunctionTestHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136881"
} | starcoder | using FakeItEasy;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;
using Microsoft.Extensions.Logging.Abstractions;
using Newtonsoft.Json;
using PureCloudPlatform.Client.V2.Api;
using PureCloudPlatform.Client.V2.Model;
using System;
using System.Collections.Generic;
using System.IO;
... | 2.119757 | 0f5341928e9c2617adc909bcfe0afb19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "massimokris/tp_laboratorio_2",
"max_stars_repo_path": "TP3/DiBerardino.Massimo.2C/Archivos/IArchivo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136882"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Archivos
{
public interface IArchivo<T>
{
bool Guardar(string archivo, T datos);
bool Leer(string archivo, out T datos);
}
}
| 2.134889 | 82e084b6b096f937fcc7eb708e0f199c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817663 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wanglong/CSharpTcpSocket",
"max_stars_repo_path": "CSharpTcpSocketPro/CSharpTcpSocketPro/CommTcpClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136883"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Sockets;
using System.Threading;
namespace CSharpTcpSocketPro
{
public class CommTcpClient : SocketObject
{
/// <summary>
... | 2.478793 | 777bb8e234a2dd5e46c32fdddd37a28e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817664 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kakktuss/LinqToShopify",
"max_stars_repo_path": "src/LinqToShopify/GraphQL/Admin/Context/Common/Types/Image/Image.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136884"
} | starcoder | using LinqToGraphQL.Attributes;
using LinqToGraphQL.Attributes.Method;
using LinqToShopify.GraphQL.Admin.Context.Common.Connections;
using LinqToShopify.GraphQL.Admin.Context.Common.Types.Image.Query.Input;
using LinqToShopify.GraphQL.Admin.Context.Global.Node;
using LinqToShopify.GraphQL.Admin.Context.Metafield.Types... | 2.47956 | 02b1f510c6f6404f1cce40ac798b7ddd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817665 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "cuteant/myevent",
"max_stars_repo_path": "src/EventStore.Core.Tests/Fakes/FakePublisher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136885"
} | starcoder | <reponame>cuteant/myevent
using System.Collections.Generic;
using EventStore.Core.Bus;
using EventStore.Core.Messaging;
namespace EventStore.Core.Tests.Fakes
{
public class FakePublisher : IPublisher
{
public readonly List<Message> Messages;
public FakePublisher()
{
Messag... | 1.978603 | 4594c5984bacda2b44ff6654bb865cdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817666 | {
"extension": "c-sharp",
"max_stars_count": "208.0",
"max_stars_repo_name": "neonowy/vrs",
"max_stars_repo_path": "ThirdParty/TypeLite.Net35/ReadOnlyDictionary/IReadOnlyDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136886"
} | starcoder | <filename>ThirdParty/TypeLite.Net35/ReadOnlyDictionary/IReadOnlyDictionary.cs
using System.Collections.Generic;
namespace TypeLite.ReadOnlyDictionary {
/// <summary>
/// Defines methods and properties that handle read-only dictionary collections.
/// </summary>
/// <typeparam name="TKey">The key of the dict... | 3.316485 | c5fe63c883286379a5360c387be31fcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matrix0123456789/mongo-csharp-driver",
"max_stars_repo_path": "tests/MongoDB.Driver.Core.Tests/Core/Compression/CompressedMessageBinaryEncoderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136887"
} | starcoder | /* Copyright 2019-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 1.802916 | 5f0242e3ceeb20e96e6f17526b16e385 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817668 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Berat-Dzhevdetov/DeemZ-Platform",
"max_stars_repo_path": "DeemZ/DeemZ.Services/PartnerServices/IPartnerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136888"
} | starcoder | <gh_stars>1-10
namespace DeemZ.Services.PartnerServices
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DeemZ.Data;
using DeemZ.Models.FormModels.Partner;
using DeemZ.Models.ViewModels.Partners;
public interface IPartnerService
{
Task<... | 1.7715 | f0cfb1a7cad0b193359dbd5ef380da83 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xenial-io/Xenial.Identity",
"max_stars_repo_path": "src/Xenial.Identity/Areas/Identity/Pages/Account/ForgotPassword.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136889"
} | starcoder | @page
@model ForgotPasswordModel
@{
ViewData["Title"] = "Forgot your password?";
Layout = "/Views/Shared/_LayoutWithoutSide.cshtml";
}
<div class="forgot-password-page">
<div class="forgot-password-page-tabs">
<input type="radio" id="tab1" name="tab-control" checked>
<ul class="forgot-pass... | 2.537796 | 5ba483daa45d65ef8732e785c50a8b9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "garyhertel/atlas",
"max_stars_repo_path": "Test/Atlas.Serialize.Test/TestSerializeLogs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136890"
} | starcoder | using Atlas.Core;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Atlas.Serialize.Test;
[Category("Serialize")]
public class TestSerializeLogs : TestSerializeBase
{
private SerializerMemory _serializer;
[OneTimeSetUp]
public void BaseSetup()
{
Initialize("Serialize");
}
[Set... | 2.332046 | 7918cf0f5529a17cb0ae646b16b115f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817671 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/storage/Azure.Storage.Files.Shares/src/Generated/Models/ShareErrorCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136891"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.ComponentModel;
namespace Azure.Storage.Files.Shares.Models
{
/// <summary> Error codes returned by the service. <... | 1.385203 | 68fd3c25b419147e7ed298e742d9bd3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aeyonblack/tanya-masvita-software-development-projects",
"max_stars_repo_path": "Reborn - Mobile Game Codebase (C#)/Reborn/Assets/Scripts/Loot/Items/TimeBooster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136892"
} | starcoder | using UnityEngine;
/// <summary>
/// Type of the booster
/// </summary>
public enum BoosterType
{
Frap,
Omen,
MegaFrap
}
/// <summary>
/// When used, it increases level time by some specified minutes
/// </summary>
[CreateAssetMenu(fileName ="TimeBooster", menuName = "Reborn/New Time Booster")]
public cl... | 2.742195 | b031cf4fb8a83b6fcd0745c0f2eb45d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817673 | {
"extension": "c-sharp",
"max_stars_count": "220.0",
"max_stars_repo_name": "JTOne123/xamarin-plugins",
"max_stars_repo_path": "Geofence/Geofence/Geofence.Plugin.Abstractions/GeofenceResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136893"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Geofence.Plugin.Abstractions
{
/// <summary>
/// Geofence update result Class
/// </summary>
public class GeofenceResult
{
/// <summary>
/// Last time enter... | 2.918456 | ebafae7616a039ff967c7a19ecc98715 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817674 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "DaveSenn/PortableExtensions",
"max_stars_repo_path": ".Src/Extend/System.Random/Random.CoinToss.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136894"
} | starcoder | #region Usings
using System;
using JetBrains.Annotations;
#endregion
namespace Extend
{
/// <summary>
/// Class containing some extension methods for <see cref="Random" />.
/// </summary>
public static partial class RandomEx
{
/// <summary>
/// Returns rand... | 2.971193 | 788bf11b153e08411d80bab997cd06ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817675 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MichaelKappel/SpeedCube",
"max_stars_repo_path": "RC/RC.AzureRespositories/AzureBlobStorageRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136895"
} | starcoder | using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using System;
using System.IO;
namespace VariableBase.Mathematics
{
public class AzureBlobStorageRepository
{
String StorageConnectionString = "Add connection string here";
public void Create(String containerNam... | 2.962625 | bf9f3be16b79791830a063f0e46ae7cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817676 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "warrenbuckley/gitter-api-pcl",
"max_stars_repo_path": "GitterSharp/GitterSharp/Model/RoomSecurityType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136896"
} | starcoder | namespace GitterSharp.Model
{
public static class RoomSecurityType
{
/// <summary>
/// A room that represents a GitHub Organisation
/// </summary>
public static string Organisation = "ORG";
/// <summary>
/// A room that represents a GitHub Repository
///... | 2.501397 | c7f4e12d0b36c40a2f033546e43862fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817677 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "Sitefinity/feather-widgets",
"max_stars_repo_path": "Telerik.Sitefinity.Frontend.Navigation/Mvc/Models/LanguageSelector/LanguageSelectorModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136897"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using Telerik.Sitefinity.Abstractions;
using Telerik.Sitefinity.Localization.UrlLocalizationStrategies;
using Telerik.Sitefinity.Modules.Pages;
using Telerik.Sitefinity.Pages.Model;... | 2.067212 | 6fb1c5753ec13e9092d71d18e174b6bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chen1993nian/CPMPlatform",
"max_stars_repo_path": "AppModel/EIS.WorkFlow.XPDLParser/Elements/SubFlowExecution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136898"
} | starcoder | <gh_stars>0
using System;
namespace EIS.WorkFlow.XPDLParser.Elements
{
public enum SubFlowExecution
{
ASYNCHR,
SYNCHR
}
} | 0.738286 | dd74c9fb3e97655110b56537a18822ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817679 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "icedream/NPSharp",
"max_stars_repo_path": "src/npfile/NP2HTTPUserFileHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136899"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using log4net;
using NPSharp.NP;
using uhttpsharp;
using uhttpsharp.Headers;
using HttpResponse = uhttpsharp.HttpResponse;
namespace NPSharp.CommandLine.File
{
internal class NP2HTTPUserFileHandler : IHttpRequestHandl... | 2.449094 | ad7d3d76ccc5a6ebe19bac41e2877e0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "j-brooke/BattlePlan",
"max_stars_repo_path": "battleplanengine/Dto/V3/UnitCharacteristics.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136900"
} | starcoder | using System;
namespace BattlePlanEngine.Dto.V3
{
public class UnitCharacteristics
{
public string Name { get; set; }
public char Symbol { get; set; } = '?';
public string Behavior { get; set; } = "None";
public bool CanBeAttacker { get; set; }
public bool CanBeDefender ... | 2.175322 | a84a9324dd5cf70ed6dc16c5147c4739 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817681 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mattiascibien/trowel",
"max_stars_repo_path": "Trowel.Shell/Commands/OpenCommandBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136901"
} | starcoder | using LogicAndTrick.Oy;
using Trowel.Common.Shell.Commands;
using Trowel.Common.Shell.Context;
using Trowel.Common.Shell.Hotkeys;
using Trowel.Common.Translations;
using System.ComponentModel.Composition;
using System.Threading.Tasks;
namespace Trowel.Shell.Commands
{
/// <summary>
/// Opens the command box
... | 1.976125 | 0ecd2deea70412471c32c870a379fd95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "statisticssweden/PxWin",
"max_stars_repo_path": "PXWin.AggregationTool/Forms/PxFileValuesDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136902"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PCAxis.Paxiom;
using System.ComponentModel.Composition;
using PX.Desktop.Interfaces;
namespace PXWin.AggregationTool... | 2.075128 | 896d77a9dfa5603abb963ff1a33a8a11 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817683 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pashcovich/Glass.Mapper",
"max_stars_repo_path": "Sites/Umbraco/Glass.Mapper.Sites.Umb/umbraco/Views/Default.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136903"
} | starcoder | <reponame>pashcovich/Glass.Mapper
@using System.Web.Mvc.Html
@using Umbraco.Core
@using ClientDependency.Core
@using ClientDependency.Core.Mvc
@using umbraco
@inherits System.Web.Mvc.WebViewPage
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<base href="@GlobalSettings.Path.EnsureEndsWith('/')" ... | 1.175139 | 77b5975154537a7dbf058ec019a9d432 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817684 | {
"extension": "c-sharp",
"max_stars_count": "568.0",
"max_stars_repo_name": "heroboy/XUnity.AutoTranslator",
"max_stars_repo_path": "test/XUnity.AutoTranslator.Plugin.Core.Tests/CoroutineSimulator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136904"
} | starcoder | using System.Collections;
using System.Threading.Tasks;
namespace XUnity.AutoTranslator.Plugin.Core.Tests
{
public static class CoroutineSimulator
{
public static async Task StartAsync( IEnumerator coroutine )
{
while(coroutine.MoveNext())
{
if( coroutine.Current is IEn... | 2.281555 | 50193fd6c0e69668e0707dbb9061406e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JaCraig/ObjectCartographer",
"max_stars_repo_path": "ObjectCartographer/Internal/PropertyMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136905"
} | starcoder | using ObjectCartographer.Interfaces;
using System;
using System.Reflection;
namespace ObjectCartographer.Internal
{
/// <summary>
/// Property mapping
/// </summary>
/// <typeparam name="TLeft">The type of the left.</typeparam>
/// <typeparam name="TRight">The type of the right.</typeparam>
//... | 2.835741 | 1178270cde1a427c70d6d9ff74553efd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817686 | {
"extension": "c-sharp",
"max_stars_count": "70.0",
"max_stars_repo_name": "ConstellationLanguage/RuntimeConstellationLoading",
"max_stars_repo_path": "ConstellationRuntimeExample/Assets/Constellation/Plugins/Constellation/Scripts/Core/Nodes/CoreNodes/TeleportIn.cs",
"provenance": "train-00027-of-00045.jsonl... | starcoder | <reponame>ConstellationLanguage/RuntimeConstellationLoading<filename>ConstellationRuntimeExample/Assets/Constellation/Plugins/Constellation/Scripts/Core/Nodes/CoreNodes/TeleportIn.cs
namespace Constellation.CoreNodes {
public class TeleportIn : INode, IReceiver, ITeleportIn {
public const string NAME = "Te... | 2.16098 | c7cebe8f6d287d8ae8af553252d8c7c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817687 | {
"extension": "c-sharp",
"max_stars_count": "135.0",
"max_stars_repo_name": "SutandoTsukai181/Smash-Forge",
"max_stars_repo_path": "Smash Forge/Filetypes/Models/Nuds/NudRenderMesh.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136907"
} | starcoder | using OpenTK.Graphics.OpenGL;
using SFGenericModel;
using SFGenericModel.Materials;
using SFGenericModel.RenderState;
using SFGraphics.GLObjects.Shaders;
using SmashForge.Filetypes.Models.Nuds;
using SmashForge.Rendering;
using System.Collections.Generic;
namespace SmashForge
{
public class NudRenderMesh : Generi... | 2.200264 | 35bbe4b027bbcc338f1e21c718558c53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817688 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TaylorNT3/Stock.Indicators",
"max_stars_repo_path": "tests/indicators/_common/Test.Functions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136908"
} | starcoder | <gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Skender.Stock.Indicators;
namespace Internal.Tests;
[TestClass]
public class FunctionsTests : TestBase
{
private readonly double[] closePrice = longishQuotes
.Select(x => (double)x.Close)
.ToArray();
[TestMethod]
pub... | 2.474815 | c358e6c12a5862824f5aac0638426bed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lsalomao/RestCliente.Net",
"max_stars_repo_path": "RestClient.Net.Abstractions/DeserializationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136909"
} | starcoder | <gh_stars>0
using System;
namespace RestClient.Net.Abstractions
{
public class DeserializationException : Exception
{
private readonly byte[] _responseData;
public IClient Client { get; }
public DeserializationException(
string message,
byte[] responseData,
... | 2.241163 | 002e81e73878190d3d4daeb788ccec2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817690 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "widecommerce/kore-cms",
"max_stars_repo_path": "Kore.Web.ContentManagement/Areas/Admin/ContentBlocks/ContentBlockBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136910"
} | starcoder | <reponame>widecommerce/kore-cms
using System;
using Kore.ComponentModel;
using Kore.Data;
namespace Kore.Web.ContentManagement.Areas.Admin.ContentBlocks
{
public abstract class ContentBlockBase : IEntity, IContentBlock
{
#region IContentBlock Members
public Guid Id { get; se... | 1.585665 | 08b3743597c982913089cf0b039a6037 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817691 | {
"extension": "c-sharp",
"max_stars_count": "622.0",
"max_stars_repo_name": "Hunter1994/Ray",
"max_stars_repo_path": "examples/TxTransfer/TxTransfer.Grains/States/AccountState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136911"
} | starcoder | using Ray.Core.Snapshot;
namespace TxTransfer.Grains.States
{
public class AccountState : ICloneable<AccountState>
{
public decimal Balance { get; set; }
public AccountState Clone()
{
return new AccountState
{
Balance = Balance
};
... | 2.066884 | ed1711f54aba0fb1f16a3c28d6fba0c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yaourt/sipsorcery",
"max_stars_repo_path": "src/app/Media/Codecs/G729Codec/DecLd8k.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136912"
} | starcoder | <reponame>yaourt/sipsorcery
/*
* Copyright @ 2015 Atlassian Pty Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 1.796327 | a9c3f311d43203a373a44036452c68f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817693 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nef001/ags-client",
"max_stars_repo_path": "ags-client/Resources/MapService/MapServiceResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136913"
} | starcoder | using ags_client.Types;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ags_client.Resources.MapService
{
public class MapServiceResource : BaseResponse
{
public string currentVersion { get; set; }
public string serviceDescription { get; set; }
public strin... | 2.404174 | 9aa488a32d8920b9112b132721232bf3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817694 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rimij405/flatworld",
"max_stars_repo_path": "Assets/UI/PauseMenu/PauseMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136914"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PauseMenu : MonoBehaviour
{
public GameObject bGPause; //Background pause menu variable
public void QuitGame()
{
Debug.Log("The game would have returned to... | 2.238015 | 6ac9c16f2db32c0a0b2bac042dfd9b36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817695 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mchaloupka/DotNetR2RMLStore",
"max_stars_repo_path": "src/Slp.Evi.Storage/Slp.Evi.Storage.MsSql/Reader/MsSqlReaderColumn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136915"
} | starcoder | using Slp.Evi.Storage.Core.Database;
namespace Slp.Evi.Storage.MsSql.Reader
{
public class MsSqlReaderColumn
: ISqlResultColumn
{
/// <inheritdoc />
public string Name { get; }
/// <inheritdoc />
public VariableValue VariableValue { get; }
public MsSqlReaderCo... | 1.869881 | 2a09af670c0d09b0a9faac46ceaab4d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "slawor/MORYX-ClientFramework",
"max_stars_repo_path": "src/Controls4Industry/LabeledControlHost/LabeledControlHost.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136916"
} | starcoder | // Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
namespace C4I
{
/// <inheritdoc />
/// <summary>
/// Represents a label and content combination. This label supports ... | 2.575427 | a28f9531b078c033e01bb47100f710f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817697 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AegisSpatial/aegis-origin",
"max_stars_repo_path": "AEGIS.Numerics/Calculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136917"
} | starcoder | <gh_stars>1-10
/// <copyright file="Calculator.cs" company="Eötvös Loránd University (ELTE)">
/// Copyright (c) 2011-2019 <NAME>. Licensed under the
/// Educational Community License, Version 2.0 (the "License"); you may
/// not use this file except in compliance with the License. You may
/// obtain a ... | 2.976039 | ba6fe1a6cdb9b3e7c7b7f90091d7a345 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Delphboy/Talks",
"max_stars_repo_path": "EPQ Lightening Talk/Code/EPQ/EPQ/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136918"
} | starcoder | <gh_stars>0
using EPQ.Class_Files;
using System;
using System.Windows.Forms;
namespace EPQ
{
public partial class Form1 : Form
{
private board b = new board();
public search s = new search();
private bool player = true; //true = player | false = AI
private int scoreX =... | 2.849284 | cbceca7e052931039a3ee29983b0bca8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterthomet/BioPuur",
"max_stars_repo_path": "nopCommerce 4.4/src/Presentation/Nop.Web/Areas/Admin/Models/Blogs/BlogCommentListModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136919"
} | starcoder | <reponame>peterthomet/BioPuur<gh_stars>0
using Nop.Web.Framework.Models;
namespace Nop.Web.Areas.Admin.Models.Blogs
{
/// <summary>
/// Represents a blog comment list model
/// </summary>
public partial record BlogCommentListModel : BasePagedListModel<BlogCommentModel>
{
}
} | 1.112154 | 1655ab49f8a77fa5bf6a116866ec8bfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817700 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "jag-personlig-assistans/ZendeskApi_v2",
"max_stars_repo_path": "src/ZendeskApi_v2/Models/Organizations/IndividualOrganizationMembershipResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136920"
} | starcoder | using Newtonsoft.Json;
namespace ZendeskApi_v2.Models.Organizations
{
public class IndividualOrganizationMembershipResponse
{
[JsonProperty("organization_membership")]
public OrganizationMembership OrganizationMembership { get; set; }
}
}
| 1.459463 | fbbe94a7d9a9d2a4c5b3624c79182525 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sunkaiiii/Algorithm4_CSharp",
"max_stars_repo_path": "Chapter2/IPriorityQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136921"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Chapter2
{
interface IPriorityQueue<T> where T:IComparable<T>
{
void Insert(T v);
T Top();
T Delete();
bool IsEmpty { get; }
int Size { get; }
}
}
| 2.616774 | 2c5385e289a892d3b90cac2dddc6db9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andreypudov/ParaglidingWeather",
"max_stars_repo_path": "src/ParaglidingWeather.Bot/Helpers/WeatherParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136922"
} | starcoder | <filename>src/ParaglidingWeather.Bot/Helpers/WeatherParser.cs
// <copyright file="WeatherParser.cs" company="<NAME>">
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information.
// </copyright>
namespace Paragliding... | 2.743286 | e896ba2dfbb511a2433531b0e69ce8ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817703 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hotchaipro/XForms",
"max_stars_repo_path": "src/Core/Controls/CalendarControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136923"
} | starcoder | using System;
namespace XForms.Controls
{
public interface ICalendarControlDelegate
{
void NotifySelectedDateChanged(DateTimeOffset? date);
}
public interface ICalendarControlRenderer : IControlRenderer
{
DateTime? SelectedDate { get; set; }
DateTime MinimumDate { get; se... | 2.685415 | 923a9f4ec185a7ffbfa63685afbeecef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817704 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "sdzxwxlsj/lsjutil",
"max_stars_repo_path": "Src/Lsj.Util.Win32/Enums/FindStringFlags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136924"
} | starcoder | <filename>Src/Lsj.Util.Win32/Enums/FindStringFlags.cs
using static Lsj.Util.Win32.Kernel32;
namespace Lsj.Util.Win32.Enums
{
/// <summary>
/// Find String Flags
/// </summary>
public enum FindStringFlags : uint
{
/// <summary>
/// FIND_STARTSWITH
/// </summary>
FIND... | 2.182542 | 2f0d43db1039d4160b1c66c5bb6c7a23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sekmenhuseyin/Birikim.WMS",
"max_stars_repo_path": "Wms12m.Presentation/Areas/ToDo/Controllers/DutiesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136925"
} | starcoder | using Birikim.Models;
using System;
using System.Linq;
using System.Web.Mvc;
using Wms12m.Entity;
using Wms12m.Entity.Models;
namespace Wms12m.Presentation.Areas.ToDo.Controllers
{
public class DutiesController : RootController
{
/// <summary>
/// görevler sayfası
/// </summary>
... | 1.951094 | 6e37eed83d074defe41f8e3e752f0be7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Divya1384/designpatterns",
"max_stars_repo_path": "Creational/AbstractFactoryPattern/MacTextBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136926"
} | starcoder | <filename>Creational/AbstractFactoryPattern/MacTextBox.cs
using System;
namespace AbstractFactoryPattern
{
public class MacTextBox : ITextBox
{
public void Paint()
{
Console.WriteLine("Painting mac textbox");
}
}
}
| 2.498089 | 3c5bdf7ec07a2bff90a83a778da5033c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "edunad/tempus",
"max_stars_repo_path": "Assets/Scripts/Utils/util_timer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136927"
} | starcoder | <reponame>edunad/tempus
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class util_timer
{
private static Dictionary<string, util_timer> _timers;
private static int MxTimer = 0;
private float _fCreationTime;
private float _fNextIteration;
public stati... | 2.477085 | ffb2545e7061838749837ff17033f604 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817708 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "milismsft/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/AppService/Generated/WebAppsOperationsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136928"
} | starcoder | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.AppService.Fluent
... | 1.988712 | 8d6212138be2542888776726f62eccfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zoroz/aspnetcoreworkshop",
"max_stars_repo_path": "lab/ConsoleApp1/MyOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136929"
} | starcoder | namespace ConsoleApp1
{
public class MyOption
{
public string SettingA { get; set; }
public int SettingB { get; set; }
}
} | 1.618344 | f424ef207f13cdbadc897ff1e9695770 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817710 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "markrendle/Flux",
"max_stars_repo_path": "src/Flux/BufferStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136930"
} | starcoder | namespace Flux
{
using System;
using System.IO;
using System.Threading;
internal sealed class BufferStream : Stream
{
private MemoryStream _memoryStream;
internal Stream InternalStream
{
get { return _memoryStream
??
... | 2.627934 | 7e2cbf988de2ead5063a32ccac4ace29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817711 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LiruJ/GuiCookie",
"max_stars_repo_path": "GuiCookie/Elements/Button.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136931"
} | starcoder | using GuiCookie.Components;
using LiruGameHelper.Signals;
using System;
namespace GuiCookie.Elements
{
public class Button : Element, IClickable
{
#region Components
/// <summary> The component that handles mouse events. </summary>
protected MouseHandler mouseHandler;
#endregio... | 2.98946 | d9f6647cc72457d68b2fed8e647036f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817712 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evanolds/LocalNetworkWebServer",
"max_stars_repo_path": "ConcatStream.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136932"
} | starcoder | // Author:
// <NAME>
//
// Creation Date:
// November 23, 2014
using System;
using System.IO;
namespace ETOF.IO
{
/// <summary>
/// Simulates the concatenation of two streams together. The two streams are NOT actually
/// concatenated in memory. The ConcatStream keeps references to both underlying stream... | 3.25299 | ab5b14bd35ac632aa9c113aef49e4c0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817713 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HolAutisme/PopBalloon",
"max_stars_repo_path": "Assets/Scripts/Sharing/HRMData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136933"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
/// <summary>
/// Handle HRM Data send by the band
/// TODO: Need the band to update data.
/// TODO: Should Be static, we have only one instance of HRM Data.
/// </summary>
public class HRMDat... | 2.413488 | 4d97b90724a255cc04f5bfa7aa10f835 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817714 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "Noc2/Chiota",
"max_stars_repo_path": "Chiota/Chiota/Views/Authentication/LogInView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136934"
} | starcoder | namespace Chiota.Views.Authentication
{
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
/// <inheritdoc />
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class LogInView : ContentPage
{
public LogInView()
{
InitializeComponent();
}
}
} | 1.509148 | c7f4cdfed3b8a4fc11d6930111e157bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817715 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mlunnay/minotaur",
"max_stars_repo_path": "minotaur/Minotaur.Pipeline/Graphics/ModelMeshContent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136935"
} | starcoder | <reponame>mlunnay/minotaur
using System;
using System.Collections.Generic;
using Minotaur.Core;
namespace Minotaur.Pipeline.Graphics
{
public class ModelMeshContent
{
public List<ModelMeshPartContent> MeshParts { get; private set; }
public string Name { get; set; }
public BoundingSphere BoundingSphere... | 2.090138 | 95bbc520541a3fc9bc856af9e49143ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817716 | {
"extension": "c-sharp",
"max_stars_count": "6385.0",
"max_stars_repo_name": "Lxiamail/BenchmarkDotNet",
"max_stars_repo_path": "src/BenchmarkDotNet.Annotations/Attributes/TargetedAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136936"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
namespace BenchmarkDotNet.Attributes
{
/// <summary>
/// Base class for attributes that are targeted at one or more method(s)
/// </summary>
public abstract class TargetedAttribute : Attribute
{
public string[] Targets { get; set; }... | 2.945097 | 9a38ad30d37a899b454866886faba615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817717 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "v23gamer/Battlerite_IHL_Bot",
"max_stars_repo_path": "IHLBot/IHLBot/Modules/Module.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136937"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord.Modules;
using Discord.Commands;
namespace IHLBot.Modules
{
internal abstract class Module : IModule
{
public abstract void Install(ModuleManager manager);
public ... | 1.727918 | 2da58174468ea380469efd874a87fcad |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.