added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812918 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RolandoMagico/ESP32NodeMCU",
"max_stars_repo_path": "Source/ESP32NodeMCU/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132138"
} | starcoder | <reponame>RolandoMagico/ESP32NodeMCU
// <copyright file="Program.cs" company="RolandoMagico">
// MIT License
//
// Copyright (c) 2020 by RolandoMagico
//
// 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... | 2.349059 | 91cf8da54640fd86822c492fccf58f54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812919 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Prastiwar/TPFrameworkUnity",
"max_stars_repo_path": "Runtime/CoreAdapters/TPExtensionsPackage/TransformExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132139"
} | starcoder | /**
* Authored by <NAME>
* MIT LICENSE: https://github.com/Prastiwar/TPFrameworkUnity/blob/master/LICENSE
* Repository: https://github.com/Prastiwar/TPFrameworkUnity
*/
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using TP.Framework.Collections;
using UnityEngine;
name... | 2.457614 | d323b6d963d7c01e2bd02bda5b81a3cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812920 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joergkrause/texxtoor",
"max_stars_repo_path": "Texxtoor/Solution/Texxtoor.EasyAuthor/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132140"
} | starcoder | <filename>Texxtoor/Solution/Texxtoor.EasyAuthor/Controllers/HomeController.cs
using System;
using System.Linq;
using System.Web.Mvc;
using System.Web.Security;
using Texxtoor.BaseLibrary;
using Texxtoor.BaseLibrary.Services;
using Texxtoor.DataModels.Models;
using Texxtoor.EasyAuthor.Core.Extensions;
namespace Texxto... | 2.125147 | 258db2e9613090098312bcc6ca2982ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812921 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bullseye14/AR-music",
"max_stars_repo_path": "AR_Music/Library/PackageCache/com.ptc.vuforia.engine@2df2f4d646/Vuforia/Scripts/Internal/ARFoundationIntegration/ARFoundationInitializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1... | starcoder | <filename>AR_Music/Library/PackageCache/com.ptc.vuforia.engine@2df2f4d646/Vuforia/Scripts/Internal/ARFoundationIntegration/ARFoundationInitializer.cs
/*===============================================================================
Copyright (c) 2020 PTC Inc. All Rights Reserved.
Confidential and Proprietary - Protecte... | 1.55337 | f714296ffb8115f19369de48216d24db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812922 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brandonmarcum/CasinoProject",
"max_stars_repo_path": "CasinoService/CasinoService.Api/Games/Bingo/BingoCard.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132142"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace CasinoService.Api.Games.Bingo
{
public class BingoCard
{
public List<List<int>> card = new List<List<int>>();
public BingoCard()
{
for(int i = 0; i < 5; i++)
{
... | 3.268762 | 98bc8c49a1354348b395d567413415b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812923 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "chequer-io/PhoenixSql",
"max_stars_repo_path": "PhoenixSql/Proto/Nodes/P_UnaryParseNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132143"
} | starcoder | <gh_stars>1-10
namespace PhoenixSql
{
public partial class P_UnaryParseNode : IPhoenixProxyNode<IUnaryParseNode>, IUnaryParseNode
{
public string Alias => Message.Alias;
public System.Collections.Generic.IReadOnlyList<IParseNode> Children => Message.Children;
public bool IsStateless =>... | 1.451601 | bf4a994676b55500531a9e01444d249d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812924 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "antmdvs/docs",
"max_stars_repo_path": "samples/snippets/csharp/VS_Snippets_ADO.NET/DataWorks OracleConnectionStringBuilder.Remove/CS/source.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132144"
} | starcoder | <reponame>antmdvs/docs<filename>samples/snippets/csharp/VS_Snippets_ADO.NET/DataWorks OracleConnectionStringBuilder.Remove/CS/source.cs
using System;
using System.Data;
// <Snippet1>
// You may need to set a reference to the System.Data.OracleClient
// assembly before you can run this sample.
using System.Data.OracleC... | 3.24291 | 2491d195ce66e03801f8a5bdea6499a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812925 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ru-petrovi4/Ssz.Utils",
"max_stars_repo_path": "ThirdParties/EPPlus/FormulaParsing/Excel/Functions/DoubleEnumerableArgConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132145"
} | starcoder | /* Copyright (C) 2011 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library i... | 2.508698 | 322a17b55fcddb325cc0bd49dc369169 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812926 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rifkybujana/selaras",
"max_stars_repo_path": "Selaras Project/Assets/Scripts/BoatSelect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132146"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class BoatSelect : MonoBehaviour
{
public GameData.Boat boat;
public Image img;
private PlayerController player;
// Start is called before the first frame update
void Start()
{
... | 1.956005 | 9997c041f60f94ccd3db1e6274b3bc28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812927 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d605-upjv/veille-concurrentielle",
"max_stars_repo_path": "EventOrchestrator/VeilleConcurrentielle.EventOrchestrator.WebApp/Core/Services/EventService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132147"
} | starcoder | using VeilleConcurrentielle.EventOrchestrator.Lib.Exceptions;
using VeilleConcurrentielle.EventOrchestrator.Lib.Servers.Models;
using VeilleConcurrentielle.EventOrchestrator.WebApp.Data.Entities;
using VeilleConcurrentielle.EventOrchestrator.WebApp.Data.Repositories;
using VeilleConcurrentielle.Infrastructure.Core.Mod... | 2.453568 | b8dd94fe2997dde93ee3d4b4d2f3e351 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812928 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kokkiemouse/BEditor",
"max_stars_repo_path": "BEditor/BEditor.Page/Languages/English.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132148"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BEditor.Page.Languages
{
public class English : IResources
{
public string OpenSource => "Open source";
public string Free => "Free";
public string Extension => "Extension";
... | 1.940585 | aee6d9dbb92daa084c11716bc39dbb71 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812929 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DIMITRINALU/SoftUni-Projects",
"max_stars_repo_path": "C#OOP/01. Abstraction/HotelReservation/PriceCalculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132149"
} | starcoder | <gh_stars>0
namespace HotelReservation
{
public static class PriceCalculator
{
public static decimal GetTotalPrice(
decimal pricePerDay,
int days,
Season season,
Discount discount = Discount.None)
{
var price = days * pricePerDay * ... | 2.582339 | b94ad1f8eb7bf0de27071a0d16d168de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812930 | {
"extension": "c-sharp",
"max_stars_count": "814.0",
"max_stars_repo_name": "vincentgohzy/SVL",
"max_stars_repo_path": "Packages/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/Raytracing/SubSurfaceScatteringEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132150"
} | starcoder | <filename>Packages/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/Raytracing/SubSurfaceScatteringEditor.cs<gh_stars>100-1000
using UnityEditor.Rendering;
using UnityEngine.Rendering.HighDefinition;
using UnityEngine.Rendering;
namespace UnityEditor.Rendering.HighDefinition
{
[CanEditMultipleObjec... | 2.041117 | 8afd9fd215ac498661b0116fda0d9615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812931 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "vitahlin/VitahPomeloClient",
"max_stars_repo_path": "Assets/Scripts/UI/UIPop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132151"
} | starcoder | using UnityEngine;
using UnityEngine.Assertions;
using UnityEngine.UI;
[DisallowMultipleComponent]
public class UIPop : MonoBehaviour
{
public void Start ()
{
this.gameObject.GetComponent<Button> ().onClick.AddListener (this.OnButtonPop);
}
private void OnButtonPop ()
{
UIManager.Instance.PopWindow ();
}
} | 1.729072 | 3270fcc70b4e5d5bf0a0587b31a84702 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812932 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tojarr/CW17MyPhoneBookApi",
"max_stars_repo_path": "MyPhoneBookApi/Repositories/UserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132152"
} | starcoder | <filename>MyPhoneBookApi/Repositories/UserRepository.cs<gh_stars>0
using MyPhoneBookApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MyPhoneBookApi.Repositories
{
public class UserRepository
{
private List<User> userList = new List<User>
... | 3.034535 | 6afbe37d4725c0de141f7913ba4fbb86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812933 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "berkansasmaz/runtime",
"max_stars_repo_path": "src/tests/JIT/Methodical/fp/exgen/5w1d-04.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132153"
} | 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 Xunit;
namespace Test_5w1d_04
{
public unsafe class testout1
{
public struct VT_0
{
public double a1_0;
public VT_0(int i)
{
... | 2.55728 | 99c19d6a15c9ba71c486cd8be3f616d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812934 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GoSato/UmweltExhibition",
"max_stars_repo_path": "UnityProject/Assets/Debug/Scripts/FPSMeasure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132154"
} | starcoder | <filename>UnityProject/Assets/Debug/Scripts/FPSMeasure.cs
using UnityEngine;
using System.Collections;
public class FPSMeasure : MonoBehaviour{
public float Interval = 1f;
int mFrame;
float mOldTime;
float mFrameRate;
public float FrameRate {
get{ return mFrameRate; }
private set{ mFrameRate = value; }
... | 2.589708 | 72e2c4c2bd9c318f9814a46e6f8f0e9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812935 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RobertKomarek/Novenen",
"max_stars_repo_path": "Novenen/Novenen/obj/Release/netstandard2.0/Views/LourdesNovenePage.xaml.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132155"
} | starcoder | <filename>Novenen/Novenen/obj/Release/netstandard2.0/Views/LourdesNovenePage.xaml.g.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect ... | 1.585887 | 01057abe0d9cb6205e41b593db5e6923 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812936 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CaptainUltra/SimplePizzaApp",
"max_stars_repo_path": "SimplePizzaApp.Models/IngredientPizza.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132156"
} | starcoder | <reponame>CaptainUltra/SimplePizzaApp<filename>SimplePizzaApp.Models/IngredientPizza.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace SimplePizzaApp.Models
{
public class IngredientPizza
{
public int IngredientId { get; set; }
public Ingredient Ingredi... | 2.018149 | 9e38eace708f3b25f09b3a64f218ac04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812937 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Annonator/PlayFabBuddy",
"max_stars_repo_path": "src/PlayFabBuddy.Infrastructure/Adapter/PlayFab/Admin/PlayStreamAdapter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132157"
} | starcoder | using PlayFab;
using PlayFab.AdminModels;
using PlayFabBuddy.Lib.Aggregate;
using PlayFabBuddy.Lib.Interfaces.Adapter;
namespace PlayFabBuddy.Infrastructure.Adapter.PlayFab.Admin;
public class PlayStreamAdapter : IPlayStreamAdapter
{
private readonly PlayFabAdminInstanceAPI _playFabAdminInstanceApi;
public ... | 2.636086 | f85b7b897751e0901a39f07edc1cb459 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812938 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/runtime",
"max_stars_repo_path": "src/tests/JIT/opt/perf/doublealign/arrays.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132158"
} | starcoder | <reponame>belav/runtime
// 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.Runtime.CompilerServices;
public class CMyException : System.Exception { }
public class CTest
{
[MethodImplAttribute(MethodIm... | 2.431567 | f8b50e62a9d562518e4a045438b00615 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812939 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MLopusiewicz/SceneReferencePicker",
"max_stars_repo_path": "Assets/SRP/Editor/Pickers/ComponentRectPicker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132159"
} | starcoder | <reponame>MLopusiewicz/SceneReferencePicker
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace LoneTower.SRP {
public class ComponentRectPicker : ScenePickerBase {
public Type t { get; private set; }
Vector2 startpos;
bool... | 2.241547 | 1a3842dde6750ec0c42235f00db9daaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812940 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lbussell/source-build-reference-packages",
"max_stars_repo_path": "src/referencePackages/src/system.io.filesystem.accesscontrol/5.0.0/ref/net461/System.IO.FileSystem.AccessControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1321... | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// ------------------------------------------------------------------------------
// Changes to this file must follow... | 1.540051 | 91cedf3a669e784ebd093aaffcacd2b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812941 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thuyps/vnchart_windows",
"max_stars_repo_path": "stock123/app/ui/DlgRegister.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132161"
} | starcoder | namespace stock123.app.ui
{
partial class DlgRegister
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... | 1.979286 | 638c8db5de8a1a13bf9f8803470e702d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812942 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "CloudGenix/sdk-csharp",
"max_stars_repo_path": "CloudGenixSdk/Classes/Topology.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132162"
} | starcoder | <filename>CloudGenixSdk/Classes/Topology.cs
/*
CloudGenix Controller SDK
(c) 2018 CloudGenix, Inc.
All Rights Reserved
https://www.cloudgenix.com
This SDK is released under the MIT license.
For support, please contact us on:
NetworkToCode Slack channel #cloudgenix: http://slack.netw... | 2.225304 | 1e9fbe2e1c2f3e1ed06c39704af4d23a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812943 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "microsoft-healthcare-madison/argonaut-subscription-server-proxy",
"max_stars_repo_path": "argonaut-subscription-server-proxy/Fhir/R5/ValueSets/V3ServiceDeliveryLocationRoleType_2_0_0.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1... | starcoder | <filename>argonaut-subscription-server-proxy/Fhir/R5/ValueSets/V3ServiceDeliveryLocationRoleType_2_0_0.cs
// <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// A role of a place that furthe... | 1.83235 | 0d0241d77b23e50bb167df851487c498 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812944 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "W1K1/tsorcRevamp",
"max_stars_repo_path": "Buffs/CrimsonDrain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132164"
} | starcoder | using Terraria;
using Terraria.ModLoader;
namespace tsorcRevamp.Buffs {
class CrimsonDrain : ModBuff {
public override void SetDefaults() {
DisplayName.SetDefault("Crimson Drain");
Description.SetDefault(!ModContent.GetInstance<tsorcRevampConfig>().LegacyMode ? "Enemies within a te... | 1.936653 | 1d5d9df5ebdce62265c6ff7d75e5bb0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812945 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diegofrata/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/TranscribeService/Generated/Model/ListMedicalTranscriptionJobsRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132165"
} | starcoder | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 1.880025 | 750f7de81e3c89775edd277fd4c89bc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812946 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ASCOMInitiative/ASCOMStandard",
"max_stars_repo_path": "ASCOM.Common/ASCOM.Common.Alpaca/Enums/ImageArrayTransferType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132166"
} | starcoder | <reponame>ASCOMInitiative/ASCOMStandard
namespace ASCOM.Common.Alpaca
{
// Enum used by the dynamic client to indicate what type of image array transfer should be used
public enum ImageArrayTransferType
{
JSON = 0,
Base64HandOff = 1,
}
}
| 1.616907 | 00dc751e7a2dd849aee94b7d80eca99e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812947 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "ljbqust/fslib.network",
"max_stars_repo_path": "src/FSLib.Network/Http/ContentType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132167"
} | starcoder | <reponame>ljbqust/fslib.network
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FSLib.Network.Http
{
/// <summary>
/// 请求的内容类型
/// </summary>
public enum ContentType
{
/// <summary>
/// 无
/// </summary>
None,
/// <summary>
/// 纯文本
//... | 2.1008 | 1f046cbc75bc2f0bfcb3366de228c13a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812948 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RogueException/Voltaic.Serialization",
"max_stars_repo_path": "src/Voltaic.Serialization.Utf8/Readers/Utf8Parser.DateTimeOffsetO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132168"
} | starcoder | <reponame>RogueException/Voltaic.Serialization<filename>src/Voltaic.Serialization.Utf8/Readers/Utf8Parser.DateTimeOffsetO.cs<gh_stars>1-10
using System;
using System.Buffers.Text;
namespace Voltaic.Serialization.Utf8
{
// https://github.com/dotnet/corefx/blob/master/src/System.Memory/src/System/Buffers/Text/Utf8P... | 2.555771 | 5d4afc146cbc21f71294981d409cadc0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812949 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "Erffun/dotnet-arangodb",
"max_stars_repo_path": "Core.Arango/Protocol/ArangoTransactionScope.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132169"
} | starcoder | <reponame>Erffun/dotnet-arangodb
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace Core.Arango.Protocol
{
/// <summary>
/// Arango Transaction Scope
/// </summary>
public class ArangoTransactionScope
{
/// <summary>
/// ... | 1.666403 | 0a2d2bf7461d451a89a4fa2f677d8556 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812950 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jamesmontemagno/code-camp-app",
"max_stars_repo_path": "CodeCamp.Android/Resources/Resource.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132170"
} | starcoder | #pragma warning disable 1591
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 4.0.30319.17020
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code ... | 1.433037 | 5ce16815dcfa2b1100dec6f358c86565 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812951 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OctopusDeploy/azure-sdk-tools",
"max_stars_repo_path": "WindowsAzurePowershell/src/Sync/Upload/BlobSynchronizer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132171"
} | starcoder | <filename>WindowsAzurePowershell/src/Sync/Upload/BlobSynchronizer.cs
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the L... | 2.024906 | c492781fadee010a143219bfcef9b2ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812952 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ds5678/GuidUpdater",
"max_stars_repo_path": "GuidUpdater/GuidParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132172"
} | starcoder | <filename>GuidUpdater/GuidParser.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Json;
using YamlDotNet.RepresentationModel;
namespace GuidUpdater
{
internal static class GuidParser
{
static readonly string[] ignoredFolders = new string[] { "Com... | 3.060089 | 0482f93585bf16a00021cc87b3487f2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812953 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NoOps-jp/azure-cosmosdb-scaler",
"max_stars_repo_path": "test/NoOpsJp.CosmosDbScaler.ThroughputAnalyzer.Test/NoOpsJp.CosmosDbScaler.ThroughputAnalyzer.Test/SimpleScaleStrategyTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1321... | starcoder | using System;
using Xunit;
namespace NoOpsJp.CosmosDbScaler.ThroughputAnalyzer.Test
{
public class SimpleScaleStrategyTest
{
[Fact]
public void TestNormalCase()
{
Assert.Equal("NoOps", "NoOps");
}
}
}
| 1.521763 | d088530df4c44238bc7dfcaff69542ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812954 | {
"extension": "c-sharp",
"max_stars_count": "139.0",
"max_stars_repo_name": "gitjosephbeer/silverback",
"max_stars_repo_path": "tests/Silverback.Core.Tests/Util/ConfigurationDictionaryEqualityComparerTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132174"
} | starcoder | <filename>tests/Silverback.Core.Tests/Util/ConfigurationDictionaryEqualityComparerTests.cs
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Silverback.Util;
using... | 2.257998 | 37e21dfea77fd24d3b8850dd411f6af6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812955 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TimeTravelPenguin/AllOverIt",
"max_stars_repo_path": "Tests/AllOverIt.Evaluator.Tests/Operations/ArithmeticOperationBaseFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132175"
} | starcoder | <reponame>TimeTravelPenguin/AllOverIt<gh_stars>1-10
using AllOverIt.Evaluator.Operators;
using AllOverIt.Evaluator.Tests.Operations.Dummies;
using AllOverIt.Fixture;
using AllOverIt.Fixture.Extensions;
using AllOverIt.Fixture.FakeItEasy;
using FakeItEasy;
using FluentAssertions;
using System;
using System.Collections.... | 2.351468 | 04aec8598f0782d482779409d057ec34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812956 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m0sa/Jil",
"max_stars_repo_path": "JilTests/UtilsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132176"
} | starcoder | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Jil.Common;
using System.Reflection;
using System.IO;
using System.Linq;
using System.Collections.Generic;
namespace JilTests
{
[TestClass]
public class UtilsTests
{
#pragma warning disable 0649
class _FieldOffsetsInMemory
... | 2.615943 | 70218e731f43a8611df7e29ed1606133 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812957 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UnGaucho/StarDrive",
"max_stars_repo_path": "Ship_Game/GameScreens/DiplomacyScreen/DiplomacyScreen.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132177"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Ship_Game.Gameplay;
using System;
using System.Collections.Generic;
using System.Text;
namespace Ship_Game.GameScreens.DiplomacyScreen
{
public sealed class DiplomacyScreen : GameScreen
{
Rectangle Portrait;
DialogStat... | 1.89384 | 8094dc69d354fbc78f6f63349eb7805d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812958 | {
"extension": "c-sharp",
"max_stars_count": "249.0",
"max_stars_repo_name": "rgwood/go2cs",
"max_stars_repo_path": "src/go-src-converted/vendor/golang.org/x/crypto/poly1305/sum_generic_macGenericStruct.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132178"
} | 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.
//
// Generated on 2020 October 09 06:06:34 UTC
// </auto-generated>
//--------------... | 1.575871 | 0a861e2e17ccaa0bd06344c346df1d5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812959 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1819-FundingService-SF",
"max_stars_repo_path": "src/ESFA.DC.ILR.FundingService.Stateless.Models/AzureRedisCacheOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132179"
} | starcoder | <reponame>SkillsFundingAgency/DC-ILR-1819-FundingService-SF<gh_stars>0
namespace ESFA.DC.ILR.FundingService.Stateless.Models
{
public class AzureRedisCacheOptions
{
public string RedisCacheConnectionString { get; set; }
}
}
| 0.861632 | e3ba8d81b2674b20041a9fe90ce82c89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812960 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/healthvault-dotnetstandard-sdk",
"max_stars_repo_path": "Microsoft.HealthVault.RestApi/Generated/Models/Schedule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132180"
} | starcoder | <filename>Microsoft.HealthVault.RestApi/Generated/Models/Schedule.cs
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace Microsoft.HealthVault.RestApi.Generated.Models
{
using Microsoft.HealthVault;
... | 2.255373 | cb6356060388097ab3fd6415b8dec8e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812961 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "vijayraavi/microservices-reference-implementation-servicefabric",
"max_stars_repo_path": "src/Workflow/WorkflowService/Services/DroneSchedulerServiceCaller.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132181"
} | starcoder | <filename>src/Workflow/WorkflowService/Services/DroneSchedulerServiceCaller.cs<gh_stars>10-100
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license informatio... | 2.187885 | 6ae1f399e4703fed007a4818b3fbfd45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812962 | {
"extension": "c-sharp",
"max_stars_count": "554.0",
"max_stars_repo_name": "Seanba/Tiled2Unity",
"max_stars_repo_path": "tool/Tiled2Unity/Tiled2UnityLib/Logger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132182"
} | starcoder | <reponame>Seanba/Tiled2Unity<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tiled2Unity
{
public class Logger
{
// Only to be printed in verbose mode. Useful for debugging.
public delegate void WriteVerboseDelegate(string line)... | 2.944662 | 2b62acf3f37081bf9eb2229de7f86840 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812963 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BioWareRu/BioEngine.Extra.OpenId",
"max_stars_repo_path": "src/BioEngine.Extra.OpenId/OpenIdCurrentUserProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132183"
} | starcoder | <reponame>BioWareRu/BioEngine.Extra.OpenId
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using BioEngine.Core.Users;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
namespace BioEngine.Extra.OpenId
{
public class OpenIdCurrentUserP... | 2.425406 | 45a04fde764bf323167e62014d3281e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812964 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "diogoeichert/micro-editor",
"max_stars_repo_path": "MicroEditor/MainForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132184"
} | starcoder | <reponame>diogoeichert/micro-editor
using System;
using System.Windows.Forms;
using System.IO;
using MicroEditor.Properties;
using System.Diagnostics;
using System.Globalization;
namespace MicroEditor
{
public partial class MainForm : Form
{
#region Constants
const string CONFIRM... | 2.037496 | 225e1699cfcc57b3095e6c5f6298a19d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812965 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JoanValiente/TFG",
"max_stars_repo_path": "Assets/LowPolyNature/Scripts/InventoryItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132185"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InventoryEventArgs : EventArgs
{
public InventoryEventArgs(InventoryItemBase item)
{
Item = item;
}
public InventoryItemBase Item;
}
| 1.693912 | 11d24945ecd61f32f79f7409bb9c2fcc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812966 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mjsabby/MiniSharp-old",
"max_stars_repo_path": "Runtime/Types/Array.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132186"
} | starcoder | <gh_stars>1-10
namespace System
{
public abstract class Array : Object
{
}
} | 1.300049 | 9cacf1e7f9ea404fb66ec9374d9100a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812967 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "chandusekhar/gViewGisOS",
"max_stars_repo_path": "gView.Dialogs/Framework/UI/Controls/Behavior.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132187"
} | starcoder | <reponame>chandusekhar/gViewGisOS
using System;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Globalization;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Collections;
namespace gView.Framework.UI.Controls
{
/// <summary>
/// Base class f... | 2.527809 | 149c69d09725f2f2d3b86ed586497936 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812968 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RuzmanovDev/BrumWithMe",
"max_stars_repo_path": "BrumWithMe/Web/BrumWithMe.MVC/Areas/Admin/Controllers/UsersController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132188"
} | starcoder | using System.Collections.Generic;
using System.Web.Mvc;
using BrumWithMe.Auth.Identity.Contracts;
using BrumWithMe.Data.Models.CompositeModels;
using BrumWithMe.Services.Data.Contracts;
using BrumWithMe.Services.Providers.Mapping.Contracts;
using BrumWithMe.Web.Models.Shared;
using Bytes2you.Validation;
namespace Bru... | 1.895573 | ffb2b35998af703d3c256179d272ae91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812969 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "taucode/taucode.db",
"max_stars_repo_path": "src/TauCode.Db/IScriptBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132189"
} | starcoder | <reponame>taucode/taucode.db<filename>src/TauCode.Db/IScriptBuilder.cs<gh_stars>0
using System.Collections.Generic;
using TauCode.Db.Model;
namespace TauCode.Db
{
public interface IScriptBuilder : IUtility
{
char? CurrentOpeningIdentifierDelimiter { get; set; }
string BuildCreateTableScript(Ta... | 1.768559 | 9b47a85dee752ccb07a3b9f9e191d5d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812970 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eoincampbell/coding-puzzles",
"max_stars_repo_path": "aoc/AdventOfCode2019.Tests/Day03/PuzzleTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132190"
} | starcoder | namespace AdventOfCode2019.Tests.Day03
{
using NUnit.Framework;
using System.Threading.Tasks;
using System.Numerics;
public partial class PuzzleTests
{
[Test]
public async Task Puzzle03_Impl1_Part1()
{
var p = new Puzzles.Day03.Impl();
await p.ResetIn... | 2.452821 | 6f729a7341b06cf65c796e2a6a3b52dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812971 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KiaArmani/XurSuite",
"max_stars_repo_path": "Libraries/MadReflection.BungieApi/MadReflection.BungieNetApi.Entities/Generated_/Destiny/HistoricalStats/DestinyHistoricalStatsAccountResult.cs",
"provenance": "train-00027-of-00045.jsonl.g... | starcoder | <reponame>KiaArmani/XurSuite<filename>Libraries/MadReflection.BungieApi/MadReflection.BungieNetApi.Entities/Generated_/Destiny/HistoricalStats/DestinyHistoricalStatsAccountResult.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a ... | 1.349362 | 6dcf68c3933115e5f1f2035c22557343 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812972 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrendanStEsprit/CaveStoryUnityTutorial",
"max_stars_repo_path": "CaveStoryTutorial E00/Assets/Scripts/Player/Player.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132192"
} | starcoder | using System.Collections;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
[RequireComponent(typeof(Controller2D))]
public class Player : Entity {
public float maxJumpHeight = 3f;
public float minJumpHeight = 1.5f;
public float timeToJumpApex = .4f;
public float accelerationTimeGrounde... | 1.986728 | a79307191577a29ab3daebc0b02888e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812973 | {
"extension": "c-sharp",
"max_stars_count": "176.0",
"max_stars_repo_name": "KevinRansom/sqltoolsservice",
"max_stars_repo_path": "src/Microsoft.SqlTools.ResourceProvider.Core/Extensibility/ExportableBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132193"
} | starcoder | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.SqlTools.Extensibility;
namespace Microsoft.SqlTools.ResourceProvider.Core.Extensibility
{
/// <summary>
/// The base class for all expo... | 2.274585 | 85b256b85aeb9a9ca628a8a565767a5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812974 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "reditec/RDR-Explorer",
"max_stars_repo_path": "RDR Explorer/Inc/RageLIB/RPF/Common/BigEndianBinaryReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132194"
} | starcoder | using System;
using System.IO;
namespace RPFLib.Common
{
public class BigEndianBinaryReader : BinaryReader
{
public BigEndianBinaryReader(Stream input) : base(input) { }
public override short ReadInt16()
{
byte[] byteBuffer = base.ReadBytes(2);
return (short)((... | 3.24467 | d478bc98743cd098060cced8ae16774e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812975 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mavidian/DataConveyer",
"max_stars_repo_path": "DataConveyer_tests/Intake/LineFeeder_tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132195"
} | starcoder | //LineFeeder_tests.cs
//
// Copyright © 2016-2021 Mavidian Technologies Limited Liability Company. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 2.452007 | 76523dfc76207249a1d3c80c89c5c4b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812976 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ciastex/Prisma",
"max_stars_repo_path": "Prisma/Input/ControllerButtonEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132196"
} | starcoder | using System;
using Chroma.Input;
namespace Prisma.Input
{
public class ControllerButtonEventArgs : EventArgs
{
public ControllerInfo Controller { get; }
public ControllerButton Button { get; }
internal ControllerButtonEventArgs(ControllerInfo controller, ControllerButton button)
... | 2.201404 | da916d0d711a6268fce0234212eb9523 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812977 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "sucrose0413/TSheets-V1-DotNET-SDK",
"max_stars_repo_path": "Intuit.TSheets.Examples/ExampleApp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132197"
} | starcoder | // *******************************************************************************
// <copyright file="Program.cs" company="Intuit">
// Copyright (c) 2019 Intuit
//
// 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... | 2.35886 | 01e8e377839376af6b64fc26f5f87790 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812978 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "RodrigoQuintas/moip-sdk-dotnet",
"max_stars_repo_path": "Moip.Tests/ControllerTestBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132198"
} | starcoder | <reponame>RodrigoQuintas/moip-sdk-dotnet
using Moip;
using Moip.Tests.Helpers;
using NUnit.Framework;
using System;
namespace Moip.Tests
{
[TestFixture]
public class ControllerTestBase
{
public static string oauth = "<KEY>";
public const int REQUEST_TIMEOUT = 60;
protected const d... | 1.835714 | 68b0226355b70c2cd74e9b3814367608 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812979 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MatthewChrobak/Annex",
"max_stars_repo_path": "source/Tests/Graphics/BasicWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132199"
} | starcoder | <filename>source/Tests/Graphics/BasicWindow.cs<gh_stars>1-10
#define DEBUG
using Annex;
using Annex.Logging;
using Annex.Scenes.Components;
using NUnit.Framework;
namespace Tests.Graphics
{
public class BasicWindow : SfmlCanvasTestCase
{
public class TestCaseScene : Scene
{
... | 2.116515 | 8f597e0b1703bd6bb124d58943d800fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812980 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "belav/roslyn",
"max_stars_repo_path": "src/Compilers/Core/Portable/DocumentationComments/XmlDocumentationCommentTextReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132200"
} | starcoder | <reponame>belav/roslyn
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Xml;
using Microsoft.CodeAnalysis.PooledObjects;
using Rosly... | 2.261362 | 6d0554350c0c96f9a0419e288ba0a54d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812981 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "aserowy/TreeLine.Sagas",
"max_stars_repo_path": "src/TreeLine.Sagas.Validation/Analyzing/SagaProfileVersionAnalyzer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132201"
} | starcoder | using System;
using TreeLine.Sagas.Building;
using TreeLine.Sagas.Messaging;
namespace TreeLine.Sagas.Validation.Analyzing
{
internal interface ISagaProfileVersionAnalyzer : ISagaVersionBuilder
{
int StepCount { get; }
string Version { get; }
}
internal sealed class SagaProfileVersion... | 2.135734 | e0432765966a5ca4f03ed1d43884d141 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812982 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cdc-dpbrown/Epi-Info-Cloud-Data-Capture",
"max_stars_repo_path": "Epi.Web/Repositories/SurveyInfoRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132202"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Epi.Web.MVC.Repositories.Core;
using Epi.Web.MVC.DataServiceClient;
using Epi.Web.Enter.Common.Message;
using Epi.Web.Enter.Common.Exception;
using System.ServiceModel;
using Epi.Web.MVC.DataServiceClient;
using System... | 1.906552 | 01749aeb4f46fc76ea327494a3c21a6a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812983 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "indrivo/GEAR",
"max_stars_repo_path": "src/GR.Extensions/GR.Identity.Extension/GR.Identity.Profile/ProfileService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132203"
} | starcoder | using System.Threading.Tasks;
using GR.Core.Extensions;
using GR.Core.Helpers;
using GR.Core.Helpers.Validators;
using GR.Email.Abstractions.Events;
using GR.Email.Abstractions.Events.EventArgs;
using GR.Identity.Abstractions;
using GR.Identity.Abstractions.Extensions;
using GR.Identity.Profile.Abstractions;
using GR.... | 2.140608 | e0f096091d3ad2cb96102f24d899c170 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812984 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "PacktPublishing/Augmented-Reality-for-Developers",
"max_stars_repo_path": "Chapter08/Scripts/PictureMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132204"
} | starcoder | using UnityEngine;
public abstract class PictureMenu : MonoBehaviour {
public ClickableObject[] clickableObjects;
protected PictureController picture;
protected GameObject toolbar;
void Start() {
SubscribeClickableObjects();
InitMenu();
}
void OnEnable() {
Debug.Log(... | 2.114568 | ef2017eb26c6aec65def3d23da9009fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812985 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RikiZilber/LicensingOffice",
"max_stars_repo_path": "WpfUI/TesterWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132205"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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.Me... | 1.57869 | 2b0b68728f2ee8e85927ec4cbc66ea66 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812986 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruanhash/Design-Pattern-Samples",
"max_stars_repo_path": "DesignPatternSamples-main/src/WebAPI/Models/IResultModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132206"
} | starcoder | <reponame>ruanhash/Design-Pattern-Samples
using System.Collections.Generic;
namespace DesignPatternSamples.WebAPI.Models
{
public interface IResultModel<TEntity>
{
bool HasSucceeded { get; }
IEnumerable<ResultDetail> Details { get; }
TEntity Data { get; }
}
} | 1.720049 | 2530afb9773d6350143210b249bf5782 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812987 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SMaleck/unity-utilities-unirx",
"max_stars_repo_path": "Runtime/Utility/IDisposer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132207"
} | starcoder | <reponame>SMaleck/unity-utilities-unirx
using System;
namespace UtilitiesUniRx.Utility
{
public interface IDisposer
{
void Add(IDisposable disposable);
}
} | 1.470919 | 7e3e02f77e3480977f37fae3c51a0d87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812988 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bloomerang/elasticsearch-net",
"max_stars_repo_path": "src/Tests/Elasticsearch.Net.Integration.Yaml/cat.count/10_basic.yaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132208"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.CatCount1
{
public partial class CatCount1YamlTests
{
[NCrunch.Framework.ExclusivelyUses("ElasticsearchYamlTests")]
public class TestCatCountHelp1Tests : YamlTestsBase
{
... | 2.115482 | d02112ddeea53907504b50f7e85d3dc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812989 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mordeus/uMod.SevenDaysToDie",
"max_stars_repo_path": "src/SevenDaysToDieExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132209"
} | starcoder | <reponame>Mordeus/uMod.SevenDaysToDie
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using uMod.Extensions;
using uMod.Unity;
using UnityEngine;
namespace uMod.SevenDaysToDie
{
/// <summary>
/// The extension class that represents this extension
/// </summary>
... | 1.691874 | 6f4999fd1394a5e8dcace787c83dcc5d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812990 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "dizzy2003/TextureWangBeta",
"max_stars_repo_path": "Assets/TextureWang/Scripts/Nodes/TextureNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132210"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text.RegularExpressions;
using NodeEditorFramework;
using NodeEditorFramework.Utilities;
using UnityEditor;
using UnityEngine;
namespace Assets.TextureWang.Scripts.Nodes
{
public abstract class TextureNode : Node
{
p... | 1.858031 | e069b3b274bc3a2812c892c8cb2c0423 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812991 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "StendProg/QuickPlot",
"max_stars_repo_path": "dev/v0.4/QuickPlot/PlotSettings/TickCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132211"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace QuickPlot.PlotSettings
{
public enum Side { left, right, bottom, top };
struct Tick
{
public double value;
public string label;
public Tick(double value, string label)
{
... | 3.418329 | 6bf2d0adf79591cafb46f42350034d00 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812992 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MotasemZakarneh/GW_Lib",
"max_stars_repo_path": "General_Components/Spawners/SpawnRnd.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132212"
} | starcoder | using System;
using UnityEngine;
namespace GW_Lib.Utility
{
public class SpawnRND : MonoBehaviour
{
[SerializeField] Transform spawnPos = null;
[SerializeField] bool spawnOnDisable = true;
[SerializeField] bool spawnOnEnable = false;
[SerializeField] PairSelectionMode pai... | 2.357048 | 551137daece8cba782a5b6bd6f326def |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812993 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "PeterOrneholm/CogntitiveWorkbench",
"max_stars_repo_path": "src/Orneholm.CognitiveWorkbench.Web/Views/Shared/CustomVision/_CustomVisionResult.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:132213"
} | starcoder | <filename>src/Orneholm.CognitiveWorkbench.Web/Views/Shared/CustomVision/_CustomVisionResult.cshtml
@using Orneholm.CognitiveWorkbench.Web.Extensions
@using Orneholm.CognitiveWorkbench.Web.Models.CustomVision
@model CustomVisionViewModel
<div class="mb-5">
<h4>Predictions</h4>
<table class="table table-striped... | 2.498068 | 87bb06653b10c8755363eeac885d9971 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812994 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SoliaRdi/TeraCompass",
"max_stars_repo_path": "TeraCompass/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132214"
} | starcoder | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using Caliburn.Micro;
using MessageBoxImage = System.Windows... | 2.121682 | 8766006c84b3fcac84eaed17c831e8b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812995 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "simonec73/threatsmanager",
"max_stars_repo_path": "Samples/SampleWinFormExtensions/DefinitionContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132215"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace SampleWinFormExtensions
{
[JsonObject(MemberSerialization.OptIn)]
public class DefinitionContainer
{
[JsonProperty("definitions")]
private Dictionary<string, string> _definitions { get; set; }
pu... | 2.887841 | 9b7624280c78c387192424fadb48e61d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812996 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "R-N/UNETTest",
"max_stars_repo_path": "Assets/Scripts/NATServer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132216"
} | starcoder | using UnityEngine.Networking;
/**
* Each time a client punches through to the server a NATServer is spawned to handle the connection
* The NATServer listens on the port that was punched through to and when a connection
* comes in it is added to the NetworkServer via AddExternalConnection so that all the HLAPI stuf... | 2.438228 | 2193f7cdf5f814833544b4e39e381524 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812997 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "mjgpinheiro/Core",
"max_stars_repo_path": "Quantler.Brokers/BrokerTools/Latency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132217"
} | starcoder | <filename>Quantler.Brokers/BrokerTools/Latency.cs
#region License Header
/*
* QUANTLER.COM - Quant Fund Development Platform
* Quantler Core Trading Engine. Copyright 2018 Quantler B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... | 2.80152 | ef667c81107b66044cda16cb7f01be63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812998 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "EndGameGl/.NetBungieAPI",
"max_stars_repo_path": "DotNetBungieAPI.Generated/Models/BungieMembershipType[].cs",
"provenance": "train-00027-of-00045.jsonl.gz:132218"
} | starcoder | <gh_stars>10-100
using System.Text.Json.Serialization;
namespace DotNetBungieAPI.Generated.Models;
| 0.977911 | 2b6aed33a08c5cc6c3435e61469a65a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8812999 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "lumpn/infinite-zelda",
"max_stars_repo_path": "Lumpn.Profiling/Sample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132219"
} | starcoder | <reponame>lumpn/infinite-zelda
using System.Collections.Generic;
using System.Diagnostics;
namespace Lumpn.Profiling
{
public sealed class Sample
{
private readonly string name;
private long begin, end;
private readonly Sample parent;
private readonly List<Sample> children = n... | 2.655231 | 48345ed918d2dd16b09ffef9ade95fb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813000 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ZunTzu-Software/ZunTzu",
"max_stars_repo_path": "ZunTzu/ZunTzu/Control/Messages/DragDropAbortedMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132220"
} | starcoder | // Copyright (c) 2020 ZunTzu Software and contributors
using System;
using System.Reflection;
using ZunTzu.Modelization;
namespace ZunTzu.Control.Messages {
/// <summary>DragDropAbortedMessage.</summary>
[ObfuscationAttribute(Exclude = true, ApplyToMembers = false)]
public sealed class DragDropAbortedMessage : Me... | 2.11038 | 86278499cacc31960b08adc59906b685 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813001 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "dotnet-dash/dash",
"max_stars_repo_path": "src/Dash/src/Dash/Engine/ISourceCodeParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132221"
} | starcoder | <filename>src/Dash/src/Dash/Engine/ISourceCodeParser.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using Dash.Nodes;
namespace Dash.Engine
{
public interface ISourceCodeParser
{
SourceCodeNo... | 1.6549 | 9ed679118d292ca0b7a9033e5be423e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813002 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "timothy-b/csharp-bandwidth",
"max_stars_repo_path": "src/Bandwidth.Net/XmlV2/Verbs/SpeakSentence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132222"
} | starcoder | <filename>src/Bandwidth.Net/XmlV2/Verbs/SpeakSentence.cs
using System;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using Bandwidth.Net.Xml;
namespace Bandwidth.Net.XmlV2.Verbs
{
/// <summary>
/// The SpeakSentence verb is used to convert any text into speak for the caller.
/// <... | 2.987611 | 7624111c256bfea149ab9dd2716fce19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813003 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maqqr/fgj2020",
"max_stars_repo_path": "SuperMouseRTS/Assets/SuperMouseRTS/Scripts/Players/PlayerStatusSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132223"
} | starcoder | using System;
using System.Collections.Generic;
using Unity.Burst;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Transforms;
using UnityEngine;
using static Unity.Mathematics.math;
public class PlayerStatusSystem : ComponentSystem
{
private GameInfoControlle... | 2.203287 | 99f93d595c6df3108a9e9dd443ba0a9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813004 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "badrshs/aspnetcore",
"max_stars_repo_path": "src/Shared/RazorViews/BaseView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132224"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.T... | 2.350594 | 998c086f5e12e7b903796daf5e745ee9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813005 | {
"extension": "c-sharp",
"max_stars_count": "192.0",
"max_stars_repo_name": "isdataninja/powerbi-powershell",
"max_stars_repo_path": "src/Common/Common.Api/Datasets/PatchDatasetRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132225"
} | starcoder | /*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
using Microsoft.PowerBI.Common.Api.Helpers;
namespace Microsoft.PowerBI.Common.Api.Datasets
{
public class PatchDatasetRequest
{
public DatasetStorageMode TargetStorageMode { get; set; }
... | 2.067877 | 31dce412ab5d0effc16ebf531d54acd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813006 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChallengerCY/CSharp-String",
"max_stars_repo_path": "CSharpReferenceType/CSharpReferenceType/Demo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132226"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpReferenceType
{
class Demo
{
static void Main(string[] args)
{
//三种引用类型,object,string,dynamic
// System.Object, System.String, System.Dyna... | 3.755824 | b2c8421d514f36517a4bb8c30a91d385 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813007 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "logwinow/Portfolio",
"max_stars_repo_path": "Hold at zero/Assets/Scripts/TutorOverloadOnFeature.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132227"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TutorOverloadOnFeature : MonoBehaviour
{
protected Slider refSlider;
protected Feature feature;
public bool isActive = false;
//public Action Callback { get; set; }
void... | 1.669492 | a96092fc09e99478fee242fc78cc6e6d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813008 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tmat/Nerdbank.Streams",
"max_stars_repo_path": "test/Nerdbank.Streams.Tests/DuplexPipeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132228"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO.Pipelines;
using System.Threading.Tasks;
using Nerdbank.Streams;
using Xunit;
public class DuplexPipeTests
{
[Fact]
public void Cto... | 2.335302 | e5d5b4e2cf7136e4a36272cd7d775b8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813009 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "suiyanxiang/XinSiYuanKanBan",
"max_stars_repo_path": "sourcecode/WFCommon/VM/VM_WF_T_MSG.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132229"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WFCommon.Utility;
using WFCore;
namespace WFCommon.VM
{
public class VM_WF_T_MSG : WF_T_MSG
{
[PublicCodeConverter("YESNO")]
public new string IsRead { get; set; }
[PublicCodeConverter("YESNO")]
... | 1.14422 | 341e8536beb8af9e69f80b12eb36d7f8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813010 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Realtao/corefx",
"max_stars_repo_path": "src/System.Net.Primitives/tests/FunctionalTests/NetworkCredentialTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132230"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.Net.Primitives.Functional.Tests
{
public static class NetworkCredentialTest
{
[Fact]
public static void Ctor_Emp... | 2.445898 | 30f7c98f5cc85f13b1caa8e04ca3f095 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813011 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BadBabyJames/ritual",
"max_stars_repo_path": "Assets/XboxCtrlrInput/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132231"
} | starcoder | using System;
namespace XInputDotNetPure
{
static class Utils
{
public const uint Success = 0x000;
public const uint NotConnected = 0x000;
private const int LeftStickDeadZone = 7849;
private const int RightStickDeadZone = 8689;
private const int TriggerDeadZone = 30;
public static float ApplyTriggerDe... | 2.766575 | 9fbf7fa165c3a5e8bd20e98eb112915e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813012 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bagoum/suzunoya",
"max_stars_repo_path": "BagoumLib/Tasks/Utilities.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132232"
} | starcoder | using System;
using System.Threading.Tasks;
using JetBrains.Annotations;
namespace BagoumLib.Tasks {
[PublicAPI]
public static class Utilities {
private static Action<Task> WrapRethrow(Action? cb) => t => {
Exception? exc = t.Exception;
try {
cb?.Invoke();
} catch (Exception e)... | 3.003657 | f1646682dc162926edd8d58d0dde72d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813013 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "victorbellini1981/loja",
"max_stars_repo_path": "Back/Loja.API/Data/Migrations/20210921134302_initial.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132233"
} | starcoder | <filename>Back/Loja.API/Data/Migrations/20210921134302_initial.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Loja.API.Data.Migrations
{
public partial class initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationB... | 2.171983 | a328d4a458c1a16960a26050e2c54e33 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813014 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Albeoris/MMXLegacy",
"max_stars_repo_path": "Legacy.Core/Core/Entities/InteractiveObjects/NpcContainer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132234"
} | starcoder | <filename>Legacy.Core/Core/Entities/InteractiveObjects/NpcContainer.cs
using System;
using Legacy.Core.Api;
using Legacy.Core.SaveGameManagement;
namespace Legacy.Core.Entities.InteractiveObjects
{
public class NpcContainer : IndoorSceneBase
{
private Int32 m_autoStartNPC = -1;
private Int32 m_startDialogID = ... | 2.345942 | 3d3f435ca700a5d940cd2ffd6b711497 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813015 | {
"extension": "c-sharp",
"max_stars_count": "183.0",
"max_stars_repo_name": "JohnPKosh/azos",
"max_stars_repo_path": "src/Azos.Sky/Log/SkyZoneSink.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132235"
} | starcoder | <gh_stars>100-1000
/*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Collections.Generic;
using ... | 2.024735 | 3d81165673644e15ccde789680056cc7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813016 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CrispyDrone/NuKeeper",
"max_stars_repo_path": "Nukeeper.AzureDevOps.Tests/AzureDevopsRestTypesTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132236"
} | starcoder | using Newtonsoft.Json;
using NUnit.Framework;
namespace NuKeeper.AzureDevOps.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.All)]
public class AzureDevopsRestTypesTests
{
[TestCase((long)0)]
[TestCase((long)2147483647)] //int.MaxValue
[TestCase((long)4294967295)] //uint.Max... | 2.53111 | 405886a95dab749b598c99816240eda5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8813017 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "theletterf/signalfx-dotnet-tracing",
"max_stars_repo_path": "tracer/src/Datadog.Trace/Vendors/dnlib/DotNet/Pdb/Symbols/SymbolSequencePoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:132237"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated />
// This file was automatically generated by the UpdateVendors tool.
//------------------------------------------------------------------------------
// dnlib: See LICENSE.txt for more info
using System.Diagnostics;
u... | 1.867693 | 7a6976c5268c10f8310169be894f28b0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.