added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830312 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "machine/machine.specifications.runner.resharper",
"max_stars_repo_path": "src/Machine.Specifications.Runner.ReSharper/EnumerableExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149532"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace Machine.Specifications.Runner.ReSharper
{
public static class EnumerableExtensions
{
public static IEnumerable<T> Flatten<T>(this IEnumerable<T> source, Func<T, IEnumerable<T>> selector)
{
var items = sour... | 2.529861 | 948030acae961240edd62a51479c7713 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Artusoft/ARXivarNEXT.Client",
"max_stars_repo_path": "src/ARXivarNEXT.Client/Model/StampDefinitionBindingElementDTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149533"
} | starcoder | /*
* WebAPI
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: data
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collec... | 2.141719 | d7e9bd807e2f3eade7c55f561134980b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830314 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dotJEM/lucenenet",
"max_stars_repo_path": "src/docs/JavaDocToMarkdownConverter/Formatters/DemoCodeFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149534"
} | starcoder | <gh_stars>1-10
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* ... | 2.478443 | 830b2a8352d71e728d48a56cfea93d80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830315 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "pulumi/pulumi-signalfx",
"max_stars_repo_path": "sdk/dotnet/Inputs/DataLinkTargetExternalUrlGetArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149535"
} | starcoder | // *** 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.Serialization;
names... | 1.921303 | b5f767ce6a73e4a8725beda3b2625e7c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830316 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MeWnoJinsei/PlantsVsZombies.NET",
"max_stars_repo_path": "Lawn_Shared/Sexy.TodLib/Particle/ParticleParams.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149536"
} | starcoder | <gh_stars>1-10
using System;
namespace Sexy.TodLib
{
public/*internal*/ class ParticleParams
{
public ParticleParams(ParticleEffect aParticleEffect, string aParticleName)
{
mParticleEffect = aParticleEffect;
mParticleFileName = aParticleName;
}
public P... | 1.741994 | b7f94fbe819eb194b793f83f57650375 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MykolaPod/InterviewTestTask",
"max_stars_repo_path": "PhoneBook/PhoneBook.Services/SignalRTransmitterService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149537"
} | starcoder | <reponame>MykolaPod/InterviewTestTask
using System;
using System.Threading;
using System.Threading.Tasks;
using Contracts.Dto.Response.Contact;
using Microsoft.AspNetCore.SignalR;
using PhoneBook.Services.Abstract;
using PhoneBook.Services.Hubs;
namespace PhoneBook.Services
{
public class SignalRTransmitterServic... | 1.949013 | 00c0c04ec8804648fea1aa4c3c30ae0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830318 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Zastai/ListenBrainz",
"max_stars_repo_path": "MetaBrainz.ListenBrainz/Json/Readers/MusicBrainzIdMappingsReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149538"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text.Json;
using MetaBrainz.Common.Json;
using MetaBrainz.Common.Json.Converters;
using MetaBrainz.ListenBrainz.Objects;
namespace MetaBrainz.ListenBrainz.Json.Readers;
internal sealed class MusicBrainzIdMappingsReader : ObjectReader<MusicBrainzIdMappings>... | 2.3443 | acda7e7e52205ea24125acf584bc3683 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830319 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OutpostOmni/OmniGraph",
"max_stars_repo_path": "OmniGraph/Test/LineDetectionSpec.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149539"
} | starcoder | /**
* This file is part of OmniGraph, licensed under the MIT License (MIT).
*
* Copyright (c) 2017 Helion3 http://helion3.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 withou... | 2.296862 | 0e3f82b87dab49ebe677d621f25bcb8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830320 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "MattHoneycutt/asp.net-samples",
"max_stars_repo_path": "angularjs/AngularPassingData/Views/Home/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149540"
} | starcoder | <gh_stars>10-100
@using AngularPassingData.Helpers
@model AngularPassingData.Models.PersonViewModel[]
<h1>Sample: Passing Data to AngularJS!</h1>
<div class="alert alert-info">
This sample demonstrates a couple of ways that you can pass data from Razor to AngularJS. For more information,
see <a target="_bla... | 3.098658 | 1d064e1ebed1bdd2bc2824ea9ec228db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830321 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mimetis/SC2Sniffer",
"max_stars_repo_path": "SC2MiM.Common/Services/HtmlHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149541"
} | starcoder | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using HtmlAgilityPack;
using System.Net;
using System.Net.Cache;
using System.Configuration;
using System.Globalization;
using System.Diagnostics;
using SC2MiM.Common.Entities;
us... | 2.477214 | 2ef88923ff983a1f83ff79ee73892cba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830322 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intj-t/openvmsft",
"max_stars_repo_path": "WRK-V1.2/clr/src/bcl/system/text/surrogateencoder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149542"
} | starcoder | <gh_stars>0
// ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are a... | 2.251597 | 2c283eac0b3a7a272343eccffb522897 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AhsanulIslam/Automated_Attendance-_System-CSharp",
"max_stars_repo_path": "AutoAttendance/CourseInfo/StudentInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149543"
} | starcoder | <reponame>AhsanulIslam/Automated_Attendance-_System-CSharp<filename>AutoAttendance/CourseInfo/StudentInfo.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Ta... | 2.463701 | 8c2b8b684ec13507917f2b728445867d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AscenKeeprov/CSharp-OOP-Advanced",
"max_stars_repo_path": "Exercise4-ReflectionAndAttributes/InfernoInfinity/Factories/Blacksmith.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149544"
} | starcoder | <filename>Exercise4-ReflectionAndAttributes/InfernoInfinity/Factories/Blacksmith.cs
using System;
using System.Linq;
using System.Reflection;
public class Blacksmith : IBlacksmith
{
private Type[] weaponTypes = Assembly.GetExecutingAssembly()
.GetTypes().Where(t => t.BaseType == typeof(Weapon)).ToArray();
p... | 3.269028 | 7989d10213b78b1ce0105781821758b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830325 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "xnbya/VirtualTimeMachine",
"max_stars_repo_path": "VirtualTimeMachine/VirtualTimeMachine/obj/x86/Debug/metro/ProgressIndicator.g.i.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149545"
} | starcoder | <reponame>xnbya/VirtualTimeMachine<gh_stars>1-10
#pragma checksum "..\..\..\..\metro\ProgressIndicator.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "D586FE5224E29EDC4E25D17DCB389C62"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by... | 1.43461 | f6a9136a23d3d042dadb5629dde32ca3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830326 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meeteric-mob/AuthJanitor",
"max_stars_repo_path": "src/AuthJanitor.Functions.AdminApi/Functions/Resources.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149546"
} | starcoder | <filename>src/AuthJanitor.Functions.AdminApi/Functions/Resources.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using AuthJanitor.Services;
using AuthJanitor.UI.Shared.ViewModels;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Micro... | 2.269339 | 57ae5104332ddcdd93972139f77f0aa2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chm-tm/msbuild-projectref-private-glitch",
"max_stars_repo_path": "src/ClassLibrary3/Class3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149547"
} | starcoder | <gh_stars>0
using static Class1;
public static class Class3 {
public static void Bar3() {
Bar1();
}
}
| 1.318601 | fb7923299b7cd3e74f44ec65145ea78c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830328 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "emily33901/Argon",
"max_stars_repo_path": "src/Server/ClientTied.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149548"
} | starcoder | using System;
using System.Collections.Generic;
using Core;
namespace Server
{
public class ClientTied<T>
where T : ClientTied<T>, new()
{
// All clienttied instances of this type
private static Dictionary<int, T> Active { get; set; } = new Dictionary<int, T>();
// Client id that t... | 2.48229 | 9577ccfa2b4186c499e5a8f96e171bde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Soutar92/2019-06-c-sharp-labs",
"max_stars_repo_path": "labs/lab_22_first_test/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149549"
} | starcoder | using System;
namespace lab_22_first_test
{
class Program
{
static void Main(string[] args)
{
}
}
public class LabWork
{
public int CubeNumbers(int x, int y, int z)
{
return x*y*z;
}
static public int CubeNumbersSta... | 3.682289 | b5c6b1c311921911f8061cbcf1fefecf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830330 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ErisApps/BeatSaberPerfectionDisplay",
"max_stars_repo_path": "PerfectDisplay.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149550"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using UnityEngine;
using System.Collections;
using System.Text.RegularExpressions;
using BS_Utils.Utilities;
namespace PerfectionDisplay
{
class PerfectDisplay : MonoBehaviour
{
ScoreController scoreController;
StandardLevelGameplayManager standa... | 2.088647 | 855c3b4174eda44f66fbd5c5f1e34a62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830331 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "SirDuke/AgentMulder",
"max_stars_repo_path": "src/AgentMulder.ReSharper.Domain/Registrations/NegateRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149551"
} | starcoder | <filename>src/AgentMulder.ReSharper.Domain/Registrations/NegateRegistration.cs
using JetBrains.ReSharper.Psi;
namespace AgentMulder.ReSharper.Domain.Registrations
{
public class NegateRegistration : FilteredRegistrationBase
{
private readonly IComponentRegistration registration;
public Negate... | 2.065387 | e677082202b47f10da21e2dc29849c0f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830332 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Star-Academy/Team6-Codes",
"max_stars_repo_path": "csharp/student/AppConsole/Model/Student.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149552"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System;
namespace AppConsole.Model
{
public class Student
{
public int StudentNumber { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public List<Grade> Grades = new List<Grade>()... | 3.437778 | f5de7c63c8f46617b0b3e3ec3aec48a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pazof/omnisharp-roslyn",
"max_stars_repo_path": "src/OmniSharp.Abstractions/ProjectSystemNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149553"
} | starcoder | namespace OmniSharp
{
public static class ProjectSystemNames
{
public const string MSBuildProjectSystem = "MSBuildProjectSystem";
public const string CakeProjectSystem = "CakeProjectSystem";
public const string DotNetProjectSystem = "DotNetProjectSystem";
public const string Scr... | 1.277696 | 36276da217a325d8a03133fd81ad88fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KronusTaur/hack",
"max_stars_repo_path": "Assets/Plugins/Editor/Voximplant/VoxiOSExport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149554"
} | starcoder | using UnityEditor;
using UnityEditor.Callbacks;
using System.Linq;
using Xcodeapi;
namespace Voximplant
{
public class VoxiOSExport
{
[PostProcessBuild]
public static void export(BuildTarget buildTarget, string path) {
if (buildTarget != BuildTarget.iOS)
return;
... | 1.809258 | 8d397455ca3603e5f32d9fcbcf5616f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830335 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Andrei15193/Laboratoare-Facultate",
"max_stars_repo_path": "Semestrul5/DS/Project/FamilyExpenses/Model/Currency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149555"
} | starcoder | <reponame>Andrei15193/Laboratoare-Facultate
namespace FamilyExpenses.Model
{
public enum Currency
{
RON,
Pound,
Euro
}
} | 1.5374 | 79e8bb16fbc80dc54b13d0c81211b2ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "onenorth/sitecore-field-migrator",
"max_stars_repo_path": "src/OneNorth.FieldMigrator/Pipelines/MigrateItem/MigrateLatestApprovedVersionPerLanguage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149556"
} | starcoder | <reponame>onenorth/sitecore-field-migrator
using System.Collections.Generic;
using System.Linq;
using OneNorth.FieldMigrator.Models;
using OneNorth.FieldMigrator.Pipelines.MigrateVersion;
namespace OneNorth.FieldMigrator.Pipelines.MigrateItem
{
public class MigrateLatestApprovedVersionPerLanguage : IMigrateItemPi... | 2.462513 | ec962997822bbe246a773ddc86681c33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830337 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "turcol/blockcore",
"max_stars_repo_path": "src/Tests/Blockcore.IntegrationTests.Common/Runners/StratisBitcoinPowRunner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149557"
} | starcoder | <filename>src/Tests/Blockcore.IntegrationTests.Common/Runners/StratisBitcoinPowRunner.cs
using Blockcore.Base;
using Blockcore.Builder;
using Blockcore.Configuration;
using Blockcore.Features.NodeHost;
using Blockcore.Features.BlockStore;
using Blockcore.Features.Consensus;
using Blockcore.Features.MemoryPool;
using B... | 1.597811 | 4e296524fd36d820617cb62cd832eb68 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830338 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RyusukeMatsumoto7C9-B-2/magic-leap-advent-calendar-2020",
"max_stars_repo_path": "magic-leap-advent-calendar/Assets/AdventCalendar/Scripts/HandPointer/IHandPointer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149558"
} | starcoder | <gh_stars>0
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.XR.MagicLeap;
namespace AdventCalendar.HandPointer
{
public interface IHandPointer
{
float PointerRayDistance { get; set; }
bool IsShow { get; }
MLHandTracking.HandKeyPose SelectKeyPose { get; set; }
M... | 1.473755 | 4f8d89491f6ad12393ad9ca76af9c7a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830339 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mulova/unity-commons",
"max_stars_repo_path": "Runtime/type/EnumData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149559"
} | starcoder | <gh_stars>1-10
//----------------------------------------------
// Unity3D common libraries and editor tools
// License: http://opensource.org/licenses/GPL-3.0
// Copyright © 2013- <EMAIL>
//----------------------------------------------
using System;
namespace mulova.commons {
/**
* Enum index를 기반으로 하는 배열을 저장할 경... | 2.505328 | 679003e05cb2bec60d1d666531367579 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RichoM/TO2021",
"max_stars_repo_path": "Ejercicios/Plotter/Plotter/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149560"
} | starcoder | <filename>Ejercicios/Plotter/Plotter/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using Plotter.Plotting;
na... | 2.825266 | 083ae523b7f5f139e7e3eaec53242ff3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830341 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "mukesh-capsitech/gocardless-dotnet",
"max_stars_repo_path": "GoCardless/Resources/Payment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149561"
} | starcoder | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using GoCardless.Internals;
namespace GoCardless.Resources
{
/// <summary>
/// Represents a payment resource.
///
/// Payment objects represent payments from a
... | 2.441553 | d754aab52decb310bcdd097b47dd6f18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ethankennerly/one-room",
"max_stars_repo_path": "Assets/Scripts/UnityToykit/Editor/Tests/TestProgress.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149562"
} | starcoder | using System.Collections.Generic/*<List>*/;
using NUnit.Framework;
namespace Finegamedesign.Utils
{
public sealed class TestProgress
{
[Test]
public void CreepUp()
{
Progress progress = new Progress();
progress.levelMax = 200;
progress.radius = 0.25f;
Assert.AreEqual(0.0f, progress.Creep(0.0f / 100... | 2.454158 | e1ce0733163f37cb6c62f0e11e1434b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hipparchus2000/SockMin",
"max_stars_repo_path": "Repository/Entities/Html/NavCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149563"
} | starcoder | <filename>Repository/Entities/Html/NavCategory.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Repository.Entities.BaseClasses;
using Repository.Entities.ConnectionAndState;
namespace Repository.Entities.Html
{
public class NavCategory :... | 1.924168 | 04bf7eb5a36447110a51bdaf808ea0d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830344 | {
"extension": "c-sharp",
"max_stars_count": "388.0",
"max_stars_repo_name": "gatehouse/cppcms",
"max_stars_repo_path": "contrib/integration/session/asp.net/SessionPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149564"
} | starcoder | using System;
namespace CppCMS.Session {
public class SessionPool : SessionBase {
private SessionPool()
{
d=API.session_pool_new();
}
override public void Close()
{
if(d!=IntPtr.Zero) {
API.session_pool_delete(d);
d=IntPtr.Zero;
}
}
public static SessionPool FromConfig(string path)
{
SessionPool ... | 2.260472 | 8dbc4533e68b045e1325b282ea913bdf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830345 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "haitheredavid/ar-playground",
"max_stars_repo_path": "ar-playground/Library/PackageCache/com.unity.xr.arfoundation@4.2.2/Tests/Editor/MeshManagerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149565"
} | starcoder | using NUnit.Framework;
using UnityEngine.XR.ARFoundation;
namespace UnityEditor.XR.ARFoundation
{
[TestFixture]
class MeshManagerTests
{
[Test]
public void CanBeUsedInPrefab()
{
var arSessionGameObject =
ObjectFactory.CreateGameObject("AR Session Origin",... | 1.962489 | 5bd1fb07ac0fd1c26eb4390d1e64cc7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830346 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "raffitamizian/AwsWatchman",
"max_stars_repo_path": "Watchman.AwsResources.IntegrationTests/Service/Rds/RdsSourceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149566"
} | starcoder | <filename>Watchman.AwsResources.IntegrationTests/Service/Rds/RdsSourceTests.cs<gh_stars>10-100
using System.Threading.Tasks;
using Amazon;
using NUnit.Framework;
using Amazon.RDS;
using TestHelper;
using Watchman.AwsResources.Services.Rds;
namespace Watchman.AwsResources.IntegrationTests.Service.Rds
{
[TestFixtur... | 2.279713 | 5146b2774732add08866943481aa26a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830347 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Dunncann/maze-generator",
"max_stars_repo_path": "Maze/Maze-generator/Models/Edge.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149567"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
namespace Maze_generator.Models
{
/// <summary>
/// A wall between two cells
/// </summary>
public class Edge : IEquatable<Edge>
{
public int Cell1 { get; }
public int Cell2 { get; }
public Edge(int ... | 3.92068 | bdfc7985b7090d6903faf7e831a8cac6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830348 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "QutEcoacoustics/audio-analysis",
"max_stars_repo_path": "src/AnalysisPrograms/Recognizers/PhascolarctosCinereus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149568"
} | starcoder | // <copyright file="PhascolarctosCinereus.cs" company="QutEcoacoustics">
// All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group).
// </copyright>
namespace AnalysisPrograms.Recognizers
{
... | 2.079995 | 4251533bcde7beba151fc0902aaaed4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830349 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ogcs/Okra-ARPG",
"max_stars_repo_path": "Assets/TinyZ/Google/ProtocolBuffers/ProtobufMsgLogin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149569"
} | starcoder | <gh_stars>1-10
// Generated by ProtoGen, Version=2.4.1.521, Culture=neutral, PublicKeyToken=55f7125234beb589. DO NOT EDIT!
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.ProtocolBuffers;
using pbc = global::Google.ProtocolBuffers.Collections;
using pbd = global::Goo... | 1.898094 | d18b6c18cc27d41232b89e9886d3e9da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asmnh/interface-apiclient",
"max_stars_repo_path": "src/InterfaceApiClient/ApiClientProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149570"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Reflection;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
namespace InterfaceApiClient
{
public class ApiClientProxy : IApiClientProxy
{
private readonly IHttp... | 2.530155 | ce810263160dbee5c3412b1b54ff797b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpyrosHerodotou/TaxFiguresCalculator",
"max_stars_repo_path": "TaxFiguresCalculator.MVC/UseCases/Transactions/Manager/IDataManagerViewService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149571"
} | starcoder | <reponame>SpyrosHerodotou/TaxFiguresCalculator
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TaxFiguresCalculator.MVC.ViewModels;
namespace TaxFiguresCalculator.MVC.Interfaces
{
public interface IDataManagerViewService
{
... | 1.683703 | 20c76f7409d59d6f0ea09430ba7ab630 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830352 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "HirenBodhi/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK",
"max_stars_repo_path": "NextGenSoftware.OASIS.API.Core/Objects/Avatar/AvatarGift.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149572"
} | starcoder |
using NextGenSoftware.OASIS.API.Core.Enums;
using NextGenSoftware.OASIS.API.Core.Helpers;
using NextGenSoftware.OASIS.API.Core.Interfaces;
using System;
namespace NextGenSoftware.OASIS.API.Core.Objects
{
public class AvatarGift : IAvatarGift //TODO: Needs more thought... How does this relate to Achievements/Badg... | 2.189483 | 2159a4d00760214a7d1418d6377bccd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bfrobin446/CKAN",
"max_stars_repo_path": "Core/Types/GameComparator/YoyoGameComparator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149573"
} | starcoder | <reponame>bfrobin446/CKAN
using CKAN.Versioning;
namespace CKAN
{
/// <summary>
/// You're On Your Own (YOYO) game compatibility comparison.
/// This claims everything is compatible with everything.
/// </summary>
public class YoyoGameComparator : IGameComparator
{
public bool Compatib... | 1.838818 | 94d37540b0230c6e27a197fab728b79f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830354 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "giuliobosco/cs-01-MVVM",
"max_stars_repo_path": "05-Ristorante/500.DA/Model/CarteDiCredito.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149574"
} | starcoder | <filename>05-Ristorante/500.DA/Model/CarteDiCredito.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _500.DA.Model {
class CarteDiCredito {
public string NumeroVerde { get; set; }
}
}
| 1.844108 | 553e311e10dfd7846131d87ff1a56269 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chopperbp-interviews/ParkingRegistry.WPF",
"max_stars_repo_path": "src/Infrastructure/Data/Configurations/PaymentTypeConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149575"
} | starcoder | <filename>src/Infrastructure/Data/Configurations/PaymentTypeConfiguration.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ParkingRegistry.ApplicationCore.Entities.Types;
namespace ParkingRegistry.Infrastructure.Data.Configurations
{
class PaymentTypeConfigurati... | 2.414031 | 70260779af57b87b4c5c4b79aa35dfd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830356 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Xcube-Studio/Fluent-Launcher",
"max_stars_repo_path": "Fluent Launcher/FluentLauncher/Pages/NewsPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149576"
} | starcoder | <reponame>Xcube-Studio/Fluent-Launcher<filename>Fluent Launcher/FluentLauncher/Pages/NewsPage.xaml.cs<gh_stars>1-10
using System;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
// https://go.microsoft.com/fwlink/?LinkId=234238 上介绍了“空白页”项模板
namespace FluentLauncher.Pages
... | 1.943222 | 1028a7e05defeead42517585dc554b1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830357 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "SimpleSandman/UmaMusumeAPI",
"max_stars_repo_path": "UmaMusumeAPI/Models/Tables/StoryEventPointReward.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149577"
} | starcoder | using UmaMusumeAPI.Controllers;
namespace UmaMusumeAPI.Models.Tables
{
[GeneratedController]
public class StoryEventPointReward
{
public int Id { get; set; }
public long StoryEventId { get; set; }
public long ItemCategory { get; set; }
public long ItemId { get; set; }
... | 1.40559 | 7252d6f3985eff57b82e9a235519243b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830358 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "simplicbe/ironpython-aspnet-mvc",
"max_stars_repo_path": "src/IronPython.AspNet.Mvc/Injections/DynamicControllerActionInvoker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149578"
} | starcoder | using IronPython.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace IronPython.AspNet.Mvc
{
/// <summary>
/// Create dynamic action invoker and resolve action-names
/// </summary>
public class DynamicControllerActionInvoker : C... | 2.666942 | a30d4e4814b4074a26e3429e2446e987 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830359 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "iyilm4z/Dukkan",
"max_stars_repo_path": "aspnet-core/src/Dukkan.Web.Public/DukkanWebPublicModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149579"
} | starcoder | using Abp.Modules;
using Abp.Reflection.Extensions;
using Dukkan.Configuration;
using Dukkan.Web.Startup;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace Dukkan.Web
{
[DependsOn(typeof(DukkanWebCoreModule))]
public class DukkanWebPublicModule : AbpModule
{
p... | 1.479145 | 9d638dd66760105e17bcbe65d3d80ac3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ajkfds/pluginVerilog",
"max_stars_repo_path": "Verilog/Snippets/AutoConnectSnippet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149580"
} | starcoder | <reponame>ajkfds/pluginVerilog
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using codeEditor.CodeEditor;
namespace pluginVerilog.Verilog.Snippets
{
public class AutoConnectSnippet : codeEditor.CodeEditor.ToolItem
{
public AutoConne... | 1.617587 | 5bc70200b3ef08af54f3fdf0cbef6a70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830361 | {
"extension": "c-sharp",
"max_stars_count": "695.0",
"max_stars_repo_name": "shayash22/python-language-server",
"max_stars_repo_path": "src/Caching/Impl/RestoredGlobalScope.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149581"
} | starcoder | <filename>src/Caching/Impl/RestoredGlobalScope.cs
// Copyright(c) Microsoft Corporation
// 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.apache.org/licens... | 2.086658 | 2fc111bcfd2fd6ae60974fac876f6888 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Xallen79/alpaca-trade-api-csharp",
"max_stars_repo_path": "Alpaca.Markets/RestClient.Polygon.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149582"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Alpaca.Markets
{
public sealed partial class RestClient
{
/// <summary>
/// Gets list of available exchanges from Polygon REST API endp... | 2.496859 | e99f34b0f0b6778cc113274fde88e300 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markvantilburg/pretzel",
"max_stars_repo_path": "src/Pretzel.Tests/Templating/Jekyll/LiquidEngineTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149583"
} | starcoder | <filename>src/Pretzel.Tests/Templating/Jekyll/LiquidEngineTests.cs
using System;
using System.IO.Abstractions.TestingHelpers;
using System.Linq;
using Pretzel.Logic.Extensibility;
using Pretzel.Logic.Extensibility.Extensions;
using Pretzel.Logic.Templating.Jekyll;
using Xunit;
using Pretzel.Logic.Templating.Context;
... | 2.453567 | e36b76b86cf1174d21cb8d08dc41bdca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jsdelivrbot/Telerik-Academy-3",
"max_stars_repo_path": "ASP.NET Web Forms/03. Web Controls and HTML Controls/Homework/AspDotNetWebControlsAndHtmlControls/5.Calculator/Calc.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.g... | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 1.790547 | 96ac6d2ce8d912777b1f471a391cf20d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonCropp/NServiceBus.Attachments",
"max_stars_repo_path": "src/Shared/Incoming/StubMessageAttachments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149585"
} | starcoder | <reponame>SimonCropp/NServiceBus.Attachments
namespace NServiceBus.Attachments
#if FileShare
.FileShare.Testing
#endif
#if Sql
.Sql.Testing
#endif
;
/// <summary>
/// An implementation of <see cref="IMessageAttachments"/> for use in unit testing.
/// All members are stubbed out.
/// </summary>
/// <seealso cref="Mock... | 2.123152 | d1d58e8130d76323e7119f836a0441e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830366 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JDdDee/tModLoader",
"max_stars_repo_path": "patches/tModLoader/Terraria/ModLoader/Core/AssemblyManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149586"
} | starcoder | <filename>patches/tModLoader/Terraria/ModLoader/Core/AssemblyManager.cs<gh_stars>1-10
#if NETCORE
using log4net;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using Terraria.ModLoader.UI;
using System.Runti... | 1.822078 | 41f9aec87de1d2ad3218621aeb0fbb25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830367 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jonasbutt/BitcoinPriceNotification",
"max_stars_repo_path": "Source/Robot/Domain/Interfaces/Services/INotificationConfigurationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149587"
} | starcoder | using Jonas.BitcoinPriceNotification.Robot.Domain.Model;
namespace Jonas.BitcoinPriceNotification.Robot.Domain.Interfaces.Services
{
public interface INotificationConfigurationService
{
NotificationConfiguration CreateFromArguments(string[] arguments);
}
} | 1.414162 | 03eebd226967d813aa11d9617b05d0c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830368 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "gsemac/Gsemac.Common",
"max_stars_repo_path": "src/Gsemac.Core/IHashCodeBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149588"
} | starcoder | namespace Gsemac.Core {
public interface IHashCodeBuilder {
IHashCodeBuilder Add(object obj);
int Build();
}
} | 1.93865 | 85e0cfbdb88380da6b09b3b590fd0101 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830369 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "ita-social-projects/EventsExpress",
"max_stars_repo_path": "EventsExpress.Core/Exceptions/EventsExpressException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149589"
} | starcoder | using System;
using System.Collections.Generic;
namespace EventsExpress.Core.Exceptions
{
public class EventsExpressException : Exception
{
public EventsExpressException()
{
}
public EventsExpressException(string message)
: base(message)
{
}
... | 2.388052 | 5b7cf2c6b92cc62f8f6edd49bec3a4d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830370 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tech-ticks/RTDXTools",
"max_stars_repo_path": "Assets/Scripts/Stubs/Generated/Assembly-CSharp/OptionConst/Kind.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149590"
} | starcoder | <filename>Assets/Scripts/Stubs/Generated/Assembly-CSharp/OptionConst/Kind.cs
/*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
// Image 46: Assembly-CSharp.dll - Assembly: Assembly-CSharp... | 1.280938 | 58ce71e3e999abbb15702424245d2883 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "beango-project/beango-framework",
"max_stars_repo_path": "framework/src/Sprite.Auditing/AuditScope.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149591"
} | starcoder | <reponame>beango-project/beango-framework
using System;
using System.Collections.Generic;
namespace Sprite.Auditing
{
public class AuditScope : IAuditScope
{
public AuditScopeContext Context { get; }
public AuditConfigOptions Options { get; private set; }
public AuditLogEntry Log { ge... | 2.213346 | 8decc7dd16327e152a34ce8efeee153e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vatsan-madhavan/Orchestra",
"max_stars_repo_path": "src/Orchestra.Core/Services/RecentlyUsedItemsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149592"
} | starcoder | <filename>src/Orchestra.Core/Services/RecentlyUsedItemsService.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="RecentlyUsedItemService.cs" company="WildGums">
// Copyright (c) 2008 - 2014 WildGums. All rights reserved.
// ... | 2.750476 | 924e244069249f3ec4bf7d28352ce01a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FulcrumVlsM/joinrpg-net",
"max_stars_repo_path": "JoinRpg.DataModel/Links.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149593"
} | starcoder | using JetBrains.Annotations;
namespace JoinRpg.DataModel
{
public enum LinkType
{
ResultUser,
ResultCharacterGroup,
ResultCharacter,
Claim,
Plot,
Comment,
Project,
CommentDiscussion,
}
public interface ILinkable
{
LinkType LinkType { get; }
[NotNull]
string Ident... | 1.662886 | d81f5c4eb4764ac08fd0dd5129f1f719 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830374 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dcrdro/Physics-Battle",
"max_stars_repo_path": "Assets/Scripts/Game/General/FighterOrientation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149594"
} | starcoder | <reponame>dcrdro/Physics-Battle
using Game.Player;
using UnityEngine;
namespace Game.General
{
public class FighterOrientation : MonoBehaviour
{
[SerializeField] private FighterIdentifier fighterIdentifier;
[SerializeField] private FighterConfigMapper fighterConfigMapper;
private void... | 1.727816 | 2c617ae172ef968d24288df271541b1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830375 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pmdevers/auth0",
"max_stars_repo_path": "src/Auth0.Management/DeviceCredentials/Model/CreateDeviceCredential.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149595"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace Auth0.Management.DeviceCredentials.Model
{
public class CreateDeviceCredential
{
[JsonPropertyName("device_name")]
public string DeviceName { get; set; }
public... | 1.634306 | 00be6715cd0e37f372db881ef36d6d1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Viva-Victoria/Foxbat",
"max_stars_repo_path": "VivaVictoria.Foxbat/Templates/ITemplate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149596"
} | starcoder | <gh_stars>0
#region LICENSE
// Copyright 2021 VivaVictoria Open Source Community
// 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 r... | 1.95613 | a83fcbbd45ac7911f5b75aae944411cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830377 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wonner/azure-powershell",
"max_stars_repo_path": "src/Migrate/generated/api/Models/Api20210210/InMageAzureV2EnableProtectionInputTargetVMTags.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149597"
} | starcoder | namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210210
{
using static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.Extensions;
/// <summary>The target VM tags.</summary>
public partial class InMageAzureV2EnableProtectionInputTargetVMTags :
Microsoft.Azure.PowerShell.Cmd... | 1.414219 | 9306d441d410c0c7b9333ceed2869194 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830378 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vmas/ServiceStack.Redis",
"max_stars_repo_path": "src/ServiceStack.Redis/IRedisFailover.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149598"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace ServiceStack.Redis
{
public interface IRedisFailover
{
List<Action<IRedisClientsManager>> OnFailover { get; }
void FailoverTo(params string[] readWriteHosts);
}
} | 1.212667 | c48ba0056afb6201c6c1be52ea55dcc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hmobius/BlogML2Ghost.Core",
"max_stars_repo_path": "BlogML/Xml/BlogMLAttachment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149599"
} | starcoder | using System;
using System.Xml.Serialization;
namespace BlogML2Ghost.Core.BlogML.Xml
{
[Serializable]
public sealed class BlogMLAttachment
{
[XmlAttribute("embedded")]
public bool Embedded { get; set; } = false;
[XmlAttribute("url")]
public string Url { get; set; }
... | 2.025248 | 49c65878169951d2c64bc6eb6dab2fb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830380 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ORuban/Config.HashiCorpVault",
"max_stars_repo_path": "sample/ConsoleApp/HashiCorpVaultClientWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149600"
} | starcoder | <gh_stars>1-10
using System;
using System.Linq;
using System.Threading.Tasks;
using ORuban.Extensions.Configuration.HashiCorpVault;
using VaultSharp;
using VaultSharp.Backends.Authentication.Models;
using VaultSharp.Backends.Authentication.Models.Token;
namespace ConsoleApp
{
public class HashiCorpVaultClientWrapp... | 2.179474 | a931aca9947081d772a91909295b3dab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830381 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "Vespertan/everest",
"max_stars_repo_path": "Samples/Guide/Samples.Everest.Connectors.WcfServiceSerializer/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149601"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MARC.Everest.DataTypes;
using System.IO;
using System.Xml;
using MARC.Everest.RMIM.CA.R020402;
using MARC.Everest.RMIM.CA.R020402.Interactions;
using MARC.Everest.RMIM.CA.R020402.Vocabulary;
using MARC... | 1.898222 | ec248c7abf09d0899b3396ea323a656b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pablopioli/webassembly-blazor-workshop",
"max_stars_repo_path": "Workshop/Pages/RemoteCalls.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149602"
} | starcoder | @page "/remotecalls"
@inject HttpClient Http
<h1>Llamadas remotas</h1>
<input bind="@content" />
<p>@content</p>
<button onclick="@GetData">Llamada HTTP</button>
<button onclick="@Cleandata">Limpiar</button>
@functions {
string content = "";
async Task GetData()
{
content = await Http.GetSt... | 2.465209 | f2d114b9005f65f31d7d5e6906566816 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830383 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "dotnet-campus/GeometryToolDemo",
"max_stars_repo_path": "src/GeometryTool/GeometryTool/Action/XMLHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149603"
} | starcoder | using System.IO;
using System.Text.RegularExpressions;
namespace GeometryTool;
public class XMLHelper
{
/// <summary>
/// 读取xml文件,返回图形所在Match
/// </summary>
/// <param name="vPath"></param>
public Match ReadXml(string vPath)
{
var streamReader = new StreamReader(vPath);
va... | 2.988467 | fa437afbca3745dd5885b4bdf8cd793d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "netcode-gamer/game.ultimaonline.io",
"max_stars_repo_path": "UltimaOnline.Data/Items/Special/Broken Furniture Collection/BrokenBookcase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149604"
} | starcoder | <gh_stars>0
using System;
namespace UltimaOnline.Items
{
[Flipable(0xC14, 0xC15)]
public class BrokenBookcaseComponent : AddonComponent
{
public override int LabelNumber { get { return 1076258; } } // Broken Bookcase
public BrokenBookcaseComponent() : base(0xC14)
{
... | 1.960223 | 9f56980a209c10c9da3525a54524f482 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kansiris/AwesomeMvc",
"max_stars_repo_path": "AwesomeMvcDemo/AwesomeMvcDemo/Controllers/ErrorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149605"
} | starcoder | <gh_stars>0
using System;
using System.Web.Mvc;
using AwesomeMvcDemo.Models;
namespace AwesomeMvcDemo.Controllers
{
public class ErrorController : Controller
{
public ActionResult Index(Exception error)
{
ViewData["message"] = Message(error);
if (Request.IsAjaxRequest()... | 2.143104 | aed2edaf2e1de5811e124adffdfec7df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830386 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vasylmosiiuk/XForms.MediaKit",
"max_stars_repo_path": "MediaKit/MediaKit.Core/RepeatBehavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149606"
} | starcoder | <gh_stars>1-10
using System;
using MediaKit.Core.TypeConverters;
using Xamarin.Forms;
namespace MediaKit.Core
{
/// <summary>
/// Specifies animation repeat strategy after single loop finish.
/// </summary>
[TypeConverter(typeof(RepeatBehaviorTypeConverter))]
public struct RepeatBehavior
{
... | 2.990036 | 5009f484c91ba335b5673fd58678a296 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "depfac/dfakto.states.workers",
"max_stars_repo_path": "dFakto.States.Workers.Sql/Common/BaseDatabase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149607"
} | starcoder | using System.Data;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
namespace dFakto.States.Workers.Sql.Common
{
public abstract class BaseDatabase
{
public string Name => Config.Name;
public DatabaseConfig Config { get; set; }
public abstract DbConnecti... | 2.440865 | a59dd99bbe131a68039857542f98566c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830388 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "keypusher/STF_Crew_Planner",
"max_stars_repo_path": "STF_Crew_Planner/STF_Crew_Planner/ComponentSelect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149608"
} | starcoder | <reponame>keypusher/STF_Crew_Planner
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace STF_CharacterPlanner
{
public partial class Component... | 2.270124 | 774ecb2800fb0784091c92548b84d975 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EchoWitcher/POO",
"max_stars_repo_path": "Lista-Peliculas/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149609"
} | starcoder | <reponame>EchoWitcher/POO<gh_stars>0
using System;
namespace Lista_Peliculas
{
class Program
{
static void Main(string[] args)
{
List<String> lista =new List<String>();
lista.Add("Megamente");
lista.Add("Planeta del tesoro");
... | 2.687731 | c9a615edb6640047fd6659638880b553 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zamhsu/DotNetCoreLineMessagingAPI",
"max_stars_repo_path": "LineMessagingAPI/Models/Message/Imagemap/Action/ImagemapUriActionModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149610"
} | starcoder | namespace LineMessagingAPI.Models.Message.Imagemap.Action
{
/// <summary>
/// Object which specifies the actions and tappable areas of an imagemap.
/// When an area is tapped, the user is redirected to the URI specified in uri and the message specified in message is sent.
/// </summary>
public class... | 2.445658 | 8b0fbec27da781e1be1adbfd6d3f0899 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamestlalocPDX/TestRepo",
"max_stars_repo_path": "MyScribe/Models/ApplicationUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149611"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Identity;
namespace MyScribe.Models
{
public class ApplicationUser : IdentityUser
{
}
} | 1.100191 | b3fbb51fd29873df5c8cda861cd02897 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knightpedro/scheduler",
"max_stars_repo_path": "Scheduler.Application/Resources/Commands/EditOutOfService/EditOutOfServiceCommandValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149612"
} | starcoder | <filename>Scheduler.Application/Resources/Commands/EditOutOfService/EditOutOfServiceCommandValidator.cs
using FluentValidation;
namespace Scheduler.Application.Resources.Commands.EditOutOfService
{
public class EditOutOfServiceCommandValidator : AbstractValidator<EditOutOfServiceCommand>
{
public Edit... | 2.248602 | 0d1aff088a6bac0468ee85df061ded56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheProxor/code-samples-from-pg",
"max_stars_repo_path": "Assets/LevelConstructor/Scripts/Constructor/LevelConstructor/Drawers/BonusLevelTrajectoryDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149613"
} | starcoder | using Drawmasters.Levels;
using UnityEngine;
namespace Drawmasters.LevelConstructor
{
public class BonusLevelTrajectoryDrawer : MonoBehaviour
{
#region Fields
[SerializeField] private LineRenderer solidRenderer = default;
[SerializeField] private LineRenderer intermittenRenderer = de... | 2.38629 | 27cfd073197467013b1d85d1a869227f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dampee/Merchello",
"max_stars_repo_path": "Plugin/Shipping/FedEx/src/Merchello.Plugin.Shipping.FedEx/Provider/IFedExShippingGatewayProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149614"
} | starcoder | namespace Merchello.Plugin.Shipping.FedEx.Provider
{
/// <summary>
/// Marker interface FedExShippingGatewayProvider.
/// </summary>
public interface IFedExShippingGatewayProvider
{
}
}
| 1.358105 | 66ae246d3ee0e2cba555d2cbeb156674 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "makkajai/SpineUnityPlayer",
"max_stars_repo_path": "Assets/Spine/Editor/spine-unity/Editor/Components/SkeletonGraphicCustomMaterialsInspector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149615"
} | starcoder | /******************************************************************************
* Spine Runtimes License Agreement
* Last updated January 1, 2020. Replaces all prior versions.
*
* Copyright (c) 2013-2020, Esoteric Software LLC
*
* Integration of the Spine Runtimes into software or otherwise creating
* der... | 1.830596 | b38a8bae32e2f97638576344e107b317 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewhoi/squidex",
"max_stars_repo_path": "src/Squidex/Config/Domain/ReadModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149616"
} | starcoder | <reponame>andrewhoi/squidex
// ==========================================================================
// ReadModule.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ================================... | 1.08026 | 63edb0ca730ab66c8566c6b8cea4085d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "singularity-group/bugsnag-unity",
"max_stars_repo_path": "example/Assets/Scripts/Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149617"
} | starcoder | using System;
using System.Linq;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.UI;
using BugsnagUnity;
using System.Collections.Generic;
using BugsnagUnity.Payload;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class Main : MonoBehaviour
{
#if UNITY_EDITOR
[MenuItem("Build/Build iOS... | 1.856974 | f54ca6576dd82dc445aa2ecdd4079daa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830398 | {
"extension": "c-sharp",
"max_stars_count": "137.0",
"max_stars_repo_name": "rafa6969/JitUnpacker-Framework",
"max_stars_repo_path": "JitUnpacker/Runtime/CorInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149618"
} | starcoder | using static JitTools.NativeMethods;
namespace JitTools.Runtime {
internal sealed unsafe class CorMethodInfo {
private readonly void* _pData;
public void* PointerOfData => _pData;
public CORINFO_METHOD_INFO_20* MethodInfo20 => (CORINFO_METHOD_INFO_20*)_pData;
public CORINFO_METHOD_INFO_40* MethodInfo40 => ... | 1.811559 | 4a373a72005c28011b05596a4438bd3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Cratis/cratis",
"max_stars_repo_path": "Source/Kernel/Store/MongoDB/EventLogsLogMessages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149619"
} | starcoder | // Copyright (c) Cratis. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Extensions.Logging;
namespace Cratis.Events.Store.MongoDB
{
/// <summary>
/// Holds log messages for <see cref="EventLogs"/>.
/// </summary>
... | 2.079713 | 897cdcfceb3a26c8978a760501aac1ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bizcad/LeanJJN",
"max_stars_repo_path": "Algorithm.CSharp/BizcadAlgorithms/TwoBarReversal/TwoBarReversalAlgorithm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149620"
} | starcoder | <reponame>bizcad/LeanJJN<filename>Algorithm.CSharp/BizcadAlgorithms/TwoBarReversal/TwoBarReversalAlgorithm.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QuantConnect.Algorithm.CSharp.Benchmarks;
... | 2.041898 | 5f142f5cb887528f07b3a38d57ef3ba6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830401 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pmache/singularityrdk",
"max_stars_repo_path": "SOURCE/base/Windows/mkmsil/msil/MetaDataTypeDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149621"
} | starcoder | <reponame>pmache/singularityrdk
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
using System;
namespace Bartok.MSIL
{
using System.Collections;
using System.Reflection;
public class MetaDataTypeDefinition: MetaDataObject {
// Constructor Methods
internal MetaDataTypeDefiniti... | 2.543477 | 264e600b774f4f46ce2e8635e004efcb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MondopDotCom/Mondop.VisualStudio.Solution.Analyser",
"max_stars_repo_path": "src/Mondop.VisualStudio.Solution/IoCModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149622"
} | starcoder | using Mondop.Abstractions.IoC;
using Mondop.VisualStudio.Solution.Io;
using System;
using System.Collections.Generic;
namespace Mondop.VisualStudio.Solution
{
public class IoCModule : IIoCModule
{
public List<Type> DependsOn => new List<Type>{};
public void Register(IIoCContainer container)
... | 1.326482 | cfc0bf567033eb0e96a6cb43d8a3c346 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830403 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "JackWangCUMT/JdSdk",
"max_stars_repo_path": "Source/JdSdk/Response/JingdongLogisticsOrderGetResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149623"
} | starcoder | <gh_stars>1-10
#region head comment
/*
Code generate by JdSdkTool.
Copyright © <EMAIL>
2013-09-07 15:01:51.20549 +08:00
*/
#endregion
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using JdSdk.Domain;
using Newtonsoft.Json;
namespace JdSdk.Response
{
/// <summary>
/// 获取订单信息 R... | 1.535401 | d6164d20f792107f241f3c1dfb671f3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830404 | {
"extension": "c-sharp",
"max_stars_count": "2326.0",
"max_stars_repo_name": "yanlinsun/Utf8Json",
"max_stars_repo_path": "sandbox/ConsoleAppNet461/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149624"
} | starcoder | <reponame>yanlinsun/Utf8Json<gh_stars>1000+
using System.Security;
using System.Reflection;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Running;
... | 2.350652 | 1361d5fda4d1eb6321477164f90afa0c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830405 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "andydaly/HeartHealthKinect",
"max_stars_repo_path": "Assets/KinectScripts/Samples/GetJointPositionDemo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149625"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
//using Windows.Kinect;
public class GetJointPositionDemo : MonoBehaviour
{
// the joint we want to track
public KinectInterop.JointType joint = KinectInterop.JointType.HandRight;
// joint position at the moment, in Kinect coordinates
public Vector3 ou... | 2.31126 | 2b1cf63b92f51af6efbffa5d68ffbc85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830406 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "glav/CognitiveServicesFluentApi",
"max_stars_repo_path": "Glav.CognitiveServices.FluentApi.Face/FaceIdentificationFluentApiExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149626"
} | starcoder | <reponame>glav/CognitiveServicesFluentApi
using System.Threading.Tasks;
using System;
using Glav.CognitiveServices.FluentApi.Face.Configuration;
using System.IO;
using Glav.CognitiveServices.FluentApi.Face.Domain;
using Glav.CognitiveServices.FluentApi.Core.Configuration;
namespace Glav.CognitiveServices.Fluen... | 1.799099 | 179608ede819f3ddaa5274b0d24329e9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmojiwat/NHibernate.UserTypes.NodaTime",
"max_stars_repo_path": "src/NHibernate.UserTypes.NodaTime.Test/WithNormalMappings/NodaTimeDateIntervalTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149627"
} | starcoder | using AutoFixture;
using AutoFixture.Xunit2;
using FluentAssertions;
using NHibernate.Linq;
using NHibernate.UserTypes.NodaTime.Test.Infrastructure;
using NodaTime;
using Xunit;
namespace NHibernate.UserTypes.NodaTime.Test.WithNormalMappings
{
[Collection("Database collection")]
public class NodaTimeDateInter... | 2.348872 | 061b786afb375f8ac4ef4d76f5dc3721 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830408 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BugsUK/FindApprenticeship",
"max_stars_repo_path": "src/SFA.Apprenticeships.Web.Candidate.UnitTests/Mediators/Unsubscribe/UnsubscribeMediatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149628"
} | starcoder | namespace SFA.Apprenticeships.Web.Candidate.UnitTests.Mediators.Unsubscribe
{
using System;
using Application.Interfaces.Communications;
using Candidate.Mediators.Unsubscribe;
using Candidate.Providers;
using FluentAssertions;
using Moq;
using NUnit.Framework;
[TestFixture]
[Parall... | 1.83993 | f08fa6039bd5820009cb2710a5c15187 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830409 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "douglas20345/jarvisw",
"max_stars_repo_path": "JARVIS/SpecialCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149629"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace JARVIS
{
/// <summary>
/// Classe que vai executar comandos especiais
/// </summary>
public static class SpecialCommands
{
p... | 2.771497 | f9d3c1f8c131abdeed943e6f6f6956c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iamprovidence/Software-Design",
"max_stars_repo_path": "Apartments_io/Apartments_io.Tests/AreasTest/ResidentTest/ControllersTest/BillsControllerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149630"
} | starcoder | <filename>Apartments_io/Apartments_io.Tests/AreasTest/ResidentTest/ControllersTest/BillsControllerTest.cs
using Xunit;
using Moq;
using DataAccess.Entities;
using DataAccess.Repositories;
using DataAccess.Interfaces;
using DataAccess.Enums;
using Apartments_io.Areas.Resident.Controllers;
using Apartments_io.Areas.R... | 2.177874 | 184c77d75ba32d4605d0739b28313038 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iot-ensemble/state-api-iot-ensemble",
"max_stars_repo_path": "state-api-iot-ensemble/Host/TempRefit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149631"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Runtime.Serialization;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using Fathym;
using Fathym.API;
using Microsoft.Azure.Functions.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInj... | 1.829814 | 089a14e9f5c9814d552dddfbd5f456ef |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.