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 | 2237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderKarifanov/learning-socially-about-and-engaging-in-green-business",
"max_stars_repo_path": "SOSIEL EX1/Common/Entities/TakenAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2238"
} | starcoder | <reponame>AlexanderKarifanov/learning-socially-about-and-engaging-in-green-business<filename>SOSIEL EX1/Common/Entities/TakenAction.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace Common.Entities
{
public class TakenAction
{
public string DecisionOptionId { ... | 2.31039 | 2299225b34c176a2880cf8f74f190621 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2238 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "grajekf/AnkhSVN",
"max_stars_repo_path": "src/Ankh.UI/Annotate/AnnotateEditorControl.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2239"
} | starcoder | // $Id$
//
// Copyright 2008-2009 The AnkhSVN Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | 1.270787 | 004dfe8daac72a0e75fa187ba7c4f72b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2239 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "EIDSS/EIDSS-Legacy",
"max_stars_repo_path": "EIDSS v5/bv.designtime/Generator/ModelGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2240"
} | starcoder | using System;
using System.IO;
using System.Xml;
using System.Xml.Xsl;
using System.Xml.XPath;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
using System.Runtime.InteropServices;
using Microsoft.Win32;
// Visual Studio 2010... | 1.992271 | 4b923f5d0923025c7dd3a38b42f59078 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "miniksa/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/ContentStore/Library/Service/Grpc/GrpcCopyClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2241"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Diagnostics.ContractsLight;
using System.IO;
using System.IO.Compression;
using System.Threading;
using System.Threading.Tasks;
using BuildXL.Cache.ContentStore.Distributed;... | 1.551963 | 55f011fa4bf769de734d3ebfd6432650 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "correaAlex/Slipe-Server",
"max_stars_repo_path": "SlipeServer.Server/Elements/Ped.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2242"
} | starcoder | using SlipeServer.Packets.Enums;
using SlipeServer.Server.Collections;
using SlipeServer.Server.Constants;
using SlipeServer.Server.ElementConcepts;
using SlipeServer.Server.Elements.Enums;
using SlipeServer.Server.Elements.Events;
using SlipeServer.Server.Elements.Structs;
using SlipeServer.Server.Enums;
using System... | 2.1169 | 2baadb775dd09ea2c2181949bb71a15d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GrafGenerator/ssrs-report-metrics",
"max_stars_repo_path": "src/GrafGenerator.ReportMetrics.Extensibility/Contract.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2243"
} | starcoder | using System;
using System.Diagnostics;
namespace GrafGenerator.ReportMetrics.Extensibility
{
public class Contract
{
public static void Requires<TException>(bool predicate, string message = "")
where TException : Exception, new()
{
if (predicate) return;
Debug.WriteLine(message);
throw new TExcept... | 2.136528 | f7224b84a16488255aae5f90e4e772b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BradZzz/Jade",
"max_stars_repo_path": "Assets/Scripts_New/Battle/Model/Board/Mechanics/CascadeBoardMechanics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2244"
} | starcoder | <filename>Assets/Scripts_New/Battle/Model/Board/Mechanics/CascadeBoardMechanics.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using Battle.Model.RuntimeBoard;
using UnityEngine;
namespace Battle.UI.RuntimeBoard.Mechanics
{
public class CascadeBoardMechanics : BaseBoardMechanics
{
p... | 1.655303 | c9ac9531d270e61e58dff2eece074246 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chrisaut/corefx",
"max_stars_repo_path": "src/System.IO.FileSystem/tests/Directory/CreateDirectory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2245"
} | 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.Linq;
using Xunit;
namespace System.IO.Tests
{
public class Directory_CreateDirectory : FileSystem... | 2.553244 | aaa194bf88315c807f8d07873ef4c703 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheWizardAndTheWyrd/ArcanaERP",
"max_stars_repo_path": "ArcanaErp.Core/Models/Erp/Preference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2246"
} | starcoder | <filename>ArcanaErp.Core/Models/Erp/Preference.cs
using System;
using System.ComponentModel.DataAnnotations.Schema;
using ArcanaErp.Core.Interfaces.Models.Application;
namespace ArcanaErp.Core.Models.Erp
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
usin... | 1.815717 | 3972fd75e08e95fcdcf89a37e9977c0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2246 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "isabella232/projectluna",
"max_stars_repo_path": "src/Luna.Clients/Models/Controller/Backend/GetADeployOperationByEndpointIdUserResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2247"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Luna.Clients.Models.Controller.Backend
{
public class GetADeployOperationByEndpointIdUserResponse
{
public string status { get; set; }
public string startTimeUtc { get; set; }
public string endTimeUtc { get; s... | 1.541927 | 09b7aef217440b6c37e65be7d0b7b2e2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2247 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CARLORION/ExemploCSharpWebserviceRestfulSoap",
"max_stars_repo_path": "WindowsFormsApplication1/Service References/wsServico/Reference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2248"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18063
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | 1.568189 | 65525aea1035a7ef8784feb0cdf91336 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Marlon3DS/CSharpPoo",
"max_stars_repo_path": "ExercicioFixacao3_5/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2249"
} | starcoder | <filename>ExercicioFixacao3_5/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExercicioFixacao3_5
{
class Program
{
static void Main(string[] args)
{
int[] cursoA = lerAlunos('A');
... | 3.493057 | be16a5e37d587f2367aa3c3be581507d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soeom/azure-sdk-for-net",
"max_stars_repo_path": "sdk/core/Azure.Core/tests/TestFramework/RecordedTestBase{TEnvironment}.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2250"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Azure.Core.Testing
{
public abstract class RecordedTestBase<TEnvironment> : RecordedTestBase where TEnvironment: TestEnvironment, new()
{
protected RecordedTestBase(bool isAsync) : base(isAsync)
... | 1.842852 | 1cc1c27029920f069afd49fada75998e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "coldraydk/coldbot",
"max_stars_repo_path": "src/coldbot/Models/Magic/GameResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2251"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using ColdBot.Services;
namespace ColdBot.Models.Magic
{
public class GameResult
{
public String Id { get; set; }
public GameMode GameMode { get; set; }
... | 1.950019 | c6802b81bbdcc279492008cfb18a6222 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2251 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "panoramicdata/ConnectMagic",
"max_stars_repo_path": "PanoramicData.ConnectMagic.Service/Models/DataClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2252"
} | starcoder | namespace PanoramicData.ConnectMagic.Service.Models
{
/// <summary>
/// A data class
/// </summary>
public class DataClass : NamedItem
{
}
} | 1.377179 | 04ed065a6a850b60cfc2c29263b523a0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2252 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SuperJMN/WalletWasabi",
"max_stars_repo_path": "WalletWasabi.Fluent/Helpers/TextHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2253"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using NBitcoin;
using WalletWasabi.Fluent.ViewModels;
namespace WalletWasabi.Fluent.Helpers;
public static class TextHelpers
{
public static string AddSIfPlural(int n) => n > 1 ? "s" : "";
public static string CloseSentenceI... | 2.785492 | 408342a5090b8d1ccc8083c1b22db3b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2253 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wdolek/benchmarkator",
"max_stars_repo_path": "src/Benchmarkator/Bitmap/BitmapRandomContains.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2254"
} | starcoder | <reponame>wdolek/benchmarkator<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Order;
namespace Benchmarkator.Bitmap
{
[Orderer(SummaryOrderPolicy.FastestToSlowest)]
public class BitmapRandomContains
{
[Params(32, 1024)]
... | 3.007393 | fea2eaa3973dacb0af5d5c03966e4312 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2254 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mahmoudeid789/StockSharp",
"max_stars_repo_path": "Algo/Testing/ExecutionLogConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2255"
} | starcoder | <reponame>mahmoudeid789/StockSharp
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agree... | 2.087281 | d1b007ff88cf1d59922f7b2c4ef4aad8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iotconnect-apps/AppConnect-SmartGenSet",
"max_stars_repo_path": "iot.solution.service/Implementation/KitTypeService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2256"
} | starcoder | using component.logger;
using iot.solution.model.Repository.Interface;
using iot.solution.service.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using Entity = iot.solution.entity;
using LogHandler = component.services.loghandler;
namespace iot.solution.service.Implementation
{
publ... | 2.16668 | 7b0fe650ad4ccdc3bc12c06a3119e3fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucasgpgpae/Maxst_AR_SDK--Sample",
"max_stars_repo_path": "Assets/ExtraSample/Scripts/GlacierTrackingEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2257"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GlacierTrackingEventHandler : TrackingEventHandler
{
public override void OnTrackingSuccess()
{
}
public override void OnTrackingFail()
{
}
}
| 1.360688 | d6b16d164a405298672b53df93fda403 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2257 | {
"extension": "c-sharp",
"max_stars_count": "208.0",
"max_stars_repo_name": "neonowy/vrs",
"max_stars_repo_path": "VirtualRadar.Interface/Settings/ConfigurationListenerGroup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2258"
} | starcoder | // Copyright © 2014 onwards, <NAME>
// All rights reserved.
//
// Redistribution and use of this software 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 notice, this list ... | 1.626375 | 9fbb0b0389e9b0d7b595986fce1be51c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2258 | {
"extension": "c-sharp",
"max_stars_count": "204.0",
"max_stars_repo_name": "sergegommers/OpenSleigh",
"max_stars_repo_path": "tests/OpenSleigh.E2ETests/MongoRabbit/MongoRabbitParentChildScenario.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2259"
} | starcoder | using MongoDB.Driver;
using OpenSleigh.Core.DependencyInjection;
using OpenSleigh.Core.Tests.E2E;
using OpenSleigh.Core.Tests.Sagas;
using OpenSleigh.Persistence.Mongo;
using OpenSleigh.Transport.RabbitMQ;
using OpenSleigh.Transport.RabbitMQ.Tests.Fixtures;
using RabbitMQ.Client;
using System;
using System.Collections... | 1.775778 | 643dd7428de9618ec7785b9561f8012b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2259 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "suigintou/rmart",
"max_stars_repo_path": "RMArt.Web/App_Start/BundleConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2260"
} | starcoder | <reponame>suigintou/rmart
using System.Web.Optimization;
namespace RMArt.Web
{
public static class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new StyleBundle("~/css").Include("~/Styles/*.css"));
bundles.Add(new ScriptBundle("~/js").Include("~/Scripts/*.js"));... | 1.552753 | dd350952edce321c0fb0ebb28110b247 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2260 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brian-nelson/traveller-tools",
"max_stars_repo_path": "src/Apps/Common/Generators/StellarSystemAttributes/SystemNatureGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2261"
} | starcoder | <filename>src/Apps/Common/Generators/StellarSystemAttributes/SystemNatureGenerator.cs<gh_stars>0
using TravellerUtils.Libraries.Common.Constants;
using TravellerUtils.Libraries.Common.Helpers;
namespace TravellerUtils.Libraries.Common.Generators.StellarSystemAttributes
{
public static class SystemNatureGenerator
... | 2.530063 | 6d13b132a5be80800b9341fc36ebdd29 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2261 | {
"extension": "c-sharp",
"max_stars_count": "475.0",
"max_stars_repo_name": "Mu-L/Tank",
"max_stars_repo_path": "Assets/CsProtocol/Buffer/LittleEndianByteBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2262"
} | starcoder | using System;
namespace CsProtocol.Buffer
{
public class LittleEndianByteBuffer : ByteBuffer
{
/**
* 翻转字节数组,如果本地字节序列为低字节序列,则进行翻转以转换为高字节序列
*/
private static byte[] reverse(byte[] bytes)
{
Array.Reverse(bytes);
return bytes;
}
publi... | 3.212012 | c819b3c91f1ccf271f8e8c018bfaee53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2262 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lxkbest/SexyColor.Net",
"max_stars_repo_path": "SexyColor.Api/Controllers/v1.0.0/UsersController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2263"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using SexyColor.Infrastructure;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace SexyColor.Api.Controllers.v1_... | 2.238459 | b1d357014c17f501d6ec517639f62eef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prietop97/Macro-Calculator",
"max_stars_repo_path": "Application/MainDTOs/MappingProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2264"
} | starcoder | using System.Collections.Generic;
using Domain.MealEntities;
using AutoMapper;
using Domain.UserEntities;
using Application.UserStats.DTOs;
namespace Application.MainDTOs
{
public class ActivityFactorMappingProfile : Profile
{
public ActivityFactorMappingProfile()
{
CreateMap<Activ... | 1.982123 | 0aa0887aaf1b17af8debe3c4fb0f6e94 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2264 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "JoshLmao/ArtifactAPI.NET",
"max_stars_repo_path": "ArtifactAPI/Encoding/Helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2265"
} | starcoder | namespace ArtifactAPI.Encoding
{
internal class Helper
{
public static string StripTags(string s)
{
System.Text.RegularExpressions.Regex regHtml = new System.Text.RegularExpressions.Regex("<[^>]*>");
return regHtml.Replace(s, "");
}
}
}
| 2.026661 | ef6e58d5941839114cb87741ba671242 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeaDrivenDev/AutoFixture",
"max_stars_repo_path": "Src/AutoMoqUnitTest/MockSealedPropertiesCommandTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2266"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Moq;
using Ploeh.AutoFixture.AutoMoq.UnitTest.TestTypes;
using Ploeh.AutoFixture.Kernel;
using Xunit;
using Xunit.Extensions;
namespace Ploeh.AutoFixture.AutoMoq.UnitTest
{
#pragma warning disable 618
... | 2.324334 | 4392ba2493363efdf395e262e2e28e11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2266 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "cwickham3/azure-powershell",
"max_stars_repo_path": "src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2267"
} | starcoder | <filename>src/ResourceManager/Automation/Commands.Automation/Cmdlet/NewAzureAutomationConnection.cs
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this ... | 2.073887 | 09d6fcb13dcc75305237d74301d99d2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2267 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tbg10101/SubstanceProceduralCubemapGenerator",
"max_stars_repo_path": "Assets/10101 Software/Procedural Cubemap Generator/Example/ExmpleCubemapGeneratorClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2268"
} | starcoder | using UnityEngine;
using UnityEditor;
using Substance.Game;
/*
This is an examle of how to use the procedural cubemap generator and the cubemap it generates.
*/
public class ExmpleCubemapGeneratorClient : MonoBehaviour {
//this is the procedural material being used in this example
public SubstanceGraph in... | 2.587078 | d9c01f774b47da974b44c9b3e33be9ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2268 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hueifeng/akka.net",
"max_stars_repo_path": "src/core/Akka/NotUsed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2269"
} | starcoder | <reponame>hueifeng/akka.net
//-----------------------------------------------------------------------
// <copyright file="NotUsed.cs" company="Akka.NET Project">
// Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.n... | 2.465049 | 93cf3f9dd40dd55c8b9b780a8bf5b6fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2269 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alex-jitbit/docs",
"max_stars_repo_path": "docs/standard/serialization/snippets/system-text-json-how-to/csharp/DictionaryTKeyEnumTValueConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2270"
} | starcoder | <reponame>alex-jitbit/docs
using System.Reflection;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace SystemTextJsonSamples
{
public class DictionaryTKeyEnumTValueConverter : JsonConverterFactory
{
public override bool CanConvert(Type typeToConvert)
{
if (!typ... | 2.756712 | 1c5df5b346e93ca6841da26ce54a8073 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2270 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "japf/AdaptiveTileExtensions",
"max_stars_repo_path": "AdaptiveTileExtensions/Group.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2271"
} | starcoder | using System.Collections.Generic;
using System.Text;
namespace AdaptiveTileExtensions
{
internal class Group : Item
{
internal Group()
{
SubGroups = new List<SubGroup>();
}
internal List<SubGroup> SubGroups { get; set; }
internal override string GetXml()
... | 2.736505 | 5c038f9a0f1449cf9731ff75858d32af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2271 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afermon/TuBus",
"max_stars_repo_path": "WebApp/Views/Ruta/vVer.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:2272"
} | starcoder | @using WebApp.Helpers;
@{
ViewBag.Title = "Ver Ruta";
Layout = "~/Views/Shared/_LayoutDashboard.cshtml";
}
<!-- Styles -->
@section Styles {
@Styles.Render("~/Content/form")
<link rel="stylesheet" href="~/Content/views/vRegistrarTerminal.css">
}
<!-- Scripts -->
@section Scripts {
@Scripts.Render... | 1.934673 | 05c6ffbdb9091bb5dfd9b66bdced6e2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2272 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "thejamilah/Data-Structures-and-Algorithms",
"max_stars_repo_path": "Data-Structures/BinaryTree/BinaryTree/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2273"
} | starcoder | using System;
namespace BinaryTree
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("Binary Tree");
BinarySearchTree tree1 = new BinarySearchTree();
tree1.add(100);
tree1.add(90);
tree1.add(80);
... | 2.898414 | 81068544f0a87387d35273b6f1aecf7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2273 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marneimax/space-station-14",
"max_stars_repo_path": "Content.IntegrationTests/Tests/GridTileLookupTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2274"
} | starcoder | <filename>Content.IntegrationTests/Tests/GridTileLookupTest.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using Robust.Server.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.Map;
using Robust.Shared.Maths;
namespace Content.IntegrationTes... | 2.284253 | 13325f09ddc7c7a4199aba94067f4d33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2274 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MGaden/Asp-MVC-SPA-AngularJS-WebAPI",
"max_stars_repo_path": "WebClient/WebClient/Controllers/Api/BaseApiController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2275"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Web;
using System.Web.Http;
namespace WebClient.Controllers.Api
{
public class BaseApiController : ApiController
{
protected override void Initialize(System.... | 2.58918 | a46d8e86a5f21662bc3115768d4903d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2275 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ForNeVeR/Avalonia",
"max_stars_repo_path": "src/Windows/Perspex.Win32/PlatformConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2276"
} | starcoder | <filename>src/Windows/Perspex.Win32/PlatformConstants.cs
// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Perspex.Win32
{
public static class PlatformConstants
{
public const st... | 1.677164 | f16f1985ae7200143a6e9965203168f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2276 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "ryanlengel/botframework-components",
"max_stars_repo_path": "skills/csharp/pointofinterestskill/Dialogs/RouteDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2277"
} | starcoder | <reponame>ryanlengel/botframework-components<filename>skills/csharp/pointofinterestskill/Dialogs/RouteDialog.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using... | 2.082287 | b25becd323b0ad6fa8dc9c770311fec0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2277 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/cmd/vendor/golang.org/x/sys/unix/syscall_openbsd_arm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2278"
} | starcoder | <gh_stars>100-1000
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build arm,openbsd
// package unix -- go2cs converted at 2020 October 09 05:56:56 UTC
// import "cmd/vendor/golang.org/x/sys/unix" ==> us... | 1.486516 | 4997812b0d1a2633a2c74f5b4c26d056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2278 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "emmanuel211g/FinderOuter",
"max_stars_repo_path": "Src/Tests/Models/ReportTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2279"
} | starcoder | // The FinderOuter
// Copyright (c) 2020 Coding Enthusiast
// Distributed under the MIT software license, see the accompanying
// file LICENCE or http://www.opensource.org/licenses/mit-license.php.
using FinderOuter.Models;
using Xunit;
namespace Tests.Models
{
public class ReportTests
{
[Fact]
... | 2.217196 | 8a581f8555e6ccc56f1053fbe7fdeb43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2279 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "twilightshore/BlueMagicNET",
"max_stars_repo_path": "DrkMgk/ManagedAlloc.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2280"
} | starcoder | <filename>DrkMgk/ManagedAlloc.cs
using System;
using System.Runtime.InteropServices;
namespace DrkMgk
{
public interface ManagedAlloc : IDisposable
{
byte[] Read();
T Read<T>() where T : struct;
void Write(byte[] bytes);
void Write<T>(T value) where T : struct;
}
publi... | 2.912068 | e207f1fa1d09123b73ae292efa1e835f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2280 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "TheJVaughan/Amazon",
"max_stars_repo_path": "src/Amazon.S3/Polyfills/ValueStringBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2281"
} | starcoder | <gh_stars>10-100
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Via: https://github.com/dotnet/runtime/blob/ab7492c4a77f0315d384b4c7648d0cefa36b18d1/src/libraries/Common/src/System/Text/ValueStringBuilder.cs
#pragma war... | 2.769392 | b511e95826591f77a6d3a20f278fcf1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2281 | {
"extension": "c-sharp",
"max_stars_count": "110.0",
"max_stars_repo_name": "warriorone/DevCamp",
"max_stars_repo_path": "HOL/dotnet/07-bot/start/CityPowerBot/Global.asax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2282"
} | starcoder | <gh_stars>100-1000
using System;
using Autofac;
using System.Web.Http;
using System.Configuration;
using Microsoft.Bot.Connector;
using Microsoft.Bot.Builder.Azure;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Dialogs.Internals;
namespace CityPowerBot
{
public class WebApiApplication : System.Web... | 1.929698 | 2ed4679153452045ca1a925fa1d4bbec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2282 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VoiDeD/OctgnArtReplacer",
"max_stars_repo_path": "OctgnArtReplacer/Replacer/ArtReplacer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2283"
} | starcoder | <reponame>VoiDeD/OctgnArtReplacer
using OctgnArtReplacer.Octgn;
using OctgnArtReplacer.Octgn.Mtg;
using OctgnArtReplacer.Octgn.Schema;
using OctgnArtReplacer.Octgn.SchemaExtensions;
using OctgnArtReplacer.Replacer.Images;
using OctgnArtReplacer.Util;
using System;
using System.Collections.Generic;
using System.IO;
usi... | 2.335106 | 49a3ab91392ba79fef603ca9f6c2599a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2283 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Pasha0666/testing",
"max_stars_repo_path": "cs/HomeExercises/NumberValidatorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2284"
} | starcoder | using System;
using System.Text.RegularExpressions;
using FluentAssertions;
using NUnit.Framework;
namespace HomeExercises
{
[TestFixture]
public class NumberValidatorTests
{
[TestCase(-1, 2, TestName = "Кол-во знаков отрицательное")]
[TestCase(0, 2, TestName = "Кол-во знаков равно нулю")]
[TestCase(1, -1, T... | 3.226489 | 91ea612f65d6efe078f4c3b8a1acabe9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Yu-weiz/PhotoCreator",
"max_stars_repo_path": "WPPhotoEditor/Views/SettingPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2285"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Microsoft.Phone.Tasks;
using System.Windows.Media.Imaging;
using System.Windows.M... | 2.240281 | 2d314cbdd19d45d5420363011e24237b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2285 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ly931003/ing",
"max_stars_repo_path": "src/HeavenlyWind.Game/Models/Raw/RawEquipmentInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2286"
} | starcoder | using Newtonsoft.Json;
namespace Sakuno.KanColle.Amatsukaze.Game.Models.Raw
{
public class RawEquipmentInfo : IID
{
[JsonProperty("api_id")]
public int ID { get; set; }
[JsonProperty("api_sortno")]
public int SortNumber { get; set; }
[JsonProperty("api_name")]
... | 1.652162 | 9d3bb8c25bad1e5364ad157fc71aba87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2286 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "jbe2277/dotnetpad",
"max_stars_repo_path": "src/DotNetPad/DotNetPad.Applications/Samples/NullableReferenceTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2287"
} | starcoder | <gh_stars>100-1000
#nullable enable
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Runtime.CompilerServices;
using static System.Console;
namespace Waf.DotNetPad.Applications.Samples
{
public static class Nullable... | 2.999882 | df4fbebf3650b70d25213bde8fde2f0f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dominik-K/pulumi-aws",
"max_stars_repo_path": "sdk/dotnet/Apigatewayv2/Api.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2288"
} | starcoder | <gh_stars>0
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serializa... | 1.692052 | 0a0dce7c4afa07c0e9eff33af860a0e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2288 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trdwll/Heartbeat",
"max_stars_repo_path": "src/Classes/Core/Tabs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2289"
} | starcoder | /*
* Copyright (c) 2016-2019 Russ 'trdwll' Treadwell. All rights reserved.
* Licensed under the MIT License. See LICENSE.md file in the project root for full license information.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windo... | 2.303113 | 11d383da7ad9ddc793b67ab25ce946b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2289 | {
"extension": "c-sharp",
"max_stars_count": "218.0",
"max_stars_repo_name": "encrypt0r/stark",
"max_stars_repo_path": "src/compiler/StarkPlatform.Compiler.Features/AddImport/SymbolReferenceFinder_PackageAssemblySearch.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2290"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
using StarkPlatform.Compiler.Packaging;
using StarkPlatform.Compiler.PooledObjects;
using StarkPlatform... | 1.706579 | c50db07fa126110dc08390b052805c3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bnji/SimpleCMS",
"max_stars_repo_path": "SimpleCMS/SimpleCMS/BLL/ChangeEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2291"
} | starcoder | using SimpleCMS.DAL;
using SimpleCMS.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SimpleCMS.BLL
{
public class ChangeEventHandler
{
private string _userIdCode;
public ChangeEventHandler(string userIdCode)
{
this._us... | 2.440981 | 279088f6cbcb6da5fbbb45b199e15a25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tkirill/mongo-csharp-driver",
"max_stars_repo_path": "src/MongoDB.Driver.Core/Core/WireProtocol/Messages/Encoders/JsonEncoders/JsonMessageEncoderFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2292"
} | starcoder | <filename>src/MongoDB.Driver.Core/Core/WireProtocol/Messages/Encoders/JsonEncoders/JsonMessageEncoderFactory.cs
/* Copyright 2013-2015 MongoDB Inc.
*
* 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 Licens... | 2.019571 | 54969387bc3d6b1685f49d590d42d1b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2292 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aylosx/xrm-suite",
"max_stars_repo_path": "src/Sdk/Common/FileHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2293"
} | starcoder | namespace Aylos.Xrm.Sdk.Common
{
using System;
using System.Diagnostics;
using System.IO;
public static class FileHelper
{
public static string GetFileVersion(string fileName)
{
if (string.IsNullOrWhiteSpace(fileName)) throw new ArgumentNullException(nameof(fileName));
... | 2.341926 | fd0f1f9dc17e3df64bd45e01d2c712c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2293 | {
"extension": "c-sharp",
"max_stars_count": "220.0",
"max_stars_repo_name": "john-obrien/conventions",
"max_stars_repo_path": "src/GraphQL.Conventions/Adapters/IGraphTypeAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2294"
} | starcoder | using GraphQL.Conventions.Types.Descriptors;
namespace GraphQL.Conventions.Adapters
{
public interface IGraphTypeAdapter<TSchemaType, TGraphType>
{
TSchemaType DeriveSchema(GraphSchemaInfo schemaInfo);
TGraphType DeriveType(GraphTypeInfo typeInfo);
void RegisterScalarType<TType>(strin... | 1.789251 | 85a5fa1880943acbc0e906fed6f72446 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2294 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LocalJoost/ExampleSpatialMeshExample",
"max_stars_repo_path": "Assets/MRTK/Tests/PlayModeTests/InputRayUtilsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2295"
} | starcoder | <filename>Assets/MRTK/Tests/PlayModeTests/InputRayUtilsTests.cs<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if !WINDOWS_UWP
// When the .NET scripting backend is enabled and C# projects are ... | 2.192063 | 1a16896832865b32917fbd39c5bc982d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TrustMan/TOSoB",
"max_stars_repo_path": "src/Orchard.ContentManagement.Abstractions/IContentFieldFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2296"
} | starcoder | using Orchard.ContentManagement;
public interface IContentFieldFactory
{
ContentField CreateContentField(string fieldName);
} | 1.431615 | c810f3d0a8fc174dafc465ea3ffb1de3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2296 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wrsxinlang/MiCake",
"max_stars_repo_path": "src/framework/MiCake.EntityFrameCore/Modules/MiCakeBuilderEFCoreExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2297"
} | starcoder | using MiCake.Core;
using MiCake.Core.DependencyInjection;
using MiCake.EntityFrameworkCore.Modules;
using MiCake.EntityFrameworkCore.Uow;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace MiCake.EntityFrameworkCore
{
public static class MiCakeBuilderEFCoreExtension
{
/// <summary... | 1.909524 | 0a2a1955ec67d10fea3a4a8aeefa5701 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2297 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sunilsamal4commit/IOT",
"max_stars_repo_path": "csharp/device/Microsoft.Azure.Devices.Client/Common/Exceptions/DeviceMessageLockLostException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2298"
} | starcoder | <filename>csharp/device/Microsoft.Azure.Devices.Client/Common/Exceptions/DeviceMessageLockLostException.cs<gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.Client.Except... | 2.509163 | efc4ebd07e65da58db5c9a9f6e38b1bc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2298 | {
"extension": "c-sharp",
"max_stars_count": "695.0",
"max_stars_repo_name": "fenglui/Sheng.WeixinConstruction",
"max_stars_repo_path": "SourceCode/Sheng.WeixinConstruction.Core/DomainPool/DomainContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2299"
} | starcoder | <filename>SourceCode/Sheng.WeixinConstruction.Core/DomainPool/DomainContext.cs
/*
********************************************************************
*
* 曹旭升(sheng.c)
* E-mail: <EMAIL>
* QQ: 279060597
* https://github.com/iccb1013
* http://shengxunwei.com
*
* © Copyright 2016
*
*********************... | 1.786861 | 760ad819a43ef1b406ca0f374cafed2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2299 | {
"extension": "c-sharp",
"max_stars_count": "157.0",
"max_stars_repo_name": "davhdavh/BrowserInterop",
"max_stars_repo_path": "src/BrowserInterop/Storage/StorageEstimateUsageDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2300"
} | starcoder | namespace BrowserInterop.Storage
{
/// <summary>
/// breakdown of usage by storage system. All included members will have a usage greater than 0 and any storage system with 0 usage will be excluded from the dictionary.
/// </summary>
public class StorageEstimateUsageDetails
{
public long ... | 1.960383 | 75c4b21be0aea4dd940ed66b59cd33f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2300 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "profan/stride",
"max_stars_repo_path": "sources/engine/Stride.Graphics/Font/OfflineRasterizedSpriteFont.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2301"
} | starcoder | // Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System.Collections.Generic;
using Stride.Core.Mathematics;
using Stride.Core.Serializatio... | 2.291319 | ab724ca0dbbd7ccfb8220f07669bfc23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2301 | {
"extension": "c-sharp",
"max_stars_count": "1010.0",
"max_stars_repo_name": "MiggieNRG/microsoft-authentication-library-for-dotnet",
"max_stars_repo_path": "src/client/Microsoft.Identity.Client/Platforms/Android/Broker/BrokerConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2302"
} | starcoder | <reponame>MiggieNRG/microsoft-authentication-library-for-dotnet
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Identity.Client.Platforms.Android.Broker
{
internal static class BrokerConstants
{
public const int BrokerRequestId = 100... | 1.12614 | de5e74c47192495e4c4d67c6e7e1bf9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2302 | {
"extension": "c-sharp",
"max_stars_count": "218.0",
"max_stars_repo_name": "encrypt0r/stark",
"max_stars_repo_path": "src/compiler/StarkPlatform.Compiler/CodeGen/MetadataNamedArgument.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2303"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using StarkPlatform.Compiler.Text;
using Cci = StarkPlatform.Cci;
namespace StarkPlatform.Compiler.CodeGen
{
/// <summary>
/// An expression that re... | 2.382564 | 201082afec94d455a2e722755304aa50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lightest-dev/lightest-api",
"max_stars_repo_path": "src/Lightest.Api/Extensions/AccessRightsExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2304"
} | starcoder | <gh_stars>0
using Lightest.Data.Models.TaskModels;
namespace Lightest.Api.Extensions
{
public static class AccessRightsExtensions
{
public static void CopyTo(this IAccessRights original, IAccessRights target)
{
target.CanRead = original.CanRead;
target.CanWrite = origina... | 1.887844 | ff477660188111214e3e666b2a0aa159 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2304 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "neurocis/.net_Bitcoin_Library",
"max_stars_repo_path": "Bitcoin Tool/DataConverters/Base58String.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2305"
} | starcoder | <reponame>neurocis/.net_Bitcoin_Library
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
namespace BitCoin.DataConverters
{
public static class Base58String
{
private const string base58chars = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopq... | 3.053871 | b0fdb9c17ca715c68f15737eb67a7a85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Suence/OTLog",
"max_stars_repo_path": "SRC/Modules/OTLog.Home/ViewModels/NewItemViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2306"
} | starcoder | using OTLog.Core.Constants;
using OTLog.Core.Enums;
using OTLog.Core.Events;
using OTLog.Core.Extensions;
using OTLog.Core.Models;
using OTLog.Core.Utils;
using Prism.Commands;
using Prism.Events;
using Prism.Mvvm;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
namespace OTLog... | 2.077249 | ed12c06a866338a435e1d1cd3b6c1da8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2306 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LloydAZ/Sokoban",
"max_stars_repo_path": "Sokoban/Floor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2307"
} | starcoder | <reponame>LloydAZ/Sokoban
namespace Sokoban
{
/// <summary>
/// Represents an open floor space in the game.
/// </summary>
class Floor : Symbol
{
/// <summary>
/// Constructor
/// </summary>
public Floor()
{
this.currentSymbol = SYMBOL_FLOOR;
... | 2.234251 | 237b44fcb3a00ac604f86a9b3c05656a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SamerAlRawi/SleepingBarber",
"max_stars_repo_path": "SleepingBarber/PersistenceCustomersQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2308"
} | starcoder | <reponame>SamerAlRawi/SleepingBarber<filename>SleepingBarber/PersistenceCustomersQueue.cs
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace SleepingBarber
{
public class PersistenceCustomersQueue<... | 2.900646 | 9064b0c8c6231fb424825a996d1bb145 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotnet-maestro-bot/cli",
"max_stars_repo_path": "src/dotnet/commands/dotnet-run/RunCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2309"
} | starcoder | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Evaluation;
using Microsoft.DotNet.Cli... | 1.958204 | a2e222a09b09b5e807fb1450ea82302f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dongyanyan/xLua",
"max_stars_repo_path": "Assets/XLua/Examples/08_Hotfix/HotfixTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2310"
} | starcoder | using UnityEngine;
using XLua;
[Hotfix]
public class HotfixTest : MonoBehaviour
{
LuaEnv luaenv = new LuaEnv();
public int tick = 0; //如果是private的,在lua设置xlua.private_accessible(CS.HotfixTest)后即可访问
// Use this for initialization
void Start()
{
}
// Update is called once pe... | 2.347491 | 0e92f1a1e663f34b527f9adfadd0b0aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2310 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "xforever1313/GenericIrcBot",
"max_stars_repo_path": "Chaskis/Plugins/CapsWatcher/CapsWatcherConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2311"
} | starcoder | //
// Copyright <NAME> 2016-2021.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
using System;
using System.Collections.Generic;
using System.Text;
using SethCS.Exceptions;
namespace Ch... | 2.852231 | 5efc06d1128a8853141120bced934842 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2311 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DavidMoore/Foundation",
"max_stars_repo_path": "Code/Foundation.Data.ActiveRecord/Security/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2312"
} | starcoder | <reponame>DavidMoore/Foundation
using System;
using Castle.ActiveRecord;
using Castle.Components.Validator;
using Foundation.Services.Security;
namespace Foundation.Data.ActiveRecord.Security
{
[ActiveRecord]
public class User : IWebUser<Guid>
{
/// <summary>
/// Primary key
... | 2.138141 | 981f882ddfbd6cd256c3b6abff64c85a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2312 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "marinoscar/workflow-analyzer-sample",
"max_stars_repo_path": "code/wa.sample.rules/CreateTestDataRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2313"
} | starcoder | <reponame>marinoscar/workflow-analyzer-sample
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UiPath.Studio.Activities.Api.Analyzer.Rules;
using UiPath.Studio.Analyzer.Models;
na... | 2.501656 | 22da31b269a31687e826fd3093274737 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2313 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/Monitor/Monitor/TransitionalClasses/ActivityLogAlertResource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2314"
} | starcoder | // ----------------------------------------------------------------------------------
//
// 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 obtain a copy of the License at
// http://w... | 1.985495 | 72d5847a5e0129a489dab32d53475981 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JustAeris/Wyrobot",
"max_stars_repo_path": "Wyrobot/Scheduler/Setup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2315"
} | starcoder | using System.Threading.Tasks;
using System.Timers;
using static Wyrobot.Core.Scheduler.Event;
namespace Wyrobot.Core.Scheduler
{
public static class Setup
{
public static async Task SetupAsync()
{
var timer = new Timer {Interval = 60000, AutoReset = true};
timer.Elapse... | 2.149249 | 635349f1e76bd2ce9c167f774ab17386 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2315 | {
"extension": "c-sharp",
"max_stars_count": "2470.0",
"max_stars_repo_name": "Hungkoi99/NiceHashMiner",
"max_stars_repo_path": "src/NiceHashMiner/Views/Settings/SettingsCheckBoxItem.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2316"
} | starcoder | <reponame>Hungkoi99/NiceHashMiner
using NHMCore.Configs;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace NiceHashMiner.Views.Settings
{
/// <summary>
/// Interaction logic for SettingsCheckBoxItem.xaml
/// </summary>
public partial... | 2.173759 | fcc356fbe7e34743938b8c2139b85c74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lolPants/UnityBinaryTool",
"max_stars_repo_path": "Unity/DownloadManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2317"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using UnityBinaryTool.Exceptions;
using static UnityBinaryTool.Http;
namespace UnityBinaryTool.Unity
{
static class DownloadManager
{
public... | 2.406611 | a4e6cc3453e90e5260503b43bce00532 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fabrianivan21/Skripsi",
"max_stars_repo_path": "src/SkripsiIvan/Views/Home/Kontak.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:2318"
} | starcoder | @{
ViewData["Title"] = "Kontak";
}
<h2>@ViewData["Title"].</h2>
<h3>@ViewData["Message"]</h3>
<address>
Jl. Pulo Asem Utara I No. 12<br />
DKI Jakarta, Indonesia 13220<br />
<abbr title="Phone">P:</abbr>
0811-2818-184
</address>
<address>
<strong>E-mail:</strong> <a href="mailto:<EMAIL>"><EMA... | 1.724727 | 96cc326f00b91169c55af48dbfcabd35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LeviButcher/tutor-proto",
"max_stars_repo_path": "backend/TutorPrototype/TutorPrototype/Migrations/20190528214337_initial.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2319"
} | starcoder | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TutorPrototype.Migrations
{
public partial class initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.... | 1.982978 | 6f599ecf747f655c0b2a31a0849648c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BatNiy/snowflake-connector-net",
"max_stars_repo_path": "Snowflake.Data/Core/Authenticator/IAuthenticator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2320"
} | starcoder | <filename>Snowflake.Data/Core/Authenticator/IAuthenticator.cs
/*
* Copyright (c) 2012-2021 Snowflake Computing Inc. All rights reserved.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using Snowflake.Data.Client;
using Snowflake.Data.Log;
namespace Snowflake.Data.Core.Authenticator
{
//... | 2.424031 | f2c2e95a96e56aadbbfb20e44a032dda |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2320 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nielsdos/NewCSharpLLVM",
"max_stars_repo_path": "StsFldProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2321"
} | starcoder | <filename>StsFldProcessor.cs
using LLVMSharp;
using Mono.Cecil;
using Mono.Cecil.Cil;
namespace CSharpLLVM
{
[InstructionHandler(Code.Stsfld)]
public class StsFldProcessor : InstructionProcessor
{
public void Process(MethodCompiler compiler, Instruction insn, LLVMBuilderRef builder)
{
... | 2.083102 | 037570ad767b2c36d6a83eb5523aee08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2321 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "DanMannMann/umbracocodefirst",
"max_stars_repo_path": "Felinesoft.UmbracoCodeFirst.TestTarget/CodeFirstClasses/DocumentTypes/Clubs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2322"
} | starcoder | <filename>Felinesoft.UmbracoCodeFirst.TestTarget/CodeFirstClasses/DocumentTypes/Clubs.cs
using Marsman.UmbracoCodeFirst;
using Marsman.UmbracoCodeFirst.ContentTypes;
using Marsman.UmbracoCodeFirst.DataTypes;
using Marsman.UmbracoCodeFirst.Attributes;
using Marsman.UmbracoCodeFirst.Extensions;
using System.Linq;
using S... | 1.870952 | 7d385946e11fc4c14b0503dcd8d8a568 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2322 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "JeremyLikness/StarRepo",
"max_stars_repo_path": "Server/GraphQL/TelescopeMutationResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2323"
} | starcoder | <reponame>JeremyLikness/StarRepo
namespace StarRepo.Server.GraphQL
{
public class TelescopeMutationResponse
{
public Guid? Id { get; set; }
public bool? Success { get; set; }
public string? Message { get; set; }
}
}
| 1.448262 | 5b2c6b9f704b287f159133db8cf95596 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2323 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "tdupont750/tact.net",
"max_stars_repo_path": "framework/src/Tact.Configuration/ComponentModel/DataAnnotations/RequireNonDefaultAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2324"
} | starcoder | <filename>framework/src/Tact.Configuration/ComponentModel/DataAnnotations/RequireNonDefaultAttribute.cs
using System;
using System.Collections.Concurrent;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
namespace Tact.ComponentModel.DataAnnotations
{
[AttributeUsage(AttributeTargets.Property... | 2.997219 | 78b9043cea52a433f6991abef8ff28fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2324 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nataren/mono",
"max_stars_repo_path": "mcs/class/System.Web.Extensions/Assembly/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2325"
} | starcoder | //
// AssemblyInfo.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// (C) 2007 Mainsoft, Inc. http://www.mainsoft.com
//
//
// 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,... | 1.508361 | adf1e53fd2ff4671c89fb8d6ad4edbb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2325 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Mcalewaert/arcus.webapi",
"max_stars_repo_path": "src/Arcus.WebApi.Tests.Integration/Security/Authentication/Fixture/StubX509ValidationLocation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2326"
} | starcoder | <reponame>Mcalewaert/arcus.webapi<filename>src/Arcus.WebApi.Tests.Integration/Security/Authentication/Fixture/StubX509ValidationLocation.cs<gh_stars>10-100
using System;
using System.Threading.Tasks;
using Arcus.WebApi.Security.Authentication.Certificates.Interfaces;
namespace Arcus.WebApi.Tests.Integration.Security.... | 2.296351 | e746438dea6bae8d4fdb301203c22066 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2326 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "meritlabs/CoiniumServ",
"max_stars_repo_path": "src/CoiniumServ/Payments/PaymentManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2327"
} | starcoder | #region License
//
// MIT License
//
// CoiniumServ - Crypto Currency Mining Pool Server Software
//
// Copyright (C) 2013 - 2017, CoiniumServ Project
// Copyright (C) 2017 - 2021 The Merit Foundation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this ... | 2.053306 | 558feda6a9a90f75a6ad8b40f889eafb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2327 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "Virtuoze/Puresharp",
"max_stars_repo_path": "Puresharp/Puresharp/Directory/Directory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2328"
} | starcoder | <filename>Puresharp/Puresharp/Directory/Directory.cs<gh_stars>100-1000
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Puresharp
{
public partial class Directory<T> : IDirectory<T>
where T : class
{
private object m_Handle;
private... | 2.897337 | f395406aea2ef7a7bc7d3655adede14b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2328 | {
"extension": "c-sharp",
"max_stars_count": "16061.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/Compatibility/ControlGallery/src/Issues.Shared/CascadeInputTransparent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2329"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Maui.Controls.CustomAttributes;
using Microsoft.Maui.Controls.Internals;
using Microsoft.Maui.Controls.PlatformConfiguration;
using Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific;
using Microsoft.Maui.Graphics;
#if UITEST
u... | 2.074298 | a8a66cedf839afcbc14f16a60f269976 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2329 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "niqu90/NiquIoc",
"max_stars_repo_path": "NiquIoC.Test.PartialEmitFunction/Transient/DependencyConstrutor/RegisterTypeForInterfaceWithDependencyConstrutorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2330"
} | starcoder | <gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NiquIoC.Enums;
using NiquIoC.Exceptions;
using NiquIoC.Test.Model;
namespace NiquIoC.Test.PartialEmitFunction.Transient.DependencyConstrutor
{
[TestClass]
public class RegisterTypeForInterfaceWithDependencyConstrutorTests
{
[... | 1.954805 | 472a3ea207753b4f8ba96e6acccd6712 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DaemonBeast/Singularity.Hazel",
"max_stars_repo_path": "Hazel/Udp/UdpConnectionRateLimit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2331"
} | starcoder | <reponame>DaemonBeast/Singularity.Hazel<gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Net;
using System.Threading;
using Serilog;
namespace Singularity.Hazel.Udp
{
public class UdpConnectionRateLimit : IDisposable
{
private static readonly ILogger Logger = Log.ForContext<U... | 2.513523 | 38bfe8f994ce6243cb4ffb0e5cfcbc35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2331 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "matkoch/Nevermore",
"max_stars_repo_path": "source/Nevermore.IntegrationTests/Model/LineItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2332"
} | starcoder | using System;
namespace Nevermore.IntegrationTests.Model
{
public class LineItem
{
public string Id { get; private set; }
public string Name { get; set; }
public DateTime PurchaseDate { get; set; }
public string ProductId { get; set; }
public int Quantity { get; set; }
... | 1.844204 | afe6913b83894dbfa7f5b00bce0f94ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thefringeninja/Nancy",
"max_stars_repo_path": "src/Nancy/NegotiatorExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2333"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Nancy.Responses.Negotiation;
namespace Nancy
{
public static class NegotiatorExtensions
{
/// <summary>
/// Add a header to the response
/// </summary>
/// <param name="negotiator">... | 2.374694 | 8dabe65738288fa9ac594ea2a73b3089 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noorsyyad/FleetManagementSystem",
"max_stars_repo_path": "Pithline.FMS.BusinessLogic.Portable/TIModels/TIData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2334"
} | starcoder | <gh_stars>0
using Microsoft.Practices.Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pithline.FMS.BusinessLogic.Portable.TIModels
{
public class TIData : BindableBase
{
pub... | 1.600579 | 65fa84d4017640942751c08e8cb868c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "larshjohannesson/MiniProfiler",
"max_stars_repo_path": "Sample.Mvc/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2335"
} | starcoder | using SampleWeb.EfModelFirst;
namespace SampleWeb.Controllers
{
using System;
using System.Data.Common;
using System.Linq;
using System.Threading;
using System.Web.Mvc;
using Dapper;
using SampleWeb.EFCodeFirst;
using StackExchange.Profiling;
/// <summary>
/// The home cont... | 2.553724 | 1fb54b6f021b526e917473eac3adfc9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2335 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kpagacz/software-engineering",
"max_stars_repo_path": "programowanie-komponentowe/lab-1/lab-1/lab-1-1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2336"
} | starcoder | using System;
using System.Collections.Generic;
namespace myNamespace
{
public class Program
{
public static void Main()
{
// Wszystkie klasy customowe mają semantykę referencji
Person p, q;
p = new Person();
q = new Person();
p.Name = "Ala";
q = p;
q.Name = "Tomek";
Console.WriteLine("... | 3.684552 | 36f98b157b2c57f9ffaf8e40ee7ffb15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 2336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xucito/Lean",
"max_stars_repo_path": "ToolBox/KrakenDataDownloader/KrakenDataDownloader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:2337"
} | starcoder | <reponame>xucito/Lean
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2017 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | 2.320119 | 45db22ef9c8649cbc1181b38a0433e0e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.