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 | 73333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MovGP0/WebsitePoller",
"max_stars_repo_path": "WebsitePoller/Workflow/AssemblyExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73334"
} | starcoder | using System;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
namespace WebsitePoller.Workflow
{
public static class AssemblyExtensions
{
public static string GetDirectoryPath([NotNull]this Assembly assembly)
{
if(assembly == null) throw new ArgumentNullExcept... | 2.469983 | 1f27d5040143c4b061e05bb0510fcbb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sto276/CLEM_Converters",
"max_stars_repo_path": "Reader/NABSA/Data/LabourData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73335"
} | starcoder | using Models.CLEM.Groupings;
using Models.CLEM.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace Reader
{
public partial class NABSA
{
public IEnumerable<LabourType> GetLabourTypes(Labour labour)
{
List<LabourTy... | 2.726088 | 66c6292cf29395fe97b3ccb09288ba84 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SAKULAK/Minecreaft-2.0",
"max_stars_repo_path": "Assets/Infiniterrain/Scripts/Block.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73336"
} | starcoder | using UnityEngine;
using System.Collections;
/*
* struct to hold our block data
*/
public struct Block
{
public VoxelRenderer.BlockState state;
}
| 1.745718 | 1ceb0fccf10446c5d2ad8ea5d78bd5f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73336 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "shellayers/Texas-Giant",
"max_stars_repo_path": "src/Agent.Listener/DistributedTask.Pipelines/Yaml/Contracts/IVariable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73337"
} | starcoder | namespace Microsoft.TeamFoundation.DistributedTask.Orchestration.Server.Pipelines.Yaml.Contracts
{
internal interface IVariable
{
}
}
| 1.022166 | bfdbda15fe310b926d6c360eb06bea70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73337 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "joshimoo/Challenges",
"max_stars_repo_path": "HackerRank/Algorithms/Warmup/CaesarCipher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73338"
} | starcoder | <reponame>joshimoo/Challenges
using System;
namespace HackerRank.Algorithms.Warmup
{
/// <summary>
/// Caesar Cipher Challenge
/// Description: Apply a Caesar Cipher but only to the chars a-z & A-Z
/// Problem Statement: https://www.hackerrank.com/challenges/caesar-cipher-1
/// </summary>
class... | 3.165061 | c636a557e832e415f4f50fb8c6ceb914 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73338 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "WildernessLabs/Meadow_Project_Samples",
"max_stars_repo_path": "source/Hackster/Maple/MeadowMapleTemperature/MapleRequestHandlers/TemperatureRequestHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73339"
} | starcoder | <gh_stars>1-10
using Meadow.Foundation.Web.Maple.Server;
using Meadow.Foundation.Web.Maple.Server.Routing;
using MeadowMapleTemperature.Entities;
using MeadowMapleTemperature.Models;
using System.Collections.Generic;
namespace MeadowMapleTemperature.MapleRequestHandlers
{
public class TemperatureRequestHandler : ... | 2.398689 | 28e51a13371743dd78e20236a1510eb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73339 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mastercs999/loki",
"max_stars_repo_path": "src/VoiceAssistant/Helpers/Utilities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73340"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
namespace VoiceAssistant.Helpers
{
public static class Utilities
{
public static bool IsAdministrator()
{
using (Windows... | 2.350033 | 477763f263aa1f9c30d111e0f89427fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73340 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Anzzhhela98/SoftUniCourses",
"max_stars_repo_path": "C# Advanced/04.Streams, Files and Directories/Streams, Files and Directories/01. Odd Lines/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73341"
} | starcoder | using System;
using System.IO;
namespace _01._Odd_Lines
{
class Program
{
static void Main(string[] args)
{
var reader = new StreamReader("..//..//..//input.txt");
using (reader)
{
int counter = 0;
string line = reader.ReadLi... | 3.413474 | b661f721a65bfbcbe93a8ca87d66520b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73341 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "qwerelt/GrillBot",
"max_stars_repo_path": "src/Grillbot/Views/AuditLog/LogViews/UnbanPartialView.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73342"
} | starcoder | @model Grillbot.Models.Audit.DiscordAuditLog.AuditUnban;
<div class="row mt-3">
<div class="col-md-5">
<div class="row">
<div class="col-4 font-weight-bold">Uživatel</div>
<div class="col">@Model.User</div>
</div>
</div>
</div>
| 1.674854 | b0feea6f6acaf0586be712065d74673f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73342 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "923946240/TianYiSdtdServerTools",
"max_stars_repo_path": "Client/Models/Dtos/TeleRecordDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73343"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IceCoffee.DbCore.Primitives.Dto;
using TianYiSdtdServerTools.Client.Models.Entitys;
namespace TianYiSdtdServerTools.Client.Models.Dtos
{
public class TeleRecordDto : DtoBaseStr
... | 1.650124 | 6416e0948491210e374f321bf5db09aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GoranGit/OOP-Object-Oriented-Programming-",
"max_stars_repo_path": "Exams/OOP-05March2014-Evening/Infestation/Queen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73344"
} | starcoder | namespace Infestation
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class Queen : Unit
{
private const int BaseHealth = 30;
private const int BasePower = 1;
private const int BaseAggression = 1;
public Queen(stri... | 2.979544 | 6dc8cf7a1c01263174ce4a11cdfad66e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olgstein/F23Bag",
"max_stars_repo_path": "Src/F23Bag.SqlServer/SqlServerSQLTranslator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73345"
} | starcoder | using F23Bag.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using F23Bag.Data.DML;
namespace F23Bag.SqlServer
{
internal class SqlServerSQLTranslator : StandardSQLTranslator
{
public override void Visit(Request request)
{
var sb = new St... | 2.287798 | 20b7041dd66c89bf023908378932f01d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73345 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "dataexplorer/dataexplorer",
"max_stars_repo_path": "Presentation.Tests/Core/Converters/FriendlySemanticTypeConverterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73346"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataExplorer.Domain.Semantics;
using DataExplorer.Presentation.Core.Converters;
using NUnit.Framework;
namespace DataExplorer.Presentation.Tests.Core.Converters
{
[TestFixture]
public clas... | 2.532814 | fd589a42d21fd29511e65641bb6f6a4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielcrenna/ActiveStorage",
"max_stars_repo_path": "src/ActiveStorage/AttributeDataInfoProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73347"
} | starcoder | // Copyright (c) <NAME> & Contributors. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.ComponentModel.DataAnnotations.Schema;
using TypeKitchen;
namespace ActiveStorage
{
public sealed class AttributeDat... | 2.176282 | 24580f65c0a9e4413deff94fe7f94774 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73347 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "qdraw/starsky",
"max_stars_repo_path": "starsky/starsky.feature.health/HealthCheck/PathExistHealthCheckExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73348"
} | starcoder | <filename>starsky/starsky.feature.health/HealthCheck/PathExistHealthCheckExtensions.cs
using System;
using System.Collections.Generic;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace starsky.feature.health.HealthCheck
{
public static class PathExistHealth... | 2.371706 | c354d3e4d09ad091483af19f9461824b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73348 | {
"extension": "c-sharp",
"max_stars_count": "1629.0",
"max_stars_repo_name": "aTiKhan/CommunityServer",
"max_stars_repo_path": "module/ASC.Thrdparty/ASC.FederatedLogin/LoginProviders/OpenIdLoginProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73349"
} | starcoder | <filename>module/ASC.Thrdparty/ASC.FederatedLogin/LoginProviders/OpenIdLoginProvider.cs
/*
*
* (c) Copyright Ascensio System Limited 2010-2021
*
* 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 Lice... | 1.867999 | 6944f560131eba2e8772e53531af7bbd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dp9u0/Notebook-DotNet",
"max_stars_repo_path": "src/Thread/InterlockedEverything.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73350"
} | starcoder | <reponame>dp9u0/Notebook-DotNet
using System;
using System.Threading;
namespace ThreadSample {
public static class InterlockedEverything {
delegate Int32 Morpher<TResult, TArgument>(Int32 startValue, TArgument argument,
out TResult morphResult);
static TResult Morph<TResult, TArgument>(ref... | 3.116341 | b98d8541da25cb1a71b25b08b30d0b2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deniszykov/typeutils",
"max_stars_repo_path": "src/deniszykov.TypeConversion/Converter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73351"
} | starcoder | <reponame>deniszykov/typeutils<filename>src/deniszykov.TypeConversion/Converter.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
#if NETCOREAPP3_0 || NETSTANDARD2_1
using AllowNull = System.Diagnostics.CodeAnalysis.AllowNullAttribute;
using MaybeNull = Syst... | 2.557338 | 81d4ca9be89803ac31f804de8dc7f491 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DotNetRussell/CoinTracker",
"max_stars_repo_path": "CoinTracker/CoinTracker/Models/StatusModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73352"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace CoinTracker.Models
{
public class StatusModel : ModelBase
{
[JsonProperty("timestamp")]
public DateTime RequestTimeStamp { get; set; }
[JsonProperty("error_code")]
public int Err... | 1.856507 | 567a975ff8423c80ce60864dc8eacd0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yomodo/netCommander",
"max_stars_repo_path": "dialogs/CopyFileProgressDialog.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73353"
} | starcoder | <reponame>Yomodo/netCommander
namespace netCommander
{
partial class CopyFileProgressDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being ... | 1.574546 | 7003e257d0619c01f2fd0867dd1cd904 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jerrytang67/szsj",
"max_stars_repo_path": "backend/src/TtWork.ProjectName.Core/Entities/Pay/TenPayNotify.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73354"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Castle.Components.DictionaryAdapter;
namespace TtWork.ProjectName.Entities.Pay
{
[Table("T_TenPayNotify")]
public class TenPayNotify : Entity<int>
{
[StringLength(40)]
... | 1.462962 | 55be18151c9eea906c02b68bcb4aad8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73354 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "edumserrano/csharp-functional",
"max_stars_repo_path": "Tests/ResultMonad.Tests/ResultWithValueMonad/Equality/ResultWithValueGetHashCodeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73355"
} | starcoder | using Shouldly;
using Xunit;
namespace ResultMonad.Tests.ResultWithValueMonad.Equality
{
[Trait("Monad", "ResultWithValue")]
public class ResultWithValueGetHashCodeTests
{
[Fact]
public void GetHasCode_between_two_ok_ResultWithValue_is_equal_if_both_values_are_equal()
{
... | 2.390853 | 212b02dfc3a95fc431db585c63f49c71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73355 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "soyhanbeyazit/EArchive",
"max_stars_repo_path": "EArchive/EArsivVeri/vergiBilgiTypeTevkifat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73356"
} | starcoder | namespace EArchive.EArsivVeri
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://earsiv.efatura.gov.tr")]
pu... | 1.698128 | f4d4796dc3347cf8823699b400b62cf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73356 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cschulzsuper/paula",
"max_stars_repo_path": "src/blazor/Client.Infrastructure/Authentication/AuthenticationMessageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73357"
} | starcoder | <filename>src/blazor/Client.Infrastructure/Authentication/AuthenticationMessageHandler.cs<gh_stars>1-10
using Super.Paula.Client.Storage;
using Super.Paula.Environment;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
namespace Super.Paula.Client.Authenticat... | 2.306756 | c4a378e0d4e40732bf3691d08bf84d3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ghuntley/sdk-net",
"max_stars_repo_path": "src/ServerlessWorkflow.Sdk/Models/ParallelStateDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73358"
} | starcoder | <filename>src/ServerlessWorkflow.Sdk/Models/ParallelStateDefinition.cs
/*
* Copyright 2021-Present The Serverless Workflow Specification Authors
* <p>
* 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... | 2.490997 | 16f751f62267c6bd8b60e4f394e036c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73358 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "daud-ahn/Terraclient",
"max_stars_repo_path": "patches/Terraclient/Terraria/Terraclient/Cheats/General/BestiaryForceUnlockCheat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73359"
} | starcoder | <filename>patches/Terraclient/Terraria/Terraclient/Cheats/General/BestiaryForceUnlockCheat.cs
namespace Terraria.Terraclient.Cheats.General
{
public class BestiaryForceUnlockCheat : ForceUnlockCheat
{
}
} | 1.177335 | ed4598a22afbbcc43e44db2d6f17e021 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GamesByMoonlight/january",
"max_stars_repo_path": "Assets/Scripts/Enemies/BaseEnemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73360"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
using System.Linq;
// BaseEnemy should be used as a base class for all Enemy types
// Using this guarantees the spawner will spawn it correctly, and that the enemy can be destroyed
// Also guarantees the Spawn and Tak... | 2.55715 | 3b89e47b66c703c45e67a61afa9aebde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kevinrjones/acsstats",
"max_stars_repo_path": "AcsCommands/Query/GroundsQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73361"
} | starcoder | <filename>AcsCommands/Query/GroundsQuery.cs
using AcsRepository.Util;
using AcsStatsWeb.Dtos;
using AcsTypes.Error;
using CSharpFunctionalExtensions;
using Dapper;
using MediatR;
using Microsoft.Extensions.Logging;
using MySql.Data.MySqlClient;
namespace AcsCommands.Query;
public class GroundsQuery : IRequest<Result<... | 2.501069 | f77580466ab19ff99eb97aa20005aa18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JonathanCokely/sharing-is-caring",
"max_stars_repo_path": "SharingIsCaring/Views/AssetRequest/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73362"
} | starcoder | @using Microsoft.AspNetCore.Identity
@using SharingIsCaring.Areas.Identity.Data
@using SharingIsCaring.Areas.Identity.Pages
@inject UserManager<IdentityUser> UserManager
@model SharingIsCaring.ViewModels.AssetRequestIndexViewModel
<h1 class="d-flex justify-content-center jumbotron">Asset Requests</h1>
<br />
<h2 cl... | 2.443839 | 3333f12ccda36dfc8a7c5fe011460d11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73362 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "AspxCommerce/AspxCommerce2.7",
"max_stars_repo_path": "AspxCommerce.Core/Entity/DownloadableItemsInfo/DownLoadableItemGetInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73363"
} | starcoder | /*
AspxCommerce® - http://www.aspxcommerce.com
Copyright (c) 2011-2015 by AspxCommerce
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights... | 1.902968 | 244c45e27d4b959302222fae670e7e60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ekonbenefits/MVCContrib.FluentHtml",
"max_stars_repo_path": "src/CommandProcessor/CommandProcessor/Validation/Rules/ValidateGreaterThanZero.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73364"
} | starcoder | <filename>src/CommandProcessor/CommandProcessor/Validation/Rules/ValidateGreaterThanZero.cs
namespace MvcContrib.CommandProcessor.Validation.Rules
{
public class ValidateGreaterThanZero : ValidationRule<int?>
{
public const string ErrorMessage = "{0} must be a positive number.";
protected override string I... | 2.399138 | 1d618c53f5e9c4c6351eaecd6fd722c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73364 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ebeeb/SfSdk",
"max_stars_repo_path": "SfSdk/Contracts/IValuableItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73365"
} | starcoder | <reponame>ebeeb/SfSdk
namespace SfSdk.Contracts
{
/// <summary>
/// A valuable item.
/// </summary>
public interface IValuableItem : IScrapbookItem
{
}
} | 1.612991 | 1de5b0607578f949cd7149cc3c4bd34c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73365 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "webmaster442/BookGen",
"max_stars_repo_path": "BookGen.Launch/Code/MessageBoxEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73366"
} | starcoder | //-----------------------------------------------------------------------------
// (c) 2021 <NAME>
// This code is licensed under MIT license (see LICENSE for details)
//-----------------------------------------------------------------------------
using System.Windows;
namespace BookGen.Launch.Code
{
internal st... | 2.353838 | 411f5b1661eb5e9182ddfed740b7108c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MatisseHack/BuildXL",
"max_stars_repo_path": "Public/Src/Utilities/Configuration/Mutable/Mount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73367"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.ContractsLight;
using BuildXL.Utilities;
namespace BuildXL.Utilities.Configuration.Mutable
{
/// <nodoc />
public sealed clas... | 1.851259 | 5adee14159c161db3790aff7cb8c130e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mykola-kohut/fe-angular-core-design",
"max_stars_repo_path": "aspnet-core/src/FE-practice.Application/Configuration/IConfigurationAppService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73368"
} | starcoder | <reponame>mykola-kohut/fe-angular-core-design
using System.Threading.Tasks;
using FE-practice.Configuration.Dto;
namespace FE-practice.Configuration
{
public interface IConfigurationAppService
{
Task ChangeUiTheme(ChangeUiThemeInput input);
}
}
| 1.000061 | 5f375cfc777c116b761b64160a814a7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73368 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "RedPana/Ryujinx",
"max_stars_repo_path": "Ryujinx.Graphics.GAL/ProgramPipelineState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73369"
} | starcoder | <filename>Ryujinx.Graphics.GAL/ProgramPipelineState.cs
using Ryujinx.Common.Memory;
using System;
namespace Ryujinx.Graphics.GAL
{
/// <summary>
/// Descriptor for a pipeline buffer binding.
/// </summary>
public struct BufferPipelineDescriptor
{
public bool Enable { get; }
public ... | 2.193264 | 3995bd980184995fadea5bd44e89edd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73369 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "harmonizerblinks/loanapi",
"max_stars_repo_path": "LoanApi/Repository/LocationRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73370"
} | starcoder | <gh_stars>10-100
using LoanApi.Models;
using Microsoft.EntityFrameworkCore;
using System.Linq;
namespace LoanApi.Repository
{
public class LocationRepository : GenericRepository<Location>, ILocationRepository
{
public LocationRepository(AppDbContext dbContext)
{
_dbContext = dbCont... | 2.12539 | 07862e7f8fa1c3b71e19a2a818523d48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iicoms/avaliacao",
"max_stars_repo_path": "Nova Vida Tecnologia - Teste Programador ASP.NET/Views/_Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73371"
} | starcoder | <filename>Nova Vida Tecnologia - Teste Programador ASP.NET/Views/_Layout.cshtml
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>@ViewData["Title"] - Nova_V... | 2.002254 | 55b2fc013d458a5ba55180e2bfe511b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73371 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "ImageViewer/StandardModalities.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73372"
} | starcoder | <gh_stars>1-10
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System.Collections.Generic;
... | 2.35674 | 9918a7b8adfc35f3d51806c7bab32f80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajanhallinta/MSC-RecorderFlute",
"max_stars_repo_path": "SaveUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73373"
} | starcoder | using System;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
using MSCLoader;
namespace Nokkahuilu
{
public class SaveUtil
{
public static void SerializeWriteFile<T>(T value, string path)
{
try
{
var xmlserializer = new XmlSerializer(typeof(T));
var stream = new StreamWriter(pat... | 2.67087 | dcfd60f20314db0ee002ec9d4208a1a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "l0g0sys/PoESkillTree",
"max_stars_repo_path": "PoESkillTree.Computation.Common/Builders/Resolving/IResolvable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73374"
} | starcoder | <gh_stars>0
using PoESkillTree.Computation.Common.Builders.Values;
namespace PoESkillTree.Computation.Common.Builders.Resolving
{
/// <summary>
/// Interface for objects that can be resolved using a <see cref="ResolveContext"/>.
/// </summary>
/// <typeparam name="T">The resulting type of resol... | 2.479835 | 16c79d7e1bb600637aefe380f2b01d71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73374 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "shinyorg/samples",
"max_stars_repo_path": "Framework/Samples/DialogsPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73375"
} | starcoder | using Xamarin.Forms;
namespace Samples
{
public partial class DialogsPage : ContentPage
{
public DialogsPage()
{
this.InitializeComponent();
}
}
} | 1.218765 | 6d3982517e30960184d91dbb5d1c9592 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73375 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "mib-f8sm9c/MarioKart64Pitstop",
"max_stars_repo_path": "Modules/ModuleFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73376"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pitstop64.Modules;
namespace Pitstop64.Modules
{
public static class ModuleFactory
{
public enum Modules
{
Info,
Tracks,
Karts,
Textures,
Text... | 2.650753 | 51b60aa668677a9da186cbf9079a3b71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nilsio63/Generify",
"max_stars_repo_path": "Generify.Models/Playlists/PlaylistOverview.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73377"
} | starcoder | <filename>Generify.Models/Playlists/PlaylistOverview.cs
namespace Generify.Models.Playlists
{
public class PlaylistOverview
{
public string Name { get; set; }
public string Description { get; set; }
public PlaylistDefinition Definition { get; set; }
}
}
| 1.747933 | 02a99b884fee168afd4d01051a581ab0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73377 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/DisplayBindings/ClassDiagram/DiagramRouter/BaseRectangle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73378"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
namespace Tools.Diagrams
{
public abstract class BaseRectangle : IRectangle
... | 2.528266 | 1fdcafb8b50b890f9b55d172bae4d47a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonkolodziej/CredProvider.NET",
"max_stars_repo_path": "CredProvider.NET.Tester/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73379"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CredProvider.NET.Tester
{
class Program
{
static void Main(string[] args)
{
CredUI.Prompt("Verification Check", "Please tap your smart card.");
... | 1.145367 | 8dc515618c478c8504a25dcef61b3b09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73379 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CrazyHein/Weltuna",
"max_stars_repo_path": "Gagharv/Message/RequestMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73380"
} | starcoder | <reponame>CrazyHein/Weltuna<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace AMEC.PCSoftware.CommunicationProtocol.CrazyHein.SLMP.Message
{
[StructLayout(LayoutKind.Sequential, Pack = 1... | 1.795472 | 4b589fc51e894c5cc85511e75960ba6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iamxail/DailyWallpainter",
"max_stars_repo_path": "DailyWallpainter/UI/frmAddtnlOptions.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73381"
} | starcoder | <filename>DailyWallpainter/UI/frmAddtnlOptions.Designer.cs<gh_stars>0
namespace DailyWallpainter.UI
{
partial class frmAddtnlOptions
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... | 1.918767 | d1330fabb09125b5158476db55a2f700 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/ManagedIrbis",
"max_stars_repo_path": "Source/Classic/Libs/ManagedIrbis/Source/Pft/Infrastructure/Text/PftPrettyPrinter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73382"
} | starcoder | <filename>Source/Classic/Libs/ManagedIrbis/Source/Pft/Infrastructure/Text/PftPrettyPrinter.cs
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* PftPrettyPrinter.cs --
* Ars Magna project, http://arsmagna... | 2.461707 | 1a2f7cf4be1e329c29bf20b9587a11e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "compeccentric/SeeSpot",
"max_stars_repo_path": "SeeSpot/SeeSpot/Migrations/20200123235843_BreedID.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73383"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace SeeSpot.Migrations
{
public partial class BreedID : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Breeds_Breeds_BreedID",
... | 1.914235 | 18bd0ace02280ad7deef57313621f484 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73383 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hsz-develop/confluent-kafka-dotnet--unity3d-uwp",
"max_stars_repo_path": "examples/AdvancedProducer/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73384"
} | starcoder | // Copyright 2016-2017 Confluent Inc., 2015-2016 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | 2.391606 | 3c9217920cb26aedaec1be4f24368b33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73384 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "japneetbhatia/Hacktoberfest-Contribution",
"max_stars_repo_path": "contributions/animal-farm/Assets/Scripts/DestroyOutOfBounds.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73385"
} | starcoder | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DestroyOutOfBounds : MonoBehaviour
{
public float topBoundary = 35.0f;
public float lowerBoundary = -35.0f;
// Start is called before the first frame update
void Start()
{
}
... | 2.510725 | 8dbc5a4dfab61053965eeac460599e65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73385 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Missouri-BMI/popmednet",
"max_stars_repo_path": "Lpp.Adapters/Lpp.Dns.DataMart.Client/Forms/CustomDateFilterForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73386"
} | starcoder | namespace Lpp.Dns.DataMart.Client
{
partial class CustomDateFilterForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... | 1.97881 | 953904826265d255ef0958a03b9e29b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "messagemedia/webhooks-csharp-sdk",
"max_stars_repo_path": "MessageMedia.SDK.Webhooks/Models/CreateWebhookRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73387"
} | starcoder |
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using APIMATIC.SDK.Common;
namespace MessageMedia.Webhooks.Models
{
public class CreateWebhook... | 2.217718 | 574700038484e63a67d4a28a76f4f07b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeamAojilu/sukisukisukiman_u1w202012_akeru",
"max_stars_repo_path": "Assets/_Assets/u1w202012/SilCil/Scripts/Pieces/Piece.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73388"
} | starcoder | <reponame>TeamAojilu/sukisukisukiman_u1w202012_akeru<filename>Assets/_Assets/u1w202012/SilCil/Scripts/Pieces/Piece.cs<gh_stars>0
using UnityEngine;
namespace Unity1Week202012
{
[System.Serializable]
public class PieceData
{
public string m_color = "red";
public string m_shape = "0";
... | 1.802737 | bb69b5651d88658f3741a212636d5fdb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73388 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UnosquareBelfast/admin-backend",
"max_stars_repo_path": "AdminCore.Services/Mappings/ContractMapperProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73389"
} | starcoder | <filename>AdminCore.Services/Mappings/ContractMapperProfile.cs<gh_stars>1-10
using AdminCore.DAL.Models;
using AdminCore.DTOs;
using AutoMapper;
namespace AdminCore.Services.Mappings
{
public class ContractMapperProfile : Profile
{
public ContractMapperProfile()
{
CreateMap<Contract, ContractDto>()
... | 2.236418 | d56f1caba94820e97771178ea3e03e4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73389 | {
"extension": "c-sharp",
"max_stars_count": "95.0",
"max_stars_repo_name": "jasonliaocn/dp2",
"max_stars_repo_path": "DigitalPlatform.Script/QuickSjhm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73390"
} | starcoder | <filename>DigitalPlatform.Script/QuickSjhm.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using DigitalPlatform.Xml;
namespace DigitalPlatform.Script
{
/// <summary>
/// 四角号码基础类
/// </summary>
public class QuickSjhm
{
XmlDocument... | 2.569761 | be58f0b5b419c43280cf8c426594e873 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rohanebarrett/funnyaccentscore",
"max_stars_repo_path": "Funny.Accents.Core.Http.RequestService/Funny.Accents.Core.Http.RequestService/Enums/RequestTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73391"
} | starcoder | namespace Funny.Accents.Core.Http.RequestService.Enums
{
public enum RequestType
{
Header = 0,
QueryRoute = 1
}/*End of RequestType enum*/
}/*End of Funny.Accents.Core.Http.RequestService.Enums namespace*/
| 1.534749 | ddfe07ec1fd9fc5ddafcaef8e97e9efa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rsmirnov-bw/com.stansassets.scene-management",
"max_stars_repo_path": "com.stansassets.scene-management/Runtime/Core/SceneActionsQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73392"
} | starcoder | <filename>com.stansassets.scene-management/Runtime/Core/SceneActionsQueue.cs
using System;
using System.Collections;
using System.Collections.Generic;
using StansAssets.Foundation.Async;
using UnityEngine;
namespace StansAssets.SceneManagement
{
public class SceneActionsQueue
{
IScenePreloader m_Preloa... | 2.518203 | abb87b93a8a5628f28f3d9f35f5c1dcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73392 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hnjm/Chatovatko",
"max_stars_repo_path": "Premy.Chatovatko/Premy.Chatovatko.Libs/Validators.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73393"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace Premy.Chatovatko.Libs
{
public static class Validators
{
public static readonly string REGEX_USERNAME = "^[a-zA-Z][-a-zA-Z0-9_]+$";
public static bool ValidateRegexUserName(String... | 2.368538 | 42be361cbff04900a1eca87f953fd656 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ibebbs/stream-net",
"max_stars_repo_path": "src/stream-net/StreamClientToken.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73394"
} | starcoder | <reponame>ibebbs/stream-net<filename>src/stream-net/StreamClientToken.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
namespace Stream
{
public interface IStreamClientToken
{
string CreateUserSessionToken(string userId, I... | 2.470469 | fa6ea06cc5a1401963ef4ecbfd5b9aff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zepedrosilva/DependencyMap",
"max_stars_repo_path": "Backpack.DependencyMap/Processors/PackageSpecificationFileProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73395"
} | starcoder | using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using Neo4jClient;
namespace Backpack.DependencyMap.Processors
{
[DebuggerDisplay("Pattern: {" + nameof(FilePattern) + "}")]
public class PackageSpecific... | 2.376584 | 898982dcfbc216b103c6bd24c3307dd0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73395 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "Warzone2100/SharpFlame",
"max_stars_repo_path": "source/SharpFlame.Core/Domain/WorldPos.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73396"
} | starcoder | using System.Diagnostics;
namespace SharpFlame.Core.Domain
{
[DebuggerDisplay("Horiz.X {Horizontal.X}, Horz.Y {Horizontal.Y}, Alt {Altitude}")]
public struct WorldPos
{
public XYInt Horizontal;
public int Altitude;
public WorldPos( XYInt horizontal, int altitude )
... | 2.478947 | 4317c11fcf3ffbabca5a8532794fc8ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73396 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "harveytriana/BlazorDrawing",
"max_stars_repo_path": "SKTools/PlotLayout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73397"
} | starcoder | /* ===============================
* <NAME>.
* <EMAIL>
* ===============================
General configuration that alia to draw a plot. It is independent of
the library and graphics, it applies to both SkiaSharp and System.Drawing
logical coordinates
(x1, y2) --- (x2, y2)
| |
(x2, y1) -... | 2.954462 | b30ff62d23f43a287ae7c349a6dd979b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73397 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "rclabo/ICU4N",
"max_stars_repo_path": "tests/ICU4N.Tests.Collation/Dev/Test/Collate/G7CollationTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73398"
} | starcoder | <gh_stars>10-100
using ICU4N.Text;
using NUnit.Framework;
using System;
using System.Globalization;
//
// Port From: ICU4C v2.1 : Collate/G7CollationTest
// Source File: $ICU4CRoot/source/test/intltest/g7coll.cpp
//
namespace ICU4N.Dev.Test.Collate
{
public class G7CollationTest : TestFmwk
{
private... | 1.781585 | 4fbe0f82cca4e337553593d96c8bbc64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "teamsmileyface/graphql-dotnet",
"max_stars_repo_path": "src/GraphQL.Tests/Types/BooleanGraphTypeTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73399"
} | starcoder | <gh_stars>0
using GraphQL.Types;
using Should;
namespace GraphQL.Tests.Types
{
public class BooleanGraphTypeTests
{
private BooleanGraphType type = new BooleanGraphType();
[Test]
public void coerces_0_to_false()
{
type.Coerce(0).ShouldEqual(false);
}
... | 2.095165 | 79e5f30a63ceba13a112b8e21bff07ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73399 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "d-wall/fhir-server",
"max_stars_repo_path": "src/Microsoft.Health.Fhir.Azure/KeyVault/Configs/KeyVaultConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73400"
} | starcoder | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 0.925971 | 4dd8d4db9cea4a000f41ab0d083c908f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jg-LitFrame/Lit_Client",
"max_stars_repo_path": "Client/unity_project/Assets/Scripts/Manager/PoolMgr.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73401"
} | starcoder | using UnityEngine;
using System.Collections;
using Lit.Unity;
using System.Collections.Generic;
public class PoolMgr : SingletonBehaviour<PoolMgr> {
public static readonly SpawnPoolsDict Pools = new SpawnPoolsDict();
}
| 1.23292 | 4e0a16f8f24e5e03767af09e9539c774 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73401 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "devbrsa/DomainEventsDemo",
"max_stars_repo_path": "DomainEventsDemo/Tests/StructureMapShould.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73402"
} | starcoder | <reponame>devbrsa/DomainEventsDemo
using System;
using DomainEventsDemo.Model;
using DomainEventsDemo.Model.Events;
using DomainEventsDemo.SharedKernel;
using DomainEventsDemo.SharedKernel.StaticApproach;
using NUnit.Framework;
using StructureMap;
using StructureMap.Graph;
namespace DomainEventsDemo.Tests
{
publi... | 2.234754 | df200c27b535720eeebd2aab73d718a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shahbj79/azure-sdk-for-net",
"max_stars_repo_path": "sdk/formrecognizer/Azure.AI.FormRecognizer/src/Generated/Models/DataTable_internal.Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73403"
} | starcoder | <reponame>shahbj79/azure-sdk-for-net<filename>sdk/formrecognizer/Azure.AI.FormRecognizer/src/Generated/Models/DataTable_internal.Serialization.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
us... | 1.950596 | fb86c6153f9712002153909ef90f4745 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73403 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "abhishekbhalani/DotNetArchitecture",
"max_stars_repo_path": "CrossCutting/Security/Criptography/Criptography.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73404"
} | starcoder | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Solution.CrossCutting.Security
{
public class Criptography : ICriptography
{
private string Key { get; set; }
public string Decrypt(string value)
{
var result = Transform(Convert... | 3.04106 | 71176f5dfce9b4b97717ccd241c31bec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73404 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RinorSvarca/Maze",
"max_stars_repo_path": "ZenselessSourceAppEmpty4/Zenseless.HLGL/StateManagement/BlendParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73405"
} | starcoder | <gh_stars>0
namespace Zenseless.HLGL
{
/// <summary>
/// Represents the available blending parameters.
/// </summary>
public enum BlendParameter
{
/// <summary>
/// The components of the blended color are multiplied by zero.
/// </summary>
Zero,
/// <summary... | 2.592921 | 6a571ada5e5b95025b57880ecde98526 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vadik007/ChromeDevTools",
"max_stars_repo_path": "source/ChromeDevTools/Protocol/iOS/CSS/GetAllStyleSheetsCommandResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73406"
} | starcoder | <reponame>vadik007/ChromeDevTools<filename>source/ChromeDevTools/Protocol/iOS/CSS/GetAllStyleSheetsCommandResponse.cs
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.CSS
{
/// <summary>
/// Returns metainfo entries for all kno... | 1.965312 | 75cfdcb78c1b7373e3a97fd92587306e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73406 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fijal/sentry-unity",
"max_stars_repo_path": "src/Sentry/Protocol/SentryEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73407"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.Serialization;
using Sentry.Infrastructure;
using Sentry.Protocol;
// ReSharper disable once CheckNamespace
namesp... | 2.142735 | c3f94238081bbb92db43ffe59af395bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73407 | {
"extension": "c-sharp",
"max_stars_count": "219.0",
"max_stars_repo_name": "altimesh/hybridizer-basic-samples",
"max_stars_repo_path": "HybridizerBasicSamples_CUDA100/6.WinForms/MandelbrotRenderer/MandelbrotRenderer/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73408"
} | starcoder | <filename>HybridizerBasicSamples_CUDA100/6.WinForms/MandelbrotRenderer/MandelbrotRenderer/Form1.cs
using MandelbrotRenderer.Mandelbrots;
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Drawing.Imaging;
using System.Diagnostics;
using Hybridizer.Runtime.CUDAImports;
using System.Management;... | 2.18715 | 1fd31dd0582bf2979074111d65897888 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73408 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lithiumtoast/c-2-cs",
"max_stars_repo_path": "src/cs/tests/C2CS.Tests.Integration/my_c_library/Fixtures/WriteCodeCSharpFixtureContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73409"
} | starcoder | // Copyright (c) <NAME>. (https://github.com/bottlenoselabs). All rights reserved.
// Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information.
using System.Collections.Immutable;
using C2CS.Tests.Common.Data.Model.CSharp;
using Microsoft.CodeAnalysis.Emit;
usi... | 2.074637 | c0e09773068ac19fc0553028c9be84af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rekjal/VendorAndOrderTracker.Solution",
"max_stars_repo_path": "VendorAndOrderTracker/Views/Orders/New.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:73410"
} | starcoder | <gh_stars>0
@{
Layout = "_Layout";
}
<h1>Vendor And Order Tracker: <span class="titleColor">Add a new Order to @Model.Name</span></h1>
<form action="/vendors/@Model.Id/orders" method="post">
<input id="vendorId" name="vendorId" type="hidden" value="@Model.Id">
<label for="orderDescription">Order Description</l... | 2.388997 | 1578eca38a0dc906188d96829d9d7dfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Smartasses/TypescriptGeneration",
"max_stars_repo_path": "src/TypeScriptGeneration.Core.Tests/Converters/ClassConverterTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73411"
} | starcoder | using System.Configuration;
using FluentAssertions;
using TypeScriptGeneration.Converters;
using Xunit;
namespace TypeScriptGeneration.Tests.Converters
{
public class ClassConverterTests
{
[Fact]
public void ConvertSimpleClass_Arguments()
{
var result = new ClassConverter()... | 2.657706 | 3dbc863ea323007782ef531aead3e4bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gigc/tgcviewer-kinect",
"max_stars_repo_path": "TgcViewer/Utils/Interpolation/InterpoladorVaiven.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73412"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using TgcViewer;
namespace TgcViewer.Utils.Interpolation
{
/// <summary>
/// Utilidad para interpolar linealmente un valor entre un MIN y un MAX, variando en forma de vaiven (subi y baja)
/// a una velocidad determinada.
/// Nunca term... | 3.300904 | 9ea09059ea42129ea21302c25a2a8dfc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73412 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Asterionworld/ether",
"max_stars_repo_path": "OpenSim/Region/CoreModules/Avatar/InstantMessage/MuteListModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73413"
} | starcoder | /*
* Copyright (c) <NAME> Developers
* Copyright (c) Contributors, http://opensimulator.org/
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
... | 1.627095 | 8f903cd999ae4eb42156650fe9717ff2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73413 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "iwelina-popova/HotelSystem",
"max_stars_repo_path": "Source/Services/HotelSystem.Services.Data/HotelRoomsService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73414"
} | starcoder | <reponame>iwelina-popova/HotelSystem<filename>Source/Services/HotelSystem.Services.Data/HotelRoomsService.cs<gh_stars>1-10
namespace HotelSystem.Services.Data
{
using System;
using System.Linq;
using HotelSystem.Data.Common;
using HotelSystem.Data.Models;
using HotelSystem.Services.Data.Con... | 2.637404 | a322489ce7abac5e82d4366b0f734f7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "natis1/HollowKnight.Modding",
"max_stars_repo_path": "Assembly-CSharp/IMod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73415"
} | starcoder | namespace Modding
{
/// <inheritdoc />
/// <summary>
/// Base interface for Mods
/// </summary>
public interface IMod : ILogger
{
/// <summary>
/// Get's the Mod's Name
/// </summary>
/// <returns></returns>
string GetName();
/// <summary>
... | 2.892217 | a5ea693e2b53698f9d85f85f136f767a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73415 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mgnsm/Millistream.NET",
"max_stars_repo_path": "Tests/Millistream.Streaming.DataTypes.UnitTests/MonthTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73416"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Millistream.Streaming.DataTypes.UnitTests
{
[TestClass]
public class MonthTests
{
[TestMethod]
public void ParseMonthTest()
{
ParseMonthTest(2019, 11);
ParseMonthTest(0001, 1);
... | 2.640839 | 2f4db232c9551ab6b56d63996070aba1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AllanUnity/zcode-AssetBundlePacker",
"max_stars_repo_path": "Assets/zcode/AssetBundlePacker/Scripts/Detail/Data/ResourcesPackagesData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73417"
} | starcoder | <reponame>AllanUnity/zcode-AssetBundlePacker
using System.Collections.Generic;
namespace GS.AssetBundlePacker
{
/// <summary>资源包清单数据</summary>
public class ResourcesPackagesData
{
/// <summary>资源包</summary>
public class Package
{
public string Name;
public L... | 2.374955 | 5dee11f5c054a8c81590efa28432e771 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73417 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "IanEscober/DesignPattern",
"max_stars_repo_path": "src/Visitor/Client.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73418"
} | starcoder | namespace Visitor
{
using System;
using System.Collections.Generic;
using Visitor.Elements;
using Visitor.Visitors;
public class Client
{
public static void Main(string[] args)
{
var bindings = new List<IBinding<int>> { new BlobBinding<int>(), new QueueBinding<int>(... | 2.535229 | cb9f7ab0c0c3eb86c62dd5559357e26c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73418 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Steffe1971/aspnetboilerplate",
"max_stars_repo_path": "src/Abp/Configuration/Startup/LocalizationSourceList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73419"
} | starcoder | <filename>src/Abp/Configuration/Startup/LocalizationSourceList.cs
using System.Collections.Generic;
using Abp.Localization.Sources;
namespace Abp.Configuration.Startup
{
/// <summary>
/// A specialized list to store <see cref="ILocalizationSource"/> object.
/// </summary>
public class LocalizationSour... | 1.825194 | bba501daaa63a6cce572ea8c72a070d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73419 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "EladGabay/pulumi-oci",
"max_stars_repo_path": "sdk/dotnet/Core/Outputs/DrgDefaultDrgRouteTables.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73420"
} | starcoder | <reponame>EladGabay/pulumi-oci
// *** 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;
usi... | 1.646376 | bfedb42c4baf049946d45c023496c40c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73420 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SophiaF630/ADTeam5",
"max_stars_repo_path": "ADTeam5/Models/DateRangeAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73421"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ADTeam5.Models
{
public class DateRangeAttribute : ValidationAttribute
{
public override bool IsValid(object value)
{
DateTime da... | 2.523729 | ef7179eb974c017f625a5a98e2ee9a36 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73421 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JeroMiya/androidmono",
"max_stars_repo_path": "MonoJavaBridge/android/generated/java/math/BigDecimal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73422"
} | starcoder | <filename>MonoJavaBridge/android/generated/java/math/BigDecimal.cs
namespace java.math
{
[global::MonoJavaBridge.JavaClass()]
public partial class BigDecimal : java.lang.Number, java.lang.Comparable
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
protected BigDecimal(global::MonoJavaBri... | 2.033737 | 6222b002e1bac1f986b43e9322da341f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73422 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "wrawlsqw/xlg",
"max_stars_repo_path": "MetX/MetX.Standard/Pipelines/xlgFolder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73423"
} | starcoder | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using MetX.Standard.Library;
namespace MetX.Standard.Pipelines
{
/// <summary>
/// Represents a library to generate
/// </summary>
[Serializable, XmlType(Namespace = "", AnonymousType = true)]
public class XlgFolder
... | 2.684361 | e92db618f2d44ed7be17a59b30e219cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73423 | {
"extension": "c-sharp",
"max_stars_count": "139.0",
"max_stars_repo_name": "hnguyenec/NETCoreBlockly",
"max_stars_repo_path": "src/NetCore2Blockly/GraphQLDemo/Service/GraphQLDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73424"
} | starcoder | <filename>src/NetCore2Blockly/GraphQLDemo/Service/GraphQLDbContext.cs<gh_stars>100-1000
using GraphQLDemo.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.Metadata;
namespace GraphQLDemo... | 2.30994 | 0ddec3cb5f25eca3cb2df781749544d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73424 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "stanislavstoyanov99/CinemaWorld",
"max_stars_repo_path": "src/CinemaWorld.Models.ViewModels/News/NewsSingleDetailsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73425"
} | starcoder | namespace CinemaWorld.Models.ViewModels.News
{
using System.Collections.Generic;
using CinemaWorld.Models.ViewModels.Movies;
public class NewsSingleDetailsViewModel
{
public NewsDetailsViewModel News { get; set; }
public IEnumerable<RecentlyAddedMovieDetailsViewModel> LatestMovies { ... | 1.579183 | 2450fc287d007ae1f1ec66c77a49bcda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73425 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markbeij/WebApi",
"max_stars_repo_path": "test/E2ETest/Microsoft.Test.E2E.AspNet.OData/Formatter/ServerDrivenPagingTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73426"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.AspNet.OData;
using Microsoft.OData.Edm;
using Microsoft.Test.E2E.AspNet.OData.Common;
using Microsoft.Test.E2E.A... | 2.043768 | 4219eac2e70d10871ca86229ae0df410 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svetliub/Employee-Management",
"max_stars_repo_path": "EmployeesManagement.Web/obj/Debug/netcoreapp2.1/Razor/Views/Companies/Details.g.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73427"
} | starcoder | <reponame>svetliub/Employee-Management<filename>EmployeesManagement.Web/obj/Debug/netcoreapp2.1/Razor/Views/Companies/Details.g.cshtml.cs
#pragma checksum "C:\Users\Steve\Desktop\Local_Disc(D)\Programirane\STPInformationTechnology\EmployeesManagement\EmployeesManagement.Web\Views\Companies\Details.cshtml" "{ff1816ec-aa... | 1.460309 | a3b5318cdf968b18db73a4c493a1f6b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73427 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Spinit-AB/Spinit.CosmosDb",
"max_stars_repo_path": "Spinit.CosmosDb/Analysis/Tokenizers/WhitespaceTokenizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73428"
} | starcoder | <reponame>Spinit-AB/Spinit.CosmosDb<filename>Spinit.CosmosDb/Analysis/Tokenizers/WhitespaceTokenizer.cs
namespace Spinit.CosmosDb
{
/// <summary>
/// The <see cref="WhitespaceTokenizer"/> breaks text into tokens whenever it encounters a whitespace character.
/// </summary>
public class WhitespaceTokeni... | 2.335491 | 527216ee78b1404729a4105fc0fab629 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73428 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "seand88/PlanetServer",
"max_stars_repo_path": "Demos/Unity/Walkaround/client/Assets/Scripts/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73429"
} | starcoder | /// <summary>
/// General game constants.
/// </summary>
public class Constants
{
public static int SCREEN_WIDTH = 800;
public static int SCREEN_HEIGHT = 600;
public static int TILE_WIDTH = 32;
public static int TILE_HEIGHT = 32;
public static string PLAYER_TYPE = "player_type";
}
| 2.138738 | 0796e4bb30c0f60e09871b01bfb6f9e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73429 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "StutteA/hiVN",
"max_stars_repo_path": "NodeSystem/Nodes/DisplayCharacterNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73430"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XNode;
namespace hiVN
{
[CreateNodeMenu("Character/Show character")]
public class DisplayCharacterNode : BaseNode
{
[Input(ShowBackingValue.Never)] public bool prev;
[Output(ShowBackingValue.Never, ConnectionType.Override, ... | 2.542747 | ce7d16d2a1ff8f3500690c39d5036606 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73430 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vplme/tabi-app",
"max_stars_repo_path": "src/Tabi.Android/CollectionService/LocationServiceConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73431"
} | starcoder | <gh_stars>1-10
using Android.Content;
using Android.OS;
namespace Tabi.Droid
{
public class LocationServiceConnection : Java.Lang.Object, IServiceConnection
{
ILocationServiceBinderClient client;
public LocationServiceConnection(ILocationServiceBinderClient client)
{
this.... | 1.992835 | fd11ef713641551dafad6e2de505c465 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "denizobi/MalzemeTApp",
"max_stars_repo_path": "frm_Giris.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73432"
} | starcoder | namespace _083005334
{
partial class frm_Giris
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... | 1.82692 | d5c29d03cc35975955fcc9e28c449fe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 73432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "getgamebox/console",
"max_stars_repo_path": "src/GameBox.Console/Descriptor/IDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:73433"
} | starcoder | <reponame>getgamebox/console<gh_stars>0
/*
* This file is part of the GameBox package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: https://github.com/getgamebox/console
*/
using GameBox.C... | 1.923581 | 5e00295cd9d4172777ca60275e76fc85 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.