added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811218 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mlidbom/Composable",
"max_stars_repo_path": "src/framework/Composable.CQRS.ExternalDependencies/Persistence/InMemory/EventStore/InMemoryEventStorePersistenceLayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130438"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Transactions;
using Composable.Persistence.EventStore.PersistenceLayer;
using Composable.SystemCE.CollectionsCE.GenericCE;
using Composable.SystemCE.LinqCE;
using Composable.SystemCE.ThreadingCE.ResourceAccess;
using Composable.SystemCE.Tr... | 2.226827 | 7f114d6a3053713576616ea745ea899b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811219 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "foxytocin/GDV_ProjectGrandSlam",
"max_stars_repo_path": "Assets/Script/MenuScripts/SettingScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130439"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Accessibility;
public class SettingScript : MonoBehaviour
{
public Dropdown resolutionDropdown;
GameManager gameManager;
Resolution[] resolutions;
private void Start()
{
... | 1.963033 | 36a0db78694b9cd46b097c2d31fd53c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811220 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "furkanisitan/WifiPasswords",
"max_stars_repo_path": "WifiPasswords/Library/CmdHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130440"
} | starcoder | <filename>WifiPasswords/Library/CmdHelper.cs<gh_stars>0
using System.Diagnostics;
namespace WifiPasswords.Library
{
public static class CmdHelper
{
public static string RunCmdCommand(string cmd)
{
string output;
using (var process = new Process())
{
... | 2.9764 | f46409e7c4a0eb44f5f0f68a42f77722 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811221 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Zulkir/VulkaNet",
"max_stars_repo_path": "Source/VulkaNetDemos/HelloTriangle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130441"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using VulkaNet;
namespace VulkaNetDemos
{
public class HelloTriangle : IDisposable
{
private unsafe struct Vertex
{
... | 2.228167 | 0c32a80169dcc144aafc0bf5e8dce9f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1iveowl/efcore",
"max_stars_repo_path": "src/EFCore/Query/ProjectionBindingExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130442"
} | starcoder | <gh_stars>0
// 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 System.Linq.Expressions;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkC... | 2.050189 | fd4b5b6cfc626ab58cf1e4cc8d848f4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nils-a/fluentcamlgen",
"max_stars_repo_path": "src/CamlGen/Elements/Core/Or.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130443"
} | starcoder | /***
This File is part of FluentCamlGen
This source is subject to the Microsoft Public License.
See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
All other rights reserved.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO... | 2.031981 | 42941241285f115aad16e80aa45d6f31 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asanchezr/jag-lcrb-carla-public",
"max_stars_repo_path": "one-stop-service/OneStop/ChangeAddress.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130444"
} | starcoder | using Gov.Lclb.Cllb.Interfaces.Models;
using Gov.Jag.Lcrb.OneStopService;
using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Xml.Serialization;
using Gov.Jag.Lcrb.OneStopService.OneStop.Util;
namespace Gov.Jag.Lcrb.OneStopService.OneStop
{
public class ChangeAddress
{
/... | 2.148104 | 56ae843a20eee54f0d58fdffc8e94b49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gnairooze/queue-mgmt",
"max_stars_repo_path": "Business.View/Worker/ListView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130445"
} | starcoder | <filename>Business.View/Worker/ListView.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QueueMgmt.Business.View.Worker
{
public class ListView
{
#region constructors
public ListView()
{
... | 2.275754 | b2e956b9fbbe4de0e6fe7e23e0e2cfba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dhung-msft/WindowsVisionSkillsPreview",
"max_stars_repo_path": "samples/SentimentAnalyzerCustomSkill/cs/Apps/FaceSentimentAnalysisApp_.NETCore3.0/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130446"
} | starcoder | <filename>samples/SentimentAnalyzerCustomSkill/cs/Apps/FaceSentimentAnalysisApp_.NETCore3.0/Program.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
using Microsoft.AI.Skills.SkillInterfacePreview;
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
us... | 2.571424 | 92b653ae3d9aabe83a7898f7a6f74b4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811227 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mdk/diva",
"max_stars_repo_path": "test/Diva.Basics.Test/Diva.Basics.Test.Read.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130447"
} | starcoder | <filename>test/Diva.Basics.Test/Diva.Basics.Test.Read.cs<gh_stars>1-10
////////////////////////////////////////////////////////////////////////////////
// //
// MIT X11 license, Copyright (c) 2005-2006 by: //
// ... | 2.240675 | 4e2de6add2a616a86d945763e1dcc578 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "henrygab/paint_net_fft",
"max_stars_repo_path": "Source/StartUpDummy/Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130448"
} | starcoder | <reponame>henrygab/paint_net_fft
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StartUpDummy
{
/// <summary>
/// This project is set up to copy the effect assemblies in this solution to the paint.net/Effects folder
/// and use p... | 2.47158 | 164a101d9bc8f055700f82b9ad4195b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philvanzu/Bubbles",
"max_stars_repo_path": "Dependencies/XamlFileSystemExplorer/FSExplorer/FileSystemInfoEx/Tools/DirectoryEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130449"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace System.IO
{
public static class DirectoryEx
{
public static DirectoryInfoEx CreateDirectory(string path)
{
DirectoryInfoEx dir = new DirectoryInfoEx(path);
dir.Create();
return dir... | 3.173008 | 863410243386b1061943ad0f2a1beaf7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811230 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "callumbwhyte/umbraco-composing-extensions",
"max_stars_repo_path": "src/Our.Umbraco.Extensions.Composing/LazyKeyValueCollectionBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130450"
} | starcoder | <filename>src/Our.Umbraco.Extensions.Composing/LazyKeyValueCollectionBuilder.cs
using System;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Composing;
namespace Our.Umbraco.Extensions.Composing
{
public class LazyKeyValueCollectionBuilder<TBuilder, TCollection, TItem> : LazyKeyValueCollectionBuilder<T... | 2.577112 | 1dbb38239cb9da58e7b7845787c11a0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Spool5520/ultraviolet",
"max_stars_repo_path": "Source/Ultraviolet/Shared/Graphics/VertexDeclaration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130451"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Ultraviolet.Core;
namespace Ultraviolet.Graphics
{
/// <summary>
/// Represents a vertex declaration, which defines the structure of vertex data.
/// </summary>
public partial class VertexDeclaration : I... | 3.123597 | d23a8bb368871e285cf289df2c42fbca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811232 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vladutilie/ScreenToGif",
"max_stars_repo_path": "ScreenToGif/ImageUtil/Video/AviWriter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130452"
} | starcoder | using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Media.Imaging;
using ScreenToGif.Util;
using PixelFormat = System.Drawing.Imaging.PixelFormat;
namespace ScreenToGif.ImageUtil.Video
{
/// <sum... | 2.54984 | ee4b7884347679c1824d9aff002cafd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/Controls/samples/Controls.Sample/Pages/HitTestingPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130453"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.Maui;
using Microsoft.Maui.Graphics;
namespace Maui.Controls.Sample.Pages
{
public partial class HitTestingPage : IWindowOverlayElement
{
enum State
{
SingleSelection,
RectangleSelectio... | 2.126333 | 5d307eb7cccaaf74823707f4ddefb735 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811234 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Yuki2718/FilterLists",
"max_stars_repo_path": "server/src/FilterLists.Agent/Features/Urls/BuildGitHubIssueBody.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130454"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Text;
using FilterLists.Agent.Core.Urls;
using MediatR;
namespace FilterLists.Agent.Features.Urls
{
public static class BuildGitHubIssueBody
{
public class Command : IRequest<string>
{
public Command(IEnumerable<Enti... | 2.56329 | f510cb6cd9f9189c5bcd8922c98e0402 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ju6579/Sample_MonoGame",
"max_stars_repo_path": "_Dev/Base/ObjectBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130455"
} | starcoder | using System;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace SampleMonoGame
{
public class ObjectBase
{
public static ObjectCallbacks LoadContentsCallbacks = null;
public static ObjectCallbacks UpdateCallbacks = null;
public delegat... | 2.868614 | b67b710e90d75e8b5ea4a4479e60ed62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811236 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "johnojacob99/CSC480-21F",
"max_stars_repo_path": "frontend/target/liberty/wlp/lib/features/checksums/com.ibm.websphere.appserver.org.eclipse.microprofile.config-1.1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130456"
} | starcoder | #Tue Nov 30 21:55:11 EST 2021
lib/features/com.ibm.websphere.appserver.org.eclipse.microprofile.config-1.1.mf=8760fc24b0b1aab0784cac87a0edfd9c
dev/api/stable/com.ibm.websphere.org.eclipse.microprofile.config.1.1_1.2.59.jar=b8c29f3e7fea41be87bf9942e70783b5
| 0.545926 | 02c62f82e4880328e3a8011aa8fdb49b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811237 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "DmitriyYukhanov/upm-in-unitypackage",
"max_stars_repo_path": "Editor/AssetStoreToolsExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130457"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using HarmonyLib;
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;
using Assembly = System.Reflection.Assembly;
using Debug = UnityEngine.Debug;
// ReS... | 2.052186 | bb20b3d8c8d493a68c7aad50925d74d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811238 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Platform-Agile-Software/PAF-Community",
"max_stars_repo_path": "PlatformAgileFrameworkCore/PlatformAgileFrameworkCoreStandard/TypeHandling/Disposal/PAFFinalizerExceptionData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130458"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using PlatformAgileFramework.ErrorAndException;
using PlatformAgileFramework.Logging;
using PlatformAgileFramework.Serializing.Attributes;
namespace PlatformAgileFramework.TypeHandling.Disposal
{
/// <summary>
/// This exception is thrown when a f... | 2.20861 | 716bf9d4d86075f785987836208c6794 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811239 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MohamedAbdelghani/golang-vs-csharp",
"max_stars_repo_path": "examples/panic_throw.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130459"
} | starcoder | using System;
class Program
{
static void Display(string name)
{
if (string.IsNullOrEmpty(name))
throw new ArgumentNullException(nameof(name), "name can't be null or empty");
Console.WriteLine($"Hello, {name}");
}
static void Main(string[] args)
{
// throw: rethrows same exception and pre... | 3.723247 | 9c6bfed6f952bd3655473630f7a48f90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811240 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kionius/DacronDuvet",
"max_stars_repo_path": "Assets/ScenicAssets/DacronDuvet/ElectronLauncher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130460"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ElectronLauncher : MonoBehaviour {
public bool firing = true;
public float firingRate = 0.5f;
public Vector3 minFiringForce = new Vector3(1, 3, 0);
public Vector3 maxFiringForce = new Vector3(3, 10... | 2.084585 | eb56128bb6919f244f32b52ebf98e10a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ludonkey/ludk2d-extras",
"max_stars_repo_path": "Runtime/LuDK/Toolkit/L2D/AnimatedSprite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130461"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace LuDK.Toolkit.L2D
{
[RequireComponent(typeof(SpriteRenderer))]
public class AnimatedSprite : MonoBehaviour
{
public enum LoopType
{
None,
Restart,
Yoyo
}
... | 2.166635 | dac4a10322594a9851b590886b2e422c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811242 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yassineaddi/Neural-Network",
"max_stars_repo_path": "NeuralNetwork/NeuralNetwork/CryptoRandom.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130462"
} | starcoder | <filename>NeuralNetwork/NeuralNetwork/CryptoRandom.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace NeuralNetwork
{
public class CryptoRandom : RandomNumberGenerator
{
private static Ran... | 3.246383 | 63e9a86900bf668c32228e7ea0825536 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811243 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JasonKStevens/TimeLines",
"max_stars_repo_path": "PuzzleBox.TimeLines/Timelines/OverlappingIntervals.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130463"
} | starcoder | <filename>PuzzleBox.TimeLines/Timelines/OverlappingIntervals.cs
using System.Collections.Generic;
namespace PuzzleBox.Time.Timelines
{
public class OverlappingIntervals<T> : List<LocalInterval>
{
public OverlappingIntervals() { }
public OverlappingIntervals(LocalInterval interval)
... | 2.512675 | 5ba7e51756e65b27bc5ca269f723b874 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811244 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "TeamHiverlab/azure-remote-rendering",
"max_stars_repo_path": "Unity/Showcase/App/Assets/App/Sharing/SharableStrings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130464"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
/// <summary>
/// A set of strings used for property names and event
/// </summary>
public static class SharableStrings
{
/// <summary>
/// A command notifyi... | 2.236357 | 873e068c8e52bf3eba4a7d8599bd7cbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811245 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "migueldeicaza/ATF",
"max_stars_repo_path": "Framework/Atf.Gui/Controls/Adaptable/D2dDiagramTheme.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130465"
} | starcoder | //Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Collections.Generic;
using System.Drawing;
using Sce.Atf.Direct2D;
namespace Sce.Atf.Controls.Adaptable
{
/// <summary>
/// Diagram rendering theme class</summary>
public class D2dDiagramT... | 2.335195 | 7c1d5a115b064fcb6e84e032500903c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tt195361/Casl2Simulator",
"max_stars_repo_path": "Casl2Simulator/Casl2/ReadBuffer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130466"
} | starcoder | <filename>Casl2Simulator/Casl2/ReadBuffer.cs
using System;
using Tt195361.Casl2Simulator.Properties;
using Tt195361.Casl2Simulator.Utils;
namespace Tt195361.Casl2Simulator.Casl2
{
/// <summary>
/// 文字列を保持し読み取り位置を管理します。
/// </summary>
internal class ReadBuffer
{
#region Instance Fields
... | 3.442536 | 7a4f8075d18d82d1091c3241372bf428 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811247 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "achilex/MgDev",
"max_stars_repo_path": "UnitTest/WebTier/DotNet/MgTestRunner/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130467"
} | starcoder | <gh_stars>1-10
using OSGeo.MapGuide;
using OSGeo.MapGuide.Test.Common;
using OSGeo.MapGuide.Test.Web;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MgTestRunner
{
//TODO: This test runner does not support generation/update ... | 2.15727 | 3e27787d00d55e51f522cdcd7c5e254e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smuhlaci/deep-cave-of-sivas",
"max_stars_repo_path": "Assets/Scripts/MenuManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130468"
} | starcoder | using System;
using DG.Tweening;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class MenuManager : MonoBehaviour
{
[SerializeField] private Image _fade;
private void Awake()
{
_fade.color = new Color(0, 0, 0, 0);
}
public void StartButtonClicked()
... | 2.041711 | b1987a24aaddeaabcbe252d9f766ddf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RH-Code/GAPP",
"max_stars_repo_path": "DefaultPlugins/GlobalcachingApplication.Plugins.ExportGarmin/GarminMassStorage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130469"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GlobalcachingApplication.Plugins.ExportGarmin
{
public class GarminMassStorage : Utils.BasePlugin.BaseExportFilter
{
public const string ACTION_EXPORT_ALL = "Export to Garmin GPSr|All";
... | 1.597668 | f5ff1ba33445ff0a25cbb3ab937d5981 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811250 | {
"extension": "c-sharp",
"max_stars_count": "572.0",
"max_stars_repo_name": "awei1688/aliyun-openapi-net-sdk",
"max_stars_repo_path": "aliyun-net-sdk-lubancloud/Lubancloud/Transform/V20180509/QueryCutoutTaskResultResponseUnmarshaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130470"
} | starcoder | /*
* 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
* "License"); you ... | 1.340165 | 1391bcf4d5eadb056c241c1de5a98d7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811251 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coderIML/NetOffice.net",
"max_stars_repo_path": "Source/Excel/DispatchInterfaces/PivotCache.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130471"
} | starcoder | using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.ExcelApi
{
///<summary>
/// DispatchInterface PivotCache
/// Suppo... | 1.470447 | f6f5cacfdb66b14b26780d2e91548d94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811252 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "biproberkay/SdvCodeWebsite",
"max_stars_repo_path": "SdvCode/SdvCode/Areas/Identity/Pages/Account/Manage/DeletePersonalData.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130472"
} | starcoder | // Copyright (c) SDV Code Project. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace SdvCode.Areas.Identity.Pages.Account.Manage
{
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Syst... | 1.706833 | 4fb84467c725e52723bd2919f4d29db8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811253 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "runnersQueue/3minutes",
"max_stars_repo_path": "CC-X/CC-X/Model/HighScore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130473"
} | starcoder | <reponame>runnersQueue/3minutes
/*
* File: HighScore.cs
* Author: <NAME>
* Desc: Mechanism for saving and ranking high scores
*/
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CC_X.Model
{
//Only the top 10 highs... | 3.398225 | ec1a58873c9fc1384d173dbe08ea901a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fumiya-kume/Covid19Radar",
"max_stars_repo_path": "Covid19Radar/Covid19Radar/Common/AppConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130474"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Covid19Radar.Common
{
public class AppConstants
{
public static readonly string AppCenterTokensAndroid = "android=44b5ce43-a684-4691-a817-cfd27463a666;";
public static readonly string AppCenterTokensIOS = "ios=2f24266... | 2.074901 | 0b22381d467b247468480f5b34dc2237 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811255 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "jkrmc12/IFC-gen",
"max_stars_repo_path": "lang/csharp/src/IFC/IfcFaceBound.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130475"
} | starcoder |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
/// <summary>
/// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcfacebound.htm"/>
/// </summary>
public partial class IfcFaceBound : IfcTo... | 2.698896 | 42df6467928bed868e765e1b2ada8652 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrewboudreau/AdventOfCode_2021",
"max_stars_repo_path": "Day00/Graph.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130476"
} | starcoder | <reponame>andrewboudreau/AdventOfCode_2021<gh_stars>0
using System.Collections;
using System.Collections.Generic;
public class Graph<T> : IEnumerable<Node<T>>
{
private readonly List<Node<T>> nodes;
private readonly int width;
public Graph(IEnumerable<string> rows, Func<string, IEnumerable<T>> factory)
... | 2.98296 | 099161f18a7886de4b5127bce3f02482 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811257 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ludovic-henry/referencesource",
"max_stars_repo_path": "System.Web/Configuration/RuntimeConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130477"
} | starcoder | <reponame>ludovic-henry/referencesource
//------------------------------------------------------------------------------
// <copyright file="RuntimeConfig.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//--------------------------------------------------------... | 2.029476 | 82517b6af64df8a2b5b5e43fcbddd542 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811258 | {
"extension": "c-sharp",
"max_stars_count": "393.0",
"max_stars_repo_name": "iCodeSometime/Simmy",
"max_stars_repo_path": "src/Polly.Contrib.Simmy/Behavior/InjectBehaviourAsyncOptionsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130478"
} | starcoder | <reponame>iCodeSometime/Simmy
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Polly.Contrib.Simmy.Behavior
{
/// <summary>
/// Allows configuration of behaviour for asynchronous monkey behaviour-injection policies.
/// </summary>
public static class InjectBehaviourAsyncOp... | 2.243491 | 06d421d249ae7e76912e40a4a69554c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeObsessed/drumbleapp",
"max_stars_repo_path": "DrumbleApp.Shared/ValueObjects/UberAuthenticationDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130479"
} | starcoder |
namespace DrumbleApp.Shared.ValueObjects
{
public sealed class UberAuthenticationDetails
{
public string AccessToken { get; private set; }
public string TokenType { get; private set; }
public int ExpiresIn { get; private set; }
public string RefreshToken { get; private set; }
... | 2.516491 | 8c459f5f88d697e6498ec1c69d3fab35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811260 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "LfxB/ParticleFxPlayer",
"max_stars_repo_path": "source/ParticleFxPlayer/MainScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130480"
} | starcoder | using GTA; // This is a reference that is needed! do not edit this
using GTA.Native; // This is a reference that is needed! do not edit this
using System; // This is a reference that is needed! do not edit this
using System.Windows.Forms; // This is a reference that is needed! do not edit this
using GTA.Math;
using Si... | 1.572875 | 47a0d332c68f28b1793f947420ecd3ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811261 | {
"extension": "c-sharp",
"max_stars_count": "1962.0",
"max_stars_repo_name": "bowlofstew/TrueCraft",
"max_stars_repo_path": "TrueCraft.Core/Logic/Items/FlintItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130481"
} | starcoder | <gh_stars>1000+
using System;
using TrueCraft.API.Logic;
namespace TrueCraft.Core.Logic.Items
{
public class FlintItem : ItemProvider
{
public static readonly short ItemID = 0x13E;
public override short ID { get { return 0x13E; } }
public override Tuple<int, int> GetIconTexture(byte m... | 2.073824 | 6f895495b47372ae7deb1e505d285515 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811262 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuya-yuliya/Cake.Sitecore",
"max_stars_repo_path": "Content/parameters.cake",
"provenance": "train-00027-of-00045.jsonl.gz:130482"
} | starcoder | <reponame>yuya-yuliya/Cake.Sitecore
using Cake.Common.Tools.MSBuild;
using System;
using System.Text.RegularExpressions;
public static partial class Sitecore
{
public static partial class Parameters
{
private const string SEM_VER_REGEX = "\\d+\\.\\d+\\.\\d+";
private static ICakeContext _cont... | 1.566431 | d3b124c9b7c2fc8510a00589656d863d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811263 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AbabeiAndrei/SLine",
"max_stars_repo_path": "SimpleRDS/SimpleRDS/Controls/ClientsUserControl.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130483"
} | starcoder | namespace SimpleRDS.Controls
{
partial class ClientsUserControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... | 1.91242 | f2ed21e1859d242b5fce47eed00027e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811264 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "BigEggStudy/LeetCode-CS",
"max_stars_repo_path": "LeetCode.Test/0901-0950/0931-MinimumFallingPathSum-Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130484"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LeetCode.Test
{
[TestClass]
public class _0931_MinimumFallingPathSum_Test
{
[TestMethod]
public void MinFallingPathSum_1()
{
var solution = new _0931_MinimumFallingPathSum();
var result = solution.... | 2.71251 | 1acbeaefb9926d253c8918ff880f265a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811265 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "SaxxonPike/roton",
"max_stars_repo_path": "Source/Roton/Emulation/Data/IActors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130485"
} | starcoder | using System.Collections.Generic;
namespace Roton.Emulation.Data
{
public interface IActors : IEnumerable<IActor>
{
int Capacity { get; }
int Count { get; }
IActor this[int index] { get; }
IActor Player { get; }
}
} | 2.015411 | 727e931a00579566aedf892763f26464 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811266 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "hd9/aspnet-distributed-caching",
"max_stars_repo_path": "src/Views/Home/ViewCategory.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130486"
} | starcoder | <reponame>hd9/aspnet-distributed-caching
@{
ViewData["Title"] = "Home Page";
}
<partial name="_Products" />
<a class="btn btn-primary" href="/">All Categories</a> | 1.268543 | a4208cee8fa55ca4559dc1733e254ee8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811267 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "berkaroad/ENode.Extensions",
"max_stars_repo_path": "ENode.Eventual2PC/ENode.Eventual2PC/Events/TransactionInitiatorAnyParticipantPreCommitFailedBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130487"
} | starcoder | using ENode.Domain;
using ENode.Eventing;
using Eventual2PC;
using Eventual2PC.Events;
using System;
using System.Collections.Generic;
namespace ENode.Eventual2PC.Events
{
/// <summary>
/// 事务参与方任意一个预提交已失败的事件基类
/// </summary>
/// <typeparam name="TInitiator">事务发起方</typeparam>
/// <typ... | 2.192849 | 790503299313c578380465d76a8ff86c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811268 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MehimoNemo/space-station-14",
"max_stars_repo_path": "Content.Client/UserInterface/HandButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130488"
} | starcoder | using Content.Shared.GameObjects.Components.Items;
using Robust.Client.Graphics;
using Robust.Client.UserInterface.Controls;
namespace Content.Client.UserInterface
{
public class HandButton : ItemSlotButton
{
private bool _activeHand;
private bool _highlighted;
public HandButton(Textu... | 2.384921 | faa4e6e4473ac66ef7021a08b9a4e3d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811269 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vanvenj/NSAPConnector",
"max_stars_repo_path": "NSAPConnector.Core/SapConnection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130489"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using NSAPConnector.CustomExceptions;
using SAP.Middleware.Connector;
using NSAPConnector.Utils;
namespace NSAPConnector
{
/// <summary>
/// This class is used for establishing
/// a connection to the SAP based on the
/// provi... | 2.619626 | 0b9bbce61d968ecaccbd0703e84d26c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811270 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/Core.Development/Event/Events/DataListRefresh/UserControlEventEditorPanel_DataListRefresh_General.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130490"
} | starcoder | /*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using... | 1.668947 | 8cadf9484e78b921b52f501d4b8d1f8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811271 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "agsosa/GameSharp",
"max_stars_repo_path": "GameSharp.Core/Services/LoggingService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130491"
} | starcoder | <gh_stars>10-100
using System;
namespace GameSharp.Core.Services
{
public static class LoggingService
{
public static void Info(object obj)
{
Write(obj.ToString(), ConsoleColor.White);
}
public static void Warning(string message)
{
Write(message... | 3.17506 | 79c1f6819c8ac46336f2d4c22b18116f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811272 | {
"extension": "c-sharp",
"max_stars_count": "2129.0",
"max_stars_repo_name": "dpogudin/SHFB",
"max_stars_repo_path": "SHFB/Source/SandcastleBuilderPlugIns/XPathReflectionFileFilterPlugin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130492"
} | starcoder | //===============================================================================================================
// System : Sandcastle Help File Builder Plug-Ins
// File : XPathReflectionFileFilterPlugIn.cs
// Author : <NAME> (<EMAIL>) Based on code by Eyal Post
// Updated : 08/19/2014
// Note : Copyr... | 1.985262 | e77b5865140223565c9d15c700b3c3f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811273 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xiaojuntang/XinGePush-SDK",
"max_stars_repo_path": "NSTool.XGPush/NSTool.XGPush/Core/XGPushTagsDeviceParam.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130493"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// author:jasnature from http://www.cnblogs.com/NatureSex/
namespace NSTool.XGPush.Core
{
/// <summary>
/// Push消息(包括通知和透传消息)给单个设备
/// </summary>
[Serializable]
public class XGPushTagsDevicePa... | 2.297812 | c9965d8d53a4bca2c8e14f41e5e8f25e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811274 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "warappa/SimpleEventSourcing",
"max_stars_repo_path": "SimpleEventSourcing.EntityFramework/WriteModel/ProcessManagerRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130494"
} | starcoder | using SimpleEventSourcing.Domain;
using SimpleEventSourcing.WriteModel;
using System;
namespace SimpleEventSourcing.EntityFramework.WriteModel
{
public class ProcessManagerRepository : IProcessManagerRepository
{
private readonly IEventRepository repository;
public ProcessManagerRep... | 2.409315 | d6b855e8381a1a0ef54076e285abf88b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811275 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rubilnik4/ResultFunctional_Net.Framework",
"max_stars_repo_path": "ResultFunctional/Models/Implementations/Errors/ErrorResultFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130495"
} | starcoder | using System;
using System.Net.Http;
using ResultFunctional.Models.Enums;
using ResultFunctional.Models.Implementations.Errors.AuthorizeErrors;
using ResultFunctional.Models.Implementations.Errors.Base;
using ResultFunctional.Models.Implementations.Errors.CommonErrors;
using ResultFunctional.Models.Implementations.Err... | 2.416946 | 92ea8c920c7796739d59337167ed6d29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tvoyle/Rg.Plugins.Popup",
"max_stars_repo_path": "src/Rg.Plugins.Popup.WinShared/Renderers/PopupPageRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130496"
} | starcoder | using System;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Graphics.Display;
using Windows.UI.Core;
using Windows.UI.Xaml.Controls;
using Windows.UI.ViewManagement;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Input;
using Rg.Plugins.Popup.Pages;
using Rg.Plugins.Popup.Windows.Renderers;
using... | 1.771231 | 4647de13470805008dd3fd3f47ebf9bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811277 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maksym-yaremko/Navchalna-Weather-Bot",
"max_stars_repo_path": "Wtb.Tests/UnitsConverterFacts/TemperatureConverterFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130497"
} | starcoder | <reponame>maksym-yaremko/Navchalna-Weather-Bot
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ninject;
using Wtb.Helpers.UnitsConverter;
using Xunit;
namespace Wtb.Tests.UnitsConverterFacts
{
public class TemperatureConverterFacts
{
... | 2.327855 | cb99e368dedd374904128edd2951d0d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811278 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "SebLague/Swordfish",
"max_stars_repo_path": "Assets/Scripts/Snake/Snake.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130498"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Snake : MonoBehaviour
{
public event System.Action OnEat;
public event System.Action OnDeathEvent;
public GameObject bodyPrefab;
public Transform startPos;
public int startSnakeSize = 5;
public float s... | 1.944537 | adb0c1391a0284e3dcbc8f173ef37b03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811279 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PandaSRC/BizHawk",
"max_stars_repo_path": "src/BizHawk.Emulation.Cores/Consoles/Nintendo/Gameboy/Gambatte.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130499"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using BizHawk.Common;
using BizHawk.Common.BufferExtensions;
using BizHawk.Emulation.Common;
using BizHawk.Emulation.Cores.Consoles.Nintendo.Gameboy;
namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
{
/// <summary>
/// a gameboy/gameb... | 1.621459 | 7764b194e81250770f5cc6b9ce90b16e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811280 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wk-j/website",
"max_stars_repo_path": "src/Cake.Web/Helpers/LinkHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130500"
} | starcoder | <reponame>wk-j/website
using System;
using Cake.Web.Core.Content.Blog;
using Cake.Web.Core.Content.Documentation;
namespace Cake.Web.Helpers
{
public static class LinkHelper
{
private const string GitHubTemplate = "https://github.com/cake-build/website/blob/develop/src/Cake.Web/App_Data/docs/{0}";
... | 2.392725 | 50cb162121c254ea6bc5e50d8234cfc1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811281 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VVoev/Telerik-Academy",
"max_stars_repo_path": "15.Data-Structures-and-Algorithms/09. Graph-Algorithms/live-demos-july-2017/Graphs/GraphsAlgorithms/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130501"
} | starcoder | <reponame>VVoev/Telerik-Academy
using System;
namespace GraphsAlgorithms
{
class Node : IComparable<Node>
{
public Node(int vertex, int distance)
{
Vertex = vertex;
Distance = distance;
}
public int Vertex { get; set; }
public int Distance { ge... | 3.016854 | f9877a1ff26bd6b1dded26140d10fce1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811282 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "publichealthengland/fingertips-open",
"max_stars_repo_path": "FingertipsProfileManager/MainUI/ViewModels/Upload/UploadProgressViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130502"
} | starcoder | <reponame>publichealthengland/fingertips-open
using Fpm.ProfileData.Entities.Job;
using System.Collections.Generic;
namespace Fpm.MainUI.ViewModels.Upload
{
public class UploadProgressViewModel
{
public int InProgress { get; set; }
public int InQueue { get; set; }
public int Awaiting... | 1.116179 | e97662e4a0172b20dc9602d92d99f8c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811283 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YeonChoi/EPIQ",
"max_stars_repo_path": "EPIQ_and_informedProteomics/InformedProteomics.TopDown/Execution/IcTopDownLauncher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130503"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading;
using InformedProteomics.Backend.Data.Biology;
using InformedProteomics.Backend.Data.Sequence;
using InformedProteomics.Backend.Data.Spectrometry;
using InformedProteomics.Backend.Database;
using Informed... | 2.089743 | 0853e89bbc6cc92d7b6505c57a5e38a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deNoor/QBitTorrentSpeedScheduler",
"max_stars_repo_path": "QBitTorrentSpeedScheduler/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130504"
} | starcoder | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using QBitTorrentSpeedScheduler.Config;
using QBitTorrentSpeedScheduler.Logging;
using QBitTorrentSpeedScheduler.Service;
namespace QBitTorrentSpeedScheduler;
public class Program
{
public static as... | 1.83927 | 77b587c0db92865d563735dd3ed74c65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811285 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yuzhengyang/EasyBrush",
"max_stars_repo_path": "EasyBrush/EasyBrush/Views/DrawForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130505"
} | starcoder | <reponame>yuzhengyang/EasyBrush<filename>EasyBrush/EasyBrush/Views/DrawForm.cs<gh_stars>1-10
using EasyBrush.Commons;
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace EasyBrush.Views
{
public partial class DrawForm : Form
{
public bool IsPenDown... | 2.446176 | c96115b89121c4cbf9dbdd7bc2327300 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811286 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "demiurghg/FusionFramework",
"max_stars_repo_path": "FusionSamples/Submarines/SubmarinesGameLibrary/ArtificialIntelligence/LaunchTorpedo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130506"
} | starcoder | using SubmarinesWars.SubmarinesGameLibrary.Field;
using SubmarinesWars.SubmarinesGameLibrary.GameActions;
using SubmarinesWars.SubmarinesGameLibrary.GameEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SubmarinesWars.SubmarinesGameLi... | 2.522383 | 6005904bf9c47a70b4b094c32294389e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811287 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TillDiebelt/AOC2021",
"max_stars_repo_path": "src/Day4/Bingo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130507"
} | starcoder | <reponame>TillDiebelt/AOC2021
using System;
using System.Linq;
using TillSharp.Extenders.Collections;
namespace Day4
{
public class Bingo
{
private int[][] game;
private int width = 5;
private int hight = 5;
public Bingo(string[] s)
{
game = new int[hight][... | 3.486036 | 2a0759ff3427c7248f16bef5f4344bf4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811288 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "Samsung/dexter",
"max_stars_repo_path": "project/dexter-vs/Dexter/Analyzer/Core/NoCommentAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130508"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Dexter.Analyzer.Utils;
namespace... | 2.274468 | e80e67aa5195e1128458ac44989a22b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811289 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enrevol/ee-x",
"max_stars_repo_path": "src/unity/Runtime/Core/Platform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130509"
} | starcoder | <reponame>enrevol/ee-x<gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using EE.Internal;
namespace EE {
public struct InstallReferrer {
public string raw;
public string utm_source;
public string utm_medium;
public string utm_term;
public string u... | 1.454109 | 44d13bcfa9fd86acc8c5dde03e6665f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811290 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snr4978/DotNetService4",
"max_stars_repo_path": "Kean.Infrastructure.Database/Repository/DependencyInjection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130510"
} | starcoder | using Kean.Infrastructure.Database.Repository.Default;
using Microsoft.Extensions.DependencyInjection;
namespace Kean.Infrastructure.Database.Repository
{
/// <summary>
/// 依赖注入
/// </summary>
public sealed class DependencyInjection
{
/// <summary>
/// 初始化 Kean.Infrastructure.Datab... | 2.073765 | 32067bc4906dcdb48880918213548ad3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811291 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "adgistics/Adgistics.Acl",
"max_stars_repo_path": "source/Adgistics.Acl/Resources.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130511"
} | starcoder | <filename>source/Adgistics.Acl/Resources.cs<gh_stars>1-10
namespace Modules.Acl
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Exceptions;
using Internal.Resources;
/// <summary>
/// Resources manager.
/// </summa... | 2.806309 | 3d441c32f86db62094308ba6315a2e40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811292 | {
"extension": "c-sharp",
"max_stars_count": "735.0",
"max_stars_repo_name": "Lx34r/EGamePlay",
"max_stars_repo_path": "Assets/Plugins/Animancer/Utilities/Animation Jobs/AnimatedProperty.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130512"
} | starcoder | // Animancer // https://kybernetik.com.au/animancer // Copyright 2020 Kybernetik //
using System;
using UnityEngine;
using UnityEngine.Animations;
using UnityEngine.Experimental.Animations;
using Unity.Collections;
namespace Animancer
{
/// <summary>[Pro-Only]
/// A base wrapper which allows access to the val... | 2.558054 | d426c3b1b7f85f99df97e7a9f226adac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811293 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marinasundstrom/YourCompany",
"max_stars_repo_path": "TimeReport/Application/Teams/Commands/AddTeamMemberCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130513"
} | starcoder | <filename>TimeReport/Application/Teams/Commands/AddTeamMemberCommand.cs<gh_stars>1-10
using MediatR;
using Microsoft.EntityFrameworkCore;
using YourBrand.TimeReport.Application.Common.Interfaces;
using YourBrand.TimeReport.Domain.Entities;
namespace YourBrand.TimeReport.Application.Teams
.Commands;
publi... | 2.682096 | d57c48a64ee8f2b4117dd3e1c6b257df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Herdo/hou-guildbot",
"max_stars_repo_path": "src/Shared/Objects/EmbedData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130514"
} | starcoder | <filename>src/Shared/Objects/EmbedData.cs
using System;
namespace HoU.GuildBot.Shared.Objects
{
public class EmbedData
{
public string Author { get; set; }
public string AuthorUrl { get; set; }
public string AuthorIconUrl { get; set; }
public string ThumbnailUrl { get; set; ... | 2.062595 | 2727559301262d383634c4d87f345891 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811295 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "whitewield/DungeonDoubleDance",
"max_stars_repo_path": "Develop/DungeonDoubleDance/Assets/Scripts/CS_BossController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130515"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Global;
using JellyJoystick;
public class CS_BossController : CS_Controller {
[TextArea(3,10)]
[SerializeField] string myKeySheet;
private char[] myKeySheetArray;
private int myKeySheetArray_Index = 0;
protected override void I... | 2.087588 | c3fee383abd2e5f8a84c2bcf3da8ed3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811296 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Excel/Enums/XlCmdType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130516"
} | starcoder | <filename>Source/Excel/Enums/XlCmdType.cs
using System;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi.Enums
{
/// <summary>
/// SupportByVersion Excel 9, 10, 11, 12, 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: http://msdn.microsoft.com/en-us/en-us/library/offic... | 1.582977 | c84c244e427e4060de49283c688cdc76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811297 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akx/duplica",
"max_stars_repo_path": "Duplica/FilterManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130517"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Duplica
{
internal class FilterManager
{
private delegate bool FilterDelegate(string name);
private readonly List<FilterDelegate> _filterDelegates = new List<FilterDelegate>();
priv... | 2.640411 | a9d382498b883c32eee88c7dbbe33922 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thoris/BolaoNet",
"max_stars_repo_path": "BolaoNet.WebApi/Areas/Boloes/Controllers/ApostaExtraController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130518"
} | starcoder | <gh_stars>0
using BolaoNet.Services.Controllers;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace BolaoNet.Services.Areas.Boloes.Controllers
{
public class ApostaExtraController :
Generic... | 2.166709 | 7020e056f056dc037cb841fcb94bfabf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811299 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cloudhu/Unity3d-Foundation",
"max_stars_repo_path": "Foundation Server/Foundation.Server/Views/Mailer/UserWelcome.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:130519"
} | starcoder | <gh_stars>1-10
@using Foundation.Server.Infrastructure
@model Foundation.Server.Models.UserEmailViewModel
@{
var config = AppConfig.Settings;
}
<div>
<h2>@config.AppName Account Services</h2>
<hr />
<p>
Welcome and thank you for joining @config.AppName . Your account details are below.
</... | 1.887448 | cf87b2e8af63b5f50e287ac4bd7a9f39 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811300 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cschen1205/myob-accounting-plugin",
"max_stars_repo_path": "Inventorist/SyntechRpt/WinForms/Sales/SaleLines/FrmTimeBillingSaleLine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130520"
} | 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;
using Accounting.Bll.Sales.SaleLines;
using Accounting.Core.Accounts;
using Accounting.Core.TaxCodes;
using Accounting.Core.Jobs;
using... | 2.147291 | f5059068b91e17155e47651b8a6d74b8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811301 | {
"extension": "c-sharp",
"max_stars_count": "565.0",
"max_stars_repo_name": "baho-s/CSharpGL",
"max_stars_repo_path": "Demos/PointLight/FormMain.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130521"
} | starcoder | namespace PointLight
{
partial class FormMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <para... | 2.066077 | 9672625374aa1da817ef97b9f8d5f793 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811302 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kittyfisto/IsabelDb",
"max_stars_repo_path": "IsabelDb.Test/Entities/ByteArray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130522"
} | starcoder | using System.Runtime.Serialization;
namespace IsabelDb.Test.Entities
{
[DataContract]
public sealed class ByteArray
{
[DataMember]
public byte[] Values { get; set; }
}
} | 1.713625 | a953d2b76ec9bfea661806d1e9d120d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811303 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kingsun11/NetStatusCheck",
"max_stars_repo_path": "NetStatusCheck/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130523"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Con... | 2.230024 | 31bf795485465ffa889645a73aecfa6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811304 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "Jono120/PlayMe",
"max_stars_repo_path": "PlayMe.Server/Queries/QueuedTrackQueries.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130524"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using PlayMe.Common.Model;
using PlayMe.Server.Helpers;
namespace PlayMe.Server.Queries
{
public static class QueueTrackQueries
{
public static IQueryable<QueuedTrack> GetQueuedTracksByUser(this IQueryable<QueuedTrack> source, string user,int start,... | 2.945322 | 7d397b077197a0ac8a47c0775aa80c52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sonia1013/BuildSchool2020_Week01",
"max_stars_repo_path": "WinFormSolution/SimpleCalaulatorNew/MyData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130525"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimpleCalaulatorNew
{
class MyData
{
public int X { get; set; }
public int Y { get; set; }
public int Add()
{
... | 2.636229 | 7e015d26de0b3c330d95ebb744518477 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811306 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ipjohnson/IocPerformance",
"max_stars_repo_path": "IocPerformance/Output/GithubPagesOutput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130526"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using IocPerformance.Benchmarks;
namespace IocPerformance.Output
{
public class GithubPagesOutput : IOutput
{
public void Create(IEnumerable<IBenchmark> benchmarks, IEnumerable<BenchmarkResult> benchmarkResul... | 2.461777 | 5d30469550bde85df99ac569433ef6cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811307 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lifeng1983/Open-XML-SDK",
"max_stars_repo_path": "test/DocumentFormat.OpenXml.Tests/ConformanceTest/CommentEx/CommentStrings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130527"
} | starcoder | <gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DocumentFormat.OpenXml.Tests.CommentEx
{
/// <summary>
/// Comment text
/// </summary>
public static class CommentStrings
... | 1.778215 | 3ba84111a69c3aebab3d364ceee652d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811308 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markbeij/WebApi",
"max_stars_repo_path": "src/Microsoft.AspNet.OData.Shared/Formatter/ETag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130528"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Linq.Expressions;
using Microsoft.AspNet.OData.Common;
us... | 2.30953 | 2008f9662fedab7255fc1e63ff25eca0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811309 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-digital-engagement",
"max_stars_repo_path": "src/DAS.DigitalEngagement.Functions.ImportCsv/MonitorBulkImport.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130529"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using DAS.DigitalEngagement.Domain.DataCollection;
using DAS.DigitalEngagement.Domain.Services;
using DAS.DigitalEngagement.Models.BulkImport;
using Das.Market... | 2.044906 | 0ade0eca7b50eb5e8a6585fac1f5cfe8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811310 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "gpetrou/sharpshell",
"max_stars_repo_path": "SharpShell/SharpShell/Interop/DEFCONTEXTMENU.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130530"
} | starcoder | <filename>SharpShell/SharpShell/Interop/DEFCONTEXTMENU.cs
using System;
using System.Runtime.InteropServices;
namespace SharpShell.Interop
{
// ReSharper disable InconsistentNaming
/// <summary>
/// Contains context menu information used by SHCreateDefaultContextMenu.
/// </summary>
[St... | 2.516011 | 94e35cdd4ccdd8b04048b8d8757e3a8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811311 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "andreas-eriksson/RecursiveExtractor",
"max_stars_repo_path": "RecursiveExtractor.Cli/ExtractCommandOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130531"
} | starcoder | using CommandLine;
using System.Collections.Generic;
namespace Microsoft.CST.RecursiveExtractor.Cli
{
[Verb("extract", true, HelpText = "Extract an archive recursively.")]
public class ExtractCommandOptions
{
[Option('i',"input", HelpText = "The name of the archive to extract.", Required = true)]
public ... | 2.852946 | 8b4987bcbfd2990e5e87707e78dcc19e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811312 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "PetroProtsyk/FullTextSearch",
"max_stars_repo_path": "Src/Protsyk.PMS.FullText.Core/IndexTypes/IFullTextIndex.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130532"
} | starcoder | <reponame>PetroProtsyk/FullTextSearch<filename>Src/Protsyk.PMS.FullText.Core/IndexTypes/IFullTextIndex.cs
using System;
using System.IO;
using System.Collections.Generic;
namespace Protsyk.PMS.FullText.Core
{
public interface IFullTextIndex : IDisposable
{
IFullTextIndexHeader Header { get; }
... | 1.77919 | 536aa7098ec9324c73191b82888e4ff9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aarsenault/Escape-from-RC-",
"max_stars_repo_path": "Assets/scripts/Charachters/SphereAnimate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130533"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SphereAnimate : MonoBehaviour
{
int RandRotateDir;
float RandRotateSpeed;
// Use this for initialization
void Start()
{
// 0-2 inclusive gives 0 or 1, Function goes from -1 to 1
RandRotateDir... | 2.456074 | 232bfc8e8745e1adb3f6249689d4bb34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rprgotu/Select2Demo-MVC",
"max_stars_repo_path": "Select2Demo/Helpers/JsonpResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130534"
} | starcoder | <filename>Select2Demo/Helpers/JsonpResult.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Select2Demo.Helpers
{
//I found this somewhere online...can't remember the source. Returns a jsonp instead of a standard json result.
pu... | 2.694966 | 708942efa5ee68437c73c1fc2a874d41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811315 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Bayer-Group/COLID-Registration-Service",
"max_stars_repo_path": "libs/COLID.Graph/TripleStore/Extensions/DictionaryExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130535"
} | starcoder | <reponame>Bayer-Group/COLID-Registration-Service<filename>libs/COLID.Graph/TripleStore/Extensions/DictionaryExtension.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace COLID.Graph.TripleStore.Extensions
{
public static class DictionaryExtension
{
public static void AddOrU... | 2.807989 | 14a664474e4bfb3ee0825c444cf334ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811316 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fmussi/Ballard-Arinc-429-Custom-Device",
"max_stars_repo_path": "Source/Assemblies/HW XML File/MS Project/serializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130536"
} | starcoder | <reponame>fmussi/Ballard-Arinc-429-Custom-Device<gh_stars>1-10
using System;
using System.IO;
using System.Xml.Serialization;
using System.Xml;
using System.Xml.Schema;
using Microsoft.Win32;
public partial class CoreType
{
//Function used to check XML File aginst XSD Schema.
static public CoreType Valida... | 2.566703 | ff8e9e9ed0f25913ae05c74919b47de6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8811317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlfonzAlfonz/city-generator",
"max_stars_repo_path": "Assets/Source/Behaviours/NoiseRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:130537"
} | starcoder | <gh_stars>0
using UnityEngine;
public class NoiseRenderer : MonoBehaviour
{
public int width = 256;
public int height = 256;
public int layers = 3;
public float lacunarity = 2;
public float persistance = 2;
public float scale = 10;
public Vector2 offset = new Vector2(0,0);
public AnimationCurve ma... | 2.1596 | f5064a4d0c01c6bed92b2ff5466ee415 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.