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 | 8815418 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "brjohnstmsft/azure-sdk-tools",
"max_stars_repo_path": "src/Common/Commands.Common/Authentication/AadAuthenticationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134638"
} | starcoder | <reponame>brjohnstmsft/azure-sdk-tools
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtai... | 1.866566 | d79bb4577b6edb959b9bc4d109b41e8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815419 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "FreezeSoul/Practical.NET",
"max_stars_repo_path": "examples/CSharpFundamentals/Switching/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134639"
} | starcoder | <gh_stars>100-1000
using System;
namespace Switching
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(GetDiscount(DateTime.Now));
Console.WriteLine(GetDiscount1(DateTime.Now));
Console.WriteLine(GetDiscount2(DateTime.Now));
C... | 3.58471 | 6bd23c4d60594f52b3805bf819314234 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AdamHupa/Unified-Work-Solution-.net",
"max_stars_repo_path": "ServiceLibrary/Properties/Settings.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134640"
} | starcoder | <filename>ServiceLibrary/Properties/Settings.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
... | 1.986736 | 014e52395cd59567c700f59ee6ec6200 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815421 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MachoBrizzin/Anki.Vector.SDK",
"max_stars_repo_path": "Anki.Vector/Events/StimulationInfoEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134641"
} | starcoder | <reponame>MachoBrizzin/Anki.Vector.SDK<gh_stars>1-10
// <copyright file="StimulationInfoEventArgs.cs" company="<NAME>">
// Copyright (c) 2019 <NAME>. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
namespace Anki.Vector.Events
{
/// <summary>
/// Ve... | 2.404713 | 4d41c112b6e3d2756fe15432c5483e69 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "swDill/PacManProject",
"max_stars_repo_path": "Photon Server/src-server/Photon.Common/LoadBalancer/Configuration/ConfigurationLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134642"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConfigurationLoader.cs" company="Exit Games GmbH">
// Copyright (c) Exit Games GmbH. All rights reserved.
// </copyright>
// <summary>
//
// </summary>
// ------------------... | 2.296205 | 5c4ea0c5999ffd49ff8657f2ef37cd7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815423 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OdeToCode/biggy",
"max_stars_repo_path": "Biggy/Attributes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134643"
} | starcoder | <reponame>OdeToCode/biggy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Biggy {
public class FullTextAttribute : Attribute { }
public class PrimaryKeyAttribute : Attribute {
public bool IsAutoIncrementing { get; private set; }
... | 2.194204 | 5f4b2e815e45004710239eafbae5bce2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wujianhua2000/Code.Learning.aus.Internet",
"max_stars_repo_path": "C#-Forms/002-VisualizationChart/TestChart/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134644"
} | starcoder | <filename>C#-Forms/002-VisualizationChart/TestChart/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Windows.Forms.DataVisualization.Charting;
... | 2.695354 | 5096cb41cfe427a5ff903e15aba1feb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emrecakmak77/OOPS",
"max_stars_repo_path": "OOPS.DTO/Employee/PaymentDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134645"
} | starcoder | <reponame>emrecakmak77/OOPS
using System;
using System.Collections.Generic;
using System.Text;
namespace OOPS.DTO.Employee
{
public class PaymentDTO
{
public int Id { get; set; }
public int EmployeeId { get; set; }
public string Amount { get; set; }
public DateTime PaymentDate ... | 1.870675 | e6bda67867c2550f967afa446fd54e28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igtampe/Switchboard",
"max_stars_repo_path": "Server/Forms/ServerSettingsForm.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134646"
} | starcoder | <gh_stars>0
namespace Igtampe.Switchboard.Server.Forms {
partial class ServerSettingsForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 1.372435 | 6600aa031fd7ecf2ac204eb47b526cf1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815427 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jakemoves/cohort-unity-client-demo",
"max_stars_repo_path": "Assets/CohortUnityClient/Scripts/CHMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134647"
} | starcoder | // Copyright <NAME>, 2019
// Released under the MIT License (see /LICENSE)
using System;
using System.Collections.Generic;
namespace Cohort {
[Serializable]
public class CHMessage {
public List<string> targetTags;
public MediaDomain mediaDomain;
public double cueNumber;
publ... | 2.600693 | 374415bc0d6e97af70ca319714120992 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815428 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AndrewFreemantle/os-photo",
"max_stars_repo_path": "OSPhoto.Services.Tests/AlbumServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134648"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using NUnit.Framework;
using OSPhoto.Services.Exceptions;
using OSPhoto.Services.Interfaces;
namespace OSPhoto.Services.Tests
{
/// <summary>
/// AlbumService Tests
/// <remarks... | 2.65645 | 8e6d251143818a511f8676352a6e4b39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dz4va/pixel-sandbox",
"max_stars_repo_path": "pixel-sandbox/Assets/Source/Cell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134649"
} | starcoder | using UnityEngine;
using NaughtyAttributes;
using System.Collections.Generic;
using System;
public enum MatterState {
Solid, Liquid, Gas, Plasma, BoseEinsteinCondensate
}
[CreateAssetMenu(fileName = "New Cell")]
public class Cell : ScriptableObject {
public string Name;
public Color32 Color;
public M... | 2.413141 | e59e4e53452a06880d0b2be80d0880d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmayhak/HyperSlackers.Bootstrap",
"max_stars_repo_path": "Bootstrap/TextBox/TypeAhead.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134650"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Web.Mvc;
using System.Diagnostics.Contracts;
using HyperSlackers.Bootstrap.Extensions;
namespace HyperSlackers.Bootstrap
{
public class TypeAhead
{
internal ActionResult result;
internal Task<A... | 2.542197 | 4f8ad9aa772d5414606d20211658949c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KyusangCho/UploadApp",
"max_stars_repo_path": "UploadApp.Models.Tests/UploadRepositoryAsyncTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134651"
} | starcoder | <reponame>KyusangCho/UploadApp<gh_stars>0
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Threading.Tasks;
using UploadApp.Models.BUploads;
namespa... | 2.504621 | 15ec07fc9688b8a815891855c4ccbcce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WinterStudios/U-System",
"max_stars_repo_path": "U-System.Core/Core.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134652"
} | starcoder | <filename>U-System.Core/Core.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using U_System;
using U_System.Core.Extensions;
using U_System.Core.Plugins;
using U_System.Core.UX;
using U_System.Debug;
using U_System.UX;
name... | 2.084971 | b430fe346277113751df98b0a9e7c414 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aukgit/StoreManament",
"max_stars_repo_path": "JustFood/Modules/Cache/CacheProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134653"
} | starcoder | <gh_stars>0
using System;
using System.Globalization;
using System.Web;
using System.Web.Caching;
using System.IO;
namespace JustFood.Modules.Cache {
/// <summary>
/// Default Sliding 2 Hours
/// Default Expiration 5 Hours
/// </summary>
public class CacheProcessor {
readonly string Cache... | 2.459537 | 706828a7045a39f3bdc83d9f6031cc7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815434 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "southernwind/MediaBox",
"max_stars_repo_path": "Tests/MediaBox.Tests/Views/Album/AlbumViewPanelTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134654"
} | starcoder | <gh_stars>1-10
using SandBeige.MediaBox.Views.Album;
namespace SandBeige.MediaBox.Tests.Views.Album {
internal class AlbumViewPanelTest : ViewTestClassBase<AlbumViewPanel> {
}
}
| 0.627386 | e3086435c1cd66ed894a2f7a93140df1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thaihoc2/bugnet",
"max_stars_repo_path": "src/Library/Providers/DataProviders/SqlDataProvider/SqlDataProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134655"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Configuration.Provider;
using System.Data;
using System.Data.SqlClient;
using BugNET.Common;
using BugNET.DAL;
using BugNET.Entities;
using log4net;
using Permission = BugNET.Entit... | 1.986488 | a8bc57002c27fa19188847758eb6aaab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WisemanIka/IdentityServer",
"max_stars_repo_path": "Fox.Provider/Configurations/AutoMapper/ProviderMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134656"
} | starcoder | using System;
using AutoMapper;
using Fox.Common.Extensions;
using Fox.Provider.Models;
using Fox.Provider.Models.ViewModels.Provider;
namespace Fox.Provider.Configurations.AutoMapper
{
public class ProviderMapping : Profile
{
public ProviderMapping()
{
CreateMap<CreateProviderRequ... | 1.763201 | c023baca24f3db32c2b20103330d385f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815437 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "502931221/SCF",
"max_stars_repo_path": "src/Senparc.Core/Models/DataBaseModel/Mapping/AccountPayLogConfigurationMapping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134657"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Senparc.Scf.Core.Models.DataBaseModel;
namespace Senparc.Core.Models
{
public class AccountPayLogConfigurationMapping : ConfigurationMappingWithIdBase<AccountPayLog, int>
{
public void Configure(EntityType... | 1.833079 | 8c58759fbc3cd4c2b2ba5e829d8cce55 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815438 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jimlofgren/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Tests/CoreThings/CallContextTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134658"
} | starcoder | using System.Runtime.Remoting.Messaging;
using NUnit.Framework;
using Umbraco.Core;
namespace Umbraco.Tests.CoreThings
{
[TestFixture]
public class CallContextTests
{
private static bool _first;
static CallContextTests()
{
SafeCallContext.Register(() =>
{
... | 2.3229 | 9e4f71d11c254683983c4cc40c4a87b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/roslyn",
"max_stars_repo_path": "src/Compilers/Core/Portable/Syntax/TranslationSyntaxReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134659"
} | 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.
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnaly... | 2.557116 | fb4868160056e403161b99d67ce2104a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815440 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moljac/mobileapp",
"max_stars_repo_path": "Toggl.iOS.Shared/Models/TimeEntry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134660"
} | starcoder | <filename>Toggl.iOS.Shared/Models/TimeEntry.cs
using System;
using System.Collections.Generic;
using Toggl.Shared;
using Toggl.Shared.Models;
namespace Toggl.iOS.Shared.Models
{
public class TimeEntry : ITimeEntry
{
public long WorkspaceId { get; }
public long? ProjectId { get; }
publi... | 2.274673 | 0d453b06a06b9cead25533de15b5374a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815441 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/das-poc-matching",
"max_stars_repo_path": "sfa.poc.matching.search.azure/sfa.poc.matching.search.azure.application/Entities/IndexedCourse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134661"
} | starcoder | using System;
using System.Diagnostics;
namespace sfa.poc.matching.search.azure.application.Entities
{
[DebuggerDisplay("{" + nameof(DebuggerDisplay) + ", nq}")]
public class IndexedCourse
{
public string Id { get; set; }
public string Name { get; set; }
public string Description... | 2.530203 | 5f0f70ad14d2204fd3db3a3ea747b6ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tazmanrising/IntiotgAngular",
"max_stars_repo_path": "Companies/Calibrus/sparkportal/DataAccess/Infrastructure/Utility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134662"
} | starcoder | <filename>Companies/Calibrus/sparkportal/DataAccess/Infrastructure/Utility.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// ... | 2.13699 | c657462a79617e0abf19d2ff0842f880 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815443 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TotalJTM/PrimitierModdingFramework",
"max_stars_repo_path": "Dumps/PrimitierDumpV1.0.1/Newtonsoft/Json/Converters/IXmlNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134663"
} | starcoder | /*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runt... | 1.602745 | 4c329ae2fdd490a7a44fcfc026d0810a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "project2bois/Project2",
"max_stars_repo_path": "SocialMediaApp/DataAccess/Repositories/CommentRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134664"
} | starcoder | <filename>SocialMediaApp/DataAccess/Repositories/CommentRepository.cs
using DataAccess.Entities;
using Library.Interfaces;
using Library.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DataAccess.Repositories
{
public class CommentRepository : ICommentReposito... | 2.857737 | db1dc16c3c8e4f3eed81c64facc48913 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815445 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ohalay/TechTalk.GraphQl",
"max_stars_repo_path": "src/TechTalk.GraphQl/Configuration/Const.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134665"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using TechTalk.GraphQl.Store.Models;
namespace TechTalk.GraphQl.Configuration
{
public static class Const
{
public static readonly string AuthorizedPolicy = nameof(AuthorizedPolicy);
public static readonly IReadOnlyCollection<ZombieBreed> Zombi... | 2.830614 | 8926ae1b5321c71bfd33b30c81d7ccbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815446 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "Windr07/WLib",
"max_stars_repo_path": "WLib.WinCtrls.Dev/ListCtrl/ListBoxPlusControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134666"
} | starcoder | /*----------------------------------------------------------------
// auth: Windragon
// date: 2018
// desc: None
// mdfy: None
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Text;
using Syste... | 2.115498 | 37f40fbc5c500555ab718c060a6c654d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815447 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "exira/NISOCountries",
"max_stars_repo_path": "NISOCountries.Core/IIsoRecordReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134667"
} | starcoder | using NISOCountries.Core.ValueNormalizers;
using System.Collections.Generic;
namespace NISOCountries.Core
{
public interface IISOCountryReader<T>
where T : IISOCountry
{
IValueNormalizer<T> ValueNormalizer { get; }
IEnumerable<T> Parse(string source);
IStreamParser<T> StreamPar... | 1.954026 | 72778b6ef3d34bf043b5dff959a62c0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "javaadpatel/ExRam.Gremlinq",
"max_stars_repo_path": "ExRam.Gremlinq.Core/Queries/Atoms/Predicates/P.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134668"
} | starcoder | <filename>ExRam.Gremlinq.Core/Queries/Atoms/Predicates/P.cs
using System;
using ExRam.Gremlinq.Core.Serialization;
using NullGuard;
namespace ExRam.Gremlinq.Core
{
public abstract class P : IGremlinQueryAtom
{
#region Nested
// ReSharper disable once InconsistentNaming
public abstract ... | 2.629762 | f253821d996fbfb7e796b7b247de6595 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815449 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "geeking/DotXxlJob",
"max_stars_repo_path": "src/Hessian/Conditions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134669"
} | starcoder | <gh_stars>1-10
using System;
namespace Hessian
{
public class Conditions
{
protected Conditions()
{
}
public static void CheckArgument(bool condition, string message, params object[] args)
{
if (condition)
{
return;
}... | 3.035174 | fe9d9ada2ca4a40193f1fc518ee24804 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815450 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ghuntley/monotouch-samples",
"max_stars_repo_path": "RecipesAndPrinting/RecipesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134670"
} | starcoder | //
// RecipesController.cs
//
// Author: <NAME> <<EMAIL>>
//
// Copyright (c) 2011 Xamarin Inc.
//
// 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 witho... | 2.416692 | d32c6880b5c45ea53d3126f8006df616 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815451 | {
"extension": "c-sharp",
"max_stars_count": "3399.0",
"max_stars_repo_name": "anadale/hotchocolate",
"max_stars_repo_path": "src/GreenDonut/test/Core.Tests/DataLoaderExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134671"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace GreenDonut
{
public class DataLoaderExtensionsTests
{
[Fact(DisplayName = "Set: Should throw an argument null exception for dataLoader")]
public void SetDataLoaderNull()
{
//... | 2.617109 | d7664d5b59adac92f0f7562744df2347 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815452 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "isabella232/ccme",
"max_stars_repo_path": "src/hosts/AssessmentWebApp/Models/AssessmentWithUsageReportModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134672"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="AssessmentWithUsageReportModel.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
usi... | 1.77562 | 166b05e6c98e6cc7a6acb1893e1774e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815453 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matt40k/simstransferlogins",
"max_stars_repo_path": "simstransferlogins/Work.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134673"
} | starcoder | using System;
using System.Data.SqlClient;
namespace SIMS_Transfer_Logins
{
internal class Work
{
private string databaseName;
private string passWord;
private string serverName;
private string userName;
public void Entry(string sr, string db, string ur, string ps)
... | 2.708534 | ec736cd82ce6bf99a18691651a80fa98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/GiftCard/Order/CardGiftCardOrderBatchGetRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134674"
} | starcoder | <reponame>OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat<filename>src/SKIT.FlurlHttpClient.Wechat.Api/Models/Card/GiftCard/Order/CardGiftCardOrderBatchGetRequest.cs<gh_stars>0
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /card/giftcard/order/batchget 接口的请求。</para>
... | 2.055146 | aa027ae75804e8adeae9ef7f2d992681 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "minervamaga/StardewMods",
"max_stars_repo_path": "Phrasefable Modding Tools/PMT_Clear.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134675"
} | starcoder | <filename>Phrasefable Modding Tools/PMT_Clear.cs
using StardewModdingAPI;
using StardewValley;
namespace Phrasefable_Modding_Tools {
public partial class PhrasefableModdingTools {
private void SetUp_Clear() {
const string doc = "clears all objects and terrain features from current location";
... | 2.436988 | 9d7e2e7ebb08398abaa4bf4e57f63ff5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FocusMinistry/vision2-sdk-netcore",
"max_stars_repo_path": "src/lib/Vision2/Model/Designation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134676"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Vision2.Model {
public class Designation {
public int FundableId { get; set; }
public string FundableName { get; set; }
public string Description { get; set; }
... | 1.645412 | 878374e041009d74916494f6ccc80d34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kzmyvr/3DPaymentAspNetCore",
"max_stars_repo_path": "src/ThreeDPayment/Models/VerifyGatewayResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134677"
} | starcoder | using System;
namespace ThreeDPayment.Models
{
public class VerifyGatewayResult
{
public bool Success { get; set; }
public string ResponseCode { get; set; }
public string TransactionId { get; set; }
public string ReferenceNumber { get; set; }
public int Installment { get... | 2.416502 | 68d9cded9ccdb74437febc0dc0b05380 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815458 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "goofybryan/ZarDevs",
"max_stars_repo_path": "Http/src/ZarDevs.Http.Security/ISecurityConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134678"
} | starcoder | namespace ZarDevs.Http.Security
{
/// <summary>
/// Security configuration used
/// </summary>
public interface ISecurityConfiguration
{
#region Methods
/// <summary>
/// Get the specified <typeparamref name="TValue"/> value from the configuration
/// </summary>
... | 2.854862 | 87cb332a0c4701eed09d7ae23f7ea5ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815459 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "GamesEngineer/Neural-Network",
"max_stars_repo_path": "Assets/Scripts/DrawIntoTextureWithMouse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134679"
} | starcoder | <filename>Assets/Scripts/DrawIntoTextureWithMouse.cs
#define ENABLE_SOFT_EDGES
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
[RequireComponent(typeof(RawImage))]
public class DrawIntoTextureWithMouse : MonoBehaviour, IPointerDownHandler, IDragHandler
{
private RawImage image;
private... | 2.488346 | df32aa61a3a3f8a3db9bef5cda51a9f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815460 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "BuildingSMART/IfcDoc",
"max_stars_repo_path": "IfcKit/schemas/IfcProfileResource/IfcCircleHollowProfileDef.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134680"
} | starcoder | // This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org.
// IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentMo... | 2.026684 | fac17d320308330d0dc2567d77a50dd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815461 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DFEAGILEDEVOPS/Schools.Financial.Benchmarking",
"max_stars_repo_path": "Web/SFB.Web.UI/Models/SimpleCharacteristicsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134681"
} | starcoder | <filename>Web/SFB.Web.UI/Models/SimpleCharacteristicsViewModel.cs
using SFB.Web.ApplicationCore.Models;
namespace SFB.Web.UI.Models
{
public class SimpleCharacteristicsViewModel : ViewModelBase
{
public EstablishmentViewModelBase BenchmarkSchool { get; set; }
public SimpleCriteria SimpleCriter... | 2.032817 | d7cb30f2dfd9b3c8b521a5fd5409ae9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815462 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "madhugoundla-attributes/samplewebapp",
"max_stars_repo_path": "sdk/dotnet-sdk/src/VeritySDK.Test/Protocols/IssuerSetup/IssuerSetupTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134682"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Json;
using VeritySDK.Protocols.IssuerSetup;
using VeritySDK.Utils;
namespace VeritySDK.Test
{
[TestClass]
public class IssuerSetupTest : TestBase
{
[TestMethod]
public void testGetMessageType()
{
string m... | 1.957484 | 7d89019549212f357a3fadcca99c3d0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815463 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mahilleb-msft/openssl",
"max_stars_repo_path": "ms/vstemplates/MainPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134683"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
#if WINDOWS_APP || WINDOWS_UAP
using Windows.UI.Xaml;
using Windows.UI.Xa... | 2.222744 | 449d1bbf0da0fc076e88342c38b67cb3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815464 | {
"extension": "c-sharp",
"max_stars_count": "250.0",
"max_stars_repo_name": "toolgood/CoreShop",
"max_stars_repo_path": "CoreCms.Net.Services/System/SysUserServices.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134684"
} | starcoder | <reponame>toolgood/CoreShop
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰 ... | 1.833778 | 8ecf9b5e776569b5847890c8ed779c02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815465 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HSR-BusinessApplications/CampusApp",
"max_stars_repo_path": "Hsr.Campus.Core/ApplicationServices/INewsSync.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134685"
} | starcoder | // Copyright (c) Hochschule für Technik Rapperswil. All Rights Reserved.
// Licensed under the Apache 2.0 license. See LICENSE.txt in the project root for license information.
namespace Hsr.Campus.Core.ApplicationServices
{
using System;
using System.Collections.Generic;
using System.Threading;
... | 1.511059 | cf4edb54e91457737297ad7b4bf398b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815466 | {
"extension": "c-sharp",
"max_stars_count": "13846.0",
"max_stars_repo_name": "tomaswesterlund/aspnetcore",
"max_stars_repo_path": "src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134686"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.AspNetCore.Mvc.ModelBinding
{
/// <summary>
/// Exception thrown by <see cref="IValueProviderFactory"/> when the input is unable to be rea... | 2.469827 | e31562c79d64012d644d83db771a3b9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815467 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ashishpatelcs/uno",
"max_stars_repo_path": "src/Uno.UWP/ApplicationModel/DataTransfer/DataPackage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134687"
} | starcoder | <reponame>ashishpatelcs/uno
using System;
using System.Collections.Generic;
using System.Text;
namespace Windows.ApplicationModel.DataTransfer
{
public partial class DataPackage
{
internal string Text { get; private set; }
#if !(NET461 || __MACOS__)
public void SetText(string text)
{
if (text == null)
... | 1.955235 | 2f92644035e8c0ed3432896ca1fb0b65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815468 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "SmashPhil/Boats",
"max_stars_repo_path": "Source/Vehicles/Harmony/PatchCategories/WorldObjects.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134688"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using HarmonyLib;
using Verse;
using RimWorld;
using RimWorld.Planet;
using SmashTools;
namespace Vehicles
{
internal class WorldObjects : IPatchCategory
{
public void PatchMethods()
{
VehicleHarmony.Patch(original: AccessTools.Method(typeof(InspectPaneFil... | 1.928155 | d5d8cb1d849e13019b8a617a6d52dd5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815469 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "CslaGenFork/CslaGenFork",
"max_stars_repo_path": "trunk/CoverageTest/Invoices-CS-DAL-DR/Invoices.DataAccess/ISupplierInfoDetailDal.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134689"
} | starcoder | namespace Invoices.DataAccess
{
public partial interface ISupplierInfoDetailDal
{
}
}
| 0.906108 | 910fc4e6211030c5809130cf1c17c3a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815470 | {
"extension": "c-sharp",
"max_stars_count": "677.0",
"max_stars_repo_name": "brianpos/fhir-server",
"max_stars_repo_path": "src/Microsoft.Health.Fhir.Core/Features/Search/Expressions/MultiaryExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134690"
} | starcoder | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 2.709936 | 57f253feb4b78a928ab404f0a8a7b905 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GarrettFleischer/FRPStreams",
"max_stars_repo_path": "Core/Abstract/Transactional.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134691"
} | starcoder | #nullable enable
namespace FRPStreams.Core.Abstract
{
using System.Threading.Tasks;
public abstract class Transactional
{
protected bool InTransaction { get; private set; }
internal void StartTransaction()
{
InTransaction = true;
}
internal void EndTra... | 2.043161 | 95ee09fe7bbb43e86f580aaf2c590d70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PNNL-Comp-Mass-Spec/Mage",
"max_stars_repo_path": "MageUnitTests/CrosstabFilterTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134692"
} | starcoder | <filename>MageUnitTests/CrosstabFilterTest.cs<gh_stars>0
using Mage;
using NUnit.Framework;
namespace MageUnitTests
{
/// <summary>
/// This is a test class for CrosstabFilterTest and is intended
/// to contain all CrosstabFilterTest Unit Tests
/// </summary>
[TestFixture]
public cla... | 2.42646 | db956b27ef1534bdf9562ac9dbe6d709 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815473 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Badca52/LunaMultiplayer",
"max_stars_repo_path": "Client/Systems/SettingsSys/SettingsReadSaveHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134693"
} | starcoder | using LunaClient.Utilities;
using LunaCommon.Xml;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
namespace LunaClient.Systems.SettingsSys
{
public static class SettingsReadSaveHandler
{
#region Path properties
private static string DataFold... | 2.489174 | 57b3bd9eeccce53c7f038c0e8543625f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815474 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wind2006/DotNet.Utilities",
"max_stars_repo_path": "YanZhiwei.DotNet2.Utilities/Core/PagedList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134694"
} | starcoder | namespace YanZhiwei.DotNet2.Utilities.Core
{
using System;
using System.Collections.Generic;
using YanZhiwei.DotNet2.Interfaces.DataAccess;
/// <summary>
/// 分页数据集合,用于后端返回分页好的集合及前端视图分页控件绑定
/// </summary>
/// <typeparam name="T">泛型</typeparam>
public class PagedList<T> : List<T>, IPage... | 3.002212 | 60ff133b3aee1521c1be163735c4e118 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cslrfid/CSL-Callback-Unified-SDK-App",
"max_stars_repo_path": "CSL RFID Demo Apps/Source/CS Native Demo XP/CustControl/WriteAllBank.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134695"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Imaging;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Reflection;
namespace CS203_CALLBACK_API_DEMO
{
public partial class WriteAllBank : UserCo... | 2.137227 | 2419e631765dc32a59c4314098dd4e44 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815476 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tvu100/Wreckage",
"max_stars_repo_path": "Game/Assets/Script/GUI/UIBehaviour.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134696"
} | starcoder | <reponame>tvu100/Wreckage
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIBehaviour : MonoBehaviour {
public GameObject pauseMenu;
private GM gm;
void Start ()
{
gm = GameObject.FindGameObjectWithTag ("GameController").GetComponent<GM> ();
}
void Update () ... | 1.779667 | a78772b7288fdfe101a221fe28ee5747 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815477 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chris579/nsec",
"max_stars_repo_path": "src/Experimental/StreamCipherAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134697"
} | starcoder | using System;
using System.Diagnostics;
using System.Threading;
using NSec.Cryptography;
namespace NSec.Experimental
{
// Stream cipher encryption/decryption algorithm without any authentication.
// This is not usually recommended for any communication protocol and should
// be used only as a building bloc... | 2.315582 | a831e170907536d27ab4b7e547b7bb4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815478 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MenMachine69/BasicSharp",
"max_stars_repo_path": "GraphicsConsole.Test/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134698"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GraphicsConsole.Test
{
public partial class Form1 : Fo... | 2.40914 | ede515b799aa3c46000d26637f3ab68e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815479 | {
"extension": "c-sharp",
"max_stars_count": "349.0",
"max_stars_repo_name": "marlandolaud/presentations",
"max_stars_repo_path": "CSharp/WhatsNewInCSharp/WhatsNewInCSharp7_Tests/B_TuplesTests/A_TupleTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134699"
} | starcoder | <reponame>marlandolaud/presentations
using WhatsNewInCSharp7.B_Tuples;
using Xunit;
namespace WhatsNewInCSharp7_Tests.B_TuplesTests
{
public class A_TupleTests
{
[Fact]
public void SimpleTuples()
{
var simple = ("a", "b");
Assert.Equal("a",simple.Item1);
... | 2.989876 | 483948c416ac4c9f4b63ccdc48fdbbab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815480 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "Long-Man/ErsatzTV",
"max_stars_repo_path": "ErsatzTV.Application/Channels/ChannelViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134700"
} | starcoder | using ErsatzTV.Core.Domain;
namespace ErsatzTV.Application.Channels
{
public record ChannelViewModel(
int Id,
string Number,
string Name,
int FFmpegProfileId,
string Logo,
string PreferredLanguageCode,
StreamingMode StreamingMode,
int? WatermarkId);
... | 1.359239 | 68c6c38eb3956a2840fc2f30da5de73b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815481 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bikeman868/RestDB",
"max_stars_repo_path": "Source/RestDB.UnitTests/Mocks/FileLayer/MockPagePoolFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134701"
} | starcoder | using Moq;
using Moq.Modules;
using NUnit.Framework;
using RestDB.Interfaces.FileLayer;
using System.Collections.Generic;
namespace RestDB.UnitTests.Mocks.FileLayer
{
public class MockPagePoolFactory : MockImplementationProvider<IPagePoolFactory>
{
protected override void SetupMock(IMockProd... | 2.502256 | ad83aa77e7ca366240767defc0c814b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815482 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ychung-mot/hets",
"max_stars_repo_path": "Server/HetsData/Constants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134702"
} | starcoder | namespace HetsData
{
public class Constants
{
public const string MissingSiteMinderUserIdError = "Missing SiteMinder UserId";
public const string MissingSiteMinderGuidError = "Missing SiteMinder Guid";
public const string MissingDbUserIdError = "Could not find UserId in the HETS databas... | 1.733629 | 49229c513bd6c8c8223b4111e29eb2ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815483 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Wawrzyn321/Draw-Sequence",
"max_stars_repo_path": "DrawSequence/Infrastructure/FormFileVerification/ImageContentTypeAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134703"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using DrawSequence.Application;
using Microsoft.AspNetCore.Http;
namespace DrawSequence.Infrastructure.FormFileVerification
{
public class ImageContentTypeAttribute : ValidationAttribute
{
private static readonl... | 2.193637 | a87f2a291dd67f00b6d2fef6c440896d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815484 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonycknight/nomoretrolls",
"max_stars_repo_path": "tests/nomoretrolls.tests/Config/MongoDbConfigurationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134704"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using nomoretrolls.Config;
using Xunit;
namespace nomoretrolls.tests.Config
{
public class MongoDbConfigurationTests
{
[Fact]
public void DatabaseName_Has... | 1.889923 | 33f6d3a3c76c39536e5a42249714d00a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815485 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "fairygui/FairyGUI-monogame",
"max_stars_repo_path": "FairyGUI/Scripts/Core/Text/InputRemapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134705"
} | starcoder | <gh_stars>10-100
#if Windows
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace FairyGUI.Scripts.Core.Text
{
public class InputRemapper : GameComponent
{
/// <summary>
/// Current Mouse State
/// </summary>
public MouseState mouseState { get; private set; }
/// <summary>
/// ... | 2.366666 | 478d5c16d7e36b5fd57bcb70799124d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815486 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cfannybf/Stock-Screener-Service",
"max_stars_repo_path": "UnitTests/QuoteDownloaderTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134706"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using QuoteService;
using Screener;
namespace UnitTests
{
[TestClass]
public class QuoteDownloaderTest
{
[TestMethod]
public void DownloadSingleQuoteTest()
{
IQuoteDownloader downloader = n... | 2.296882 | 749208fa145acecdda5d272f243c25b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815487 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "CBke/NoStringEvaluating",
"max_stars_repo_path": "NoStringEvaluating/Services/Parsing/NodeReaders/NumberReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134707"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using NoStringEvaluating.Extensions;
using NoStringEvaluating.Nodes;
using NoStringEvaluating.Nodes.Base;
namespace NoStringEvaluating.Services.Parsing.NodeReaders
{
/// <summary>
/// Number reader
/// </summary>
public static... | 2.885087 | 741f0ab688d39113d996c4e3e7fea47c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815488 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "dxball/mma",
"max_stars_repo_path": "Codecs/Audio/Alaw/ALawCodec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134708"
} | starcoder | <reponame>dxball/mma
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Media.Codecs.Audio.Alaw
{
public class ALawCodec : /*: Media.Codec.Codec,*/ IAudioCodec
{
public const string Name = "ALaw";
public st... | 2.089229 | af08dda9d1d098c421d86e7867f35d76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815489 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CyborTronik/commanddotnet",
"max_stars_repo_path": "CommandDotNet.Tests/FeatureTests/CancellationTokenTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134709"
} | starcoder | <reponame>CyborTronik/commanddotnet<filename>CommandDotNet.Tests/FeatureTests/CancellationTokenTests.cs<gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
using CommandDotNet.Execution;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
namespace CommandDotNet.Tests.FeatureTests... | 2.192992 | 7177d394891731fb33d8cce219743455 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Luminoth/CatFight",
"max_stars_repo_path": "Assets/Scripts/Stages/Arena/GameState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134710"
} | starcoder | using System.Collections.Generic;
using CatFight.Fighters;
namespace CatFight.Stages.Arena
{
public sealed class GameState
{
public bool isGameStarted { get; }
private readonly Dictionary<int, FighterState> _fighterState = new Dictionary<int, FighterState>();
public IReadOnlyDiction... | 2.647223 | 3c772b6771d0f87d271c8540c1fa3d8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815491 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "A-Manev/SoftUni-Courses-2019-2020",
"max_stars_repo_path": "Sets and Dictionaries Advanced - Lab/06. Parking Lot/StartUp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134711"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
namespace ParkingLot
{
class StartUp
{
static void Main()
{
HashSet<string> carNumbers = new HashSet<string>();
string command = Console.ReadLine();
while (command != "END")
{
... | 3.706654 | 60f9ff31d0350454a6d52d4393ce3397 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MelnikovAG/roslyn",
"max_stars_repo_path": "src/Workspaces/Core/Portable/ExtractMethod/ExtractMethodOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134712"
} | starcoder | <reponame>MelnikovAG/roslyn<filename>src/Workspaces/Core/Portable/ExtractMethod/ExtractMethodOptions.cs
// 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.
using Syste... | 1.835477 | f0b5b935ea98011ca1cdb5814cdb9d27 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815493 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/GizmoBegone",
"max_stars_repo_path": "Source/ThingBegone/Settings/ThingBegoneSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134713"
} | starcoder | <reponame>emipa606/GizmoBegone
using System;
using System.Collections.Generic;
using Verse;
namespace ThingBegone.Settings
{
// Token: 0x02000005 RID: 5
public class ThingBegoneSettings : ModSettings
{
// Token: 0x04000012 RID: 18
public List<string> terrainSaveData = new List<string>();
... | 1.648066 | 42bf3a2365ee735998f8fe14cdcc57be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815494 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "deanthecoder/GLSLShaderShrinker",
"max_stars_repo_path": "ShaderShrinker/Shrinker.Parser/SyntaxNodes/SyntaxNodeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134714"
} | starcoder | <filename>ShaderShrinker/Shrinker.Parser/SyntaxNodes/SyntaxNodeExtensions.cs
// -----------------------------------------------------------------------
// <copyright file="SyntaxNodeExtensions.cs">
// Copyright (c) 2021 <NAME>. All rights reserved.
// </copyright>
// <summary>
// This code is provided on an "... | 2.438704 | d57721adf4551b0930fb51fe9c388934 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815495 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonas-lomholdt/MassTransit",
"max_stars_repo_path": "src/Persistence/MassTransit.MongoDbIntegration/Configuration/MongoDbMessageDataConfigurationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134715"
} | starcoder | <gh_stars>1-10
namespace MassTransit
{
using System;
using Configuration;
using MongoDbIntegration.MessageData;
public static class MongoDbMessageDataConfigurationExtensions
{
/// <summary>
/// Use MongoDB for message data storage, via GridFS
/// </summary>
/// <pa... | 2.2482 | 091bf201cda649a0734eeab6113d903c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vssmirnov/AdminPanel",
"max_stars_repo_path": "TestTask/TestTask/Services/WebCacheService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134716"
} | starcoder | <reponame>vssmirnov/AdminPanel
using Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage;
namespace TestTask.Services
{
public abstract class WebCacheService
{
protected virtual int lifeBuffer { get; set; } = 1;
public async Task<IList<T>> GetListData<T>(ProtectedLocalStora... | 2.663851 | 24588d60e034d4ce9b577a27c1300df5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815497 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarikaydin16/The-fish-Master",
"max_stars_repo_path": "Assets/Scripts/ManagerScripts/IdleManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134717"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Data;
public class IdleManager : MonoBehaviour
{
[HideInInspector]
public int length;
[HideInInspector]
public int strength;
[HideInInspector]
public int offlineEarnings;
[HideInIns... | 2.226154 | 7d47b054d5c8427d82cffa08b7db3725 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "evanon/Beef",
"max_stars_repo_path": "samples/Demo/Beef.Demo.Common/Grpc/ServiceAgents/Generated/RobotServiceAgent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134718"
} | starcoder | /*
* This file is automatically generated; any changes will be lost.
*/
#nullable enable
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Beef.Entities;
using Beef.Grpc;
using Beef.Demo.Common.Entities;
using proto = Beef.Demo.Common.Grpc.Proto;
using RefDa... | 1.99231 | 6eac6d5778e10cf799ad788b7de446e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Skulcat/Yugioh-Bot",
"max_stars_repo_path": "YuGiOhBot/Services/YuGiOhPricesDeserializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134719"
} | starcoder | <reponame>Skulcat/Yugioh-Bot
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YuGiOhBot.Services
{
public class Prices
{
public decimal high { get; set; }
public decimal low { get; set; }
public decimal averag... | 2.243377 | bf0309f75501fef71d0b668ef3140504 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815500 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "oxozle/mini-rpg",
"max_stars_repo_path": "Oxozle.MiniRPG.GameConfig/CoreReaders/Mapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134720"
} | starcoder | // *********************************************************************************
// Author: <NAME>
// Email: <EMAIL>
// Date: 20.02.2015
// Project: Oxozle.MiniRPG.GameConfig.Mapper.cs
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BU... | 2.045476 | edaeecd31f6cc625ad142729eb932bab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "r0t0r-r0t0r/ChipTuna",
"max_stars_repo_path": "ChipTuna/Vgm/Headers/V100HeaderPart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134721"
} | starcoder | <reponame>r0t0r-r0t0r/ChipTuna<filename>ChipTuna/Vgm/Headers/V100HeaderPart.cs<gh_stars>0
namespace ChipTuna.Vgm.Headers
{
public struct V100HeaderPart
{
public const uint SN76489ClockOffset = 0x0C;
public const uint YM2413ClockOffset = 0x10;
public const uint GD3OffsetOffset = 0x14;
... | 1.827286 | b5a6bacbb99dea126e46615406df671a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ainteger/logging-azure-storage",
"max_stars_repo_path": "src/Logging.Azure.Storage/Internal/Storage/IAzureStorageHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134722"
} | starcoder | <filename>src/Logging.Azure.Storage/Internal/Storage/IAzureStorageHandler.cs
using System.Net.Http;
namespace Logging.Azure.Storage.Internal.Storage
{
public interface IAzureStorageHandler
{
HttpRequestMessage GetRequest(HttpMethod method, string resource, byte[] requestBody = null);
}
}
| 1.862463 | 26b68885a7cb11eaa81fda356a8993b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815503 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "Figglewatts/LSDView",
"max_stars_repo_path": "GuiApplication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134723"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using Autofac;
using LSDView.Controller;
using LSDView.Controllers;
using LSDView.Controllers.GUI;
using LSDView.Graphics;
using LSDView.GUI;
using LSDView.GUI.Components;
using LSDView.GUI.GUIComponents;
using OpenTK;
using OpenTK.Graphics;
using Op... | 1.852635 | 9f52cdfea59e6b02b6997f5980fd3db9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815504 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "jackhuclan/bedrock",
"max_stars_repo_path": "source/Bedrock/Bedrock.Tests/Events/EventAggregatorFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134724"
} | starcoder | <reponame>jackhuclan/bedrock<filename>source/Bedrock/Bedrock.Tests/Events/EventAggregatorFixture.cs
using Bedrock.Events;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bedrock.Tests.Events
{
[TestClass]
public class EventAggregatorFixture
{
[TestMethod]
public void GetReturn... | 2.205068 | 00541bb87869ced9031d4cc8f34a61a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815505 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ypmo/etp-devkit",
"max_stars_repo_path": "src/DevKit/Common/EtpSession.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134725"
} | starcoder | //-----------------------------------------------------------------------
// ETP DevKit, 1.2
//
// Copyright 2019 Energistics
//
// 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
//
// ... | 1.908252 | f9eaa58ec73845bbc6d7eedc21e11f0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815506 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "rraallvv/colorus",
"max_stars_repo_path": "Assets/Scripts/Controllers/WindowColorPickerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134726"
} | starcoder | <reponame>rraallvv/colorus<gh_stars>10-100
using UnityEngine;
using System.Collections;
public class WindowColorPickerController : ControllerInterface {
GameState previousGameState = GameState.IN_GAME;
#region ControllerInterface implementation
public void init () {
WorkspaceEventManager.instance.onPalleteOpen... | 1.66832 | fe89f12e9e21c61d7c24fb59e6803d4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815507 | {
"extension": "c-sharp",
"max_stars_count": "77.0",
"max_stars_repo_name": "roice3/roice",
"max_stars_repo_path": "MagicTile/Puzzle/PuzzleConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134727"
} | starcoder | <filename>MagicTile/Puzzle/PuzzleConfig.cs<gh_stars>10-100
namespace MagicTile
{
using MagicTile.Utils;
using R3.Core;
using R3.Geometry;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
/// <summ... | 2.810241 | ae9cbd6fa226285ccc5ed5a959218a85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815508 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "theiam79/bgg-sdk",
"max_stars_repo_path": "src/Bgg.Sdk/Mapping/Profiles/FamilyProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134728"
} | starcoder | <filename>src/Bgg.Sdk/Mapping/Profiles/FamilyProfile.cs<gh_stars>1-10
using AutoMapper;
namespace Bgg.Sdk.Mapping
{
internal class FamilyProfile : Profile
{
public FamilyProfile()
{
CreateMap<Core.Family.FamilyResult.FamilyElement, Models.FamilyCollection.Family>()
... | 2.110195 | badf93a70b2189b308623145b50d2266 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815509 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "gagandeepp/vonage-dotnet-sdk",
"max_stars_repo_path": "Vonage/LegacyNexmoLibrary/Jwt.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134729"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using Jose;
using Vonage;
namespace Nexmo.Api
{
[System.Obsolete("The Nexmo.Api.Jwt class is obsolete.")]
public class Jwt
{
public static string CreateToken(string appId, string privateKey)
... | 2.253973 | c493fa692f67f57d0119cbe05ccdea3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815510 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "neildobson71/Neo4jManager",
"max_stars_repo_path": "src/Neo4jManager/INeo4jDeployment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134730"
} | starcoder | using System;
namespace Neo4jManager
{
public interface INeo4jDeployment
{
Neo4jVersion Version { get; }
Neo4jEndpoints Endpoints { get; }
string DataPath { get; }
DateTime? ExpiresOn { get; }
string BackupPath { get; set; }
string LastBackupFile { get; set; }
... | 1.419901 | e20d127ad4957933432b4543d5782007 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815511 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mika-f/Norma",
"max_stars_repo_path": "Source/Norma.Eta/Validations/StringRequiredValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134731"
} | starcoder | using System;
using Norma.Eta.Properties;
namespace Norma.Eta.Validations
{
public class StringRequiredValidator : IValidator<string>
{
#region Implementation of IValidator<string>
public string Validate(string value)
{
return string.IsNullOrWhiteSpace(value) ? Resources.... | 2.480977 | b96dbb7564e0d2d5c15cdd3344ff04ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815512 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "m-esm/HCMS",
"max_stars_repo_path": "src/HCMS.Web/Packages/Trumbowyg/Views/Panel/index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:134732"
} | starcoder | @{
var cuid = HCMS.Business.Auth.UserRepository.GetUserIdByUsername(User.Identity.Name);
ViewBag.title = "مدیریت ویترین";
}
<div class="layout-container userpanel">
<div class="row">
<div class="col-md-12">
<h1 class="title">
مدیریت ویترین
</h1>
</d... | 1.810381 | 39eebe08501c941c6650b2da48de8db1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815513 | {
"extension": "c-sharp",
"max_stars_count": "86.0",
"max_stars_repo_name": "TheBlubb14/octoawesome",
"max_stars_repo_path": "OctoAwesome/OctoAwesome.Client/Controls/InventoryControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134733"
} | starcoder | <gh_stars>10-100
using engenious;
using engenious.Graphics;
using engenious.UI;
using engenious.UI.Controls;
using OctoAwesome.Client.Components;
namespace OctoAwesome.Client.Controls
{
internal sealed class InventoryControl : Panel
{
private const int COLUMNS = 8;
/// <summary>
/// G... | 2.706762 | cd91d6ae32ef3363e89c92e87f56b1f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815514 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kamitul/Warsaw-Battle",
"max_stars_repo_path": "Assets/Scripts/RotateAround.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134734"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RotateAround : MonoBehaviour
{
[SerializeField]
private Transform center;
private void Update()
{
transform.LookAt(center);
transform.Translate(Vector3.right * Time.deltaTime);
}
}
| 2.148684 | 557e891d4f51924e26448639058a1068 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815515 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "AdrianBZG/Medieval_Warfare_VR-Unity",
"max_stars_repo_path": "Assets/AI/Actions/rotateToEnemy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134735"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using RAIN.Action;
using RAIN.Core;
[RAINAction]
public class rotateToEnemy : RAINAction
{
private GameObject humanSeen;
public override void Start(RAIN.Core.AI ai) {
base.Start(ai);
}
public override ActionResult ... | 2.300909 | 4873dc9f0f5384d2e123db37c6842f7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815516 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AstrorEnales/SaltarelleCompiler",
"max_stars_repo_path": "Runtime/CoreLib.TestScript/SimpleTypes/Int32Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134736"
} | starcoder | <reponame>AstrorEnales/SaltarelleCompiler
using System;
using System.Runtime.CompilerServices;
using QUnit;
#pragma warning disable 184, 219, 458
namespace CoreLib.TestScript.SimpleTypes {
[TestFixture]
public class Int32Tests {
[Test]
public void TypePropertiesAreCorrect() {
Assert.IsTrue((object)(int)0 is... | 2.366739 | a9a6709b2132c8e1f17f29c551f0a784 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8815517 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Revolucius/Blog",
"max_stars_repo_path": "blog1/Models/AdminAccess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:134737"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace blog1.Models
{
public class AdminAccess
{
public string Name { get; set; }
public string Password { get; set; }
}
} | 1.530316 | e6e3cb1bb3bfdee843d10a3375ce046c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.