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 | 67161 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "majakubowski/XrmMockup",
"max_stars_repo_path": "tests/SharedPluginsAndCodeactivites/AccountWorkflowActivity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67162"
} | starcoder | using System;
using System.Activities;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Workflow;
using Microsoft.Xrm.Sdk.Query;
using DG.XrmFramework.BusinessDomain.ServiceContext;
namespace DG.Some.Namespace {
public sealed partial class A... | 2.087522 | 56feec151934ce6018acb8d012814df4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67162 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "HectorPulido/Multipourpuse-third-person-shooter-unity",
"max_stars_repo_path": "Third Person Shooter/Assets/Scripts/PlayerController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67163"
} | starcoder | <filename>Third Person Shooter/Assets/Scripts/PlayerController.cs
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent (typeof (Animator))]
public class PlayerController : MonoBehaviour {
public Transform rightGunBone;
public List<Weapon> arsenal = new List<Weapon>();
... | 2.548693 | bad6fb9be76e7d3ac86cba6a1964c282 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67163 | {
"extension": "c-sharp",
"max_stars_count": "46.0",
"max_stars_repo_name": "itye-msft/fhir-codegen",
"max_stars_repo_path": "generated/CSharpFirely2_R4/Generated/AdverseEvent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67164"
} | starcoder | // <auto-generated/>
// Contents of: hl7.fhir.r4.core version: 4.0.1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using Hl7.Fhir.Introspection;
using Hl7.Fhir.Serialization;
using Hl7.Fhir.Specification;
using Hl7.Fhir.Utility;
using Hl7.Fhir.Validation;
/*
... | 1.796831 | 4fa156a4f2c01b024e17d0d6d4f51530 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmequus/gizmofort.connector.erpnext",
"max_stars_repo_path": "Libs/GizmoFort.Connector.ERPNext/ERPTypes/Student_attendance/Student_attendanceService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67165"
} | starcoder | using GizmoFort.Connector.ERPNext.PublicInterfaces;
using GizmoFort.Connector.ERPNext.PublicInterfaces.SubServices;
using GizmoFort.Connector.ERPNext.PublicTypes;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Student_attendance
{
public class Student_attendanceService : SubServiceBase<ERPStudent_attendance>
{... | 1.806704 | 8f9fc01dc024a602c3ba71030031e50e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67165 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Coding4FunProjects/Coding4FunToolk",
"max_stars_repo_path": "source/Coding4Fun.Toolkit.Controls/ValuePicker/TimeSpanPicker/TimespanPickerPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67166"
} | starcoder | <reponame>Coding4FunProjects/Coding4FunToolk
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Collections.Generic;
using Sy... | 2.394191 | d3471ac96c6ca421eab1860e023a0ea8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67166 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "akanevrc/TeuchiUdon",
"max_stars_repo_path": "Parser/SyntaxAbstractions/TeuchiUdonMethod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67167"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace akanevrc.TeuchiUdon
{
public enum TeuchiUdonMethodParamInOut
{
In,
InOut,
Out
}
public class TeuchiUdonMethod : ITeuchiUdonTypeArg, ITeuchiUdonLeftValue, IEquatable<TeuchiUdonMethod>
... | 2.534647 | abd324bf7b22b1f85515b3b2391e40f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmitrymarokhonov/GroupX-Activation-game",
"max_stars_repo_path": "Assets/_Project/Scripts/Audio/ButtonClickAudio.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67168"
} | starcoder | <gh_stars>0
using System;
using UnityEngine;
using UnityEngine.UI;
namespace Relanima.Audio
{
public class ButtonClickAudio : MonoBehaviour
{
[SerializeField] private AudioClip clickSound;
private AudioSource _audioSource;
private Button _button;
private void Awake()
{... | 1.753373 | 6575f04a10692e040c4b5ce129330107 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67168 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SystemDot/SystemDotCore",
"max_stars_repo_path": "Projects/SystemDot/ThreadMarshalling/IMainThreadMarshaller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67169"
} | starcoder | using System;
using System.Diagnostics.Contracts;
namespace SystemDot.ThreadMarshalling
{
[ContractClass(typeof(IMainThreadMarshallerContract))]
public interface IMainThreadMarshaller
{
void RunOnMainThread(Action toRun);
}
[ContractClassFor(typeof(IMainThreadMarshaller))]
public class... | 2.298221 | 69ab1176a3ad0554bcff26afe3f65a3d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThuliumGames/USM-Finals",
"max_stars_repo_path": "Plane Tower Defence/Assets/Scripts/CamControl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67170"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CamControl : MonoBehaviour {
public Transform ObjToFollow;
float UpDown = 0;
public float Max;
public float Min;
public float Back;
public float Up;
public float FollowSpeed;
public LayerMask LM;
float Ac;
... | 1.814498 | 21d8dcaaf6a1ed0c5264e25215a8f6ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67170 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "thanklzhang/001_GameFramework_Client",
"max_stars_repo_path": "Assets/Script/Battle/Util/BattleConvert.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67171"
} | starcoder | <gh_stars>1-10
using Google.Protobuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using NetProto;
using UnityEngine;
public class BattleConvert
{
public static Vector3Proto ConvertToVector3Pro... | 2.694049 | cf37f0aa03ccb870fbad333a4da21949 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67171 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "perryflynn/PerrysNetConsole",
"max_stars_repo_path": "PerrysNetConsoleStd/FilePrompt.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67172"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PerrysNetConsole
{
public class FilePrompt : Prompt
{
public static string DEFAULT_NOVALIDFILETYPEMSG = "Path is not a file";
public st... | 2.97945 | 4baede30abd7629ed67a5f2d6043d54b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67172 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LorandBiro/SpeedSlidingTrainer",
"max_stars_repo_path": "Source/SpeedSlidingTrainer.Application/Services/SessionStatistics/AggregatedSolveStatistics.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67173"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using JetBrains.Annotations;
using SpeedSlidingTrainer.Core.Model;
namespace SpeedSlidingTrainer.Application.Services.SessionStatistics
{
internal sealed class AggregatedSolveStatistics : IAggregatedSolveSta... | 2.665612 | fc11ded6da2c9c649482af513b215096 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67173 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DimchoLakov/MyOnlineShop-Domain-Driven-Design",
"max_stars_repo_path": "MyOnlineShop/MyOnlineShop.Domain/Common/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67174"
} | starcoder | <reponame>DimchoLakov/MyOnlineShop-Domain-Driven-Design<gh_stars>1-10
namespace MyOnlineShop.Domain.Common
{
public class Constants
{
public class Common
{
public const int MaxUrlLength = 2048;
}
}
}
| 1.742238 | 4fa98adf0d81a779f180489cc87048b0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67174 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "CScorpion-h/PKHeX_Custom_Plugin",
"max_stars_repo_path": "CustomPlugin.Core/Utils/TrainerInfoUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67175"
} | starcoder | using CustomPlugin.Core.Structure;
using PKHeX.Core;
namespace CustomPlugin.Core.Utils
{
public static class TrainerInfoUtils
{
private static TrainerInfoInSav? trainerInfo;
public static TrainerInfoInSav GetTrainerInfo(SaveFile sav)
{
return trainerInfo ?? new TrainerInfo... | 1.624775 | 2a64c6f431c272ff8e12f5bcd968366e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67175 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mika-f/SharpX",
"max_stars_repo_path": "Source/SharpX.Compiler.Extensions/AttributeDataExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67176"
} | starcoder | <filename>Source/SharpX.Compiler.Extensions/AttributeDataExtensions.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis;
namespace SharpX.Compiler.Extensions
{
public static class AttributeDataExtensio... | 2.578646 | 9c3a20977547ae9af7a5f18fa9903e60 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chumpon-asaneerat/DMT.TA.TODv3",
"max_stars_repo_path": "00.NLib/NLib/Utils/Win32/RegistryUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67177"
} | starcoder | <reponame>chumpon-asaneerat/DMT.TA.TODv3
#region History
#if HISTORY_COMMENT
// <[History]>
Update 2015-06-17
=================
- RegistryUtils class updated
- Changes log code (used MethodBase).
======================================================================================================================... | 2.322317 | e5a6087d8d9e2a1ac205cf58f6b13275 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67177 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "popcan12/Minigolf-Mania",
"max_stars_repo_path": "code/Movement/MoveHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67178"
} | starcoder | <filename>code/Movement/MoveHelper.cs
using Sandbox;
namespace Facepunch.Minigolf;
public struct MoveHelper
{
public Vector3 Position;
public Vector3 Velocity;
public bool HitWall;
public Entity WallEntity;
public Vector3 HitWallPos;
public Vector3 GroundVelocity;
public float GroundBounce;
public float Wa... | 2.21198 | 4d9d504cd8544f9cef6a05aa7f95e82c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67178 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mdm88/ArangoDriver",
"max_stars_repo_path": "Client/Serialization/JsonNetSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67179"
} | starcoder | <filename>Client/Serialization/JsonNetSerializer.cs
using System;
using System.Collections.Generic;
using System.IO;
using ArangoDriver.Exceptions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace ArangoDriver.Serialization
{
public class JsonNetSerializer : I... | 2.919061 | ead36d850ebcff295b895b6feb5932aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67179 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maio246/C-Advanced",
"max_stars_repo_path": "Stacks and Queues/05. HotPotato/Hot Potato.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67180"
} | starcoder | <gh_stars>0
namespace _05.HotPotato
{
using System;
using System.Collections.Generic;
public class Hot_Potato
{
public static void Main()
{
var players = Console.ReadLine().Split();
var turns = int.Parse(Console.ReadLine());
var result = new Queue<s... | 3.44165 | 465dfcbbe07f14dca914b4f02a01720a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67180 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Roukanken42/Tera-custom-cooldowns",
"max_stars_repo_path": "TCC.Core/UI/Windows/MergedInventoryWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67181"
} | starcoder | using System;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Threading;
using Nostrum;
using Nostrum.WPF.Factories;
using Nostrum.WPF.ThreadSafe;
using TCC.Data;
using TCC.Data.Pc;
name... | 2.312535 | 6d5c015beb4bc296d70927b2fdf95fb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67181 | {
"extension": "c-sharp",
"max_stars_count": "911.0",
"max_stars_repo_name": "cnork/referencesource",
"max_stars_repo_path": "System.ServiceModel/System/ServiceModel/Channels/TransportChannelListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67182"
} | starcoder | <filename>System.ServiceModel/System/ServiceModel/Channels/TransportChannelListener.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel.Channels
{
... | 1.579289 | 80f6d8cd5c2358a30dc70aa9362b246c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67182 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "StanislawSwierc/WebApi",
"max_stars_repo_path": "test/UnitTest/Common/TaskHelpersExtensionsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67183"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.TestCommon;
using Moq;
namespace System.Threading.Tasks
{
public class TaskHelpersExtensionsTest
{
// ------------------------... | 2.469925 | 863e6771699b6d5d72bc3375e6a00a1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "koocbor/AzureWebJobTest",
"max_stars_repo_path": "AzureWebJobTest.WebJob/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67184"
} | starcoder | using AzureWebJobTest.WebJob.Repository;
using AzureWebJobTest.WebJob.Services;
using Microsoft.Azure.WebJobs;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.IO;
namespace AzureWebJobTest.WebJob
{
class Prog... | 2.211075 | 60440cf70cbd11182fa7f166d33d387b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67184 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "icraftsoftware/BizTalk.Factory",
"max_stars_repo_path": "src/ServiceModel/ServiceModel/Channels/XlangMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67185"
} | starcoder | #region Copyright & License
// Copyright © 2012 - 2013 <NAME>, <NAME>
//
// 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
//
//... | 2.067875 | b06bfe19180e985d0101d8433d6ff493 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KevinError/MAP",
"max_stars_repo_path": "BackEnd/KFC.SIT.ManagerLayer/Logic/PasswordStatus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67186"
} | starcoder | <reponame>KevinError/MAP
namespace WebAPI.Logic
{
/// <summary>
/// Holds the security of a password.
/// </summary>
public class PasswordStatus
{
// An integer representation of a password's security
public int status { get; private set; }
public PasswordStatus(int s)
... | 1.84782 | 25fb3c476df2903b01c92e83d294488f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67186 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "gridgentoo/ServiceFabricAzure",
"max_stars_repo_path": "src/prod/src/managed/FabricBRS/src/System/Fabric/BackupRestore/BackupRestoreEndPoints/Handlers/ClientCertAuthorizationHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | <reponame>gridgentoo/ServiceFabricAzure
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ----------------------------------------------------... | 1.837181 | 24bb37128443cb23241ed84749500026 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67187 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "aikido-forchheim/membermanagement",
"max_stars_repo_path": "AVF.MemberManagement.StandardLibrary/Interfaces/IPasswordService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67188"
} | starcoder | <reponame>aikido-forchheim/membermanagement<filename>AVF.MemberManagement.StandardLibrary/Interfaces/IPasswordService.cs
using System.Threading.Tasks;
namespace AVF.MemberManagement.StandardLibrary.Interfaces
{
public interface IPasswordService
{
Task<bool> IsValidAsync(string enteredPassword, string stored... | 2.050887 | c8f54aa323231dbe0d0f2ac16dfa91c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67188 | {
"extension": "c-sharp",
"max_stars_count": "780.0",
"max_stars_repo_name": "hur1can3/cofoundry",
"max_stars_repo_path": "src/Cofoundry.Domain/Domain/Pages/Models/PageRegionDetails.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67189"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cofoundry.Domain
{
/// <summary>
/// Contains block data for a single region in a specific
/// page version. The block type used in this projection does
/// not include the map... | 2.393632 | e8fda29cfb23bd7bef45f71962472d23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67189 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lpb243310820/WeiXinMPSDK",
"max_stars_repo_path": "Samples/All/Senparc.Weixin.Sample.CommonService/MessageHandlers/CustomMessageHandler/Async/CustomMessageHandlerAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67190"
} | starcoder | /*----------------------------------------------------------------
Copyright (C) 2022 Senparc
文件名:CustomMessageHandlerAsync.cs
文件功能描述:自定义MessageHandler(异步方法)
创建标识:Senparc - 20191003
----------------------------------------------------------------*/
//DPBMARK_FILE MP
using System.Threadi... | 2.178315 | cab2240e40e18c3b48356f7f70acca4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67190 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bunashibu/kikan",
"max_stars_repo_path": "Assets/Scripts/Data/StageData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67191"
} | starcoder | <filename>Assets/Scripts/Data/StageData.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Bunashibu.Kikan {
[CreateAssetMenu]
public class StageData : ScriptableObject {
public string Name {
get {
return _name;
}
}
public Vector3 RespawnPo... | 2.08517 | 13312d0bb039e85f50c03aa50f7d6a19 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67191 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ThatChocolateGuy/AttendAR",
"max_stars_repo_path": "Assets/DreamStarGenerator/Scripts/DreamStarGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67192"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace DreamStarGen
{
[RequireComponent(typeof(MeshFilter))]
public class DreamStarGenerator : MonoBehaviour
{
public MeshFilter meshfilter;
[Header("Base Parameters:")]
public float ... | 2.413029 | e30017f9a6a1faf315a6d304da17111f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67192 | {
"extension": "c-sharp",
"max_stars_count": "2766.0",
"max_stars_repo_name": "palzj/OpenLiveWriter",
"max_stars_repo_path": "src/managed/OpenLiveWriter.Interop.Mshtml/mshtml/IHTMLCurrentStyle4.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67193"
} | starcoder | <filename>src/managed/OpenLiveWriter.Interop.Mshtml/mshtml/IHTMLCurrentStyle4.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
namespace mshtml
{
using System;
using System.Runtime.CompilerServices;
using System.... | 1.607632 | 7ccd6e63e6f8556d4936c20773ab6b25 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67193 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jpmoura/TotvsFullstackChallenge",
"max_stars_repo_path": "API/TOTVS.Fullstack.Challenge.AuctionHouse.Service/Security/JwtAuthenticationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67194"
} | starcoder | using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using TOTVS.Fullstack.Challenge.AuctionHouse.Domain.Contracts.Services.Core;
using TOTVS.Fullstack.Challeng... | 2.62075 | ff3a7040b4d4007577c54342658b6797 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67194 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bkuznia721/WestBlueGolfLeague",
"max_stars_repo_path": "WestBlueGolfLeagueWeb/WestBlueGolfLeagueWeb.Tests/Models/Schedule/RosterInputTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67195"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WestBlueGolfLeagueWeb.Models.Entities;
using WestBlueGolfLeagueWeb.Models.Schedule;
namespace WestBlueGolfLeagueWeb.Tests.Model... | 2.415991 | 2136d21c66ce15764993f1897c2ef848 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67195 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "anoopt/PnP-Sites-Core",
"max_stars_repo_path": "Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/XMLPnPSchemaV201605Formatter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67196"
} | starcoder | using OfficeDevPnP.Core.Framework.Provisioning.Model;
using OfficeDevPnP.Core.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Schema;
using System.Xml.Serialization;
using OfficeDevPnP.Core.Framework.Provisioning.P... | 1.836377 | c00b6a3273b11fea8af5d4ee6eb9bf6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67196 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecl1ps/orbital-devastation",
"max_stars_repo_path": "Application/Gui/GameOptions.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67197"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Wind... | 1.775301 | 38fb5a24606872cf845e2b327e28f7d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tongxin3267/alabo",
"max_stars_repo_path": "src/06.tool/03-Alabo.Tool.Sms/LuoSiMao/SmsConfigProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67198"
} | starcoder | using System.Threading.Tasks;
namespace Alabo.Tool.Sms.LuoSiMao
{
/// <summary>
/// 短信配置提供器
/// </summary>
public class SmsConfigProvider : ISmsConfigProvider
{
/// <summary>
/// 短信配置
/// </summary>
private readonly SmsConfig _config;
/// <summary>
... | 2.683959 | 60a6f4b94f019162716038927a113681 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67198 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gagandeepgarg/Centralized-Data-Ingestion-Outgestion",
"max_stars_repo_path": "InternalLibraries/ZionWeb.UnitTests/DAL/OutboundFileResendAuditDataAccessTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67199"
} | starcoder | <reponame>gagandeepgarg/Centralized-Data-Ingestion-Outgestion
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using ZionWeb.DAL;
using ZionWeb.DAL.Entities;
using ZionWeb.UnitTests.Utility;
namespace ZionWeb.UnitTests.DAL.OutboundFileResendAuditDataAccessT... | 2.037107 | 63125b8fd40584d3f141f26713e3db35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "isabella232/mongo-csharp-driver",
"max_stars_repo_path": "src/MongoDB.Driver/Linq/Linq3Implementation/Misc/TypeExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67200"
} | starcoder | <gh_stars>0
/* Copyright 2010-present MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 1.99753 | a3c63287d4cea7e2bb413c450acae2db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67200 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "AndresTraks/HlslDecompiler",
"max_stars_repo_path": "DirectXShaderModel/SamplerTextureType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67201"
} | starcoder | namespace HlslDecompiler.DirectXShaderModel
{
// D3DSAMPLER_TEXTURE_TYPE
public enum SamplerTextureType
{
Unknown = 1,
TwoD = 2,
Cube = 4,
Volume = 8
}
}
| 1.446917 | 5898cdb5f9405152df64ac4036428565 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67201 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "YANGQUNGONGSHE/jesusYQ_U3d",
"max_stars_repo_path": "Assets/nim/ChatRoom/MemberProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67202"
} | starcoder | <filename>Assets/nim/ChatRoom/MemberProperty.cs
using Newtonsoft.Json;
namespace NIMChatRoom
{
/// <summary>
/// 设置成员的成员身份
/// </summary>
public enum NIMChatRoomMemberAttribute
{
/// <summary>
///固定成员,operator必须是创建者
/// </summary>
kNIMChatRoomMemberAttributeAdminis... | 2.436204 | 551125e336b3d53d64eee1ff6346a11c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "macsux/steeltoe",
"max_stars_repo_path": "src/Messaging/src/RabbitMQ/Support/Converter/AbstractMessageConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67203"
} | starcoder | // Copyright 2017 the original author or authors.
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | 1.937055 | 9b7a324cb328c2305895630eb38c5479 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joelhoisko/Runtime",
"max_stars_repo_path": "Specifications/Validation/for_ValueValidationBuilder/when_adding_rule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67204"
} | starcoder | using System.Reflection;
using Dolittle.Rules;
using Dolittle.Validation;
using Machine.Specifications;
using Moq;
using It = Machine.Specifications.It;
namespace Dolittle.Specs.Validation.for_ValueValidationBuilder
{
public class when_adding_rule
{
static ValueValidationBuilder<object> builder;
... | 2.128799 | b2d7701992705586f081fd8a68b62ce4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67204 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "brischan/qcloud-sdk-dotnet",
"max_stars_repo_path": "QCloudCSharpSDK/COSXML/Utils/TimeUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67205"
} | starcoder | <filename>QCloudCSharpSDK/COSXML/Utils/TimeUtils.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace COSXML.Utils
{
public sealed class TimeUtils
{
// utc start time
public static readonly DateTime UTC_START_TIME = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)... | 2.901586 | c19ca852739928152525e2c86e8ef964 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67205 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mustik22/Pidgin",
"max_stars_repo_path": "Pidgin/Parser.RecoverWith.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67206"
} | starcoder | using System;
using System.Buffers;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace Pidgin
{
public partial class Parser<TToken, T>
{
/// <summary>
/// Creates a parser which runs the current parser, running <paramref name="errorHandler" /> on ... | 2.557497 | 3a770e86247b8eff2c6891619bb5e1ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "huaweicloud/huaweicloud-sdk-net",
"max_stars_repo_path": "Services/Ocr/V1/Model/VatInvoiceResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67207"
} | starcoder | <reponame>huaweicloud/huaweicloud-sdk-net
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Ocr.V1.Model
{
/// <summary>
///
... | 1.676062 | 92c1112dc81eee6671c4878cfdcacd9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67207 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Vampire2008/Lib.Web.Mvc",
"max_stars_repo_path": "Lib.Web.Mvc/DataAnnotations/JqGridColumnMappingAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67208"
} | starcoder | using System;
using System.Web.Mvc;
namespace Lib.Web.Mvc.JqGridFork.DataAnnotations
{
/// <summary>
/// Specifies the mapping properties for the column.
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class JqGridColumnMappingAttribute : Attribute, IMetadataAware
{
p... | 2.665513 | 78fde9f77be3d8aacae267b79c7c18aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67208 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Grinderofl/GenericSearch",
"max_stars_repo_path": "src/GenericSearch/Internal/Configuration/RowsConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67209"
} | starcoder | using System.Reflection;
namespace GenericSearch.Internal.Configuration
{
public class RowsConfiguration : IRowsConfiguration
{
public RowsConfiguration(PropertyInfo requestProperty, PropertyInfo resultProperty, int defaultValue)
{
RequestProperty = requestProperty;
Res... | 2.26606 | 6e9f6b7d171a8d90bc86c5d3e777ee5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eeevgeniev/ITSPMedic",
"max_stars_repo_path": "src/Medic.AppModels/Enums/ProtocolDrugTherapyOrderEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67210"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace Medic.AppModels.Enums
{
public enum ProtocolDrugTherapyOrderEnum
{
[Display(Name = nameof(Default))]
Default,
[Display(Name = nameof(DecisionDate))]
DecisionDate,
[Display(Name = nameof(DiagnoseCode))]
Diagn... | 1.918846 | 8f72a080a26ecd2bff68713ec52ffabc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67210 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FraunhoferFITWirtschaftsinformatik/SmarDeSatWork",
"max_stars_repo_path": "smartdevices-gateway/SmartDevicesGateway.Model.Persistence/LiteDBPersistenceProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67211"
} | starcoder | <filename>smartdevices-gateway/SmartDevicesGateway.Model.Persistence/LiteDBPersistenceProvider.cs
//
// Copyright (c) Vogler Engineering GmbH. All rights reserved.
// Licensed under the MIT License. See LICENSE.md in the project root for license information.
//
using System;
using System.Collections.Generic;
using Sys... | 1.866294 | 1113f1af346133a6a06caceba5361415 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67211 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Azure/azure-render-farm-manager",
"max_stars_repo_path": "src/AzureRenderHub/AzureRenderHub.WebApp/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67212"
} | starcoder | @{
ViewData["Title"] = "Azure Render Hub";
}
<h2>Azure Render Hub</h2>
<p>
Main landing page. Maybe an overview of everything in here. But that is open for discussion.
</p>
<p> </p>
<ol>
<li><a asp-controller="Environments" asp-action="Step1">Configure one or more Render Hub environments</a></li>
... | 2.142711 | 8df922b378437321236b48670e7f162e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67212 | {
"extension": "c-sharp",
"max_stars_count": "172.0",
"max_stars_repo_name": "Kinimiwar/KoiVM-Virtualization",
"max_stars_repo_path": "Confuser.DynCipher/AST/StatementBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67213"
} | starcoder | <filename>Confuser.DynCipher/AST/StatementBlock.cs<gh_stars>100-1000
#region
using System.Collections.Generic;
using System.Text;
#endregion
namespace Confuser.DynCipher.AST
{
public class StatementBlock : Statement
{
public StatementBlock()
{
Statements = new List<Statement>();
... | 2.791277 | 8230bc31fed89110e8662da47504a0f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67213 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "wcoder/Xamarin.BlurView",
"max_stars_repo_path": "samples/SampleApp/BaseFragment.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67214"
} | starcoder | <reponame>wcoder/Xamarin.BlurView<gh_stars>10-100
using AndroidX.Fragment.App;
namespace SampleApp
{
public abstract class BaseFragment : Fragment
{
public abstract string Title { get; }
protected abstract int LayoutId { get; }
public override Android.Views.View OnCreateView(Android.V... | 1.957117 | 8c1845768e9440dc7bcdf2617aedf542 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67214 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KK578/Mandarin",
"max_stars_repo_path": "tests/Mandarin.Client.Services.Tests/MandarinClientServicesTestsCollectionFixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67215"
} | starcoder | <gh_stars>1-10
using Mandarin.Tests.Helpers;
using Mandarin.Tests.Helpers.SendGrid;
using Xunit;
namespace Mandarin.Client.Services.Tests
{
[CollectionDefinition(nameof(MandarinClientServicesTestsCollectionFixture))]
public sealed class MandarinClientServicesTestsCollectionFixture : ICollectionFixture<Mandari... | 0.938239 | 89b0f1216cd4236c05129bff894f1294 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67215 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "victorursan/ToyLanguage_NET",
"max_stars_repo_path": "ToyLanguage_NET/src/Models/PrgState/PrgState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67216"
} | starcoder | using System;
namespace ToyLanguage_NET {
[Serializable] public class PrgState {
private static int generator = 0;
private int id;
private StackInterface<IStmt> exeStack;
private MapInterface<String, int> symTable;
private HeapInterface<int> heapTable;
private ListInterface<int> output;
private IStmt o... | 2.714267 | c2284adb10e4a64bb7392217eed3597a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dvs99/OpenSilver",
"max_stars_repo_path": "src/Runtime/Runtime/System.ServiceModel.Channels/WORKINPROGRESS/PollingDuplexHttpBinding.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67217"
} | starcoder | <filename>src/Runtime/Runtime/System.ServiceModel.Channels/WORKINPROGRESS/PollingDuplexHttpBinding.cs
/*===================================================================================
*
* Copyright (c) Userware/OpenSilver.net
*
* This file is part of the OpenSilver Runtime (https://opensilver.net), whi... | 2.265483 | a2e8602c83c05c06007b6be9ebe83941 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67217 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "creobitcom/Creobit.Backend.Sandbox",
"max_stars_repo_path": "Assets/GooglePlayGames/Platforms/Native/Cwrapper/AchievementManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67218"
} | starcoder | <filename>Assets/GooglePlayGames/Platforms/Native/Cwrapper/AchievementManager.cs
// <copyright file="AchievementManager.cs" company="Google Inc.">
// Copyright (C) 2014 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.... | 1.755434 | 6b021534389c2b3e8db2fe6e1354db32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67218 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linnaea/StackExchange.Redis",
"max_stars_repo_path": "src/StackExchange.Redis/ResultBox.ValueTask.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67219"
} | starcoder | using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Threading.Tasks.Sources;
namespace StackExchange.Redis
{
internal sealed partial class ValueTaskResultBox<T> : IResultBox<T>
{
private short _token;
private ValueTaskSource ... | 2.283111 | 052f7d7b6c4b6bd8cdae1649939639d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67219 | {
"extension": "c-sharp",
"max_stars_count": "238.0",
"max_stars_repo_name": "ylabade/ApplicationInsights-dotnet",
"max_stars_repo_path": "NETCORE/test/FunctionalTests.WebApi.Tests/Controllers/ExceptionController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67220"
} | starcoder | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
namespace FunctionalTests.WebApi.Tests.Controllers
{
[Route("api/[controller]")]
public class ExceptionController : Controller
{
// GET: api/exception
[HttpGet]
public IEnumerable<string> Get()
... | 1.919035 | 9760b0155712eb93d433e9f5865632fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67220 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Lakritzator/Captura",
"max_stars_repo_path": "src/Captura/Pages/FFmpegPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67221"
} | starcoder | using System.Windows;
using System.Windows.Input;
using Captura.Core;
using Captura.FFmpeg;
using Captura.ViewCore.ViewModels;
namespace Captura.Pages
{
public partial class FFmpegPage
{
private void OpenFFmpegLog(object sender, RoutedEventArgs e)
{
Windows.FFmpegLogWindow.ShowInst... | 1.697257 | 1838cd577a4dbd3adb3d1a0c1c287e32 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67221 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Octavio9052/Tamagotchi-8",
"max_stars_repo_path": "Code/Tamagotchi.SOAP/Helpers/DataValidations/DataAnnotation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67222"
} | starcoder | <reponame>Octavio9052/Tamagotchi-8<gh_stars>0
using Tamagotchi.Common.Models;
namespace Tamagotchi.SOAP.Helpers.DataValidations
{
public class DataAnnotation
{
public static EntityValidationResult ValidateEntity<T>(T entity) where T : BaseModel
{
return new EntityValidator<T>().Val... | 1.765519 | 22431e8b1aecb7cb59acbb0aad999e39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67222 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akkirilov/ProgrammingFundamentalsHomeworks",
"max_stars_repo_path": "01_ProgrammingFundamentals/Homeworks/06_Dictionaries-Exercises/07_Population Counter/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67223"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _07_Population_Counter
{
class Program
{
static void Main(string[] args)
{
Dictionary<string, Dictionary<string, long>> citiesPopulation = new Dictionary <s... | 3.427209 | 0464f45eb823d355281882c91620380f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67223 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eonHck/Z2Live",
"max_stars_repo_path": "Z2Live/Views/Home/_HomeLayout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67224"
} | starcoder | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/findstream.css" />
<script src="~/lib/jquery/dist/jquery.min.js"></script... | 1.651072 | 02fc21f281dc9ae6cd66b96b95b0d2b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67224 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bartosz-jarmuz/RepoCat",
"max_stars_repo_path": "tests/RepoCat.Tests/StampOrderingTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67225"
} | starcoder | <filename>tests/RepoCat.Tests/StampOrderingTests.cs
// -----------------------------------------------------------------------
// <copyright file="StampOrderingTests.cs" company="<EMAIL>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// -------------------------------------------------------------... | 2.757983 | c96512dd31d2fdd3c7cf56b82de9321f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67225 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "Talberon/solstandard",
"max_stars_repo_path": "SolStandard/Utility/Exceptions/ZeroOneRangeException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67226"
} | starcoder | <reponame>Talberon/solstandard
namespace SolStandard.Utility.Exceptions
{
public class ZeroOneRangeException : OutOfRangeException
{
public ZeroOneRangeException(float value) : base($"Value {value} must be between zero and one inclusive!")
{
}
public static void Assert(float val... | 2.617667 | e9e9752f7f59694dbef669ebac3a0ff7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67226 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RaghavendraSR06/stream-bms-data-reetika97",
"max_stars_repo_path": "Receiver/BMSReceiver/IBatteryProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67227"
} | starcoder | <filename>Receiver/BMSReceiver/IBatteryProcessor.cs
using System.Collections.Generic;
namespace BMSReceiver
{
public interface IBatteryProcessor
{
void CalculateMinimumAndMaximumValue(BatteryProperties battery);
void GetMovingAverageValue(List<BatteryProperties> propertiesValue);
}... | 2.245696 | 88c843f4d8d7d739869a7c0d2aeecbd2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67227 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "pbbadenhorst/Clay",
"max_stars_repo_path": "tests/SourceCode.Clay.AspNetCore.Middleware.Correlation.Tests/Mocks/MockCorrelationContextAccessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67228"
} | starcoder | namespace SourceCode.Clay.AspNetCore.Middleware.Correlation.Tests.Mocks
{
public class MockCorrelationContextAccessor : ICorrelationContextAccessor
{
public CorrelationContext CorrelationContext { get; set; }
}
}
| 1.376487 | ea6dce40e810c947ab5bab52cfe0c0b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67228 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexs0ff/spisker",
"max_stars_repo_path": "Server.Core/Server.Core.Social/Workflow/FindUsers/FindUsersResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67229"
} | starcoder | using System.Collections.Generic;
using Server.Core.Common.Messages;
using Server.Core.Social.Models;
namespace Server.Core.Social.Workflow.FindUsers
{
/// <summary>
/// Ответ по пользователям.
/// </summary>
public class FindUsersResponse:MessageOutputBase
{
/// <summary>
/// Спис... | 1.756448 | 415ac30a536bea8eadf3c34e66dc597e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67229 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TMarkov98/InsightHub",
"max_stars_repo_path": "InsightHub/InsightHub.Services/Mappers/UserMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67230"
} | starcoder | using InsightHub.Data.Entities;
using InsightHub.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace InsightHub.Services.Mappers
{
public class UserMapper
{
/// <summary>
/// Maps a User Model from an existing Entity
/// </summary>
/// <param na... | 2.425763 | 57129d786d1e7c5dfc33da9e9ac4896c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67230 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ejandrade96/API-catalogo-de-jogos-dio-dotnet",
"max_stars_repo_path": "DIO.CatalogoJogos.Api/Migracoes/_20211010172626_CriarTabelaJogo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67231"
} | starcoder | <reponame>ejandrade96/API-catalogo-de-jogos-dio-dotnet
using FluentMigrator;
namespace DIO.CatalogoJogos.Api.Migracoes
{
[Migration(20211010172626)]
public class _20211010172626_CriarTabelaJogo : Migration
{
public override void Up()
{
Create.Table("Jogos")
.WithColumn("Id").AsGuid().PrimaryK... | 1.592631 | 0f4387afd01e93e79d486450e605ff2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67231 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/textanalytics/Azure.AI.TextAnalytics/src/Generated/Models/HealthcareTaskResult.Serialization.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67232"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.AI.TextAnalytics.Models
{
internal partial class ... | 1.67887 | a9c81a3cf45c3fbef608de7fd50e5a64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67232 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "MattiasJakobsson/Akka.Persistence.Azure",
"max_stars_repo_path": "src/Akka.Persistence.Azure/Query/Publishers/CurrentEventsByPersistenceIdPublisher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67233"
} | starcoder | <reponame>MattiasJakobsson/Akka.Persistence.Azure
using Akka.Actor;
namespace Akka.Persistence.Azure.Query.Publishers
{
internal sealed class CurrentEventsByPersistenceIdPublisher : AbstractEventsByPersistenceIdPublisher
{
public CurrentEventsByPersistenceIdPublisher(string persistenceId, long fromSeq... | 1.982087 | 4e4ecced645825772b50d609f8a55062 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67233 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BenjaminAbt/samples.ASPNETMVC",
"max_stars_repo_path": "HtmlMinify/PerfTest/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67234"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace PerfTest
{
class Program
{
private static Regex RegExpressionWhiteSpaces;
private con... | 2.893341 | c8892ddd17ff9ab2f710750899778dea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67234 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Presentation/SmartStore.Web/Views/Product/Partials/CrossSellProducts.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:67235"
} | starcoder | @model ProductSummaryModel
@using SmartStore.Web.Models.Catalog;
@{
if (!Model.Items.Any())
{
return;
}
}
<div class="block block-boxed cross-sells">
<div class="block-title">
<h4>@T("ShoppingCart.CrossSells")</h4>
</div>
<div class="block-body pt-0">
<div class="artlist-carousel">
@{ Html... | 2.156895 | f7b93b9cca3662bec908a6b85b9d938d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67235 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "aliostad/deep-learning-lang-detection",
"max_stars_repo_path": "data/train/csharp/65c13802469ec373066736f569da24c9a496a283Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67236"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Trix
{
public static class Constants
{
public const int GRID_SIZE = 8;
public const int CHUNK_SIZE = 16;
public const int CHUNK_SIZE2 = CHUNK_SIZE * CHUNK_SIZE;
public const int CHUN... | 2.272602 | 1e22a801711d586f6e88bfa9a283ae6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67236 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leovonwyss/EventSourceProxy",
"max_stars_repo_path": "EventSourceProxy/JsonObjectSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67237"
} | starcoder | <reponame>leovonwyss/EventSourceProxy<gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
#if NUGET
using Microsoft.Diagnostics.Tracing;
#else
using System.Diagnostics.Tracing;
#endif
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.... | 2.470158 | 77b922e752f48869a702f421f20e0942 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67237 | {
"extension": "c-sharp",
"max_stars_count": "181.0",
"max_stars_repo_name": "charless072/IotDataStation",
"max_stars_repo_path": "src/iotDataStation/ExternalLibrary/Grapevine/Interfaces/Server/IHttpListenerContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67238"
} | starcoder | using System.Net;
using System.Security.Principal;
namespace Grapevine.Interfaces.Server
{
public interface IHttpListenerContext
{
/// <summary>
/// Gets the HttpListenerRequest that represents a client's request for a resource.
/// </summary>
HttpListenerRequest Request { get; ... | 2.379006 | ff2ed6392a0479b16b516962386832b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67238 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Metibor/ualbion",
"max_stars_repo_path": "src/Game/Assets/InventoryPostProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67239"
} | starcoder | <reponame>Metibor/ualbion<gh_stars>1-10
using System;
using UAlbion.Config;
using UAlbion.Core;
using UAlbion.Formats.Assets;
using UAlbion.Formats.Assets.Save;
namespace UAlbion.Game.Assets
{
public class InventoryPostProcessor : Component, IAssetPostProcessor
{
static void ResolveItemProxies(Invento... | 2.27993 | d60ac103fc218db692024eaf02331b83 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67239 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "juicer7444/CLST",
"max_stars_repo_path": "CampbellLoggerSetup/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67240"
} | starcoder | <filename>CampbellLoggerSetup/Program.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="Duke Energy">
// author: <NAME>
// </copyright>
// <summary>
// Defines the Program type.
// </summary>
// ------... | 2.522836 | c41acfec16a199fb26a791981a960b01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67240 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cjwang/Inflatable",
"max_stars_repo_path": "test/Inflatable.Tests/LinqExpression/QueryTranslator.ElementsBetween.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67241"
} | starcoder | <filename>test/Inflatable.Tests/LinqExpression/QueryTranslator.ElementsBetween.cs
using BigBook.Queryable;
using Inflatable.LinqExpression;
using Inflatable.Tests.BaseClasses;
using Inflatable.Tests.TestDatabases.SimpleTest;
using System.Linq;
using Xunit;
namespace Inflatable.Tests.LinqExpression
{
public partia... | 2.32465 | f697f022a1cd5d9a56932bd425b7a808 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67241 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterthomet/BioPuur",
"max_stars_repo_path": "nopCommerce 4.4/src/Libraries/Nop.Services/Blogs/BlogService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67242"
} | starcoder | <reponame>peterthomet/BioPuur
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Nop.Core;
using Nop.Core.Caching;
using Nop.Core.Domain.Blogs;
using Nop.Data;
using Nop.Services.Stores;
namespace Nop.Services.Blogs
{
/// <summary>
/// Blog service
/// <... | 2.166542 | e2c103bd9f9c2e0fe8d9b04d4e3ad772 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67242 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "q3blend/azure-sdk-for-net",
"max_stars_repo_path": "src/SDKs/DataBox/DataBox.Tests/Tests/ServiceOperationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67243"
} | starcoder | using System;
using DataBox.Tests.Helpers;
using Microsoft.Azure.Management.DataBox;
using Microsoft.Azure.Management.DataBox.Models;
using Xunit;
using Xunit.Abstractions;
namespace DataBox.Tests.Tests
{
public class ServiceOperationTests : DataBoxTestBase
{
public ServiceOperationTests(ITestOutputHe... | 2.232581 | 7e4a8ff0105c362c1ec00c0fd71c0e0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67243 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "stoiveyp/Alexa.NET.FluentResponse",
"max_stars_repo_path": "Alexa.NET.FluentResponse.Tests/DirectiveTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67244"
} | starcoder | <gh_stars>1-10
using System.Linq;
using Alexa.NET.Request;
using Alexa.NET.Response.Directive;
using Xunit;
namespace Alexa.NET.FluentResponse.Tests
{
public class DirectiveTests
{
[Fact]
public void AddDelegateDirective()
{
var result = Fluent.Builder().AddDelegateDirectiv... | 2.131479 | 75d302b07dd44078c7c3f3cdaa68ac4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67244 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "odingamesdev/GGJ-2022",
"max_stars_repo_path": "Assets/Source/Scripts/Game/Configs/GameConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67245"
} | starcoder | using System;
using UnityEngine;
namespace GGJ2022.Source.Scripts.Game.Configs
{
[Serializable]
public class GameConfig
{
public int PlayersToStartGame = 4;
public GameObject PlayerPrefab;
public GameObject BulletPrefab;
public bool IsEnemyHeal;
public bool FriendlyF... | 1.633351 | 40de0d6dcb0c584efcbb9fc57f5a91de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67245 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RazorSites/ManagementSystem",
"max_stars_repo_path": "ManagementSystem/ManagementSystem.Web/Data/Allowance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67246"
} | starcoder | <reponame>RazorSites/ManagementSystem
using System;
using System.Collections.Generic;
namespace ManagementSystem.Web.Data
{
public class Allowance
{
public Guid Id { get; set; }
public string Name { get; set; }
public decimal Amount { get; set; }
public ICollection<AllowanceSa... | 1.828731 | 63cbf4dfd2658f947dc2a6389a14eca8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67246 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonreimer/Praetorium",
"max_stars_repo_path": "Source/Praetorium/Threading/DefaultThreadPool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67247"
} | starcoder | using System;
using System.Threading;
namespace Praetorium.Threading
{
public class DefaultThreadPool : IThreadPool
{
public bool SupportsCancel
{
get { return true; }
}
public IWorkItem Queue(Action action)
{
Ensure.ArgumentNotN... | 2.776015 | 0af27455dc4a5cb4c7576b69452a19f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67247 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cazzar/VocaDbTagger",
"max_stars_repo_path": "VocaDbModel/Domain/Albums/AlbumPictureFile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67248"
} | starcoder | using VocaDb.Model.Domain.Users;
namespace VocaDb.Model.Domain.Albums {
public class AlbumPictureFile : EntryPictureFile {
private Album album;
public AlbumPictureFile() { }
public AlbumPictureFile(string name, string mime, User author, Album album)
: base(name, mime, author) {
this.album = album;
... | 2.644109 | f87d884222f0cd6cf50a2536767220b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67248 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "AxelMarquez/Ed-Fi-ODS",
"max_stars_repo_path": "Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/Requests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67249"
} | starcoder | // SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System;
using System.Collections.Generic;
u... | 1.770015 | 7f216f0035f8607593e3e624bba7d708 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67249 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "vslee/SwordfishCollections",
"max_stars_repo_path": "ExamplesAndTests/DGGroupSortFilterExampleConcurrent/ViewModels/DataGridTestViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67250"
} | starcoder | using Swordfish.NET.Collections;
using Swordfish.NET.Collections.Auxiliary;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Media.Animation;
namespace DGGroupSortFilte... | 2.864063 | 3590bec2538a4f7ececd3835744c432e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "charliedavenport/Athens-Parking-Meters",
"max_stars_repo_path": "Assets/PowerUI/Source/Blaze/Transform/VectorPoint.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67251"
} | starcoder | using System;
using UnityEngine;
namespace Blaze{
public partial class VectorPoint{
public virtual void Transform(Matrix4x4 by){
// Transform x/y:
Vector3 transformed=by*new Vector3(X,Y,0f);
X=transformed.x;
Y=transformed.y;
}
}
} | 2.152987 | acbb4c50166709f9502722c2cd67778f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67251 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "xamarin/web-tests",
"max_stars_repo_path": "Xamarin.WebTests.Framework/Xamarin.WebTests.HttpFramework/HttpResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67252"
} | starcoder | //
// HttpResponse.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2014 Xamarin Inc. (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without res... | 1.838624 | f9b2dbffbd039973a9d3658cf57d428d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67252 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidwengier/DemoCode",
"max_stars_repo_path": "Drums/VDrumExplorer.Data/Fields/EnumField.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67253"
} | starcoder | // Copyright 2019 <NAME>. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System.Collections.Generic;
namespace VDrumExplorer.Data.Fields
{
public class EnumField : NumericFieldBase
{
public IReadOnlyList<string> Values... | 2.453554 | 1fc736849f2e5c6c1494f1261bef90ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67253 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "PeterSnijders/TLCGen",
"max_stars_repo_path": "TLCGen.Dependencies/TLCGen.Dependencies/Messaging/Requests/IsFasenConflictingRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67254"
} | starcoder | <filename>TLCGen.Dependencies/TLCGen.Dependencies/Messaging/Requests/IsFasenConflictingRequest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TLCGen.Messaging.Requests
{
public class IsFasenConflictingRequest
{
public bo... | 2.391267 | 93537544f12ab5bb0156c34437ffe4ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67254 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WalterAHulsebos/Pockets",
"max_stars_repo_path": "Assets/Aura 2/System/Code/Classes/FrustumSettingsToId.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67255"
} | starcoder | <reponame>WalterAHulsebos/Pockets
/***************************************************************************
* *
* Copyright (c) <NAME> (@RaphErnaelsten) *
* All Rights Reserved. ... | 2.387582 | deacad554369f686aaa84d99828a20ad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67255 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-2021-PeriodEnd-ReportService",
"max_stars_repo_path": "src/ESFA.DC.PeriodEnd.ReportService.Reports.Tests/CollectionStats/CollectionStatsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67256"
} | starcoder | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using ESFA.DC.FileService.Interface;
using ESFA.DC.PeriodEnd.ReportService.Reports.ActCount;
using ESFA.DC.PeriodEnd.ReportService.Reports.Interface;
using ESFA.DC.PeriodEnd.ReportService.Reports.Interface.CollectionStats;
using ESFA.... | 1.80621 | 95c4967b9f2f476dc32ce88561f3d678 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67256 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "noobwu/AspNetCoreSample",
"max_stars_repo_path": "src/SDK/Aliyun/RocketMQ/Aliyun.RocketMQSample.NETCore/SDK/MessageQueueONS.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67257"
} | starcoder | // ***********************************************************************
// Assembly : Aliyun.RocketMQSample.NETCore
// Author : Administrator
// Created : 2020-02-28
//
// Last Modified By : Administrator
// Last Modified On : 2020-02-28
// *************************************************... | 2.171669 | df6969038d89ebe68e0da5bee377ec53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67257 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "berkayozturkk/NorthwindProject",
"max_stars_repo_path": "SfsMvcDemo.DataAcces/Abstract/ICrudOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67258"
} | starcoder | <filename>SfsMvcDemo.DataAcces/Abstract/ICrudOperation.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SfsMvcDemo.DataAcces.Abstract
{
internal interface ICrudOperation<T>
{
List<T> GetAll();
void Add(T... | 2.163887 | 2b0ddeda1a336395b1e6c92af8982eac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67258 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "mfschumann/Latex4CorelDraw",
"max_stars_repo_path": "OptionsDialog.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67259"
} | starcoder | namespace Latex4CorelDraw
{
partial class OptionsDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.950468 | 87ef1c495efbe3532e3378211639d434 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67259 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zzf/ShaderProgramProj",
"max_stars_repo_path": "Assets/Runtime_Transform_Gizmos/Scripts/Editor Object Selection/Object Selection Rendering/Object Selection Box/SelectionBoxObjectSelectionRenderer.cs",
"provenance": "train-00000-of-000... | starcoder | using UnityEngine;
using System.Collections.Generic;
namespace RTEditor
{
/// <summary>
/// This class implements the object selection rendering mechanism by rendering
/// a selection box for each selected game object.
/// </summary>
public class SelectionBoxObjectSelectionRenderer : ObjectSelecti... | 2.685862 | 733a2f04f47279c5404c57f4ebfec2c5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 67260 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kpalosaa/gwen-net-lua",
"max_stars_repo_path": "Library/Portable/Control/FlowLayout.cs",
"provenance": "train-00000-of-00045.jsonl.gz:67261"
} | starcoder | using System;
using MoonSharp.Interpreter;
namespace GwenNetLua.Control
{
class FlowLayout : Internal.ControlBase
{
public static FlowLayout Create(Internal.ControlBase parent)
{
return new FlowLayout(new Gwen.Control.Layout.FlowLayout(parent.Target));
}
[MoonSharpHidden]
public static FlowLayout Crea... | 1.977018 | 09734e5a5c7101f53c14065218bbe33c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.