content_type
stringclasses
8 values
main_lang
stringclasses
7 values
message
stringlengths
1
50
sha
stringlengths
40
40
patch
stringlengths
52
962k
file_count
int64
1
300
Go
Go
fix a small bug that could improperly cache
3a6d1228a83ba0f9dd96138ccccfa758c0956a62
<ide><path>builder/dispatchers.go <ide> func run(b *Builder, args []string, attributes map[string]bool) error { <ide> func cmd(b *Builder, args []string, attributes map[string]bool) error { <ide> b.Config.Cmd = handleJsonArgs(args, attributes) <ide> <del> if err := b.commit("", b.Config.Cmd, fmt.Sprintf("CMD %v", cmd...
1
Javascript
Javascript
remove support.reliablehiddenoffsets detect
02d7f9aee3fbe9b568702ecc4edd664245dc8917
<ide><path>src/css.js <ide> jQuery(function() { <ide> <ide> if ( jQuery.expr && jQuery.expr.filters ) { <ide> jQuery.expr.filters.hidden = function( elem ) { <del> return ( elem.offsetWidth === 0 && elem.offsetHeight === 0 ) || (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.c...
2
Python
Python
read features.msgpack instead of features.pkl
f102ef6b54bbc0ddaf7c093dee7fcacaf667c2ed
<ide><path>spacy/lang/zh/__init__.py <ide> def to_bytes(self, **kwargs): <ide> self.pkuseg_seg.feature_extractor.save(tempdir) <ide> self.pkuseg_seg.model.save(tempdir) <ide> tempdir = Path(tempdir) <del> with open(tempdir / "features.pkl", "rb") as fileh: ...
1
Javascript
Javascript
pass cacheversion param via the new api
828cd78866f69f8dc0e969ce19f6e615a640ee26
<ide><path>local-cli/bundle/buildBundle.js <ide> async function buildBundle( <ide> assetExts: defaultAssetExts.concat(assetExts), <ide> assetRegistryPath: ASSET_REGISTRY_PATH, <ide> blacklistRE: config.getBlacklistRE(), <add> cacheVersion: config.cacheVersion, <ide> dynamicDepsInPackages: config.dyna...
1
PHP
PHP
remove unused conditional
a3889bc48c89baaca8c274fd3f0f561e8799e3f5
<ide><path>src/Illuminate/Database/Eloquent/Model.php <ide> protected function performUpdate(Builder $query) <ide> // First we need to create a fresh query instance and touch the creation and <ide> // update timestamp on the model which are maintained by us for developer <ide> // convenience. Th...
1
Javascript
Javascript
use correct comments
87a7690afa8c56d2aee2f902b49e3932bb3a2449
<ide><path>src/manipulation.js <ide> jQuery.extend({ <ide> inPage = jQuery.contains( elem.ownerDocument, elem ), <ide> clone = elem.cloneNode( true ); <ide> <del> // Fix IE cloning issues <add> // Support: IE >=9 <add> // Fix Cloning issues <ide> if ( !jQuery.support.noCloneChecked && ( elem.nodeType === 1 ...
1
PHP
PHP
add error message when not using php 5.4
814669edf3134eae032eb6bb4b9ba863bdf150ac
<ide><path>src/Illuminate/Foundation/Console/ServeCommand.php <ide> class ServeCommand extends Command { <ide> */ <ide> public function fire() <ide> { <add> // The development server feature was added in PHP 5.4. <add> if (version_compare(PHP_VERSION, '5.4.0', '<')) <add> { <add> $this->error("PHP 5.4 is requi...
1
Javascript
Javascript
remove unnecessary template string
7cfd5f169c9f9f7765df190de2890e93331bb768
<ide><path>lib/internal/util/inspect.js <ide> function strEscape(str) { <ide> continue; <ide> } <ide> } <del> result += `${StringPrototypeSlice(str, last, i)}${`\\u${point.toString(16)}`}`; <add> result += `${StringPrototypeSlice(str, last, i)}\\u${point.toString(16)}`; <ide> las...
1
PHP
PHP
remember bloc doc
542312858b60a9c471b1516a6c962e2f8ed3ef37
<ide><path>src/Cache/Cache.php <ide> public static function enabled(): bool <ide> * <ide> * ``` <ide> * $results = Cache::remember('all_articles', function () { <del> * return $this->find('all'); <add> * return $this->find('all')->toArray(); <ide> * }); <ide> * ``` <ide> ...
1
Javascript
Javascript
use the correct terminology seq/iter/kind
9a50e89b259bab0394871e5657a44cc890860ee5
<ide><path>dist/immutable.js <ide> var $Iterable = Iterable; <ide> has: function(searchKey) { <ide> return this.get(searchKey, NOT_SET) !== NOT_SET; <ide> }, <del> isSubset: function(seq) { <del> seq = typeof seq.contains === 'function' ? seq : $Iterable(seq); <add> isSubset: function(iter) { <add> iter...
3
Ruby
Ruby
add more deprecations, disable some existing ones
2cbce1fbf0a7a361f2be8b3545998f1a36ab3588
<ide><path>Library/Homebrew/compat/ARGV.rb <ide> module HomebrewArgvExtension <ide> def build_32_bit? <del> odeprecated "ARGV.build_32_bit?" <del> include? "--32-bit" <add> odisabled "ARGV.build_32_bit?" <ide> end <ide> end <ide><path>Library/Homebrew/compat/ENV/shared.rb <ide> def j1 <ide> end <ide> <i...
20
PHP
PHP
add class_exists() check
ac2004180235a6f3f43281fc1f071f1a60ee367d
<ide><path>src/Core/ObjectRegistry.php <ide> public function load(string $objectName, array $config = []) <ide> $className = $objectName; <ide> if (is_string($objectName)) { <ide> $className = $this->_resolveClassName($objectName); <del> if ($className === null) { <add> ...
1
Text
Text
update core ideas.md
74d5988ec4cf13fd4d00a7e9348255b6d62f4471
<ide><path>docs/Basics/Core Ideas.md <add> <add>Redux can be described in three fundamental principles: <add> <add>* **The whole state of your app is stored in an object tree inside a single *store*.** This makes it easy to create universal apps. The state from the server can be serialized and hydrated into the client ...
1
Javascript
Javascript
allow override of when/expect definitions
477626d846b4de65d1d5c7071e6a94361395ff42
<ide><path>src/ngMock/angular-mocks.js <ide> angular.mock.dump = function(object) { <ide> ```js <ide> // testing controller <ide> describe('MyController', function() { <del> var $httpBackend, $rootScope, createController; <add> var $httpBackend, $rootScope, createController, authRequestHandler; <i...
2
Python
Python
fix regression in regression
469384a777131e8c6d6bf7851ab0f77f2fbe3cb0
<ide><path>src/transformers/models/albert/modeling_albert.py <ide> def forward( <ide> <ide> if self.config.problem_type == "regression": <ide> loss_fct = MSELoss() <del> loss = loss_fct(logits.view(-1, self.num_labels), labels) <add> if self.num_labels == 1: <a...
15
Python
Python
remove print statement
9cb2aef5877b342ef44cd77386328ee91039088e
<ide><path>spacy/lemmatizer.py <ide> def __call__(self, string, univ_pos, morphology=None): <ide> elif univ_pos == PUNCT: <ide> univ_pos = 'punct' <ide> # See Issue #435 for example of where this logic is requied. <del> print("Check base form", string) <ide> if self.is_base_fo...
1
PHP
PHP
add formprotector class
980e6367f970ad51780803485e843cf707af85bf
<ide><path>src/Form/FormProtector.php <add><?php <add>declare(strict_types=1); <add> <add>/** <add> * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) <add> * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) <add> * <add> * Licensed under The MIT License <add> * For full copyrigh...
2
Python
Python
add dataflow operations to azure datafactory hook
24d88e8feedcb11edc316f0d3f20f4ea54dc23b8
<ide><path>airflow/providers/microsoft/azure/hooks/data_factory.py <ide> PipelineRun <ide> TriggerResource <ide> datafactory <add> DataFlow <ide> mgmt <ide> """ <ide> from __future__ import annotations <ide> from azure.mgmt.datafactory import DataFactoryManagementClient <ide> from azure.mgmt.datafact...
2
Python
Python
add lots various extra variable to the ec2 driver
b871ac8ce741f0f47b55cce66dabc0a35421804a
<ide><path>libcloud/drivers/ec2.py <ide> def _fixxpath(self, xpath): <ide> def _findattr(self, element, xpath): <ide> return element.findtext(self._fixxpath(xpath)) <ide> <add> def _findall(self, element, xpath): <add> return element.findall(self._fixxpath(xpath)) <add> <ide> def _pathlist(se...
1
Javascript
Javascript
increase time limit in qtest
af9c7ac3cee034dbc5542058c9dd3ff36610a924
<ide><path>tasks/qtest.js <ide> module.exports = function (grunt) { <ide> testrunner.options.log.tests = false; <ide> testrunner.options.log.summary = false; <ide> testrunner.options.log.testing = false; <del> testrunner.options.maxBlockDuration = 5000; <add> testrunner.options.max...
1
Python
Python
remove pos arg from perceiver's pre/postprocessors
408b5e307b495b2c14e9c83ff1c62b944ff366af
<ide><path>src/transformers/models/perceiver/modeling_perceiver.py <ide> def num_channels(self) -> int: <ide> <ide> return inp_dim + pos_dim <ide> <del> def _build_network_inputs(self, inputs: torch.Tensor, pos: torch.Tensor, network_input_is_1d: bool = True): <add> def _build_network_inputs(self, input...
1
Python
Python
update esmfold conversion script
6f257bb3c241eabf7eb970240a92fdbf6ff2de49
<ide><path>src/transformers/models/esm/convert_esm.py <ide> import torch <ide> <ide> import esm as esm_module <add>from esm.esmfold.v1.misc import batch_encode_sequences as esmfold_encode_sequences <ide> from esm.esmfold.v1.pretrained import esmfold_v1 <ide> from transformers.models.esm.configuration_esm import EsmCon...
2
Java
Java
add onclosed to sockjssessionsupport sub-classes
2794224b28430190c53c7cd284ccfe33c8eb5d1c
<ide><path>spring-websocket/src/main/java/org/springframework/sockjs/SockJsSession.java <ide> */ <ide> public interface SockJsSession { <ide> <add> String getId(); <add> <ide> void sendMessage(String text) throws IOException; <ide> <ide> void close(); <ide><path>spring-websocket/src/main/java/org/springframework/s...
14
Ruby
Ruby
avoid instance_exec for controller callbacks
b3024484abade42ebf0ec70c7957f5cfe7c102d9
<ide><path>actionpack/lib/abstract_controller/callbacks.rb <ide> module Callbacks <ide> skip_after_callbacks_if_terminated: true <ide> end <ide> <add> class ActionFilter <add> def initialize(actions) <add> @actions = Array(actions).map(&:to_s).to_set <add> end <add> <add>...
1
Ruby
Ruby
use homebrew_logs more consistently
37e2005e792a9f6d3e7597e06eb4dc9bb822b5b9
<ide><path>Library/Homebrew/cmd/doctor.rb <ide> def check_access_#{d.sub("/", "_")} <ide> end <ide> <ide> def check_access_logs <del> folder = Pathname.new('~/Library/Logs/Homebrew') <del> if folder.exist? and not folder.writable_real? <add> if HOMEBREW_LOGS.exist? and not HOMEBREW_LOGS.writable_real? <ide> <<-...
2
Ruby
Ruby
fix update_all api doc [ci-skip]
e2d9747123b5b85904d6accdd182885d3af5564a
<ide><path>activerecord/lib/active_record/relation.rb <ide> def _exec_scope(...) # :nodoc: <ide> # ==== Parameters <ide> # <ide> # * +updates+ - A string, array, or hash representing the SET part of an SQL statement. Any strings provided will <del> # be type cast, unless you use `Arel.sql`. (Don't pass u...
1
Javascript
Javascript
fix test-tls-server-verify.js on windows ci
1ecd2be2e65d8d33ed6f110422b6795cdf066f01
<ide><path>test/parallel/test-tls-server-verify.js <ide> function runTest(port, testIndex) { <ide> } else { <ide> server.close(); <ide> successfulTests++; <del> runTest(port, nextTest++); <add> runTest(0, nextTest++); <ide> } <ide> } <ide> <ide> function runTest(port, testIndex) { <ide>...
1
Ruby
Ruby
bring generators tests back to life
b0947bf97c0ac313799f6f1ca739b5666f5fe19f
<ide><path>railties/test/generators/generators_test_helper.rb <ide> def self.inherited(base) <ide> rescue <ide> # Do nothing. <ide> end <add> <add> def test_truth <add> # Don't cry test/unit <add> end <ide> end <ide>\ No newline at end of file
1
Javascript
Javascript
correct readystate on connecting
69d20f535262dec0be74e521c32d151cb16694ab
<ide><path>lib/net_uv.js <ide> function initSocketHandle(self) { <ide> self._writeRequests = []; <ide> <ide> self._flags = 0; <del> <add> self._connectQueueSize = 0; <ide> self.destroyed = false; <ide> } <ide> <ide> Object.defineProperty(Socket.prototype, 'readyState', { <ide> <ide> Object.defineProperty(Sock...
2
PHP
PHP
set morphs directly
669c5356e65f0712d4f71f2cd8c6345838401ccb
<ide><path>src/Illuminate/Database/Eloquent/Relations/MorphOneOrMany.php <ide> public function save(Model $model) <ide> */ <ide> public function create(array $attributes) <ide> { <del> $foreign = $this->getForeignAttributesForCreate(); <add> $instance = $this->related->newInstance($attributes); <ide> <ide> // ...
2
Python
Python
add test for record array clipping
ef392181a8ed3e9f2646745b19aedbc3d1145c95
<ide><path>numpy/core/tests/test_multiarray.py <ide> def check_basic(self): <ide> #x = self._check_type('uint',1024,-120,100,expected_min=0) <ide> x = self._clip_type('uint',1024,0,0) <ide> <add> # XXX fixme <add> def check_record_array(self,level=2): <add> rec = N.array([(-5, 2.0,...
1
PHP
PHP
apply fixes from styleci
a1611c76ffd9221978378f361af00fac2fe0b4aa
<ide><path>tests/Mail/MailMailableTest.php <ide> public function build() <ide> <ide> public function testAssertHasSubject() <ide> { <del> <ide> } <ide> } <ide>
1
Mixed
Ruby
fix regression on `.select_*` methods
b7fcad8ff04411a8d00f85094b172b6b99402190
<ide><path>activerecord/CHANGELOG.md <add>* Fix regressions on `select_*` methods. <add> When `select_*` methods receive a `Relation` object, they should be able to get the arel/binds from it. <add> Also fix regressions on select_rows that was ignoring the binds. <add> <add> Fixes #7538, #12017, #13731, #120...
8
Javascript
Javascript
improve dx on deprecation messages
407528ba48992fa538634d9f6c9bc748db55e597
<ide><path>lib/NormalModuleFactory.js <ide> const needCalls = (times, callback) => { <ide> }; <ide> <ide> // TODO webpack 6 remove <del>const deprecationChangedHookMessage = name => <del> `NormalModuleFactory.${name} is no longer a waterfall hook, but a bailing hook instead. ` + <del> "Do not return the passed object,...
1
Ruby
Ruby
add missing require
7e006057e082c4eab7424618b24f330e47be8744
<ide><path>activesupport/lib/active_support/core_ext/securerandom.rb <add>require 'securerandom' <add> <ide> module SecureRandom <ide> BASE58_ALPHABET = ('0'..'9').to_a + ('A'..'Z').to_a + ('a'..'z').to_a - ['0', 'O', 'I', 'l'] <ide> # SecureRandom.base58 generates a random base58 string.
1
Ruby
Ruby
remove redundant sentence
9bce115e9a0f2c4b5759073e03ef8f6d4f749850
<ide><path>Library/Homebrew/cmd/doctor.rb <ide> def check_usr_bin_ruby <ide> def check_homebrew_prefix <ide> unless HOMEBREW_PREFIX.to_s == '/usr/local' <ide> puts <<-EOS.undent <del> You can install Homebrew anywhere you want, but some brews may only work <ide> You can install Homebrew anywhere you wa...
1
Ruby
Ruby
add transactiontimeout for mysql error code 1205
c5edd97721aeaa4ceaa11e66327842a0aba1fdf7
<ide><path>activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb <ide> def add_options_for_index_columns(quoted_columns, **options) <ide> ER_LOCK_DEADLOCK = 1213 <ide> ER_CANNOT_ADD_FOREIGN = 1215 <ide> ER_CANNOT_CREATE_TABLE = 1005 <add> ER_LOCK_WAIT_TIME...
3
Javascript
Javascript
add missing semicolon in math3node
683502300442112213a6d857cc83fc74cfaeea4e
<ide><path>examples/js/nodes/math/Math3Node.js <ide> THREE.Math3Node.prototype.generate = function( builder, output ) { <ide> var a, b, c, <ide> al = builder.getFormatLength( this.a.getType( builder ) ), <ide> bl = builder.getFormatLength( this.b.getType( builder ) ), <del> cl = builder.getFormatLength( this.c.ge...
1
Python
Python
use startswith instead
7a305199fb54a7185db9b172811118f7fec5ae8d
<ide><path>airflow/hooks/hive_hooks.py <ide> def test_hql(self, hql): <ide> """ <ide> create, insert, other = [], [], [] <ide> for query in hql.split(';'): # naive <del> query = query.lower() <del> if 'create table' in query: <add> query = query.lower().strip() ...
1
Python
Python
add unicode declaration
3a3cb2c90ce2591e04806d3e9ccfd2d1fbdc722d
<ide><path>spacy/tests/tokenizer/test_urls.py <add># coding: utf-8 <ide> from __future__ import unicode_literals <ide> <ide> import pytest <ide> <add> <ide> URLS = [ <ide> u"http://www.nytimes.com/2016/04/20/us/politics/new-york-primary-preview.html?hp&action=click&pgtype=Homepage&clickSource=story-heading&module...
1
Text
Text
add role of \n in explanation of the code
8230f82dd1d9eb555a2a9fb50e46c7abd17d8377
<ide><path>guide/english/c/hello-world/index.md <ide> To write on console you can use the function `printf()` contained in the library <ide> * If you use printf() function without writing #include <stdio.h>, the program will not be compiled. <ide> * The execution of a C program starts from the main() function. <ide> ...
1
Go
Go
check testing code for runconfig and volume
b3e5137856ffd07e179d977eec74ee0566f1bb26
<ide><path>runconfig/hostconfig_test.go <ide> func TestDecodeHostConfig(t *testing.T) { <ide> } <ide> <ide> if len(c.CapDrop) != 1 && c.CapDrop[0] != "NET_ADMIN" { <del> t.Fatalf("Expected CapDrop MKNOD, got %v", c.CapDrop) <add> t.Fatalf("Expected CapDrop NET_ADMIN, got %v", c.CapDrop) <ide> } <ide> } <ide...
2
Javascript
Javascript
fix grabquestion on mobile
2277cde61bf7722d61f783ee70d38d7c274ee323
<ide><path>common/app/routes/Hikes/flux/Actions.js <ide> export default Actions({ <ide> }, <ide> <ide> grabQuestion(e) { <del> const { pageX, pageY } = e; <add> let { pageX, pageY, touches } = e; <add> if (touches) { <add> e.preventDefault(); <add> // these re-assigns the values of pageX, pageY ...
1
Go
Go
add missing error check
a1c5f268e5465e0b3cdb4e2a47c0ade3de7988c0
<ide><path>api/client/commands.go <ide> func (cli *DockerCli) CmdBuild(args ...string) error { <ide> } <ide> } <ide> context, err = archive.TarWithOptions(root, options) <add> if err != nil { <add> return err <add> } <ide> } <ide> var body io.Reader <ide> // Setup an upload progress bar
1
Java
Java
add missing java files to rn fbjni sync
f0e4a6cd2c2f74d85d8141054c8c1b5bea78cd46
<ide><path>ReactAndroid/src/main/java/com/facebook/jni/CpuCapabilitiesJni.java <add>// Copyright 2004-present Facebook. All Rights Reserved. <add> <add>package com.facebook.jni; <add> <add>import com.facebook.proguard.annotations.DoNotStrip; <add>import com.facebook.soloader.SoLoader; <add> <add>/** <add> * Utility cla...
5
Text
Text
add redux-mock-store to ecosystem docs
2d8c771c6b07748a329a43b743c7d740b794dd36
<ide><path>docs/introduction/Ecosystem.md <ide> On this page we will only feature a few of them that the Redux maintainers have <ide> * [redux-transducers](https://github.com/acdlite/redux-transducers) — Transducer utilities for Redux <ide> * [redux-immutablejs](https://github.com/indexiatech/redux-immutablejs) — Integ...
1
Javascript
Javascript
name anonymous functions in image.js
11098d66dc6868759940b99eb54ac90b463f175e
<ide><path>src/image.js <ide> var PDFImage = (function pdfImage() { <ide> return constructor; <ide> })(); <ide> <del>var JpegImage = (function() { <add>var JpegImage = (function jpegImage() { <ide> function JpegImage(objId, imageData, objs) { <ide> var src = 'data:image/jpeg;base64,' + window.btoa(imageData); ...
1
Python
Python
remove special-casing for proxy/unmanaged models
45e5eedea99ed5aaa1df8ab505527566097e2328
<ide><path>django/db/backends/schema.py <ide> def effective_default(self, field): <ide> <ide> # Actions <ide> <del> def create_model(self, model, force=False): <add> def create_model(self, model): <ide> """ <ide> Takes a model and creates a table for it in the database. <ide> Will al...
1
Javascript
Javascript
use capital letters in comments
dc1737881e66acbbfc9cce71a5008e1a2838b0c7
<ide><path>lib/internal/bootstrap/node.js <ide> <ide> setupProcessObject(); <ide> <del> // do this good and early, since it handles errors. <add> // Do this good and early, since it handles errors. <ide> setupProcessFatal(); <ide> <ide> setupV8(); <ide> }); <ide> process.argv[0] = process.e...
1
PHP
PHP
fix cs error
7fc4cfe3ae7d4c523331a44e2862bab5c8f44f1e
<ide><path>tests/TestCase/ORM/QueryTest.php <ide> public function testCleanCopyBeforeFind() { <ide> $table = TableRegistry::get('Articles'); <ide> $table->hasMany('Comments'); <ide> $table->eventManager() <del> ->attach(function($event, $query) { <add> ->attach(function ($event, $query) { <ide> $query <id...
1
Text
Text
fix code blocks
e2119f3050b225ccaf25990e5d6714dae2de7afe
<ide><path>docs/sources/installation/google.md <ide> page_keywords: Docker, Docker documentation, installation, google, Google Comput <ide> 2. Download and configure the [Google Cloud SDK][3] to use your <ide> project with the following commands: <ide> <del> ``` <del> $ curl https://dl.google.com/dl/cloudsdk/...
1
PHP
PHP
remove unnecessary methods calls
5a43435325e53560408543c81c8849bda87365e4
<ide><path>src/Controller/Controller.php <ide> public function __construct(ServerRequest $request = null, Response $response = <ide> } <ide> <ide> $this->setRequest($request ?: new ServerRequest()); <del> $this->setResponse($response ?: new Response()); <add> $this->response = $response ?...
1
Java
Java
simplify hashmap declaration in test fixture
aaa10e9060d274b346ca9875864733d2e83de094
<ide><path>spring-aop/src/testFixtures/java/org/springframework/aop/testfixture/advice/MethodCounter.java <ide> import java.io.Serializable; <ide> import java.lang.reflect.Method; <ide> import java.util.HashMap; <add>import java.util.Map; <ide> <ide> /** <ide> * Abstract superclass for counting advices etc. <ide> pub...
1
Text
Text
add @shogunpanda to collaborators
6a51306213cf8f6693d5a817fbd6f14361d84aac
<ide><path>README.md <ide> For information about the governance of the Node.js project, see <ide> **Santiago Gimeno** <<santiago.gimeno@gmail.com>> <ide> * [shisama](https://github.com/shisama) - <ide> **Masashi Hirano** <<shisama07@gmail.com>> (he/him) <add>* [ShogunPanda](https://github.com/ShogunPanda) - <add> ...
1
Go
Go
set timeout on splunk batch send
24087399d95d60be4184b9ed3eba56466878b4e1
<ide><path>daemon/logger/splunk/splunk.go <ide> package splunk <ide> import ( <ide> "bytes" <ide> "compress/gzip" <add> "context" <ide> "crypto/tls" <ide> "crypto/x509" <ide> "encoding/json" <ide> const ( <ide> envVarStreamChannelSize = "SPLUNK_LOGGING_DRIVER_CHANNEL_SIZE" <ide> ) <ide> <add>var batchSendTim...
3
Text
Text
avoid incomplete sentence in cluster docs
0172d1d48cb6942e82cf4be98a1fa048ab87454e
<ide><path>doc/api/cluster.md <ide> added: v0.7.0 <ide> <ide> * {Object} <ide> <del>A hash that stores the active worker objects, keyed by `id` field. Makes it <add>A hash that stores the active worker objects, keyed by `id` field. This makes it <ide> easy to loop through all the workers. It is only available in the ...
1
PHP
PHP
fix more tests in sqlserver
7695ddf08893a8a2bdad85819a66fc047178cc35
<ide><path>tests/TestCase/Http/Session/DatabaseSessionTest.php <ide> public function setUp(): void <ide> parent::setUp(); <ide> static::setAppNamespace(); <ide> $this->storage = new DatabaseSession(); <add> <add> // With metadata caching on SQLServer/windows tests fail. <add> Conne...
2
Javascript
Javascript
fix incorrect var usage in replacewith
2eccb0a87af11e4ebbded6d0aa41c20ebf8c1f85
<ide><path>packages/ember-routing/lib/system/route.js <ide> Ember.Route = Ember.Object.extend(Ember.ActionHandler, { <ide> */ <ide> replaceWith: function() { <ide> var router = this.router; <del> return this.router.replaceWith.apply(this.router, arguments); <add> return router.replaceWith.apply(router, ar...
1
Go
Go
close the returned io.readcloser
91a496055c3e45ab3fba8e643475adb618581e1f
<ide><path>api/client/attach.go <ide> func (cli *DockerCli) CmdAttach(args ...string) error { <ide> return err <ide> } <ide> <add> defer stream.Close() <add> <ide> var c types.ContainerJSON <ide> if err := json.NewDecoder(stream).Decode(&c); err != nil { <ide> return err <ide><path>api/client/commit.go <ide> fu...
18
Java
Java
fix onaccessibilityaction on fabric
006527fea70e0d1ef64eee05c7ee9f98dfda8a4d
<ide><path>ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java <ide> import com.facebook.react.bridge.UIManager; <ide> import com.facebook.react.bridge.WritableMap; <ide> import com.facebook.react.uimanager.ReactAccessibilityDelegate.AccessibilityRole; <add>import com.facebook.react....
1
Javascript
Javascript
fix tests that don't cleanup application instances
bbc901d90dc1aca1f926579deecbcca05b930214
<ide><path>packages/ember-application/tests/system/application_test.js <ide> QUnit.test("you cannot make two default applications without a rootElement error <ide> <ide> QUnit.test("acts like a namespace", function() { <ide> var lookup = Ember.lookup = {}; <del> var app; <ide> <ide> run(function() { <ide> ap...
3
Text
Text
use serial comma in net docs
737ca9a3e665426ddebf1199981301a7b3b94483
<ide><path>doc/api/net.md <ide> sockets on other operating systems. <ide> <ide> ### Identifying paths for IPC connections <ide> <del>[`net.connect()`][], [`net.createConnection()`][], [`server.listen()`][] and <add>[`net.connect()`][], [`net.createConnection()`][], [`server.listen()`][], and <ide> [`socket.connect()`...
1
Javascript
Javascript
throw error in $onchanges immediately
983e27b628fd1eab653e2b3966d90a270f27cc93
<ide><path>src/ng/compile.js <ide> function $CompileProvider($provide, $$sanitizeUriProvider) { <ide> } <ide> // We must run this hook in an apply since the $$postDigest runs outside apply <ide> $rootScope.$apply(function() { <del> var errors = []; <ide> for (var i = 0, ii = o...
2
Python
Python
release version in documentation
294edfd83d591f3ae841c993662fac6ec7924515
<ide><path>docs/source/conf.py <ide> # The short X.Y version <ide> version = u'' <ide> # The full version, including alpha/beta/rc tags <del>release = u'1.2.0' <add>release = u'2.0.0' <ide> <ide> <ide> # -- General configuration ---------------------------------------------------
1
Go
Go
support hairpin nat
95a400e6e1a3b5da68431e64f9902a3fac218360
<ide><path>pkg/iptables/iptables.go <ide> func (c *Chain) Forward(action Action, ip net.IP, port int, proto, dest_addr str <ide> "-p", proto, <ide> "-d", daddr, <ide> "--dport", strconv.Itoa(port), <del> "!", "-i", c.Bridge, <ide> "-j", "DNAT", <ide> "--to-destination", net.JoinHostPort(dest_addr, strconv.It...
1
Text
Text
add issues and requests guidelines
e9c09052a4bf8531bdb94c1789f4138986ebe630
<ide><path>CONTRIBUTING.md <add># How to contribute to transformers? <add> <add>Everyone is welcome to contribute, and we value everybody's contribution. Code <add>is thus not the only way to contribute. Answering questions, helping others, <add>reaching out and improving the documentations are immensely valuable to th...
1
Ruby
Ruby
add tests for hardcoded compilers in env
65ae6bacd8c92d718b259f7efd50fc3fe9f0838b
<ide><path>Library/Homebrew/rubocops/lines_cop.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> problem "Use \"\#{ENV.cxx}\" instead of hard-coding \"#{match[2]}\"" <ide> end <ide> end <del> # <del> # find_instance_method_call(body...
2
Python
Python
fix tf.name_scope support for keras nested layers
25709a205dd97d1979b3949b81833d728d15b89d
<ide><path>keras/engine/base_layer.py <ide> import tensorflow.compat.v2 as tf <ide> <ide> import collections <add>import contextlib <ide> import copy <ide> import functools <ide> import itertools <ide> <ide> _is_name_scope_on_model_declaration_enabled = False <ide> <add>_name_scope_unnester_stack = threading.local()...
2
Javascript
Javascript
compare asynclistener instances, not uid's
bf08ac462e2c706aa4a5da7e8363f6e66c5d18c9
<ide><path>src/node.js <ide> var inQueue = false; <ide> // The asyncQueue will be small. Probably always <= 3 items. <ide> for (var i = 0; i < asyncQueue.length; i++) { <del> if (callbacks.uid === asyncQueue[i].uid) { <add> if (callbacks === asyncQueue[i]) { <ide> inQueue = tru...
1
Java
Java
add conversionservice support for bytebuffers
9dba73dfc90978a98e6d8d214fec107ff71018f4
<ide><path>spring-core/src/main/java/org/springframework/core/convert/support/ByteBufferConverter.java <add>/* <add> * Copyright 2002-2013 the original author or authors. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the Licen...
3
Python
Python
fix couchdb keys
7e87cb1dbf02b1798384cc35918dea63ef5bf08d
<ide><path>celery/backends/couchdb.py <ide> """CouchDB result store backend.""" <ide> from __future__ import absolute_import, unicode_literals <ide> <add>from kombu.utils.encoding import bytes_to_str <ide> from kombu.utils.url import _parse_url <ide> <ide> from celery.exceptions import ImproperlyConfigured <ide> def ...
2
Mixed
Go
add statsformat to the config.json file
12cae3a590a92f0d908c03c172aec974957b3785
<ide><path>cli/command/container/stats.go <ide> func runStats(dockerCli *command.DockerCli, opts *statsOptions) error { <ide> <ide> // before print to screen, make sure each container get at least one valid stat data <ide> waitFirst.Wait() <del> f := "table" <del> if len(opts.format) > 0 { <del> f = opts.format <ad...
3
Python
Python
remove unused functions
6f779d3475371b74cce942972d0e00c3984caa4b
<ide><path>libcloud/compute/drivers/solusvm.py <ide> def list_nodes(self): <ide> for vm in response.object] <ide> return nodes <ide> <del> def list_locations(self): <add> def ex_list_vs_parameters(self, vttype): <ide> """ <del> List locations <del> """ <del> ...
1
Javascript
Javascript
change line for linesegments in objloader
9889425cf33bf29796e9ffd1f80a1b8a7cc43304
<ide><path>examples/js/loaders/OBJLoader.js <ide> THREE.OBJLoader.prototype = { <ide> } <ide> <ide> var multiMaterial = new THREE.MultiMaterial( createdMaterials ); <del> mesh = ( ! isLine ? new THREE.Mesh( buffergeometry, multiMaterial ) : new THREE.Line( buffergeometry, multiMaterial ) ); <add> mesh = ...
1
Go
Go
fix solaris reference to config
335033e25fae0173217e70d4b8dfc5df682ea913
<ide><path>daemon/daemon_solaris.go <ide> import ( <ide> "github.com/docker/docker/api/types" <ide> containertypes "github.com/docker/docker/api/types/container" <ide> "github.com/docker/docker/container" <add> "github.com/docker/docker/daemon/config" <ide> "github.com/docker/docker/image" <del> "github.com/docker/...
1
Python
Python
take advantage of rich comparisons for pypy too
7e70b36f91644f7f1f0e460e1f4343b67ff3541e
<ide><path>glances/compat.py <ide> import sys <ide> import unicodedata <ide> import types <del>import platform <ide> import subprocess <ide> <ide> from glances.logger import logger <ide> <del>PY_CYTHON = platform.python_implementation() == 'CPython' <del>PY_PYPY = platform.python_implementation() == 'PyPy' <del>PY_JY...
2
Ruby
Ruby
allow python versions with two digits
3b944434cfba22338758f0705de4813d076b444f
<ide><path>Library/Homebrew/rubocops/lines.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> find_strings(body_node).each do |str| <ide> string_content = string_content(str) <ide> <del> next unless match = string_content.match(/^python(@)?(\d\.\d)$/) <...
2
Python
Python
remove "pala" tokenizer exception for spanish
42364dcd9f7c243271416b068a7bc708f9ef6346
<ide><path>spacy/lang/es/tokenizer_exceptions.py <ide> <ide> _exc = { <ide> "pal": [{ORTH: "pa", LEMMA: "para"}, {ORTH: "l", LEMMA: "el", NORM: "el"}], <del> "pala": [{ORTH: "pa", LEMMA: "para"}, {ORTH: "la", LEMMA: "la", NORM: "la"}], <ide> } <ide> <ide>
1
Python
Python
use isort to format the imports
b8c48898a3f316dda43231a39c21fc4a61aed3b1
<ide><path>keras/__init__.py <ide> """ <ide> # pylint: disable=unused-import <ide> from tensorflow.python import tf2 <del>from keras import distribute <add>from tensorflow.python.util.tf_export import keras_export <ide> <add>from keras import distribute <ide> from keras import models <del> <ide> from keras.engine.inpu...
300
Javascript
Javascript
fix reference to invariant
3e4a8928b32301a746bc66fca862ff2ab04a5ea4
<ide><path>Libraries/Inspector/Inspector.js <ide> const UIManager = require('UIManager'); <ide> const View = require('View'); <ide> <ide> const emptyObject = require('fbjs/lib/emptyObject'); <del>const invariant = require('invariant'); <add>const invariant = require('fbjs/lib/invariant'); <ide> <ide> export type Reac...
1
Ruby
Ruby
fix audit of new formulae
5647fdb2f9317d3b808a08b6ac711634e463ed75
<ide><path>Library/Homebrew/dev-cmd/audit.rb <ide> def audit_revision_and_version_scheme <ide> current_version_scheme = formula.version_scheme <ide> [:stable, :devel].each do |spec| <ide> spec_version_scheme_map = attributes_map[:version_scheme][spec] <del> next if spec_version_scheme_map.nil? || spe...
2
Java
Java
add test of backpressure to operatorall
3c2f25939d41be094af304f03e5fdd7b66bcf9eb
<ide><path>rxjava-core/src/test/java/rx/internal/operators/OperatorAllTest.java <ide> */ <ide> package rx.internal.operators; <ide> <add>import static org.junit.Assert.assertFalse; <ide> import static org.mockito.Mockito.mock; <ide> import static org.mockito.Mockito.verify; <ide> import static org.mockito.Mockito.ver...
1
Go
Go
check dockerinit only if lxc driver is used
96bc377a8d293cf786722ebb0ff89a81d63e43ed
<ide><path>daemon/daemon.go <ide> func NewDaemon(config *Config, registryService *registry.Service) (daemon *Daemo <ide> <ide> d.containerGraph = graph <ide> <del> sysInitPath, err := configureSysInit(config) <del> if err != nil { <del> return nil, err <add> var sysInitPath string <add> if config.ExecDriver == "lxc...
1
Ruby
Ruby
remove whitespaces from the default mailer file
61d995f7ed94f0da38ac4c24bc8c964047352d01
<ide><path>railties/lib/generators/rails/mailer/templates/mailer.rb <ide> class <%= class_name %> < ActionMailer::Base <del> <ide> <% for action in actions -%> <ide> <ide> def <%= action %>(sent_at = Time.now) <ide> def <%= action %>(sent_at = Time.now) <ide> <ide> body :greeting => 'Hi,' <ide> en...
1
PHP
PHP
apply fixes from styleci
d3df6d855d2d98ac1ffb05b0d90e2f153f34ae28
<ide><path>tests/Integration/Session/SessionPersistenceTest.php <ide> class FakeNullSessionHandler extends NullSessionHandler <ide> public function write($sessionId, $data) <ide> { <ide> $this->written = true; <add> <ide> return true; <ide> } <ide> }
1
Text
Text
add loadsmart in the list of companies using it
3a7a65c1b654346a08125e5334d2943fb0cd9c8f
<ide><path>INTHEWILD.md <ide> Currently, **officially** using Airflow: <ide> 1. [Liberty Global](https://www.libertyglobal.com/) [[@LibertyGlobal](https://github.com/LibertyGlobal/)] <ide> 1. [liligo](http://liligo.com/) [[@tromika](https://github.com/tromika)] <ide> 1. [LingoChamp](http://www.liulishuo.com/) [[@haitao...
1
Ruby
Ruby
fix bundler deprecation
bfd22634252577fc851c6a925bf796dd1cd3c0a1
<ide><path>Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb <ide> def brew(*args) <ide> ruby_args << (HOMEBREW_LIBRARY_PATH/"brew.rb").resolved_path.to_s <ide> end <ide> <del> Bundler.with_clean_env do <add> Bundler.with_unbundled_env do <ide> stdout, stderr, status = ...
1
Javascript
Javascript
fix build cycle detection in compilation
8f2c26696654ed1db574fddb162f4779e2d77a7e
<ide><path>lib/Compilation.js <ide> BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si <ide> creatingModuleDuringBuildSet <ide> ); <ide> } <del> creatingModuleDuringBuildSet.add(originModule); <add> creatingModuleDuringBuildSet.add(module); <ide> <ide> // When building ...
1
Go
Go
use default no-op uuid.loggerf for client cli
3face3c521127cb86570c68d5f2a8f55e7633146
<ide><path>api/client/cli.go <ide> import ( <ide> "os" <ide> "strings" <ide> <del> "github.com/docker/distribution/uuid" <ide> "github.com/docker/docker/cli" <ide> "github.com/docker/docker/cliconfig" <ide> "github.com/docker/docker/opts" <ide> func NewDockerCli(in io.ReadCloser, out, err io.Writer, clientFlags *...
1
Text
Text
change introduction/readme.md title to h1
7271a9c0a6ca7514650ef31d55cbf61f0901d8b6
<ide><path>docs/introduction/README.md <del>## Introduction <add># Introduction <ide> <ide> * [Motivation](Motivation.md) <ide> * [Core Concepts](CoreConcepts.md)
1
PHP
PHP
update signature formatting
968a36478814c740d25ec4d6f9c8bef859a2f834
<ide><path>src/Illuminate/Foundation/Console/StorageLinkCommand.php <ide> class StorageLinkCommand extends Command <ide> * <ide> * @var string <ide> */ <del> protected $signature = 'storage:link {--relative : Create the symbolic link using relative paths} <add> protected $signature = 'storage:link ...
1
Javascript
Javascript
fix duplex._construct race
02c4869beec52d2664c747d520dfe078d2b3c714
<ide><path>lib/internal/streams/destroy.js <ide> function construct(stream, cb) { <ide> return; <ide> } <ide> <del> stream.once(kConstruct, cb); <del> <del> if (stream.listenerCount(kConstruct) > 1) { <del> // Duplex <del> return; <del> } <del> <ide> const r = stream._readableState; <ide> const w = ...
2
Ruby
Ruby
remove warnings by calling remove_method
325fdfc92833cd2a0ccc97f4e168f11a406edc76
<ide><path>activemodel/test/cases/serializers/xml_serialization_test.rb <ide> class Contact <ide> <ide> attr_accessor :address, :friends <ide> <add> remove_method :attributes <ide> def attributes <ide> instance_values.except("address", "friends") <ide> end
1
Text
Text
remove david-dm from readme
5023184174d63aea1f50f4dfb0d66740aa2aa1ab
<ide><path>README.md <ide> [![npm][npm]][npm-url] <ide> <ide> [![node][node]][node-url] <del>[![deps][deps]][deps-url] <ide> [![builds2][builds2]][builds2-url] <ide> [![coverage][cover]][cover-url] <ide> [![licenses][licenses]][licenses-url] <ide> src="https://static.monei.net/monei-logo.svg" height="30" alt="MONEI"><...
1
Python
Python
update demo_camembert.py with new classes
3e20c2e871db82f81c3b2b814265a481be15273c
<ide><path>examples/contrib/demo_camembert.py <ide> import torch <ide> <ide> from transformers.tokenization_camembert import CamembertTokenizer <del>from transformers.modeling_roberta import RobertaForMaskedLM <add>from transformers.modeling_camembert import CamembertForMaskedLM <ide> <ide> <ide> def fill_mask(maske...
1
Javascript
Javascript
fix minification bug
f960bf42a5b6c1accae46557dbdf4084debc032c
<ide><path>examples/js/loaders/FBXLoader.js <ide> <ide> }, <ide> <del> parseSubNode( name, node, subNode ) { <add> parseSubNode: function ( name, node, subNode ) { <ide> <ide> // special case: child node is single property <ide> if ( subNode.singleProperty === true ) {
1
Text
Text
add release key for rafaelgss
fbee0a896c4a42f7ffbf2dc11b2877641a8568f4
<ide><path>README.md <ide> Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys): <ide> `8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600` <ide> * **Myles Borins** <<myles.borins@gmail.com>> <ide> `C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8` <add>* **RafaelGSS** <<rafael.nunu@hotmail.com>> <add> `890C08D...
1
Python
Python
add new automodel classes in pipeline
c8bdf7f4ecd73680cb0751d9efc8fa3a992c2c2d
<ide><path>src/transformers/pipelines.py <ide> AutoModelForSequenceClassification, <ide> AutoModelForQuestionAnswering, <ide> AutoModelForTokenClassification, <del> AutoModelWithLMHead, <ide> AutoModelForSeq2SeqLM, <del> MODEL_WITH_LM_HEAD_MAPPING, <add> AutoModelFor...
1
Text
Text
add direct link to event chart image
86de72fef244b3fe209e5793deb40fb26f5b318e
<ide><path>docs/reference/api/docker_remote_api.md <ide> wget --no-check-certificate --certificate=$DOCKER_CERT_PATH/cert.pem \ <ide> <ide> The following diagram depicts the container states accessible through the API. <ide> <del>![States](images/event_state.png) <add>[![States](images/event_state.png)](../images/eve...
1
Text
Text
fix doc format in active storage setup [ci skip]
1450abcd19cbdb66cd6226d63fb8288b6dead312
<ide><path>guides/source/development_dependencies_install.md <ide> sudo apt-get update && sudo apt-get install yarn <ide> <ide> On Fedora or CentOS, just run: <ide> <del>``bash <add>```bash <ide> sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo <ide> <ide> sudo yum install yarn
1