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 | 8849112 | {
"extension": "c-sharp",
"max_stars_count": "159.0",
"max_stars_repo_name": "SeanKilleen/Docs",
"max_stars_repo_path": "aspnet/mvc/overview/older-versions-1/nerddinner/use-ajax-to-deliver-dynamic-updates/samples/sample4.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168332"
} | starcoder | public class RSVPController : Controller {
DinnerRepository dinnerRepository = new DinnerRepository();
//
// AJAX: /Dinners/RSVPForEvent/1
[Authorize, AcceptVerbs(HttpVerbs.Post)]
public ActionResult Register(int id) {
Dinner dinner = dinnerRepository.GetDinner(id);
if (!dinner.... | 2.191222 | 8e2a228a93f311c77f7064e18212e78e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849113 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grofit/EcsRx.Net",
"max_stars_repo_path": "src/EcsRx.Tests/EcsRx/Database/EntityDatabaseExtensionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168333"
} | starcoder | <reponame>grofit/EcsRx.Net
using System;
using System.Linq;
using System.Reflection;
using EcsRx.Collections.Database;
using EcsRx.Collections.Entity;
using EcsRx.Entities;
using EcsRx.Extensions;
using EcsRx.Lookups;
using NSubstitute;
using Xunit;
namespace EcsRx.Tests.EcsRx.Database
{
public class EntityDatabas... | 2.328426 | e67ae3ca6f92f3f5970701ab230d961b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849114 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "cuongdodinh/BehaviorTrees",
"max_stars_repo_path": "Example2/BehaviorTrees.IronPython/IronPython/PythonInterpreter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168334"
} | starcoder | <filename>Example2/BehaviorTrees.IronPython/IronPython/PythonInterpreter.cs
// Copyright(c) 2015-2019 <NAME>. Code under MIT license.
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Xml;
using Microsoft.Scripting.Hosting;
using IronPy... | 2.301055 | aad219570ac0b499f65ef95d7b4757d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849115 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PatientZero-AU/GraphQL-Demo",
"max_stars_repo_path": "ToughCuddles.Data/Models/Team.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168335"
} | starcoder | <reponame>PatientZero-AU/GraphQL-Demo
using System;
using System.Collections.Generic;
namespace ToughCuddles.Data.Models
{
public partial class Team
{
public Team()
{
Contestants = new HashSet<Contestant>();
MatchesAwayTeam = new HashSet<Match>();
MatchesHom... | 2.055357 | 350ce26f441e550b393176693e8a72e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apprime/Game",
"max_stars_repo_path": "Data/DataProviders/Monsters/PersistentMonsterData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168336"
} | starcoder | <reponame>apprime/Game
namespace Data.DataProviders.Monsters
{
class PersistentMonsterData
{
}
}
| 0.945339 | c40502e9373d9e320554b8075d0bdbf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rombique/Bobkov.xyz",
"max_stars_repo_path": "Bobkov.BL/Infrastructure/OperationDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168337"
} | starcoder | namespace Bobkov.BL.Infrastructure
{
public class OperationDetails
{
public OperationDetails(bool succeedeed, string message, string category)
{
Succeedeed = succeedeed;
Message = message;
Category = category;
}
public bool Succeedeed { get; p... | 1.997401 | 20736c6789e55091c6563607df17b3cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849118 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "senapatisantosh/Advance-.NET-Workshop",
"max_stars_repo_path": "MultiThreadingDemo/IRCTCBOOKING/IRCTCBooking.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168338"
} | starcoder | <reponame>senapatisantosh/Advance-.NET-Workshop
using MulticastEvent;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IRCTCBOOKING
{
public class IRCTCBooking
{
//public delegate void SendNotification(string username);
... | 2.201041 | c8bd4b407c20f3bf06b0d6ad57a125ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alpaix/azure-jobs",
"max_stars_repo_path": "test/Dashboard.UnitTests/Data/VersionedMetadataTextStoreTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168339"
} | starcoder | <filename>test/Dashboard.UnitTests/Data/VersionedMetadataTextStoreTests.cs<gh_stars>0
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
... | 2.072166 | c90cb711e7ea7c7ac463ecfdd1e8f47a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lkosciuk/MusicCenter",
"max_stars_repo_path": "MusicCenter.Dal/EntityModels/Files.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168340"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MusicCenter.Dal.EntityModels
{
public class Files
: BaseEntity
{
public string name { get; set; }
public string path { get; set; }
public v... | 1.813063 | 4b1c186d1eef7ed0df332ae54cc15680 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849121 | {
"extension": "c-sharp",
"max_stars_count": "218.0",
"max_stars_repo_name": "FedorUporov/gridgain",
"max_stars_repo_path": "modules/platforms/dotnet/Apache.Ignite.Core/Compute/ComputeJobResultPolicy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168341"
} | starcoder | <gh_stars>100-1000
/*
* Copyright 2019 GridGain Systems, Inc. and Contributors.
*
* Licensed under the GridGain Community Edition License (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.gridgain.com/products/softwar... | 1.797716 | 78d85510d67a124228ea0879ef976c1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849122 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "opensearch-project/opensearch-net",
"max_stars_repo_path": "tests/Tests/Document/Single/TermVectors/TermVectorsNotFoundApiTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168342"
} | starcoder | <gh_stars>1-10
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elastics... | 1.332099 | edf07523f7b2802d69fd69510d1cde68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849123 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "hjred/ZlibStream",
"max_stars_repo_path": "src/ZlibStream/Trees.Static.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168343"
} | starcoder | <gh_stars>10-100
// Copyright (c) <NAME>ors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace SixLabors.ZlibStream
{
internal sealed unsafe partial class Trees
{
/// <summary>
/// Gets the st... | 2.718144 | 4925739c2ba00ce01b9a50dd5c2f7578 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teamtam/xamarin-timesheet",
"max_stars_repo_path": "TimesheetX.Android/OutstandingTimesheetsAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168344"
} | starcoder | <filename>TimesheetX.Android/OutstandingTimesheetsAdapter.cs<gh_stars>0
using System.Collections.Generic;
using Android.App;
using Android.Views;
using Android.Widget;
using TimesheetX.Models;
namespace TimesheetX.Android
{
public class OutstandingTimesheetsAdapter : BaseAdapter<TimesheetEntry>
{
priva... | 2.864836 | 622b64f2e7c2f26533fb508f83a6a1e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849125 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "lazycrazy/WinDoAdmin",
"max_stars_repo_path": "WinDoControls/Helpers/Ext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168345"
} | starcoder | <filename>WinDoControls/Helpers/Ext.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace WinDoControls
{
public static partial class Ext
{
public s... | 2.928008 | 41c652c50018ca3954bc9d5a8229d4e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849126 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mastercs999/strategy-player",
"max_stars_repo_path": "src/Analyzer/Mocking/ITradingFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168346"
} | starcoder | <filename>src/Analyzer/Mocking/ITradingFactory.cs
using Analyzer.Mocking.Api;
using Analyzer.Mocking.Api.Models;
using Analyzer.Mocking.Api.Models.Orders;
using Analyzer.Mocking.Data;
using Analyzer.Mocking.Gateway;
using Analyzer.Mocking.Notify;
using Analyzer.Mocking.Time;
using Analyzer.TradingBase;
using C... | 1.946059 | 15724982b96f9834fc8dda884fbd1614 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849127 | {
"extension": "c-sharp",
"max_stars_count": "443.0",
"max_stars_repo_name": "chinagzcp/CatLib",
"max_stars_repo_path": "Demo/Runtime/Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168347"
} | starcoder | /*
* This file is part of the CatLib package.
*
* (c) CatLib <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
using CatLib;
using CatLib.Util;
using UnityEngine;
namespace Demo
{
//... | 2.204062 | 4d616e055571e2e7f21baabf3f4974d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849128 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mavasani/visualstudio-docs",
"max_stars_repo_path": "docs/extensibility/codesnippet/CSharp/walkthrough-displaying-quickinfo-tooltips_17.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168348"
} | starcoder | [Import]
internal IQuickInfoBroker QuickInfoBroker { get; set; } | 1.645449 | b8c5dbccfbbdfb8f3f4f8ccb49aadb66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849129 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "HebrewNLP/HebrewNLP.NET",
"max_stars_repo_path": "AnalyzeExample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168349"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using HebrewNLP.Morphology;
namespace AnalyzeExample
{
class Program
{
static void Main(string[] args)
{
//TODO fill the password
HebrewNLP.HebrewNLP.Password = "";
Console.Ou... | 2.712816 | 4f0b64e073a503740b7ee94c0bf2f6fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Efruit/SS14",
"max_stars_repo_path": "Content.Server/Tabletop/Components/TabletopGameComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168350"
} | starcoder | using Content.Shared.ActionBlocker;
using Content.Shared.Verbs;
using Robust.Server.GameObjects;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Localization;
using Robust.Shared.Maths;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespa... | 1.984276 | df6ef3900136b5304b360dffb70192d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "plutoproductions/EarTrumpet",
"max_stars_repo_path": "EarTrumpet/TrayIcon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168351"
} | starcoder | using EarTrumpet.Services;
using System;
using System.Reflection;
using System.Windows;
namespace EarTrumpet
{
class TrayIcon
{
public event Action Invoked = delegate { };
private readonly System.Windows.Forms.NotifyIcon _trayIcon;
public TrayIcon()
{
_trayIcon = ... | 2.383356 | eb4c1e5630d2f4bf9c1cb8ba414ff6e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849132 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mcleo-d/SFE-Minuet-DesktopClient",
"max_stars_repo_path": "minuet/Paragon.Runtime/Win32/Enums/ProcessDumpType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168352"
} | starcoder | //Licensed to the Apache Software Foundation(ASF) under one
//or more contributor license agreements.See the NOTICE file
//distributed with this work for additional information
//regarding copyright ownership.The ASF licenses this file
//to you under the Apache License, Version 2.0 (the
//"License"); you may not use t... | 1.539522 | ae288db98ab2dd62668132d9d5e04332 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849133 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Kuptsevych/Unity-DOTS-DynamicBufferHashSet",
"max_stars_repo_path": "Assets/Examples/ExampleComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168353"
} | starcoder | using Unity.Entities;
public struct ExampleComponent : IComponentData
{
public float Time;
public bool Remove;
public bool Check1;
public bool Check2;
} | 1.500341 | 91b4d78d7b06ca42b05e460bdffde306 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tositeru/hinode",
"max_stars_repo_path": "Tests/Runtime/CSharp/Extensions/TestRandomExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168354"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
namespace Hinode.Tests.CSharp.Extensions
{
/// <summary>
/// <seealso cref="RandomExtensions"/>
/// </summary>
public class TestRandomExtensions
... | 2.246642 | 65820e8614136e7c4c6381d3ca3cd556 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Envisitor/EliteAPI",
"max_stars_repo_path": "EliteAPI/Options/Bindings/Abstractions/IBindings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168355"
} | starcoder | <filename>EliteAPI/Options/Bindings/Abstractions/IBindings.cs
using System.Collections.Generic;
using EliteAPI.Options.Abstractions;
namespace EliteAPI.Options.Bindings.Models
{
/// <summary>
/// Holds information about the keybindings
/// </summary>
public interface IBindings : IOption
{
... | 1.837875 | 10085974542badeb52807c48848eb7c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849136 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "int03/NServiceKit",
"max_stars_repo_path": "tests/NServiceKit.WebHost.IntegrationTests/Services/VerbMatch1Service.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168356"
} | starcoder | <filename>tests/NServiceKit.WebHost.IntegrationTests/Services/VerbMatch1Service.cs
using System;
using System.Runtime.Serialization;
using NServiceKit.Common.Web;
using NServiceKit.ServiceHost;
namespace NServiceKit.WebHost.IntegrationTests.Services
{
/// <summary>A verb match 1.</summary>
[DataContract]
... | 2.39062 | 8ff15182b5cea1219ac3abecde94ba1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849137 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "D0683497/TsheThauLoo",
"max_stars_repo_path": "TsheThauLoo/Mappers/RootProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168357"
} | starcoder | using AutoMapper;
using TsheThauLoo.Dtos;
using TsheThauLoo.Entities.User;
namespace TsheThauLoo.Mappers
{
public class RootProfile : Profile
{
public RootProfile()
{
#region ApplicationUser 轉換成 AboutDto
CreateMap<ApplicationUser, AboutDto>()
.ForMember... | 2.282119 | 88a605b4faaea78c3a79161e214f78dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849138 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Externius/DungeonDotNet",
"max_stars_repo_path": "MvcRDMG.Infrastructure/Repository/UserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168358"
} | starcoder | using AutoMapper;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using MvcRDMG.Core.Abstractions.Repository;
using MvcRDMG.Core.Domain;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MvcRDMG.Infrastructure
{
public class UserReposi... | 2.711088 | a0c067e6f596301fb3f602a9d7066406 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849139 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "seldomU/relationsinspector",
"max_stars_repo_path": "RIDLLProject/DemoRestriction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168359"
} | starcoder | <reponame>seldomU/relationsinspector
#if RIDEMO
using UnityEngine;
using UnityEditor;
namespace RelationsInspector
{
static class DemoRestriction
{
static int inputEventCount = 0;
const int inputEventCountThreshold = 500;
public static void Run()
{
switch (Event.current.type)
{
case EventType.M... | 1.859452 | ccbc39fc8a8598204c9448b6565d4a07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849140 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "tugberkugurlu/PingYourPackage",
"max_stars_repo_path": "src/test/PingYourPackage.API.Test.Integration/Controllers/AffiliateShipmentsControllerIntegrationTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168360"
} | starcoder | using Autofac;
using Autofac.Integration.WebApi;
using Moq;
using PingYourPackage.API.Model.Dtos;
using PingYourPackage.API.Model.RequestModels;
using PingYourPackage.Domain.Entities;
using PingYourPackage.Domain.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
... | 1.842018 | e17c331a79afebd4d875a2c55d3d1cbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849141 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WeLikeIke/DubitaC",
"max_stars_repo_path": "Source/Library/PackageCache/com.unity.localization@1.2.1/Editor/UI/Smart Format/SmartFormatterPropertyField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168361"
} | starcoder | using System;
using System.Linq;
using UnityEditor.Localization.UI.Toolkit;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.Localization.Settings;
using UnityEngine.Localization.SmartFormat;
using UnityEngine.Localization.SmartFormat.Core.Extensions;
using UnityEngine.UIElements;
using ReorderableLis... | 2.11956 | c0b1511b01ebcef43b7f66fe9cac4f86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849142 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DomenicoIngrati/EmbASP",
"max_stars_repo_path": "CSharp version/it/unical/mat/parsers/asp/dlv2/DLV2ParserBaseVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168362"
} | starcoder | <filename>CSharp version/it/unical/mat/parsers/asp/dlv2/DLV2ParserBaseVisitor.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.7
//
// Changes to this file may cause incorrect behavior and will b... | 2.153617 | a16de53872c40554f03e1bd79cef74b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HiDeoo/ValheimTwitch",
"max_stars_repo_path": "ValheimTwitch/Patches/FejdStartupPatch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168363"
} | starcoder | <gh_stars>0
using HarmonyLib;
using System;
using UnityEngine;
using ValheimTwitch.Helpers;
using ValheimTwitch.Twitch.API.Helix;
namespace ValheimTwitch.Patches
{
[HarmonyPatch(typeof(FejdStartup), "Start")]
public static class FejdStartupStartPatch
{
public static GameObject gui;
public ... | 1.745279 | 536ced3c5e247c4561e9f0dd06e6ca71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849144 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "microserviceframe/Silky",
"max_stars_repo_path": "framework/src/Silky.DotNetty.Abstraction/HeartBeat.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168364"
} | starcoder | namespace Silky.DotNetty.Abstraction
{
public static class HeartBeat
{
public static string Semaphore = "heart";
}
} | 1.503586 | 6f7afee9034be04ff24d54a82eab117a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849145 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jcapellman/Raptor",
"max_stars_repo_path": "Src/Raptor.WebAPI/Containers/ManagerContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168365"
} | starcoder | using Raptor.WebAPI.BusinessLayer.Settings;
namespace Raptor.WebAPI.Containers {
public class ManagerContainer {
public GlobalSettings GSetings { get; set; }
}
} | 1.388807 | 9c839e49c6960a03e910b701a565c500 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "slamby/slamby-tau",
"max_stars_repo_path": "src/Slamby.TAU/View/ErrorDetailsWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168366"
} | 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.356974 | e628eb883457766af1b58f5818222fb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nventive/MallardMessageHandlers",
"max_stars_repo_path": "src/MallardMessageHandlers/Network/NetworkExceptionFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168367"
} | starcoder | <filename>src/MallardMessageHandlers/Network/NetworkExceptionFactory.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace MallardMessageHandlers
{
public class NetworkExceptionFactory : INetworkExceptionFactory
{
public Exception CreateNetworkException(Exception innerException)
{
r... | 2.209698 | 4edf1be40cad9154fed958c71d8af591 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarcusBoay/Kontrol",
"max_stars_repo_path": "SpaceShooter2/Assets/My Assets/Scripts/Enemy/InvulBulletCollide.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168368"
} | starcoder | <reponame>MarcusBoay/Kontrol<filename>SpaceShooter2/Assets/My Assets/Scripts/Enemy/InvulBulletCollide.cs
using UnityEngine;
namespace Kontrol
{
public class InvulBulletCollide : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.tag == "PlayerRic... | 1.967148 | 6dca1a6987bf771bbdeca75c2a58f424 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lynngr/MagicalLife",
"max_stars_repo_path": "MagicalLifeAPI/GUI/Selectable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168369"
} | starcoder | <gh_stars>0
using MagicalLifeAPI.DataTypes;
using MagicalLifeAPI.Entity;
using MagicalLifeAPI.World.Base;
using ProtoBuf;
namespace MagicalLifeAPI.GUI
{
/// <summary>
/// All objects in the game that can be clicked on inherit from this.
/// </summary>
[ProtoContract]
[ProtoInclude(2, typeof(Living... | 2.497344 | 432ae8647472138c8d9c193346962f01 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849150 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Geinome/Gwen.CS",
"max_stars_repo_path": "Gwen.Net.Tests.Components/ColorPickersTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168370"
} | starcoder | <gh_stars>1-10
using System;
using Gwen.Net;
using Gwen.Net.Control;
using Gwen.Net.Control.Layout;
namespace Gwen.Net.Tests.Components
{
[UnitTest(Category = "Non-standard", Order = 501)]
public class ColorPickersTest : GUnit
{
public ColorPickersTest(ControlBase parent)
: base(parent... | 2.388436 | ade6c0096fcf17a9e63b2d7122dde9a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849151 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dyl10s/AutomateML",
"max_stars_repo_path": "Website.Tests/Models/ModelVoteTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168371"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Website.Models;
using System;
using System.Collections.Generic;
using System.Text;
using Moq;
using NPoco;
namespace Website.Models.Tests
{
[TestClass()]
public class ModelVoteTests
{
Mock<IDatabase> MockDb;
[TestInitialize()]
... | 2.219888 | f842d4964a6be99f5faed68db4599c97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849152 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BobGerman/Bots",
"max_stars_repo_path": "ConsultingBot/ConsultingData/Services/MockClients.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168372"
} | starcoder | using ConsultingData.Models;
using System.Collections.Generic;
namespace ConsultingData.Services
{
public static class MockClients
{
public static List<ConsultingClient> data = new List<ConsultingClient>
{
new ConsultingClient()
{
ClientI... | 2.285735 | b3a34075487a21fb0375ccd40a0871d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849153 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Daymortel/Stump",
"max_stars_repo_path": "src/Stump.DofusProtocol/D2oClasses/Classes/mounts/MountBone.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168373"
} | starcoder | using System;
using System.Collections.Generic;
using Stump.DofusProtocol.D2oClasses;
using Stump.DofusProtocol.D2oClasses.Tools.D2o;
namespace Stump.DofusProtocol.D2oClasses
{
[D2OClass("MountBone", "com.ankamagames.dofus.datacenter.mounts")]
[Serializable]
public class MountBone : IDataObject, IIndexedD... | 1.949151 | a42789c2db8c79770eb1404e0b0c1251 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849154 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "xcomponent/ReactiveXComponent.Net",
"max_stars_repo_path": "ReactiveXComponent/Serializer/CustomSerializerContainerAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168374"
} | starcoder | <reponame>xcomponent/ReactiveXComponent.Net
using System;
namespace ReactiveXComponent.Serializer
{
[AttributeUsage(AttributeTargets.Assembly)]
public class CustomSerializerContainerAttribute : Attribute
{
}
}
| 1.36668 | d39cb69848aea0434a0364a0b8828e49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HectorRPC/Toggl2Excel",
"max_stars_repo_path": "Toggl.Giskard/Activities/MainActivity.ViewBinds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168375"
} | starcoder | using System;
using System.ComponentModel;
using System.Reactive.Disposables;
using System.Threading.Tasks;
using Android.App;
using Android.Content.PM;
using Android.Graphics;
using Android.OS;
using Android.Support.Design.Widget;
using Android.Views;
using Android.Widget;
using MvvmCross.Droid.Support.V7.AppCompat;
... | 1.287306 | c2a5c905cf269afbc1137f423db83929 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849156 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rafalohaki/SoftUni",
"max_stars_repo_path": "Technology-Fundamentals-C#/Lists/Exercise/House Party/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168376"
} | starcoder | using System;
using System.Collections.Generic;
namespace House_Party
{
class Program
{
static void Main(string[] args)
{
int command = int.Parse(Console.ReadLine());
List<string> names = new List<string>();
for (int i = 0; i < command; i++)
{... | 3.818568 | a798ef9c18b2159f637d91604ece0ba1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GlobalGameJamSkopje/GGJ2018",
"max_stars_repo_path": "Assets/Scripts/Interfaces/IQuestItemSolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168377"
} | starcoder | <reponame>GlobalGameJamSkopje/GGJ2018
using System.Collections.Generic;
public interface IQuestItemSolver
{
bool CanBeSolved(List<QuestItem> quests, PlayerResources playerResources);
bool CanBeSolved(QuestItem questItem, PlayerResources playerResources);
} | 0.726803 | bb437adfb7068dc77fd50359f75318e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "apetersell/GPP_AndrewPetersell",
"max_stars_repo_path": "TopDownShmooter/Assets/Scripts/EnemyManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168378"
} | starcoder | <reponame>apetersell/GPP_AndrewPetersell
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using EventSystemAJP;
public class NewWave : GameEvent {};
public class EnemyManager : MonoBehaviour {
public int waveCounter = 0;
public List<Enemy> activeWave = new List<... | 2.192233 | b2a8807ec2d7f48d3ea48b2bdbc79085 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "the-great-shazbot/oop_practice_cs",
"max_stars_repo_path": "src/VendingMachine/VendableItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168379"
} | starcoder | using System;
abstract class VendableItem
{
private string name;
private double price;
private bool is_liquid;
public VendableItem (string name, double price)
{
this.name = name;
Price = price;
}
public abstract string CatalogCode { get; set; }
public double Price... | 3.109037 | e04b25feba12692d21bf4a5e9ebeaa38 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OrchardCMS/orchard",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.Users/Models/RegistrationSettingsPart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168380"
} | starcoder | <gh_stars>0
using Orchard.ContentManagement;
using Orchard.Security;
using System.ComponentModel.DataAnnotations;
using System.Web.Security;
namespace Orchard.Users.Models {
public class RegistrationSettingsPart : ContentPart, IMembershipSettings {
public bool UsersCanRegister {
get { return th... | 1.901954 | d4266693e22c17ac3e63683852f87f45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rossbuggins/serilog-sinks-fluentd",
"max_stars_repo_path": "src/Serilog.Sinks.Fluentd/LoggerConfigurationFluentdExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168381"
} | starcoder | using Serilog.Configuration;
using Serilog.Events;
using Serilog.Sinks.Fluentd;
using System;
namespace Serilog
{
public static class LoggerConfigurationFluentdExtensions
{
private const string Host = "localhost";
private const int Port = 24224;
/// <summary>
/// Configures lo... | 2.936055 | 10eac2e878df04c3e728220d9635e231 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849162 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "XuPeiYao/XWidget",
"max_stars_repo_path": "XWidget.Extensions/StreamExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168382"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace System {
/// <summary>
/// 針對<see cref="Stream"/>的擴充方法
/// </summary>
public static class StreamExtension {
/// <summary>
/// 串流轉換為<see cref="byte[]"/>
/// </summary>
/// <para... | 3.505535 | 0ef89d9606681e6383e3fe9697d1cd84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asafgunay/js-basics-dotnet-core-mobile-backend-course",
"max_stars_repo_path": "dotnet-core-webapi/bolum5/DotnetCore.Identity/src/DotnetCore.Identity.Host/Controllers/AccountController.cs",
"provenance": "train-00027-of-00045.jsonl.gz... | starcoder | <gh_stars>0
using DotnetCore.Identity.Data.Entities;
using DotnetCore.Identity.Host.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.IdentityModel.Tokens;
... | 1.962129 | 79cdf8a5715ed466f3936d41330bcb68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849164 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ellisspice/BUCK",
"max_stars_repo_path": "Assets/BUCK/Localization System/Scripts/Editor/LocalizationEditorWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168384"
} | starcoder | using UnityEditor;
using UnityEngine;
namespace BUCK.LocalizationSystem.Editor
{
public class LocalizationEditorWindow : EditorWindow
{
private const string OutputPathSavedName = "Localization Output";
private string _outputPath;
[MenuItem("Tools/BUCK/Localization/Generate Constant Files")]
public static v... | 2.184211 | f7b8c25c289f4a5af7e2c49fe089404e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lindvorn/Evolve",
"max_stars_repo_path": "test/Evolve.Tests/Integration/PostgreSQL/Scenario005.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168385"
} | starcoder | using Evolve.Tests.Infrastructure;
using Xunit;
using Xunit.Abstractions;
namespace Evolve.Tests.Integration.PostgreSql
{
[Collection("PostgreSql collection")]
public class Scenario005 : Scenario<PostgreSqlFixture>
{
public Scenario005(PostgreSqlFixture dbContainer, ITestOutputHelper output) : bas... | 1.724748 | b10dbd4d276a99f46b0e55ce6501b929 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849166 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "danielcrenna/ActiveCode",
"max_stars_repo_path": "test/ActiveResolver.Tests/Fakes/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168386"
} | starcoder | <filename>test/ActiveResolver.Tests/Fakes/Node.cs
using System;
using System.Collections.Generic;
namespace ActiveResolver.Tests.Fakes
{
public class Node : INode<string>, IEquatable<Node>
{
public Node(string id)
{
Id = id;
}
public string Id { get; }
public void DependsOn(INode<string> node)
{
... | 3.139345 | b08621d9f0ece9192452497ef338a710 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849167 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "drasticactions/AwfulForumsLibrary",
"max_stars_repo_path": "AwfulForumsLibrary/Models/Messages/NewPrivateMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168387"
} | starcoder | using AwfulForumsLibrary.Models.PostIcons;
using System;
using System.Collections.Generic;
using System.Text;
namespace AwfulForumsLibrary.Models.Messages
{
public class NewPrivateMessage
{
public PostIcon Icon { get; set; }
public string Title { get; set; }
public string Receiver { ... | 1.649113 | ae777e84317ae5838224a640df34b0ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849168 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brownstef/Statiq.Framework",
"max_stars_repo_path": "src/core/Statiq.Common/Documents/DocumentMetadataComparer{TDocument,TValue}.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168388"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace Statiq.Common
{
/// <summary>
/// Performs comparisons between documents using a specified metadata key and value type.
/// </summary>
/// <typeparam ... | 2.729856 | 529933f9f0405301cf75e94b00ca9ed3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849169 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "NimbusHex/XDMessaging.Net",
"max_stars_repo_path": "src/XDMessaging/Transport/Amazon/Repositories/PublisherService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168389"
} | starcoder | <gh_stars>10-100
using Conditions;
using XDMessaging.Entities.Amazon;
using XDMessaging.Transport.Amazon.Interfaces;
namespace XDMessaging.Transport.Amazon.Repositories
{
internal sealed class PublisherService : IPublisherService
{
private readonly IAmazonSnsFacade amazonSnsFacade;
public Pub... | 2.065889 | 9f91cf1bb0a37957e1b4586dd53239e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849170 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "sisisin/pulumi-gcp",
"max_stars_repo_path": "sdk/dotnet/Compute/Outputs/GetInstanceSchedulingResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168390"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.947597 | e0e48aeb4abed5c11f91bc7850b9b507 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tnwinc/PressTo",
"max_stars_repo_path": "ComputerSide/Core/Extensions/FormExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168391"
} | starcoder | <filename>ComputerSide/Core/Extensions/FormExtensions.cs<gh_stars>0
using System;
using System.Windows.Forms;
namespace Core.Extensions
{
public static class FormExtensions
{
public static void SafeInvoke(this Form myForm, Action action) {
myForm.Invoke(new MethodInvoker(action));
}
}
}... | 2.286563 | 4ea6b7924e7be2dbce26f8df3fe14226 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849172 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nikolakofotis/KingsAdventure",
"max_stars_repo_path": "Assets/DoorScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168392"
} | starcoder | <filename>Assets/DoorScript.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DoorScript : MonoBehaviour
{
public int isDoorForLevel;
public bool open;
public Animator animator;
public GameObject doorButton;
public bool enter;
public ... | 2.397291 | 9fb2a5a4951b7f3d85aa0298ddb99e49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danwatt24/ProcessHandler",
"max_stars_repo_path": "ProcessController/Handlers/MouseHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168393"
} | starcoder | <reponame>danwatt24/ProcessHandler
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace ProcessController.Handlers
{
public class MouseHandler
{
private readonly IntPtr _hWnd;
public MouseHandler(IntPtr hWnd) => _hWnd = hWnd;
... | 2.670783 | 1159955fd6ab8d8499de1b4eaa51e240 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rmanky/Gopher-Unity",
"max_stars_repo_path": "Assets/Editor/x64/Bakery/scripts/ftDetectSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168394"
} | starcoder | using UnityEngine;
using UnityEditor;
using System.IO;
using UnityEngine.SceneManagement;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
public class ftDetectSettings
{
[DllImport ("frender", CallingConvention=CallingConvention.Cdecl)]
public static extern Sys... | 1.894421 | 7aa7d16bb2d78098e76cfa86404a751f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tjrobinson/azure-cosmos-dotnet-v3",
"max_stars_repo_path": "Microsoft.Azure.Cosmos/src/Batch/ItemBatchOperationContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168395"
} | starcoder | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos
{
using System;
using System.Threading.Tasks;
using Microsoft.Azure.Cosmos.Core.Trace... | 2.205554 | ff0dc4ef2fc30044284c5b282c9ecabf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849176 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "RyanHauert/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Core/Localization/Basic/ILocalizationProviderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168396"
} | starcoder | <gh_stars>10-100
using System;
using System.Globalization;
namespace FubuMVC.Core.Localization.Basic
{
public interface ILocalizationProviderFactory
{
void LoadAll(Action<string> tracer);
ILocalizationDataProvider BuildProvider(CultureInfo culture);
void ApplyToLocalizationManager();
... | 1.538902 | e9e9cace13e9b001bc7fa0749a0a06e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexPetrova/BubaTube",
"max_stars_repo_path": "src/BubaTube/Controllers/UploadController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168397"
} | starcoder | <filename>src/BubaTube/Controllers/UploadController.cs
using BubaTube.ViewModels.UploadVideoViewModel;
using Contracts.Data.DTO;
using Contracts.Data.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microso... | 2.226481 | 858630c5ce8c3a358e5614281222291c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackleitch/taconite-mvc",
"max_stars_repo_path": "TaconiteMVC/TaconiteResult_SetAttributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168398"
} | starcoder | using System;
using TaconiteMvc.Infrastructure;
using TaconiteMvc.Syntax;
namespace TaconiteMvc
{
public partial class TaconiteResult
{
public ISetAttributeCommandForTargetSyntax SetAttribute(string name, object value)
{
if (String.IsNullOrEmpty(name))
throw new ArgumentNullException("name")... | 2.101193 | 3fa75b3af8d8db39a262ee8d6c807446 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beholder-rpa/WoWChat.Net",
"max_stars_repo_path": "WoWChat.Net/Options/WowChatOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168399"
} | starcoder | <reponame>beholder-rpa/WoWChat.Net
namespace WoWChat.Net.Options
{
/// <summary>
/// Represents configuration options available to WoWChat
/// </summary>
public class WowChatOptions
{
public WoWOptions WoW { get; set; } = new WoWOptions();
public int ConnectTimeoutMs { get; set; } = 10000;
publ... | 1.692643 | 30592baf889a33bfe4a54b4b0def1def |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849180 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rammicz/MongoRepo",
"max_stars_repo_path": "Application/MongoTypeRepository/ITypeRepositoryBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168400"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Linq;
using MongoTypeRepository.Contracts;
namespace MongoTypeRepository
{
public interface ITypeRepositoryBase<Tdb> where Tdb : IMongoItem
{
IMongoCollection<Tdb> Collection {... | 2.256944 | d4ea10bfdb90dce12f08e32c26a5a974 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849181 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SZarrow/CPI",
"max_stars_repo_path": "src/CPI.Common/Domain/AgreePay/YeePay/RawYeePayRefundRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168401"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace CPI.Common.Domain.AgreePay.YeePay
{
public class RawYeePayRefundRequest
{
public String merchantno { get; set; }
public String requestno { get; set; }
public String paymentyborderid { get; set; }
publi... | 1.209236 | 5fe08c90ae3ebc8fb2ee38fdd6f0190f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849182 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MirkoFl/OrderedDictionary",
"max_stars_repo_path": "OrderedDictionary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168402"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections;
namespace MyCollections
{
public class OrderedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>
{
private Dictionary<TKey, LinkedListNode<KeyV... | 3.103282 | 4f2a8e0340547e0c31cea7483678b2e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849183 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wpradnyana/andromda",
"max_stars_repo_path": "andromda-etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Commands/AboutCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168403"
} | starcoder | <filename>andromda-etc/andromda-dotnet/AndroMDA.VS80AddIn/AndroMDA.VS80AddIn/Commands/AboutCommand.cs
// Android/VS
// (c)2007 AndroMDA.org
#region Using statements
using System;
using Microsoft.VisualStudio.CommandBars;
using EnvDTE;
#endregion
namespace AndroMDA.VS80AddIn
{
public class AboutCommand : AddI... | 1.790365 | 301c4190b75fe2c1c0bd64c035d0fb66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dagclo/data-services-client-dotnet",
"max_stars_repo_path": "data-services-client-dotnet/Api/WalkSequence/IWalkSequenceJobSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168404"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Quadient.DataServices.Api.Etl;
using Quadient.DataServices.Model.UsBatch;
namespace Quadient.DataServices.Api.WalkSequence
{
public interface IWalkSequenceJobSession
{
string JobId { get; }
Task UploadRecords(IEnumerable<IList<string... | 1.496777 | b85e9dc2c4b359c4ef56422d963c199b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849185 | {
"extension": "c-sharp",
"max_stars_count": "208.0",
"max_stars_repo_name": "korreckj328/OpenVIII-monogame",
"max_stars_repo_path": "Core/Strings/Strings.Mngrp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168405"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
namespace OpenVIII
{
/// <summary>
/// Loads strings from FF8 files
/// </summary>
public partial class Strings
{
#region Classes
public sealed class MenuGroup : StringsBase
{
#region Fields
... | 2.423904 | 436f5e5bbd60020eb386b4a9b8da4bb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849186 | {
"extension": "c-sharp",
"max_stars_count": "247.0",
"max_stars_repo_name": "diev/DotNet-ORM-Cookbook",
"max_stars_repo_path": "ORM Cookbook/Recipes.EntityFrameworkCore/LargeBatch/LargeBatchTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168406"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Recipes.EntityFrameworkCore.Entities;
using Recipes.LargeBatch;
namespace Recipes.EntityFrameworkCore.LargeBatch
{
[TestClass]
public class LargeBatchTests : LargeBatchTests<Employee>
{
protected override ILargeBatchScenario<Employee> GetSc... | 1.570081 | 3987f70a6106c3ad767f57a3e573a3d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mazzino/exposed",
"max_stars_repo_path": "Assets/Exposed/Scripts/DI/ExposedApplicationDi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168407"
} | starcoder | using Exposed.DI.Modules;
using Autofac;
namespace Exposed.DI
{
public class ExposedApplicationDi
{
private static ExposedApplicationDi _instance;
private ILifetimeScope _globalScope;
public IContainer Container { get; private set; }
public static ExposedApplicationDi Instance... | 2.090204 | 306c493e35f3fa1cef66d4c4c19afa80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849188 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "ericphan/Alpakka",
"max_stars_repo_path": "src/Azure/Akka.Streams.Azure.StorageQueue.Tests/QueueSinkSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168408"
} | starcoder | <filename>src/Azure/Akka.Streams.Azure.StorageQueue.Tests/QueueSinkSpec.cs
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Akka.Streams.Dsl;
using Akka.Streams.Supervision;
using Akka.Streams.TestKit;
using FluentAssertions;
using Azure.Storage.Queues;
using Azure.Storage.Q... | 2.211177 | 0b34f4bbf8c978026a6aa905d6a826f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "petrubocsanean/AuthPermissions.AspNetCore",
"max_stars_repo_path": "AuthPermissions/CommonCode/ClaimsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168409"
} | starcoder | // Copyright (c) 2021 <NAME>, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT license. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using AuthPermissions.PermissionsCode;
namespace A... | 2.515956 | d42d3d5bcb8f7e4be83c846ea494d5ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849190 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cnrsahin/GrossMarketapi",
"max_stars_repo_path": "GrossMarketApp.Core/Abstract/Services/ICategoryService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168410"
} | starcoder | <gh_stars>1-10
using GrossMarketApp.Core.Abstract.Results;
using GrossMarketApp.Core.Concrete.Entities;
using System.Threading.Tasks;
namespace GrossMarketApp.Core.Abstract.Services
{
public interface ICategoryService : IService<Category>
{
Task<IDataResult<Category>> GetCategoryWithProductsByIdAsync(... | 1.5274 | 4345fb5dfba16d81a1b6940f447c37f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ingvard/valheim-jserver",
"max_stars_repo_path": "materials/sources/assembly_valheim/TestSceneCharacter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168411"
} | starcoder | using System;
using System.Threading;
using UnityEngine;
// Token: 0x02000103 RID: 259
public class TestSceneCharacter : MonoBehaviour
{
// Token: 0x06000F97 RID: 3991 RVA: 0x0006E50E File Offset: 0x0006C70E
private void Start()
{
this.m_body = base.GetComponent<Rigidbody>();
}
// Token: 0x06000F98 RID: 3992 ... | 1.812879 | 0f8cddef8f3302f3b8407e20dd44100f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849192 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/ULDUM/ULDA/Sim_ULDA_Finley_HP1t.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168412"
} | starcoder | <gh_stars>1-10
/* _BEGIN_TEMPLATE_
{
"id": "ULDA_Finley_HP1t",
"name": [
"融合怪探险者",
"Amalgam Explorer"
],
"text": [
"<i>这张牌是元素,机械,恶魔,鱼人,龙,野兽,海盗和图腾。</i>",
"[x]<i>This is an Elemental, Mech,\nDemon, Murloc, Dragon,\nBeast, Pirate and Totem.</i>"
],
"cardClass": "NEUTRAL",
"type": "MINION",
... | 1.714415 | c6c489c49e15625bfc986242bb42bfa2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849193 | {
"extension": "c-sharp",
"max_stars_count": "220.0",
"max_stars_repo_name": "john-obrien/conventions",
"max_stars_repo_path": "src/GraphQL.Conventions/Web/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168413"
} | starcoder | <reponame>john-obrien/conventions<filename>src/GraphQL.Conventions/Web/Extensions.cs
using System.IO;
namespace GraphQL.Conventions.Web
{
public static class Extensions
{
public static Request ToGraphQLRequest(this Stream stream) =>
Request.New(stream);
public static string Identif... | 2.199089 | 6e696aa94ec6ba48fb6a9c1e030b5c59 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oshaikh13/Boxy",
"max_stars_repo_path": "Assets/Plugins/Dissonance/Core/Networking/TrafficCounter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168414"
} | starcoder | using System;
using System.Collections.Generic;
namespace Dissonance.Networking
{
internal class TrafficCounter
{
public int Packets { get; private set; }
public int Bytes { get; private set; }
public int BytesPerSecond { get; private set; }
private int _runningTotal;
p... | 3.213095 | 86383d4c2b6bda550d304c1a30bcb2d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849195 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Yakudo/EasyConsoleNG",
"max_stars_repo_path": "EasyConsoleNG.Demo/Pages/SelectDemoPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168415"
} | starcoder | <filename>EasyConsoleNG.Demo/Pages/SelectDemoPage.cs
using EasyConsoleNG.Menus;
using System;
namespace EasyConsoleNG.Demo.Pages
{
public class SelectDemoPage : Page
{
public SelectDemoPage(Menu menu) : base(menu)
{
}
public override void Display()
{
var va... | 2.833296 | 6de6f0232ef18171faeae052fdf1cdc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849196 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivannk0900/Telerik-Academy",
"max_stars_repo_path": "C# 2/ExeptionHandling/DownloadFile/Download.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168416"
} | starcoder | using System;
using System.Net;
namespace DownloadFile
{
class Download
{
static void Main()
{
try
{
WebClient webClient = new WebClient();
webClient.DownloadFile("http://telerikacademy.com/Content/Images/news-img01.png","ninja.png");
... | 3.058342 | fccdb0edae48ccb42109c42c875e655c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Word/DispatchInterfaces/FullSeriesCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168417"
} | starcoder | <reponame>igoreksiz/NetOffice
using System.Collections;
using System.Collections.Generic;
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.CollectionsGeneric;
namespace NetOffice.WordApi
{
/// <summary>
/// DispatchInterface FullSeriesCollection... | 1.483275 | c99b76ef2a16b635e2697523ab2fb2c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849198 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "martinhjulstrom/elsa-core",
"max_stars_repo_path": "src/activities/Elsa.Activities.File/StartupTasks/StartFileSystemWatchers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168418"
} | starcoder | <reponame>martinhjulstrom/elsa-core
using Elsa.Activities.File.Services;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
namespace Elsa.Activities.File.StartupTasks
{
public class StartFileSystemWatchers : BackgroundService
{
private readonly FileSystemWatchers... | 1.532361 | 88106e28d64f2f1a6f730a1fc39a09f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849199 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "jugomez/emplea_do",
"max_stars_repo_path": "Web/Views/Employers/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:168419"
} | starcoder | @{
ViewData["Title"] = "Employers";
}
<!-- ============================ Search Form Start================================== -->
<section class="dark-search">
<div class="container">
<form class="search-dark-form">
<div class="row">
<div class="col-lg-4 col-md-4... | 2.440066 | 0d5ca5d4fe2fef4975423982340debf2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849200 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cschwarz/AppShell",
"max_stars_repo_path": "src/AppShell.Mobile.iOS/ShellApplicationDelegate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168420"
} | starcoder | using Foundation;
using System;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
namespace AppShell.Mobile.iOS
{
public class ShellApplicationDelegate<T> : FormsApplicationDelegate where T : Application
{
protected virtual void ConfigurePlatform()
{
}
public... | 1.897039 | 5a3d3cd779ba7f5c39c17cf239e6bc35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "minimo/KumaBang_Unity",
"max_stars_repo_path": "KumaBang_Unity/Assets/#ProjectName/005_Splash/Scripts/SplashSceneManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168421"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class SplashSceneManager : MonoBehaviour {
SoundManagerController soundManager;
// Use this for initialization
void Start () {
//スプラッシュ用ビュー
GameObject view = Instantiate((Ga... | 2.043959 | 4695eacd000784f97adf6fc606d13bca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thomasboulanger/NationArena",
"max_stars_repo_path": "Assets/Scripts/Skill/KnockBack.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168422"
} | starcoder | using UnityEngine;
public class KnockBack : MonoBehaviour
{
private float _radius;
private float _force;
private Collider[] _colliders;
private GameObject _caster;
private bool _isDestroyable;
public void Init(GameObject caster, float force, float radius, bool destroy)
{
_caster = caster;
_for... | 2.258862 | ef986bbec95b2e4e4c92f28c26bb0b14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849203 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bohntech/RFIDGinDataManagement",
"max_stars_repo_path": "CottonDBMS/CottonDBMS.GinApp/UserControls/ModulesPage.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168423"
} | starcoder | <reponame>bohntech/RFIDGinDataManagement<gh_stars>1-10
namespace CottonDBMS.GinApp.UserControls
{
partial class ModulesPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 1.427996 | 4bb7273eb5cbc8e1f636298ea02fe97c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849204 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "lzw5399/dl-admin",
"max_stars_repo_path": "dl-api-csharp/Doublelives.Infrastructure/Extensions/DistributedCacheExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168424"
} | starcoder | <reponame>lzw5399/dl-admin
using Microsoft.Extensions.Caching.Distributed;
using Newtonsoft.Json;
using System;
using System.Threading.Tasks;
namespace Doublelives.Infrastructure.Extensions
{
public static class DistributedCacheExtension
{
public static T GetAsObject<T>(this IDistributedCache cache, s... | 2.584702 | 691205829d700aea7fc909da6ae46469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/bits/src/bits/slice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168425"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using static System.Ru... | 2.087533 | 27e12a28c46781af0b710d1c498cae9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849206 | {
"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/Shared/MetaData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168426"
} | starcoder | using Newtonsoft.Json;
using ZendeskApi_v2.Models.Tickets;
namespace ZendeskApi_v2.Models.Shared
{
public class MetaData
{
[JsonProperty("custom")]
public Custom Custom { get; set; }
[JsonProperty("system")]
public System System { get; set; }
}
} | 1.431512 | ead11be194806dd6cb8369d404ba22df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HaloImageEngine/EmpowerClaim-hotfix-1.25.1",
"max_stars_repo_path": "EmpowerBusiness/Models/Appraisals/DriveInInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168427"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Entities = EmpowerData.EntityModels;
namespace EmpowerBusiness.Models.Appraisals
{
public class DriveInInfo
{
[Key]
public int Id { get; set; }
public DateTime S... | 1.988816 | d76c8eda1ff6e9e5f2dfba8dab3c0ce8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangluci/MZFrame",
"max_stars_repo_path": "TemplateAction.NetCore/TANetCoreHttpResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168428"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using TemplateAction.Core;
namespace TemplateAction.NetCore
{
public class TANetCoreHttpResponse : ITAResponse
{
private HttpResponse _response;
public T... | 2.123972 | f472f9b0a2be0b4f00743aee10976357 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849209 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "towhidulmannanuae/frapid",
"max_stars_repo_path": "src/Frapid.Web/Areas/Frapid.SchemaUpdater/Helpers/VersionPathConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168429"
} | starcoder | using System.IO;
using System.Linq;
using Frapid.Configuration.Models;
namespace Frapid.SchemaUpdater.Helpers
{
public static class VersionPathConvention
{
public static string GetFilePath(Installable app, string tenant, SchemaVersion version)
{
if (version == null)
{
... | 2.241097 | 1a5c69cd5a01ac2169ace28a2af18cc4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849210 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NerdsComputing/DryTransactions",
"max_stars_repo_path": "Transaction.Test/Container.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168430"
} | starcoder | <reponame>NerdsComputing/DryTransactions
using System;
using System.Collections.Generic;
using Microsoft.Practices.Unity;
namespace Transaction.Test
{
public sealed class Container
{
#region Private Fields
/// <summary>
/// The instance of the IoC Container.
/// </summary>
... | 2.743504 | c40eb7b20e436884ed79fa4afd8d4127 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8849211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikolayvutov/CSharp",
"max_stars_repo_path": "17.CSharpAdvanced25June2017/NumberWars/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:168431"
} | starcoder | <reponame>nikolayvutov/CSharp
using System;
using System.Collections.Generic;
using System.Linq;
namespace WarGame
{
class Program
{
static void Main(string[] args)
{
var firstAllCards = new Queue<string>(Console.ReadLine().Split());
var secondAllCards = new Queue<strin... | 3.621263 | 941c8803e4a9b54e0d3a27374b647e71 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.