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 | 6537 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Mr-sB/CustomizationInspector",
"max_stars_repo_path": "Vector4/Runtime/Vector4Int.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6538"
} | starcoder | using System;
namespace UnityEngine.Extension
{
/// <summary>
/// <para>Representation of 4D vectors and points using integers.</para>
/// </summary>
[Serializable]
public struct Vector4Int : IEquatable<Vector4Int>
{
private static readonly Vector4Int s_Zero = new Vector4Int(0, 0, 0, ... | 3.411965 | 6f0918644607805c3e34d9e0343fe762 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6538 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "larrybehaviorlanguage/NRules",
"max_stars_repo_path": "src/NRules/Tests/NRules.IntegrationTests/RulesLoadTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6539"
} | starcoder | <filename>src/NRules/Tests/NRules.IntegrationTests/RulesLoadTest.cs
using System;
using System.Linq;
using System.Reflection;
using NRules.Fluent;
using NRules.Fluent.Dsl;
using NRules.IntegrationTests.TestAssets;
using NRules.RuleModel;
using Xunit;
namespace NRules.IntegrationTests
{
public class RulesLoadTest
... | 2.426819 | 635c5ac4f0a315c195964cc7796d7972 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6539 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Liu233w/Library",
"max_stars_repo_path": "src/Library.EntityFrameworkCore/Migrations/20171017134752_modify_book_add_copy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6540"
} | starcoder | using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace Library.Migrations
{
public partial class modify_book_add_copy : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... | 2.137326 | 8eb4d8016faf918d47d749871111fee8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6540 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "pshtif/Dash",
"max_stars_repo_path": "Runtime/Scripts/Core/Node/Nodes/Logic/CallMethodNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6541"
} | starcoder | /*
* Created by: Peter @sHTiF Stefcek
*/
using System;
using System.Reflection;
using Dash.Attributes;
using OdinSerializer.Utilities;
using UnityEngine;
namespace Dash
{
[Experimental]
[Help("Call a method using reflection on any component on DashController GameObject")]
[Category(NodeCategoryType.LOG... | 2.446389 | 4099e1b226c342f63f85a66fb8b9222b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6541 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "dotnet-campus/SourceYard",
"max_stars_repo_path": "src/dotnetCampus.SourceYard/Context/IPackingContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6542"
} | starcoder | <filename>src/dotnetCampus.SourceYard/Context/IPackingContext.cs<gh_stars>10-100
using dotnetCampus.SourceYard.Utils;
namespace dotnetCampus.SourceYard.Context
{
/// <summary>
/// 包含对项目进行源码打包所需的上下文信息。
/// </summary>
internal interface IPackingContext
{
/// <summary>
/// 使用 <see cre... | 2.172339 | c2893550bbccb474854e32fe1f254c15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6542 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tabgyn/appconsig",
"max_stars_repo_path": "AppConsig.Entities/Consignacao.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6543"
} | starcoder | <gh_stars>0
using System;
using AppConsig.Common;
namespace AppConsig.Entities
{
public class Consignacao : AuditEntity<long>
{
public string Nome { get; set; }
public string Descricao { get; set; }
public string Codigo { get; set; }
public int MaximoParcela { get; set; }
... | 1.494296 | 46fa22aaf57564fdb06a4dee4882904b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6543 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbuMandour/MvvmWhite",
"max_stars_repo_path": "WhiteMvvm/Validations/PhoneNumberFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6544"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace WhiteMvvm.Validations
{
public class PhoneNumberFormat<T> : IValidationRule<T>
{
public string ValidationMessage { get; set; }
public bool Check(T value)
{
if ... | 2.872048 | 2009b5f6ec07bca38d6ae1a7d31d2312 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6544 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckidwell/GDTVGameJam2021",
"max_stars_repo_path": "Assets/Code/UI/ContinueFailButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6545"
} | starcoder | <reponame>ckidwell/GDTVGameJam2021<filename>Assets/Code/UI/ContinueFailButton.cs
using UnityEngine;
using UnityEngine.EventSystems;
public class ContinueFailButton : MonoBehaviour, IPointerUpHandler, IPointerDownHandler
{
public void OnPointerUp(PointerEventData eventData)
{
GameObject.Find("MenuContro... | 1.650346 | 7bca9abab6e041b3a539a41d6f1e0e2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6545 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onurcelikeng/VetMapp",
"max_stars_repo_path": "VetMapp/Models/PetModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6546"
} | starcoder | <gh_stars>0
using Parse;
using System;
namespace VetMapp.Models
{
public class PetModel
{
public string ObjectId { get; set; }
public ParseUser User { get; set; }
public string Name { get; set; }
public string Kind { get; set; }
public string Breed { get; set; }
... | 1.419928 | 7ca730d3ebb0b56dd210d315fcd1e4a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6546 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FrowntownPitt/GenericInteraction",
"max_stars_repo_path": "Assets/GenericInteraction/Interactors/GamepadButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6547"
} | starcoder | using UnityEngine;
namespace GenericInteraction.Interactors
{
public class GamepadButton : Interactor
{
[SerializeField] private KeyCode buttonName;
public override bool IsInteracting()
{
return Input.GetKey(buttonName);
}
}
} | 2.182134 | a4ba22fd32a239b765c6052aa3506eef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6547 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ggwhsd/CSharpStudy",
"max_stars_repo_path": "LittleExamples/AttributeExample.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6548"
} | starcoder | <reponame>ggwhsd/CSharpStudy
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Threading;
//一般是给编译器来使用,作为类的扩展元数据,
//自定义也可以用。
namespace MarketRiskUI.LittleExamples
{
[AttributeUsage(AttributeTargets.Class
| AttributeTargets.Method... | 3.182072 | 4a67d5370d04ed82229fc6d19748bb86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6548 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PiSim/SAPSync",
"max_stars_repo_path": "DMTAgent.XML/Dto/TrialScrapDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6549"
} | starcoder | <gh_stars>0
using SSMD;
using System;
using System.Linq;
namespace DMTAgent.XML
{
public class TrialScrapDto : DtoBase<IGrouping<Tuple<Order, string>, OrderConfirmation>>
{
#region Properties
[Column(10), Value, Exported]
public double CauseScrapPercentage => (TotalProduced == 0) ? 0 ... | 2.000434 | 1dc0fe63c6972833e8e70c62c309ee80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6549 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ikenb/TshepisoShop",
"max_stars_repo_path": "src/BookShop/Data/Product.DataAccess/Repository/IRepository/ICoverTypeRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6550"
} | starcoder | using Eshop.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace Eshop.DataAccess.Repository.IRepository
{
public interface ICoverTypeRepository : IRepository<CoverType>
{
void Update(CoverType coverType);
}
}
| 1.595613 | d9258df366de8be9d12ef9397d324736 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6550 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kjrobrien/MassTransit",
"max_stars_repo_path": "src/MassTransit.Abstractions/SagaStateMachine/ScheduleDelayProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6551"
} | starcoder | namespace MassTransit
{
using System;
public delegate TimeSpan ScheduleDelayProvider<TSaga>(BehaviorContext<TSaga> context)
where TSaga : class, ISaga;
public delegate TimeSpan ScheduleDelayProvider<TSaga, in TMessage>(BehaviorContext<TSaga, TMessage> context)
where TMessage : class
... | 1.681519 | 0a23f2578107620f38e7edf9c039fa40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6551 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yovko93/Software-University",
"max_stars_repo_path": "CSharp_Fundamentals/ArraysLab/03.RoundingNumbers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6552"
} | starcoder | using System;
using System.Linq;
namespace _03.RoundingNumbers
{
class Program
{
static void Main(string[] args)
{
double[] number = Console.ReadLine().Split().Select(double.Parse).ToArray();
//може и без този ред!!
int[] rounded = new int[number.Length];
... | 3.59982 | c50d41fe8e78e15db78453653a4fceaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6552 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "muruganas/docs-archive",
"max_stars_repo_path": "Recipes/ios/media/images/merge_images/MergeImages/MergeImagesViewController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6553"
} | starcoder | <filename>Recipes/ios/media/images/merge_images/MergeImages/MergeImagesViewController.cs
using System;
using CoreGraphics;
using Foundation;
using UIKit;
namespace MergeImages
{
public partial class MergeImagesViewController : UIViewController
{
public MergeImagesViewController () : base ("MergeImages... | 2.005315 | 88e30c6694c3690af615ea66babc8fe3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6553 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vnbaaij/GrowattMonitor",
"max_stars_repo_path": "GrowattMonitor/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6554"
} | starcoder | using System;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using Azure.Extensions.AspNetCore.Configuration.Secrets;
using Azure.Identity;
using Azure.Security.KeyVault.Secrets;
using GrowattMonitor.Configuration;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyI... | 1.901455 | 861387205e96046b44d079baf3cfbb7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6554 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "PC-Axis/PxStat",
"max_stars_repo_path": "server/PxStat/Entities/Workflow/WorkflowRequest/WorkflowRequest_API.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6555"
} | starcoder | using API;
namespace PxStat.Workflow
{
internal class WorkflowRequest_API
{
/// <summary>
/// Entry point to the API method - Creates a Workflow Request
/// </summary>
/// <param name="requestApi"></param>
/// <returns></returns>
public static dynamic Create(JS... | 1.995698 | 2ced59e4b8e13736aaa396fab91e106b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6555 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrvelic/SchoStack.AspNetCore",
"max_stars_repo_path": "src/SchoStack.AspNetCore.HtmlConventions/Core/InputTypeMvcForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6556"
} | starcoder | <gh_stars>1-10
using System.Text.Encodings.Web;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace SchoStack.AspNetCore.HtmlConventions.Core
{
public class InputTypeMvcForm : MvcForm
{
private readonly ViewContext _viewContext;
public InputTypeMvcForm(ViewContext viewContext) : base(... | 1.779377 | 6667f2ee6adb9f3b5c45c38b99a0fbc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6556 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SuperBianka/SoftUni-CSharp-Track",
"max_stars_repo_path": "CSharp Basics/CSharpBasics - OnlinePre-Exam - 12And13December2020/PassengersPerFlight/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6557"
} | starcoder | <reponame>SuperBianka/SoftUni-CSharp-Track
using System;
namespace PassengersPerFlight
{
class Program
{
static void Main(string[] args)
{
int airlinesCount = int.Parse(Console.ReadLine());
double maxAverageCountPass = 0;
string airlineWithMaxPass = "";
... | 3.452774 | c470f36a99c9e8c87be4c547bab28030 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6557 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "AArnott/MiniEditor",
"max_stars_repo_path": "Microsoft.VisualStudio.MiniEditor/BaseViewImpl/MockTextStructureNavigator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6558"
} | starcoder | <filename>Microsoft.VisualStudio.MiniEditor/BaseViewImpl/MockTextStructureNavigator.cs
using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Operations;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.MiniEditor.BaseViewImpl... | 2.11922 | bf4a75993ff9faa4313342856108185e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6558 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shze/pwizard-deb",
"max_stars_repo_path": "pwiz_tools/Bumbershoot/idpicker/Forms/AnalysisTableForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6559"
} | starcoder | //
// $Id: AnalysisTableForm.cs 8753 2015-08-13 17:08:00Z chambm $
//
// 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 req... | 1.810426 | e976002307d64567c0bde4bc2185dcc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6559 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LuisZ1/DesarrolloDeInterfaces",
"max_stars_repo_path": "08-FinalLayoutResponsive/08-FinalLayoutResponsive/obj/x86/Debug/MainPage.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6560"
} | starcoder | <filename>08-FinalLayoutResponsive/08-FinalLayoutResponsive/obj/x86/Debug/MainPage.g.cs
#pragma checksum "C:\Users\lzumarraga\OneDrive\2018-19\REPOSITORIOS\DesarrolloDeInterfaces\08-FinalLayoutResponsive\08-FinalLayoutResponsive\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0513FB1B984A7222F4A75E7DBDFEF5A6"... | 1.867476 | b4f708395af815328562551d7d2893c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6560 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BlueCurve-Team/lucenenet",
"max_stars_repo_path": "src/Lucene.Net.Tests/core/Codecs/Lucene40/TestLucene40StoredFieldsFormat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6561"
} | starcoder | <filename>src/Lucene.Net.Tests/core/Codecs/Lucene40/TestLucene40StoredFieldsFormat.cs
namespace Lucene.Net.Codecs.Lucene40
{
using NUnit.Framework;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
... | 1.881726 | 3d2e7d57f483ee18a66febff43bc3972 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6561 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pilgylis/bellight",
"max_stars_repo_path": "src/Bellight.Core/Misc/BellightJsonSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6562"
} | starcoder | <filename>src/Bellight.Core/Misc/BellightJsonSerializer.cs<gh_stars>0
using System.Text.Json;
namespace Bellight.Core.Misc
{
public class BellightJsonSerializer: ISerializer
{
public JsonSerializerOptions Settings { get; set; } = DefaultJsonSerializerSettings;
public string SerializeObj... | 2.808181 | e42800e6147a145bb88266751ee4850b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6562 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pierrebelin/EntityGraphQL",
"max_stars_repo_path": "src/EntityGraphQL/Compiler/GqlNodes/BaseGraphQLQueryField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6563"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using EntityGraphQL.Compiler.Util;
using EntityGraphQL.Schema;
namespace EntityGraphQL.Compiler
{
/// <summary>
/// Base class for both the ListSelectionField and ObjectProjectionField
/// </summary>
publi... | 2.114852 | 02080f4cb78a2512335f1e62396c56a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6563 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cwoodruff/ChinookASPNETCore3APINTierDapper",
"max_stars_repo_path": "ChinookASPNETCore3APINTierDapper/Chinook.UnitTest/Repository/GenreRepositoryTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6564"
} | starcoder | using System;
using Chinook.MockData.Repositories;
using Chinook.Domain.Entities;
using JetBrains.dotMemoryUnit;
using Xunit;
namespace Chinook.UnitTest.Repository
{
public class GenreRepositoryTest
{
private readonly GenreRepository _repo;
public GenreRepositoryTest()
{
_... | 2.446567 | 1b5a8beaad65a5fea9ea0d5a7c4a10c6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6564 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SNBnani/Xian",
"max_stars_repo_path": "Ris/Application/Common/Admin/WorkQueueAdmin/ListWorkQueueItemsRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6565"
} | starcoder | #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;
using System.Collections.Generic;
... | 1.590618 | e2f130cc7743e80e5f408be3714ee515 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6565 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "brezillon/opensplice",
"max_stars_repo_path": "testsuite/dbt/api/dcps/sacs/writer/code/test/SACSTesterWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6566"
} | starcoder | namespace test
{
/// <date>Jun 13, 2005</date>
public class SACSTesterWriter
{
public static void Main(string[] args)
{
Test.Framework.TestSuite suite = new Test.Framework.TestSuite();
suite.AddMilestone("Test start");
suite.AddTest(new test.sacs.Writer1()... | 2.07653 | 234c4dc57ed232397172d67c826ad186 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6566 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cosmos-loops/cosmos-prowess",
"max_stars_repo_path": "test/CosmosProwessUT/JoinerUT/MapJoinerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6567"
} | starcoder | <filename>test/CosmosProwessUT/JoinerUT/MapJoinerTests.cs
using System.Collections.Generic;
using CosmosStack;
using CosmosStack.Text.Joiners;
using Shouldly;
using Xunit;
namespace CosmosProwessUT.JoinerUT
{
[Trait("JoinerUT", "MapJoiner")]
public class MapJoinerTests
{
public class Int32ToString... | 2.405897 | 6a6d634ce15bbda3052cb9d782f5553d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6567 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdm7dv/financial",
"max_stars_repo_path": "windows/Woodgrove Finance Application/WoodgroveStockChart3D/List3DItemCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6568"
} | starcoder | <reponame>jdm7dv/financial
using System;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Media3D;
using System.Collections.ObjectModel;
namespace WoodgroveFinanceStockChart3D
{
public class List3DItemCollection : ObservableCollection<List3DItem>
{
}
} | 0.978257 | 4d191fe957a81cbeb84a53a8d4c50e73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6568 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abitmore/uno",
"max_stars_repo_path": "src/Uno.UI.RuntimeTests/Tests/Windows_Foundation/Collections/Given_ValueSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6569"
} | starcoder | #nullable enable
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Windows.Foundation.Collections;
using System.Runtime.InteropServices;
namespace Uno.UI.RuntimeTests.Tests.Windows_Foundation.Collections
{
[TestClass]
internal class Given_ValueSet
{
ValueSet _testSet = new();
static boo... | 2.343114 | 7896fe5d80a64e55adc8e5021f60e9e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6569 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ArcherTrister/ESoftor",
"max_stars_repo_path": "samples/web/IdentityServer4/LeXun.Demo.Core/Authorization/Dtos/FunctionOutputDto2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6570"
} | starcoder | <gh_stars>1-10
// -----------------------------------------------------------------------
// <copyright file="FunctionOutputDto2.cs" company="Hybrid开源团队">
// Copyright (c) 2014-2018 Hybrid. All rights reserved.
// </copyright>
// <site>https://www.lxking.cn</site>
// <last-editor>ArcherTrister</last-editor>
/... | 1.775131 | 24aa851c93e62b6fc17e100d7f952d1b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6570 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamesthurley/Rollbar.NET",
"max_stars_repo_path": "UnitTest.Rollbar/NetFramework/RollbarConfigSectionFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6571"
} | starcoder | <reponame>jamesthurley/Rollbar.NET<gh_stars>0
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
namespace UnitTest.Rollbar.NetFramework
{
using global::Rollbar;
using global::Rollbar.NetFramework;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;... | 2.166984 | a6f9f5a94d4995a22cbbdd4c00733fc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6571 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hfloyd/Dragonfly.Umbraco8",
"max_stars_repo_path": "src/Dragonfly/UmbracoModels/MvcFakes/FakeHttpRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6572"
} | starcoder | <filename>src/Dragonfly/UmbracoModels/MvcFakes/FakeHttpRequest.cs
namespace Dragonfly.UmbracoModels.MvcFakes
{
using System.Collections.Specialized;
using System.Web;
public class FakeHttpRequest : HttpRequestBase
{
private readonly NameValueCollection _formParams;
private readonly Nam... | 2.417209 | 0eb821a9c51c6ebbbc38cf997292a3f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6572 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sgwzxg/Ixy",
"max_stars_repo_path": "src/Ixy.Infrastructure.Repository/PostRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6573"
} | starcoder | <filename>src/Ixy.Infrastructure.Repository/PostRepository.cs
using Ixy.Core.Interface;
using Ixy.Core;
using Ixy.Infrastructure.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Ixy.Infrastructure.Repository.Interface;
namespace Ixy.Infrastructure.Repos... | 1.74554 | 9262201303a2288179b4e8027b4082f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6573 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aimanan/BuildItRepo",
"max_stars_repo_path": "Buildit/Buildit/Common/Providers/Contracts/IUserProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6574"
} | starcoder | namespace Buildit.Common.Providers.Contracts
{
public interface IUserProvider
{
string GetUserId();
string GetUsername();
}
} | 1.673538 | 6a7cbdcb091e6e57108c3ee03fdd83b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6574 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "mklement0/runtime",
"max_stars_repo_path": "src/libraries/Microsoft.Extensions.Configuration.Abstractions/src/IConfigurationSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6575"
} | starcoder | <reponame>mklement0/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.Extensions.Configuration
{
/// <summary>
/// Represents a section of application configuration values.
/// </summary>
... | 1.558763 | 64392ed93d84eacfc2c0d3833a036afb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6575 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jingkecn/OpenInk.Windows",
"max_stars_repo_path": "src/Main/Infrastructure/Activation/LaunchActivationHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6576"
} | starcoder | <reponame>jingkecn/OpenInk.Windows<gh_stars>1-10
using System;
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Animation;
namespace MyScript.OpenInk.Main.Infrastructure.Activatio... | 1.834112 | 5a87522cbd6c38c96193bd66f2b32cb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6576 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nhsconnect/nrls-reference-implementation",
"max_stars_repo_path": "NRLS-API/NRLS-API.Models/Core/CommandRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6577"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net.Http;
namespace NRLS_API.Models.Core
{
public class CommandRequest
{
public CommandRequest()
{
Headers = new List<KeyValuePair<string, string>>();
}
public HttpMethod Method { get; set; }
//p... | 2.032048 | fd903c09e28fb548b0dc37f8f34d008d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6577 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "thor1824/OnlineRetailer_CQRS_EventStore",
"max_stars_repo_path": "CustomerCommandApi/Command/CustomerCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6578"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using OnlineRetailer.CustomerCommandApi.Command.Facade;
using OnlineRetailer.Domain.Common;
using OnlineRetailer.Domain.Events.CustomerEvents;
using OnlineRetailer.Domain.Exceptions;
using OnlineRetailer.Domain.Repository.Facade;
us... | 2.370903 | 23fe9ddb9af1415ee050add19b5ae0c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6578 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "johnny-bytes/deploy-bot",
"max_stars_repo_path": "DeployBot.Runner/ScriptingException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6579"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
namespace DeployBot.Runner
{
public class ScriptingException : Exception
{
public List<string> ErrorMessages { get; set; }
public ScriptingException(Exception inner, IColl... | 2.794832 | 382d926935f579b0c42d0da99473ef47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6579 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "forsbergsskola-se/lake-legends",
"max_stars_repo_path": "Assets/Scripts/Saving/ISerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6580"
} | starcoder | <reponame>forsbergsskola-se/lake-legends
namespace Saving
{
public interface ISerializer
{
string SerializeObject(object obj);
T DeserializeObject<T>(string str);
}
} | 1.328281 | 00bc63e2d822d492ad88c8c23e113ace |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6580 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "project-scorpio/Scorpio",
"max_stars_repo_path": "src/Core/src/Scorpio/Scorpio/Conventional/ConventionalContextExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6581"
} | starcoder | using System;
namespace Scorpio.Conventional
{
/// <summary>
///
/// </summary>
public static class ConventionalContextExtensions
{
/// <summary>
///
/// </summary>
/// <param name="context"></param>
/// <param name="name"></param>
/// <param name=... | 2.911953 | e9f4055ec0103b5b1049bcd1c0aebc89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6581 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "atkins126/ByteScout-SDK-SourceCode",
"max_stars_repo_path": "Premium Suite/C#/Convert Scanned PDF to Text with PDF Extractor SDK/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6582"
} | starcoder | <reponame>atkins126/ByteScout-SDK-SourceCode
//*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/download/web-instal... | 2.429797 | 30e44f0572926a1b21ec3ea4d1a02aca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6582 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrJohnMelville/Pdf",
"max_stars_repo_path": "Src/Melville.Pdf.LowLevel/Writers/Builder/ObjectStreamWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6583"
} | starcoder | <filename>Src/Melville.Pdf.LowLevel/Writers/Builder/ObjectStreamWriter.cs
using System.IO.Pipelines;
using System.Threading.Tasks;
using Melville.Parsing.Streams;
using Melville.Pdf.LowLevel.Filters.StreamFilters;
using Melville.Pdf.LowLevel.Model.Conventions;
using Melville.Pdf.LowLevel.Model.Objects;
using Melville.... | 2.357376 | c035eb5fe6e0fa7061c3669a1aba1343 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6583 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fabiarm/spsmfiles",
"max_stars_repo_path": "2010/SP2010.Manage.FileTypes/Common/Content.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6584"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SP2010.Manage.FileTypes
{
public class Content
{
public static readonly string SPFileTypes = "SPFileTypes";
public static readonly string SPFileSizes = "SPFileSizes";
public static readonly ... | 1.196243 | 3192b51fc688ae2b2dc3bb1f99ea8886 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6584 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mehrdadab/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6585"
} | starcoder | <filename>src/Umbraco.Web.BackOffice/Controllers/LogViewerController.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Serilog.Events;
using Umbraco.Cms.... | 2.068975 | 05b0fbebcb83b01ea45bc7dda852a964 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6585 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trmcnealy/Vulkan",
"max_stars_repo_path": "Vulkan/Delegates/PFN_vkCmdPreprocessGeneratedCommandsNV.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6586"
} | starcoder | <reponame>trmcnealy/Vulkan
using System.Runtime.InteropServices;
namespace Vulkan
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void PFN_vkCmdPreprocessGeneratedCommandsNV([NativeTypeName("VkCommandBuffer")] VkCommandBuffer commandBuffer,
... | 1.542336 | 85062e087ae77cb4851aa533828192a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6586 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "cdy816/mars",
"max_stars_repo_path": "Common/DotNettyCore/Common/Internal/Logging/Log/LoggerExternalScopeProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6587"
} | starcoder | <filename>Common/DotNettyCore/Common/Internal/Logging/Log/LoggerExternalScopeProvider.cs<gh_stars>10-100
//==============================================================
// Copyright (C) 2020 Inc. All rights reserved.
//
//==============================================================
// Create by 种道洋 at 2020/5/12 ... | 2.437769 | 2023cb2df933ad1febf71d2731e63dc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6587 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Peteys93/ClassicalSharp",
"max_stars_repo_path": "ClassicalSharp/Hotkeys/LwjglToKey.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6588"
} | starcoder | <gh_stars>0
// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using OpenTK.Input;
namespace ClassicalSharp.Hotkeys {
/// <summary> Maps LWJGL keycodes to OpenTK keys. </summary>
public static class LwjglToKey {
public static Key[] Map = new Key[256];
sta... | 2.436491 | 0336ee924193dc0296fa3e4422d6a0a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6588 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "squanchYourCode/quartz.net-2.0.1",
"max_stars_repo_path": "src/Quartz/Impl/AdoJobStore/CalendarIntervalTriggerPersistenceDelegate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6589"
} | starcoder | #region License
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved.
*
* 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.ap... | 2.060546 | a9db2d41ea787cb630b8ed2752b53218 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6589 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "DotNetExample/silky.hero",
"max_stars_repo_path": "services/Silky.Identity/src/Silky.Identity.Application.Contracts/Role/IRoleAppService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6590"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Silky.Hero.Common.Enums;
using Silky.Identity.Application.Contracts.Role.Dtos;
using Silky.Identity.Domain.Shared;
using Silky.Rpc.CachingInterceptor;
using Silky.Rpc.Routing;
using Silky.Rpc.Runtime.S... | 1.624608 | 67d49bd3eba3390b8a2f3bbf45bcc6e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6590 | {
"extension": "c-sharp",
"max_stars_count": "343.0",
"max_stars_repo_name": "UWPCommunity/Quarrel",
"max_stars_repo_path": "src/Quarrel.ViewModels/Models/Emojis/Emoji.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6591"
} | starcoder | // Copyright (c) Quarrel. All rights reserved.
using GalaSoft.MvvmLight;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace Quarrel.ViewModels.Models.Emojis
{
/// <summary>
/// Bindable ViewModel for Emoji DataContext.
/// </summary>
public class Emoji : ViewModelBase, I... | 2.744165 | 8a80cfbefda9bbbe18ff745e17f6422d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6591 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PrasadSahana/Implementation-of-Scalar-Encoders-in-HTM",
"max_stars_repo_path": "Source/HTM/AkkaSb.Net/ActorReference.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6592"
} | starcoder | using Microsoft.Azure.ServiceBus;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace AkkaSb.Net
{
public class A... | 2.395003 | 6cc370a2fe7a544f7afc33ff63c5788b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6592 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robertsundstrom/SerialPortUtility",
"max_stars_repo_path": "PortUtil.Services/Parity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6593"
} | starcoder | <reponame>robertsundstrom/SerialPortUtility
namespace SerialPortUtility.Services
{
public enum Parity
{
None,
Odd,
Even,
Mark,
Space,
}
} | 1.339692 | 696013995d4f849916a77931a72d17ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6593 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ZachHembree/CubicalMarchingSquares",
"max_stars_repo_path": "Scripts/UI/ImporterUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6594"
} | starcoder | <reponame>ZachHembree/CubicalMarchingSquares
using System;
using UnityEngine;
using UnityEngine.UI;
public class ImporterUI : MonoBehaviour
{
public GameObject volumeGenerator;
public Dropdown meshSelector;
public Text display;
public InputField xField, yField, zField;
public Button button;
p... | 2.11212 | 65965286e014d0b5235cfce6d43f9431 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6594 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Albeoris/Pulse",
"max_stars_repo_path": "Pulse.Core/Framework/SafeGCHandle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6595"
} | starcoder | using System;
using System.Runtime.InteropServices;
namespace Pulse.Core
{
public sealed class SafeGCHandle : SafeHandle
{
public SafeGCHandle(object target, GCHandleType type)
: base(IntPtr.Zero, true)
{
SetHandle(GCHandle.ToIntPtr(GCHandle.Alloc(target, type)));
... | 2.517042 | aefc7a1383b2b6d5e1f54cac23bf4685 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6595 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "JetStream96/QSimPlanner",
"max_stars_repo_path": "src/QSP/UI/Views/MiscInfo/DescentForcastControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6596"
} | starcoder | <reponame>JetStream96/QSimPlanner
using QSP.UI.Presenters.MiscInfo;
using System.Windows.Forms;
namespace QSP.UI.Views.MiscInfo
{
public partial class DescentForcastControl : UserControl, IDescentForcastView
{
private DescentForcastPresenter presenter;
public string LastUpdateTime
{
... | 2.055128 | c946ca98b9d3f31ad271df82c8d61dcd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6596 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zerossB/APIProdutos",
"max_stars_repo_path": "Models/Usuario.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6597"
} | starcoder | namespace APIProdutos.Models
{
public class Usuario
{
public string ID { get; set; }
public string ChaveAcesso { get; set; }
}
} | 1.338125 | f8bafc27526be99f03b34926f8830261 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6597 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niyouzhu/aspnet-DataProtection",
"max_stars_repo_path": "test/Microsoft.AspNetCore.DataProtection.Test/Managed/ManagedAuthenticatedEncryptorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6598"
} | starcoder | // Copyright (c) .NET Foundation. 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.Linq;
using System.Security.Cryptography;
using System.Text;
using Microsoft.AspNetCore.DataProtection.Test.Shared;
using Mic... | 2.170796 | b74dac4f9418bb267b064a9401be0965 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6598 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChilliCream/test-tools",
"max_stars_repo_path": "src/Utilities/SnapshotNotFoundException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6599"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace ChilliCream.Testing
{
[Serializable]
public class SnapshotNotFoundException
: Exception
{
public SnapshotNotFoundException() { }
public SnapshotNotFoundException(string message)
: base(message) { }
publi... | 2.034212 | bfdbaa5b7e51b7a32bdfb989025bdc4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6599 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bananasss00/PickUpAndHaul",
"max_stars_repo_path": "Source/PickUpAndHaul/GearTabHighlight.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6600"
} | starcoder | <reponame>bananasss00/PickUpAndHaul
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.Reflection.Emit;
using Harmony;
using Verse;
using RimWorld;
using UnityEngine;
namespace PickUpAndHaul
{
//ITab_Pawn_Gear
//private void DrawThingRow... | 2.143964 | e33d7c7a74e9570619c1e1f09790f696 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6600 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreHjalmarsson/WebShop",
"max_stars_repo_path": "webshop/Views/Cart/DisplayCart.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6601"
} | starcoder | @model List<webshop.Models.CartModel>
@{
ViewBag.Title = "DisplayCart";
}
<div class="text-center">
<h2 style="margin-bottom: 40px;">My Cart</h2>
<h4 style="color:red;">@TempData["Message"]</h4>
<h4>@ViewBag.Message</h4>
</div>
<div class="container-fluid">
<div class="row">
@if (Model != ... | 2.572569 | 757b90de755f509cdaf5918230ef9b2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6601 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shaynevanasperen/bitstamp-client-websocket",
"max_stars_repo_path": "test_integration/Bitstamp.Client.Websocket.Tests.Integration/BitstampWebsocketClientTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6602"
} | starcoder | <gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
using Bitstamp.Client.Websocket.Client;
using Bitstamp.Client.Websocket.Requests;
using Bitstamp.Client.Websocket.Responses;
using Microsoft.Extensions.Logging.Abstractions;
using Websocket.Client;
using Xunit;
namespace Bitstamp.Client.W... | 1.718019 | d888f698dbc74ed4479bb9b7550b9254 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6602 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robertmclaws/corefx",
"max_stars_repo_path": "src/Common/src/System/Security/Cryptography/DSACng.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6603"
} | 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.IO;
using Internal.Cryptography;
using static Interop.NCrypt;
namespace System.Security.Cryptography
{... | 2.640882 | b9cb91a6010667ee6970c87264a245aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6603 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaaner/AdessoRideShare",
"max_stars_repo_path": "AdessoRideShare.Service/Extensions/LanguageRouteConstraint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6604"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
namespace AdessoRideShare.Service.Extensions
{
public class LanguageRouteConstraint : IRouteConstraint
{
public bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)
... | 2.304461 | 1be17ae7e09765bebf909b0a5a7680eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6604 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "muwaqar/azure-powershell",
"max_stars_repo_path": "src/ServiceManagement/Services/Commands.Utilities/WAPackIaaS/WebClient/HttpWebRequestExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6605"
} | 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... | 2.350096 | 8e832fcaeb5d03fbd6a7f02d107dedc0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "The1con/Shader-Playground",
"max_stars_repo_path": "Shader Playground/Library/PackageCache/com.unity.quicksearch@1.4.2-preview.3/Editor/ResourceDescriptors.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6606"
} | starcoder | using System;
using System.Text;
using Unity.QuickSearch.Providers;
using UnityEditor;
using UnityEngine;
using UnityEngine.Experimental.Rendering;
using UnityEngine.Rendering;
using Object = UnityEngine.Object;
namespace Unity.QuickSearch
{
// TODO: Make this public and add documentation.
internal class Reso... | 2.453338 | 81f1eec86fffdc0d9d9a3be05281f61d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6606 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "mrurb/evelib",
"max_stars_repo_path": "EveLib.EveCrest/Models/Resources/DogmaEffectCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6607"
} | starcoder | <filename>EveLib.EveCrest/Models/Resources/DogmaEffectCollection.cs
// ***********************************************************************
// Assembly : EveLib.EveCrest
// Author : larsd
// Created : 02-14-2016
//
// Last Modified By : larsd
// Last Modified On : 02-14-2016
// **********... | 1.911021 | 8ed74a7e23e391f257f6e8f05d15f67f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kenannur/PhoneDirectory",
"max_stars_repo_path": "ContactApi/ContactApi.Data.Faker/FakeDataGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6608"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using Bogus;
using ContactApi.Shared.Entities;
namespace ContactApi.Data.Faker
{
public static class FakeDataGenerator
{
private const string locale = "tr";
public static List<Contact> Prepare(int count = 50)
{
... | 2.287707 | 4f89e588040d43372014175f266f3d38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6608 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aalishov/School",
"max_stars_repo_path": "IT-Career-V4/M01-ProgrammingBasics/S05-ConditionalStatementsSeries/P01-BonusPoints/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6609"
} | starcoder | using System;
class Program
{
static void Main()
{
double points = double.Parse(Console.ReadLine());
double bonus = 0;
if (points <= 100)
{
bonus += 5;
}
else if (points > 100 && points <= 1000)
{
bonus += points * 0.2;
}... | 3.547274 | 1e3208e0d79e7bff4bcd3e2abf1442fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6609 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PixelBrownieSoftware/pipe_dreamer_source",
"max_stars_repo_path": "PipeDreamer/Assets/Scripts/SaveData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6610"
} | starcoder | <filename>PipeDreamer/Assets/Scripts/SaveData.cs
using UnityEngine;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Collections;
using System.Collections.Generic;
public class SaveData : MonoBehaviour {
public WorldManager world;
// Use this for initialization
void Update (... | 2.250689 | 8563985610535f28f46f77089c0cb329 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6610 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonfortescue/winforms",
"max_stars_repo_path": "src/System.Windows.Forms/src/System/Windows/Forms/Layout/FlowLayout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6611"
} | 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.ComponentModel;
using System.Diagnostics;
using System.Drawing;
namespace System.Windows.Forms.Layout... | 2.276776 | 0ae64a5803dc3eedeeda2b96eb8a37ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6611 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jcapellman/filex",
"max_stars_repo_path": "filex/Arguments/OperationModeArgument.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6612"
} | starcoder | using System;
using filex.Arguments.Base;
using filex.Enums;
using filex.Objects;
namespace filex.Arguments
{
public class OperationModeArgument : BaseArgument
{
public override string Argument => "mode";
public override string UsageText => $"Offers support for either training or prediction ... | 2.466562 | d83775a69107fc278b13a28f601a61bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jfjcn/EntityFramework-Reverse-POCO-Code-First-Generator",
"max_stars_repo_path": "Tester.Integration.EfCore3/TestSynonymsDatabase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6613"
} | starcoder | <filename>Tester.Integration.EfCore3/TestSynonymsDatabase.cs
// ------------------------------------------------------------------------------------------------
// This code was generated by EntityFramework Reverse POCO Generator (http://www.reversepoco.co.uk/).
// Created by <NAME> (https://about.me/simon.hughes).
//... | 1.997833 | d79dbd49f75957c9722fe56526296f56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6613 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "avantida/azure-libraries-for-net",
"max_stars_repo_path": "src/ResourceManagement/BatchAI/Generated/WorkspacesOperationsExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6614"
} | starcoder | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// </auto-generated>
namespace Microsoft.Azure.Management.BatchAI.Fluent
{
... | 1.851542 | 88c795820993bbe55f6fd68894f3eeb7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flaithbheartaigh/dynamic-delivery-4-tridion",
"max_stars_repo_path": "dotnet/DD4T.ContentModel.Contracts/Factories/IModelFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6615"
} | starcoder | namespace DD4T.ContentModel.Contracts.Factories
{
public interface IModelFactory
{
object CreateModel(string viewName, IComponentPresentation componentPresentation);
bool TryCreateModel(string viewName, IComponentPresentation componentPresentation, out object model);
I Create<I>(I... | 1.692533 | 074d91a62c9749fb928097429144ce1f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "guokai2048/ngii",
"max_stars_repo_path": "CM.Application/CM.Application.Web/obj/Release/Package/PackageTmp/Views/Home/AdminPrettyDesktop.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:6616"
} | starcoder |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>我的桌面</title>
<link href="/Content/scripts/bootstrap/bootstrap.min.css" rel="styl... | 1.82377 | 5cc35adc5c796d7c3511e94f35b4e11b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wangccsy/fo-dicom",
"max_stars_repo_path": "DICOM/Imaging/Codec/NativeJpegParametersExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6617"
} | starcoder | // Copyright (c) 2012-2017 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
namespace Dicom.Imaging.Codec
{
public static class NativeJpegParametersExtensions
{
public static NativeJpegParameters ToNativeJpegParameters(this DicomCodecParams codecParams)
{
... | 2.043221 | 9942d0e594818b8e227dfa78fc1487e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "datadiode/B2XTranslator",
"max_stars_repo_path": "src/WordProcessing/DocFileFormat/CommentAuthorTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6618"
} | starcoder | <filename>src/WordProcessing/DocFileFormat/CommentAuthorTable.cs
using System;
using System.Collections.Generic;
using System.Text;
using DIaLOGIKa.b2xtranslator.StructuredStorageReader;
namespace DIaLOGIKa.b2xtranslator.DocFileFormat
{
public class CommentAuthorTable : List<string>
{
public C... | 2.602428 | 0f3f4d0144496e09e5b82037a3628866 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6618 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SmallChi/JT905",
"max_stars_repo_path": "src/JT905.Protocol/MessageBody/JT905_0x8B10.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6619"
} | starcoder | <gh_stars>1-10
using JT905.Protocol.Extensions;
using JT905.Protocol.Interfaces;
using JT905.Protocol.MessagePack;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
namespace JT905.Protocol.MessageBody
{
/// <summary>
/// 外围设备指令下行透传
/// </summary>
public class ... | 2.164577 | 6e0a2c21234717bf613680811443d9eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6619 | {
"extension": "c-sharp",
"max_stars_count": "1436.0",
"max_stars_repo_name": "SimonG96/NLua",
"max_stars_repo_path": "src/GenerateEventAssembly/ClassGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6620"
} | starcoder | using System;
using LuaState = KeraLua.Lua;
namespace NLua
{
class ClassGenerator
{
private readonly ObjectTranslator _translator;
private readonly Type _klass;
public ClassGenerator(ObjectTranslator objTranslator, Type typeClass)
{
_translator = objTranslator;
... | 2.194358 | 7e85e6a3e77a3d9d70ad3eceb4463b08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6620 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "saeedashraf/Climate_Change_Toolkit",
"max_stars_repo_path": "cct2010/CctMain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6621"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System... | 2.470111 | 486fdc3c821b5115fa506e9c8b5fc2f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6621 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "temichelle13/Windows-Community-Toolkit",
"max_stars_repo_path": "UnitTests/UnitTests.HighPerformance.Shared/Extensions/Test_ArrayExtensions.3D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6622"
} | starcoder | <reponame>temichelle13/Windows-Community-Toolkit
// 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.Runtime.CompilerServices;
using Microsoft.Toolkit.Hig... | 2.17217 | d0aee2aa33f93486067171adb0ce5b6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6622 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kernel-Klink/My-FyiReporting",
"max_stars_repo_path": "RdlDesign/DesignXmlDraw.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6623"
} | starcoder | /* ====================================================================
Copyright (C) 2004-2008 fyiReporting Software, LLC
Copyright (C) 2011 <NAME> <<EMAIL>>
This file is part of the fyiReporting RDL project.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file ... | 2.091858 | 3fca2f4051d3d3f57560aee3d6eca1af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mfuqua3/TMB-Loot-Council-API",
"max_stars_repo_path": "Domain/LootCouncil.Domain.Entities/DiscordIdentity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6624"
} | starcoder | <filename>Domain/LootCouncil.Domain.Entities/DiscordIdentity.cs
using System;
using System.Collections.Generic;
using LootCouncil.Domain.Data;
namespace LootCouncil.Domain.Entities
{
public class DiscordIdentity : IUnique<ulong>, ITracked
{
public ulong Id { get; set; }
public string UserName {... | 1.951589 | 14880369f03573489396fbac59df21a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6624 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "mrahhal/Konsola",
"max_stars_repo_path": "src/Konsola/Metadata/AttributeMetadata.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6625"
} | starcoder | using System;
namespace Konsola.Metadata
{
public class AttributeMetadata
{
public AttributeMetadata(Attribute attribute)
{
Type = attribute.GetType();
Attribute = attribute;
}
public Type Type { get; }
public Attribute Attribute { get; }
}
}
| 2.282166 | 27a9065077af2e6c3e893bf860211279 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6625 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/libraries/System.Runtime.InteropServices/gen/DllImportGenerator/DllImportGeneratorOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6626"
} | starcoder | <reponame>pyracanda/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.Interop
{
internal record DllImportGeneratorOptions(bool GenerateForwarders, bool UseMa... | 1.444295 | d5dbf6221f6e06abb3f55156fdedf427 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6626 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "moppa/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web/Editors/MemberController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6627"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.ModelBinding;
using System.Web.Security;
using AutoMapper;
u... | 1.774976 | 22e2da53faced3776e8a9a3766b62974 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KennethEvans/VS-GpxViewer",
"max_stars_repo_path": "GPX Viewer/MainForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6628"
} | starcoder | using GPXViewer.Dialogs;
using GPXViewer.KML;
using GPXViewer.model;
using KEGpsUtils;
using KEUtils.About;
using KEUtils.ScrolledHTML;
using KEUtils.ScrolledText;
using KEUtils.Utils;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using Syste... | 1.874574 | 6b7c68cc5b537cf8b847fc6d83650e06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6628 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DavidZajicek/PockyBot.NET",
"max_stars_repo_path": "src/PockyBot.NET/Services/IResultsFileGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6629"
} | starcoder | <gh_stars>1-10
using System.Collections.Generic;
using System.Threading.Tasks;
using PockyBot.NET.Models;
namespace PockyBot.NET.Services
{
internal interface IResultsFileGenerator
{
Task<string> GenerateResultsFileAndReturnLink(List<PegRecipient> mappedUsers);
}
}
| 1.491387 | edb1e69ffdef457702b3894a323edf7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikiraSora/VirtualizingStaggeredPanel",
"max_stars_repo_path": "VirtualizingStaggeredPanel/IVirtualGridFlowPanelItemParam.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6630"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace MikiraSora.VirtualizingStaggeredPanel
{
public interface IVirtualGridFlowPanelItemParam
{
/// <summary>
/// 横宽比,AspectRatio = Width/He... | 2.052844 | 5a863ee2d4ea1c7440dd9bcf5b0df0b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "forki/XrmMockup",
"max_stars_repo_path": "tests/SharedTests/TestCurrency.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6631"
} | starcoder | using System;
using System.Text;
using System.Collections.Generic;
using DG.Some.Namespace;
using System.Linq;
using Microsoft.Xrm.Sdk;
using System.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xrm.Sdk.Query;
using DG.XrmFramework.BusinessDomain.ServiceContext;
namespace DG.XrmMock... | 1.894785 | 170277eb6462e3802580e0a1b67781c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6631 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "fingerx/LiteNetLib4Mirror",
"max_stars_repo_path": "LiteNetLib4Mirror/Assets/MirrorLib/Mirror/Examples/Basic/Scripts/Player.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6632"
} | starcoder | using UnityEngine;
namespace Mirror.Examples.Basic
{
public class Player : NetworkBehaviour
{
[SyncVar]
public int data;
public TextMesh text;
public override void OnStartServer()
{
base.OnStartServer();
InvokeRepeating(nameof(UpdateData), 1,... | 2.376288 | a37649395a5f4266c7b5a49231fb07f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6632 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "redbaty/PeMirrorCreator",
"max_stars_repo_path": "PeMirror.Injections/PixelExperienceManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6633"
} | starcoder | using System;
using System.ComponentModel;
using System.IO;
using System.Net;
using System.Reflection;
using System.Threading.Tasks;
using ByteSizeLib;
using Kurukuru;
namespace PeMirror.Injections
{
public class PixelExperienceManager
{
private long _lastBytes;
private DateTime _lastUpdate;
... | 2.578871 | a208f7fbdbb75f86f57d4e5300d4f8aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6633 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "deveel/dflow",
"max_stars_repo_path": "src/Deveel.Workflows/Workflows/ServiceResolutionException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6634"
} | starcoder | <reponame>deveel/dflow
using System;
namespace Deveel.Workflows {
public class ServiceResolutionException : WorkflowBuildException {
public ServiceResolutionException(Type serviceType, string message, Exception innerException)
: base(message, innerException) {
ServiceType = serviceType;
}
public Service... | 1.94351 | faf670df39360f139798344f233c79ee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6634 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakisk/dotnetsheff-api",
"max_stars_repo_path": "src/dotnetsheff.Api/Meetup/MillisecondEpochConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6635"
} | starcoder | <filename>src/dotnetsheff.Api/Meetup/MillisecondEpochConverter.cs
using System;
using System.Globalization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace dotnetsheff.Api.Meetup
{
public class MillisecondEpochConverter : DateTimeConverterBase
{
private static readonly DateTime _epoc... | 3.003123 | a224d8b7453372fbac2f5b273253e085 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6635 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jnm2/ApiContractGenerator",
"max_stars_repo_path": "src/ApiContractGenerator/Source/MetadataReaderSource.ReaderMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6636"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Metadata;
using ApiContractGenerator.Model;
using ApiContractGenerator.Model.TypeReferences;
namespace ApiContractGenerator.Source
{
public sealed partial class MetadataReaderSource
{
private sealed class R... | 2.248186 | 0d02be8f1387d3f7d4957b8d02efdbc5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 6636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "compori/magentoapi",
"max_stars_repo_path": "tests/MagentoApi.SoapClient.DryIocUnitTests/ServiceRegistryTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6637"
} | starcoder | using Compori.MagentoApi;
using Compori.MagentoApi.Authentication;
using Compori.MagentoApi.Settings;
using Compori.MagentoApi.SoapClient.DryIoc;
using DryIoc;
using MagentoApi.SoapClient.DryIocUnitTests.Fixtures;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Thread... | 1.808215 | a965c46e31235d33f1ed0e3a06c37c11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.