added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816918 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zDany01/MCToolPlus",
"max_stars_repo_path": "MCToolPlus/SharedCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136138"
} | starcoder | <reponame>zDany01/MCToolPlus<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MCToolPlus.Forms;
using System.IO;
namespace MCToolPlus
{
static class SharedCode
{
public static void OpenForm... | 2.623096 | 3729df237fc0a3e0eb3ee567d05fbfd1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816919 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kemmot/ConsoleLauncher",
"max_stars_repo_path": "src/ConsoleLauncher/FileSystemMenuInput.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136139"
} | starcoder | namespace ConsoleLauncher
{
using System.Collections.Generic;
using System.IO;
public class FileSystemMenuInput : IMenuInput
{
public List<string> SearchPatterns { get; } = new List<string>();
public List<string> Paths { get; } = new List<string>();
public List<MenuItem> GetI... | 3.071385 | 3a6db69e1662cb9dfb3a98e18ccc1143 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dtwk1/Contracts",
"max_stars_repo_path": "IFileObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136140"
} | starcoder |
namespace Contracts
{
public interface IFileObject
{
object FileObject { get; set; }
}
}
| 1.788054 | 8c958bf7304dede1069858ed754201ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhk0603/ModbusTool",
"max_stars_repo_path": "ModbusLib/Protocols/Modbus/ModbusServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136141"
} | starcoder | <filename>ModbusLib/Protocols/Modbus/ModbusServer.cs
/*
* Copyright 2012 <NAME> (http://cetdevelop.codeplex.com/)
*
* 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.a... | 2.342812 | ef4331042daf4d9841c36f7410fcbbaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816922 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "laosandegudai/orleans-event-sourcing",
"max_stars_repo_path": "src/EventSourcingGrains/Stream/IAggregateStreamDispatcherGrain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136142"
} | starcoder | <reponame>laosandegudai/orleans-event-sourcing
using System.Threading.Tasks;
using EventSourcing.Persistance;
using Orleans;
using Orleans.Concurrency;
namespace EventSourcingGrains.Stream
{
public interface IAggregateStreamDispatcherGrain : IGrainWithStringKey
{
// Notify aggregate stream dispatcher g... | 1.590412 | b224892a962a76ffc1ef779b2dd1d8b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816923 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msotiroff/Online-Store",
"max_stars_repo_path": "src/MSToolKit.Core/Mapping/AutoMapping/Profiles/DefaultProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136143"
} | starcoder | <filename>src/MSToolKit.Core/Mapping/AutoMapping/Profiles/DefaultProfile.cs
namespace MSToolKit.Core.Mapping.AutoMapping.Profiles
{
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// The default implementation of AutoMapper.Profile.
/// <... | 2.899117 | 3ddaa8e7e921d46219875c10d5416c2a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816924 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "georgievGV/lvl1",
"max_stars_repo_path": "C# Advanced/C# Advanced Exam - 24 Feb 2019/01. Club Party/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136144"
} | starcoder | <filename>C# Advanced/C# Advanced Exam - 24 Feb 2019/01. Club Party/Program.cs
using System;
using System.Collections.Generic;
namespace Club_Party
{
class Program
{
static void Main(string[] args)
{
int maxCapacity = int.Parse(Console.ReadLine());
string[] input = Cons... | 3.579815 | 4a799ce00479ca5b7a4dfdf92c2aca13 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816925 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dumbgamedev/gamecreator",
"max_stars_repo_path": "GameCreatorCharacterCanRun.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136145"
} | starcoder | using UnityEngine;
using System.Collections;
using GameCreator.Characters;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("Game Creator")]
[Tooltip("Set character to to true or false")]
public class GameCreatorCharacteCanRun : FsmStateAction
{
[RequiredField]
[Chec... | 2.270425 | e8ea3018e6fdfcdf3a2004ac21862fcc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gellios3/FateSimulator",
"max_stars_repo_path": "Assets/Scripts/Serializable/Cards/BaseCard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136146"
} | starcoder | <filename>Assets/Scripts/Serializable/Cards/BaseCard.cs
using System;
using System.Collections.Generic;
using Enums;
using Interfaces.Aspects;
using Interfaces.Cards;
using ScriptableObjects;
using ScriptableObjects.Aspects;
using UnityEngine;
namespace Serializable.Cards
{
[Serializable]
public class BaseCar... | 2.157036 | 00dda277a4a657d4d8b90b64694d2c99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarcMasVidal/CatsAlley",
"max_stars_repo_path": "Assets/Scripts/Pause.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136147"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pause : MonoBehaviour
{
public MenuPanel pause;
public GameObject vol;
private void Update()
{
if (Input.GetKeyDown(KeyCode.Escape))
{
if (Time.timeScale == 0)
UnPaus... | 2.294537 | a92aa05fb5622f0757742f8f2d4f8407 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816928 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "FDYdarmstadt/BoSSS",
"max_stars_repo_path": "src/L2-foundation/BoSSS.Foundation.XDG/MultiphaseAgglomerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136148"
} | starcoder | /* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... | 1.796009 | e8feb7379cda8f84f78f35d90ba16274 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pncolvr/PokeDetectWS",
"max_stars_repo_path": "PokeGPSModel/Model/NearbyModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136149"
} | starcoder | using System.Xml.Serialization;
namespace PokeGPSModel.Model
{
[XmlRoot("NearbyModel")]
public class NearbyModel
{
/// <summary>
/// The gyms
/// </summary>
/// <value>
/// The gyms.
/// </value>
[XmlElement(typeof (Gym[]))]
public Gym[] Gyms... | 2.280777 | e82e50b912a6f08e093833b84099bdfe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816930 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aliakbo/GameOverlay.Net",
"max_stars_repo_path": "Example/GameOverlayExample/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136150"
} | starcoder | <reponame>aliakbo/GameOverlay.Net<gh_stars>0
using System;
namespace GameOverlayExample
{
public static class Program
{
public static void Main(string[] args)
{
Console.WriteLine("GameOverlay.Net - Test");
Console.WriteLine();
Console.WriteLine("Author: " ... | 2.814254 | 83bc94e484dc014767a575697d033c48 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816931 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "njimenez/akka.net",
"max_stars_repo_path": "src/contrib/cluster/Akka.Cluster.Metrics.Tests/Helpers/MetricsCollectorMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136151"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="MetricsCollectorMock.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyri... | 1.92626 | 3a5830ec197ac6948f2230ec1bca0c23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816932 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "piotr-kalanski/Resource-Orchestration-Service-Cloud-Development-Kit",
"max_stars_repo_path": "multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Fc/AlibabaCloud/SDK/ROS/CDK/Fc/IRosAliasProps.cs",
"provenance": "train-00027-of-00045.j... | starcoder | <gh_stars>10-100
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace AlibabaCloud.SDK.ROS.CDK.Fc
{
/// <summary>Properties for defining a `ALIYUN::FC::Alias`.</summary>
[JsiiInterface(nativeType: typeof(IRosAliasProps), fullyQualifiedName: "@alicloud/ros-cdk-fc.RosAliasPro... | 1.651503 | 1a9ab29c120a349f89aabb6541bac239 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816933 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tcondie/reef",
"max_stars_repo_path": "lang/cs/Org.Apache.REEF.Wake/RX/Impl/RxThreadPoolStage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136153"
} | starcoder | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); yo... | 2.091579 | 0f0c6b3805c182be3f36688f532a4c5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816934 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "RadicalFx/Radical",
"max_stars_repo_path": "src/Radical.Tests/Extensions/Test Model/Address.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136154"
} | starcoder | namespace Radical.Tests.Extensions
{
class Address
{
public string Street { get; set; }
}
}
| 1.699928 | d125a39e9349ace432f3154fe0798ce3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816935 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mnichols/ditto",
"max_stars_repo_path": "src/app/Ditto/Internal/IBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136155"
} | starcoder | namespace Ditto.Internal
{
public interface IBinder
{
void Bind(BindableConfiguration bindableConfiguration, params ICreateExecutableMapping[] configurations);
}
} | 1.136143 | 56107c69c1c4fa549581d6c0e7c653c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HEskandari/Verify",
"max_stars_repo_path": "src/Verify/VerifySettingsEx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136156"
} | starcoder | <filename>src/Verify/VerifySettingsEx.cs
using VerifyTests;
static class VerifySettingsEx
{
public static VerifySettings OrDefault(this VerifySettings? settings)
{
if (settings == null)
{
return VerifySettings.Default;
}
return settings;
}
} | 2.087316 | acab6d461f3ac0aaa33976a72fbe647d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816937 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "cwickham3/azure-sdk-for-net",
"max_stars_repo_path": "src/ServiceManagement/HDInsight/Microsoft.Hadoop.Avro/AvroSerializerSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136157"
} | starcoder | <reponame>cwickham3/azure-sdk-for-net<filename>src/ServiceManagement/HDInsight/Microsoft.Hadoop.Avro/AvroSerializerSettings.cs<gh_stars>10-100
// 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 com... | 2.122564 | d4672ef4b78ef74ffc8b476b7581e5c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bstordrup/CoreWCF",
"max_stars_repo_path": "src/CoreWCF.Primitives/src/CoreWCF/Security/WSSecurityTokenSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136158"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Xml;
using CoreWCF.IdentityModel;
using CoreWCF.IdentityModel.Selectors;
using CoreWCF.Iden... | 1.690074 | 33878f07d74e69d4cd118d9e83e9322c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816939 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Kevin163/Payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZolozAuthenticationCustomerFtokenQueryModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136159"
} | starcoder | <filename>src/Essensoft.AspNetCore.Payment.Alipay/Domain/ZolozAuthenticationCustomerFtokenQueryModel.cs
using System;
using System.Xml.Serialization;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// ZolozAuthenticationCustomerFtokenQueryModel Data Structure.
/... | 1.597393 | f262254ccd771218f158860c114d8aa6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FlukeFan/MvcForms",
"max_stars_repo_path": "MvcForms.StubApp/Views/Home/Testing.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136160"
} | starcoder | @using MvcForms.Navigation
@using MvcForms.StubApp.Controllers
@using MvcForms.StubApp.Views
@inherits PjaxPage<object>
@{
SetLayout("Testing");
}
<h3>Testing links</h3>
<section>
<ul class="buttonList">
<li>@Html.LinkButton(Html.Raw("<h4>Forms</h4>"), FormsActions.Index()).NoStyle()</li>
... | 1.530132 | 839260976fbdbf7f79c50654b7a2337b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816941 | {
"extension": "c-sharp",
"max_stars_count": "239.0",
"max_stars_repo_name": "Vanishedphreeze/bepuphysics1int",
"max_stars_repo_path": "BEPUphysics/Constraints/Solver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136161"
} | starcoder | <filename>BEPUphysics/Constraints/Solver.cs<gh_stars>100-1000
using System;
using BEPUphysics.DeactivationManagement;
using BEPUutilities;
using BEPUutilities.DataStructures;
using BEPUutilities.Threading;
namespace BEPUphysics.Constraints
{
///<summary>
/// Iteratively solves solver updateables, con... | 2.718555 | 65a0977c88e101e57ce675c8bf4d7ed8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816942 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "smellyriver/tank-inspector-pro",
"max_stars_repo_path": "src/Smellyriver.TankInspector.Pro.Graphics/Frameworks/IInteractiveDirect3D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136162"
} | starcoder | using System.Windows;
using System.Windows.Input;
namespace Smellyriver.TankInspector.Pro.Graphics.Frameworks
{
/// <summary>
/// A IDirect3D context which handles input event as well
/// </summary>
public interface IInteractiveDirect3D : IDirect3D
{
void OnMouseDown(UIElement ui, MouseBu... | 1.844373 | 8c450e46a744efd08fb709b1de1cd554 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brunobalmeida/nPuzzle",
"max_stars_repo_path": "nPuzzle/nPuzzle/Puzzle.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136163"
} | starcoder | namespace nPuzzle
{
partial class Puzzle
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... | 2.277334 | ac5272895d04bed5dafcb7c2b25aae19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816944 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tom-auger/nsec",
"max_stars_repo_path": "src/Cryptography/Sha256.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136164"
} | starcoder | using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading;
using static Interop.Libsodium;
namespace NSec.Cryptography
{
//
// SHA-256
//
// FIPS Secure Hash Algorithm (SHA) with a 256-bit message digest
//
// References:
//
// RFC... | 2.335781 | f4a4c38e9f196eb41f52701f9b93c7e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816945 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ertant/DayViewCalendar",
"max_stars_repo_path": "Src/DayView/Office12Renderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136165"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Text;
namespace Calendar
{
public class Office12Renderer : AbstractRenderer
{
protected override void Dispose(bool mainThread)
{
... | 2.633703 | 50c9a494faf1d0ff3f6eddb0349f3012 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816946 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DPLSSE/TestingBasics",
"max_stars_repo_path": "TestingBasics/DesigningTests/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136166"
} | starcoder | using System;
using System.Collections.Generic;
namespace DesigningTests
{
class Program
{
private const int MaxBaseSalary = 0;
private static Dictionary<int, Employee> _employees = new Dictionary<int, Employee>();
static void Main(string[] args)
{
... | 3.361851 | 0bbe162438d0e8e1e238399250e589bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816947 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "airbreather/RandomFireplace",
"max_stars_repo_path": "External/Rx/Rx.NET/Source/Tests.System.Reactive/Tests/RogueEnumerable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136167"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
namespace ReactiveTests.Tests
{
class RogueEnumerable<T> : IEnumerable<T>
{
private readonly Exception _ex;
pub... | 2.21936 | 2f20a5dce241af5b016c1fab11299dd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816948 | {
"extension": "c-sharp",
"max_stars_count": "16061.0",
"max_stars_repo_name": "abod1944/maui",
"max_stars_repo_path": "src/Compatibility/Core/src/iOS/Extensions/LayoutExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136168"
} | starcoder | <reponame>abod1944/maui<filename>src/Compatibility/Core/src/iOS/Extensions/LayoutExtensions.cs
using System.Collections.Generic;
using CoreGraphics;
#if __MOBILE__
using ObjCRuntime;
using UIKit;
using Microsoft.Maui.Controls.Compatibility.Platform.iOS;
namespace Microsoft.Maui.Controls.Compatibility.Platform.iOS
#else... | 2.020897 | da2e6cff3d69d13afcdc7a9ba8370030 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816949 | {
"extension": "c-sharp",
"max_stars_count": "55.0",
"max_stars_repo_name": "Tape-Worm/Gorgon",
"max_stars_repo_path": "Gorgon/Gorgon.Graphics.Core/Targets/GorgonRenderTargetView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136169"
} | starcoder | <filename>Gorgon/Gorgon.Graphics.Core/Targets/GorgonRenderTargetView.cs<gh_stars>10-100
#region MIT
//
// Gorgon.
// Copyright (C) 2018 <NAME>
//
// 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 ... | 2.409763 | 2d9a7ab0e41870be936cc94c9a1cf0dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816950 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "luzhang2016/meeting",
"max_stars_repo_path": "meeting/Meeting.Admin/Models/SystemLogInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136170"
} | starcoder | <reponame>luzhang2016/meeting
using System.Runtime.Serialization;
namespace Meeting.Admin.Models
{
/// <summary>
/// 系统日志数据信息
/// </summary>
[DataContract]
public class SystemLogInfo
{
/// <summary>
/// _id
/// </summary>
[IgnoreDataMember]
public MongoDB.Bson.ObjectId _id { get; set; ... | 1.476799 | 385333853d7c68a4c575f0e0eb40ff90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816951 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NikolaySavenko/bignum-wizard",
"max_stars_repo_path": "BigNumWizardApp/BigNumWizardShared/BigNum/BigNum.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136171"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
namespace BigNumWizardShared
{
[DebuggerDisplay("{" + nameof(GetDebuggerDisplay) + "(),nq}")]
public partial class BigNum : IEnumerable<byte>, IComparable, IEquatable<BigNum>
{
private List<byte> number;
public... | 3.147739 | 9308164796af0a24bfb83b8235f4d2d1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816952 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "prefrontalcortex/unity.webp",
"max_stars_repo_path": "unity_project/Assets/unity.webp/Runtime/Interop/WebPData.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136172"
} | starcoder | <gh_stars>1-10
using System;
namespace unity.libwebp.Interop
{
public unsafe partial struct WebPData
{
[NativeTypeName("const uint8_t *")]
public byte* bytes;
[NativeTypeName("size_t")]
public UIntPtr size;
}
}
| 1.340201 | fb986b9cbdd476847db2ce5f3efcce25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816953 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NathanClouseAX/AAXDataEntityPerfTest",
"max_stars_repo_path": "Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/RetailTransactionSupplementaryInvoice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136173"
} | starcoder | <filename>Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/RetailTransactionSupplementaryInvoice.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes ... | 2.029603 | 05c5bab66c58ede97147b941f9aed84c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816954 | {
"extension": "c-sharp",
"max_stars_count": "305.0",
"max_stars_repo_name": "ian-hamlin/CrossChat-Xamarin.Forms",
"max_stars_repo_path": "Shared/Crosschat.Server.Application.DataTransferObjects/Requests/BanRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136174"
} | starcoder | <filename>Shared/Crosschat.Server.Application.DataTransferObjects/Requests/BanRequest.cs<gh_stars>100-1000
using Crosschat.Server.Application.DataTransferObjects.Enums;
namespace Crosschat.Server.Application.DataTransferObjects.Requests
{
public class BanRequest : RequestBase
{
/// <summary>
/... | 2.231656 | 24069591b7a97ccd6eeaf14f2416e911 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816955 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JohanSmarius/TeamManagement2021",
"max_stars_repo_path": "Portal/Views/Home/NewGame.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136175"
} | starcoder | <filename>Portal/Views/Home/NewGame.cshtml<gh_stars>1-10
@model NewGameViewModel
<div>
<div asp-validation-summary="All"></div>
<div>
<form asp-action="NewGame" method="post">
<div class="form-group">
<label asp-for="PlayTime">Voer de speeldatum in:</label>
... | 2.32144 | 47fd5daf9e12eea683f7042b2fdd8312 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816956 | {
"extension": "c-sharp",
"max_stars_count": "444.0",
"max_stars_repo_name": "YevgeniyShunevych/Atata",
"max_stars_repo_path": "src/Atata/Extensions/WaitByExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136176"
} | starcoder | <filename>src/Atata/Extensions/WaitByExtensions.cs
using OpenQA.Selenium;
namespace Atata
{
public static class WaitByExtensions
{
public static By GetBy(this WaitBy waitBy, string selector)
{
switch (waitBy)
{
case WaitBy.Id:
... | 2.76047 | d9910e62905c6fa58f74664c79725159 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816957 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cuteant/MessagePack-Span-Fork",
"max_stars_repo_path": "src/Standalone.MessagePack/Internal/TypeConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136177"
} | starcoder | <filename>src/Standalone.MessagePack/Internal/TypeConstants.cs
namespace MessagePack.Internal
{
using System;
using System.Collections.Generic;
internal static class TypeConstants
{
/// <summary>类型</summary>
public static readonly Type TypeType = typeof(Type);
/// <summary>值类型... | 2.210362 | 7d562c0b5975904c9111c182fa2049ef |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816958 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tripathi-gaurav/AttackSurfaceAnalyzer",
"max_stars_repo_path": "LogicalAnalyzer/LogicalAnalyzer/Rule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136178"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.
using System;
using System.Collections.Generic;
namespace Microsoft.CST.LogicalAnalyzer
{
public class Rule
{
public Rule(string Name)
{
this.Name = Name;
}
public List<Cla... | 1.957381 | 3e80804b5e0b445a2240589f64f61fde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jackwakefield/BinarySerializer",
"max_stars_repo_path": "BinaryDataSerializer.Test/Misc/BindingTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136179"
} | starcoder | <filename>BinaryDataSerializer.Test/Misc/BindingTests.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BinaryDataSerialization.Test.Misc
{
[TestClass]
public class BindingTests : TestBase
{
[TestMethod]
public void InvalidForwardBindingTest()
{
#if TES... | 1.591537 | a0c7e94391d5399a048e0b925f42bb4b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816960 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Influx-Davin/ring-engine",
"max_stars_repo_path": "Assets/Scripts/SnowBoardStart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136180"
} | starcoder | using UnityEngine;
[RequireComponent(typeof(AudioSource))]
public class SnowBoardStart : GenerationsObject
{
public bool canCancelState = false;
public GameObject snowboard;
public AudioClip boardGet;
private AudioSource audioSource;
private void Start()
{
audioSource = GetComponent<A... | 1.853356 | ab619d91a858b1b7b06bd41c32e85662 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816961 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "d-franklin/BlazeDSP",
"max_stars_repo_path": "Frontends/Frontend/Views/Account/Authenticator.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136181"
} | starcoder | @model Frontend.Models.AuthenticatorViewModel
@{
ViewBag.Title = "Authenticator";
}
<div class="content">
@using (Html.BeginForm("Authenticator", "Account", new { ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "login-form", role = "form" }))
{
@Html.AntiForgeryToken()
@Html.Partial(... | 2.084563 | b8568ee3701297bdd6659df2f06ead62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816962 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ITHedgeHog/WorkerService.Testing",
"max_stars_repo_path": "WorkerService.Testing.IntegrationTests/BusServiceInvoker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136182"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
namespace WorkerService.Testing.IntegrationTests
{
public class BusServiceInvoker<TRequest, TResponse> : IBusServiceInvoker<TRequest, TResponse>
{
private readonly string _operationName;
public BusServiceInvoker(string operationName)
... | 2.363559 | 3cdcba45c29211d9c665b55735b77399 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kev-miles/TwinStickShooter_R",
"max_stars_repo_path": "Assets/Scripts/GameEvents/Player/PlayerDeathEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136183"
} | starcoder | using GameplayElements.User;
namespace GameEvents.Player
{
public class PlayerDeathEvent : GameEvent
{
public PlayerDeathEvent(int score)
{
name = EventNames.PlayerKilled;
parameters["FinalScore"] = score.ToString();
}
}
} | 2.222764 | 008382954602b03b08f849b13390e668 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgeF0/FTX.Net",
"max_stars_repo_path": "FTX.Net/Objects/Models/FTXTriggerOrderTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136184"
} | starcoder | <reponame>GeorgeF0/FTX.Net<gh_stars>0
using System;
using Newtonsoft.Json;
namespace FTX.Net.Objects.Models
{
/// <summary>
/// Trigger info
/// </summary>
public class FTXTriggerOrderTrigger
{
/// <summary>
/// Timestamp
/// </summary>
[JsonProperty("time")]
... | 1.949203 | 9ed98e8562150de76cd14acb3db08368 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816965 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "afonsoft/FileShare",
"max_stars_repo_path": "FileShare/Models/LoginModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136185"
} | starcoder | <reponame>afonsoft/FileShare
using System.ComponentModel.DataAnnotations;
namespace FileShare.Models
{
public class LoginModel
{
public int Id { get; set; }
[Display(Name = "E-Mail")]
[Required(ErrorMessage = "*", AllowEmptyStrings = false)]
[EmailAddress]
public strin... | 2.146365 | 13a0166703d1621a174614ffb1d7a656 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816966 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "goldenauge/framework",
"max_stars_repo_path": "Signum.Upgrade/Upgrades/Upgrade_20220223_fetchEntities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136186"
} | starcoder | using Signum.Utilities;
namespace Signum.Upgrade.Upgrades;
class Upgrade_20220223_fetchEntities : CodeUpgradeBase
{
public override string Description => "Replaces fetchLitesWithFilters to fetchLites";
public override void Execute(UpgradeContext uctx)
{
uctx.ForeachCodeFile(@"*.tsx, *.ts", file =... | 2.197178 | 19b140400cd62da7ae5eddebeaa61a23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816967 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EmORz/Simple_Example_Projects",
"max_stars_repo_path": "UnravelTravel-master/src/Tests/UnravelTravel.Services.Data.Tests/ReservationsServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136187"
} | starcoder | <reponame>EmORz/Simple_Example_Projects<gh_stars>1-10
namespace UnravelTravel.Services.Data.Tests
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using UnravelTravel.Data.Models;
using UnravelTravel.Models.InputModels.Reservations... | 2.25131 | 41ab39f0922c67ce739a019ffd3f5eec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816968 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "fanlanweiy/luban_examples",
"max_stars_repo_path": "Projects/Csharp_CustomTemplate_EncryptMemory/Gen/role/LevelExpAttr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136188"
} | starcoder |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--------------------------------------------... | 1.692545 | cc82b7c50f579a3057a1bd96df43fcde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816969 | {
"extension": "c-sharp",
"max_stars_count": "118.0",
"max_stars_repo_name": "bernd5/CS2X",
"max_stars_repo_path": "PortableTestApp/Test/Operators.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136189"
} | starcoder | <filename>PortableTestApp/Test/Operators.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace PortableTestApp.Test
{
class Operators
{
struct Vec2
{
public float x, y;
public Vec2(float x, float y)
{
this.x = x;
this.y = y;
}
public static Vec2 operator +(Vec2... | 3.105016 | 4c5554d6c37f9a250b673d900e9197a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CIPop/azure-amqp",
"max_stars_repo_path": "Microsoft.Azure.Amqp/Amqp/SettleMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136190"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Amqp
{
public enum SettleMode : byte
{
SettleOnSend,
SettleOnReceive,
SettleOnDispose
}
}
| 1.000322 | 7f65fe7525f2297954147d19f7f5f903 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816971 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "antosubash/eShopOnAbp",
"max_stars_repo_path": "services/basket/src/EShopOnAbp.BasketService.Application.Contracts/IBasketAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136191"
} | starcoder | using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
namespace EShopOnAbp.BasketService;
public interface IBasketAppService : IApplicationService
{
Task<BasketDto> GetAsync(Guid? anonymousUserId);
Task<BasketDto> AddProductAsync(AddProductDto input);
Task<BasketDto> RemoveProd... | 1.618239 | 9bc7634bf792e283a739b20aa9a8d797 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olmelabs/LogAggregator",
"max_stars_repo_path": "OlmeLabs.LogAggregator/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136192"
} | starcoder | <reponame>olmelabs/LogAggregator<filename>OlmeLabs.LogAggregator/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml
@model OlmeLabs.LogAggregator.Areas.HelpPage.SampleGeneration.ImageSample
<img src="@Model.Src" /> | 1.509576 | 0213a2ca6bf0ac7cf0a9811b3c7a1fc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816973 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "acakebread/Hawksbill",
"max_stars_repo_path": "Runtime/Scripts/Configurator/Selectable/Extensions/ConfiguratorColliders.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136193"
} | starcoder | // Copyright (MIT LICENSE) 2021 HAWKSBILL (https://www.hawksbill.com). created 30/08/2021 17:20:48 by seantcooper
using System.Linq;
using UnityEngine;
namespace Hawksbill.Configurator
{
///<summary>Put text here to describe the Class</summary>
[AddComponentMenu ("")]
// [RequireComponent (typeof (Configur... | 2.188666 | 9e0a2764e1672eac902b70a66195d040 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816974 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "TGEnigma/Cethleann",
"max_stars_repo_path": "Cethleann.Structure/Pack/ElixirHeader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136194"
} | starcoder | <reponame>TGEnigma/Cethleann
namespace Cethleann.Structure.Pack
{
public struct ElixirHeader
{
public DataType Magic { get; set; }
public int BlockSize { get; set; }
public int Size { get; set; }
public int HeaderSize { get; set; }
public int TableSize { get; set; }
... | 1.547171 | 17a3a302061f6b01f4e7ce90f7b763ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816975 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Terricide/Theraot",
"max_stars_repo_path": "Framework.Core/System/Text/StringBuilderTheraotExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136195"
} | starcoder | #if LESSTHAN_NET40
#pragma warning disable CA2201 // Do not raise reserved exception types
#pragma warning disable S112 // General exceptions should never be thrown
using System.Runtime.CompilerServices;
namespace System.Text
{
public static class StringBuilderTheraotExtensions
{
[MethodImpl(MethodI... | 2.202603 | 1a6759ad637e7f262b36304b05b447d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816976 | {
"extension": "c-sharp",
"max_stars_count": "374.0",
"max_stars_repo_name": "gumtreehill/TheIdServer",
"max_stars_repo_path": "src/Aguacongas.TheIdServer.Authentication/SchemeDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136196"
} | starcoder | <gh_stars>100-1000
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2021 @<NAME>
using Aguacongas.AspNetCore.Authentication;
namespace Aguacongas.TheIdServer.Authentication
{
public class SchemeDefinition : SchemeDefinitionBase
{
}
}
| 1.121618 | 61791d265cce9d484286260176ef2df2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816977 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "John-Cassidy/AspNetCoreSpa",
"max_stars_repo_path": "src/Presentation/Web/Controllers/EmployeesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136197"
} | starcoder | <gh_stars>0
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;
using AspNetCoreSpa.Application.Features.Employees.Commands.DeleteEmployee;
using AspNetCoreSpa.Application.Features.Employees.Commands.UpsertEmployee;
using AspNetCoreSpa.Applic... | 1.978492 | 69ea8fd60c425e3594032daf08c325c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816978 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "dswisher/yaclops",
"max_stars_repo_path": "src/Samples/Sample/Commands/CheckoutCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136198"
} | starcoder | using System.ComponentModel;
using Yaclops.Attributes;
namespace Sample.Commands
{
[Summary("Checkout a branch or paths to the working tree")]
public class CheckoutCommand : ISampleCommand
{
[PositionalParameter]
[Description(@"
Branch to checkout; if it refers to a branch (i.e., a name th... | 2.708478 | 0aee47be52b6763ef611851a7dc177a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816979 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FurkanAltintas/Hospital_Management_System",
"max_stars_repo_path": "HastaneProgrami/Models/Entity Framework/hasta.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136199"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... | 1.446317 | d3ce2caa62a43b48be48bb57f3836ed2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ricalmd/SchoolManagement",
"max_stars_repo_path": "SchoolManagement.Web/Data/Repositories/ICourseRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136200"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Rendering;
using SchoolManagement.Web.Data.Entities;
using SchoolManagement.Web.Models;
namespace SchoolManagement.Web.Data.Repositories
{
public interface ICourseRepository : IGenericRepository<Course>
{
Co... | 1.911184 | 3c281ce220291f3d9227c40bc53b862c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816981 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dmalcaba/xunit-samples",
"max_stars_repo_path": "src/Malcaba.XunitSamples/Malcaba.XunitSamples.Extra/SkipTestBasedOnRuntimeConditions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136201"
} | starcoder | using System;
using System.Runtime.InteropServices;
using Xunit;
namespace Malcaba.XunitSamples.Extra
{
/// <summary>
/// https://josephwoodward.co.uk/2019/01/skipping-xunit-tests-based-on-runtime-conditions
/// </summary>
public class SkipTestBasedOnRuntimeConditions
{
[IgnoreOnAppVeyorLi... | 2.910025 | 18e3a5aa334515f0b5541cf8cbe99103 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816982 | {
"extension": "c-sharp",
"max_stars_count": "1371.0",
"max_stars_repo_name": "realvino/JustDecompileEngine",
"max_stars_repo_path": "Cecil.Decompiler/Ast/Statements/SwitchStatement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136202"
} | starcoder | #region license
//
// (C) 2005 - 2007 db4objects Inc. http://www.db4o.com
// (C) 2007 - 2008 Novell, Inc. http://www.novell.com
// (C) 2007 - 2008 <NAME> http://evain.net
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the... | 2.014089 | 0b04da2fd941bbc11d5ef294a0c33c6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816983 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanvirfiji/Circular-Shoot",
"max_stars_repo_path": "Assets/Script/Enemy/EnemySpawnController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136203"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EnemySpawnController : MonoBehaviour
{
public static EnemySpawnController instance;
[SerializeField] List<EnemyBehaviourBase> enemyBehaviours;
private bool canSpawnEnemy = false;
private float lastS... | 2.438227 | 537d90caaea9723ca00eea44c6c60569 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816984 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JSchoppe/CSVConsolidator",
"max_stars_repo_path": "CSVBreakdownConsolidatorTests/ConsolidateTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136204"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using CSVBreakdownConsolidator;
using System.IO;
using System;
namespace CSVBreakdownConsolidatorTests
{
[TestClass]
public sealed class ConsolidateTests
{
[TestMethod]
public void RunTests()
{
char slash = Path.Direct... | 2.850787 | 9726762cb76b03b12149855f29d9674b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zuravvski/Modular-Monolith-Framework",
"max_stars_repo_path": "src/Exceptions/Zuravvski.Infrastructure.Exceptions.Abstractions/IExceptionMapperRegistry.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136205"
} | starcoder | using System;
namespace Zuravvski.Infrastructure.Exceptions.Abstractions
{
public interface IExceptionMapperRegistry
{
public void Register<TExceptionMapper>(string @namespace = null)
where TExceptionMapper : class, IExceptionToResponseMapper, new();
public void RegisterFallbackMa... | 1.830411 | 264bc786b585a6a1fa74ac9130a12699 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816986 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ramamurthynagaraj/cit",
"max_stars_repo_path": "tasks/InitTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136206"
} | starcoder | <reponame>ramamurthynagaraj/cit
using System;
using cit.tasks.commands;
using cit.utilities;
namespace cit.tasks
{
class InitTask
{
Action<string> _logger;
public InitTask(Action<string> logger)
{
_logger = logger;
}
public int HandleCommand(InitCommand comm... | 2.326741 | 66ab272439f7cbcfe68800106421b558 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gamemachine/EnetWrappers",
"max_stars_repo_path": "EnetChannel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136207"
} | starcoder | <gh_stars>0
namespace EnetWrappers
{
public enum EnetChannel
{
Protobuf,
ValueType,
Raw
}
}
| 0.418767 | 3ad45d846f97801446ffe8727a74ceaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YiChangChen/MilkAndYou",
"max_stars_repo_path": "Assets/Script/TakeMilk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136208"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TakeMilk : MonoBehaviour {
public Slider MPBar;
public float milkPower;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}... | 2.3794 | f69ac453fbf51869e928db3858215466 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816989 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "zeshan321/HHS-Virtual-Huddle-Board",
"max_stars_repo_path": "web/HHSBoard/HHSBoard/Helpers/Enums.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136209"
} | starcoder | <gh_stars>1-10
namespace HHSBoard.Helpers
{
public enum TableType
{
PURPOSE = 0,
CELEBRATION = 1,
WIP = 2,
NEWIMPOP = 3,
IMPIDEAS = 4
}
public enum PickChart
{
Implement = 0,
Challenge = 1,
Possible = 2,
Kibosh = 3
}
... | 1.740215 | 0a8603eeb0f8c8d6236a2b9247b091f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816990 | {
"extension": "c-sharp",
"max_stars_count": "63.0",
"max_stars_repo_name": "MarkoBL/Rosi",
"max_stars_repo_path": "Runtime/Core/ArgumentsParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136210"
} | starcoder | <reponame>MarkoBL/Rosi
using System.Collections.Specialized;
using System.Text.RegularExpressions;
namespace Rosi.Runtime.Core
{
// http://www.codeproject.com/Articles/3111/C-NET-Command-Line-Arguments-Parser
sealed class ArgumentsParser
{
readonly StringDictionary _parameters = new StringDictionary();
... | 2.939313 | 49927ee60727dfe4bc66831c51c50db7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816991 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AnshMittal1811/MxNet.Sharp",
"max_stars_repo_path": "src/MxNet.GluonCV/ModelZoo/PrunedResnet/ResNetV1bPruned.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136211"
} | starcoder | using MxNet.Gluon;
using System;
using System.Collections.Generic;
using System.Text;
namespace MxNet.GluonCV.ModelZoo.PrunedResnet
{
class ResNetV1bPruned
{
public static ResNetV1b PruneGluonBlock(ResNetV1b net, string prefix, Dictionary<string, Shape> params_shapes, ParameterDict @params= null, bool... | 1.851041 | d0e497db9a98bded311cb83e8555daf8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diubaldo94/SalesTaxesProblem",
"max_stars_repo_path": "SalesTaxesCalculation/SalesTaxesCalculation.Application/Exception/MapperException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136212"
} | starcoder | using System;
namespace SalesTaxesCalculation.Application
{
public class MapperException : Exception
{
public MapperException(Exception e) : base(e.Message, e) { }
}
}
| 1.73886 | f18df907054e049085f590f08cd5377f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816993 | {
"extension": "c-sharp",
"max_stars_count": "133.0",
"max_stars_repo_name": "brezillon/opensplice",
"max_stars_repo_path": "testsuite/dbt/api/dcps/sacs/contentFilteredTopic/code/test/sacs/CFTopic3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136213"
} | starcoder | <filename>testsuite/dbt/api/dcps/sacs/contentFilteredTopic/code/test/sacs/CFTopic3.cs
namespace test.sacs
{
/// <summary>Basic test of all ContentFilteredTopic functions.</summary>
/// <remarks>Basic test of all ContentFilteredTopic functions.</remarks>
public class CFTopic3 : Test.Framework.TestCase
{
... | 2.14613 | bbd3043895717e77c45c59a3288af59c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816994 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GridProtectionAlliance/DeviceDefinitionParser",
"max_stars_repo_path": "DeviceDefinitionParser/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136214"
} | starcoder | //******************************************************************************************************
// MainWindow.xaml.cs - Gbtc
//
// Copyright © 2016, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | 2.322245 | ded47e97ded1d93014f8748c4009067d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816995 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "Heymity/UniversalInventorySystem",
"max_stars_repo_path": "Assets/InventorySystem/Scripts/Inventory/Seed.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136215"
} | starcoder | /* Copyright 2020 <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
*
* Unless required by applicable law or agreed to i... | 1.881557 | 31f3720effafbf7385959d810382f79c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816996 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "georgimanov/MoreDotNet",
"max_stars_repo_path": "Source/MoreDotNet/Extensions/Collections/CollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136216"
} | starcoder | <filename>Source/MoreDotNet/Extensions/Collections/CollectionExtensions.cs<gh_stars>1-10
namespace MoreDotNet.Extensions.Collections
{
using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// <see cref="ICollection{T}"/> extensions.
/// </summary>
public static ... | 3.488448 | d92ce609fd4948f8ed9d65582b66f18a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816997 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "c-mueller/Appy.GitDb",
"max_stars_repo_path": "Appy.GitDb.Watcher/ItemDetails.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136217"
} | starcoder | using System;
namespace Appy.GitDb.Watcher
{
public class ItemAdded
{
public string Key { get; set; }
public Func<string> GetValue { get; set; }
}
public class ItemDeleted : ItemAdded
{
}
public class ItemModified : ItemAdded
{
public Func<string> GetOldValue { g... | 2.320843 | 5149c91c749ccfcef0bdf5eab9b99b22 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816998 | {
"extension": "c-sharp",
"max_stars_count": "122.0",
"max_stars_repo_name": "CurlyBytes/EcommerceDDD",
"max_stars_repo_path": "src/EcommerceDDD.Application/Core/CQRS/CommandHandling/Command.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136218"
} | starcoder | global using MediatR;
namespace EcommerceDDD.Application.Core.CQRS.CommandHandling;
/// <summary>
/// Interface for Command implementation
/// </summary>
public interface ICommand<out TResult> : IRequest<TResult>
{
public abstract ValidationResult Validate();
}
/// <summary>
/// Abstract classes meant to be inh... | 2.413466 | 0e7e01975ec57063df33ee9e5ad2d3ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816999 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fatfatson/KSFramework",
"max_stars_repo_path": "KSFramework/Assets/KSFramework/KSGame.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136219"
} | starcoder | #region Copyright (c) 2015 KEngine / Kelly <http://github.com/mr-kelly>, All rights reserved.
// KEngine - Toolset and framework for Unity3D
// ===================================
//
// Filename: AppEngineInspector.cs
// Date: 2015/12/03
// Author: Kelly
// Email: <EMAIL>
// Github: https://github.com/mr-kelly/... | 1.972947 | cba68de5aac14a4482acdefcccc70c67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817000 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "antoniodlp/squidex",
"max_stars_repo_path": "backend/src/Squidex.Domain.Apps.Core.Model/Schemas/IFieldPropertiesVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136220"
} | starcoder | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | 1.348419 | 5638da7a431dbdeac883dca5147c3080 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817001 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jzonthemtn/gexploreftp",
"max_stars_repo_path": "gExploreFTP.FTP/Interfaces/AWS/S3FileSystemObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136221"
} | starcoder | <gh_stars>0
using System;
using System.IO;
namespace Assemblies.Ftp.FileSystem.Interfaces.AWS
{
class S3FileSystemObject : IFileSystem
{
#region Member Variables
private string m_sStartDirectory = "";
#endregion
#region Construction
public S3FileSystemObject(string sStartDirectory)
{
m_sStar... | 2.607662 | 5954c3cff6d208f39fc3dda82bbea25c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817002 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "slipperyeel/HaVRest",
"max_stars_repo_path": "Assets/Scripts/Waves/NormalWaves.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136222"
} | starcoder | <filename>Assets/Scripts/Waves/NormalWaves.cs
using UnityEngine;
using System.Threading;
using System.Collections;
public class NormalWaves : MonoBehaviour
{
[SerializeField] float scale = 0.1f;
[SerializeField] float speed = 1.0f;
[SerializeField] float noiseStrength = 1f;
[SerializeField] float nois... | 2.682854 | 2333ade80a894f38a8ae7c3a3b407011 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Apskaita5/CARMA",
"max_stars_repo_path": "src/A5Soft.CARMA.Application/RemoteUseCaseBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136223"
} | starcoder | <gh_stars>0
using A5Soft.CARMA.Application.DataPortal;
using System;
using A5Soft.CARMA.Domain.Metadata;
using A5Soft.CARMA.Domain.Rules;
namespace A5Soft.CARMA.Application
{
/// <summary>
/// A base class for use cases that support remote execution.
/// </summary>
public class RemoteUseCaseBase : Use... | 1.649427 | dbd9b7a930abe2aa573ad76680ddae6e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817004 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jesmi-ops/azure",
"max_stars_repo_path": "src/Microsoft.TemplateEngine.Abstractions/IPostActionLocalizationModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136224"
} | starcoder | using System;
using System.Collections.Generic;
namespace Microsoft.TemplateEngine.Abstractions
{
public interface IPostActionLocalizationModel
{
Guid ActionId { get; }
string Description { get; }
// The order corresponds to the order of the instructions in the same action... | 1.78464 | ec671fce96f8753c30766fbf17267d1a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817005 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "entrotech/Lab08-LINQ",
"max_stars_repo_path": "Talent.Domain.TestData/DomainObjectStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136225"
} | starcoder | <reponame>entrotech/Lab08-LINQ
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Talent.Domain.TestData
{
public class DomainObjectStore
{
#region Constructor
public DomainObjectStore()
{
MpaaRatin... | 2.676372 | 5c7e1672d21f9d3d06250dfdbc6f0290 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joshfree/cli",
"max_stars_repo_path": "test/dotnet-publish.Tests/PublishTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136226"
} | starcoder | <reponame>joshfree/cli
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using Microsoft.Do... | 1.884216 | 38601909065a12959ba54a80b5cfa79c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817007 | {
"extension": "c-sharp",
"max_stars_count": "126.0",
"max_stars_repo_name": "khdevnet/Mongo.Migration",
"max_stars_repo_path": "Mongo.Migration/Documents/Attributes/CollectionLocationInformation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136227"
} | starcoder | <filename>Mongo.Migration/Documents/Attributes/CollectionLocationInformation.cs
namespace Mongo.Migration.Documents.Attributes
{
public struct CollectionLocationInformation
{
public CollectionLocationInformation(string database, string collection)
{
Database = database;
C... | 2.104221 | c54c80b71f51a43277648a1bb0b7232b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817008 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Siafarikas/SoftUni",
"max_stars_repo_path": "Fundamentals/TextProcessing/RepeatStrings/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136228"
} | starcoder | <filename>Fundamentals/TextProcessing/RepeatStrings/Program.cs
using System;
using System.Text;
namespace RepeatStrings
{
class Program
{
static void Main(string[] args)
{
string[] input = Console.ReadLine()
.Split(" ");
string output = string.Empty;
... | 3.52478 | ef60f137dbd743d9b342b94f0b8bf4d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817009 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "ssarmokadam/devon4net",
"max_stars_repo_path": "source/Modules/Devon4Net.Infrastructure.SmaxHcm/Dto/Login/Passwordcredentials.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136229"
} | starcoder | namespace Devon4Net.Infrastructure.SmaxHcm.Dto.Login
{
public class Passwordcredentials
{
public string username { get; set; }
public string password { get; set; }
}
} | 1.387531 | 6ca02e7f900af7b94ce9d849b4ff887c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817010 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SergiySeletsky/Patterns",
"max_stars_repo_path": "Concurrency/Lock/Account.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136230"
} | starcoder | <reponame>SergiySeletsky/Patterns
namespace Patterns.Concurrency.Lock
{
internal class Account
{
// this is a monitor of an account
private readonly object thisLock = new object();
private long val;
public void Deposit(long x)
{
lock (thisLock)
{... | 3.183318 | 2bc1422ddbb737ad4e8f046d4fbea237 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817011 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "JunGroupProductions/mopub-unity-sdk",
"max_stars_repo_path": "unity-sample-app/Assets/MoPub/Sample/Delight/Source/ElementSortDirection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136231"
} | starcoder | <reponame>JunGroupProductions/mopub-unity-sdk
#region Using Statements
using System;
using System.Collections.Generic;
using System.ComponentModel;
using UnityEngine;
#endregion
namespace Delight
{
/// <summary>
/// Enum indicating sort direction of an element.
/// </summary>
public enum E... | 1.889776 | 4a53ddff5d1fb6cad16e4e2189551faf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817012 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "bartoszgolek/NFlags",
"max_stars_repo_path": "NFlags.Tests/NFlagsRegisterCommandGenericTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136232"
} | starcoder | using System;
using System.Globalization;
using NFlags.Tests.DataTypes;
using NFlags.Tests.TestImplementations;
using Xunit;
using NFAssert = NFlags.Tests.Helpers.Assert;
namespace NFlags.Tests
{
public class NFlagsRegisterCommandGenericTest
{
[Fact]
public void RegisterCommandT_ShouldThrowInco... | 2.402702 | 418f820707b62536bc16f5457fcbc7e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817013 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "isaacrsjr/aspnet-no-mundo-real",
"max_stars_repo_path": "Aula05/samples/AplicacaoEscolas-EFCore/AplicacaoEscolas.WebApi/Dominio/Matricula.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136233"
} | starcoder | <reponame>isaacrsjr/aspnet-no-mundo-real
using System;
using CSharpFunctionalExtensions;
namespace AplicacaoEscolas.WebApi.Dominio
{
public sealed class Matricula
{
private Matricula() { }
private Matricula(Guid id, Guid alunoId, Guid turmaId, DateTime efetivadoEm, ESituacaoMatricula situacao)
... | 2.314405 | a67d3b107453068a58afcb059335ba15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817014 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "zhangzheng1205/LinFx",
"max_stars_repo_path": "src/LinFx/Extensions/Auditing/AuditPropertySetter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136234"
} | starcoder | using LinFx.Extensions.MultiTenancy;
using LinFx.Security.Users;
using System;
namespace LinFx.Extensions.Auditing
{
[Service]
public class AuditPropertySetter : IAuditPropertySetter
{
protected ICurrentUser CurrentUser { get; }
protected ICurrentTenant CurrentTenant { get; }
publ... | 2.185941 | 7837c34e590fe375a04591d9a7d1cc6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817015 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "jspuij/fluentlang",
"max_stars_repo_path": "source/flc.Tests.Unit/ProjectSystem/ProjectDependencyOrganizerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136235"
} | starcoder | <reponame>jspuij/fluentlang<gh_stars>1-10
using FluentLang.flc;
using FluentLang.flc.ProjectSystem;
using System.Collections.Immutable;
using System.Linq;
using Xunit;
namespace FluentLang.Compiler.Tests.Unit.ProjectSystem
{
public class ProjectDependencyOrganizerTests
{
private ProjectInfo Project(string name, p... | 2.255028 | f35219c79f599671422af82a36d5a9fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817016 | {
"extension": "c-sharp",
"max_stars_count": "3336.0",
"max_stars_repo_name": "mbentancour/azure-powershell",
"max_stars_repo_path": "src/SecurityInsights/SecurityInsights/Models/AlertRuleTemplates/PSSentinelAlertRuleTemplatesConvertors.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136236"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... | 1.972588 | ecef698f279002ce5a1592c51156cce2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-sadegh-sh/ePhoto.NET",
"max_stars_repo_path": "src/ePhoto.NET/Views/Photo/IndexCategory.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136237"
} | starcoder | @model CategoryModel
@{
ViewBag.Title = string.Format("ایفوتو - دسته بندی {0}", Model.Name);
}
@Html.Action(T4Routes.Photo.ListCategory(Model.Slug, 1, int.MaxValue)) | 1.723494 | 1485d9ebcabdbe067f49107536513592 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.