Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
900 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Remove redundant EntryPoint | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
901 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Remove redundant EntryPoint | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
902 | <NME> app.config
<BEF> ADDFILE
<MSG> Added Magtek example back in. I honestly forgot I had deleted it.
<DFF> @@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<configuration>
+<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
| 3 | Added Magtek example back in. I honestly forgot I had deleted it. | 0 | .config | config | mit | mikeobrien/HidLibrary |
903 | <NME> app.config
<BEF> ADDFILE
<MSG> Added Magtek example back in. I honestly forgot I had deleted it.
<DFF> @@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<configuration>
+<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
| 3 | Added Magtek example back in. I honestly forgot I had deleted it. | 0 | .config | config | mit | mikeobrien/HidLibrary |
904 | <NME> TestHarness.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)'... | 19 | Merge pull request #28 from rvlieshout/master | 1 | .csproj | csproj | mit | mikeobrien/HidLibrary |
905 | <NME> TestHarness.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)'... | 19 | Merge pull request #28 from rvlieshout/master | 1 | .csproj | csproj | mit | mikeobrien/HidLibrary |
906 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 35 | Refactored last commit to follow the Read/Write pattern established by the library | 16 | .cs | cs | mit | mikeobrien/HidLibrary |
907 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 35 | Refactored last commit to follow the Read/Write pattern established by the library | 16 | .cs | cs | mit | mikeobrien/HidLibrary |
908 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Merge pull request #76 from bprescott/gethidreport | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
909 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Merge pull request #76 from bprescott/gethidreport | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
910 | <NME> KeyValuePairEncoder.java
<BEF> ADDFILE
<MSG> initial ideas
<DFF> @@ -0,0 +1,17 @@
+package com.github.structlog4j.format;
+
+/**
+ * Standard key value pair encoder that formats messages as:
+ * message key1=value1 key2=value2 etc
+ */
+public class KeyValuePairEncoder implements IEncoder {
+
+ private static... | 17 | initial ideas | 0 | .java | java | mit | jacek99/structlog4j |
911 | <NME> Tests.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net46</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="Should" Version="1.... | 3 | New Model 30 Reader console example | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
912 | <NME> Tests.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net46</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="Should" Version="1.... | 3 | New Model 30 Reader console example | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
913 | <NME> rakefile.rb
<BEF> ADDFILE
<MSG> Added nuget package and deploy to the build script.
<DFF> @@ -0,0 +1,84 @@
+require "albacore"
+require "release/filesystem"
+require "release/nuget"
+
+task :default => [:unitTests]
+
+desc "Inits the build"
+task :initBuild do
+ FileSystem.EnsurePath("reports")
+end
+
... | 84 | Added nuget package and deploy to the build script. | 0 | .rb | rb | mit | mikeobrien/HidLibrary |
914 | <NME> rakefile.rb
<BEF> ADDFILE
<MSG> Added nuget package and deploy to the build script.
<DFF> @@ -0,0 +1,84 @@
+require "albacore"
+require "release/filesystem"
+require "release/nuget"
+
+task :default => [:unitTests]
+
+desc "Inits the build"
+task :initBuild do
+ FileSystem.EnsurePath("reports")
+end
+
... | 84 | Added nuget package and deploy to the build script. | 0 | .rb | rb | mit | mikeobrien/HidLibrary |
915 | <NME> Tests.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net46</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="Should" Version="1.... | 1 | Added IHidDevice and IHidEnumerator interfaces for testing purposes. Created and tested HidEnumerator instance class wrapper for HidDevices. | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
916 | <NME> Tests.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net46</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="Should" Version="1.... | 1 | Added IHidDevice and IHidEnumerator interfaces for testing purposes. Created and tested HidEnumerator instance class wrapper for HidDevices. | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
917 | <NME> README.md
<BEF> 
Structured logging Java, on top of the SLF4J API.
Designed to generate easily parsable log messages for consumption in services such as LogStash, Splunk, ElasticSearch, etc.
## Adding to your project
The artifacts for this library are published to the popular Bintra... | 1 | fix docs | 1 | .md | md | mit | jacek99/structlog4j |
918 | <NME> IHidDevice.cs
<BEF> using System;
using System.Threading.Tasks;
namespace HidLibrary
{
public delegate void InsertedEventHandler();
public delegate void RemovedEventHandler();
public enum DeviceMode
{
NonOverlapped = 0,
Overlapped = 1
}
Overlapped = 1
}
publ... | 10 | Modified to allow share mode control | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
919 | <NME> IHidDevice.cs
<BEF> using System;
using System.Threading.Tasks;
namespace HidLibrary
{
public delegate void InsertedEventHandler();
public delegate void RemovedEventHandler();
public enum DeviceMode
{
NonOverlapped = 0,
Overlapped = 1
}
Overlapped = 1
}
publ... | 10 | Modified to allow share mode control | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
920 | <NME> Main.Designer.cs
<BEF> namespace TestHarness
{
partial class Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... | 16 | CS0108 'Main.Refresh' hides inherited member 'Control.Refresh()'. Use the new keyword if hiding was intended. | 16 | .cs | Designer | mit | mikeobrien/HidLibrary |
921 | <NME> Main.Designer.cs
<BEF> namespace TestHarness
{
partial class Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... | 16 | CS0108 'Main.Refresh' hides inherited member 'Control.Refresh()'. Use the new keyword if hiding was intended. | 16 | .cs | Designer | mit | mikeobrien/HidLibrary |
922 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 7 | Fixed a typo and a added an else for clarity. | 4 | .cs | cs | mit | mikeobrien/HidLibrary |
923 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 7 | Fixed a typo and a added an else for clarity. | 4 | .cs | cs | mit | mikeobrien/HidLibrary |
924 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 9 | Added getters for Product, Manufacturer, and Serial Number strings | 0 | .cs | cs | mit | mikeobrien/HidLibrary |
925 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 9 | Added getters for Product, Manufacturer, and Serial Number strings | 0 | .cs | cs | mit | mikeobrien/HidLibrary |
926 | <NME> README.md
<BEF> 
Structured logging Java, on top of the SLF4J API.
Designed to generate easily parsable log messages for consumption in services such as LogStash, Splunk, ElasticSearch, etc.
## Adding to your project
The artifacts for this library are published to the popular Bintra... | 13 | Updated docs | 6 | .md | md | mit | jacek99/structlog4j |
927 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 1 | Updated readme. | 1 | .md | md | mit | mikeobrien/HidLibrary |
928 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 1 | Updated readme. | 1 | .md | md | mit | mikeobrien/HidLibrary |
929 | <NME> HidDevices.cs
<BEF> using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
namespace HidLibrary
{
public class HidDevices
{
private static Guid _hidClassGuid = Guid.Empty;
public static bool IsConnected(string d... | 5 | Merge pull request #75 from bprescott/EnumerateUserPage | 0 | .cs | cs | mit | mikeobrien/HidLibrary |
930 | <NME> HidDevices.cs
<BEF> using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
namespace HidLibrary
{
public class HidDevices
{
private static Guid _hidClassGuid = Guid.Empty;
public static bool IsConnected(string d... | 5 | Merge pull request #75 from bprescott/EnumerateUserPage | 0 | .cs | cs | mit | mikeobrien/HidLibrary |
931 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 5 | Merge pull request #61 from marekr/patch-2 | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
932 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 5 | Merge pull request #61 from marekr/patch-2 | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
933 | <NME> HidLibrary.csproj
<BEF> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net20;net35;net40;net45;netstandard2</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>3.2.49</Version>
<Company>Ultraviolet Catastrophe</Company>
<Copyright>Copyright © 2011-... | 1 | Added HidFastReadDevice class that implements Read methods without checking connection status first. The user would need to check connection status periodically. | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
934 | <NME> HidLibrary.csproj
<BEF> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net20;net35;net40;net45;netstandard2</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>3.2.49</Version>
<Company>Ultraviolet Catastrophe</Company>
<Copyright>Copyright © 2011-... | 1 | Added HidFastReadDevice class that implements Read methods without checking connection status first. The user would need to check connection status periodically. | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
935 | <NME> README.md
<BEF> 
Structured logging Java, on top of the SLF4J API.
Designed to generate easily parsable log messages for consumption in services such as LogStash, Splunk, ElasticSearch, etc.
## Adding to your project
The artifacts for this library are published to the popular Bintra... | 2 | fixed up docs | 2 | .md | md | mit | jacek99/structlog4j |
936 | <NME> README.md
<BEF> 
Structured logging Java, on top of the SLF4J API.
Designed to generate easily parsable log messages for consumption in services such as LogStash, Splunk, ElasticSearch, etc.
## Adding to your project
The artifacts for this library are published to the popular Bintra... | 2 | fixed up docs | 2 | .md | md | mit | jacek99/structlog4j |
937 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 3 | Use New Native Methods | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
938 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 3 | Use New Native Methods | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
939 | <NME> YamlTestUtils.java
<BEF> ADDFILE
<MSG> Merge pull request #2 from jacek99/1.0
1.0: added YAML, FindBugs, minor refactoring
<DFF> @@ -0,0 +1,45 @@
+package com.github.structlog4j.yaml.test;
+
+import java.io.StringReader;
+import java.util.List;
+import javax.json.Json;
+import javax.json.JsonReader;
+import java... | 45 | Merge pull request #2 from jacek99/1.0 | 0 | .java | java | mit | jacek99/structlog4j |
940 | <NME> gulpfile.js
<BEF> ADDFILE
<MSG> Moved to gulp.
<DFF> @@ -0,0 +1,59 @@
+var gulp = require('gulp'),
+ args = require('yargs').argv,
+ assemblyInfo = require('gulp-dotnet-assembly-info'),
+ msbuild = require('gulp-msbuild'),
+ nunit = require('gulp-nunit-runner'),
+ Nuget = require('nuget-runner');
... | 59 | Moved to gulp. | 0 | .js | js | mit | mikeobrien/HidLibrary |
941 | <NME> gulpfile.js
<BEF> ADDFILE
<MSG> Moved to gulp.
<DFF> @@ -0,0 +1,59 @@
+var gulp = require('gulp'),
+ args = require('yargs').argv,
+ assemblyInfo = require('gulp-dotnet-assembly-info'),
+ msbuild = require('gulp-msbuild'),
+ nunit = require('gulp-nunit-runner'),
+ Nuget = require('nuget-runner');
... | 59 | Moved to gulp. | 0 | .js | js | mit | mikeobrien/HidLibrary |
942 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 1 | Undid change to Write method. That may need to be fixed later, but not with this commit. | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
943 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 1 | Undid change to Write method. That may need to be fixed later, but not with this commit. | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
944 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 16 | Merged in description and perf updates from @GeorgeHahn. | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
945 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 16 | Merged in description and perf updates from @GeorgeHahn. | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
946 | <NME> GemOld.rb
<BEF> ADDFILE
<MSG> Some gem tweaks
<DFF> @@ -0,0 +1,33 @@
+require 'rubygems'
+require 'rake/gempackagetask'
+
+task :default => [:init, :package, :clean]
+
+task :clean do
+ if FileTest.exists?("lib") then FileUtils.rm_rf("lib") end
+end
+
+task :init do
+ if FileTest.exists?("lib") then FileUtils.rm... | 33 | Some gem tweaks | 0 | .rb | rb | mit | mikeobrien/HidLibrary |
947 | <NME> GemOld.rb
<BEF> ADDFILE
<MSG> Some gem tweaks
<DFF> @@ -0,0 +1,33 @@
+require 'rubygems'
+require 'rake/gempackagetask'
+
+task :default => [:init, :package, :clean]
+
+task :clean do
+ if FileTest.exists?("lib") then FileUtils.rm_rf("lib") end
+end
+
+task :init do
+ if FileTest.exists?("lib") then FileUtils.rm... | 33 | Some gem tweaks | 0 | .rb | rb | mit | mikeobrien/HidLibrary |
948 | <NME> HidFastReadDevice.cs
<BEF> using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HidLibrary
{
public class HidFastReadDevice : HidDevice
{
// FastRead assumes that the device is connected,
// which could cause stability issues if hardware is
... | 5 | Added missing ctor on fast hid device. | 7 | .cs | cs | mit | mikeobrien/HidLibrary |
949 | <NME> HidFastReadDevice.cs
<BEF> using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HidLibrary
{
public class HidFastReadDevice : HidDevice
{
// FastRead assumes that the device is connected,
// which could cause stability issues if hardware is
... | 5 | Added missing ctor on fast hid device. | 7 | .cs | cs | mit | mikeobrien/HidLibrary |
950 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 1 | Updated the readme. | 1 | .md | md | mit | mikeobrien/HidLibrary |
951 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 1 | Updated the readme. | 1 | .md | md | mit | mikeobrien/HidLibrary |
952 | <NME> HidDevices.cs
<BEF> using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
namespace HidLibrary
{
public class HidDevices
{
private static Guid _hidClassGuid = Guid.Empty;
public static bool IsConnected(string d... | 11 | Check for success consistently | 7 | .cs | cs | mit | mikeobrien/HidLibrary |
953 | <NME> HidDevices.cs
<BEF> using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
namespace HidLibrary
{
public class HidDevices
{
private static Guid _hidClassGuid = Guid.Empty;
public static bool IsConnected(string d... | 11 | Check for success consistently | 7 | .cs | cs | mit | mikeobrien/HidLibrary |
954 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 2 | IDE0059 Unnecessary assignment of a value | 2 | .cs | cs | mit | mikeobrien/HidLibrary |
955 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 2 | IDE0059 Unnecessary assignment of a value | 2 | .cs | cs | mit | mikeobrien/HidLibrary |
956 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | CreateFile was invalid on x64 https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
957 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | CreateFile was invalid on x64 https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
958 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 4 | Merge pull request #118 from Techsola/broken_unused_pinvoke_definitions | 130 | .cs | cs | mit | mikeobrien/HidLibrary |
959 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 4 | Merge pull request #118 from Techsola/broken_unused_pinvoke_definitions | 130 | .cs | cs | mit | mikeobrien/HidLibrary |
960 | <NME> README.md
<BEF> 
Structured logging Java, on top of the SLF4J API.
Designed to generate easily parsable log messages for consumption in services such as LogStash, Splunk, ElasticSearch, etc.
## Adding to your project
The artifacts for this library are published to the popular Bintra... | 1 | doc cleanup | 1 | .md | md | mit | jacek99/structlog4j |
961 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 5 | Fix DeviceOpen usage | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
962 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 5 | Fix DeviceOpen usage | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
963 | <NME> YamlTestUtils.java
<BEF> ADDFILE
<MSG> 1.0: added YAML, FindBugs, minor refactoring
<DFF> @@ -0,0 +1,45 @@
+package com.github.structlog4j.yaml.test;
+
+import java.io.StringReader;
+import java.util.List;
+import javax.json.Json;
+import javax.json.JsonReader;
+import javax.json.JsonStructure;
+import lombok.ex... | 45 | 1.0: added YAML, FindBugs, minor refactoring | 0 | .java | java | mit | jacek99/structlog4j |
964 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | DEVPROPID is ULONG which maps to C#'s uint https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types#ulong | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
965 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | DEVPROPID is ULONG which maps to C#'s uint https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types#ulong | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
966 | <NME> HidLibrary.csproj
<BEF> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net20;net35;net40;net45;netstandard2</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>3.2.49</Version>
<Company>Ultraviolet Catastrophe</Company>
<Copyright>Copyright © 2011-... | 1 | Merge pull request #43 from amullins83/fast_read | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
967 | <NME> HidLibrary.csproj
<BEF> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net20;net35;net40;net45;netstandard2</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>3.2.49</Version>
<Company>Ultraviolet Catastrophe</Company>
<Copyright>Copyright © 2011-... | 1 | Merge pull request #43 from amullins83/fast_read | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
968 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 2 | Merge pull request #49 from BrunoJuchli/patch-1 | 2 | .md | md | mit | mikeobrien/HidLibrary |
969 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 2 | Merge pull request #49 from BrunoJuchli/patch-1 | 2 | .md | md | mit | mikeobrien/HidLibrary |
970 | <NME> Tests.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net46</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="Should" Version="1.... | 4 | Merge pull request #40 from amullins83/interfaces | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
971 | <NME> Tests.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net46</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="Should" Version="1.... | 4 | Merge pull request #40 from amullins83/interfaces | 0 | .csproj | csproj | mit | mikeobrien/HidLibrary |
972 | <NME> README.md
<BEF> Hid Library
=============
This library enables you to enumerate and communicate with Hid compatible USB devices in .NET. It offers synchronous and asynchronous read and write functionality as well as notification of insertion and removal of a device. This library works on x86 and x64.
**Not... | 2 | Updated readme | 2 | .md | md | mit | mikeobrien/HidLibrary |
973 | <NME> README.md
<BEF> Hid Library
=============
This library enables you to enumerate and communicate with Hid compatible USB devices in .NET. It offers synchronous and asynchronous read and write functionality as well as notification of insertion and removal of a device. This library works on x86 and x64.
**Not... | 2 | Updated readme | 2 | .md | md | mit | mikeobrien/HidLibrary |
974 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 2 | IDE1005 Delegate invocation can be simplified. | 2 | .cs | cs | mit | mikeobrien/HidLibrary |
975 | <NME> HidDevice.cs
<BEF> using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace HidLibrary
{
public class HidDevice : IHidDevice
{
public event InsertedEventHandler Inserted;
public event RemovedEventHandler Removed;
private... | 2 | IDE1005 Delegate invocation can be simplified. | 2 | .cs | cs | mit | mikeobrien/HidLibrary |
976 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
internal const short FILE_SHARE_WRITE = ... | 15 | Use DefaultCharSet instead of overriding CharSet everywhere | 13 | .cs | cs | mit | mikeobrien/HidLibrary |
977 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
internal const short FILE_SHARE_WRITE = ... | 15 | Use DefaultCharSet instead of overriding CharSet everywhere | 13 | .cs | cs | mit | mikeobrien/HidLibrary |
978 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 8 | Updated README. | 1 | .md | md | mit | mikeobrien/HidLibrary |
979 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 8 | Updated README. | 1 | .md | md | mit | mikeobrien/HidLibrary |
980 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | DEVPROPTYPE is ULONG which maps to C#'s uint https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types#ulong | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
981 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | DEVPROPTYPE is ULONG which maps to C#'s uint https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types#ulong | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
982 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Specify CharSet rather than EntryPoint | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
983 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Specify CharSet rather than EntryPoint | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
984 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Use Unicode for SetupDiGetDeviceRegistryProperty | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
985 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Use Unicode for SetupDiGetDeviceRegistryProperty | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
986 | <NME> HidLibrary.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platfor... | 13 | Multitarget to net20, net35, net40 through Theraot.Core (#97) | 23 | .csproj | csproj | mit | mikeobrien/HidLibrary |
987 | <NME> HidLibrary.csproj
<BEF> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platfor... | 13 | Multitarget to net20, net35, net40 through Theraot.Core (#97) | 23 | .csproj | csproj | mit | mikeobrien/HidLibrary |
988 | <NME> README.md
<BEF> <h3>There has been quite a bit of interest in this little library over the years but unfortunately I'm not able to support it at this time. I'm also unable to answer questions about using it with different devices. So you're on your own if you decide to use it. Please feel free to fork it or send ... | 5 | Updated README. | 5 | .md | md | mit | mikeobrien/HidLibrary |
989 | <NME> README.md
<BEF> <h3>There has been quite a bit of interest in this little library over the years but unfortunately I'm not able to support it at this time. I'm also unable to answer questions about using it with different devices. So you're on your own if you decide to use it. Please feel free to fork it or send ... | 5 | Updated README. | 5 | .md | md | mit | mikeobrien/HidLibrary |
990 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
internal const short FILE_SHA... | 143 | Fix mixed tabs and trailing whitespace | 143 | .cs | cs | mit | mikeobrien/HidLibrary |
991 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
internal const short FILE_SHA... | 143 | Fix mixed tabs and trailing whitespace | 143 | .cs | cs | mit | mikeobrien/HidLibrary |
992 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 0 | Remove unused p/invoke definitions (some invalid for x64) | 126 | .cs | cs | mit | mikeobrien/HidLibrary |
993 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 0 | Remove unused p/invoke definitions (some invalid for x64) | 126 | .cs | cs | mit | mikeobrien/HidLibrary |
994 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 9 | Merge pull request #29 from rvlieshout/master | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
995 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 9 | Merge pull request #29 from rvlieshout/master | 3 | .cs | cs | mit | mikeobrien/HidLibrary |
996 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 1 | Updated README. | 1 | .md | md | mit | mikeobrien/HidLibrary |
997 | <NME> README.md
<BEF> <h3>NOTE: Support is VERY limited for this library. It is almost impossible to troubleshoot issues with so many devices and configurations. The community may be able to offer some assistance <i>but you will largely be on your own</i>. If you submit an issue, please include a relevant code snippet ... | 1 | Updated README. | 1 | .md | md | mit | mikeobrien/HidLibrary |
998 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Expose GetInputReport and SetOutputReport through native interface | 1 | .cs | cs | mit | mikeobrien/HidLibrary |
999 | <NME> NativeMethods.cs
<BEF> using System;
using System.Runtime.InteropServices;
[module: DefaultCharSet(CharSet.Unicode)]
namespace HidLibrary
{
internal static class NativeMethods
{
internal const int FILE_FLAG_OVERLAPPED = 0x40000000;
internal const short FILE_SHARE_READ = 0x1;
int... | 1 | Expose GetInputReport and SetOutputReport through native interface | 1 | .cs | cs | mit | mikeobrien/HidLibrary |