added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95461 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "weibaohui/blazork8s",
"max_stars_repo_path": "Extension/k8s/EventExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95462"
} | starcoder | <filename>Extension/k8s/EventExtension.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using k8s.Models;
namespace Extension.k8s
{
public static class EventExtension
{
public static IList<Corev1Event> EventsInTypePod(this Corev1EventList events)
... | 2.493015 | 05a576c139aab80e64fe77828fa482f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95462 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "devbotas/yet-another-homie-implementation",
"max_stars_repo_path": "Yahi/Code/Client/Class.ClientDevice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95463"
} | starcoder | using System;
using System.Collections;
using System.ComponentModel;
namespace DevBot9.Protocols.Homie {
/// <summary>
/// This is a Client Device implementation. It should be used to consume a Homie Device that is already present on the MQTT broker.
/// </summary>
public class ClientDevice : ... | 2.723306 | 3b27934d183933df76b39088ab843e69 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95463 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yanhamu/Badzeet",
"max_stars_repo_path": "Badzeet.Scheduler.DataAccess/SchedulerDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95464"
} | starcoder | <reponame>yanhamu/Badzeet<gh_stars>1-10
using Badzeet.Scheduler.Domain.Model;
using Microsoft.EntityFrameworkCore;
namespace Badzeet.Scheduler.DataAccess
{
public class SchedulerDbContext : DbContext
{
public SchedulerDbContext(DbContextOptions<SchedulerDbContext> options) : base(options) { }
... | 2.01187 | 79346c3a65ef89f4fe18cf1bf5757498 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "balbarak/redis",
"max_stars_repo_path": "src/Balbarak.Redis.Test/RedisClientTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95465"
} | starcoder | using Balbarak.Redis.Test.Models;
using Balbarak.Redis.Test.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Balbarak.Redis.Test
{
public class RedisClientTest : TestBase
{
[Fact]
public as... | 2.549748 | f42651c9be3ea1fb9a817e0f001c150e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95465 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kayateia/scriptdotnet",
"max_stars_repo_path": "Backup/Runtime/ObjectModel/IScriptable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95466"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ScriptNET.Runtime
{
/// <summary>
/// Expose dynamic members of an Instance to the script.
/// This require using of <cref="ScriptNET.Runtime.ObjectBinderExtended">ObjectBinderExtended</cref> class as default object ... | 2.736525 | cf207f98b7390554000be8ca58f7a832 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95466 | {
"extension": "c-sharp",
"max_stars_count": "1037.0",
"max_stars_repo_name": "DigitalPlatform/Vanara",
"max_stars_repo_path": "PInvoke/Gdi32/Winppi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95467"
} | starcoder | <gh_stars>1000+
using System;
using System.Runtime.InteropServices;
namespace Vanara.PInvoke
{
public static partial class Gdi32
{
/// <summary>Enable color optimization.</summary>
public const uint EMF_PP_COLOR_OPTIMIZATION = 0x01;
/// <summary>The <c>GdiDeleteSpoolFileHandle</c> function releases a spool f... | 1.956485 | 1a6ccf75b6263e8b0933f27109555ee6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95467 | {
"extension": "c-sharp",
"max_stars_count": "1862.0",
"max_stars_repo_name": "darcythomas/monodroid-samples",
"max_stars_repo_path": "GooglePlayServices/GooglePlayServices/Source/FeatureView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95468"
} | starcoder | <reponame>darcythomas/monodroid-samples
/*
* Copyright (C) 2012 The Android Open Source Project
*
* 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/... | 2.099477 | 0230046305f6a39495dfa674d7f3971d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95468 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/real-time-filter-demo",
"max_stars_repo_path": "RealtimeFilterDemoWP/RealtimeFilterDemo/Effects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95469"
} | starcoder | /*
* Copyright (c) 2014 Microsoft Mobile
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, ... | 2.234767 | 87d7b8890d0eee0fe45daec25374e476 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95469 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "NMFCode/NMF",
"max_stars_repo_path": "Analysis/Benchmarks/FindPatternJob.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95470"
} | starcoder | <filename>Analysis/Benchmarks/FindPatternJob.cs
using NMF.Expressions;
using NMF.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace NMF.Benchmarks
{
/// <summary>
/// Creates a new job to find patterns in a model and report their occurence
/// </summary>
/// <typepara... | 2.992719 | 1c24354089b1916d71efc0608feaef0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "untoldwind/KontrolSystem",
"max_stars_repo_path": "TO2/AST/RecordStructType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95471"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
using KontrolSystem.TO2.Generator;
namespace KontrolSystem.TO2.AST {
public readonly struct RecordStructField {
public readonly string name;
public readonly RealizedType type;
public reado... | 2.054436 | 2c5bb7fe1e8d263b1d9db669acc7e555 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95471 | {
"extension": "c-sharp",
"max_stars_count": "98.0",
"max_stars_repo_name": "ant3k96/Fhi.Smittestopp.App",
"max_stars_repo_path": "NDB.Covid19/NDB.Covid19.Droid/Views/DailyNumbers/DailyNumbersLoadingPage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95472"
} | starcoder | using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using Android.Widget;
using AndroidX.AppCompat.App;
using NDB.Covid19.Droid.Utils;
using NDB.Covid19.Enums;
using NDB.Covid19.PersistedData;
using NDB.Covid19.Utils;
using NDB.Covid19.ViewModels;
n... | 1.969974 | b72b186facc3a865fe3c52b0063ff85b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95472 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gregoral/SIMDeefective",
"max_stars_repo_path": "SupportCode/GenerateTestString.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95473"
} | starcoder | <reponame>gregoral/SIMDeefective<gh_stars>1-10
/*
* Copyright (c) 2022, <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
namespace SIMDeefective
{
partial class Program
{
internal static string GenerateTestString(int minAeiouLen = 0, int maxAeiouLen = 1000)
{
var rn... | 2.598438 | 23410314d78dc11fda3e36c1dc3f5ca4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreyRepko/Evolution",
"max_stars_repo_path": "Evolution/Game/Model/RandomTransformer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95474"
} | starcoder | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
namespace Evolution.Game.Model
{
public class RandomTransformer
{
public static int GetChange()
{
var probability = new Dictionary<int, int>();
probability... | 2.870467 | 8cf4dfd3c26d0911c5445b820415b3b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eximiaco/app-sample",
"max_stars_repo_path": "src/Matrix.AppSample/Domain/Travels/Handlers/StoppingPointAddedToTravelEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95475"
} | starcoder | <reponame>eximiaco/app-sample
using System.Threading;
using System.Threading.Tasks;
using Matrix.AppSample.Domain.Travels.Events;
using MediatR;
namespace Matrix.AppSample.Domain.Travels.Handlers
{
public sealed class StoppingPointAddedToTravelEventHandler : INotificationHandler<StopingPointAddedToTravelEvent>
... | 1.353008 | 0b26c28839472db02364f66f85f5f88f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95475 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "microsoft/msrecruit-scheduling-engine",
"max_stars_repo_path": "common/HR.TA.CommonLibrary/HR.TA.Talent/TalentContracts/Offer/V2/OfferUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95476"
} | starcoder | //-----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//-----------------------------------------------------------------------
namespace HR.TA.Talent.TalentContracts.Offer.V2
{
using HR.TA.Common.OfferManagement.Contrac... | 1.649703 | b94db29907a55d1e7cbe7f2168e9be06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95476 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DapperCoding/DapperDino-Website",
"max_stars_repo_path": "DapperDino.Web/Areas/Api/Models/TicketEmbed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95477"
} | starcoder | <filename>DapperDino.Web/Areas/Api/Models/TicketEmbed.cs
using DapperDino.DAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DapperDino.Areas.Api.Models
{
public class TicketEmbed
{
public Ticket Ticket { get; set; }
public Di... | 1.807256 | 5a2cbc14378123af8ad146682faf82dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ahanabunozor/ld46",
"max_stars_repo_path": "Assets/Scripts/CameraBobbing.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95478"
} | starcoder | using UnityEngine;
public class CameraBobbing : MonoBehaviour
{
private const float STEP_THRESHOLD = -0.9f;
[SerializeField]
private float bobbingSpeed = 0.18f;
[SerializeField]
private float bobbingSpeedSprint = 0.2f;
[SerializeField]
private float bobbingAmount = 0.2f;
[SerializeFie... | 2.222253 | 73ee89f2e2305f359bd1128992f70622 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YourRoyalLinus/online-guitar-rentals",
"max_stars_repo_path": "OGR.Data/Models/DistributionCenter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95479"
} | starcoder | <filename>OGR.Data/Models/DistributionCenter.cs<gh_stars>0
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace RentalData.Models
{
public class DistributionCenter
{
public int Id { get; set; }
[Required]
[StringLength(50)]
public string Nam... | 2.231433 | ef170f060d3d8597f1e02c050fbea663 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KaloyanIT/BlogSystem",
"max_stars_repo_path": "src/Blog.Services/Tags/Models/TagServiceModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95480"
} | starcoder | <filename>src/Blog.Services/Tags/Models/TagServiceModel.cs
namespace Blog.Services.Tags.Models
{
using System;
public class TagServiceModel
{
public Guid Id { get; set; }
public string Name { get; set; } = null!;
public Guid? BlogId { get; set; }
public DateTime DateCrea... | 2.145297 | 33833f00d37dc1db72794c4d8d7b1df7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dfederm/ZWave.NET",
"max_stars_repo_path": "src/ZWave/Serial/ZWaveSerialPortCoordinator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95481"
} | starcoder | <reponame>dfederm/ZWave.NET
using System.Buffers;
using System.IO.Pipelines;
using System.IO.Ports;
using System.Threading.Channels;
using Microsoft.Extensions.Logging;
namespace ZWave.Serial;
internal record struct DataFrameTransmission(DataFrame Frame, TaskCompletionSource TransmissionComplete);
/// <summary>
///... | 2.339158 | f1c9dbd4d546dd87ee294136bc766493 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95481 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "NanoFabricFX/ToolGood.Algorithm",
"max_stars_repo_path": "csharp/ToolGood.Algorithm2/math/mathParser.2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95482"
} | starcoder | <filename>csharp/ToolGood.Algorithm2/math/mathParser.2.cs<gh_stars>10-100
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ANTLR Version: 4.8
//
// Changes to this file may cause incorrect behavior and will be lost... | 2.094144 | f41371efddd5ed6d7bd9c4c0a56dcb39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95482 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-0018-e7aa.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95483"
} | starcoder | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x18_e7aa-b7e4641e")]
public void Method_0018_e7aa()
{
ii(0x18_e7aa, 3); call(0x18_e702, -0xab); /... | 1.492824 | d3d4c8369f58f3e4183857b62567d044 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95483 | {
"extension": "c-sharp",
"max_stars_count": "1414.0",
"max_stars_repo_name": "dacin21/BizHawk",
"max_stars_repo_path": "src/BizHawk.Emulation.Common/Base Implementations/LinkedMemoryDomains.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95484"
} | starcoder | <filename>src/BizHawk.Emulation.Common/Base Implementations/LinkedMemoryDomains.cs<gh_stars>1000+
#nullable disable
using System.Collections.Generic;
namespace BizHawk.Emulation.Common
{
/// <summary>
/// A generic linked implementation of IMemoryDomains that can be used by any link core
/// </summary>
/... | 2.798859 | ccc3165112fc783fffd0287961ca5cfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95484 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zvirja/NSubstitute.Community.Diagnostics",
"max_stars_repo_path": "Src/NSubstitute.Community.Diagnostics/NSubstituteDiagnosticsContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95485"
} | starcoder | <reponame>zvirja/NSubstitute.Community.Diagnostics
using System;
using NSubstitute.Community.Diagnostics.Decorators;
using NSubstitute.Community.Diagnostics.Logging;
using NSubstitute.Community.Diagnostics.Utils;
using NSubstitute.Core;
using NSubstitute.Core.DependencyInjection;
namespace NSubstitute.Community.Diagn... | 2.430172 | 67fc693674efa3e5930de03a02f85542 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Neumann-Kohai/zip2gif",
"max_stars_repo_path": "zip2gif/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95486"
} | starcoder | using Gif.Components;
using ShellProgressBar;
using System;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.Drawing;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text.Json;
using System.Threading;
namespace zip2gif
{
internal class Program
{
... | 2.682421 | 63b6ab2339e2e72845490c446c5ac3e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95486 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "vokinpirks/SongTaggerForSpotify",
"max_stars_repo_path": "Backend/Entities/GraphNodes/IRunnableGraphNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95487"
} | starcoder | using System.Threading.Tasks;
namespace Backend.Entities.GraphNodes
{
public interface IRunnableGraphNode
{
Task<bool> Run();
}
}
| 1.538567 | 7c27cadbb17df9944e4f336b2a3ba17c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trungngotdt/bai-tap-tu-lam",
"max_stars_repo_path": "baitaptulam/Ve.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95488"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace baitaptulam
{
class Ve
{
private string ms;
private string ten;
private int namsinh;
private int sotrochoi;
public string Ms
{
... | 2.723055 | c1a2f1d1237787bcc34e9fb99dfebf48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95488 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hugohernani/eugenio",
"max_stars_repo_path": "Assets/Resources/Measuring_Resources/Scripts/DragDropItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95489"
} | starcoder | using UnityEngine;
using System.Collections;
public class DragDropItem : MonoBehaviour {
RectTransform rectTransformItSelf;
bool isOut = false;
Vector3 initialPosition;
void Awake(){
rectTransformItSelf = (RectTransform)transform;
initialPosition = rectTransformItSelf.localPosition;
}
void OnTriggerExit2... | 2.219756 | 77db78f7612fbdd04b426931a87adc3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95489 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Shkyrockett/engine",
"max_stars_repo_path": "Engine.Base/Objects/TextFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95490"
} | starcoder | // <copyright file="StringFormat.cs" company="Shkyrockett" >
// Copyright © 2017 - 2020 Shkyrockett. All rights reserved.
// </copyright>
// <author id="shkyrockett">Shkyrockett</author>
// <license>
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </lice... | 2.553901 | 64c8792b653508b60ccf76114950df20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "develmax/Crm.Sdk.Core",
"max_stars_repo_path": "Microsoft.Xrm.Sdk/Messages/RetrieveManagedPropertyResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95491"
} | starcoder | using Microsoft.Xrm.Sdk.Metadata;
using System.Runtime.Serialization;
namespace Microsoft.Xrm.Sdk.Messages
{
/// <summary>Contains the response from the <see cref="T:Microsoft.Xrm.Sdk.Messages.RetrieveManagedPropertyRequest"></see> class.</summary>
[DataContract(Namespace = "http://schemas.microsoft.com/xrm/2011/... | 2.247591 | 4ec00ca79c7359adb3e4cdd6c23aef34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lillo42/NServiceBus.Automatonymous",
"max_stars_repo_path": "src/NServiceBus.Automatonymous/Events/NServiceBusEventCorrelationConfigurator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95492"
} | starcoder | <reponame>lillo42/NServiceBus.Automatonymous<filename>src/NServiceBus.Automatonymous/Events/NServiceBusEventCorrelationConfigurator.cs<gh_stars>0
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace NServiceBus.Automatonymous.Events;
/// <summary>
/// Implementation of <see cref="IEven... | 2.236864 | f90034890611c112d4113c3ee9ec6c1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JustLou/IronRure",
"max_stars_repo_path": "src/IronRure/UnmanagedResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95493"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
namespace IronRure
{
public abstract class UnmanagedResource : IDisposable
{
protected UnmanagedResource(IntPtr raw)
{
_raw = raw;
}
~UnmanagedResource() => Dispose(false);
public void Dispose()
{
... | 2.699383 | 9723e6c8d2cc835f286e12e54727c585 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95493 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GaeaForGithub/Gaea",
"max_stars_repo_path": "Gaea.Net.UI/FormGaeaTcpServerMonitor.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95494"
} | starcoder | namespace Gaea.Net.UI
{
partial class FormGaeaTcpServerMonitor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.787695 | 32610738355df5cd601fd93265a8b41e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95494 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AngelNovoselski/Adventures-of-Telerik",
"max_stars_repo_path": "AdventuresOfTelerik/AdventuresOfTelerik/Models/Weapons/Weapon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95495"
} | starcoder | <filename>AdventuresOfTelerik/AdventuresOfTelerik/Models/Weapons/Weapon.cs<gh_stars>1-10
using AdventuresOfTelerik.Contracts.WeaponInterfaces;
using System;
namespace AdventuresOfTelerik.Models.Weapons
{
public abstract class Weapon : IWeapon
{
private int dmg;
private int specialDmg;
... | 3.518128 | 6218028a5e4d9eb1ba9e4767b3409582 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95495 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sdemaine/FleetControl_CQRS_CORE",
"max_stars_repo_path": "FleetControl.WebUI/ViewModels/CredentialsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95496"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//using FluentValidation.Attributes;
namespace FleetControl.WebUI.ViewModels
{
//[Validator(typeof(CredentialsViewModel))]
public class CredentialsViewModel
{
public s... | 1.622291 | 9a7b6b0efb8ed8d85fd07969b161c222 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95496 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "OndrejNepozitek/Roguelike-Entitas",
"max_stars_repo_path": "Assets/Sources/Features/Networking/NetworkingFeature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95497"
} | starcoder | namespace Assets.Sources.Features.Networking
{
using Systems;
using Helpers.SystemDependencies;
using Scripts;
public class NetworkingFeature : Feature
{
public NetworkingFeature(Contexts contexts) : base("Networking feature")
{
// TODO: not good
if (NetworkController.Instance.IsMultiplayer && !Network... | 1.827911 | 1131e0f42eabbbe39796ca3429119477 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "panosen/panosen-codedom-tag-vue",
"max_stars_repo_path": "Panosen.CodeDom.Tag.Vue.Pano/PanoComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95498"
} | starcoder | <reponame>panosen/panosen-codedom-tag-vue
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Panosen.CodeDom.Tag.Vue.Pano
{
public abstract class PanoComponent : VueComponent
{
public override bool BuiltIn => true;
}
}
| 1.387045 | 38080d5cc2386c161bc8b4f8e67f27a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95498 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brianmains/Nucleo.NET",
"max_stars_repo_path": "src/Nucleo.Web/Web/ValidationControls/Results/ValidatorValidationResultItemCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95499"
} | starcoder | <reponame>brianmains/Nucleo.NET<filename>src/Nucleo.Web/Web/ValidationControls/Results/ValidatorValidationResultItemCollection.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Nucleo.Collections;
namespace Nucleo.Web.ValidationControls.Results
{
/// <summary>
/// Gets the collection of ... | 1.81751 | 9f58fe402dbb96b8b4f24b14b8ca80de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "subinmathewit/MedicineTrackingSystem",
"max_stars_repo_path": "Services/API/MTAPI/Controllers/MedicineController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95500"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using MTAPI.Data.UnitOfWork;
using MTAPI.Services;
using MTAPI.ViewModel;
namespace MTAPI.Controllers
{
[Route("api/[co... | 2.22359 | 4657464182f7a2a56ae55eac163cd431 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95500 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ZEISS-PiWeb/PiWeb-Formplots",
"max_stars_repo_path": "src/Formplot/FileFormat/EmptyPoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95501"
} | starcoder | #region copyright
/* * * * * * * * * * * * * * * * * * * * * * * * * */
/* <NAME> Industrielle Messtechnik GmbH */
/* Softwaresystem PiWeb */
/* (c) <NAME> 2019 */
/* * * * * * * * * * * * * * * * * * * * * * * * * */
#endregion
namespace Zeiss.PiWeb.For... | 2.187683 | b55a87d2dd4554fdaadfd840aebd1160 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95501 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "101t/AssemblerStudioDevelop",
"max_stars_repo_path": "Forms/ChildForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95502"
} | starcoder | namespace AssemblerStudioDevelop
{
partial class ChildForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.220443 | f706ec3c15b99662b50757a67d184663 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95502 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wieslawsoltes/NavigationSample",
"max_stars_repo_path": "NavigationSample/ViewModels/RightPaneViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95503"
} | starcoder | <filename>NavigationSample/ViewModels/RightPaneViewModel.cs
using System.Windows.Input;
using ReactiveUI;
using NavigationSample.ViewModels.Navigation;
namespace NavigationSample.ViewModels
{
public class RightPaneViewModel : ViewModelBase
{
public RightPaneViewModel()
{
ToggleStat... | 1.994684 | 8214dc88e5aa7beb452023be59ccb11c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95503 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "studentutu/cscore",
"max_stars_repo_path": "CsCore/xUnitTests/src/Plugins/CsCoreXUnitTests/com/csutil/tests/model/immutable/StateCompareTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95504"
} | starcoder | <reponame>studentutu/cscore
using System;
using System.Collections.Generic;
using System.Linq;
using com.csutil.model.immutable;
using Xunit;
namespace com.csutil.tests.model.immutable {
public class StateCompareTests {
public StateCompareTests(Xunit.Abstractions.ITestOutputHelper logger) { logger.UseAsL... | 2.704906 | 827e781bc038479fbe73a633d2ab7121 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95504 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "onuromer/ssis-on-the-beach",
"max_stars_repo_path": "Ssiws.Core/Entities/JobWorkerAgentsHistory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95505"
} | starcoder | using RepoDb.Attributes;
using System;
using Ssiws.Core.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Ssiws.Core.Entities
{
[Map("[internal].[job_worker_agents_history]")]
[ControllerDetails("api/SSISDB/JobWorkerAgentsHistory")]
public class JobWorkerAgentsHistory
{
... | 1.584294 | 4fa7e79e800786793ca0abe4d5b0dddf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95505 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dolittle/DotNET.Fundamentals",
"max_stars_repo_path": "Specifications/Booting/for_BootProcedures/when_starting_with_two_procedures_where_first_is_dependent_on_second_to_have_run.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95506"... | starcoder | // Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Dolittle.Logging;
using Machine.Specifications;
using Moq;
using It = Machine.Specifications.It;
namespace Dolittle.Booting.Specs.for_BootProcedures
{
public ... | 2.200349 | 1d7841e1e971c3beaec30b007bfd574b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95506 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/xsp/system/web/compilation/applicationfilecompiler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95507"
} | starcoder | <reponame>npocmaka/Windows-Server-2003
//------------------------------------------------------------------------------
// <copyright file="ApplicationFileCompiler.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright> ... | 1.33544 | 737c6d74259ec8533620fc4ed8f5dddb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ronbos/LoRSideTracker",
"max_stars_repo_path": "LoRSideTracker/Watchers/GameBoard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95508"
} | starcoder | <filename>LoRSideTracker/Watchers/GameBoard.cs
#define TRACK_TOSSING_ZONE
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LoRSideTracker
{
/// <summary>
/// Player type
/// </summary>
public enum Player... | 3.053477 | fb03f68d81176e5b6acdaca2f64a35b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mofashi2011/orchardcms",
"max_stars_repo_path": "src/Orchard.Web/Modules/Orchard.Themes/Services/ThemeService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95509"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Routing;
using JetBrains.Annotations;
using Orchard.Environment.Extensions;
using Orchard.Logging;
using Orchard.ContentManagement;
using Orchard.Settings;
using Orchard.Themes.Models;
namespace Orchard.T... | 2.031126 | 22c8506212c6b7e814f9104e47122f1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95509 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Free-Nations-Region/CyborgianStates",
"max_stars_repo_path": "CyborgianStates/MessageHandling/Discord/DiscordMessageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95510"
} | starcoder | <filename>CyborgianStates/MessageHandling/Discord/DiscordMessageHandler.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using CyborgianStates.Enums;
using CyborgianStates.Interfaces;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Microsoft.Extensions.Options;
using Serilog... | 2.503851 | ff376d4f5d4d637d334892303bec34bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IsaacFan/Unity2017",
"max_stars_repo_path": "Assets/Scripts/Utility/CameraManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95511"
} | starcoder | //using System.Collections;
//using System.Collections.Generic;
using System;
using UnityEngine;
public class CameraManager : MonoBehaviour {
public enum CameraOperation
{
CameraOperation_Hide = 0,
CameraOperation_LookAtPosition,
CameraOperation_LookAtTarget,
CameraOperation_... | 2.106299 | 568c350f459a5225deb65e22fce57f0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95511 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tomaszpolanski/ShareLink",
"max_stars_repo_path": "ShareLink/ShareLink.Shared/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95512"
} | starcoder | <filename>ShareLink/ShareLink.Shared/App.xaml.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Globalization;
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Microsoft.Practices.Prism.Mvvm;
using Microsoft.Practi... | 1.761752 | ceb60fa590610378e80549c5b6f920ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95512 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "patros/Patros.AuthenticatedHttpClient",
"max_stars_repo_path": "CoderPatros.AuthenticatedHttpClient.CustomHeader/MultipleCustomHeaderAuthenticatedHttpClientOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95513"
} | starcoder | <reponame>patros/Patros.AuthenticatedHttpClient
using System.Collections.Generic;
namespace CoderPatros.AuthenticatedHttpClient
{
public class MultipleCustomHeaderAuthenticatedHttpClientOptions {
public Dictionary<string, string> Headers { get; set; }
}
} | 1.557505 | b6689fde6d15ab6303721339b405273b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95513 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "couven92/thnetii-windows-api",
"max_stars_repo_path": "src-native/THNETII.WinApi.Headers.WinIOCtl/WinIOCtlFunctions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95514"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace THNETII.WinApi.Native.WinIOCtl
{
public static class WinIOCtlFunctions
{
// C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\um\winioctl.h, line 241
#region CTL_CODE macro
/// <summary>
/// M... | 2.509368 | e67b6fb4bbb5421a12ef525381029771 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95514 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LykkeCity/Lykke.Job.BlockchainCashinDetector",
"max_stars_repo_path": "src/Lykke.Job.BlockchainCashinDetector/Modules/BlockchainsModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95515"
} | starcoder | <filename>src/Lykke.Job.BlockchainCashinDetector/Modules/BlockchainsModule.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Autofac;
using JetBrains.Annotations;
using Lykke.Job.BlockchainCashinDetector.Core.Services.BLockchains;
using Lykke.Job.BlockchainCashinDetector.Services.Blockchains;... | 1.915115 | d01f5d3ae867fa290dd9942f2dbfefaf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95515 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gsteinbacher/RandomOrgSharp",
"max_stars_repo_path": "Obacher.RandomOrgSharp.Enumerator/RandomOrgCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95516"
} | starcoder | <filename>Obacher.RandomOrgSharp.Enumerator/RandomOrgCollection.cs
using System;
using System.Collections;
using System.Collections.Generic;
using Obacher.RandomOrgSharp.Core;
using Obacher.RandomOrgSharp.Core.Parameter;
using Obacher.RandomOrgSharp.Core.Request;
using Obacher.RandomOrgSharp.Core.Response;
using Obach... | 2.483473 | 836ceed8d8ef0890b493e99780e7f24a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Satcom-Pirates/Bot",
"max_stars_repo_path": "SatcomPiratesBot/Sound.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95517"
} | starcoder | using Flurl;
using Flurl.Http;
using NAudio.Lame;
using NAudio.Wave;
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace SatcomPiratesBot
{
public static class Sound
{
public const string RecordMp3 = "record.mp3";
public static async Task PlayOK... | 2.449502 | 3f1c4e97e0626bb106e788d5a63d8aed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mauw94/ARPG2d",
"max_stars_repo_path": "Game/Common/DataSaver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95518"
} | starcoder | using System.IO;
namespace ARPG2d.Common
{
public class DataSaver
{
public static (string, string) CreateSaveLocation()
{
Directory.CreateDirectory(Consts.BaseDataFolder);
string localPath = Consts.SaveFileName;
string fileName = Consts.SaveFileName;
... | 2.432639 | 848eb7a3d4784a054c89b676dfc914a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95518 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BenInCOSprings/WpfDockingWindowsApplicationTemplate",
"max_stars_repo_path": "wpftoolkit-110921/Main/Source/ExtendedWPFToolkitSolution/Src/Xceed.Wpf.DataGrid/Group.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95519"
} | starcoder | /*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
... | 2.038642 | ca936684f74340639339910a4bc973dc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95519 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AAU-projects/P3-drive-school-logger",
"max_stars_repo_path": "DriveLogGUI/Windows/LoginForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95520"
} | starcoder | namespace DriveLogGUI.Windows
{
partial class LoginForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.151539 | be66f467b77cb6281a746f2b0ff1130b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95520 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PulsarBlow/Pulse",
"max_stars_repo_path": "src/Pulse.CodeAnalysis/FrontEnd/Parser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95521"
} | starcoder | <reponame>PulsarBlow/Pulse<gh_stars>1-10
namespace Pulse.CodeAnalysis.FrontEnd
{
using System.Collections.Generic;
using System.Linq;
using Errors;
/// <summary>
/// Recursive descent parser
/// </summary>
public class Parser
{
private readonly IErrorReporter _errorReporter;
... | 2.874508 | f02c561f4e89ee8d9d8881ed613eab4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95521 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "foxscore/TabbedEditor",
"max_stars_repo_path": "TabbedEditor/WorldEditor/Data/TileType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95522"
} | starcoder | namespace TabbedEditor.WorldEditor.Data
{
public enum TileType
{
Grass = 100,
Stone = 200,
Sand = 300,
Water = 400
}
} | 1.677988 | 5c0de81d71cd89657d0cf303bbbf25d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95522 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "Dexiom/EPPlusExporter",
"max_stars_repo_path": "Dexiom.EPPlusExporterTests/Helpers/ReflectionHelperTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95523"
} | starcoder | <reponame>Dexiom/EPPlusExporter
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Dexiom.EPPlusExporter.Helpers;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Configuration;
using System.Linq;
usi... | 2.769304 | 0891f8fb227149d7008dd357c5c9d70e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95523 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "JimCordwell/Free.FileFormats.VRML",
"max_stars_repo_path": "19 Interpolation/x3dOrientationInterpolator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95524"
} | starcoder | <filename>19 Interpolation/x3dOrientationInterpolator.cs<gh_stars>1-10
using System.Collections.Generic;
using Free.FileFormats.VRML.Fields;
using Free.FileFormats.VRML.Interfaces;
namespace Free.FileFormats.VRML.Nodes
{
/// <summary>
/// The OrientationInterpolator node interpolates among a list of rotation values... | 2.362318 | 9eb7424b6e8ff4aa73b2d0f15efe5dcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95524 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Joshua-Simacek/StackExchange.Exceptional",
"max_stars_repo_path": "src/StackExchange.Exceptional/ExceptionalAsyncHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95525"
} | starcoder | using Newtonsoft.Json;
using StackExchange.Exceptional.Internal;
using StackExchange.Exceptional.Pages;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Web;
namespace StackExchange.Exception... | 2.187308 | 5a162ef7ee8d83b24b75dda46d5b0235 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95525 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lxdljx/DriverExamSimulater",
"max_stars_repo_path": "RedisStudy/RedisStudy.ViewModel/EventObject/EventObjectDefine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95526"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace RedisStudy.ViewModel.EventObject
{
public class EventObject
{
public string FromCar { get; set; }
public string Message { get; set; }
public EventType Type { get; set; }
public string EventModelJs... | 2.033651 | 42803f8cdd65c56b277a4bcdf4da15b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95526 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lenalysis/CsvHelper",
"max_stars_repo_path": "src/CsvHelper.Tests/Mocks/ParserMock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95527"
} | starcoder | // Copyright 2009-2015 <NAME> and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// http://csvhelper.com
... | 2.427547 | b9a3931259b508d2c2ebc6696f5ea6d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95527 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zamjad/KimzWpfCommon",
"max_stars_repo_path": "KimzWpfCommon/MarkupExtensions/ProcessExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95528"
} | starcoder | using System;
using System.Diagnostics;
using System.Linq;
using System.Windows.Markup;
namespace KimzWpfCommon.MarkupExtensions
{
public class ProcessExtension : MarkupExtension
{
public override object ProvideValue(IServiceProvider serviceProvider)
{
return Process.GetProcesses()... | 1.924589 | e3bc572338303c4651ed73af158d5295 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95528 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tondat/maui",
"max_stars_repo_path": "src/Core/src/Platform/iOS/NSAttributedStringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95529"
} | starcoder | using Foundation;
using UIKit;
namespace Microsoft.Maui
{
public static class NSAttributedStringExtensions
{
public static NSMutableAttributedString? WithCharacterSpacing(this NSAttributedString attributedString, double characterSpacing)
{
if (attributedString == null || attributedString.Length == 0)
ret... | 2.449857 | ed48821cee6982cd6740487d85dd11a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95529 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanCorderSoftwire/govuk-design-system-dotnet",
"max_stars_repo_path": "GovUkDesignSystem/HtmlGenerators/CheckboxesHtmlGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95530"
} | starcoder | using GovUkDesignSystem.Attributes;
using GovUkDesignSystem.GovUkDesignSystemComponents;
using GovUkDesignSystem.Helpers;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;... | 2.336917 | a927fa35de4aab8c39b74fa51a3ca5b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95530 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KrisysTheFool/SolastaModApi",
"max_stars_repo_path": "SolastaModApi/Extensions/EditableGraphDefinitionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95531"
} | starcoder | <reponame>KrisysTheFool/SolastaModApi<gh_stars>0
using SolastaModApi.Infrastructure;
using UnityEngine;
using static RuleDefinitions;
namespace SolastaModApi.Extensions
{
/// <summary>
/// This helper extensions class was automatically generated.
/// If you find a problem please report at https://github.co... | 1.810244 | c4a69c2501518f67eb216d2b5cd44837 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95531 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nateswartz/net-core-experiment",
"max_stars_repo_path": "NETCoreExperimentalWebApp/Models/BookModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95532"
} | starcoder | <reponame>nateswartz/net-core-experiment
namespace NETCoreExperimentalWebApp.Models
{
public class BookModel
{
public int id { get; set; }
public string Title { get; set; }
public string Author { get; set; }
public BookType Type { get; set; }
public string Image { get; s... | 1.727832 | 816610fe9c5b80ad334f4c28339e6ab0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95532 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vasilias-gamer/Letters",
"max_stars_repo_path": "Letters/Assets/prefabs/mechanism/_mechanism.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95533"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class _mechanism : MonoBehaviour
{
private GameObject[] holders;// letter holders
private GameObject[] correct_letters;//currect letters array
[SerializeField]
private GameObject hint;//hint button
[HideInInspect... | 2.342588 | a0a40de5eb10eda80902562872d7e482 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95533 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PalavaNet/ARTCAM-SWIR-Matlab-Interface",
"max_stars_repo_path": "Samples/ARTCCM-TNIR-sample_EN_ver.1.3.1.3c/Sample/x64/C#.NET/Sample_CS.NET_FullControl/Form5.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95534"
} | starcoder | <reponame>PalavaNet/ARTCAM-SWIR-Matlab-Interface
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using ArtCamSdk;
namespace Sample_CS
{
/// <summary>
/// Outline of Form5
/// </summary>
public class Form5 : System.Windows.Forms.Form
{
privat... | 2.081159 | 46421729b6a3e99509b7d5bea2e9dfa3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95534 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yazgelder/Yazgelder.com",
"max_stars_repo_path": "src/Areas/Admin/Views/Newsletter/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95535"
} | starcoder | <filename>src/Areas/Admin/Views/Newsletter/Index.cshtml
@model List<Newsletter>
@{
Layout = $"~/Areas/Admin/Views/Shared/_Layout.cshtml";
ViewData["Title"] = "Şirket Listesi";
int i = 1;
}
<section id="shopping-cart" class="bg-grey">
<div class="container">
<div class="row">
<div c... | 2.530561 | 1325548d32e4981ed02fb0ac4d1bfe9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95535 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "qdraw/starsky",
"max_stars_repo_path": "starsky/starsky.foundation.platform/Extensions/AppSettingsExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95536"
} | starcoder | <filename>starsky/starsky.foundation.platform/Extensions/AppSettingsExtensions.cs
using System;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace starsky.foundation.platform.Extensions
{
public static class AppSettingsExtensions
{
public static TConfig... | 2.270096 | 17d954e40acf20e8353ccf9ba43e54e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95536 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nikan888/CWorkASPNet",
"max_stars_repo_path": "Test_Project_Hotel/Views/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:95537"
} | starcoder | @using Test_Project_Hotel
@using Test_Project_Hotel.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.105566 | f7b1698a30ef4b4abfa57bc12a43b921 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95537 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "andreashebeisen/PnP-PowerShell",
"max_stars_repo_path": "Commands/Branding/SetMinimalDownloadStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95538"
} | starcoder | <reponame>andreashebeisen/PnP-PowerShell
using System;
using System.Management.Automation;
using Microsoft.SharePoint.Client;
using SharePointPnP.PowerShell.CmdletHelpAttributes;
using Resources = SharePointPnP.PowerShell.Commands.Properties.Resources;
namespace SharePointPnP.PowerShell.Commands
{
[Cmdlet(VerbsCo... | 2.036611 | 05247f6d3388d321f64c3fae9b326ca5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95538 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ryanvanrooyen/BehaviorTree",
"max_stars_repo_path": "Decorators/Invert.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95539"
} | starcoder |
namespace BehaviorTree
{
public class Invert : Decorator
{
public Invert(INode node) : base(node)
{ }
public override string Name
{
get
{
return "!" + this.node.Name;
}
}
protected override Result RunNode()
{
var result = this.node.Run();
if (result == Result.Success)
return R... | 2.507256 | f016c345e10a27ccb769aee2aed0f058 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95539 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JayLenahan/LD35",
"max_stars_repo_path": "Assets/Controllers/EndGame.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95540"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
public class EndGame : MonoBehaviour {
private BeatController beatController;
void Start()
{
beatController = GameObject.Find("BeatController").GetComponent<BeatController>();
}
// Use this for initialization
public void EndTheGame()... | 1.400186 | 058dda96c0e7dd9be01e87e2060d934d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95540 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rjygraham/OrleansEventSourcing",
"max_stars_repo_path": "src/OrleansEventSourcing.Models/ModelBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95541"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace OrleansEventSourcing.Models
{
public class ModelBase
{
}
}
| 1.011702 | efecaf88886b0b582d2ea54eaf68a37a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95541 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OnlySpoons/Serious-Games-Project",
"max_stars_repo_path": "Assets/RoslynCSharp/Scripts/RoslynCSharp/Runtime/Interface/IScriptDataProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95542"
} | starcoder |
namespace RoslynCSharp
{
public interface IScriptDataProxy
{
// Properties
object this[string name] { get; set; }
// Methods
void SetValue(string name, object value);
object GetValue(string name);
}
}
| 1.975905 | 9b967d45bb344f87d4230d64f9179d4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95542 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "alpacasking/SBR",
"max_stars_repo_path": "Assets/SBR/Scripts/StrokePainting.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95543"
} | starcoder | <filename>Assets/SBR/Scripts/StrokePainting.cs
using System;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
using UnityEngine.Rendering;
using System.Runtime.InteropServices;
[Serializable]
[PostProcess(typeof(StrokePaintingRenderer), PostProcessEvent.AfterStack, "Alpacasking/StrokePainting")]
public s... | 1.86402 | a9b1e97a4a13f649a9150249eea5d0e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kitsuneenvy/Blazing-weasel",
"max_stars_repo_path": "Project/Paul/Assets/Scripts/Movement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95544"
} | starcoder | using UnityEngine;
using System.Collections;
public class Movement : MonoBehaviour {
bool keyboardControl = true;
Vector3 targetPos;
public float moveSpeed = 5;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
targetPos = Camera.main.ScreenToWorldPo... | 2.492803 | 70080572e1d35bb9b68ab2a965f26d1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95544 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TomaszKandula/TokanPages",
"max_stars_repo_path": "TokanPages.Backend.Tests/Validators/Articles/UpdateArticleVisibilityCommandValidatorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95545"
} | starcoder | namespace TokanPages.Backend.Tests.Validators.Articles
{
using System;
using Shared.Resources;
using Cqrs.Handlers.Commands.Articles;
using FluentAssertions;
using Xunit;
public class UpdateArticleVisibilityCommandValidatorTest
{
[Fact]
public void GivenValidGuidAndPublishFl... | 1.942529 | ff2660034c5855d07443d92932a97b88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Canvastudio/Prometheus",
"max_stars_repo_path": "Code/Prometheus/Assets/Scripts/Foundation/Config/EasyConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95546"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text.RegularExpressions;
using System.Text;
using System.IO;
/// <summary>
/// 简易配置格式(Unicode格式限定),可以用任意空白字符进行分割,只能记录string,支持单个\多维元素:
/// 如果是单数据,可以用foreach,count获取所有单数据;
/// 如果多维数据,首位值为索引,之后值为多维数据成员;
/// 使用//表示本... | 2.91013 | 4a81d566a30eb686c117c2cd2a20a06f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95546 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "claudioluciano/FreshMvvmExtended",
"max_stars_repo_path": "FreshMvvmExtended.Test/Mocks/MockFreshTabbedNavigationContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95547"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace FreshMvvmExtended.Test.Mocks
{
public class MockFreshTabbedNavigationContainer : Xamarin.Forms.TabbedPage, IFreshNavigationService
{
Dictionary<Page, (Colo... | 2.370861 | 18a4a37a873b5716538434109a54f459 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mediabuff/SoundByte",
"max_stars_repo_path": "SoundByte.Core/Services/ILoggingService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95548"
} | starcoder | namespace SoundByte.Core.Services
{
public interface ILoggingService
{
}
}
| 1.042471 | c6a6062415b192b859b5e65d3a4a9cfa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95548 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "2DArray/monsta-beach",
"max_stars_repo_path": "Assets/Scripts/TitleCard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95549"
} | starcoder | <filename>Assets/Scripts/TitleCard.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TitleCard : MonoBehaviour {
public Animation titleCardAnim;
public Text moveInstructions;
public Text camInstructions;
public Image fadeImage;
public AnimationCu... | 2.214195 | 9f1e2ed790dd966da6ba3634c4219eba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inidibininging/apocalypse_netcore",
"max_stars_repo_path": "Apocalypse.Any.GameServer.States/Sector/Mechanics/BuildPluralMechanicsState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95550"
} | starcoder | using Apocalypse.Any.Infrastructure.Server.Services.Data.Interfaces;
using States.Core.Infrastructure.Services;
namespace Apocalypse.Any.GameServer.States.Sector.Mechanics
{
public class BuildPluralMechanicsState : IState<string, IGameSectorLayerService>
{
public void Handle(IStateMachine<string, IGame... | 1.661718 | 716ee188e8e599fe1ac43ec7858f07d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95550 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "crisper91/xamarin_telerik",
"max_stars_repo_path": "QSF/QSF/Analytics/AnalyticsKeys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95551"
} | starcoder | <filename>QSF/QSF/Analytics/AnalyticsKeys.cs
namespace QSF
{
internal static class AnalyticsKeys
{
internal const string AndroidSecret = "";
internal const string IOSSecret = "";
internal const string UWPSecret = "";
}
}
| 1.283027 | be034d8c6140efa1b39df07c9b96f405 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95551 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "kidstech/story-builder",
"max_stars_repo_path": "Assets/Scenes/Story Builder/Sentence Bank/LoadSavedSentences.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95552"
} | starcoder | <reponame>kidstech/story-builder
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System;
using System.Linq;
using Newtonsoft.Json.Serialization;
using UnityEngine;
using Newtonsoft.Json;
public static class LoadSavedSentences
{
public static string path = Path.Combine(Application... | 2.656099 | dd8bab77052eda61bff7a847e9e217b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95552 | {
"extension": "c-sharp",
"max_stars_count": "226.0",
"max_stars_repo_name": "prophetl33t/OWLib",
"max_stars_repo_path": "TankLib/STU/Types/STUEntityDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95553"
} | starcoder | // Generated by TankLibHelper
using TankLib.STU.Types.Enums;
// ReSharper disable All
namespace TankLib.STU.Types
{
[STU(0x73BB2F3A, 80)]
public class STUEntityDefinition : STUInstance
{
[STUField(0x8B9A461F, 8)] // size: 16
public teStructuredDataAssetRef<STUEntityDefinition> m_8B9A461F;
... | 1.038345 | 49fbcf7526a886ee8c7c47aee33d276e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95553 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DjArt/EmptyBox.IO",
"max_stars_repo_path": "EmptyBox/Devices/HID/PointerLocationEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95554"
} | starcoder | <reponame>DjArt/EmptyBox.IO
using System.Numerics;
namespace EmptyBox.Devices.HID
{
public delegate void PointerLocationEventHandler(IPointer pointer, Vector2 location);
} | 1.537389 | 96ff1f9b6d70ae735d30ff36dd828817 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95554 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Elepover/simplerouting",
"max_stars_repo_path": "SimpleRouting.Routing/Extensions/RoutingContextExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95555"
} | starcoder | namespace SimpleRouting.Routing.Extensions
{
public static class RoutingContextExtensions
{
/// <summary>
/// Sets flag to: route to next route.
/// </summary>
public static void Continue(this IRoutingContext context) => context.Target = RouteTarget.Continue;
/// <summary... | 2.506438 | 0e7ee320f04c2e2d4882b862442fc182 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95555 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Muchaszewski/com.unity.netcode.gameobjects",
"max_stars_repo_path": "com.unity.netcode.gameobjects/Tests/Runtime/NetworkAnimator/NetworkAnimatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95556"
} | starcoder | <filename>com.unity.netcode.gameobjects/Tests/Runtime/NetworkAnimator/NetworkAnimatorTests.cs
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using Unity.Netcode.Components;
using UnityEngine;
using UnityEngine.TestTools;
namespace Unity.Netcode.RuntimeTests
{
public class Networ... | 2.195705 | 83e4b77b1d488a21d1d009186ab60e95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95556 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EnhWeb/DC.Blazor",
"max_stars_repo_path": "src/DBlazor/EventArguments.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95557"
} | starcoder | #region Using directives
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
#endregion
namespace DBlazor
{
public class ChangingEventArgs : CancelEventArgs
{
public ChangingEventArgs( string oldValue, string newValue )
... | 2.501869 | da068f6976721ed1df066b76e36f52c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95557 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gcvalderrama/Jarvis",
"max_stars_repo_path": "Lincoln/07Summarization/JarvisSummarization/JarvisSummarization/CG/CGNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95558"
} | starcoder | using JarvisSummarization.AMR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JarvisSummarization.CG
{
public class CGNode
{
public int id { get; set; }
public string text { get; set; }
... | 2.585219 | 7cc251fa990dfa784a29c2d035a708d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95558 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "MagmaWorks/Calcs",
"max_stars_repo_path": "Calcs/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95559"
} | starcoder | <filename>Calcs/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.... | 2.119132 | d3adbd5d34e6a524c4a2e3e5024b5595 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95559 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "leevipietilainen/NVelocity",
"max_stars_repo_path": "src/NVelocity/Runtime/IRuntimeLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95560"
} | starcoder | // Copyright 2004-2010 Castle Project - http://www.castleproject.org/
//
// 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.995184 | 23a93c891341a96d06d75e7cdb9ddea4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 95560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frogcrush/jellyfin-apiclient-csharp",
"max_stars_repo_path": "Jellyfin.ApiClient/ConnectionManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:95561"
} | starcoder | using Jellyfin.ApiClient.Model;
using Jellyfin.ApiClient.Net;
using MediaBrowser.Controller.Authentication;
using MediaBrowser.Model.ApiClient;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Events;
using MediaBrowser.Model.Serialization;
using MediaBrowser.Model.Session;
using MediaBrowser.Model.System;
using... | 2.008715 | 145f39999d2ddf422bd01ce25f0c54be |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.