added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91061 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BenjaminChambers/SudokuSharp",
"max_stars_repo_path": "LibSudokuSharp/Examples/Cell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91062"
} | starcoder | using System.Collections.ObjectModel;
using System.Runtime.Serialization;
namespace SudokuSharp.Examples
{
/// <summary>
/// <see cref="CellType"/>s are used to define how a cell on a Sudoku board was filled in.
/// Possible values are Empty, Solution, or Guess.
/// </summary>
public enum CellType... | 3.51188 | 47ce3efa9d325acb116e3680c66f5da1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91062 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AaronLieberman/Addle",
"max_stars_repo_path": "Addle.Core/Linq/TaskOperations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91063"
} | starcoder | <filename>Addle.Core/Linq/TaskOperations.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Addle.Core.Linq;
using JetBrains.Annotations;
namespace Addle.Core.Linq
{
public static class TaskOperations
{
public static T WaitAndGet<T>(... | 2.137375 | 7cb876613221ffd75e95ed94d94ac1a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91063 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gh0stter/ACMC-Library-System",
"max_stars_repo_path": "ACMC Library System/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91064"
} | starcoder | <reponame>gh0stter/ACMC-Library-System
using System;
using System.Collections.Generic;
using System.Windows;
using DomainModels.DataModel;
using Microsoft.Shell;
namespace ACMC_Library_System
{
/// <summary>
/// App.xaml 的交互逻辑
/// </summary>
public partial class App : Application, ISingleInstanceA... | 2.269813 | 978ab994a9202d5ee3b27a687fa5af49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91064 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "leeveel/RocketMQ.Client",
"max_stars_repo_path": "RocketMQ.Client/Exception/RemotingConnectException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91065"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RocketMQ.Client
{
public class RemotingConnectException : RemotingException
{
//private static readonly long serialVersionUID = -5565366231695911316L;
p... | 1.897271 | 148d550a8fdb961097d1acdf791da205 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91065 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "catcherwong-archive/2019",
"max_stars_repo_path": "04/ESDemo/ESDemo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91066"
} | starcoder | namespace ESDemo
{
using System;
using Nest;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
var client = GetClient();
// var indexDemo = new IndexDemo();
// indexDemo.IndexExists(clien... | 2.195154 | d114cdaf6d7c653584a3bfc909617caf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91066 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pdemian/CP77Tools",
"max_stars_repo_path": "CP77.Common/Audio/AudioconvWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91067"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using Catel.IoC;
using WolvenKit.Common.Model;
using WolvenKit.Common.Services;
namespace WolvenKit.Common.Tools.Audio
{
public enum EAudioExtension
{
wem,
ogg,
wav,
mp3,
... | 2.420342 | d006fd50cef21c553c24531dc4d8e667 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diegosm893/omnisharp-roslyn",
"max_stars_repo_path": "src/OmniSharp.Roslyn.CSharp/Services/Refactoring/V2/CodeActionsOrder.ProviderNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91068"
} | starcoder | <filename>src/OmniSharp.Roslyn.CSharp/Services/Refactoring/V2/CodeActionsOrder.ProviderNode.cs
// Adapted from ExtensionOrderer in Roslyn
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.Cod... | 2.382087 | 4309455ffc24b9f447419ed3beed6dc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rimac48/bertozzi.mattia.5H.Scaffolding",
"max_stars_repo_path": "Models/Aula.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91069"
} | starcoder | using System;
using System.Collections.Generic;
namespace bertozzi.mattia._5H.Scaffolding.Models
{
public partial class Aula
{
public long IdAula { get; set; }
public long? IdDocente { get; set; }
}
}
| 1.480812 | 8c793387b4a5f43072148134ad766467 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91069 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "dotbpe/dotbpe",
"max_stars_repo_path": "src/DotBPE.Rpc/Server/IServiceActorLocator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91070"
} | starcoder | <gh_stars>10-100
using Peach.Messaging;
using System;
using System.Collections.Generic;
using System.Text;
namespace DotBPE.Rpc.Server
{
/// <summary>
/// 服务定位器,实现者需要根据message中的内容,准确的找到具体的IServiceActor
/// </summary>
/// <typeparam name="TMessage"></typeparam>
public interface IServiceActorLocator<... | 1.878428 | e946f0e57d14bd3ca42cb92587621c6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91070 | {
"extension": "c-sharp",
"max_stars_count": "289.0",
"max_stars_repo_name": "michaelday008/AnyRPGCore",
"max_stars_repo_path": "Assets/AnyRPG/Core/System/Scripts/GameManager/DataFactory/FactoryDataAccess.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91071"
} | starcoder | using AnyRPG;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AnyRPG {
/// <summary>
/// allow us to query scriptable objects for equivalence by storing a template ID on all instantiated objects
/// </summary>
public class FactoryDataAccess {
... | 2.581646 | 815f0ad09233d0c8e55186c9f088f791 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jsauve/HGMF2018",
"max_stars_repo_path": "App/HGMF2018.Droid/PushNotifications/HGMFFirebaseMessagingService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91072"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.Media;
using Android.Util;
using Firebase.Messaging;
using HGMF2018.Core;
namespace HGMF2018.Droid
{
[Service]
[IntentFilter(new[] { "com.google.firebase.MESSAGING_EVENT" })]
... | 1.986426 | 3843d91d7a69ce7a657dd9fd6e751500 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DiyanLyubchev/BookManagementSystem",
"max_stars_repo_path": "BookManagementSystem/AutoMapperProfiles/BookProfiles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91073"
} | starcoder | <filename>BookManagementSystem/AutoMapperProfiles/BookProfiles.cs
using AutoMapper;
using BookManagementSystem.Data.Model;
using BookManagementSystem.Models;
using BookManagementSystem.Service.Dto;
namespace BookManagementSystem.AutoMapperProfiles
{
public class BookProfiles : Profile
{
public BookPro... | 1.795788 | ffee94c45ac5dbc3a92fdfb318ca598c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtebenev/mediafiles",
"max_stars_repo_path": "AppEngine.Video.Test/Comparison/VideoComparerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91074"
} | starcoder | <reponame>mtebenev/mediafiles<gh_stars>0
using System.Linq;
using AppEngine.Video.Comparison;
using Xunit;
namespace AppEngine.Video.Test.Comparison
{
public class VideoComparerTest
{
[Fact]
public void Compare_Identical_Imprints()
{
var data1 = Enumerable.Range(0, 100).Select(x => (byte)100).ToA... | 2.281068 | abdc92878825b4dc90b7019309fc50e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91074 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KostadinovK/CSharp-DB",
"max_stars_repo_path": "02-Entity Framework Core/04-Code-First/Homework/P01_HospitalDatabase/Data/DataValidation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91075"
} | starcoder | <reponame>KostadinovK/CSharp-DB<filename>02-Entity Framework Core/04-Code-First/Homework/P01_HospitalDatabase/Data/DataValidation.cs
namespace P01_HospitalDatabase.Data
{
using System;
using System.Collections.Generic;
using System.Text;
public static class DataValidation
{
public static c... | 2.519695 | a8fb0b4881281b1ff87fd2b381b6ef57 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91075 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "csprousers/SQLServer2CSpro",
"max_stars_repo_path": "SQLServer2Dictionary/DictionaryGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91076"
} | starcoder | <gh_stars>1-10
using CSPro.Dictionary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace SQLServer2Dictionary
{
/// <summary>
/// Generate CSPro data dictionary from SQL Server database
/// </... | 2.714211 | 139583d5a121b5aac85500810b3aeb9d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abbasmhd/ProxyR",
"max_stars_repo_path": "tests/Benchmark/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91077"
} | starcoder | using BenchmarkDotNet.Running;
using System;
namespace Benchmark
{
internal class Program
{
static void Main(string[] args)
{
var summary = BenchmarkRunner.Run(typeof(SqlUtilityBenchmark));
}
//static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeo... | 1.689254 | e2d6618f8d839504b827f2cafc3fc236 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91077 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "aurigma/PhotoKiosk",
"max_stars_repo_path": "ODS.Service/RulesEngine/Tasks/TempTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91078"
} | starcoder | <gh_stars>1-10
// Copyright (c) 2018 Aurigma Inc. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using System.IO;
namespace ODS.Service.RulesEngine.Tasks
{
public class TempTask : TaskBas... | 2.445952 | cf7a84554a28ae0a9b8ac1ab6ca2cebc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UmaRage/AbcBankCSharpInterview",
"max_stars_repo_path": "abc-bank/Customer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91079"
} | starcoder | using abc_bank.Account;
using abc_bank.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace abc_bank
{
public class Customer
{
private string name;
private List<IAccount> accounts;
public Customer(String name)
{
... | 3.317875 | a9ace435d32d302030a330e1b5d7a3d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Egaliterrier/Pandaros.Settlers",
"max_stars_repo_path": "Pandaros.Settlers/Pandaros.Settlers/Entities/ColonyState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91080"
} | starcoder | using Pandaros.Settlers.ColonyManagement;
using Pandaros.Settlers.Research;
using Pipliz.JSON;
using System;
using System.Collections.Generic;
namespace Pandaros.Settlers.Entities
{
[ModLoader.ModManager]
public class ColonyState
{
private static readonly Dictionary<Colony, ColonyState> _colonySta... | 2.01291 | 62f35d00048008d174759d61080b4391 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91080 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DragonSpark/Framework",
"max_stars_repo_path": "DragonSpark.Diagnostics/Logging/LoggerEnrichmentSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91081"
} | starcoder | using Serilog;
using Serilog.Configuration;
using DragonSpark.Model.Selection;
namespace DragonSpark.Diagnostics.Logging
{
sealed class LoggerEnrichmentSelector : Select<LoggerConfiguration, LoggerEnrichmentConfiguration>
{
public static LoggerEnrichmentSelector Default { get; } = new LoggerEnrichmentSelector();
... | 1.865759 | 406166fc44129f98c3f604df65b0c731 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91081 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KodamaSakuno/wpf",
"max_stars_repo_path": "src/Microsoft.DotNet.Wpf/src/Shared/MS/Internal/CulturePreservingExecutionContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91082"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
//
//
// Description: Wrapper for System.Threading.ExecutionContext that allows
// custom manage... | 2.565959 | 48a008ce71437b88aebcbc8b1723a80a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91082 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AliMecidzade/WebAppBlog",
"max_stars_repo_path": "WebAppBlog/BlogWeb/BlogWeb.WebUI/Areas/Admin/Models/CommentsReportViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91083"
} | starcoder | <filename>WebAppBlog/BlogWeb/BlogWeb.WebUI/Areas/Admin/Models/CommentsReportViewModel.cs
using BlogWeb.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BlogWeb.WebUI.Areas.Admin.Models
{
public class CommentsReportViewModel
{
}
} | 1.280872 | cb5629015a775590a09fe9d2a23cf4f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91083 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coxthepilot/vitasa",
"max_stars_repo_path": "vitasa_apps/vitavol/VC_SitesOnDateList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91084"
} | starcoder | <gh_stars>0
using Foundation;
using System;
using UIKit;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using zsquared;
namespace vitavol
{
public partial class VC_SitesOnDateList : UIViewController
{
// We get here to create a new signup, starting with t... | 2.012402 | a57daf02e2a9b3dd044b7265489a7faf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SlenderEmpire/CraftAI",
"max_stars_repo_path": "gate/Bost.Proto/Types/McTags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91085"
} | starcoder | <filename>gate/Bost.Proto/Types/McTags.cs
using Bost.Proto.Model;
using System;
namespace Bost.Proto.Types
{
public static class McTags
{
public static bool TryParse(ref byte[] buffer, out Tags result)
{
result = new Tags();
McVarint.TryParse(ref buffer, out int length);
result.Length = length;
res... | 2.486124 | 5a9cadcdb2e580380b547655c3d32f1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91085 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Abner37/Xamarin-Forms",
"max_stars_repo_path": "Projetos/AppJobSearch/JobSearch.API/DataBase/JobSearchContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91086"
} | starcoder | using JobSearch.Domain.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace JobSearch.API.DataBase
{
public class JobSearchContext : DbContext
{
public JobSearchContext(DbContextOptions<JobSearchContext>... | 1.89768 | 1c790a329ae2814165402adb78240513 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lubo-raykov/TelerikAcademy",
"max_stars_repo_path": "Loops/NotDiv_3_7/NotDiv_3_7.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91087"
} | starcoder | //Numbers Not Divisible by 3 and 7
//Write a program that enters from the console a positive integer n and prints all the numbers from 1 to n not divisible by 3 and 7, on a single line, separated by a space.
//Examples:
//n output
//3 1 2
//10 1 2 4 5 8 10
using System;
class NotDiv_3_7
{
static... | 4.100733 | 219b93062512d04b17f94f6aca18a419 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91087 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "wouldyougo/TRx",
"max_stars_repo_path": "TRL.Csharp.Test/Models/TradeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91088"
} | starcoder | <filename>TRL.Csharp.Test/Models/TradeTests.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TRL.Csharp.Models;
namespace TRL.Csharp.Test.Models
{
[TestClass]
public class TradeTests
{
[TestMethod]
public void Trade_constructor_test()
{
DateTim... | 2.721807 | d55ab4db0fea0a7b230743dffcf0efea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91088 | {
"extension": "c-sharp",
"max_stars_count": "432.0",
"max_stars_repo_name": "workabyte/PowerArgs",
"max_stars_repo_path": "PowerArgs/Hooks/ArgHook.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91089"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.ExceptionServices;
namespace PowerArgs
{
/// <summary>
/// Creates a hook from an action
/// </summary>
internal class SingleActionHook : ArgHook
{
// TODO - ... | 2.79297 | 370a91d7d87cd3da43027d4a184f1d9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91089 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aliagamon/UnityMVVM",
"max_stars_repo_path": "Unity-MVVM/Examples/Scripts/Model/DataModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91090"
} | starcoder | using System;
using UnityEngine;
using UnityMVVM.Model;
namespace UnityMVVM
{
namespace Examples
{
[Serializable]
public class DataModel : ModelBase
{
public string message;
public Color color;
}
}
}
| 1.538462 | e8ee0af0c55660e8c859b5756eaea735 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MSREnable/WpfPositioning",
"max_stars_repo_path": "WpfPositioning/MainWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91091"
} | starcoder | <reponame>MSREnable/WpfPositioning<gh_stars>0
using EyeXFramework;
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows;
using System.Windows.Forms;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Interop;
using System.Windows.Media;
namespace Wpf... | 2.393095 | 547b9d7deba867a4d29eb8f0dcb9e4df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91091 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "neocodejack/SalesAdminBurialPlots",
"max_stars_repo_path": "SalesAdminPortal/SalesAdminPortal/Views/Account/Login.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91092"
} | starcoder | <reponame>neocodejack/SalesAdminBurialPlots
@using SalesAdminPortal.Models
@model LoginViewModel
@{
ViewBag.Title = "Log in";
Layout = null;
string backgroundImage = string.Empty;
backgroundImage = "../Images/background.jpeg";
}
<!DOCTYPE html>
<html lang="en">
<head>
<title>@ViewBag.Title</t... | 1.698349 | e83301892384e887a75486e390aead29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "omar-bizreh/file-rename",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91093"
} | starcoder | using System;
using System.IO;
namespace FileRename
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Select Numbering sequence:");
Console.WriteLine("1. Odd (1,3,5 ... 99)");
Console.WriteLine("2. Even (2,4,6 ... 100)");
... | 3.410163 | bdafe0edec8fbd4591668afb6f33750f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91093 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SoftwareAG/cumulocity-clients-cs",
"max_stars_repo_path": "MicroservicesSDK/build-release.cake",
"provenance": "train-00000-of-00045.jsonl.gz:91094"
} | starcoder | <gh_stars>0
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var buildDir = Directory("./publish");
using Path = System.IO.Path;
using IO = System.IO;
using XML = System.Xml;
enum Version { Beta, Release, Hotfix };
string currentBranch;
string lastT... | 2.326062 | 625735e186a182b2592a529b2b26805e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91094 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Celinsci/dv-multiplayer-mod",
"max_stars_repo_path": "DVMultiplayer/Unity/Train/NetworkTrainSync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91095"
} | starcoder | <filename>DVMultiplayer/Unity/Train/NetworkTrainSync.cs
using DV.CabControls;
using DVMultiplayer;
using DVMultiplayer.DTO.Train;
using DVMultiplayer.Networking;
using System;
using System.Collections;
using UnityEngine;
internal class NetworkTrainSync : MonoBehaviour
{
public TrainCar loco;
public bool liste... | 1.556722 | 714f647ec6de17051073d4e9d765dd66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rarcz29/TcpMsg",
"max_stars_repo_path": "TcpMsg.Client/Connection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91096"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace TcpMsg.Client.Media
{
class Connection
{
private TcpClient _client = null;
private readonly Queue<byte[]> _newMessages = new Queue... | 2.973329 | d6e3f32c76f218d8a4dfef1ca5d9b589 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91096 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leonardolarrad/retoc",
"max_stars_repo_path": "Assets/Resources/Script/Aplicacion/Escena/EscenaCategoria.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91097"
} | starcoder | <reponame>leonardolarrad/retoc
using Rc.Aplicacion.Escena.Componentes;
using Rc.Datos.Modelo;
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Rc.Aplicacion.Escena
{
public class EscenaCategoria : EscenaBase, ISolicitarContinu... | 1.931162 | ba3c56df86c3d66921bf1dad32c9b949 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91097 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "bgiot/mqexplorerplus",
"max_stars_repo_path": "src/Dotc.MQExplorerPlus/Configuration/MessagesConfigElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91098"
} | starcoder | <gh_stars>1-10
#region copyright
//
// Copyright (c) DOT Consulting scrl. All rights reserved.
// Licensed under the provided EULA. See EULA file in the solution root for full license information.
//
#endregion
using System.Configuration;
using Dotc.MQExplorerPlus.Core.Models;
namespace Dotc.MQExplorerPlus.Conf... | 1.886033 | 7275ade3ed03e246f52a9ca83f21ab1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91098 | {
"extension": "c-sharp",
"max_stars_count": "113.0",
"max_stars_repo_name": "Skullman-G/dstools",
"max_stars_repo_path": "Components/MSBS/Regions/MSBSOtherRegion.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91099"
} | starcoder | <reponame>Skullman-G/dstools<gh_stars>100-1000
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SoulsFormats;
[AddComponentMenu("Sekiro/Regions/Other")]
public class MSBSOtherRegion : MSBSRegion
{
public void SetRegion(MSBS.Region.Other region)
{
setBaseRegion(regio... | 1.719914 | 1fd439d61b87558224df26763770e156 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91099 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "joshjohanning-org/Wolfringo-github-packages",
"max_stars_repo_path": "Wolfringo.Core/Socket/SocketSession.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91100"
} | starcoder | using Newtonsoft.Json;
namespace TehGM.Wolfringo.Socket
{
/// <summary>Represents Socket.IO session information.</summary>
public class SocketSession
{
/// <summary>Session ID.</summary>
[JsonProperty("sid")]
public string ID { get; private set; }
/// <summary>Interval at w... | 2.410786 | 41cf85ea44c9516bd1926b52fee6beef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91100 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chiepomme/NatTraversalTest",
"max_stars_repo_path": "NatTraversalTest/StunClient/IMappedAddressAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91101"
} | starcoder | using System;
using System.Net;
namespace StunTest
{
public interface IMappedAddressAttribute
{
IPAddress Address { get; }
UInt16 Port { get; }
}
// https://tools.ietf.org/html/rfc5389#section-15.1
public enum MappedAddressFamily : byte
{
IPv4 = 0x01,
IPv6 = 0x... | 2.311001 | 1a2e57ce4a8d3af38d8c9ef23ffff386 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91101 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afr741/careeers-temporary",
"max_stars_repo_path": "Assets/ResultItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91102"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
using TMPro;
public class ResultItem : MonoBehaviour
{
// Use this for initialization
JSONObject data;
public TextMeshProUGUI description_txt;
public TextMeshProUGUI title_txt;
... | 1.82199 | 986b33e057044f160656ad33af9a8636 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91102 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cloudextend/contrib-netsuite-servicemgr",
"max_stars_repo_path": "Celigo.SuiteTalk/src/SuiteTalk/Generated/PaymentInstrumentSearchAdvanced.gen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91103"
} | starcoder |
// Generator { Name: SearchAdvancedGenerator, Template: ISearchAdvanced }
using System;
namespace SuiteTalk
{
public partial class PaymentInstrumentSearchAdvanced: ISearchAdvanced, ISearchAdvanced<PaymentInstrumentSearch, PaymentInstrumentSearchRow>
{
SearchRecord ISearchAdvanced.GetCriteria() => thi... | 2.297068 | 6571fccc7646e609abcf5571f4974009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91103 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuckyLph/Tales-Of-Ascaria",
"max_stars_repo_path": "Assets/Scripts/Playmode/Tales Of Ascaria/Control/DoorController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91104"
} | starcoder | <filename>Assets/Scripts/Playmode/Tales Of Ascaria/Control/DoorController.cs
using UnityEngine;
using Harmony;
namespace TalesOfAscaria
{
public class DoorController : GameScript
{
private PlayerEnterZoneSensor playerEnterZoneSensor;
private SceneSwitcher sceneSwitcher;
private void Awake()
{
... | 2.21536 | 515462dcbab28ab58664601e559ccadf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91104 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "addixon/ErgCompetePM",
"max_stars_repo_path": "PM.BO/Exceptions/TKCSAFE_NULL_POINTER_TO_STRING_ERR.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91105"
} | starcoder | using System;
namespace PM.BO.Exceptions
{
public class TKCSAFE_NULL_POINTER_TO_STRING_ERR : Exception
{
private const string _message = "CSAFE null pointer to string in command..";
private const short Code = -10189;
public TKCSAFE_NULL_POINTER_TO_STRING_ERR() : base(_message) { }
public TKCSAFE_NULL_POIN... | 2.179019 | 2d70ec09f0ab07c169b964a53a737df8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91105 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "z1c0/devblog",
"max_stars_repo_path": "simple/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91106"
} | starcoder | @model IEnumerable<Post>
<h2 class="text-center">Blog Posts</h2>
<br>
<div class="row">
<div class="col-md-6">
<ul>
@foreach (var p in @Model.Take(3))
{
<li>
<a asp-route-controller="blog" asp-route-action="@p.Slug">@p.Title</a>
<span class="text-muted">@p.PublishDateString</span>... | 2.817934 | 0084c09ae6a4d13ff7d33e7df0667161 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91106 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nagahole/scope",
"max_stars_repo_path": "SCOPE/Assets/Scripts/Weapon System/Interfaces and Base Classes/IHitMissDeterminer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91107"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public interface IHitMissDeterminer
{
UnityEvent onHit { get; }
UnityEvent onMiss { get; }
}
public abstract class HitMissDeterminer : MonoBehaviour, IHitMissDeterminer {
[SerializeField] private Uni... | 2.574612 | 71d7c58ae79a5b662d1bd48f052a4407 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91107 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LordPrevious/TEABot",
"max_stars_repo_path": "TEABot/Twitch/TTwEmotes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91108"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TEABot.Twitch
{
/// <summary>
/// Message emote information.
/// An emote has an ID which is required to find its image on Twitch
/// and a name by which it is embed... | 3.069307 | 4bd8213204d2b48479ad73d6d510bf47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91108 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "astra-emsg/ASTRA.EMSG",
"max_stars_repo_path": "Master/ASTRA.EMSG.Web/Infrastructure/RouteValueCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91109"
} | starcoder | using System.Web;
using System.Web.Routing;
namespace ASTRA.EMSG.Web.Infrastructure
{
public static class RouteValueCollectionExtensions
{
public static RouteValueDictionary MergeFromRequest(this object routeValues, HttpRequestBase requestBase, params string[] valuesToCopy)
{
var re... | 2.208068 | f4229347ccf5d5a9536bd02871a5c4f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91109 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abharath27/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/StorSimple/Generated/ManagersOperationsExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91110"
} | starcoder | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.StorSimple.Fluent
... | 1.710939 | b9706409c9b55051e73b40615e58c65f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91110 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "communityus/MonoViewer",
"max_stars_repo_path": "LSLTools/Tools/ResWds.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91111"
} | starcoder | <reponame>communityus/MonoViewer
// Decompiled with JetBrains decompiler
// Type: Tools.ResWds
// Assembly: Tools, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 7664DE95-CB1F-45A9-9E49-805BE209CFAA
// Assembly location: F:\Developer\radegast\Radegast\assemblies\Tools.dll
using System.Collections;
na... | 1.922278 | 9c65284d8d2d7ea1131493fc42c4b380 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91111 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shirothin/Kbtter",
"max_stars_repo_path": "KbtterWPF/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91112"
} | starcoder | <filename>KbtterWPF/App.xaml.cs
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace KbtterWPF
{
/// <summary>
/// App.xaml の相互作用ロジック
/// </summary>
public partial class App : App... | 2.225283 | 2b14ff889bdbebef971dce9b68afde04 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndrewMJordan/micro-database",
"max_stars_repo_path": "MicroDatabase/Assets/MicroDatabase/Samples/Database Examples/PersonObjectManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91113"
} | starcoder | <filename>MicroDatabase/Assets/MicroDatabase/Samples/Database Examples/PersonObjectManager.cs
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Andtech.MicroDatabase {
public class PersonObjectManager : DatabaseCallbackTemplate<PersonSubsystem, PersonData> {
[SerializeField]
p... | 2.567494 | 4bd26dcfda2cc5667921c9dd247cf88b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91113 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "netsonicyxf/gh_sofistik",
"max_stars_repo_path": "gh_sofistik/src/assemblyLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91114"
} | starcoder | <reponame>netsonicyxf/gh_sofistik
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Grasshopper.Kernel;
namespace gh_sofistik
{
public class AssemblyLoader : GH_AssemblyPriority
{
public override GH_LoadingInstruction PriorityLoad()
... | 1.888482 | b3e50cb134a41a4dc2294589f4d3ad3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pioda/DesignPatterns",
"max_stars_repo_path": "DesignPatterns/Builder/CompositeBuilder/Garden.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91115"
} | starcoder | <filename>DesignPatterns/Builder/CompositeBuilder/Garden.cs
using System;
namespace Builder.CompositeBuilder
{
public class Garden
{
public double Area { get; set; }
public bool GardenHouse { get; set; } = false;
public bool GrillSpace { get; set; } = false;
public static Hous... | 2.793948 | 4d419c7dd51a65d49140dcf2d3d811ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91115 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hdefucom/HDF",
"max_stars_repo_path": "Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoftDotfuscate/GClass132.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91116"
} | starcoder | <reponame>hdefucom/HDF<gh_stars>1-10
using DCSoft.Writer.Dom;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace DCSoftDotfuscate
{
[ComVisible(false)]
public class GClass132
{
private bool bool_0 = false;
private MouseButtons mouseButtons_0 = MouseButtons.None;
private int int_0 = ... | 1.936285 | 6ce968e577d90d3b96b2c950f4d6f0e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91116 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Administration/Views/ScheduleTask/List.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:91117"
} | starcoder | <gh_stars>1-10
@model IList<ScheduleTaskModel>
@using Telerik.Web.Mvc.UI;
@using System.Linq;
@{
ViewBag.Title = T("Admin.System.ScheduleTasks").Text;
}
<div class="section-header">
<div class="title">
<i class="fa fa-clock-o"></i>
@T("Admin.System.ScheduleTasks")
</div>
</div>
<table class="ta... | 2.346601 | 06f2b28e42400c7b5a814005582963c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91117 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "buildium/Microsoft.Extensions.Configuration.VaultConfiguration",
"max_stars_repo_path": "src/VaultConfiguration/VaultPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91118"
} | starcoder | <filename>src/VaultConfiguration/VaultPath.cs
using System.Linq;
namespace Microsoft.Extensions.Configuration.VaultConfiguration {
public static class VaultPath {
public static readonly string PathDelimiter = "/";
public static string Combine(params string[] segments) {
return string... | 2.864808 | c54d1f1c991d293e4f75e194e937bc9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91118 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stoolball-england/stoolball-org-uk",
"max_stars_repo_path": "Stoolball.Web/Teams/TeamsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91119"
} | starcoder | <reponame>stoolball-england/stoolball-org-uk
using System.Collections.Generic;
using Stoolball.Teams;
using Stoolball.Web.Routing;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.Services;
namespace Stoolball.Web.Teams
{
public class TeamsViewModel : BaseViewModel
{
public Tea... | 1.482497 | ac3a335ae46ed8818bd3ef003d3e8419 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91119 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bartizo12/ASAdmin",
"max_stars_repo_path": "src/AS.Infrastructure.Tests/Settings/SettingManagerTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91120"
} | starcoder | using AS.Domain.Entities;
using AS.Domain.Settings;
using AS.Infrastructure.Reflection;
using Moq;
using System.Collections.Generic;
using Xunit;
namespace AS.Infrastructure.Tests.Settings
{
public class SettingManagerTest
{
[Fact]
public void SettingManager_Should_Get_Container_Correctly_Load... | 2.594527 | 3e278c5e2dfccb9790c4665aca2546dd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91120 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lantis-of-china/UnityFramework",
"max_stars_repo_path": "ClientFramework/HotFixLogic/HotFixLogic/FrameWork/DllFrameWork/GameScript/GameProject/ScriptProject/SingleMoba/Msg/MsgDefine/SingleMoba/SC_HitSkill.cs",
"provenance": "train-000... | starcoder | // 此文件由协议导出插件自动生成
// ID : 00000]
//****技能命中****
using System;
using System.Collections.Generic;
using System.IO;
using BaseDataAttribute;
using Server;
using SingleMoba;
namespace SingleMoba{
/// <summary>
///技能命中
/// <\summary>
public class SC_HitSkill : LantisBitProtocolBase {
/// <summary>
///
/// <\s... | 2.147727 | 09e5a8e6d1b02963c58e9791ae969bac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91121 | {
"extension": "c-sharp",
"max_stars_count": "778.0",
"max_stars_repo_name": "jeroen-mostert/CodeContracts",
"max_stars_repo_path": "Microsoft.Research/Contracts/System/System.Net.NetworkInformation.MulticastIPAddressInformation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91122"
} | starcoder | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | 2.124007 | cfadade84301e96d7301cb1489f30d98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "affecto/dotnet-AuditTrailService",
"max_stars_repo_path": "SharedFiles/SharedAssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91123"
} | starcoder | <gh_stars>0
using System.Reflection;
[assembly: AssemblyCompany("Affecto")]
[assembly: AssemblyVersion("3.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
// This version is used by NuGet:
[assembly: AssemblyInformationalVersion("3.0.0")] | 1.154539 | 4910200097d34a15b5444f24a8e4349b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91123 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ThomasMentzel/NEdifis",
"max_stars_repo_path": "NEdifis/Conventions/ExcludeFromCodeCoverageClassHasBecauseAttribute_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91124"
} | starcoder | using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using NEdifis.Attributes;
using NUnit.Framework;
namespace NEdifis.Conventions
{
[TestFixtureFor(typeof(ExcludeFromCodeCoverageClassHasBecauseAttribute))]
// ReSharper disable InconsistentNaming
internal class ExcludeFromCodeCoverageClassHasBec... | 2.429035 | b86b0b2c540a3ebde252714bed952e31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ngagnon/Pocosearch",
"max_stars_repo_path": "Pocosearch/DocumentIdAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91125"
} | starcoder | using System;
namespace Pocosearch
{
///
/// Supported document ID types:
/// Guid, int, long, string
///
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class DocumentIdAttribute : Attribute
{
}
} | 2.012249 | 5db3557f70913ed0e6e94e2be6d54cdc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91125 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GrapeCity/pagefx",
"max_stars_repo_path": "tests/Simple/CSharp/Bugs/4.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91126"
} | starcoder | <filename>tests/Simple/CSharp/Bugs/4.cs
using System;
using System.Collections;
using System.Linq;
internal class Test
{
static void Test1()
{
Console.WriteLine("--- Test1");
object[] data = new object[] { 1, 2, 3 };
try
{
var e = data.Cast<IEnumerab... | 2.729072 | 7b8f095d46bf8b30cf32f89bec4ab29d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91126 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rodoch/Schematic.Core.Mvc",
"max_stars_repo_path": "src/Data/UserErrorMessages.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91127"
} | starcoder | namespace Schematic.Core.Mvc
{
public static class UserErrorMessages
{
public const string InvalidEmail = "The e-mail address supplied was not a valid e-mail address";
public const string DuplicateUser = "A user with the same e-mail address already exists";
public const string TwoPasswor... | 2.33043 | 1c24a589034745f652a866eeecd88ac7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuizMarcello/App_GridLayout1",
"max_stars_repo_path": "App_GridLayout1/App_GridLayout1/App_GridLayout1/GridPage1.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91128"
} | starcoder | <reponame>LuizMarcello/App_GridLayout1<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace App_GridLayout1
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial cla... | 2.655506 | 17f423be9a48bd538574b76347a9dd0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91128 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "mattleibow/catj",
"max_stars_repo_path": "catj/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91129"
} | starcoder | using System;
using System.IO;
using Newtonsoft.Json.Linq;
namespace catj
{
public class Program
{
public static int Main(string[] args)
{
var input = string.Empty;
if (args.Length >= 1)
{
var file = args[0];
if (!File.Exists... | 3.329793 | 9822d377ca7ce5ab29ead6d5a7a4e2f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghasghaseprateek/SolidPrinciples",
"max_stars_repo_path": "SingleResponsibilityPrinciple/Incorrect/Start.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91130"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace SingleResponsibilityPrinciple_1.Incorrect
{
public class Start
{
public static void StartApplication()
{
Console.WriteLine("Incorrect");
Console.WriteLine();
Customer customer = new... | 3.311104 | 860c84c504db0d37d39d670c3cbb6e88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91130 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AzeeSoft/HistoryTrek-GameCamp-Dev",
"max_stars_repo_path": "Assets/Nate/DropoffObjects.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91131"
} | starcoder | <filename>Assets/Nate/DropoffObjects.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DropoffObjects : MonoBehaviour {
public string acceptedObj;
public GameObject Obj;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void... | 1.504823 | d9506ba6bf7c85f5cf7b17948eba025b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bsakizli/bulutfon.dotNet-API",
"max_stars_repo_path": "Bulutfon.Api/Models/ResponseObjects/DidResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91132"
} | starcoder | <reponame>bsakizli/bulutfon.dotNet-API
namespace Bulutfon.Sdk.Models.ResponseObjects
{
/// <summary>
/// Santralde kullanılan telefon numaraları hakkında bilgiler
/// GET /dids/:id.json
/// </summary>
public class DidResponse
{
public Did did { get; set; }
}
} | 1.502244 | 007452f4d48673a8e2a8cae358006f80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sparxsystems/krino",
"max_stars_repo_path": "src/Krino/Krino.Domain.ConstructiveAdpositionalGrammar.Tests/LinguisticConstructions/MorphemeRuleTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91133"
} | starcoder | <filename>src/Krino/Krino.Domain.ConstructiveAdpositionalGrammar.Tests/LinguisticConstructions/MorphemeRuleTest.cs
using Krino.Domain.ConstructiveAdpositionalGrammar.LinguisticConstructions.Rules;
using Krino.Domain.ConstructiveAdpositionalGrammar.Morphemes;
using Krino.Domain.EnglishGrammar.Morphemes;
using Krino.... | 2.286044 | 7c0ad56b1fa42f39187776af6056e219 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91133 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bricelam/NetTopologySuite.IO.SqlServerBytes",
"max_stars_repo_path": "src/NetTopologySuite.IO.SqlServerBytes/Properties/Resources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91134"
} | starcoder | <filename>src/NetTopologySuite.IO.SqlServerBytes/Properties/Resources.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect beha... | 1.995068 | 4811f7eb149499edc165c60a12503ada |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91134 | {
"extension": "c-sharp",
"max_stars_count": "650.0",
"max_stars_repo_name": "dariabokareva/vk",
"max_stars_repo_path": "VkNet/Model/RequestParams/Notes/NotesCreateCommentParams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91135"
} | starcoder | using System;
using Newtonsoft.Json;
namespace VkNet.Model.RequestParams.Notes
{
/// <summary>
/// Notes Create Comment Params
/// </summary>
[Serializable]
public class NotesCreateCommentParams
{
/// <summary>
/// Идентификатор заметки.
/// </summary>
[JsonProperty("note_id")]
public long? NoteId { g... | 2.556181 | 331bd9b9d72684dd1e8b0e908f315b20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AmpScm/AmpParser",
"max_stars_repo_path": "src/AmpSqlParser/SqlParseError.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91136"
} | starcoder | <filename>src/AmpSqlParser/SqlParseError.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Amp.Parser;
using Amp.Tokenizer;
namespace Amp.SqlParser
{
public class SqlParseError : AmpElement<SqlKind>
{
public SqlParseError()
{
IsError = tru... | 2.229705 | 2fe069e6c93339096d3696a947ad4865 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91136 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "SPDEVGUY/Multi-device-network-controller",
"max_stars_repo_path": "NetworkController.Plugin.Keyboard/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91137"
} | starcoder | namespace NetworkController.Plugin.Keyboard
{
public class Constants
{
public const string ProviderName = "Keyboard";
}
}
| 1.192698 | 0bff20702dc4392463da6b8e87c22857 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91137 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "blueinsert/Unity3DStudy",
"max_stars_repo_path": "EditorExtension/Slate/SlateDemo/Assets/ParadoxNotion/SLATE Cinematic Sequencer/Directables/Clips/Runtime/ActionTrack/ActorActions/Events/SendMessageObject.cs",
"provenance": "train-00... | starcoder | namespace Slate.ActionClips
{
public class SendMessageObject : SendMessage<UnityEngine.Object> { }
} | 0.993958 | 37f759036b1ce8c6d97dfd8a957784a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91138 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sponticelli/LiteNinja-ScriptableObjectArchitecture",
"max_stars_repo_path": "Runtime/Listeners/Vector3EventListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91139"
} | starcoder | using UnityEngine;
namespace com.liteninja.soa.Listeners
{
[AddComponentMenu(
SOAConsts.MenuNameBase + "/Listeners/Vector3 Listener",
SOAConsts.MenuOrderUnityPrimitiveEvent + 1
)]
public class Vector3EventListener : AEventListener<Vector3>
{
}
} | 1.362345 | fc15fdde39c4a9f113a874b7cb582b55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91139 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xknife-erian/nknife.jeelusrc",
"max_stars_repo_path": "NKnife.App.WebsiteBuilder/SimplusD/Client/Win/Common/CustomControls/TreeView/TmpltTreeNode/TmpltBaseTreeNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91140"
} | starcoder | <reponame>xknife-erian/nknife.jeelusrc<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Drawing;
using System.ComponentModel;
using System.IO;
using System.Xml;
namespace Jeelu.SimplusD.Client.Win
{
[ResReader(false)]
... | 2.041514 | bcbba218a6574048e02d21ac567d67ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkPThomas/MPT.Net",
"max_stars_repo_path": "MPT/CSI/API/MPT.CSI.OOAPI/Core/Helpers/ApiPropertyObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91141"
} | starcoder | // ***********************************************************************
// Assembly : MPT.CSI.OOAPI
// Author : <NAME>
// Created : 12-16-2018
//
// Last Modified By : <NAME>
// Last Modified On : 12-16-2018
// ***********************************************************************
// <co... | 2.691918 | e48b4bc54612227e61c7700fc4f978c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91141 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GiGong/Memories",
"max_stars_repo_path": "Memories/Memories.Core/Controls/MMDialogWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91142"
} | starcoder | <gh_stars>1-10
using Prism.Services.Dialogs;
namespace Memories.Core.Controls
{
/// <summary>
/// Interaction logic for MMDialogWindow.xaml
/// </summary>
public partial class MMDialogWindow : IDialogWindow
{
public IDialogResult Result { get; set; }
public MMDialogWindow()
... | 1.297496 | 61aae87cc4f49a4e1211da0a4c7b0083 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JasonMing/NCommons",
"max_stars_repo_path": "tests/Nextension.Tests/DictionaryExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91143"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using Xunit;
namespace Nextension
{
public class DictionaryExtensionsTests
{
[Fact]
public void AsSafeDictionary()
{
var source = new Dictionary<String, String>();
var safeDictionary = source.AsSafeDictionary();
Assert.Empty(... | 2.882715 | 0a635536f7b22cf7ace06e314bf000fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91143 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "electrifier/electrifier",
"max_stars_repo_path": "src/electrifier.Core/Forms/ApplicationWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91144"
} | starcoder | /*
**
** electrifier
**
** Copyright 2017-19 <NAME>, www.electrifier.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
... | 1.701804 | c76ff220e945dbe032e5a43ec980961f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabriellyBailon/CursoCSharp",
"max_stars_repo_path": "Capitulo 11/Exemplo002_Pratico/Exemplo002_Pratico/Entities/Exceptions/DomainException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91145"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Exemplo002_Pratico.Entities.Exceptions
{
//Exceção de domínio
class DomainException : ApplicationException
{
public DomainException(string message) : base(message)
{
}
}
}
| 2.060799 | 47b277ea4fac32254e45798b3f6b78e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoanStark/BrackeysJam2021",
"max_stars_repo_path": "SpaceTogether/Assets/Scripts/Actes/ActFour.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91146"
} | starcoder | <filename>SpaceTogether/Assets/Scripts/Actes/ActFour.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ActFour : MonoBehaviour
{
public void SittingDown()
{
gameObject.GetComponent<Animator>().SetBool("Seetting", true);
this.transform.position = new... | 2.017791 | 6157b85b1b38ad2b95af8a8946abd7cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikkoTKaipainen/backend",
"max_stars_repo_path": "WebApiBank/WebApiBank/WebApiBank/Services/IBankService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91147"
} | starcoder | <reponame>MikkoTKaipainen/backend<filename>WebApiBank/WebApiBank/WebApiBank/Services/IBankService.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApiBank.Models;
namespace WebApiBank.Services
{
public interface IBankService
{
Bank... | 1.893882 | a3cb326b7de551db4d5fd3b5267e0579 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ketanjawahire/FacebookClient.Entities",
"max_stars_repo_path": "Facebook.ApiClient.Entities/Enumerations/VideoProcessingStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91148"
} | starcoder | namespace Facebook.ApiClient.Entities.Enumerations
{
/// <summary>
/// Status of a video
/// </summary>
public enum VideoProcessingStatus
{
/// <summary>
/// ready
/// </summary>
ready,
/// <summary>
/// processing
/// </summary>
proc... | 2.060849 | ac90923d0f0e584740644a1eae703fb0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zaslavskayaeg/csharp_training",
"max_stars_repo_path": "mantis-tests/mantis-tests/tests/ProgectCreationsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91149"
} | starcoder | <filename>mantis-tests/mantis-tests/tests/ProgectCreationsTests.cs
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Collections.Generic;
using NUnit.Framework;
namespace mantis_tests
{
[TestFixture]
public class ProgectCreateonTests :... | 2.165578 | c9018bbc991e32e7bc3b7923babff77d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91149 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "igor-tkachev/ReflectionExtensions",
"max_stars_repo_path": "ReflectionExtensions/Patterns/DuckTyping.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91150"
} | starcoder | #if !NETCOREAPP1_0 && !NETCOREAPP1_1 && !NETSTANDARD1_0 && !NETSTANDARD1_1 && !NETSTANDARD1_2 && !NETSTANDARD1_3 && !NETSTANDARD1_4 && !NETSTANDARD1_5 && !NETSTANDARD1_6 && !NETSTANDARD2_0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using JetBrains.Annotations;
namespace ReflectionExte... | 2.670162 | ee2ede07d8f46954e87cef3854998358 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlackLambert/knowdes",
"max_stars_repo_path": "Knowdes Project/Assets/Scripts/Search/SearchFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91151"
} | starcoder | <filename>Knowdes Project/Assets/Scripts/Search/SearchFilter.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Knowdes
{
public class SearchFilter
{
public string SearchQuerry { get; private set; }
public List<string> SearchTerms { get; } =... | 2.416492 | cc4b9fd14292257148037bba8bb9767a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91151 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qbit86/ubiquitous-graphs",
"max_stars_repo_path": "src/Arborescence.Primitives/Primitives/ThrowHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91152"
} | starcoder | namespace Arborescence.Primitives
{
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
// https://github.com/dotnet/runtime/blob/master/src/libraries/System.Private.CoreLib/src/System/ThrowHelper.cs
internal static class Throw... | 2.672572 | b5bfeffefd102e0d0e3a966923e57a48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mtscout6/StoryTeller2",
"max_stars_repo_path": "src/StoryTeller/CommandLine/RunInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91153"
} | starcoder | using System.ComponentModel;
using FubuCore;
using StoryTeller.Workspace;
using FileSystem = FubuCore.FileSystem;
namespace StoryTeller.CommandLine
{
public class RunInput
{
[Description("Path to the StoryTeller project file or the project directory")]
public string Path { get; set; }... | 2.368002 | a067dd9fdec05f1d9ce7901cf5bc4c02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidNightinga1e/Simba",
"max_stars_repo_path": "Assets/Runtime/System/SystemRunner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91154"
} | starcoder | using System;
using System.Collections.Generic;
namespace Simba
{
public abstract class SystemRunner : SimbaComponent
{
protected abstract List<ISystem> Systems { get; }
private readonly List<IAwakeSystem> _awakeSystems = new List<IAwakeSystem>();
private readonly List<IStartSystem> _s... | 2.876101 | 80344aaef5cb617145010d02032e5779 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91154 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "pulumi/pulumi-spotinst",
"max_stars_repo_path": "sdk/dotnet/Aws/Inputs/ElastigroupMultaiTargetSetGetArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91155"
} | starcoder | <gh_stars>1-10
// *** 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.Serial... | 0.913172 | cabdd0572871553143eb94af027c44eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Damakshn/AlphaTest",
"max_stars_repo_path": "src/AlphaTest.Application/UseCases/Tests/Commands/AddQuestion/AddQuestionWithNumericAnswerUseCaseHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91156"
} | starcoder | using AlphaTest.Core.Tests;
using AlphaTest.Core.Tests.Questions;
using AlphaTest.Application.DataAccess.EF.Abstractions;
namespace AlphaTest.Application.UseCases.Tests.Commands.AddQuestion
{
public class AddQuestionWithNumericAnswerUseCaseHandler : AddQuestionUseCaseHandler<AddQuestionWithNumericAnswerUseCaseReq... | 2.231986 | b0466a5cd1e56855c1bdfa6776c50e76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91156 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "PacktPublishing/Unity-5.x-Animation-Cookbook",
"max_stars_repo_path": "Assets/Chapter 09/Recipe 03/Scripts/SpawnFracturedObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91157"
} | starcoder | using UnityEngine;
using System.Collections;
public class SpawnFracturedObject : MonoBehaviour {
public GameObject fracturedObjectPrefab;
Rigidbody rb;
Vector3 lastRigidBodyVelocity;
void OnCollisionEnter(Collision col)
{
//We fracture our game object on collision
Fracture();
... | 2.640303 | 53cd80021f94552acdd1ec584d1acd44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lurienanofab/sselindreports",
"max_stars_repo_path": "sselIndReports.AppCode/BLL/ToolBillingBL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91158"
} | starcoder | <reponame>lurienanofab/sselindreports<filename>sselIndReports.AppCode/BLL/ToolBillingBL.cs
using LNF;
using LNF.Billing;
using LNF.Data;
using sselIndReports.AppCode.DAL;
using System;
using System.Data;
using System.Linq;
using System.Web;
namespace sselIndReports.AppCode.BLL
{
public static class ToolBillingBL
... | 2.222684 | 3502db608259cd50e9acd802461e7584 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skowronek/googlesyncmod",
"max_stars_repo_path": "UnitTests/SyncContactsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91159"
} | starcoder | <filename>UnitTests/SyncContactsTests.cs<gh_stars>0
using System;
using NUnit.Framework;
using Google.GData.Contacts;
using Outlook = Microsoft.Office.Interop.Outlook;
using System.IO;
using System.Drawing;
using System.Configuration;
using Google.Contacts;
using Google.GData.Client;
using System.Runtime.InteropService... | 2.214727 | d7d8a80a8e59c544d123bb3d78dad231 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91159 | {
"extension": "c-sharp",
"max_stars_count": "2271.0",
"max_stars_repo_name": "szlatkow/AttackSurfaceAnalyzer",
"max_stars_repo_path": "Lib/Objects/DriverObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91160"
} | starcoder | <reponame>szlatkow/AttackSurfaceAnalyzer
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.
using Microsoft.CST.AttackSurfaceAnalyzer.Types;
using System;
using System.Collections.Generic;
namespace Microsoft.CST.AttackSurfaceAnalyzer.Objects
{
public class DriverObject :... | 0.986566 | 0f44662988f09d4e328b9f7061cda383 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 91160 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "PacktPublishing/Unity-Artificial-Intelligence-Programming-5th-Edition-",
"max_stars_repo_path": "Chapter02/Assets/Scripts/Misc/PlayerTankController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:91161"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.Serialization;
public class PlayerTankController : MonoBehaviour {
public GameObject bullet;
public GameObject turret;
public GameObject bulletSpawnPoint;
public float curSpeed, targetSpeed;
public float rotSpeed = 150.0f;
public fl... | 2.354949 | b1ec845db62d3fb5fa21570e289cfcec |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.