Skip to content

Instantly share code, notes, and snippets.

Don Syme dsyme

  • Microsoft Research
View GitHub Profile
View gist:749e4ccc05402f6f25b7f80b58432ffd
-o:C:\GitHub\dsyme\visualfsharp\fcs\..\artifacts\obj\fcs\net461\FSharp.Compiler.Service.dll
--debug:portable
--noframework
--define:TRACE
--define:COMPILER_SERVICE_AS_DLL
--define:COMPILER
--define:ENABLE_MONO_SUPPORT
--define:NO_STRONG_NAMES
--define:RELEASE
--define:NETFRAMEWORK
View gist:cbeb525e7c7d16ee0ad2965bf747fb4a
module ResizeArray =
/// Split a ResizeArray into an array of smaller chunks.
/// This requires `items/chunkSize` Array copies of length `chunkSize` if `items/chunkSize % 0 = 0`,
/// otherwise `items/chunkSize + 1` Array copies.
let chunkBySize f chunkSize (items: ResizeArray<'t>) =
// we could use Seq.chunkBySize here, but that would involve many enumerator.MoveNext() calls that we can sidestep with a bit of math
let itemCount = items.Count
if itemCount = 0
then [||]
View gist:ef9363d3bde926ff0dd832d6a19e7415
'devenv.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'devenv.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.Platform.AppDomainManager.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'devenv.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'devenv.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugge
View gist:26bafd496360d01c2afe452dd8438796
GitHub pull request #10919 of commit 6976d7905b2b8fe8b8ebb0fe83c2fc70bce05df0, no merge conflicts.
Setting status of 6976d7905b2b8fe8b8ebb0fe83c2fc70bce05df0 to PENDING with url https://jenkins.mono-project.com/job/build-package-osx-mono-pullrequest/277/ and message: 'Build started for merge commit.'
Using context: OS X Package
Checking out git git://github.com/mono/mono.git into /var/lib/jenkins/jobs/build-package-osx-mono-pullrequest/workspace@script to read scripts/ci/pipeline/osx-package.groovy
> git rev-parse --is-inside-work-tree # timeout=100
Fetching changes from the remote Git repository
> git config remote.origin.url git://github.com/mono/mono.git # timeout=100
Fetching upstream changes from git://github.com/mono/mono.git
> git --version # timeout=100
using GIT_SSH to set credentials monojenkins GH user
View gist:7342c2d28a259ead6c2b99d6091c65c3
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.0/",
"signature": "d9c83112ea4a75ad4ff0d3609949d41acd3b7b5d"
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.0": {},
".NETStandard,Version=v2.0/": {
"FSharp.Data.SqlProvider/1.0.0": {
View gist:82c49d5cb63d04f3b2b3502d51e6277c
(**************************************
F# tests for validating tail calls
are correctly generated by the
compiler and taken by the .NET
runtime.
Tested and passes when ran against
F# v1.9.6.16
View gist:4f7ac042b3f6ceca08bdf8c7d71883c0
[00:06:43] C:\Program Files\dotnet\sdk\2.1.300\FSharp\RunFsc.cmd -o:obj\Release\net46\FSharp.Compiler.Service.Tests.dll
[00:06:43] --debug:portable
[00:06:43] --noframework
[00:06:43] --define:TRACE
[00:06:43] --define:RELEASE
[00:06:43] --define:NETFRAMEWORK
[00:06:43] --define:NET46
[00:06:43] --doc:obj\Release\net46\FSharp.Compiler.Service.Tests.xml
[00:06:43] --optimize+
[00:06:43] -r:C:\projects\fsharp-compiler-service\fcs\FSharp.Compiler.Service.Tests\CSharp_Analysis\bin\Release\net45\CSharp_Analysis.dll
View gist:1612911d84d6973e03ed246ab58961cc
C:\Users\dotnet-bot\AppData\Local\dotnetcore\sdk\2.1.201\FSharp\RunFsc.cmd -o:obj\Release\net46\FSharp.Compiler.Service.Tests.dll
--debug:portable
--noframework
--define:TRACE
--define:RELEASE
--define:NET46
--doc:obj\Release\net46\FSharp.Compiler.Service.Tests.xml
--optimize+
-r:D:\j\w\release_fcs_w---49a16363\fcs\FSharp.Compiler.Service.Tests\CSharp_Analysis\bin\Release\net45\CSharp_Analysis.dll
-r:C:\Users\dotnet-bot\.nuget\packages\dotnet.projinfo\0.9.0\lib\net45\Dotnet.ProjInfo.dll
View gist:e8fa1ec2ce1b65f43af3c1edad23d4e4
.method public hidebysig instance void Rec_f() cil managed
{
.custom instance void [BenchmarkDotNet.Core]BenchmarkDotNet.Attributes.BenchmarkAttribute::.ctor() = ( 01 00 00 00 )
// Code size 41 (0x29)
.maxstack 4
.locals init (valuetype Program/SingleRec V_0,
int32 V_1,
valuetype Program/SingleRec V_2)
IL_0000: ldc.i4.0
IL_0001: newobj instance void Program/SingleRec::.ctor(int32)
View gist:1d1f0f4f9fdad572990662fba4e79c74
.method public hidebysig instance void Rec() cil managed
{
.custom instance void [BenchmarkDotNet.Core]BenchmarkDotNet.Attributes.BenchmarkAttribute::.ctor() = ( 01 00 00 00 )
// Code size 41 (0x29)
.maxstack 4
.locals init (valuetype Program/SingleRec V_0,
int32 V_1,
valuetype Program/SingleRec& V_2)
IL_0000: ldc.i4.0
IL_0001: newobj instance void Program/SingleRec::.ctor(int32)
You can’t perform that action at this time.