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 | 8829212 | {
"extension": "c-sharp",
"max_stars_count": "107.0",
"max_stars_repo_name": "GitHubRepoDescription/cognitive-services-dotnet-sdk-samples",
"max_stars_repo_path": "app-samples/Cognitive-Services-Face-WPF/Sample-WPF/Controls/FaceServiceClientHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148432"
} | starcoder | <filename>app-samples/Cognitive-Services-Face-WPF/Sample-WPF/Controls/FaceServiceClientHelper.cs
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Cognitive Services (formerly Project Oxford): https://www.microsoft.com/cognitive-services
//
// Microsoft Cognitive Se... | 2.096496 | cc2aefa61f27471bfe48d1fd8682551f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829213 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pedro-octavio/PAYMENTSControl",
"max_stars_repo_path": "backend/PAYMENTSControl.Domain/PaymentContext/Validators/Commands/RegisterPaymentCommandRequestValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148433"
} | starcoder | <reponame>pedro-octavio/PAYMENTSControl
using FluentValidation;
using PAYMENTSControl.Domain.PaymentContext.Commands.Requests;
using System;
namespace PAYMENTSControl.Domain.PaymentContext.Validators.Commands
{
public class RegisterPaymentCommandRequestValidator : AbstractValidator<RegisterPaymentCommandRequest>
... | 2.477582 | 36e93c70fb579c5e6c9950d3f322a330 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Btryx/Lost-In-Edoria",
"max_stars_repo_path": "LIE/Lost in Edoria/Assets/Scripts/Enemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148434"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour{
private float speed = 5f;
private Rigidbody2D enemyBody;
private bool Direction;
private void Awake()
{
enemyBody = GetComponent<Rigidbody2D>();
}
// Update is calle... | 2.595414 | 234b03e7dc822c0c2c0861ba810b127c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jams4code/StuckOverflow",
"max_stars_repo_path": "PRID5853-G06/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148435"
} | starcoder | <reponame>jams4code/StuckOverflow<gh_stars>0
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Authentication.J... | 1.995401 | 2b71b823b57a796449ced12e7e307990 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829216 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "narious/arviz",
"max_stars_repo_path": "Assets/Scripts/Utils/ArvizUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148436"
} | starcoder | <filename>Assets/Scripts/Utils/ArvizUtils.cs
using Microsoft.MixedReality.Toolkit;
using Microsoft.MixedReality.Toolkit.Input;
using UnityEngine;
public class ArvizUtils : MonoBehaviour
{
private GameObject pointerPos;
[SerializeField]
private Vector3 ARMarkerTransform;
// Start is called before the f... | 1.837869 | cffbcbb812313835da26f8a661b9ca9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmajest/incubator-reef",
"max_stars_repo_path": "lang/cs/Org.Apache.REEF.Examples/HelloCLRBridge/Handlers/HelloSimpleEventHandlers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148437"
} | 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"); yo... | 1.868844 | bb9ac9013be5e4bffd49cbd668f2ea30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alfonsoquartny/Sherlocked",
"max_stars_repo_path": "The Sherlocked/Assets/Malbers Animations/Common/Scripts/Animal Controller/AI Brain/Decisions/CheckTarget.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148438"
} | starcoder | using UnityEngine;
using MalbersAnimations.Scriptables;
namespace MalbersAnimations.Controller.AI
{
[CreateAssetMenu(menuName = "Malbers Animations/Pluggable AI/Decision/Check Target",order = -100)]
public class CheckTarget : MAIDecision
{
public override string DisplayName => "Movement/Check Targ... | 2.280052 | 9e60b543eadd5d30e4ab8f99494c0a02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829219 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BryanGonzalezDeveloper/sistema-de-gestion-terminado",
"max_stars_repo_path": "aplicacion-empresa/CapaPresentacion/FrmReportes.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148439"
} | starcoder | namespace CapaPresentacion
{
partial class FrmReportes
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.822608 | ed9b5215bddb4f19f20358e67ff3f68a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HisRoyalRedness/gpx-parser",
"max_stars_repo_path": "Copyright.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148440"
} | starcoder | <reponame>HisRoyalRedness/gpx-parser
using System;
using System.Xml;
using System.Xml.Linq;
namespace HisRoyalRedness.com
{
public class Copyright : GpxItem<Copyright>
{
public Copyright(string author)
{
if (string.IsNullOrWhiteSpace(author))
throw new ArgumentExcep... | 2.934915 | e414085a29865f0f6fbd970fbd3da7f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829221 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "FabTheDev/SIGBOT",
"max_stars_repo_path": "SIGBOT/Components/War/Events/Supremacy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148441"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using static SIGBOT.Components.War.Map;
namespace SIGBOT.Components.War.Events
{
public class Supremacy : WarEvent
{
public byte winner;
public int lastConquest;
public override string ToString()
{
... | 2.459057 | a8c2a83067b13a35e73693724fc0ab91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karinavit/HelloWord",
"max_stars_repo_path": "HelloWord/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148442"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HelloWord
{
class Program
{
static void Main(string[] args)
{
//declarando variáveis
int segundaGuerraMundial = 1942;
string cor_favorita = "Vermelho";
... | 3.396821 | 8fe20ec91adc38b6dd1b83ce5e138d30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ljcollins25/Codeground",
"max_stars_repo_path": "src/UnoApp/UnoDecompile/Uno.UI/Windows.UI.Xaml.Media/BrushCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148443"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using Uno;
using Windows.Foundation.Metadata;
namespace Windows.UI.Xaml.Media;
[NotImplemented]
public class BrushCollection : IList<Brush>, ICollection<Brush>, IEnumerable<Brush>, IEnumerable
{
[NotImplemented(new string[] { "__ANDROID__", "_... | 2.260942 | e8cbb3eecec20bed31d234d6807b471c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viagogo/GogoKit.net",
"max_stars_repo_path": "tests/GogoKit.Tests/Http/ErrorHandlerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148444"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using GogoKit.Exceptions;
using GogoKit.Http;
using GogoKit.Models.Response;
using GogoKit.Tests.Fakes;
using HalKit.Http;
usi... | 2.142734 | a52b0895d4b8b83d908d3d2b4b8c4675 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829225 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "GnipDz/GnipForDotNet",
"max_stars_repo_path": "Gnip.Utilities/JsonClasses/Address.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148445"
} | starcoder | namespace Gnip.Utilities.JsonClasses
{
public class Address
{
public string country;
public string countryCode;
public string locality;
public string region;
public string subRegion;
}
}
| 1.682613 | 42a25f25a100ae53f27ad4e124ff4a47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829226 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "gitter-badger/EventsSourcing-on-Azure-Functions",
"max_stars_repo_path": "src/EventSourcingOnAzureFunctions.Common/EventSourcing/Implementation/AzureStorage/Blob/BlobProjectionSnapshotBase.cs",
"provenance": "train-00027-of-00045.jso... | starcoder | <filename>src/EventSourcingOnAzureFunctions.Common/EventSourcing/Implementation/AzureStorage/Blob/BlobProjectionSnapshotBase.cs
using EventSourcingOnAzureFunctions.Common.EventSourcing.Implementation.AzureStorage.AppendBlob;
using EventSourcingOnAzureFunctions.Common.EventSourcing.Interfaces;
using System;
using Syste... | 2.544182 | 3e81f1c44c3ae9adf306a90f1926a79b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829227 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "YunusOzdemirr/BlogApi",
"max_stars_repo_path": "src/v2/CmnSoftwareBackend.Services/Abstract/IMailService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148447"
} | starcoder | <reponame>YunusOzdemirr/BlogApi
using System;
using CmnSoftwareBackend.Entities.Dtos.EmailDtos;
using CmnSoftwareBackend.Entities.Dtos.LandingEmailDtos;
using CmnSoftwareBackend.Shared.Utilities.Results.Abstract;
namespace CmnSoftwareBackend.Services.Abstract
{
public interface IMailService
{
IResult ... | 1.369087 | 10f6c9e5bc6660e86d075d598c97e266 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "boski-src/Copernicus.Server",
"max_stars_repo_path": "Copernicus.Core/Domain/Games/States.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148448"
} | starcoder | <filename>Copernicus.Core/Domain/Games/States.cs
namespace Copernicus.Core.Domain.Games
{
public static class States
{
public const string Waiting = "waiting";
public const string Started = "started";
public const string Ended = "ended";
public static bool IsValid(string value) ... | 2.473046 | 05299beb7edc8de408392436cd77eaea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidPesta/ConsoleMenu",
"max_stars_repo_path": "util/MenuAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148449"
} | starcoder | <reponame>DavidPesta/ConsoleMenu
/*
* Console Menu - MIT License
* Copyright (c) 2021 <NAME>
* https://github.com/DavidPesta/ConsoleMenu
*/
namespace ConsoleMenu
{
public abstract class MenuAction
{
protected ProgramData Data;
public virtual string Command { get; protected set; }
public virtual string MenuT... | 2.891929 | 7841c76325ba676280f5d611791bfcda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829230 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Benny121221/ACTelemetry",
"max_stars_repo_path": "WPFApp/StaticsData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148450"
} | starcoder | <reponame>Benny121221/ACTelemetry
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace AssettoCorsaTelemetryApp
{
class StaticsData : IMemoryMappedFile<StaticsMemoryMap>
{
public StaticsData()
{
InitializeStatics();
staticsPtr = GetStaticsPoint... | 1.960801 | 06c03ef197ec95c73c86537d3e9a6a79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829231 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nathnael/cats",
"max_stars_repo_path": "Models/Cats.Models.Hub/HubSetting.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148451"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Cats.Models.Hubs
{
public partial class HubSetting
{
public HubSetting()
{
this.HubSettingValues = new List<HubSettingValue>();
}
[Key]
publ... | 1.989681 | 567ce4d4f117e74ebfa29becaa0b12c8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829232 | {
"extension": "c-sharp",
"max_stars_count": "99.0",
"max_stars_repo_name": "kosorin/Dapplo.Windows",
"max_stars_repo_path": "src/Dapplo.Windows.Gdi32/Structs/BlurParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148452"
} | starcoder | // Copyright (c) Dapplo and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace Dapplo.Windows.Gdi32.Structs
{
/// <summary>
/// Conta... | 2.769256 | c1a61803a8c90b7d09babfb23be73843 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829233 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "geolba/StyleFileCreator",
"max_stars_repo_path": "StyleFileCreator.App/ViewModel/DataViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148453"
} | starcoder | <filename>StyleFileCreator.App/ViewModel/DataViewModel.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using StyleFileCreator.App.Model;
using StyleFileCreator.App.Resources;
using GalaSoft.MvvmLight.Command;
using System.Windows... | 2.115441 | 7a4ffc86832e9c53c590bc9160148b41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829234 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "opcaic/server",
"max_stars_repo_path": "src/OPCAIC.ApiService/Services/TournamentProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148454"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using OPCAIC.Application.Dtos.Matches;
using OPCAIC.Application.Dtos.Tournaments;... | 2.216441 | 5460975545b0202b765299dcb140eb74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829235 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "theCapypara/SkyEditor.RomEditor.Rtdx",
"max_stars_repo_path": "SkyEditor.UI/Controllers/DungeonMusic/DungeonMusicController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148455"
} | starcoder | <filename>SkyEditor.UI/Controllers/DungeonMusic/DungeonMusicController.cs<gh_stars>1-10
using System;
using Gtk;
using UI = Gtk.Builder.ObjectAttribute;
using SkyEditor.RomEditor.Domain.Rtdx;
using SkyEditor.RomEditor.Domain.Rtdx.Models;
namespace SkyEditorUI.Controllers
{
class DungeonMusicController : Widget
... | 2.569304 | f5071e4c465da0cb6bd86e705b5f8fa1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829236 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "IlSocio/MvvmCross-ControlsNavigation",
"max_stars_repo_path": "MupApps.MvvmCross.Plugins.ControlsNavigation/Sample/MupApps.ControlsNavigation.Sample.Droid/SplashScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148456"
} | starcoder | <filename>MupApps.MvvmCross.Plugins.ControlsNavigation/Sample/MupApps.ControlsNavigation.Sample.Droid/SplashScreen.cs
// SplashScreen.cs
// (c) Copyright <NAME> @_christian_ruiz
// MvvmCross - Controls Navigation Plugin is licensed using Microsoft Public License (Ms-PL)
//
using Android.App;
using Android.Content.PM;... | 1.938062 | 0f2915564363f211dfe345c392b9b2ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829237 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "et9930/ECS-Game",
"max_stars_repo_path": "Assets/Script/Components/UniqueComponents/ServiceInstances/KeyInputServiceComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148457"
} | starcoder | <filename>Assets/Script/Components/UniqueComponents/ServiceInstances/KeyInputServiceComponent.cs
using Entitas;
using Entitas.CodeGeneration.Attributes;
[Game, Unique]
public class KeyInputServiceComponent : IComponent
{
public IKeyInputService instance;
} | 1.538571 | f7b2d830b4e6299955a7b1e694fbfbec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829238 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GeorgiGradev/MyFitnessApp",
"max_stars_repo_path": "MyFitnessApp/MyFitnessApp.Common/DataConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148458"
} | starcoder | namespace MyFitnessApp.Common
{
public static class DataConstants
{
// ApplicationUser Model
public const int ApplicationUserUserNameMinLength = 2;
public const int ApplicationUserUserNameMaxLength = 20;
public const int ApplicationUserFirstNameMinLength = 2;
public con... | 2.012436 | b2cade52de4fcafb6584b93cb96b61a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829239 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amironov73/ManagedIrbis5",
"max_stars_repo_path": "Source/Tests/FormsTests/Source/Tests/ScrollControlTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148459"
} | starcoder | <filename>Source/Tests/FormsTests/Source/Tests/ScrollControlTest.cs
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable UnusedMember.Global
/* ScrollControlTest.cs --
* Ars Magna project, http://arsmagna.ru
*/
#region Using directives
using... | 2.395026 | c07a2cf2942101e9ace2aff69b5862b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shanshanpeng333/Organic-Fertilizer-Company-Website",
"max_stars_repo_path": "FourthDimensionOEC/obj/release/netcoreapp2.1/razor/views/FDFertilizer/Index.g.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148460"
} | starcoder | #pragma checksum "C:\program 2230 MS web techn\Assignment\Assignment 2\FourthDimensionOEC\FourthDimensionOEC\Views\FDFertilizer\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a64208d6b080b7026ee8967e05b937dd5767204a"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razo... | 1.522005 | c3a4e3ff9397c1b8256650a314709424 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Useurmind/ModuleInject",
"max_stars_repo_path": "test/Test.ModuleInject/Modules/TestModules/PureInterfaceInjectionModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148461"
} | starcoder | <filename>test/Test.ModuleInject/Modules/TestModules/PureInterfaceInjectionModule.cs
using System.Linq;
using ModuleInject.Interfaces;
using ModuleInject.Injection;
using ModuleInject.Interfaces.Injection;
namespace Test.ModuleInject.Modules.TestModules
{
public class PureInterfaceInjector : InterfaceInjector<IS... | 2.276515 | d4b6b67ffd4dc1ee4e4d89ffe752d4cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tvu100/Wreckage",
"max_stars_repo_path": "Game/Assets/AmplifyShaderEditor/Plugins/Editor/Nodes/HelperFuncs/DepthFade.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148462"
} | starcoder | using UnityEngine;
using UnityEditor;
using System;
namespace AmplifyShaderEditor
{
[Serializable]
[NodeAttributes( "Depth Fade", "Surface Data", "Outputs a linear gradient representing the distance between the surface of this object and geometry behind" )]
public sealed class DepthFade : ParentNode
{
protected ... | 2.209767 | 6b1de8e585c12878f74565f682704547 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829243 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GitWither/classeviva-net",
"max_stars_repo_path": "classeviva-net/MaterialFile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148463"
} | starcoder | using System;
namespace ClassevivaNet
{
public class MaterialFile
{
/// <summary>
/// Author of the file
/// </summary>
public string Author { get; }
/// <summary>
/// Description of the file
/// </summary>
public string Description { get; }
... | 3.043778 | 6ffc0824cc645c4e5566df622df15eeb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829244 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "unger/Artportalen",
"max_stars_repo_path": "Artportalen/Request/Web/SiteRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148464"
} | starcoder | <filename>Artportalen/Request/Web/SiteRequest.cs
namespace Artportalen.Request.Web
{
public class SiteRequest
{
public double North { get; set; }
public double East { get; set; }
public int Radius { get; set; }
}
}
| 1.913933 | 78acffe16350b86a14d6b45091b86f1c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xtellurian/Xamling-Core",
"max_stars_repo_path": "XamlingCore/XamlingCore.Tests.Android/Tests/Helpers/HashHelperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148465"
} | starcoder | using System.Text;
using Autofac;
using NUnit.Framework;
using XamlingCore.Portable.Contract.Helpers;
using XamlingCore.Tests.Android.Base;
namespace XamlingCore.Tests.Android.Tests.Helpers
{
[TestFixture]
public class HashHelperTests :TestBase
{
[Test]
public void TestHashesMatch()
... | 2.234487 | a2c6b904cce55c68280230235d11bd36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "team2capstone/RateMyLearning",
"max_stars_repo_path": "RateMyLearning/Pages/Account/SignIn.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148466"
} | starcoder | <reponame>team2capstone/RateMyLearning
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using RateMyLearning.Data.Models;
namespace RateMyLearning.Pages.Account {... | 2.553602 | 9877f069369cc3be495caba97c8fc832 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevMain/RockSaltRunningTimeTrial",
"max_stars_repo_path": "RockSaltRunning.TimeTrial.Web/Models/ResultsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148467"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RockSaltRunning.TimeTrial.Web.Models
{
public class ResultsViewModel
{
public EventViewModel Event { get; set; }
public ICollection<ResultViewModel> Results { get; set; }
}
public class Resu... | 1.989745 | ff2a79fec9f973079bae82c15161d196 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829248 | {
"extension": "c-sharp",
"max_stars_count": "260.0",
"max_stars_repo_name": "alexbowers/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/Ec2/Outputs/GetInternetGatewayAttachmentResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148468"
} | 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.98011 | 0e780c31932b569f119d8043c29aaead |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pr3sto/CryptoMessenger",
"max_stars_repo_path": "CryptoMessenger/CryptoMessenger/Behaviors/ListBoxBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148469"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace CryptoMessenger.Behaviors
{
/// <summary>
/// Class for listbox behaviors.
/// </summary>
class ListBoxBehav... | 2.482243 | 21b28d23f9701f2f9307497df4545ef5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elisiolg/.Net2",
"max_stars_repo_path": "Programacao Avancada Web CS/Empregados/frmAumentaSalario.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148470"
} | starcoder | using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
namespace Prog... | 2.151733 | 244f0838031cadc90c30720877bee180 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829251 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WinMister332/UnityItemClasses",
"max_stars_repo_path": "Weapons/WeaponManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148471"
} | starcoder | <reponame>WinMister332/UnityItemClasses
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using UnityEngine;
public class WeaponManager : WeaponBace
{
public WeaponManager(string Name, string id, string Desc, int agility, int strength, int wisdom, int defence, Weap... | 1.949354 | ef4d2ca6c9c853dde8cc32047557fd75 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829252 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rarelysimple/RarelySimple.AvatarScriptLink",
"max_stars_repo_path": "RarelySimple.AvatarScriptLink.Examples/Soap/v5/Shared/IRunScriptCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148472"
} | starcoder | using RarelySimple.AvatarScriptLink.Objects;
namespace RarelySimple.AvatarScriptLink.Examples.Soap.v5.Shared
{
public interface IRunScriptCommand
{
OptionObject2015 Execute();
}
} | 0.990724 | 1168332e2019569f9fb3182946ffa5e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829253 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vassourita/broooms",
"max_stars_repo_path": "cart-api/Broooms.Cart/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148473"
} | starcoder | using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.OpenApi.Models;
using Broooms.Cart;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddStackExchangeRedisCache(
options => options.Configuration = builder.Configuration.GetConnectionStri... | 2.019694 | ec525805e4099d0ac1842495a12bbd98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuanmaStudio/LuanmaHorrorGame",
"max_stars_repo_path": "Assets/AnyPortrait/Assets/Scripts/OptimizedObjects/Modifier/Modified/apOptModifiedVertex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148474"
} | starcoder | /*
* Copyright (c) 2017-2019. RainyRizzle. All rights reserved
* Contact to : https://www.rainyrizzle.com/ , <EMAIL>
*
* This file is part of [AnyPortrait].
*
* AnyPortrait can not be copied and/or distributed without
* the express perission of [Seungjik Lee].
*
* Unless this file is downloaded from the Unity Asset St... | 2.076432 | d8abd320b2281a2998d42f7dc1d6fe44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829255 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "centrual/Milvasoft.Iyzipay",
"max_stars_repo_path": "Milvasoft.Iyzipay/Model/CrossBookingFromSubMerchant.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148475"
} | starcoder | using Milvasoft.Iyzipay.Request;
using Milvasoft.Iyzipay.Utils.Abstract;
using Milvasoft.Iyzipay.Utils.Concrete;
using System.Threading.Tasks;
namespace Milvasoft.Iyzipay.Model
{
public class CrossBookingFromSubMerchant : IyzipayResource
{
private readonly IRestHttpClient _restHttpClient;
pu... | 1.956536 | 2cf5b821945b7a2e6a80a4ea7f316db6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829256 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "davghouse/spoj",
"max_stars_repo_path": "Spoj.Solver/Solutions/3 - Warlord/FENCE1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148476"
} | starcoder | <filename>Spoj.Solver/Solutions/3 - Warlord/FENCE1.cs
using System;
// https://www.spoj.com/problems/FENCE1/ #math
// Finds the area that can be fenced in using a wall and some fence.
public static class FENCE1
{
// So the answer here is to make a half circle with the fence, the wall forming
// the straight s... | 3.774487 | 2e0cb8a9173e98fc79f89ae27a087ae6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829257 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kodoftw/LeetCode",
"max_stars_repo_path": "LeetCode/461-HammingDistance/Solution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148477"
} | starcoder | namespace _461_HammingDistance
{
internal class Solution
{
public int HammingDistance(int x, int y)
{
int distance = 0;
for (int i = 0; i < 32; i++)
{
if ((x & 1) != (y & 1))
{
distance++;
}
... | 3.624624 | 6b241e36983046ffcd67155ece279db8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dynesshely/QuickLogin",
"max_stars_repo_path": "QuickLogin/Clipboard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148478"
} | starcoder | <reponame>Dynesshely/QuickLogin
using System.Runtime.InteropServices;
#pragma warning disable CA1401 // P/Invokes 应该是不可见的
namespace QuickLogin
{
public class Clipboard
{
[DllImport("User32")]
public static extern bool OpenClipboard(IntPtr hWndNewOwner);
[DllImport("User32")]
... | 2.540316 | 62320dd06cfbc894bcaaccb9c6d3d9fc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jlhiskey/DN_Zoo",
"max_stars_repo_path": "DN_Zoo/DN_Zoo/Classes/Animals/Crow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148479"
} | starcoder | <filename>DN_Zoo/DN_Zoo/Classes/Animals/Crow.cs
using DN_Zoo.Classes.Biologic_Class_Sub_Types;
using System;
using System.Collections.Generic;
using System.Text;
namespace DN_Zoo.Classes.Animals
{
/// <summary>
/// CONCRETE Crow class inheretes the properties of Sub Type Flying
/// </summary>
public c... | 3.127062 | fccb0a79e73ff1450b5e70eabc6b4544 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829260 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "WoodsCheney/math-editor",
"max_stars_repo_path": "Editor/equations/Root/SquareRoot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148480"
} | starcoder | using System.Linq;
using System.Xml.Linq;
namespace Editor
{
public sealed class SquareRoot : EquationContainer
{
protected RowContainer insideEquation = null;
protected RadicalSign radicalSign;
protected double ExtraHeight
{
get { return FontSize * .15; }
... | 2.912377 | bedf6a88edf57fada8c0922439dd5d7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829261 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "moplus/modelorientedplus",
"max_stars_repo_path": "MoPlus.Interpreter/BLL/Interpreter/Template.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148481"
} | starcoder | <filename>MoPlus.Interpreter/BLL/Interpreter/Template.cs
/*<copyright>
Mo+ Solution Builder is a model oriented programming language and IDE, used for building models and generating code and other documents in a model driven development process.
Copyright (C) 2013 <NAME>, Intelligent Coding Solutions, LLC
This progra... | 1.682047 | b8398b4d005a0a9280747c8a31c35f18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JustinCreasy/griddly",
"max_stars_repo_path": "Griddly.Mvc/GriddlySettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148482"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using System.Web.Helpers;
using System.Web.Mvc;
namespace Griddly.Mvc
{
public abstract class GriddlySettings
{
public sta... | 1.969524 | 28f2a5dcf88e72cc261212a1ff92b4c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kvanonavk/tic-tac-toe",
"max_stars_repo_path": "Assets/Scripts/SoundButtonScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148483"
} | starcoder | <reponame>kvanonavk/tic-tac-toe<filename>Assets/Scripts/SoundButtonScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Changes volume status of a specified audio source.
/// </summary>
public class SoundButtonScript : MonoBehaviour {
p... | 2.229142 | 2a22cb438379ea2d75591c34f2556cc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829264 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lonemario/LT.RandomGen",
"max_stars_repo_path": "LT.RandomGen/Data/Actions/HrActions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148484"
} | starcoder | <reponame>lonemario/LT.RandomGen<filename>LT.RandomGen/Data/Actions/HrActions.cs<gh_stars>0
using System.Collections.Generic;
namespace LT.RandomGen.Data.Actions
{
internal static class HrActions
{
public static List<string> GetActions()
{
return new List<string> {
... | 2.036798 | 1a2a37aab08a7c3c66631440d184fe2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829265 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/config/wmi/wmiclient/test/collectioncopyto/class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148485"
} | starcoder | <filename>com/netfx/src/config/wmi/wmiclient/test/collectioncopyto/class1.cs
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace CollectionCopyTo
{
using System;
using System.Management;
/// <summary>
/// Summary description for Class1.
/// </summary>
p... | 2.632462 | 943d2dde83b8064631ee9fdffc65863f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829266 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "favedit/MoCross",
"max_stars_repo_path": "Tools/2 - Core/MoDesign2d/Frame/Common/EUiAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148486"
} | starcoder | <filename>Tools/2 - Core/MoDesign2d/Frame/Common/EUiAction.cs<gh_stars>1-10
namespace MO.Design2d.Frame.Common
{
//============================================================
// <T>界面命令。</T>
//============================================================
public enum EUiAction
{
// 调整
Adjust,... | 1.799096 | fd042434c0f5ab8d8822da40aa738714 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829267 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bert1974/netcore3",
"max_stars_repo_path": "UserAdminLib/ViewModels/RolesWithData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148487"
} | starcoder | <reponame>Bert1974/netcore3<filename>UserAdminLib/ViewModels/RolesWithData.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace UserAdminLib.ViewModels
{
public class RolesWithData<T>
{
public string[] Roles { get; set; }
public T Data {... | 1.758214 | dced0d462ef5d1ae67d83519cb9f1ea9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JohnPKosh/azos",
"max_stars_repo_path": "src/Azos/Conf/Forest/Server/GdidOrPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148488"
} | starcoder | <gh_stars>0
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using Azos.Data;
namespace Azos.Conf.Forest.... | 2.280132 | a880ebc04df6d320ecbc1ad2afb45259 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829269 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zarokhan/EnemyFortress",
"max_stars_repo_path": "EnemyFortress/Utilities/Camera.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148489"
} | starcoder | <filename>EnemyFortress/Utilities/Camera.cs<gh_stars>0
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace EnemyFortress.Utilities
{
public class Camera
{
private Matrix transform;
public Vector2 position;
private float rotation, zoomX, zoomY, lerp = 0.1f;
... | 2.969192 | 4e094f163fc7dc74462e311f89bf5c49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jbudbo/ProjectIris",
"max_stars_repo_path": "Testing/Worker.Tests/TweetWorkerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148490"
} | starcoder | <reponame>jbudbo/ProjectIris
using Microsoft.Extensions.Logging;
using Moq;
using StackExchange.Redis;
using Xunit;
namespace Worker.Tests;
using Interfaces;
using Models;
using System.Text.Json;
public class TweetWorkerTests
{
[Fact]
[Trait("path", "happy")]
public async Task Worker_Doesnt_Continue_On_... | 2.192704 | ed68c2471f6a785c8e2c8825fc0a5b85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829271 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "yodiwo/plegma",
"max_stars_repo_path": "Wisper/mNodeCore/mNode/YodiwoProjects/Yodiwo.API.Warlock/GraphDescriptor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148491"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yodiwo.API.Warlock
{
public class GraphWrlkDescriptor
{
//-------------------------------------------------------------------------------------------------------... | 1.39643 | b5b7547ef73b1bcd0fb8992b6bea6565 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JimBobGames/Stella-Ardens",
"max_stars_repo_path": "StellaArdens.Core/Data/Division.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148492"
} | starcoder | <reponame>JimBobGames/Stella-Ardens<filename>StellaArdens.Core/Data/Division.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StellaArdens.Core.Data
{
/// <summary>
/// What is the r... | 2.423223 | 5a3dbce655567ffe12e9ba527fc6a9c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aspringborg/Scenario",
"max_stars_repo_path": "src/Scenario.Domain.Modeling/Models/Constant.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148493"
} | starcoder | <filename>src/Scenario.Domain.Modeling/Models/Constant.cs
using System;
namespace Scenario.Domain.Modeling.Models
{
public class Constant : Suggestable
{
public Constant()
{
}
}
}
| 1.699456 | 7652f7c3605d4601c410ee7e914cdb61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829274 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WinstonMao/MatterControl",
"max_stars_repo_path": "Tests/MatterControl.AutomationTests/SqLiteLibraryProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148494"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using MatterHackers.Agg.UI;
using MatterHackers.Agg.UI.Tests;
using MatterHackers.GuiAutomation;
using MatterHackers.MatterControl.PartPreviewWindow;
using NUnit.Framework;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Categ... | 1.831103 | 0a6da467a55cdde1218c1b544783f7a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reality-Virtually-Hackathon/CollabAR",
"max_stars_repo_path": "CollabAR/Assets/Server stuff/Network/NetworkPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148495"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NetworkPlayer : Photon.MonoBehaviour {
public GameObject myCamera;
// Use this for initialization
void Start () {
if (photonView.isMine)
{
myCamera.SetActive(true);
}
}
// Updat... | 1.821068 | 3a504b98d280c03c9446c0bba8719194 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftCircuits/SoftCircuits.CodeColorizer",
"max_stars_repo_path": "SoftCircuits.CodeColorizer/LanguageToken.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148496"
} | starcoder | // Copyright (c) 2020-2021 <NAME> (www.softcircuits.com)
// Licensed under the MIT license.
//
namespace SoftCircuits.CodeColorizer
{
/// <summary>
/// Represents a single token parsed by <see cref="LanguageParser"/>.
/// </summary>
internal class LanguageToken
{
/// <summary>
/// ... | 2.9409 | 683f5fe8969573e37eebb091b0c13030 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829277 | {
"extension": "c-sharp",
"max_stars_count": "273.0",
"max_stars_repo_name": "alexchandel/armok-vision",
"max_stars_repo_path": "Assets/Scripts/MapGen/UserSettings/ShowHiddenTiles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148497"
} | starcoder | using System;
namespace UserSettings
{
public class ShowHiddenTiles : SliderBase
{
protected override void InitValue()
{
slider.value = Convert.ToInt32(GameSettings.Instance.rendering.showHiddenTiles);
valueLabel.text = GameSettings.Instance.rendering.showHiddenTiles.To... | 2.35927 | 0adba647e4ba491386a32136cac0dbb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829278 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tdxconsulting/MongoDB-Generic-Repository",
"max_stars_repo_path": "TDX.Api.Tests/FakeData/DataUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148498"
} | starcoder | using System;
using Bogus;
using AutoBogus;
using TDX.Api.Documents;
namespace TDX.Api.Tests.FakeData
{
public static class DataUtility
{
public static Note CreateNote()
{
var note = new Faker<Note>(locale: "en_US")
.RuleFor(n => n.Text, f => f.Lorem.Text());
re... | 2.233896 | 3a3c9c95eb28da795da268b64c6a3d88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829279 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ReguMaster/FirstLOL",
"max_stars_repo_path": "LOLFirstPick/Lib/AutoHotkey.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148499"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AhkWrapper;
using System.Threading;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace LOLFirstPick.Lib
{
enum WorkerStatus
{
FindingChatBox,
FindingSearchBox,
Findi... | 2.181281 | 1d4351c78d9a0eaf9112dbcb4b199a7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlRodri/TfsConfigureNewFeaturesQuerierSeleniumApp",
"max_stars_repo_path": "TfsConfigureNewFeaturesQuerierSeleniumApp/AppSetings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148500"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TfsConfigureNewFeaturesQuerierSeleniumApp
{
public class AppSetings
{
public string Instance { get; set; }
public string CollectionName { get; set; }
public str... | 1.65098 | 2d326851268c764e642ef37fdf9c2e35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philipstaffordwood/A3S",
"max_stars_repo_path": "src/za.co.grindrodbank.a3s/AuthorisationPolicies/PermissionsAuthorisationHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148501"
} | starcoder | /**
* *************************************************
* Copyright (c) 2019, Grindrod Bank Limited
* License MIT: https://opensource.org/licenses/MIT
* **************************************************
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Micr... | 2.805841 | c8e8d8b9446c883d4da1331614ee3c5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "twaddell/MessagePack.LanguageExt",
"max_stars_repo_path": "MessagePack.LanguageExt/LanguageExtResolver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148502"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using MessagePack.Formatters;
using LanguageExt;
namespace MessagePack.LanguageExt
{
public class LanguageExtResolver : IFormatterResolver
{
public static readonly LanguageExtResolver Instance = new LanguageExtResolver();
... | 2.425759 | c5a10eb68530ab21a126e8f80f055a80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829283 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "zakkreyshort/wildlifepark",
"max_stars_repo_path": "Models/BackEnd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148503"
} | starcoder | using System;
using System.Collections.Generic;
namespace Jurassic.Models
{
public class Dino
{
public static List<Dino> dinosaursList = new List<Dino>()
{};
private string _species;
private string _color;
private string _diet;
private string _name;
public Dino(string species, string c... | 3.433984 | 5e0ad8772b7ffc69b42b65f312363100 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829284 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "SorraTheOrc/TPSCharacterController",
"max_stars_repo_path": "Scripts/Runtime/Animation/AnimationTag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148504"
} | starcoder | using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace DoubTech.TPSCharacterController.Animation
{
[Serializable]
public class AnimationTag
{
[SerializeField] public AnimationTagType tagType;
[SerializeField] public string tag;
[Serial... | 2.065263 | 20f8ed01111c755326c0cc1a741dfb2e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iZeQure/Solar-System",
"max_stars_repo_path": "WebSocketTest/Handlers/SocketExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148505"
} | starcoder | <filename>WebSocketTest/Handlers/SocketExtension.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using WebSocketTest.... | 2.423811 | 00bb86dbf74c3eef74b9311cd30cd57d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829286 | {
"extension": "c-sharp",
"max_stars_count": "256.0",
"max_stars_repo_name": "PetroGolovnya/h-opc",
"max_stars_repo_path": "h-opc/Common/OpcStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148506"
} | starcoder | namespace Hylasoft.Opc.Common
{
/// <summary>
/// Identifies the status of an OPC connector
/// </summary>
public enum OpcStatus
{
/// <summary>
/// The client is not connected
/// </summary>
NotConnected,
/// <summary>
/// The client is connected
/// </summary>
Connected
}... | 2.177497 | 050f8d221e30af97a6201b503a587690 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829287 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "EcovadisCode/Ev.ServiceBus",
"max_stars_repo_path": "tests/Ev.ServiceBus.UnitTests/DispatchTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148507"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ev.ServiceBus.Abstractions;
using Ev.ServiceBus.UnitTests.Helpers;
using Microsoft.Azure.ServiceBus;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using Newtonsoft.Json;
using Xunit;
u... | 2.179017 | 050971a06af1d6710e870b27927c8001 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muskit/H3VR-Desktop-Freecam",
"max_stars_repo_path": "Assets/_Scripts/UI/Options/Mouse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148508"
} | starcoder | <gh_stars>0
using System;
using UnityEngine;
using UnityEngine.UI;
namespace DesktopFreecam
{
public enum ScrollWheelMode { MoveSpeed, FieldOfView }
public class Mouse : MonoBehaviour
{
public Toggle tglPitchReverse;
public Toggle tglYawReverse;
public Dropdown ddScrollMode;
... | 1.81015 | 30730c468c99aa1d89f81e2200a0ed78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotnet-devops/Examples",
"max_stars_repo_path": "Accounting/Accounting.Web/Server/Controllers/UtilityAccrualControllers/UtilitiesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148509"
} | starcoder | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using UtilityAccrual.DataAccess.Base;
using UtilityAccrual.Shared.Models;
// For more information on enabling Web API for empty projects, visit htt... | 2.349782 | 05ded824e3fe926b3e3b03342b6cf3e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "agony84/team4-repo2",
"max_stars_repo_path": "project2/CharSheet/CharSheet.Data/Repositories/FormTeplateRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148510"
} | starcoder | <filename>project2/CharSheet/CharSheet.Data/Repositories/FormTeplateRepository.cs
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Security.Cryptography;
using Microsoft.EntityFrameworkCore;
using CharSheet.Domain;
using CharSheet.Domain.Interfaces;
namespac... | 2.38833 | 178b30afc74c9588921534679ad18dac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qmhoang/Ogui",
"max_stars_repo_path": "UI/InputManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148511"
} | starcoder | // Copyright (c) 2010-2013 <NAME>, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, mer... | 2.074867 | dde68fe58e1887ad5fa2c3e7901d608b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829292 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VirtualityForSafety/CraneManipulation3D",
"max_stars_repo_path": "Assets/Resources/Tasc/Scripts/Tasc/InstructionInterface/Interface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148512"
} | starcoder | <reponame>VirtualityForSafety/CraneManipulation3D<filename>Assets/Resources/Tasc/Scripts/Tasc/InstructionInterface/Interface.cs
using UnityEngine;
using System.Collections;
namespace Tasc
{
public class Interface : MonoBehaviour
{
public Information.Context context = Information.Context.Default;
public vi... | 1.73365 | 9d94905edbd61d9c5532e2d50c7395f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829293 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "graemefoster/Cacoch",
"max_stars_repo_path": "src/Cooker/Kitchens/RecipeEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148513"
} | starcoder | using System;
using System.Net;
namespace Cooker.Kitchens
{
public static class RecipeEx
{
public static Recipe<TContext, TOutput> Then<TContext, TIntermediate, TOutput>(
this Recipe<TContext, TIntermediate> initial,
Func<TIntermediate, Recipe<TContext, TOutput>> next) where TC... | 2.556569 | 58429aeec2103d20b95918a8f7768994 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829294 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "aykanatm/MyLibrary",
"max_stars_repo_path": "WPFUtils/ExtensionMethods/DependencyObjectExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148514"
} | starcoder | using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
namespace WPFUtils.ExtensionMethods
{
public static class DependencyObjectExtensionMethods
{
public static IEnumerable<DependencyObject> GetChildren<T>(this DependencyObject parent) where T : DependencyObject
{... | 2.93406 | b21b525225789ec16aa0d3407ff3e4e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829295 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "sensorberg-dev/windows10-sdk",
"max_stars_repo_path": "SensorbergSDK/Model/BeaconDetailsModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148515"
} | starcoder | <reponame>sensorberg-dev/windows10-sdk
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Threading;
using SensorbergSDK;
namespace SensorbergControlLibrary.Model
{
public class BeaconDeta... | 2.465667 | 563145b180ffc2b0633b19f9be1c62e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829296 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RedBaron321/Unity2DSimpleAI",
"max_stars_repo_path": "Steersman.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148516"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
using System.IO;
#endif
[AddComponentMenu("AI/Steersman")]
public class Steersman : MonoBehaviour {
#region Data
Transform myTransform;
IntVector2 targetPos, minePos; //позиция бота и корабля игрок... | 2.441504 | e3d94d70325170c982cf05de7a3c7510 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829297 | {
"extension": "c-sharp",
"max_stars_count": "483.0",
"max_stars_repo_name": "lwqwag/SoMall",
"max_stars_repo_path": "backEnd/src/TT.SoMall.EntityFrameworkCore/EntityFrameworkCore/SoMallDbContextModelCreatingExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148517"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TT.Abp.Shops;
using TT.Abp.Shops.Domain;
using TT.SoMall.Users;
using Volo.Abp;
using Volo.Abp.Users;
namespace TT.SoMall.EntityFrameworkCore
{
public static class SoMallDbContextModelCreatingExtensions
{
... | 2.01929 | 8587aa5ac36d14b0c90a01a414ad0c05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829298 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mehrdadab/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Collections/StackQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148518"
} | starcoder | namespace Umbraco.Cms.Core.Collections
{
/// <summary>
/// Collection that can be both a queue and a stack.
/// </summary>
/// <typeparam name="T"></typeparam>
public class StackQueue<T>
{
private readonly LinkedList<T?> _linkedList = new ();
public int Count => _linkedList... | 3.299451 | 30d4adf899bf259a261ef0a06cfb5393 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829299 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BenButzer/iFactr-iOS",
"max_stars_repo_path": "iFactr.Touch/ModalManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148519"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using UIKit;
namespace iFactr.Touch
{
public static class ModalManager
{
public static Queue<ModalTransitionState> ModalQueue { get; private set; }
public static bool TransitionInProgress { get; private set; }
static Moda... | 2.602286 | da99a858e6119dbfacdd915a528eb93e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JACK009/WcfConsoleApp",
"max_stars_repo_path": "WcfService/Repository/AuthorRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148520"
} | starcoder | <reponame>JACK009/WcfConsoleApp
using System.Collections.Generic;
using System.Linq;
using WcfService.Context;
using WcfService.Mapper;
using WcfService.Models;
namespace WcfService.Repository
{
public class AuthorRepository
{
private readonly AuthorContext _authorContext;
private readonly Aut... | 2.602568 | c2d59d1bf6ccd9e9ac4a34afc67271aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829301 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "SuchakreeS/Rivers",
"max_stars_repo_path": "Rivers/Collections/EdgeCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148521"
} | starcoder | <filename>Rivers/Collections/EdgeCollection.cs
using System;
using System.Collections;
using System.Collections.Generic;
namespace Rivers.Collections
{
public abstract class EdgeCollection : ICollection<Edge>
{
protected EdgeCollection(Graph parentGraph)
{
ParentGraph = parentGraph... | 3.28794 | cf2ac6820a500e42217d78f2bf1284ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexvikkan/AlfaBank.AFT.Core.Library",
"max_stars_repo_path": "src/AlfaBank.AFT.Core/Data/DataBase/DbConnectionWrapper/DbConnectionWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148522"
} | starcoder | <filename>src/AlfaBank.AFT.Core/Data/DataBase/DbConnectionWrapper/DbConnectionWrapper.cs
using AlfaBank.AFT.Core.Data.DataBase.DbObjects;
using AlfaBank.AFT.Core.Exceptions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
namesp... | 2.413678 | 491abcad008b313cd5c01b2ffd776d57 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829303 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MCCshreyas/aspnetcore",
"max_stars_repo_path": "src/Middleware/WebSockets/src/WebSocketMiddlewareExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148523"
} | starcoder | <reponame>MCCshreyas/aspnetcore<filename>src/Middleware/WebSockets/src/WebSocketMiddlewareExtensions.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Microsoft.AspNetCore.WebSockets;
using Microsoft.Extension... | 1.892586 | 9e2955e0f3b842a7e0536f3fe5b016ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829304 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "tmijieux/zxcvbn-cs",
"max_stars_repo_path": "zxcvbn-core-test/Matcher/ReverseDictionaryMatcherTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148524"
} | starcoder | <filename>zxcvbn-core-test/Matcher/ReverseDictionaryMatcherTests.cs
using FluentAssertions;
using System.Linq;
using Xunit;
using Zxcvbn.Matcher;
using Zxcvbn.Matcher.Matches;
namespace Zxcvbn.Tests.Matcher
{
public class ReverseDictionaryMatcherTests
{
private readonly ReverseDictionaryMatcher matche... | 2.422986 | 0258af4fac967e933818b99492ab7793 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChrisAkridge/CodeLouJan2018",
"max_stars_repo_path": "dotnet-comic-book-library-manager-1.3/src/ComicBookLibraryManagerWebApp/Views/Series/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:148525"
} | starcoder | @model List<ComicBookShared.Models.Series>
@{
ViewBag.Title = "Series";
}
@Html.Partial("_Message")
<h2>@ViewBag.Title</h2>
<div class="pull-right">
<a href="@Url.Action("Add")" class="btn btn-primary btn-lg">
<span class="glyphicon glyphicon-plus"></span> Add Series
</a>
</div>
<table class="... | 2.535491 | d69e1c8c6262a19ddac6d1a943588255 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829306 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "HubbyteDev/SharpNeedle",
"max_stars_repo_path": "SharpDomain/SharpLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148526"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
using RGiesecke.DllExport;
namespace SharpDomain
{
... | 2.646925 | 3cbd21a6e33ed5f451844f7a0e8644e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829307 | {
"extension": "c-sharp",
"max_stars_count": "196.0",
"max_stars_repo_name": "brentschooley/linkit-one-sensor-samples",
"max_stars_repo_path": "Libraries/CmdMessenger/extras/CSharp/CommandMessenger.Transport.Serial/SerialSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148527"
} | starcoder | <filename>Libraries/CmdMessenger/extras/CSharp/CommandMessenger.Transport.Serial/SerialSettings.cs
#region CmdMessenger - MIT - (c) 2013 <NAME>.
/*
CmdMessenger - library that provides command based messaging
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and assoc... | 2.766341 | ef74c232e0c72079822d1ef567dd9bd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarianKmotorka/Fiesta",
"max_stars_repo_path": "src/Fiesta.WebApi/Controllers/FriendsController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148528"
} | starcoder | <filename>src/Fiesta.WebApi/Controllers/FriendsController.cs
using System.Threading;
using System.Threading.Tasks;
using Fiesta.Application.Common.Constants;
using Fiesta.Application.Features.Users.Friends;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Fiesta.WebApi.Controllers
{... | 1.960267 | 4046801a751dc06b887092aae0275d44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829309 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HansRobo/simulator",
"max_stars_repo_path": "Assets/Scripts/PointCloud/Trees/NodeRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148529"
} | starcoder | namespace Simulator.PointCloud.Trees
{
using UnityEngine;
/// <summary>
/// Class representing a single node in a tree hierarchy. Contains no points data.
/// </summary>
public abstract class NodeRecord
{
/// <summary>
/// Amount of points present in represented node.
/... | 3.235972 | de3396b2689665d8bbff24c88c30db77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "drozdik-m/DasContract",
"max_stars_repo_path": "DasContract.Blockchain.Solidity/Converters/Tasks/UserTaskConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148530"
} | starcoder | <filename>DasContract.Blockchain.Solidity/Converters/Tasks/UserTaskConverter.cs
using System.Collections.Generic;
using DasContract.Abstraction.Data;
using DasContract.Abstraction.Processes;
using DasContract.Abstraction.Processes.Tasks;
using System.Linq;
using DasContract.Blockchain.Solidity.SolidityComponents;
nam... | 2.156053 | 6462fbc1d9e772e1e403acf1219d9337 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8829311 | {
"extension": "c-sharp",
"max_stars_count": "128.0",
"max_stars_repo_name": "swoolcock/veldrid",
"max_stars_repo_path": "src/Veldrid/Vk/VkShader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:148531"
} | starcoder | using Vulkan;
using static Vulkan.VulkanNative;
using static Veldrid.Vk.VulkanUtil;
using System;
namespace Veldrid.Vk
{
internal unsafe class VkShader : Shader
{
private readonly VkGraphicsDevice _gd;
private readonly VkShaderModule _shaderModule;
private bool _disposed;
priva... | 2.435292 | 3638f4e50c2e0e78870262b630aedb22 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.