added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7137 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "KevinRansom/sqltoolsservice",
"max_stars_repo_path": "test/Microsoft.SqlTools.ServiceLayer.IntegrationTests/AzureFunctions/AzureFunctionTestFiles/AzureFunctionsOutputBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7138"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Company.Namespace.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
namespace Company.Namespace
{
public... | 2.559231 | e1c8e1fc5ec92115f0c99bebf904f53d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "npruehs/ggj2016",
"max_stars_repo_path": "Unity/Rituals/Assets/Game/Scripts/Audio/Systems/PressureSpeechSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7139"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PressureSpeechSystem.cs" company="Slash Games">
// Copyright (c) Slash Games. All rights reserved.
// </copyright>
// -----------------------------------------------------------... | 2.369474 | 245a1895a383037067a7a59a99b76f7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7139 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Vectovox/MonoKle",
"max_stars_repo_path": "MonoKle/Logging/LogAddedEventHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7140"
} | starcoder | <reponame>Vectovox/MonoKle<gh_stars>1-10
namespace MonoKle.Logging
{
/// <summary>
/// Event handler for a logging event.
/// </summary>
/// <param name="sender">The sending instance.</param>
/// <param name="e">Event data.</param>
public delegate void LogAddedEventHandler(object sender,... | 1.760726 | 7f1df618dd44e43fd7841cf5d9e06b03 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7140 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Vek17/ToyBox",
"max_stars_repo_path": "ToyBox/classes/Infrastructure/LootHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7141"
} | starcoder | <filename>ToyBox/classes/Infrastructure/LootHelper.cs
using Kingmaker;
using Kingmaker.EntitySystem;
using Kingmaker.EntitySystem.Entities;
using Kingmaker.Items;
using Kingmaker.Utility;
using Kingmaker.View.MapObjects;
using Owlcat.Runtime.Core.Utils;
using System.Collections.Generic;
using System.Linq;
namespace T... | 2.150592 | 32608799232f296bc2865f732ea4919a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7141 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AlexeyZavar/RadLibrary",
"max_stars_repo_path": "RadLibrary/RadConsole/Engines/BooleanPredictionEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7142"
} | starcoder | <filename>RadLibrary/RadConsole/Engines/BooleanPredictionEngine.cs
#region
using JetBrains.Annotations;
#endregion
namespace RadLibrary.RadConsole.Engines
{
/// <summary>
/// Default prediction engine. Predicts boolean strings.
/// </summary>
public class BooleanPredictionEngine : IPredictionEng... | 3.129412 | 952fafaabf2d7c7a4fba36c185e05ae9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "engagementlab/WorldBank-RBF",
"max_stars_repo_path": "WorldBank-RBF/Assets/Scripts/Inventory/Items/Audio/SfxItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7143"
} | starcoder | using System.Text.RegularExpressions;
public class SfxItem : AudioItem {
string name = "";
public override string Name {
get { return name; }
}
string filePath;
public override string FilePath {
get { return filePath; }
set {
filePath = value;
string[] n = filePath.Split ('/');
name = n[n.Lengt... | 2.372878 | 7e5e8269e8133c2a810554d68bf73be6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lcomstive/Graphics-Assessment",
"max_stars_repo_path": "Unity/Assets/Scripts/Player/PlayerRespawn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7144"
} | starcoder | <reponame>lcomstive/Graphics-Assessment
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[RequireComponent(typeof(PlayerController))]
public class PlayerRespawn : MonoBehaviour
{
[SerializeField, Tooltip("Offset of player to spawn point ground"... | 1.9505 | b76f4d3b1e422d2534db1ac71d1d816e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CriusNyx/BehaviourTreeNodeEditor",
"max_stars_repo_path": "Assets/MainAssembally/Scripts/BehaviourTree/Debug/AITest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7145"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GameEngine.AI
{
public class AITest : MonoBehaviour
{
public AITreeAsset aiTreeAsset;
AIMemory myMemory, parentMemory;
void Start()
{
myMemory = gameObject.AddComponent<AIMemo... | 2.378424 | afe696bc963f8c021eb12a7620c506f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "higedamc/HigeDevelopment",
"max_stars_repo_path": "MasterDetailDemo/MasterDetailDemo/Services/ILoadingPageService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7146"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
namespace MasterDetailDemo.Services
{
public interface ILoadingPageService
{
void InitLoadingPage(ContentPage loadingIndicatorPage = null);
void ShowLoadingPage();
void HideLoadingPage();
}
}
| 1.507216 | 8ecf519d6c5aad74a9d5a5fc00cc47e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7146 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AaronD412/RayTracer_Challenge",
"max_stars_repo_path": "RayTracerLogic/Pattern.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7147"
} | starcoder | namespace RayTracerLogic
{
public abstract class Pattern
{
#region Private Members
private Matrix transformationMatrix;
#endregion
#region Public Constructors
public Pattern()
{
transformationMatrix = Matrix.NewIdentityMatrix(4);
... | 3.03184 | 2594c959a6559a6c862557e941a56ab5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "decarufe/digitalportal",
"max_stars_repo_path": "src/Providers/Settngs/FlashObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7148"
} | starcoder | using System;
using Bytewizer.TinyCLR.DigitalPortal.Client.Models;
namespace Bytewizer.TinyCLR.DigitalPortal
{
[Serializable]
public class FlashObject
{
public FlashObject()
{
Ssid = "ssid";
Password = "password";
NetworkEnabled = false;
Def... | 2.187937 | 471f19eacf8d6a66ff7496fec4ceb455 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7148 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "ivaylokenov/MyTested.HttpServer",
"max_stars_repo_path": "src/MyTested.HttpServer/Contracts/IHttpRequestMessageBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7149"
} | starcoder | <filename>src/MyTested.HttpServer/Contracts/IHttpRequestMessageBuilder.cs
namespace MyTested.HttpServer.Contracts
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
/// <summary>
/// Used for building HTTP request message.
/// <... | 2.637243 | f6d9ad282f8eacc2abcf73eda9082263 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7149 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Aviv-Yaniv/azure-powershell",
"max_stars_repo_path": "src/Websites/Websites.Autorest/generated/api/Models/Api20210201/BackupRequestProperties.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7150"
} | starcoder | <filename>src/Websites/Websites.Autorest/generated/api/Models/Api20210201/BackupRequestProperties.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
... | 1.78507 | 1b98c1523dbd41166397c01bd1619de4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7150 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Mhburg/VanillaFurnitureExpanded-Security",
"max_stars_repo_path": "Source/VFESecurity/HarmonyPatches/Patch_PathGrid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7151"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using UnityEngine;
using Verse;
using Verse.AI;
using Verse.AI.Group;
using RimWorld;
using HarmonyLib;
namespace VFESecurity
{
public static class Patch_PathGrid
{
... | 2.226207 | db0f832089ea35b594d3ecc45a856e7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Open-Travelers/LibTWOC",
"max_stars_repo_path": "Serializable Objects/Collections/GraphicsCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7152"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using LibTWOC.Objects;
using LibTWOC.Utils;
using LibTWOC.Utils.Math;
namespace LibTWOC.Collections
{
public enum GraphicsCollectionType
{
Invalid,
NUS,
HGO
}
public class GraphicsCollection : Bl... | 2.245187 | cab887a126c50cae4056a07398aef42a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7152 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bgrakmn/PTVS",
"max_stars_repo_path": "Python/Product/PythonTools/PythonTools/Debugger/DebugLaunchHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7153"
} | starcoder | <filename>Python/Product/PythonTools/PythonTools/Debugger/DebugLaunchHelper.cs
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may ... | 1.904567 | c49b43a0053a59d2d6ef1f06f0a941fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zubeyir-bodur/personnel-tracking",
"max_stars_repo_path": "personnel-tracking-entity/Company.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7154"
} | starcoder | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
#nullable disable
namespace personnel_tracking_entity
{
public partial class Company
{
public Company()
{
Areas = new HashSet<Area>();
Personnel = new HashSet<Personnel>();
}
public... | 2.31964 | 64e7dff83d981508cae9106a666d213c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stmobo/SupplyChain",
"max_stars_repo_path": "SupplyChain/SupplyChainController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7155"
} | starcoder | using KSP.UI.Screens;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using SupplyChain.UI;
using SupplyChain.Sequencing;
namespace SupplyChain
{
[KSPScenario(ScenarioCreationOptions.AddToAllGames, GameScenes.SPACECENTER, GameScenes.FLIGHT, GameScenes.TRACK... | 1.977054 | 047bc977b42193065a534bfc544343c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7155 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/cmd/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7156"
} | starcoder | // Code generated by linux/mkall.go generatePtracePair("mips", "mips64"). DO NOT EDIT.
// +build linux
// +build mips mips64
// package unix -- go2cs converted at 2020 October 09 05:57:36 UTC
// import "cmd/vendor/golang.org/x/sys/unix" ==> using unix = go.cmd.vendor.golang.org.x.sys.unix_package
// Original source: ... | 1.556864 | d321f6eabb9c55f1f832de372df1b5e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterxj1/EzBus",
"max_stars_repo_path": "src/EzBus/Logging/ConsoleLogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7157"
} | starcoder | <filename>src/EzBus/Logging/ConsoleLogger.cs<gh_stars>0
using System;
namespace EzBus.Logging
{
public class ConsoleLogger : ILogger
{
private readonly LogLevel level;
private readonly string name;
public ConsoleLogger(LogLevel level, string name)
{
this.level = lev... | 3.156344 | 97be910e5bd8fb5ffcfd2ef217afa98b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Melvinerall/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/ElasticMapReduce/Generated/Model/SpotProvisioningSpecification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7158"
} | starcoder | <reponame>Melvinerall/aws-sdk-net
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon... | 1.752221 | f062ee23fa3aef3b68b4d8f65c318344 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "IlyaGutnikov/FindMazeExit",
"max_stars_repo_path": "FindMazeExit/Assets/AstarPathfindingProject/changelog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7159"
} | starcoder | <reponame>IlyaGutnikov/FindMazeExit
/** \page changelog Changelog
- 3.8.6 (2016-10-31)
- Upgrade Notes
- Note that a few features and some fixes that have been available in the beta releases are not
included in this version because they were either not ready to be released or depended on other
changes that we... | 2.232875 | 63e333b684d5f194382e1756a2a129a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ToddGrun/csharp-language-server-protocol",
"max_stars_repo_path": "src/Protocol/Document/Server/ISignatureHelpHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7160"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
using OmniSharp.Extensions.LanguageServer.Protocol.Models;
// ReSharper disable CheckNamespace
namespace OmniSharp.Extensions.LanguageServer.P... | 2.081786 | 65094f5708a989b1a92765a2a1481820 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7160 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "simonec73/threatsmanager",
"max_stars_repo_path": "Studio/ThreatsManager.Extensions.WinForms/Panels/Configuration/ConfigurationPanelFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7161"
} | starcoder | <gh_stars>10-100
using System.Windows.Forms;
using ThreatsManager.Interfaces;
using ThreatsManager.Interfaces.Extensions.Panels;
namespace ThreatsManager.Extensions.Panels.Configuration
{
[Extension("2842988B-59B9-41F6-9A5E-19E794C4E344", "Extensions Configuration Panel", 50, ExecutionMode.Business)]
public c... | 1.614299 | a9187a09498f16e7661c44f927c46d22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7161 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iZhangYingYing/YingLauncher",
"max_stars_repo_path": "YingServer/Ying/Ying/YingDataBase/YingDataStructs/zyy_verification_code.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7162"
} | starcoder | <reponame>iZhangYingYing/YingLauncher
using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ying.YingDataBase.YingDataStructs
{
public class zyy_verification_code
{
[PrimaryKey, AutoIncrement]
public int yid ... | 1.119355 | b36807f5c6ccf72fd2dcb41db4b34cc6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7162 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "JTOne123/ErgastApi.Net",
"max_stars_repo_path": "src/ErgastApi/Abstractions/IHttpClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7163"
} | starcoder | using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace ErgastApi.Abstractions
{
public interface IHttpClient : IDisposable
{
Task<HttpResponseMessage> GetAsync(string requestUri);
}
} | 1.95434 | 161733f49bf22ed20b3b8eada5b0dd93 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7163 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rllamocca/imL",
"max_stars_repo_path": "src/pkg/imL.Package.MySql/imL/Fulfill/MySqlConnectionDefault.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7164"
} | starcoder | <filename>src/pkg/imL.Package.MySql/imL/Fulfill/MySqlConnectionDefault.cs
#if (NET35 || NET40) == false
using System.Threading;
using System.Threading.Tasks;
#endif
using imL.Contract.DB;
using MySql.Data.MySqlClient;
using System;
using System.Data;
using System.Data.Common;
namespace imL.Package.MySql
{
publ... | 1.989261 | 745b1170fcbaadca7377f2367e6e162d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7164 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "ScriptBox99/Broadcast-Development-Kit",
"max_stars_repo_path": "src/Application/Service/Commands/RequestStopServiceInfrastructure.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7165"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using System.Threading;
using System.Threading.Tasks;
using Application.Common.Models;
using Application.Interfaces.Common;
using Application.Interfaces.Persistance;
using Application.Service.Events;
using AutoMapper;
using Domain.Constants;
us... | 1.949524 | c75e82757d124a705d2f41bd2b4ac1e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7165 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mulova/ngui_extensions",
"max_stars_repo_path": "Runtime/NGUIEx/Component/UIProgressBarEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7166"
} | starcoder | //----------------------------------------------
// NGUI extensions
// License: The MIT License ( http://opensource.org/licenses/MIT )
// Copyright © 2013- <EMAIL>
//----------------------------------------------
using UnityEngine;
using System.Text;
namespace ngui.ex
{
public static class UIProgressBarEx
{
p... | 2.274649 | d0e63b17eebca8bf200c884e4b913449 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7166 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Nosrick/JoyGodot",
"max_stars_repo_path": "Assets/Scripts/States/MainMenuState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7167"
} | starcoder | <gh_stars>1-10
using Godot;
using JoyGodot.Assets.Scripts.GUI;
using JoyGodot.Assets.Scripts.IO;
using JoyGodot.Assets.Scripts.World;
namespace JoyGodot.Assets.Scripts.States
{
class MainMenuState : GameState
{
protected GameState m_NextState;
protected WorldSerialiser m_WorldSerialiser = new... | 2.186973 | 7b9467f0275e89231feee8b2fa5d7b43 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7167 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OBY123456/KinectPartical",
"max_stars_repo_path": "Assets/KinectDemos/VariousDemos/Scripts/HeightEstimator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7168"
} | starcoder | <filename>Assets/KinectDemos/VariousDemos/Scripts/HeightEstimator.cs
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class HeightEstimator : MonoBehaviour
{
// [Tooltip("Index of the player, tracked by this component. 0 means the 1st player, 1 - the 2nd one, 2 - the 3rd one, etc.")]
// publ... | 2.345023 | fe31dbab16f9c0bc2c5d914c3368955c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7168 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FishingCactus/UnityCommonCode",
"max_stars_repo_path": "Scripts/Editor/Windows/ArtistsTools/ArtistsToolsWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7169"
} | starcoder | using Random = UnityEngine.Random;
using Object = UnityEngine.Object;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
using Cinemachine;
using FishingCactus;
internal class ArtistsToolsWindow : EditorWindow
{
private class PhysicsSimulator
{
// -- PUBLIC
... | 1.949643 | d3b23b70d8db7a3b578c76447fbaba20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7169 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SHAREVIEW/SciChart.Wpf.Examples",
"max_stars_repo_path": "Examples/SciChart.Examples/Examples/CreateSimpleChart/DigitalLineChartExampleView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7170"
} | starcoder | <filename>Examples/SciChart.Examples/Examples/CreateSimpleChart/DigitalLineChartExampleView.xaml.cs
// *************************************************************************************
// SCICHART® Copyright SciChart Ltd. 2011-2021. All rights reserved.
//
// Web: http://www.scichart.com
// Support: <EMAIL>
//... | 2.476241 | 76dda8bdec83827c5bc2ccba83cafd79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7170 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "trishume/QuestSaberPatch",
"max_stars_repo_path": "LibSaberPatch/AssetData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7171"
} | starcoder | using LibSaberPatch.AssetDataObjects;
using LibSaberPatch.BehaviorDataObjects;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace LibSaberPatch
{
public class AssetPtr
{
public int fileID;
public ulong pathID;
public AssetPtr(int _fileID, ulon... | 2.55575 | 6d5d7631e5fa705b348cc70d4f11f818 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mirusser/Learning-dontNet",
"max_stars_repo_path": "src/GrpcDemo/GrpcClientFactoryIntegrationDemo/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7172"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using GrpcClientFactoryIntegrationDemo.Services;
using GrpcServer;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependen... | 2.032369 | f0dfb0b54f1ee30dec3e7e5f71f62edb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Michael-G-Workman/Books",
"max_stars_repo_path": "Books/Views/Authors/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7173"
} | starcoder | @model Books.Models.Author
@{
ViewBag.Title = "Create";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Create</h2>
@* Form for Create New Author *@
<div class="form-horizontal">
<h4>Author</h4>
<hr />
@Html.AntiForgeryToken()
<div class="form-group">
@Html.LabelFor(model => model.a... | 2.275971 | 2db2c01e20acbf130523bad88b6aa10b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/um/ObjIdlbase/IAsyncRpcChannelBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7174"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ObjIdlbase.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.Compiler... | 1.524148 | e5de3a6a97484e7c07eab0271f0a986b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeh-dias/StateMachine",
"max_stars_repo_path": "StateMachine/Services/AgendaStateMachine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7175"
} | starcoder | using Stateless;
using StateMachine.CrossCutting.StateMachine;
using StateMachine.Domain.ValueObj;
using System;
using System.Collections.Generic;
using System.Text;
namespace StateMachine
{
/// <summary>
/// Fonte: https://www.youtube.com/watch?v=ZClpfDby-uY
/// </summary>
public class AgendaStateMac... | 2.599188 | 5c7c1f3f2528c4a1eac69ce37e304944 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "12062021-dynamics365-uta/JamieSchwartzRevature2",
"max_stars_repo_path": "P0/P0/P0/Customer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7176"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
namespace P0
{
public class Customer
{
DatabaseAccess dbAccess = new DatabaseAccess();
public int CustID { get; set; }
public string CustName... | 3.385333 | b1cc8821df899d1c24f0fa3d36f00c2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zengfanmao/mpds",
"max_stars_repo_path": "LiveVideoSDK/VIMS.Cms/GRGcms.API/OAuth/oauth_helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7177"
} | starcoder | <filename>LiveVideoSDK/VIMS.Cms/GRGcms.API/OAuth/oauth_helper.cs
using System;
using System.Xml;
using System.Text;
using System.Web;
using GRGcms.Common;
namespace GRGcms.API.OAuth
{
public class oauth_helper
{
public oauth_helper()
{ }
/// <summary>
/// 获取OAuth配置信息
/... | 2.167117 | c4a6a90a02b23745effd041e17e3bc15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7177 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "engineering87/SharpConnector",
"max_stars_repo_path": "src/SharpConnector/Connectors/RavenDb/RavenDbWrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7178"
} | starcoder | <filename>src/SharpConnector/Connectors/RavenDb/RavenDbWrapper.cs
// (c) 2021 <NAME> <<EMAIL>>
// This code is licensed under MIT license (see LICENSE.txt for details)
using SharpConnector.Configuration;
using SharpConnector.Entities;
using System.Threading.Tasks;
namespace SharpConnector.Connectors.RavenDb
{
... | 2.531943 | 36a29615e88c081195ef2b67d95f0a3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7178 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Carapacik/cooking_book",
"max_stars_repo_path": "RecipeBook.Application/Services/UserService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7179"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Security.Claims;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
us... | 2.300087 | af0e08cf9b62ae996be08e0509afcd1d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7179 | {
"extension": "c-sharp",
"max_stars_count": "37.0",
"max_stars_repo_name": "faustodavid/ListPool",
"max_stars_repo_path": "src/ListPool.Serializers.Utf8Json.Formatters/StringAsListPoolOfCharsFormatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7180"
} | starcoder | <filename>src/ListPool.Serializers.Utf8Json.Formatters/StringAsListPoolOfCharsFormatter.cs
using System;
using System.Text;
using Utf8Json;
namespace ListPool.Serializers.Utf8Json.Formatters
{
/// <summary>
/// Formatter to serialize string as ListPool<char> and ListPool<char> as string.
/// Optimize to w... | 2.938148 | 276e87c3ab10d4353e56cc166135ae35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ykomitov/Homeworks-TA",
"max_stars_repo_path": "14.SPA-AngularJS/TheBigCatProject/TheBigCatProject.Server/Areas/HelpPage/Views/Help/DisplayTemplates/SimpleTypeModelDescription.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7181... | starcoder | <reponame>ykomitov/Homeworks-TA
@using TheBigCatProjectServer.Areas.HelpPage.ModelDescriptions
@model SimpleTypeModelDescription
@Model.Documentation | 0.993009 | 1924a7c2be03df91261bf59f01b6e7d2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7181 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sunilake/aspnetboilerplate",
"max_stars_repo_path": "src/Abp.Web.Api/WebApi/Controllers/Dynamic/Selectors/DynamicHttpActionDescriptor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7182"
} | starcoder | using System.Reflection;
using System.Web.Http.Controllers;
using System.Collections.ObjectModel;
using System.Web.Http.Filters;
using Abp.Collections.Extensions;
using Abp.Reflection;
using Abp.Web.Models;
using Abp.WebApi.Configuration;
namespace Abp.WebApi.Controllers.Dynamic.Selectors
{
public class DynamicHtt... | 2.309259 | 6a483116ba2dd0a78e3a539306898688 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7182 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Milkenm/Testing",
"max_stars_repo_path": "DivisionTest/Main.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7183"
} | starcoder | <reponame>Milkenm/Testing<filename>DivisionTest/Main.Designer.cs
namespace DivisionTest
{
partial class Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.196691 | c97c1f18b50855e98f49195b210c1d49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7183 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DmitriyUtyugov/CovidTelegramBot",
"max_stars_repo_path": "CovidTelegramBot/Models/LocalRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7184"
} | starcoder | <reponame>DmitriyUtyugov/CovidTelegramBot
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CovidTelegramBot.Models
{
public class LocalRepository : IRepository
{
private List<CovidStatistic> statistics = new List<CovidStatistic>();
pub... | 2.326905 | 3f7cfcd92818f30a2125ecc15145401a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7184 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tt-p/Bim308_FinalProject",
"max_stars_repo_path": "Project/TasteMe.com/src/Success.aspx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7185"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Bim308_FinalProject.TasteMe.com.src
{
public partial class Success : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
... | 1.945903 | dfc828ac8dc1a99184f6381457606c98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jkapp610/HighSteaks-Game-Jam",
"max_stars_repo_path": "Assets/Scripts/GrillforkMovement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7186"
} | starcoder | <filename>Assets/Scripts/GrillforkMovement.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GrillforkMovement : MonoBehaviour
{
Vector3 mousePosition;
public float movespeed =0.1f;
Rigidbody2D rigidbody;
Vector2 position = new Vector2(0f,0f);
public flo... | 2.426884 | 93575f4adce4c74eedf0ad1d2e65608c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7186 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "husains/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/KeyManagementService/Generated/Model/DescribeKeyRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7187"
} | starcoder | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 1.911257 | 44c195f0bf8029c56fa9afd8090bc434 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7187 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "git-custom-code/AutomatedTesting",
"max_stars_repo_path": "src/Test.AutomatedTesting.TestDomain/Property/IFooValueTypeGetter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7188"
} | starcoder | <gh_stars>0
namespace CustomCode.AutomatedTesting.TestDomain
{
/// <summary>
/// Interface that simulates a dependency that contains a value type property getter.
/// </summary>
public interface IFooValueTypeGetter<T> : IFoo
where T : struct
{
T Getter { get; }
}
} | 1.645997 | 4a4ba85dbc22cedcef8c90eb96f60a79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7188 | {
"extension": "c-sharp",
"max_stars_count": "3880.0",
"max_stars_repo_name": "JarLob/EventStore",
"max_stars_repo_path": "src/EventStore.Projections.Core.Tests/Services/core_projection/projection_checkpoint_reader/when_projection_reader_times_out_on_read.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7189... | starcoder | using System;
using System.Threading;
using EventStore.Core.Bus;
using EventStore.Core.Data;
using EventStore.Core.Helpers;
using EventStore.Core.Messages;
using EventStore.Core.Services.TimerService;
using EventStore.Core.Tests;
using EventStore.Core.Tests.Helpers.IODispatcherTests;
using EventStore.Projections.Core.S... | 1.649123 | a81090bdeeb6a91dcdb24b03fe2c097a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7189 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Buriola/2D-adventure-game",
"max_stars_repo_path": "Assets/Scripts/Buriola/Gameplay/Player/FSM/SubStates/PlayerLedgeJumpState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7190"
} | starcoder | <filename>Assets/Scripts/Buriola/Gameplay/Player/FSM/SubStates/PlayerLedgeJumpState.cs
using Buriola.Gameplay.Player.Data;
using Buriola.Gameplay.Player.FSM.SuperStates;
using UnityEngine;
namespace Buriola.Gameplay.Player.FSM.SubStates
{
public sealed class PlayerLedgeJumpState : PlayerAbilityState
{
... | 2.251758 | 8cfcf50835ff658f03da4105ce991a8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karcagtamas/PlanManager-Backend",
"max_stars_repo_path": "ManagerAPI.DataAccess/Migrations/20210412201613_Init.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7191"
} | starcoder | <reponame>karcagtamas/PlanManager-Backend
// <auto-generated />
using System;
using ManagerAPI.DataAccess;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Man... | 1.784478 | d81383056f4744a8ffad97ba68783648 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7191 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "losfair/foundationdb-dotnet-client",
"max_stars_repo_path": "FoundationDB.Client/Shared/Linq/Async/Iterators/PrefetchingAsyncIterator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7192"
} | starcoder | <reponame>losfair/foundationdb-dotnet-client<gh_stars>10-100
#region BSD License
/* Copyright (c) 2013-2020, Doxense SAS
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code... | 2.408375 | 521b7e2bd68a44a219120eb47ddb7fed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7192 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "codetojoy/gists",
"max_stars_repo_path": "csharp/code.coverage/tests/FooTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7193"
} | starcoder | using NUnit.Framework;
using code.coverage;
namespace code.coverage
{
public class FooTests
{
[Test]
public void Test_CanaryRepeat()
{
var foo = new Foo();
// test
string result = foo.CanaryRepeat("abc", 3);
Assert.AreEqual("abcabcabc",... | 2.291695 | 478495f370e1c06743d719fafd410a56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7193 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "rejul/Property4U-fixed",
"max_stars_repo_path": "Property4U/Global.asax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7194"
} | starcoder | using IdentitySample.Models;
using System.Data.Entity;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json.Serialization;
using Property4U.Core;
namespace IdentitySample
{
// Note: For instructions on enabling IIS7 classic mode,
// visit... | 1.710034 | a1e27f949a2092e153a7dd8863ae38ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7194 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ejdelrio/azure-sdk-for-net",
"max_stars_repo_path": "sdk/keyvault/Azure.Security.KeyVault.Certificates/src/ActionType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7195"
} | 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;
namespace Azure.Security.KeyVault.Certificates
{
[Flags]
public enum ActionType : uint
{
AutoRenew = 0x0001,
EmailC... | 1.458799 | 2c0dbf1c79c2a36d5513f0f34abc99d5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7195 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TWCultivation/Args.Parser.Net",
"max_stars_repo_path": "src/Args.Parser/Arguments/ArgumentsDefinition.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7196"
} | starcoder | <filename>src/Args.Parser/Arguments/ArgumentsDefinition.cs<gh_stars>0
using System.Collections.Generic;
using Args.Parser.Commands;
namespace Args.Parser.Arguments
{
class ArgumentsDefinition
{
internal ICommandDefinitionMetadata Command { get; }
internal IList<FlagArgument> Flags { get; }
... | 2.215197 | cf6722c59ac25add256ad4df1b999033 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7196 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pcharlesmoran/roslyn",
"max_stars_repo_path": "src/Features/Core/Portable/GenerateMember/GenerateParameterizedMember/AbstractGenerateDeconstructMethodService.State.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7197"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeGeneration;
using Microsoft.CodeAn... | 1.929668 | 3d7c7f7b60db75cfcbff7cfd33c49763 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pseudonyme7/QuantumGatesV2",
"max_stars_repo_path": "QuantumGate/Assets/01_Scripts/02_Objects/Sound.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7198"
} | starcoder | <filename>QuantumGate/Assets/01_Scripts/02_Objects/Sound.cs
using UnityEngine;
/// <summary>
/// Gere le toogle box pour le son.
/// </summary>
public class Sound : MonoBehaviour
{
public void OnValueChange(bool ableSound)
{
AudioListener.pause = ableSound;
}
}
| 2.192504 | 2281797875eada3ac148573b666334cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7198 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EmORz/Simple_Example_Projects",
"max_stars_repo_path": "UnravelTravel-master/src/Models/UnravelTravel.Models.ViewModels/Activities/ActivityViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7199"
} | starcoder | <reponame>EmORz/Simple_Example_Projects
namespace UnravelTravel.Models.ViewModels.Activities
{
using System;
using System.Globalization;
using System.Collections.Generic;
using UnravelTravel.Common;
using UnravelTravel.Common.Extensions;
using UnravelTravel.Data.Models;
using UnravelTravel.... | 2.195715 | 5bc9a088671009c72a84a5012589b8fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7199 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Electronicute/GBP_BestdoriAPI",
"max_stars_repo_path": "Entity/GBP_User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7200"
} | starcoder | <filename>Entity/GBP_User.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace com.pareo.maruyamaAya.Code.Entity
{
class GBP_User
{
/// <summary>
/// 邦邦加好友的id
/// </summary>
private string userid;
... | 2.230787 | ab7f35f63f0952db132ba9aa57aba452 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7200 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "far-off-wanderer/old-game",
"max_stars_repo_path": "Game/Environment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7201"
} | starcoder | using Conesoft.Engine.Resources;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using System;
using System.Collections.Generic;
using System.Windows;
namespace Conesoft.Game
{
public class DefaultEnvironment
{
public Vector3 Acceleration { get; set; }
public Size ScreenSiz... | 2.254681 | 5632751a464594a23e4d174159456327 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yeohan/AdaptiveCards",
"max_stars_repo_path": "source/uwp/AdaptiveCardTestApp/ViewModels/TestResultsViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7202"
} | starcoder | <filename>source/uwp/AdaptiveCardTestApp/ViewModels/TestResultsViewModel.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdaptiveCardTestApp.ViewModels
{
public class TestResultsViewModel
{
... | 2.739609 | 22126330a790bb50add695f53efa182b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7202 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "DEVSENSE/Parsers",
"max_stars_repo_path": "Source/Devsense.PHP.Parser/Ast/LoopStmt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7203"
} | starcoder | // Copyright(c) DEVSENSE s.r.o.
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
// THIS CODE IS PROVIDED ON AN *AS IS*... | 2.678324 | 3db267683f5348a68f77189305407cd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pulumi/pulumi-kubernetes-crds",
"max_stars_repo_path": "operators/ham-deploy/dotnet/Kubernetes/Crds/Operators/HamDeploy/Deploy/V1Alpha1/Inputs/OperatorStatusInitContainerStatusesArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7... | starcoder | <filename>operators/ham-deploy/dotnet/Kubernetes/Crds/Operators/HamDeploy/Deploy/V1Alpha1/Inputs/OperatorStatusInitContainerStatusesArgs.cs
// *** WARNING: this file was generated by crd2pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections... | 1.839458 | 6ddbc6b089ed09127f2e4ae3619e5ef3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7204 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "phermens-slalom/blackslope.net",
"max_stars_repo_path": "src/BlackSlope.Api/HealthChecks/MoviesHealthCheck.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7205"
} | starcoder | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Diagnostics.HealthChecks;
namespace BlackSlope.Api.HealthChecks
{
public class MoviesHealthCheck : IHealthCheck
{
private readonly IHttpClientFactory _httpClientFactory;
publi... | 2.591291 | 9d87ec23a341f03f39d6be7727fea055 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7205 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vjacquet/WmcSoft",
"max_stars_repo_path": "WmcSoft.Business/Business/RuleModel/RuleOverride.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7206"
} | starcoder | <reponame>vjacquet/WmcSoft
#region Licence
/****************************************************************************
Copyright 1999-2015 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and redistribute it,... | 2.031091 | 35fa449e75eda4972844de09d7aee5c4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PackSite/Library.Modeling",
"max_stars_repo_path": "src/PackSite.Library.Modeling.Querying.Abstractions/Evaluators/IServicesQueryEvaluator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7207"
} | starcoder | <gh_stars>0
namespace PackSite.Library.Modeling.Querying.Evaluators
{
/// <summary>
/// Query evaluator with all required instances injected from service container.
/// </summary>
public interface IServicesQueryEvaluator : IQueryEvaluator
{
}
}
| 1.210288 | 89c6c8bafe8ca8548512145d57104f99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7207 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mjyeaney/TextFileClassifier",
"max_stars_repo_path": "Core/ParsingWorkflow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7208"
} | starcoder | using System;
using System.Threading.Tasks;
using TextFileClassifier.Core;
namespace TextFileClassifier.Core
{
public class ParsingWorkflow
{
private IJobStatusStore statusStore;
private IBlobReader blobReader;
private IContentExtractor extractor;
private ISearchIndex searchInde... | 2.48046 | 9f52538560e0fa818ff794ef2ec63c08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7208 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shivnaik5/Interstellar-Adventure-VR",
"max_stars_repo_path": "Assets/Scripts/DragButton.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7209"
} | starcoder | using UnityEngine;
public class DragButton : MonoBehaviour
{
[SerializeField]
private Transform upTransform;
[SerializeField]
private Transform downTransform;
[SerializeField]
private Transform buttonMesh;
private Vector3 originalHandPosition;
private float magnitudeUpAndDown;
p... | 2.429426 | 23ea54c31d8e94e9db013445d07303ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yuzd/Autofac.Configuration.Core",
"max_stars_repo_path": "src/Autofac.Configuration/Properties/ConfigurationResources.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7210"
} | starcoder | <reponame>yuzd/Autofac.Configuration.Core
// <auto-generated />
namespace Autofac.Configuration
{
using System.Globalization;
using System.Reflection;
using System.Resources;
internal static class ConfigurationResources
{
private static readonly ResourceManager _resourceManager
... | 1.707531 | 77b9c420f681cc61ca4e32203a28daac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7210 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SolarPool/miningcore_ella",
"max_stars_repo_path": "src/MiningCore/Blockchain/Ethereum/EthereumExtraNonceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7211"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using MiningCore.Extensions;
namespace MiningCore.Blockchain.Ethereum
{
public class EthereumExtraNonceProvider
{
private int counter;
private const int NonceMax = 0x10000;... | 2.87604 | bb1858dfad89a745396e9502573c5db4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7211 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "CosmosLoops/OneMore",
"max_stars_repo_path": "src/Cosmos.Security.Cryptography/Cosmos/Security/Cryptography/SM4/Sm4Types.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7212"
} | starcoder | // ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
namespace Cosmos.Security.Cryptography
{
public enum Sm4Types
{
ECB,
CBC,
}
} | 1.578351 | f0d54b3e9302787b42b992eaa0b98df3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7212 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "marodev/infersharp",
"max_stars_repo_path": "Cilsil/Sil/Instructions/Load.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7213"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Cilsil.Sil.Expressions;
using Cilsil.Sil.Types;
using Newtonsoft.Json;
using System;
namespace Cilsil.Sil.Instructions
{
/// <summary>
/// Represents the loading of a value from the heap into a temporary variable.
/// </summa... | 2.727305 | 013efb1078be14ada7bfb04feed08fe0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7213 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "NathanielACollier/WebPad",
"max_stars_repo_path": "WebPad/WebServer/TCPUtillity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7214"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace WebPad.WebServer
{
public static class TCPUtillity
{
private static log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod(... | 2.551668 | 8a184cfbb4dbcbe09315d4d4c9e4d217 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PETROV442518/SoftUni",
"max_stars_repo_path": "VaporStore/DataProcessor/ExportDto/ExportUserDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7215"
} | starcoder | <gh_stars>0
using System.Xml.Serialization;
namespace VaporStore.DataProcessor.ExportDtos
{
[XmlType("User")]
public class ExportUserDto
{
[XmlAttribute("username")]
public string Username { get; set; }
[XmlArray("Purchases")]
public ExportPurchaseDto[] Purchases { get; se... | 1.746996 | 6efa66e0094075249a07db8ec781bb75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7215 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "diddyholz/holztools",
"max_stars_repo_path": "VisualStudioProject/HolzToolsWPF/ModeControls/ModeCycle.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7216"
} | starcoder | using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Windows.Media;
namespace HolzTools.ModeControls
{
public partial class ModeCycle : INotifyPropertyChanged
{
private byte brightness = 255;
private byte speed = 0;
pri... | 2.883329 | b2995f8875132528c899fd301435c312 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XYCaptain/SharpGLTF-TileExt",
"max_stars_repo_path": "tests/SharpGLTF.Toolkit.Tests/Scenes/SceneBuilderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7217"
} | starcoder | <filename>tests/SharpGLTF.Toolkit.Tests/Scenes/SceneBuilderTests.cs
using System;
using System.Linq;
using System.Numerics;
using System.Collections.Generic;
using NUnit.Framework;
using SharpGLTF.Schema2;
using SharpGLTF.Geometry;
using SharpGLTF.Geometry.VertexTypes;
using SharpGLTF.Geometry.Parametric;
... | 2.219038 | 09781390b3f6a01d1c7870da7fd4a222 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7217 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TeyanWar/Library-aspnetcore-MVC",
"max_stars_repo_path": "Library.Service/CheckoutService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7218"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Library.Data;
using Library.Data.Models;
using Microsoft.EntityFrameworkCore;
namespace Library.Service
{
public class CheckoutService : ICheckoutService
{
private readonly LibraryDbContext _context;
... | 2.732885 | af3ab6bb48bc43c112d57bed247a24a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7218 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DragonSpark/Framework",
"max_stars_repo_path": "DragonSpark.Azure/Queues/DefaultLife.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7219"
} | starcoder | <filename>DragonSpark.Azure/Queues/DefaultLife.cs<gh_stars>1-10
using DragonSpark.Model.Results;
using System;
namespace DragonSpark.Azure.Queues;
sealed class DefaultLife : Instance<TimeSpan>
{
public static DefaultLife Default { get; } = new DefaultLife();
DefaultLife() : base(TimeSpan.FromDays(5)) {}
} | 2.107739 | 7f7345ea8237f4d8e2b53c8bffcbd125 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7219 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "TonyZgj/ZFramework",
"max_stars_repo_path": "Runtime/Common/Singleton/MonoSingletonCreator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7220"
} | starcoder | using UnityEngine;
namespace Framework
{
public class MonoSingletonCreator
{
public static T CreateMonoSingleton<T>() where T : MonoBehaviour
{
T instance = null;
instance = Object.FindObjectOfType<T>();
if (instance != null)
{
r... | 2.751028 | b6cf4d1ef7a18515cab5bebfb398e6f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7220 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "indrivo/GEAR",
"max_stars_repo_path": "src/GR.Extensions/GR.TaskManager.Extension/GR.TaskManager/Migrations/20191002135830_TaskManagerDbContext_AddTaskAssignedUsers.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7221"
} | starcoder | // <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using GR.TaskManager.Data;
nam... | 1.580423 | c35c148f8b51c4079bc69d14afa681f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FitzyCodesThings/dragonchain-sdk-dotnetstandard",
"max_stars_repo_path": "dragonchain-sdk/Blocks/L1/L1BlockAtRest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7222"
} | starcoder | using System.Collections.Generic;
namespace DragonchainSDK.Blocks.L1
{
public class L1BlockAtRest
{
public string Version { get; set; }
public string Dcrn { get; set; }
public Header Header { get; set; }
public IEnumerable<string> Transactions { get; set; }
... | 1.40604 | d09ada2f6b596583da36062867cc37b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GabrielEstebanSalvatore/N-Commerce",
"max_stars_repo_path": "Presentacion.Core/Caja/CompobantesCaja.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7223"
} | starcoder | namespace Presentacion.Core.Caja
{
partial class CompobantesCaja
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... | 1.68416 | 690ed32b47ea931122d665e37a65e1a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "skorae/SoftUni-kdinev",
"max_stars_repo_path": "C# Web May 2019/Basic WEB/EXAM/Apps/SULS/SULS.Services/Dtos/SubmissionsDto/AllsubmissionsForProjectDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7224"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace SULS.Services.Dtos.SubmissionsDto
{
public class AllsubmissionsForProjectDto
{
public AllsubmissionsForProjectDto()
{
this.Submissions = new List<SubmissionDto>();
}
public List<SubmissionDto> Submissions { get... | 1.396527 | 59500c6b1ae6d1f90e77026bc01bd2fc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7224 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aamartin2k/AReporte",
"max_stars_repo_path": "ARDAL/Writer/EntityWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7225"
} | starcoder | using System;
using System.Data;
using System.Collections.ObjectModel;
using AReport.Support.Interface;
using AReport.Support.Entity;
namespace AReport.DAL.Writer
{
abstract class EntityWriter<T>
{
protected abstract string CommandText { get; }
protected abstract CommandType Comma... | 2.75292 | 1e35a8b7f0dcf0f8ca111d0ed046a1c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7225 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robertosa13/OrcaFacil",
"max_stars_repo_path": "SistemaOrcamento/TelaPrincipal.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7226"
} | starcoder |
using System;
using System.Windows.Forms;
namespace SistemaOrcamento
{
partial class TelaPrincipal
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clea... | 1.972543 | bccd5132635f441301f6a247d69c5135 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7226 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HTMLCOIN/NBXplorer",
"max_stars_repo_path": "NBXplorer/LiquidRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7227"
} | starcoder | <filename>NBXplorer/LiquidRepository.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
using NBitcoin.Altcoins.Elements;
using NBXplorer.Altcoins.Liquid;
using NBitcoin.RPC;
using NBXplorer.Models;
using System;
using NBXplorer.DerivationStrategy;
names... | 2.192316 | 8121b09582490eb97447038f8c141924 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7227 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "PGBullsEye/EyeMR",
"max_stars_repo_path": "Unity-Project/EyeMR/Assets/BullsEye/Scripts/Model/Gesture/GestureTechniqueData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7228"
} | starcoder | <reponame>PGBullsEye/EyeMR<filename>Unity-Project/EyeMR/Assets/BullsEye/Scripts/Model/Gesture/GestureTechniqueData.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="GestureTechniqueData.cs" company="PG BullsEye">
// Author: <... | 2.254771 | 839c323d6395aa83193758ed1e0c355d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dasimple/mobilekit",
"max_stars_repo_path": "Unity/mobilekit/Assets/Plugins/MobileKit/Storing/KeyValues.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7229"
} | starcoder | using MobileKit.Storing.Collections;
namespace MobileKit.Storing
{
public static class KeyValues
{
private static KeyValueCollection singleton = null;
private static KeyValueCollection collection
{
get
{
if(singleton == null)
{
singleton = new KeyValueCollection();
}
... | 3.072967 | caf76c915f6096053c370b4db3ff5f21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7229 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "test-wiz-sec/pulumi-azure-nextgen",
"max_stars_repo_path": "sdk/dotnet/EventGrid/V20200401Preview/ListDomainSharedAccessKeys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7230"
} | starcoder | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 1.805611 | 81c75a2d53752f92c8ca20f04e66dc82 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7230 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "knocte/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla29247.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7231"
} | starcoder | using System;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls.Issues
{
[Preserve (AllMembers = true)]
[Issue (IssueTracker.Bugzilla, 29247, "iOS Device.OpenUri breaks with encoded params", PlatformA... | 1.894911 | ba6ec16f678948e0ab8d72b35caa089a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7231 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "semahbub/App03_View",
"max_stars_repo_path": "App03_View/App03_View/Models/Subject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7232"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace App03_View.Models
{
public class Subject
{
public int Id { get; set; }
public string Name { get; set; }
public int CreditHour { get; set; }
}
}
| 1.81975 | 72693afacb43a2a1bad21aff3238ec6a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7232 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Melesar/rockets-and-gamblers",
"max_stars_repo_path": "Assets/Scripts/Base/Editing/DefenceLayoutMoving.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7233"
} | starcoder | using System;
using Framework.References;
using UnityEngine;
using UnityEngine.EventSystems;
namespace RocketsAndGamblers
{
public class DefenceLayoutMoving : DefenceLayoutBehaviour, IDragHandler, IBeginDragHandler
{
private Camera mainCamera;
private Vector2 positionOffset;
public vo... | 2.115439 | d755c1536ed26b754da0c9ef713fa9a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7233 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "rowetechinc/RTI",
"max_stars_repo_path": "UnitTests/Models/DataSet/GoodEarthDataSetTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7234"
} | starcoder | <filename>UnitTests/Models/DataSet/GoodEarthDataSetTest.cs
/*
* Copyright © 2011
* Rowe Technology Inc.
* All rights reserved.
* http://www.rowetechinc.com
*
* Redistribution and use in source and binary forms, with or without
* modification is NOT permitted.
*
* THIS SOFTWARE IS PROVIDED BY THE C... | 2.649065 | ca50f7ab9bd9ebb64f1b30c5ee910e24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7234 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "digitedigital/HabboBOT",
"max_stars_repo_path": "HabboBot/HabboBot.Libraries/Flazzy/ABC/Enums/MethodFlags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7235"
} | starcoder | <reponame>digitedigital/HabboBOT<filename>HabboBot/HabboBot.Libraries/Flazzy/ABC/Enums/MethodFlags.cs<gh_stars>1-10
using System;
namespace Flazzy.ABC
{
[Flags]
public enum MethodFlags
{
None = 0,
NeedArguments = 1,
NeedActivation = 2,
NeedRest = 4,
HasOptional = 8,... | 1.705916 | 4c3ba058e08daf92f4c54932a7117fcf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7235 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "InKnowWorks/Prism",
"max_stars_repo_path": "Source/Wpf/IKW.Contropolus/IKW.Contropolus.Prism.CastleWindsor.WPF/Legacy/CastleWindsorContainerHelpers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7236"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using Castle.Windsor;
namespace IKW.Contropolus.Prism.CastleWindsor.WPF.Legacy
{
/// <summary>
///
/// </summary>
public static class CastleWindsorContainerHelper
{
/// <summary>
/// Returns whether a specified theClassType has ... | 2.839142 | f82c6d83895665632142e5af2f3bf593 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "albozhinov/TelerikTasks",
"max_stars_repo_path": "UnitTestingWorkshopAcademy/Skeleton/Academy.Tests/Models/SeasonTests/SeasonSetSartingYear_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7237"
} | starcoder | <filename>UnitTestingWorkshopAcademy/Skeleton/Academy.Tests/Models/SeasonTests/SeasonSetSartingYear_Should.cs
using Academy.Models;
using Academy.Models.Enums;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
namespace Academy.Tests.Models.SeasonTe... | 2.632077 | 5c1676fb93299d2801d26790919bc641 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.