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 | 8848612 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rdonalson/Financial-Planner-Forecast-Ledger",
"max_stars_repo_path": "FPFL-API/FPFL.API.Infrastructure/Display/Models/LedgerVm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167832"
} | starcoder | using System;
using System.Collections.Generic;
namespace FPFL.API.Infrastructure.ItemDetail.Models
{
public class LedgerVM
{
public LedgerVM()
{
Items = new List<ItemVM>();
}
public int RollupKey { get; set; }
public int Year { get; set; }
public DateTime WDate { get; set; }
public ... | 1.890648 | cc1897ae8612bd835f4ec0af849825ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848613 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlanMorel/zhigly",
"max_stars_repo_path": "Zhigly/Zhigly/Home.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167833"
} | 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.504345 | 3aa0c911b64aa5871516e72c842de32c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DevonGrant/The-Lawn-Con",
"max_stars_repo_path": "Lawn Simulator/Assets/Scripts/TileInfoScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167834"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
using TMPro;
public class TileInfoScript : MonoBehaviour
{
public TileManagerScript tileManager;
public ActionManagerScript actionManager;
public Camera cam;
public Tilemap tileMap;
public T... | 2.388773 | c681848fd44d5b43ce5a28e672b37dc8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vasiliy-Enyutin/TestForJob",
"max_stars_repo_path": "Assets/Scripts/SoftBlock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167835"
} | starcoder | <reponame>Vasiliy-Enyutin/TestForJob
using System;
using UnityEngine;
[RequireComponent(typeof(Animator))]
public class SoftBlock : MonoBehaviour, IDestroyable
{
private Animator _animator;
public static event Action OnSoftBlockDestroy;
private void Awake()
{
_animator = GetComponent<... | 1.857917 | fd7b1e7db8e088b184cbbb8c895887db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sweepator/next",
"max_stars_repo_path": "src/data/Next.Data.EntityFramework/Model/ITimestampedEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167836"
} | starcoder | using System;
namespace Next.Data.EntityFramework.Model
{
public interface ITimestampedEntity
{
public DateTime CreatedDate { get; set; }
public DateTime UpdatedDate { get; set; }
}
}
| 1.881454 | d7645b42722f1d4f2393a490563ec232 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "p1eXu5/CycleBell",
"max_stars_repo_path": "tests/CycleBell.Tests/UnitTests/ViewModels/TimePointViewModelBaseTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167837"
} | starcoder | <filename>tests/CycleBell.Tests/UnitTests/ViewModels/TimePointViewModelBaseTests.cs
using System.ComponentModel;
using CycleBell.Engine.Models;
using CycleBell.ViewModels;
using CycleBell.ViewModels.TimePointViewModels;
using Moq;
using NUnit.Framework;
namespace CycleBell.Tests.UnitTests.ViewModels
{
[TestFixtur... | 2.612178 | 44211bf09799f4d02bb187a9941e48c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848618 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Denimmcdonald/testrfv8754",
"max_stars_repo_path": "ATT/ShapefileGeometry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167838"
} | starcoder | <gh_stars>1-10
#region copyright
// Copyright 2013-2014 The Rector & Visitors of the University of Virginia
//
// 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... | 1.978576 | e5ce516141b212c9d5cebd69d16831e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848619 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zeobviouslyfakeacc/SaveImageFilter",
"max_stars_repo_path": "Patches.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167839"
} | starcoder | using Harmony;
namespace SaveImageFilter {
internal static class Patches {
[HarmonyPatch(typeof(CameraEffects), "Start")]
private static class LoadChosenImageFilter {
public static void Postfix(CameraEffects __instance) {
if (Settings.Load(out SettingsStruct settings)) {
__instance.SwitchImageFilter... | 1.786164 | 94898148c432bd04c7dccf1bdb8a848f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848620 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "itspaiva/DDTank4.1",
"max_stars_repo_path": "Source Server/Game.Server/Server/Packets/EquipType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167840"
} | starcoder | // Decompiled with JetBrains decompiler
// Type: Game.Server.Packets.EquipType
// Assembly: Game.Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 7994645F-6854-4AAC-A332-C61842D2DD9F
// Assembly location: C:\Users\<NAME>\Desktop\Decompiler\Road\Game.Server.dll
namespace Game.Server.Packets
{
p... | 1.129465 | 743ee7005e2d197926c7f02b6adef331 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benjamin-wss/unity-3d-learning",
"max_stars_repo_path": "Roll-a-Ball/Assets/Scripts/PickupRotator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167841"
} | starcoder | using UnityEngine;
public class PickupRotator : MonoBehaviour
{
// Update is called once per frame
void Update()
{
var pickupTransformRotation = new Vector3(15, 30, 45);
transform.Rotate(pickupTransformRotation * Time.deltaTime);
}
}
| 1.937226 | 582e96927ce3640d050a60522b4dd9da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jimmyjudas/iTunesAlbumRandomizer",
"max_stars_repo_path": "iTunes Wrapper/PersistentId.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167842"
} | starcoder | <reponame>jimmyjudas/iTunesAlbumRandomizer<gh_stars>0
using iTunesLib;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace iTunes_Wrapper
{
public class PersistentID : IEquatable<PersistentID>
{
public int High { get; }
... | 2.539111 | 52e46fde54c73a4d871f55ab364b2154 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "walissa/SecurityTokenHelper",
"max_stars_repo_path": "src/SecurityTokenHelper/WCFExtensions/SecurityTokenHelperElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167843"
} | starcoder | using System;
using System.ComponentModel;
using System.Configuration;
using System.Drawing.Design;
using System.ServiceModel.Configuration;
using System.Text;
using System.Text.RegularExpressions;
namespace BizTalkComponents.WCFExtensions.SecurityTokenHelper
{
public class SecurityTokenHelperElement : ... | 2.421651 | 5a1f7ff7f17d29d06ad7a7941715aa15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Boro-2/OdeToFood",
"max_stars_repo_path": "OdeToFood/Controllers/AboutController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167844"
} | starcoder | <reponame>Boro-2/OdeToFood
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace OdeToFood.Controllers
{
[Route("[controller]/[action]")]
public class AboutController
{
public string Phone() => "12432";... | 1.890324 | 47c7be12b43012c90e69c546eca035d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EnriqueUbillus/OnlineServices-RegistrationService",
"max_stars_repo_path": "Cross-Cutting/OnlineServices.Shared/MealServices/TransfertObjects/IngredientTO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167845"
} | starcoder | <reponame>EnriqueUbillus/OnlineServices-RegistrationService
using System.Diagnostics.CodeAnalysis;
using OnlineServices.Shared.DataAccessHelpers;
using OnlineServices.Shared.TranslationServices.TransfertObjects;
namespace OnlineServices.Shared.MealServices.TransfertObjects
{
public class IngredientTO : IEntity<in... | 1.365011 | 93735139452477dbd3a95846e611c45a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georgivv7/C-Sharp-Advanced-SoftUni",
"max_stars_repo_path": "Exams/CSharpAdvancedExam - 25June2017/03. NumberWars/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167846"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace _03._NumberWars
{
class Program
{
static void Main(string[] args)
{
var cardsPlayer1 = new Queue<string>(Console.ReadLine()
.Split(" ", StringSplitOpti... | 3.845523 | 8aa1361b18e617967a3915abd15b2142 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Nayaata/TelerikAcademyOnline_2015",
"max_stars_repo_path": "CSharp/C# vol.2/Methods/SortingArray/SortingArr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167847"
} | starcoder | <reponame>Nayaata/TelerikAcademyOnline_2015
/* Problem 9. Sorting array
Write a method that return the maximal element in a portion of array of integers starting at given index.
Using it write another method that sorts an array in ascending / descending order.*/
using System;
using System.Linq;
class SortingArr
{
... | 4.051619 | 5c214252e44b3a1f5cbac8ff1dff2571 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848628 | {
"extension": "c-sharp",
"max_stars_count": "264.0",
"max_stars_repo_name": "paul-cheung/Microsoft-Teams-Samples",
"max_stars_repo_path": "samples/meeting-recruitment-app/csharp/MeetingApp/Data/Repositories/Questions/QuestionsRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167848"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MeetingApp.Data.Models;
using Microsoft.Azure.Cosmos.Table;
namespace MeetingApp.Data.Repositories.Questions
{
/// <summary>
/// QuestionsRepository class for table operations for Question... | 2.727172 | c2ac4382ee25ce63d0c6ab070558a0f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848629 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MarkSFrancis/marksfrancis",
"max_stars_repo_path": "src/AspNetCore/Modals/ModalViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167849"
} | starcoder | <filename>src/AspNetCore/Modals/ModalViewModel.cs
using System;
namespace Phnx.AspNetCore.Modals
{
/// <summary>
/// A view model describing a modal dialog
/// </summary>
public class ModalViewModel : IModalViewModel
{
/// <summary>
/// Create a new <see cref="ModalViewModel"/> wit... | 2.622388 | eecfbc583dbad0adce17cedaad0ceb4c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IvionSauce/MeidoBot",
"max_stars_repo_path": "Chainey/SentenceConstruct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167850"
} | starcoder | <reponame>IvionSauce/MeidoBot
using System;
using System.Collections.Generic;
namespace Chainey
{
internal class SentenceConstruct
{
public int WordCount { get; private set; }
public bool Continue
{
get { return WordCount < maxWords; }
}
public Func<string>... | 3.171112 | 8cded933fa6c7b627fd2e7f3a41723d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848631 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ZorPastaman/Behavior-Tree",
"max_stars_repo_path": "Runtime/Core/Leaves/Conditions/IsBehaviourEnabled.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167851"
} | starcoder | <filename>Runtime/Core/Leaves/Conditions/IsBehaviourEnabled.cs
// Copyright (c) 2020-2021 <NAME> <EMAIL> https://github.com/ZorPastaman/Behavior-Tree
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using UnityEngine;
using Zor.BehaviorTree.DrawingAttributes;
using Zor.SimpleBlackboard.Core;
names... | 2.433644 | 329fdb94aceaada0a50ad9ca1af8d5bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848632 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mikhail-khalizev/max",
"max_stars_repo_path": "source/MikhailKhalizev.Max/source/Program/Auto/z-100d-7d74.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167852"
} | starcoder | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100d_7d74-41433f5d")]
public void Method_100d_7d74()
{
ii(0x100d_7d74, 5); push(0x38); ... | 1.768704 | ed95f180bdd5086332376898cb5aaf93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848633 | {
"extension": "c-sharp",
"max_stars_count": "17923.0",
"max_stars_repo_name": "frandesc/roslyn",
"max_stars_repo_path": "src/Tools/ExternalAccess/OmniSharp/ExtractClass/IOmniSharpExtractClassOptionsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167853"
} | 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.Collections.Immutable;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.ExternalAccess.... | 2.235853 | ca1a4137a0a2d3837fffa6846173e94c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848634 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "StefanLB/Programming-Fundamentals---September-2017",
"max_stars_repo_path": "24. Regular Expressions (RegEx) - Lab/MatchHexadecimalNumbers/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167854"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace MatchHexadecimalNumbers
{
class Program
{
static void Main(string[] args)
{
string regex = @"\b(?:0x)?[... | 3.369428 | 6b47c9c6e282f5f3eac17e75d0dbcda7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848635 | {
"extension": "c-sharp",
"max_stars_count": "288.0",
"max_stars_repo_name": "syberside/CMS",
"max_stars_repo_path": "Kooboo.CMS/Kooboo.CMS.Account.Persistence.EntityFramework/ProviderBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167855"
} | starcoder | #region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
namespace Kooboo.CMS.Account.Persistence.EntityFramework
... | 2.313826 | 7ea5670309d30035d7fdacfe804ed422 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848636 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carlstermannluecke/CovidAPI",
"max_stars_repo_path": "Covid19API1/API.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167856"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text.Json;
using System.Text.Json.Serialization;
//using System.Web.UI;
//using System.Web.Script.Serialization;
/// <summary>
/// Backend Test Task, implemented by <NAME>, August 2020
/// </summary>
namespace Covid... | 3.073398 | 5a2d215653da12a0a171df566bc47709 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848637 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BoxInABoxICT/BoxPlugin",
"max_stars_repo_path": "LLLconverter/DataTransformer/Statement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167857"
} | starcoder | <reponame>BoxInABoxICT/BoxPlugin<gh_stars>0
// This program has been developed by students from the bachelor Computer Science at Utrecht University within the
// Software and Game project course
// ©Copyright Utrecht University Department of Information and Computing Sciences.
using System;
using System.Collections.G... | 2.269056 | cc70c38dd6c059140e2cf45207bb48b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848638 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "yanagiragi/MeshCut",
"max_stars_repo_path": "Assets/Scripts/SlicerObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167858"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Yr;
[RequireComponent(typeof(MeshFilter))]
public class SlicerObject : MonoBehaviour
{
public Transform PlaneTransform;
public Material capMaterial;
private Yr.MeshCut _meshCutter = new Yr.MeshCut();
void Update()... | 2.247125 | eee28957fbb9f81c7100c0f898536531 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848639 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "zmjack/Dawnx",
"max_stars_repo_path": "DawnxLite/Algorithms/Tree/Tree`2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167859"
} | starcoder | <reponame>zmjack/Dawnx<filename>DawnxLite/Algorithms/Tree/Tree`2.cs
using NStandard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Dawnx.Algorithms.Tree
{
public partial class Tree<TSelf, TModel> : ICloneable
where TSelf : Tree<TSe... | 2.668092 | 1aa39cc3020bb7a182fc7f67490d9e09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848640 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "beyondnetPeru/BeyondNet.MyNetSamples",
"max_stars_repo_path": "ddd/DddSampleMinionSample/dick/Beauty.Dick.Helpers/Builders/Impl/CodeBuilderFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167860"
} | starcoder | using Beauty.Dick.Helpers.Builders.Interface;
using Beauty.Dick.Helpers.Builders.Model;
using Jal.Factory.Interface;
using Jal.Monads;
using System;
using System.Linq;
namespace Beauty.Dick.Helpers.Builders.Impl
{
public class CodeBuilderFactory : ICodeBuilderFactory
{
private readonly IObjectFactory ... | 2.189993 | 478a434babee71dfb5f50025cc0dde3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "trayburn/Presentation-Generics",
"max_stars_repo_path": "Generics/BaseDemo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167861"
} | starcoder | <filename>Generics/BaseDemo.cs
using System;
namespace Generics
{
public class BaseDemo
{
public void Banner()
{
Console.WriteLine();
Console.WriteLine();
Console.WriteLine(this.GetType().Name);
Console.WriteLine("-------------------------------------");
}
}
}
| 2.482764 | 37298db5c68c904c8d878ee79be77965 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "romagny13/NIntercept",
"max_stars_repo_path": "Tests/NIntercept.Tests/ProxyGenerator/AttributePresenceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167862"
} | starcoder | <gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace NIntercept.Tests.Builder
{
// verify attributes :
// added for type => with interface
// NOT added for ... | 1.813115 | 15b78e0e915c28d1f84f6d1b01af573e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848643 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "Farfetch/kafka-flow-retry-extensions",
"max_stars_repo_path": "src/KafkaFlow.Retry.SqlServer/RetrySchemaCreator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167863"
} | starcoder | namespace KafkaFlow.Retry.SqlServer
{
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Threading.Tasks;
using Dawn;
using KafkaFlow.Retry.SqlServer.Model.Schema;
internal class RetrySchemaCreator : IRetrySchemaCreator
{
private readonly IEnumerable<Script... | 2.2751 | 060b299f75e6393031416520d3fe3609 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848644 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vedant2311/Developed-Games",
"max_stars_repo_path": "Void/SnowBall.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167864"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SnowBall : MonoBehaviour {
public GameObject Player;
float dist;
float random;
public float distance;
Vector3 force;
public float forceX;
public float forceZ;
private void Start(... | 2.372309 | 45de1a32705823420d87e4669fc27f29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848645 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "neosmart/paypalnvp-dotnet",
"max_stars_repo_path": "PayPalNvp/EndPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167865"
} | starcoder | namespace NeoSmart.PayPalNvp
{
public enum EndPoint
{
Sandbox,
Production
}
}
| 1.129894 | 67a70fc585a4ea68ee84a5d01d8df951 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848646 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "JohanLarsson/Gu.Roslyn.Extensions",
"max_stars_repo_path": "Gu.Roslyn.AnalyzerExtensions/Symbols/KnownSymbol/QualifiedGenericType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167866"
} | starcoder | namespace Gu.Roslyn.AnalyzerExtensions
{
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis;
/// <summary>
/// For comparison with <see cref="ITypeSymbol"/> when generic.
/// </summary>
public class QualifiedGenericType : QualifiedType
{
private read... | 2.650912 | 769b10694302e6db17a71a7b0d4bfb4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848647 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "S41L0R/Cafe-Shader-Studio",
"max_stars_repo_path": "GLFrameworkEngine/Picking/ColorPicker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167867"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK.Graphics.OpenGL;
using OpenTK;
namespace GLFrameworkEngine
{
public class ColorPicker
{
private Framebuffer pickingBuffer;
private uint pickingColor... | 2.355872 | f86f63e6b3ed5cc984716c6a22647d9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GalyaIT/Dental-Studio",
"max_stars_repo_path": "Tests/DentalStudio.Services.Data.Tests/Common/MapperInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167868"
} | starcoder | namespace DentalStudio.Services.Data.Tests.Common
{
using System.Reflection;
using DentalStudio.Data.Models;
using DentalStudio.Services.Mapping;
using DentalStudio.Services.Models;
public class MapperInitializer
{
public static void InitializeMapper()
{
AutoMapper... | 1.702753 | 74666dcb9929ed3923e1c8ad41df3bfc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848649 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "yaksys/Remote-Control-Tools-YakSys-",
"max_stars_repo_path": "Remote Control Tools Server (Windows Service) GUI/Form classes/RegisterNewUINForm.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167869"
} | starcoder |
partial class RegisterNewUINForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should ... | 1.557318 | d51eaf5b687bccdc754d4f99284e3cab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848650 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zia95/Simple-MediaPlayer",
"max_stars_repo_path": "AudioPlayer/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167870"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace AudioPlayer
{
public partial class MainForm : Form
{
private MediaPlayerHelper.MediaPlayer Player = null;
... | 2.68392 | 5f19ed4cd7d8fed4310dfddc04da9f4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnpankowicz/govmeeting-before-bfg",
"max_stars_repo_path": "BackEnd/ProcessMeetings/ProcessTranscript_Lib/ProcessTranscripts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167871"
} | starcoder | using GM.FileDataRepositories;
using System;
using System.IO;
namespace GM.ProcessTranscript
{
public class TranscriptProcess
{
/* ProcessTranscript process new transcript files that arrive.
* It performs the following steps:
* 1. If PDF file, convert to plain text.
... | 2.909554 | 69cd918108d4175d0489f084128b28cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848652 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "iniceice88/OxyPlot.Xamarin.Forms.Skia",
"max_stars_repo_path": "Source/OxyPlot.Xamarin.Forms.Skia/PlotCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167872"
} | starcoder | namespace OxyPlot.XF.Skia
{
public class PlotCommands
{
/// <summary>
/// Gets the pan/zoom touch command.
/// </summary>
public static IViewCommand<OxyTouchEventArgs> PanZoomByTouch { get; private set; }
/// <summary>
/// Gets the pan(axis only)/zoom touch comm... | 2.297537 | d6586e963fc919ddadb807e9e4192c9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ngiakhanh96/k8s-playground",
"max_stars_repo_path": "HypermediaAPI/Infrastructure/DbContext/OrderDbContextSeed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167873"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace HypermediaAPI.Database
{
public static class OrderDbContextSeed
{
public static void Initialize(IServiceProvider serviceProvider)
{
... | 2.698807 | 0c74a417686fb371dff5163aaab4b89e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848654 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gustavotero7/geiselVR",
"max_stars_repo_path": "Assets/Scripts/Bookshelf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167874"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
/// <summary>
/// A model class containing a collection of <see cref="Book"/> objects which is able to
/// self-populate given initial conditions. Can be used as the internal data of a
/// <see cref="BookshelfController"/>.
/// </su... | 2.98878 | e95e82c235b31049ea98e9cd738a2865 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848655 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "RPA-ai/rpastudio-book",
"max_stars_repo_path": "samples/RPAStudio/RPAStudio/ViewModel/ProjectSettingsViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167875"
} | starcoder | <reponame>RPA-ai/rpastudio-book<filename>samples/RPAStudio/RPAStudio/ViewModel/ProjectSettingsViewModel.cs<gh_stars>10-100
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.CommandWpf;
using NLog;
using RPA.Interfaces.Project;
using RPA.Interfaces.Workflow;
using RPA.Shared.Utils;
using System;
using System.Windows;
... | 2.300139 | 3f397bf2d1b909e4cfecfc5226b3c9b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobertOanta27/MyGame",
"max_stars_repo_path": "Assets/Scripts/Optimization/DisableIfFarAway.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167876"
} | starcoder | <filename>Assets/Scripts/Optimization/DisableIfFarAway.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DisableIfFarAway : MonoBehaviour
{
// --------------------------------------------------
// Variables:
private GameObject itemActivatorObject;
private ... | 2.213968 | 3ac09b68618517c1b927c9c9f1d38316 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848657 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "D3fau4/image2gnf",
"max_stars_repo_path": "image2gnf/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167877"
} | starcoder | using GFDLibrary.Textures.DDS;
using GFDLibrary.Textures.GNF;
using System;
using System.Drawing;
using System.IO;
namespace image2gnf
{
internal class Program
{
private static void Main(string[] args)
{
Stream tmp = File.OpenWrite(args[1]);
Console.WriteLine("Start:");... | 2.93182 | e7ce42504920dfccfbe37750126e6c82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848658 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sma-software/openviriato.algorithm-platform.showcase.spot",
"max_stars_repo_path": "Spot/Statistics/Stats/IRelationsStats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167878"
} | starcoder | using NodaTime;
using SMA.Apps.Utils.Collections.Generic;
namespace SMA.AlgorithmPlatform.SmaAlgorithms.Spot.Statistics.Stats {
public interface IRelationsStats {
long StartNodeID { get; }
long EndNodeID { get; }
Duration? TotalTravelTime { get; }
Duration? TransferTime { get; }
... | 1.881223 | 2ed58be9c15702c61c1527ac25daf135 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848659 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fschick/FilterExpressionCreator",
"max_stars_repo_path": "FS.FilterExpressionCreator/Filters/NestedFilter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167879"
} | starcoder | <filename>FS.FilterExpressionCreator/Filters/NestedFilter.cs
using System;
namespace FS.FilterExpressionCreator.Filters
{
internal class NestedFilter
{
public string PropertyName { get; }
public EntityFilter EntityFilter { get; }
public NestedFilter(string propertyName, EntityFilter ... | 2.363788 | 1056dffe3099aec2c2aa81c148f45d87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hsytkm/ImageComparisonViewer",
"max_stars_repo_path": "Source/ICV.Control.ScrollImageViewer/Extensions/MouseObservableExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167880"
} | starcoder | using Reactive.Bindings.Extensions;
using System;
using System.Reactive.Linq;
using System.Windows;
namespace ICV.Control.ScrollImageViewer.Extensions
{
static class MouseObservableExtension
{
// 指定コントロール上のマウスポインタの絶対座標を取得
//public static IObservable<Point> MouseMovePointAsObservable(this UIEle... | 2.637654 | f3cc0a5b6ae47199eb9ca20ede43362e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848661 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "PoppyOldroyd/Myo-Arcade",
"max_stars_repo_path": "endless-runner/source/Assets/[Endless Runner]/Scripts/SoundManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167881"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace EndlessRunner
{
[AddComponentMenu("CUSTOM / Sound Manager")]
public class SoundManager : Singleton<SoundManager>
{
[SerializeField]
private AudioSource m_musicSource;
[SerializeField]
p... | 2.703523 | 20192359a367573aeb60ea3e0581bfdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848662 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "jamescrosswell/MessageApi",
"max_stars_repo_path": "src/Sample/Commands/SayHello/SayHiRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167882"
} | starcoder | <filename>src/Sample/Commands/SayHello/SayHiRequest.cs
using CommandRouting.Router;
namespace Sample.Commands.SayHello
{
[GetRouteRequest("hello/{name:alpha}/{nickname:alpha}", typeof(IgnoreBob), typeof(SayHi))]
public class SayHiRequest : SayHelloRequest
{
public string Nickname { get; set;... | 1.966414 | d1e2a09f3bdc07c4087c36ff6eb249dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848663 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marceln/SSMS-ToyBox",
"max_stars_repo_path": "ToyBox.Services/ILookupCacheService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167883"
} | starcoder | <filename>ToyBox.Services/ILookupCacheService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ToyBox.Models.Models;
namespace ToyBox.Services
{
public interface ILookupCacheService
{
IEnumerable<ServerModel> GetSer... | 2.073654 | baa6f6990f729250406837ee39041881 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848664 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chencai01/scada-v6",
"max_stars_repo_path": "ScadaWeb/OpenPlugins/PlgScheme.Common/SchemeUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167884"
} | starcoder | // Copyright (c) Rapid Software LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Scada.Web.Plugins.PlgScheme
{
/// <summary>
/// The class contains utility methods for the schemes.
/// <para>Класс, содержащи... | 2.239058 | e2e7974dcb1a36e1d73e0a3e6a48df18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanielSarmiento04/PLatzy-Day-c-",
"max_stars_repo_path": "Etapa1/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167885"
} | starcoder | <filename>Etapa1/Program.cs
using CoreEscuela.Entidades;
using static System.Console;
var escuela = new Escuela(
nombre: "PLatzi", año: 2002,
Tipo: TiposEscuela.Primaria, Pais: "Vancouver"
);
escuela.TipoEscuela = TiposEscuela.PreEscolar;
escuela.Pais = "Colombia";
escuela.Ciudad = "Bucaramanga";
Console.Wri... | 2.930387 | 8ea2ab369ca91b4125f63bb7a9ebb0ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848666 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xuyiazl/XUCore.Template",
"max_stars_repo_path": "XUCore.Template.Ddd/Content/XUCore.Template.Ddd/XUCore.Template.Ddd.Applaction/DependencyInjection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167886"
} | starcoder | namespace XUCore.Template.Ddd.Applaction
{
public static class DependencyInjection
{
public static IServiceCollection AddApplication(this IServiceCollection services, IWebHostEnvironment environment, string project = "api")
{
return services;
}
public static IApplic... | 1.777544 | b173c4fa8828056f2c5753146af6b130 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848667 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Fabian2000/FSC-UI",
"max_stars_repo_path": "FSC-UI/FSCMessageBox.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167887"
} | starcoder |
namespace FSC_UI
{
partial class FSCMessageBox
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.942391 | 938296519f8db0d2f78b77252c438fd5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848668 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "liuwentao/WinAlfred",
"max_stars_repo_path": "Pythonnet.Runtime/pythonengine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167888"
} | starcoder | // ==========================================================================
// This software is subject to the provisions of the Zope Public License,
// Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
// THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
// WARRANTIES ARE D... | 2.324436 | d061be9ffd419039d56648bbe722a5a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848669 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "polyspirit/Midity",
"max_stars_repo_path": "Assets/Plugins/jp.goma_recorder.midity/Runtime/PureC#/Events/MetaEvents/InstrumentNameEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167889"
} | starcoder | <reponame>polyspirit/Midity<filename>Assets/Plugins/jp.goma_recorder.midity/Runtime/PureC#/Events/MetaEvents/InstrumentNameEvent.cs<gh_stars>1-10
namespace Midity
{
public sealed class InstrumentNameEvent : MetaEvent
{
public const byte META_ID = 0x04;
public override byte MetaId => META_ID;
... | 1.9667 | e173a0b43ecf6e12cb78e5f414416f09 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848670 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "dotnet-standard-ui/standard-ui",
"max_stars_repo_path": "src/StandardUI/generated/Controls/RowDefinitionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167890"
} | starcoder | <filename>src/StandardUI/generated/Controls/RowDefinitionExtensions.cs
// This file is generated from IRowDefinition.cs. Update the source file to change its contents.
namespace Microsoft.StandardUI.Controls
{
public static class RowDefinitionExtensions
{
public static T Height<T>(this T rowDefinition,... | 2.544911 | 4b2776c5ea534500b6a597431ac0b598 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmdinh22/WhatTheEF",
"max_stars_repo_path": "DBContext/CodeFirst/DomainClasses/ContactDetail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167891"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace SalesModel.DomainClasses
{
public class ContactDetail
{
public int CustomerId { get; set; }
public string MobilePhone { get; set; }
public string HomePhone { get; set; }
public string Office... | 1.976457 | 8bcfbba3294a8645d64cd5ec50b56f2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isukces/isukces.code",
"max_stars_repo_path": "isukces.code.Tests/EqualityGenerator/T03_equality_with_enums_res.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167892"
} | starcoder | // ReSharper disable All
using System;
namespace iSukces.Code.Tests.EqualityGenerator
{
partial class EqualityGeneratorTests
{
partial class ClassWithEnumProperties1 : iSukces.Code.AutoCode.IAutoEquatable<EqualityGeneratorTests.ClassWithEnumProperties1>
{
public override bool Equals... | 2.722747 | e655b5c400930804e0c2a3d11ee13eb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848673 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "VladRaven5/realm-sync-engine",
"max_stars_repo_path": "Realmius.Tests/JsonHelperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167893"
} | starcoder | <gh_stars>10-100
////////////////////////////////////////////////////////////////////////////
//
// Copyright 2017 Rubius
//
// 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... | 2.275251 | 6465a4f826f04dab7a20d983505fb71d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848674 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pcmichaels/GitBisectDemo",
"max_stars_repo_path": "GitBisectDemo/GitBisectDemo.Tests/ProgramTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167894"
} | starcoder | using NSubstitute;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace GitBisectDemo.Tests
{
public class ProgramTests
{
[Fact]
public void ProgramRuns_ReturnsCorrectValue()
{
// Arrange
var calculationEngine = n... | 2.579019 | caa32fc3f7f4935a4d9516417160f8d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BorislavVladimirov/C-Software-University",
"max_stars_repo_path": "C# Advanced May 2019/MultidimensionalArrays/BombTheBasement/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167895"
} | starcoder | using System;
using System.Linq;
namespace BombTheBasement
{
public class Program
{
private static int[,] matrix;
public static void Main(string[] args)
{
int[] size = Console.ReadLine()
.Split(" ", StringSplitOptions.RemoveEmptyEntries)
.Se... | 3.31154 | 0f0910657ab5bb8b0053923db6e6a071 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848676 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "ravendb/samples-yabt",
"max_stars_repo_path": "back-end/Database.Common/Configuration/AppSettingsConstraints.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167896"
} | starcoder | <reponame>ravendb/samples-yabt<gh_stars>10-100
namespace Raven.Yabt.Database.Common.Configuration
{
/// <summary>
/// Constraint on naming RavenDB connection parameters
/// </summary>
public interface IAppSettingsWithDatabase
{
/// <summary>
/// RavenDB connection parameters
/// </summary>
DatabaseSet... | 1.495347 | 53242eee906607b41f88b277d8cdd140 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848677 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "asm2025/essentialMix",
"max_stars_repo_path": "Standard/essentialMix/Extensions/ExpressionExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167897"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using JetBrains.Annotations;
using essentialMix.Linq.Expressions;
using essentialMix.Reflection;
namespace essent... | 2.674344 | 10f7c9e1b239558fa84e102af1cd1c18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShiranuiNui/IMAS-Qoutes-API",
"max_stars_repo_path": "IMAS-QOTD-API.Server/Repositories/Interfaces/IReadOnlyRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167898"
} | starcoder | <reponame>ShiranuiNui/IMAS-Qoutes-API<filename>IMAS-QOTD-API.Server/Repositories/Interfaces/IReadOnlyRepository.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace IMAS_QOTD_API.Repository.Interface
{
public interface IReadOnlyRepository<T>
{
IEnumerable<T> GetAll(... | 2.127915 | 6440ddade1421b7e59d7ef0549e4ebdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848679 | {
"extension": "c-sharp",
"max_stars_count": "543.0",
"max_stars_repo_name": "NepPure/MagicOnion",
"max_stars_repo_path": "tests/MagicOnion.Server.Tests/UnaryResultTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167899"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Grpc.Core;
using MagicOnion.Client;
using Xunit;
namespace MagicOnion.Server.Tests
{
public class UnaryResultTest
{
[Fact]
public async Task FromResu... | 2.365819 | c9af88c5074d09ecd58c73e15dc3768f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848680 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GrapeCity/pagefx",
"max_stars_repo_path": "tests/mono/System.IO/StreamReaderTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167900"
} | starcoder | <reponame>GrapeCity/pagefx
// StreamReaderTest.cs - NUnit Test Cases for the SystemIO.StreamReader class
//
// <NAME> (<EMAIL>)
//
// (C) Ximian, Inc. http://www.ximian.com
// Copyright (C) 2004 Novell (http://www.novell.com)
//
using System;
using System.IO;
using System.Text;
using NUnit.Framework;
... | 2.583153 | d1835cf2ae2dccf81f5295fcf5ba73fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848681 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mattias1/ddd-draughts",
"max_stars_repo_path": "QueryBuilder/Builder/ISelectQueryBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167901"
} | starcoder | <reponame>Mattias1/ddd-draughts
using static SqlQueryBuilder.Builder.QueryBuilder;
namespace SqlQueryBuilder.Builder {
public interface ISelectQueryBuilder : ISelectColumnsQueryBuilder, IFromQueryBuilder { }
public interface ISelectColumnsQueryBuilder : IQueryBuilderResult, IFromQueryBuilder {
ISelect... | 1.933606 | c6529552ce9a84f532c60b03d089b9bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848682 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "exio1989/bitrix24-csharp-sdk",
"max_stars_repo_path": "Bitrix24RestApiClient/Api/Crm/Invoices/InvoiceContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167902"
} | starcoder | <reponame>exio1989/bitrix24-csharp-sdk<gh_stars>0
using Bitrix24RestApiClient.Core.Client;
using Bitrix24RestApiClient.Api.Crm.Invoices.OldInvoices;
namespace Bitrix24RestApiClient.Api.Crm.Invoices
{
public class InvoiceContainer
{
public InvoiceContainer(IBitrix24Client client)
{
... | 1.219679 | aaee23d22cc929e7fb007cc7b9951c7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848683 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yucchiy/memo-cli",
"max_stars_repo_path": "src/Memo.Tests/Core/Notes/NoteParserTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167903"
} | starcoder | <reponame>yucchiy/memo-cli<gh_stars>0
using Xunit;
using System.Threading;
using Markdig;
using System.IO;
namespace Memo.Core.Notes
{
public class NoteParserTest
{
[Fact]
public async void ParseNoteAsync_FileNameIsIndexMarkdown()
{
using (var root = new Memo.Tests.Temporary... | 2.310095 | 5e2cc4f25e1f60263607ce59a5967ef2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848684 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnnysaucepn/SubEtha.Apps",
"max_stars_repo_path": "src/Matrix/Howatworks.Matrix.Site/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167904"
} | starcoder | <filename>src/Matrix/Howatworks.Matrix.Site/Startup.cs<gh_stars>0
using System;
using System.Text;
using Howatworks.Matrix.Data;
using Howatworks.Matrix.Data.Entities;
using Howatworks.Matrix.EntityFramework;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNe... | 1.791912 | b74b9ce0ca44eb3964e18ee06187a8e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848685 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "prepare/MiniAggLegacy",
"max_stars_repo_path": "a_mini/projects/PixelFarm/PixelFarm.Drawing.Platforms/PixelFarm.Drawing.Gdi/MyScreenCanvas/0_CanvasCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167905"
} | starcoder | <gh_stars>1-10
// 2015,2014 ,Apache2, WinterDev
using System.Collections.Generic;
namespace PixelFarm.Drawing.WinGdi
{
class CanvasCollection
{
List<MyScreenCanvas> cachePages;
int numOfCachePages;
int eachPageWidth;
int eachPageHeight;
GraphicsPlatform gfxPlatform;
... | 2.550568 | e2d87e6e359eeb2170887b19c59038db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "comcoxcomic/GroupManager",
"max_stars_repo_path": "GroupManager/DataBase/Models/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167906"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GroupManager.DataBase.Models
{
public class Config
{
public long GroupId { get; set; }
public bool Status { get; set; } = false;
public bool Replac... | 1.724568 | b9b83b7933d17300e55958d7a817deb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "impr0t/Sandbar",
"max_stars_repo_path": "Sandbar/ProgressBarOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167907"
} | starcoder | using System;
namespace Sandbar
{
public class ProgressBarOptions
{
/// <summary>
/// Initializes a new instance of the <see cref="ProgressBarOptions"/> class.
/// </summary>
public ProgressBarOptions()
{
BarWidth = ProgressBarWidth.Medium;
... | 3.27935 | 6ab735bf35a7344b1f985c5627b743a2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TorannD/ItemBelt",
"max_stars_repo_path": "ItemBelt/Settings/Variables.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167908"
} | starcoder | <gh_stars>0
using Verse;
namespace ItemBelt.Settings
{
public class Variables : ModSettings
{
public static Variables Instance;
public Variables()
{
Variables.Instance = this;
}
public override void ExposeData()
{
}
}
}
| 1.311104 | b713168670f68cd879b414e4445cc9af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848689 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "omajid/NuGet.Client",
"max_stars_repo_path": "src/NuGet.Clients/NuGet.VisualStudio.Internal.Contracts/Formatters/PackageSearchMetadataContextInfoFormatter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167909"
} | starcoder | <gh_stars>1-10
// 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.Collections.Generic;
using MessagePack;
using MessagePack.Formatters;
using NuGet.Packaging;
using NuGet.Packa... | 1.584142 | 56b3f5ac11d85ac19e635fed81d1b560 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "J-Pettersen/BudgetingApp",
"max_stars_repo_path": "BudgetingAPI/Controllers/ExpensesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167910"
} | starcoder | using AutoMapper;
using BudgetingAPI.Data;
using BudgetingAPI.DTOs;
using BudgetingAPI.Models;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using Microsoft.AspNetCore.JsonPatch;
namespace BudgetingAPI.Controllers
{
[Route("api/expenses")]
[ApiController]
... | 2.466573 | c9f8b459aabac0b56991379969afea37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ezekiell/SKCalendar",
"max_stars_repo_path": "src/SKCalendar/SKCalendar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167911"
} | starcoder | using System;
namespace SKCalendar
{
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public class SKCalendar
{
private static List<SKCalendarDate> _dates;
private readonly Regex _tokenRegex = new Regex("{([^}]*)}", RegexOptions.Compiled);... | 3.146202 | 0a3cde94ee96dae75dd902a8fa21cb35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848692 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ExceptionCustomiser/PackIt",
"max_stars_repo_path": "PackIt/PackIt/GUI/PackItTabPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167912"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace PackIt.GUI
{
public class PackItTabPage : TabPage, IDirty, ISavable
{
private IPackItem _PackItem;
private bool _Dirty = false;
private Control control = null;... | 2.573846 | 2387ec5e05873ad46a12039178686c1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848693 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Petrov7/My-Homework",
"max_stars_repo_path": "C# Basic Homework/Simple Operations and Calculations/02_Radians to Degrees/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167913"
} | starcoder | <reponame>Petrov7/My-Homework<filename>C# Basic Homework/Simple Operations and Calculations/02_Radians to Degrees/Program.cs
using System;
namespace P01_UsdToBgn
{
public class Program
{
public static void Main()
{
double rad = double.Parse(Console.ReadLine());
double de... | 3.310898 | 015e9f61c70f64c4593e56581985c912 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nzain/WPFCore",
"max_stars_repo_path": "WPFCore/WPFCore/Commands/ICancellableCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167914"
} | starcoder | <reponame>nzain/WPFCore
using System.Threading.Tasks;
using System.Windows.Input;
namespace WPFCore.Commands
{
/// <summary>Defines a cancellable (long running) command.</summary>
public interface ICancellableCommand : ICommand
{
/// <summary>Requests cancellation and returns immediately. Implemen... | 2.755787 | 86306650b5297d813dd574f3af3bc322 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848695 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Devidence7/Fuxion",
"max_stars_repo_path": "src/Infrastructure/Windows/Data/BooleanToBooleanMultiConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167915"
} | starcoder | <reponame>Devidence7/Fuxion
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace Fuxion.Windows.Data
{
public sealed class BooleanToBooleanMultiConverter : GenericM... | 2.766565 | 262b172f79c72e33ff93572c8ce63eff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848696 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "huruiyi/CSharpExample",
"max_stars_repo_path": "CSharpExample/MVCDemo/MVC.Sample/Views/Ajax/AjaxComment.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167916"
} | starcoder |
@{
ViewBag.Title = "AjaxComment";
}
<h2>AjaxComment</h2>
<script type="text/javascript">
var xmlHttpRequest;
function Ajax() {
if (window.ActiveXObject) {
xmlHttpRequest = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) {
xmlHttpRe... | 2.520457 | 98bb93a54568e4d054e30c35e3e28694 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848697 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "BruceCowan-AI/ServiceStack",
"max_stars_repo_path": "src/ServiceStack/NetCore/NetCoreQueryStringCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167917"
} | starcoder | #if NETSTANDARD1_6
using System;
using System.Collections;
using System.Linq;
using Microsoft.AspNetCore.Http;
using ServiceStack.Web;
namespace ServiceStack.NetCore
{
public class NetCoreQueryStringCollection : INameValueCollection
{
IQueryCollection originalQuery;
public NetCo... | 2.453355 | 2c06c7fa10addeb2774da8caea2b37ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jaykay-design/Cleeng.Api",
"max_stars_repo_path": "src/Api/Models/GetAccessibleTagsResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167918"
} | starcoder | namespace Cleeng.Api.Models
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class GetAccessibleTagsResult: IResultMessage
{
[JsonProperty("tags")]
public List<string> Tags { get; set; }
}
}
| 1.754911 | 2f711f126a6b0cbcc36dfcacb11c4e0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848699 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "GininDev/ServicesInforCollector",
"max_stars_repo_path": "GininDev.Common.DataTools/Helpers/IniDocumentHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167919"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace GininDev.Common.DataTools.Helpers
{
internal class IniDocumentHelper
... | 2.657743 | d8f3ec934ac26cf06488cf154f8012ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848700 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Ackara/Mockaroo.NET",
"max_stars_repo_path": "tests/Mockaroo.MSTest/Fakes/Client.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167920"
} | starcoder | namespace Acklann.Mockaroo.Fakes
{
public class Client
{
public const string Table = "client";
public int Id;
public string Name { get; set; }
}
} | 1.753078 | 436c05a450ad6ea355cf012ee7b13136 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848701 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Prastiwar/TPSoundManagerCreator",
"max_stars_repo_path": "TPSoundManagerCreator/Assets/TP_Creator/TP_SoundManagerCreator/Editor/TPSoundManagerDesigner.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167921"
} | starcoder | <filename>TPSoundManagerCreator/Assets/TP_Creator/TP_SoundManagerCreator/Editor/TPSoundManagerDesigner.cs<gh_stars>1-10
using UnityEngine;
using UnityEditor;
using TP.SoundManager;
using UnityEditor.SceneManagement;
using TP.Utilities;
namespace TP.SoundManagerEditor
{
[InitializeOnLoad]
internal class TPSoun... | 2.039257 | 492803e49acbb18cbc9869e7996aa5fa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jjuan1k94/BlazorApp",
"max_stars_repo_path": "Business/WareHouseBusiness.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167922"
} | starcoder | <reponame>jjuan1k94/BlazorApp<gh_stars>0
using Business.Interfaces;
using DataAccess;
using Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Business
{
public class WareHouseBusiness : ICrud<WareHouseEntity>
{
private InventoryContext dbContext ... | 2.609066 | 6b77dfe67ba702bd875cc937f12a3eb9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848703 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mbalchanowski/Differential-Evolution",
"max_stars_repo_path": "TestFunctions/TestFunctions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167923"
} | starcoder | <reponame>mbalchanowski/Differential-Evolution
using DifferentialEvolution.DE;
using System;
namespace DifferentialEvolution
{
public class TestFunctions
{
public static Tuple<double, double> SphereDomain = new Tuple<double, double>(-5.12, 5.12);
public static Tuple<double, double> RastriginDo... | 3.14567 | bdbe5eb7e1d229a2ddc79ccbb6fabcee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848704 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "syncfusion/aspnet-mvc-ej1-demos",
"max_stars_repo_path": "Views/ColorPicker/Methods.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:167924"
} | starcoder | <gh_stars>1-10
@section MetaTags{
<meta name="description" content="This example demonstrates the various methods like show, hide, enable, getValue and disable in a ASP.NET MVC ColorPicker">
}
@section SampleHeading{<span class="sampleName">ColorPicker-Methods-ASP.NET MVC-SYNCFUSION</span>}
@section ControlsSection... | 2.649754 | 4180855ce1fcd8cdd4b4652a6accb9a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HerrLoesch/RefactoringExample",
"max_stars_repo_path": "RefactoringExampleTarget/RefactoringExample.UiTests/UIMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167925"
} | starcoder | <reponame>HerrLoesch/RefactoringExample
namespace RefactoringExample.UiTests
{
using System.Linq;
using Microsoft.VisualStudio.TestTools.UITesting.WpfControls;
public partial class UIMap
{
public bool ListContains(string value)
{
return this.UIMainWindowWindow.UIListBoxLis... | 1.972132 | b751b8dc8a9edbc377e8ca2c516fdacb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848706 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "PSRT/PSRT.Astra",
"max_stars_repo_path": "PSRT.Astra/ViewModels/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167926"
} | starcoder | <reponame>PSRT/PSRT.Astra
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.S... | 1.821762 | 308811da4e8c4ef2e6efc881b33931d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848707 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luanmm/OO-Metrics",
"max_stars_repo_path": "OOM.Model/Enums/ElementType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167927"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OOM.Model
{
public enum ElementType : int
{
Namespace = 1,
Class = 2,
Field = 3,
Method = 4,
}
public static class ElementTypeExtension
{
public static Type ToEl... | 2.916909 | bd8e9d29beab78c0e24b143158e8ae47 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848708 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fredrikstrandin/Miniblog.Core",
"max_stars_repo_path": "src/IdentityServer4.MongoDB/Model/OAuthUserCreate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167928"
} | starcoder | <reponame>fredrikstrandin/Miniblog.Core
using System;
using System.Collections.Generic;
using System.Security.Claims;
using System.Text;
namespace IdentityServer4.MongoDB.Model
{
public class OAuthUserCreate
{ public string Email { get; set; }
public bool EmailVerified { get; set; }
public s... | 1.596338 | 76e52e7449dd9701eff3ade6b59f2d9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848709 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "jeremyabbott/machinelearning",
"max_stars_repo_path": "src/Microsoft.ML.Data/DataView/ZipDataView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167929"
} | starcoder | <filename>src/Microsoft.ML.Data/DataView/ZipDataView.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System... | 2.595443 | 698fc4e21e90e74656b4f2b301516db4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848710 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dolittle-obsolete/ToDolittle",
"max_stars_repo_path": "Source/Rules/TodoItem/MustBeAnExistingList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167930"
} | starcoder | using Dolittle.ReadModels;
using Dolittle.Rules;
using Read.TodoItem;
namespace Rules.TodoItem
{
public class MustBeAnExistingList
: IRuleImplementationFor<Domain.TodoItem.MustBeAnExistingList>
{
private IReadModelRepositoryFor<TaskList> _repository;
public MustBeAnExistingList(IReadModel... | 2.367344 | e8b6f739e7f19201ca7847a26a76f95e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8848711 | {
"extension": "c-sharp",
"max_stars_count": "486.0",
"max_stars_repo_name": "ZavierHenry/LinqToTwitter",
"max_stars_repo_path": "src/LinqToTwitter3/Tests/LinqToTwitterXUnitTests/SavedSearchTests/SavedSearchExtensionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:167931"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using LinqToTwitter;
using LinqToTwitterXUnitTests.Common;
using Moq;
using Xunit;
namespace LinqToTwitterXUnitTests.SavedSearchTests
{
public class SavedSearchExtensionsTests
{
Mock<ITwitterAuthorizer> authMock;
Mock<ITwitterE... | 2.322702 | ceaaec4cf80b7b7d66f4409ed9347aea |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.