- a
- b
- c
- A
- B
- d
- C
- e
- D
| FROM ubuntu:16.04 | |
| RUN apt-get update && \ | |
| apt-get install -y curl apt-transport-https && \ | |
| curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \ | |
| curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list && \ | |
| apt-get update && \ | |
| ACCEPT_EULA=Y DEBIAN_FRONTEND=noninteractive apt-get install -y mssql-tools unixodbc-dev && \ | |
| locale-gen en_US en_US.UTF-8 && \ | |
| ln -s /opt/mssql-tools/bin/sqlcmd-13.0.1.0 /usr/bin/sqlcmd && \ |
| using System; | |
| using System.Diagnostics.Tracing; | |
| using System.Diagnostics; | |
| class Program | |
| { | |
| class MyEventListener : EventListener | |
| { | |
| protected override void OnEventWritten(EventWrittenEventArgs eventData) | |
| { |
| using System; | |
| using System.Threading.Tasks; | |
| namespace optionalresulttest | |
| { | |
| public static class Result | |
| { | |
| public static Result<T> From<T>(Func<T> generateFunc) | |
| { | |
| try | |
| { |
| FROM ubuntu:xenial | |
| # if you need to http proxy | |
| # ENV http_proxy=http://proxy:8080 | |
| # ENV https_proxy=http://proxy:8080 | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| build-essential \ | |
| libffi-dev \ |
| namespace StanTest | |
| { | |
| using System; | |
| using STAN.Client; | |
| using System.Threading.Tasks; | |
| using System.Threading; | |
| using System.Text; | |
| static class Tests | |
| { | |
| public static async Task CreateProducerTask(StanConnectionFactory cf, StanOptions opts) |
| using System; | |
| using NATS.Client; | |
| namespace natstest | |
| { | |
| class Program | |
| { | |
| static void i32tobytes(int val, ref byte[] buf) | |
| { | |
| buf[0] = (byte)(val & 0xff); |
| using System; | |
| using System.Buffers; | |
| namespace bufferpooltest | |
| { | |
| class Program | |
| { | |
| const int LoopCount = 100000000; | |
| static void ArrayPoolTest(int loopCount, int bufferSize) | |
| { |
| namespace bufferpooltest | |
| { | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Stopwatch = System.Diagnostics.Stopwatch; | |
| static class TestValueArray | |
| { | |
| const int LoopCount = 100000000; |
| using System; | |
| namespace netmqtest | |
| { | |
| using NetMQ; | |
| using NetMQ.Sockets; | |
| using System.Threading.Tasks; | |
| using System.Threading; | |
| using System.Linq; | |
| class Program |