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
PHP
PHP
apply suggestions from code review
4652906c9a88661c498b7c032ce6f672e985a9e4
<ide><path>src/Http/Client/Auth/Oauth.php <ide> protected function _normalizedParams(Request $request, array $oauthValues): stri <ide> $post = []; <ide> $contentType = $request->getHeaderLine('Content-Type'); <ide> if ($contentType === '' || $contentType === 'application/x-www-form-urlencoded') ...
1
Text
Text
add docs for `run|create --init|--init-path`
d049ef2b0db4aebfba4f85f5d8294e9884a4b7e2
<ide><path>docs/reference/commandline/create.md <ide> Options: <ide> --health-timeout duration Maximum time to allow one check to run (ns|us|ms|s|m|h) (default 0s) <ide> --help Print usage <ide> -h, --hostname string Container host name <add> --init ...
3
Python
Python
fix 1.3 compat issue. closes #780
3f91379e4eaf07418a99fda1932af91511c55e7b
<ide><path>rest_framework/compat.py <ide> def parse_datetime(value): <ide> try: <ide> from django.utils.html import smart_urlquote <ide> except ImportError: <add> import re <add> from django.utils.encoding import smart_str <ide> try: <ide> from urllib.parse import quote, urlsplit, urlunsplit <ide>...
1
Text
Text
fix typos in the user guide main page
2d2b3535cae11d02573d12297d34e9a98a3e984a
<ide><path>docs/sources/userguide/index.md <ide> using Docker and integrating it into your environment. <ide> <ide> We’ll teach you how to use Docker to: <ide> <del>* Dockerizing your applications. <add>* Dockerize your applications. <ide> * Run your own containers. <ide> * Build Docker images. <ide> * Share your Doc...
1
PHP
PHP
fix phpcs and psalm errors
49ca31fce4ffa4d21ebb18aeaeaefbdb8d827467
<ide><path>src/Http/ActionDispatcher.php <ide> */ <ide> namespace Cake\Http; <ide> <del>use Cake\Http\ControllerInterface; <ide> use Cake\Routing\Router; <ide> use Psr\Http\Message\ResponseInterface; <ide> <ide><path>src/Http/ControllerFactory.php <ide> namespace Cake\Http; <ide> <ide> use Cake\Core\App; <del>use C...
9
Text
Text
fix common typo involving one-time listeners
de06dc92d150c1f999462a18c7594a5eea81225f
<ide><path>doc/api/events.md <ide> added: v0.3.0 <ide> * `eventName` {any} The name of the event. <ide> * `listener` {Function} The callback function <ide> <del>Adds a **one time** `listener` function for the event named `eventName`. The <add>Adds a **one-time** `listener` function for the event named `eventName`. The...
3
Python
Python
add test for empty string as control characters
8a31abccb1928d3ca1e669e105020f3a21dfb1a8
<ide><path>numpy/lib/npyio.py <ide> def _read(fname, *, delimiter=',', comment='#', quote='"', <ide> comments = None <ide> else: <ide> # assume comments are a sequence of strings <add> if "" in comment: <add> raise ValueError( <add> "comments cannot be an empty strin...
2
Javascript
Javascript
remove memory cache from filecacheplugin
77c2e61a31b184bc27cde644feee82520729a2a4
<ide><path>lib/Cache.js <ide> <ide> const { AsyncParallelHook, AsyncSeriesBailHook, SyncHook } = require("tapable"); <ide> <add>/** @typedef {(result: any, callback: (err?: Error) => void) => void} GotHandler */ <add> <ide> class Cache { <ide> constructor() { <ide> this.hooks = { <ide> /** @type {AsyncSeriesBai...
4
Javascript
Javascript
update buffergeometry tets
61a49191a8e3872fc6f5911301e5ae05f39e759f
<ide><path>test/unit/src/core/BufferGeometry.tests.js <ide> export default QUnit.module( 'Core', () => { <ide> <ide> var index = new BufferAttribute( new Uint16Array( [ 0, 1, 2, 3 ] ), 1 ); <ide> var attribute1 = new BufferAttribute( new Uint16Array( [ 1, 3, 5, 7 ] ), 1 ); <add> attribute1.name = "attribute1";...
1
Javascript
Javascript
fix typos in ngoptions
45ee8844f9678bad46e0f81eda18db888a42e264
<ide><path>src/ng/directive/select.js <ide> * Optionally `ngOptions` attribute can be used to dynamically generate a list of `<option>` <ide> * elements for a `<select>` element using an array or an object obtained by evaluating the <ide> * `ngOptions` expression. <del> *˝˝ <del> * When an item in the select menu is...
1
Python
Python
add remaining tests for metadata
d0eb2e6cae499a16b54df3fadac0050ce25c32a0
<ide><path>tests/test_metadata.py <ide> from __future__ import unicode_literals <ide> <add>import pytest <ide> from django.core.validators import MaxValueValidator, MinValueValidator <ide> from django.db import models <ide> from django.test import TestCase <ide> <ide> <ide> class TestMetadata: <add> <add> def tes...
1
Javascript
Javascript
set httpparser trigger to socket
8479606a24ca12212b75e0febf92925b71ef8d50
<ide><path>lib/_http_server.js <ide> const { <ide> } = require('_http_common'); <ide> const { OutgoingMessage } = require('_http_outgoing'); <ide> const { outHeadersKey, ondrain } = require('internal/http'); <add>const { <add> defaultTriggerAsyncIdScope, <add> getOrSetAsyncId <add>} = require('internal/async_hooks');...
3
Ruby
Ruby
fix broken sentence [ci skip]
6807114bb5aa4abf61a5033955d43b7488a71606
<ide><path>activerecord/lib/active_record/associations/association.rb <ide> def set_inverse_instance(record) <ide> end <ide> end <ide> <del> # This class of the target. belongs_to polymorphic overrides this to look at the <add> # Returns the class of the target. belongs_to polymorphic overrides...
1
Javascript
Javascript
increase coverage of vm
c7205ba94197ab98e90e4b867c8a149d434a15c3
<ide><path>test/parallel/test-vm-sigint-existing-handler.js <ide> const vm = require('vm'); <ide> <ide> const spawn = require('child_process').spawn; <ide> <add>const methods = [ <add> 'runInThisContext', <add> 'runInContext' <add>]; <add> <ide> if (common.isWindows) { <ide> // No way to send CTRL_C_EVENT to proc...
2
Ruby
Ruby
add failing test case for
17a886b2759cb70ecebd174adeeac14e29bb8a11
<ide><path>railties/test/application/rendering_test.rb <add>require 'isolation/abstract_unit' <add>require 'rack/test' <add> <add>module ApplicationTests <add> class RoutingTest < ActiveSupport::TestCase <add> include ActiveSupport::Testing::Isolation <add> include Rack::Test::Methods <add> <add> def setup <a...
1
Ruby
Ruby
allow option to omit `--retry` in curl_args
e687774e8adf892b0a955c8bc1d3dfef18788579
<ide><path>Library/Homebrew/utils/curl.rb <ide> def curl_executable <ide> @curl <ide> end <ide> <del> def curl_args(*extra_args, show_output: false, user_agent: :default) <add> def curl_args(*extra_args, **options) <ide> args = [] <ide> <ide> # do not load .curlrc unless requested (must be...
1
Java
Java
add optional bound to onbackpressurebuffer
af275628baa8e62e2e00271ee08fff01de77845a
<ide><path>src/main/java/rx/Observable.java <ide> public final Observable<T> onBackpressureBuffer() { <ide> return lift(new OperatorOnBackpressureBuffer<T>()); <ide> } <ide> <add> /** <add> * Instructs an Observable that is emitting items faster than its observer can consume them to buffer <add> ...
3
Java
Java
add queryparamifpresent to uricomponentsbuilder
7af726480f8da22f533b37d6ad01781aafeefa35
<ide><path>spring-web/src/main/java/org/springframework/web/util/DefaultUriBuilderFactory.java <ide> import java.util.Collections; <ide> import java.util.HashMap; <ide> import java.util.Map; <add>import java.util.Optional; <ide> <ide> import org.springframework.lang.Nullable; <ide> import org.springframework.util.Mult...
4
PHP
PHP
add matched route instance as request attribute
1283dd9c6e3efe978f4f9c52482c913088d10343
<ide><path>src/Command/RoutesCheckCommand.php <ide> public function execute(Arguments $args, ConsoleIo $io): ?int <ide> } <ide> } <ide> <del> unset($route['_matchedRoute']); <add> unset($route['_route'], $route['_matchedRoute']); <ide> ksort($route); <ide> ...
9
Java
Java
fix missing urivariables
f2fa74055ea3a81246c94d4d60b28f1b6d41f216
<ide><path>spring-web-reactive/src/main/java/org/springframework/web/reactive/function/client/DefaultWebClientOperations.java <ide> public HeaderSpec uri(URI uri) { <ide> <ide> @Override <ide> public HeaderSpec uri(String uriTemplate, Object... uriVariables) { <del> return uri(getUriBuilderFactory().expand(uriTe...
1
PHP
PHP
add the class property
d541a32dac96c606a24e6e7a378266a2f910e9fe
<ide><path>src/Controller/Component.php <ide> class Component implements EventListenerInterface <ide> */ <ide> public $request; <ide> <add> /** <add> * Response object <add> * <add> * @var \Cake\Network\Response <add> */ <add> public $response; <add> <ide> /** <ide> * Component ...
1
Ruby
Ruby
handle nil keys
0513d9de5c3c1cd860474df3dfba3847e70331ff
<ide><path>Library/Homebrew/linkage_checker.rb <ide> def initialize(keg, formula = nil) <ide> end <ide> <ide> def dylib_to_dep(dylib) <del> if dylib =~ %r{#{Regexp.escape(HOMEBREW_PREFIX)}/(opt|Cellar)/([\w+-.@]+)/} <del> Regexp.last_match(2) <del> else <del> "Not a Homebrew library" <del> end <...
1
PHP
PHP
declare property set in constructor
e19aaaa45c97434b34eef404d6d50614b06d19fd
<ide><path>tests/test_app/TestApp/Model/Table/FeaturedTagsTable.php <ide> */ <ide> class FeaturedTagsTable extends Table <ide> { <add> protected $Posts; <add> <ide> public function initialize(array $config): void <ide> { <ide> // Used to reproduce https://github.com/cakephp/cakephp/issues/16373
1
Javascript
Javascript
replace function with arrow function
bd9f7d5994d526e0ec0877ebd694a0873fa8b390
<ide><path>test/parallel/test-timers.js <ide> const inputs = [ <ide> const timeouts = []; <ide> const intervals = []; <ide> <del>inputs.forEach(function(value, index) { <del> setTimeout(function() { <add>inputs.forEach((value, index) => { <add> setTimeout(() => { <ide> timeouts[index] = true; <ide> }, value); ...
1
Javascript
Javascript
add routercontext in production mode
7e5e414bcb4f128880501dd84d6a86708d7c8b5e
<ide><path>packages/next/client/index.js <ide> async function doRender ({ App, Component, props, err }) { <ide> renderReactElement(( <ide> <ErrorBoundary fn={(error) => renderError({ App, err: error }).catch(err => console.error('Error rendering page: ', err))}> <ide> <Suspense fallback={<div>Loading....
1
Javascript
Javascript
remove reactchildren methods from react object
3cf14e8f9b14ac05bcd24634daa26ac6772bd31b
<ide><path>src/addons/transitions/ReactTransitionKeySet.js <ide> <ide> "use strict"; <ide> <del>var React = require('React'); <add>var ReactChildren = require('ReactChildren'); <ide> <ide> var MERGE_KEY_SETS_TAIL_SENTINEL = {}; <ide> <ide> var ReactTransitionKeySet = { <ide> /** <ide> * Given `this.props.child...
2
Text
Text
fix migrate formula link
d2cc9179601103dcb23606eb39dffb7e1e80023c
<ide><path>docs/Migrate-A-Formula-To-Multiple-Versions.md <ide> In separate pull-requests: <ide> <ide> In separate pull-requests: <ide> <del>1. [Migrate the formula](Migrating-A-Formula-To-A-Tap) from Homebrew/homebrew-versions to Homebrew/homebrew-core with the same, old name e.g. `boost160.rb`. <add>1. [Migrate the...
1
Javascript
Javascript
remove one of the checks for memory leak
38c122a73a843a0d117d4f962cc94fda6f553086
<ide><path>test/data/testrunner.js <ide> var oldStart = window.start, <ide> // Store the old counts so that we only assert on tests that have actually leaked, <ide> // instead of asserting every time a test has leaked sometime in the past <ide> oldCacheLength = 0, <del> oldFragmentsLength = 0, <ide> oldActive = 0, ...
1
Text
Text
fix mistake in docs
661c8f9ad56a1f5f35e4a769ac44b668227b14e6
<ide><path>docs/api-guide/authentication.md <ide> Typically the approach you should take is: <ide> * If authentication is not attempted, return `None`. Any other authentication schemes also in use will still be checked. <ide> * If authentication is attempted but fails, raise a `AuthenticationFailed` exception. An err...
1
Ruby
Ruby
remove unused require
d266c2e0da0e9835e9156278d24e596d671be2b2
<ide><path>actionpack/lib/action_dispatch/routing/mapper.rb <ide> require 'active_support/core_ext/hash/except' <ide> require 'active_support/core_ext/object/blank' <del>require 'active_support/core_ext/object/inclusion' <ide> require 'active_support/inflector' <ide> require 'action_dispatch/routing/redirection' <ide>
1
PHP
PHP
allow use some additional config for old sqlserver
d20dd0da43162f6a2af0b7f6513ed310d73a082f
<ide><path>src/Database/Driver/Sqlserver.php <ide> class Sqlserver extends Driver <ide> 'failoverPartner' => null, <ide> 'loginTimeout' => null, <ide> 'multiSubnetFailover' => null, <add> 'encrypt' => null, <add> 'trustServerCertificate' => null, <ide> ]; <ide> <ide> /** <...
2
Ruby
Ruby
allow certain argv usages
065475369568f7a1174efb681faab01183b648e4
<ide><path>Library/Homebrew/cmd/audit.rb <ide> def audit_text <ide> problem "Use 'build.head?' instead of inspecting 'version'" <ide> end <ide> <del> if text =~ /ARGV/ <add> if text =~ /ARGV(?!\.(debug|verbose)\?)/ <ide> problem "Use build instead of ARGV to check options." <ide> end <ide>
1
Python
Python
make git_version() work on python 3
d1a184c1a112ffbaa553915c043c2b6851e4fc91
<ide><path>setup.py <ide> def _minimal_ext_cmd(cmd): <ide> <ide> try: <ide> out = _minimal_ext_cmd(['git', 'rev-parse', 'HEAD']) <del> GIT_REVISION = out.strip() <add> GIT_REVISION = out.strip().decode('ascii') <ide> except OSError: <ide> GIT_REVISION = "Unknown" <ide>
1
Ruby
Ruby
extract common code in `uuid_test.rb`
671e997e5a71fbe0ba44d589b34c48b6c6502323
<ide><path>activerecord/test/cases/adapters/postgresql/uuid_test.rb <ide> require 'active_record/base' <ide> require 'active_record/connection_adapters/postgresql_adapter' <ide> <add>module PostgresqlUUIDHelper <add> def connection <add> @connection ||= ActiveRecord::Base.connection <add> end <add> <add> def ena...
1
Python
Python
pin torch to < 1.13 temporarily
8214a9f66a64987e08e42e20801436f3da751b32
<ide><path>setup.py <ide> "timeout-decorator", <ide> "timm", <ide> "tokenizers>=0.11.1,!=0.11.3,<0.14", <del> "torch>=1.7,!=1.12.0", <add> "torch>=1.7,!=1.12.0,<1.13.0", <ide> "torchaudio", <ide> "pyctcdecode>=0.4.0", <ide> "tqdm>=4.27", <ide><path>src/transformers/dependency_versions_tabl...
2
Python
Python
remove duplicated code in routers.simplerouter
940cf2e2e004f913d3cc260fa2b490d33a163b51
<ide><path>rest_framework/routers.py <ide> def get_routes(self, viewset): <ide> else: <ide> list_routes.append((httpmethods, methodname)) <ide> <add> def _get_dynamic_routes(route, dynamic_routes): <add> ret = [] <add> for httpmethods, methodname in dyna...
1
Javascript
Javascript
remove browserified file
d0bdde4ce3660c00e2444ff5f96be190275b3a44
<ide><path>axios.js <del>!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.axios=e()}}(function(){var define,module,exports;return (fu...
1
Javascript
Javascript
remove duplicate code in test
b85c5cd1884924d7fe4389121736eaa516ed8e40
<ide><path>packages/react-dom/src/__tests__/ReactDOMRoot-test.js <ide> describe('ReactDOMRoot', () => { <ide> expire = function(ms) { <ide> now += ms; <ide> }; <del> global.performance = { <del> now() { <del> return now; <del> }, <del> }; <ide> <ide> jest.resetModules(); <ide> ...
1
Ruby
Ruby
improve doc consistency
81f110657b2a59b76926b4b3d89f685420e32a0e
<ide><path>activesupport/lib/active_support/multibyte/chars.rb <ide> def reverse <ide> chars(Unicode.unpack_graphemes(@wrapped_string).reverse.flatten.pack('U*')) <ide> end <ide> <del> # Limit the byte size of the string to a number of bytes without breaking characters. Usable <add> # Limits th...
1
Python
Python
extend `nested_xxx` functions to mappings/dicts.
335f9bcd3457d2c4c9c6d9aeb2dae06ab20a7b56
<ide><path>src/transformers/trainer_pt_utils.py <ide> def numpy_pad_and_concatenate(array1, array2, padding_index=-100): <ide> def nested_concat(tensors, new_tensors, padding_index=-100): <ide> """ <ide> Concat the `new_tensors` to `tensors` on the first dim and pad them on the second if needed. Works for tenso...
1
PHP
PHP
apply fixes from styleci
26471a48ed27178151fe3ccf263d9e24661dee52
<ide><path>src/Illuminate/Mail/PendingMail.php <ide> protected function fill(MailableContract $mailable) <ide> if ($this->locale) { <ide> $mailable->locale($this->locale); <ide> } <del> }); <add> }); <ide> } <ide> }
1
PHP
PHP
depreciate the elixir function
86dbb2500308c7cf529daf829436ce1bced88d4c
<ide><path>src/Illuminate/Foundation/helpers.php <ide> function dispatch_now($job, $handler = null) <ide> * @return string <ide> * <ide> * @throws \InvalidArgumentException <add> * <add> * @deprecated Use Laravel Mix instead. <ide> */ <ide> function elixir($file, $buildDirectory = 'build...
1
Ruby
Ruby
initialize instance variables
6a3d4695f043031b73b1f5bc218fbeeae9fff771
<ide><path>actionpack/lib/action_dispatch/http/parameters.rb <ide> module ActionDispatch <ide> module Http <ide> module Parameters <add> def initialize(env) <add> super <add> @symbolized_path_params = nil <add> end <add> <ide> # Returns both GET and POST \parameters in a single hash....
3
Python
Python
fix incorrect matcher test
2bccad88152272af36c13973098695efd52a6bdd
<ide><path>spacy/tests/regression/test_issue1450.py <ide> ('a b', 0, 2), <ide> ('a c', 0, 1), <ide> ('a b c', 0, 2), <del> ('a b b c', 0, 2), <del> ('a b b', 0, 2), <add> ('a b b c', 0, 3), <add> ('a b b', 0, 3), <ide> ] <ide> ) <ide> def test_issue1450_matcher_en...
1
PHP
PHP
fix missing imports
5abfd3de2124e974c7da2e0d819b035cdcfb84fe
<ide><path>src/TestSuite/Fixture/FixtureManager.php <ide> use Cake\Core\Exception\Exception; <ide> use Cake\Database\Schema\TableSchema; <ide> use Cake\Database\Schema\TableSchemaAwareInterface; <add>use Cake\Datasource\ConnectionInterface; <ide> use Cake\Datasource\ConnectionManager; <add>use Cake\Datasource\FixtureIn...
1
Python
Python
fix typo when getting system32 location
df2acae5a4bcbc4c76ebbeefcfb07f59c9ee2914
<ide><path>numpy/distutils/mingw32ccompiler.py <ide> def find_python_dll(): <ide> lib_dirs = [] <ide> lib_dirs.append(os.path.join(sys.prefix, 'lib')) <ide> try: <del> lib_dirs.append(os.path.join(os.environ['SYSTEM_ROOT'], 'system32')) <add> lib_dirs.append(os.path.join(os.environ['SYSTEMROOT...
1
Python
Python
correct an issue while getting core number
fcf7f31a28bdee2058a9ce6bd9d7051a83a92b4a
<ide><path>glances/__init__.py <ide> # Global name <ide> # Version should start and end with a numerical char <ide> # See https://packaging.python.org/specifications/core-metadata/#version <del>__version__ = '3.1.8b4' <add>__version__ = '3.1.8b5' <ide> __author__ = 'Nicolas Hennion <nicolas@nicolargo.com>' <ide> __lice...
3
Text
Text
update document about alternative installation
90ec6bd500b676b7d68c0981a9cd6589707b0a33
<ide><path>docs/Homebrew-on-Linux.md <ide> Extract or `git clone` Homebrew wherever you want. Use `/home/linuxbrew/.linuxbr <ide> ```sh <ide> git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew <ide> mkdir ~/.linuxbrew/bin <del>ln -s ../Homebrew/bin/brew ~/.linuxbrew/bin <add>ln -s ~/.linuxbrew/Homebrew/bi...
1
Go
Go
enhance container detection on some corner cases
2f9e62611e16f189b103929e7718709ca9f38cc1
<ide><path>pkg/parsers/operatingsystem/operatingsystem_linux.go <ide> func IsContainerized() (bool, error) { <ide> return false, err <ide> } <ide> for _, line := range bytes.Split(b, []byte{'\n'}) { <del> if len(line) > 0 && !bytes.HasSuffix(line, []byte{'/'}) && !bytes.HasSuffix(line, []byte("init.scope")) { <add...
2
Python
Python
fix uint test error
a52cfad2f0806ad44fca37e58b115b552147a09d
<ide><path>t/unit/backends/test_elasticsearch.py <ide> def test_index(self): <ide> x._server.index.return_value = expected_result <ide> <ide> body = {"field1": "value1"} <add> x._index(id=sentinel.task_id, body=body, kwarg1='test1') <ide> x._server.index.assert_called_once_with( <ide> ...
1
Javascript
Javascript
allow suspending in the shell during hydration
f7f7ed089eb04a3504762425baf1d673701c736b
<ide><path>packages/react-dom/src/__tests__/ReactDOMFizzShellHydration-test.js <add>/** <add> * Copyright (c) Facebook, Inc. and its affiliates. <add> * <add> * This source code is licensed under the MIT license found in the <add> * LICENSE file in the root directory of this source tree. <add> * <add> * @emails react-c...
7
Text
Text
add history entries for dep0162 on `fs.md`
c08a361f706e60db9a2718282ea12abc1b04b882
<ide><path>doc/api/fs.md <ide> the end of the file. <ide> <!-- YAML <ide> added: v0.11.5 <ide> changes: <add> - version: v17.8.0 <add> pr-url: https://github.com/nodejs/node/pull/42149 <add> description: Passing to the `string` parameter an object with an own <add> `toString` function is deprecat...
1
Go
Go
fix bug in followsymlinkinscope when link == root
385c9b1a08aeaf7e08363007e5bb79bf30225b7e
<ide><path>integration-cli/docker_cli_run_test.go <ide> func TestModeHostname(t *testing.T) { <ide> deleteAllContainers() <ide> <ide> logDone("run - hostname and several network modes") <del>} <add>} <ide>\ No newline at end of file <ide><path>pkg/symlink/fs.go <ide> const maxLoopCounter = 100 <ide> // FollowSymlink...
2
Javascript
Javascript
replace prototypal on classical inheritance
cb54a5bf85d959bf5cfdf73f03fed8fac03024fa
<ide><path>packages/ember-routing/lib/system/dsl.js <ide> import { assert, deprecate } from 'ember-metal'; <ide> @submodule ember-routing <ide> */ <ide> <del>function DSL(name, options) { <del> this.parent = name; <del> this.enableLoadingSubstates = options && options.enableLoadingSubstates; <del> this.matches = []...
1
Text
Text
remove docs for `dockerd --no-new-privileges`
0a1ace9d2f72f3e3c20e8ddad2407ba7145e3db5
<ide><path>docs/reference/commandline/dockerd.md <ide> Options: <ide> --max-concurrent-uploads int Set the max concurrent uploads for each push (default 5) <ide> --metrics-addr string Set address and port to serve the metrics api (default "") <ide> --mtu int ...
1
Java
Java
fix flowable#toobservable backpressure support
3e4ae3856f184d5783d34ffc5c468d91e67d77d8
<ide><path>src/main/java/io/reactivex/Flowable.java <ide> public final <K, V> Single<Map<K, Collection<V>>> toMultimap( <ide> * @since 2.0 <ide> */ <ide> @CheckReturnValue <del> @BackpressureSupport(BackpressureKind.NONE) <add> @BackpressureSupport(BackpressureKind.UNBOUNDED_IN) <ide> @Scheduler...
1
PHP
PHP
ignore an assert on windows
5893031599b6ed631989a89ed5e07c249292cfb9
<ide><path>tests/TestCase/Log/Engine/ConsoleLogTest.php <ide> public function testConsoleOutputlogs() <ide> { <ide> $output = $this->getMockBuilder('Cake\Console\ConsoleOutput')->getMock(); <ide> <del> $output->expects($this->at(0)) <del> ->method('setOutputAs') <del> ->with($t...
1
Ruby
Ruby
add check for ssl_cert_dir
94bb92b4c1c27ad32be784975b03a337cd61695d
<ide><path>Library/Homebrew/cmd/doctor.rb <ide> def check_user_curlrc <ide> end <ide> end <ide> <add> def check_for_unsupported_curl_vars <add> # Support for SSL_CERT_DIR seemed to be removed in the 10.10.5 update. <add> if MacOS.version >= :yosemite && !ENV["SSL_CERT_DIR"].nil? then <<-EOS.undent <add> ...
1
Text
Text
add redux-tcomb to the ecosystem
99a0dc6a4ca0cea8106ed6c5a7b21f6693cfd1bd
<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
PHP
PHP
controller param behind. fixes
74fd4849ba8e37ed7974a02bf7b9b40761ea7531
<ide><path>cake/libs/router.php <ide> function __mapRoute($route, $params = array()) { <ide> if (isset($params[$key])) { <ide> $string = $params[$key]; <ide> unset($params[$key]); <del> } else { <add> } elseif (strpos($out, $key) != strlen($out) - strlen($key)) { <ide> $key = $key . '/'; <ide> } <...
2
Python
Python
remove outdated comment
37ebbc3a1cf1d284d9ef2afefb405884effb6928
<ide><path>keras/backend/theano_backend.py <ide> def random_uniform(shape, low=0.0, high=1.0, dtype=_FLOATX, seed=None): <ide> <ide> tensordot -> soon to be introduced in TF <ide> batched_tensordot -> reimplement <del> <del>addbroadcast -> remove usage? <del>unbroadcast -> remove usage? <ide> '''
1
Python
Python
fix legacy printing mode check
239783ffb705cdb8e0ed283f69fc05752e93e19b
<ide><path>numpy/core/arrayprint.py <ide> def dtype_is_implied(dtype): <ide> array([1, 2, 3], dtype=np.int8) <ide> """ <ide> dtype = np.dtype(dtype) <del> if _format_options['legacy'] and dtype.type == bool_: <add> if _format_options['legacy'] == '1.13' and dtype.type == bool_: <ide> return Fa...
1
Text
Text
rephrase four hashes of the apocalypse [ci skip]
97cac32841deed50a9caf6bb3b01039223f77071
<ide><path>guides/source/testing.md <ide> NOTE: Functional tests do not verify whether the specified request type is accep <ide> <ide> ### The Four Hashes of the Apocalypse <ide> <del>After a request has been made using one of the 6 methods (`get`, `post`, etc.) and processed, you will have 4 Hash objects ready for u...
1
Javascript
Javascript
return the native promise from play()
091bdf9261549e49d453f4591cde9c6d555bfa00
<ide><path>src/js/player.js <ide> class Player extends Component { <ide> /** <ide> * start media playback <ide> * <del> * @return {Player} <del> * A reference to the player object this function was called on <add> * @return {Promise|undefined} <add> * Returns a `Promise` if the browser r...
3
Ruby
Ruby
fix stale cask detection
6fe75fb1542995cdc641ca77f0529bfbb66f958e
<ide><path>Library/Homebrew/cleanup.rb <ide> def stale_formula?(scrub) <ide> def stale_cask?(scrub) <ide> return false unless name = basename.to_s[/\A(.*?)\-\-/, 1] <ide> <add> return if dirname.basename.to_s != "Cask" <add> <ide> cask = begin <ide> Cask::CaskLoader.load(name) <ide> ...
1
Ruby
Ruby
fetch approved reviews for a pull request
90309e5f42a9c60c6040d9d4ee0401fa413d1c7e
<ide><path>Library/Homebrew/test/utils/github_spec.rb <ide> end <ide> end <ide> <add> describe "::approved_reviews", :needs_network do <add> it "can get reviews for a pull request" do <add> reviews = subject.approved_reviews("Homebrew", "homebrew-core", 1, commit: "deadbeef") <add> expect(reviews)....
2
Javascript
Javascript
fix some missing semi-colons and spaces, typos
4b4292edb86d34067a2babb9f572a3641dd1d2a7
<ide><path>docs/src/gen-docs.js <ide> writer.makeDir('build/docs/syntaxhighlighter').then(function() { <ide> return Q.deep(fileFutures); <ide> }).then(function generateManifestFile() { <ide> return appCache('build/docs/').then(function(list) { <del> writer.output('appcache-offline.manifest',list) <add> writer...
7
Go
Go
add event types
72f1881df102fce9ad31e98045b91c204dd44513
<ide><path>api/client/events.go <ide> package client <ide> <ide> import ( <add> "encoding/json" <add> "fmt" <add> "io" <add> "strings" <add> "time" <add> <ide> "github.com/docker/docker/api/types" <add> eventtypes "github.com/docker/docker/api/types/events" <ide> "github.com/docker/docker/api/types/filters" <ide> C...
23
Javascript
Javascript
improve performance for incoming headers
da0dc51e396ea4a1f12f259a8149f4177ad674e8
<ide><path>benchmark/_http-benchmarkers.js <ide> class AutocannonBenchmarker { <ide> '-c', options.connections, <ide> '-j', <ide> '-n', <del> `http://127.0.0.1:${options.port}${options.path}`, <ide> ]; <add> for (const field in options.headers) { <add> args.push('-H', `${field}=${opti...
3
Javascript
Javascript
fix bad logic and created additional test to cover
ea2274a82fb1f7fee8c1cbe5f724ac06358026e2
<ide><path>bin/webpack.js <ide> function processOptions(options) { <ide> var statsPresetToOptions = require("../lib/Stats.js").presetToOptions; <ide> <ide> if(Array.isArray(options)) { <del> options = options.forEach(function(singleOption) { <del> singleOption.stats = statsPresetToOptions(singleOption.stats);...
4
Ruby
Ruby
add test for argv.include?
2f94d5f499bca6bbab238bb6536f05195b358159
<ide><path>Library/Homebrew/rubocops/lines_cop.rb <ide> def audit_formula(_node, _class_node, _parent_class_node, body_node) <ide> problem "Use `depends_on :fortran` instead of `ENV.fortran`" <ide> end <ide> <del> # find_instance_method_call(body_node, :ARGV, :include?) do |m| <del> ...
2
Python
Python
improve vision models
09178705101b9803e7b9ea7f79a46b4c242dd4bf
<ide><path>src/transformers/models/beit/modeling_beit.py <ide> class BeitModelOutputWithPooling(BaseModelOutputWithPooling): <ide> """ <ide> <ide> <del># Inspired by <del># https://github.com/rwightman/pytorch-image-models/blob/b9bd960a032c75ca6b808ddeed76bee5f3ed4972/timm/models/layers/helpers.py <del># From PyT...
39
Javascript
Javascript
fix names and default values
e45e20ad4b90ca0de7a1a738e7be90bd8abfb226
<ide><path>examples/js/loaders/GLTFLoader.js <ide> THREE.GLTFLoader = ( function () { <ide> * @pailhead <ide> */ <ide> <del> function SpecularGlossinessPbrMaterial( params ) { <add> function MeshStandardSGMaterial( params ) { <ide> <ide> THREE.MeshStandardMaterial.call( this ); <ide> <ide> THREE.GLTFLoader = (...
1
Ruby
Ruby
add class to handle arguments
e9806b6b55afa5102b253c628c0d1c90297c5e23
<ide><path>Library/Homebrew/cli/args.rb <add>require "ostruct" <add> <add>module Homebrew <add> module CLI <add> class Args < OpenStruct <add> # undefine tap to allow --tap argument <add> undef tap <add> <add> def initialize(argv:) <add> super <add> @argv = argv <add> end <add> ...
1
Python
Python
fix mypy errors in `docs/exts`
7e83e9cd1100b5c5e13a0285fb17abe6d60dfb88
<ide><path>docs/exts/docs_build/lint_checks.py <ide> def _check_missing_guide_references(operator_names, python_module_paths) -> List <ide> continue <ide> <ide> docstring = ast.get_docstring(class_def) <del> if "This class is deprecated." in docstring: <del> contin...
4
Ruby
Ruby
use path escaping for email addresses
21ffef38a5dc5a6a21f7e841aecab5b51f4fd185
<ide><path>actionview/lib/action_view/helpers/url_helper.rb <ide> def mail_to(email_address, name = nil, html_options = {}, &block) <ide> }.compact <ide> extras = extras.empty? ? '' : '?' + extras.join('&') <ide> <del> encoded_email_address = ERB::Util.url_encode(email_address).gsub("%40", "@") ...
2
PHP
PHP
fix docblock in route
7892af3b333a8668688d9505d8eedd7f94cdc6cc
<ide><path>src/Illuminate/Support/Facades/Route.php <ide> * @method \Illuminate\Support\Facades\Route domain(string $value) <ide> * @method \Illuminate\Support\Facades\Route name(string $value) <ide> * @method \Illuminate\Support\Facades\Route namespace(string $value) <del> * @method \Illuminate\Routing\Route group(...
1
Javascript
Javascript
fix lint error
0be2dd32bc489043bfda568b114651e54705aa08
<ide><path>stylelint.config.js <ide> module.exports = { <ide> "rule-empty-line-before": null, // TODO: enable? <ide> "at-rule-empty-line-before": null, // TODO: enable? <ide> "font-family-no-duplicate-names": null, // TODO: enable? <add> "unit-no-unknown": [true, {"ignoreUnits": [ "x" ]}], // Needed for ...
1
Ruby
Ruby
use explicit checks instead of custom matcher
31c51108ce43ae97f6b8c061be90ccc1a567010b
<ide><path>Library/Homebrew/cask/spec/cask/artifact/binary_spec.rb <ide> shutup do <ide> Hbc::Artifact::Binary.new(cask).install_phase <ide> end <del> expect(expected_path).to be_a_valid_symlink <add> expect(expected_path).to be_a_symlink <add> expect(expected_path.readlink).to exist <ide> end ...
3
Text
Text
remove extra readme
95df0fd9b2639d660aec9f14f60a737ba2e3e3cf
<ide><path>official/vision/beta/projects/movinet/README.google.md <del># Mobile Video Networks (MoViNets) <del> <del>Design doc: go/movinet <del> <del>## Getting Started <del> <del>```shell <del>bash third_party/tensorflow_models/official/vision/beta/projects/movinet/google/run_train.sh <del>``` <del> <del>## Results <...
1
Ruby
Ruby
fix latest xcode on big sur
51a57760715fb84e58187563943092351e86c171
<ide><path>Library/Homebrew/os/mac/xcode.rb <ide> module Xcode <ide> def latest_version(macos: MacOS.version) <ide> latest_stable = "13.3" <ide> case macos <del> when "12", "11" then latest_stable <add> when "12" then latest_stable <add> when "11" then "13.2.1" <ide> w...
1
Python
Python
add doc strings on deployment classes
dc9827e760bd642c7c8cb66f1c27fc678059e931
<ide><path>libcloud/deployment.py <ide> import os <ide> <ide> class Deployment(object): <del> pass <add> """ <add> Base class for deployment tasks. <add> """ <add> <add> def run(self, node, client): <add> """ <add> Runs this deployment task on C{node} using the C{client} provided. <add> <a...
1
Python
Python
add platform info to the final optimization report
3944f409884b50c3cb0cf101b54e622e6125a850
<ide><path>numpy/distutils/ccompiler_opt.py <ide> def generate_dispatch_header(self, header_path): <ide> <ide> def report(self, full=False): <ide> report = [] <add> platform_rows = [] <ide> baseline_rows = [] <ide> dispatch_rows = [] <add> report.append(("Platform", platform_r...
1
Text
Text
add 2.15.2 to changelog
c46c19dbc6cc2c6bf9bb033400a818fcbfcebe99
<ide><path>CHANGELOG.md <ide> - [#15528](https://github.com/emberjs/ember.js/pull/15528) [DEPRECATION] Deprecate `Controller#content` alias. <ide> - [#15552](https://github.com/emberjs/ember.js/pull/15552) [FEATURE] Update blueprints and tests to RFC #176. <ide> <add>### 2.15.2 (October 4, 2017) <add> <add>- [#15604](...
1
Text
Text
profile lookup. fixes and enhancements
5e5c162303685ca0d8db1ad30cdf01c52b259454
<ide><path>client/src/pages/guide/english/certifications/javascript-algorithms-and-data-structures/basic-javascript/profile-lookup/index.md <ide> --- <ide> title: Profile Lookup <ide> --- <del>![:triangular_flag_on_post:](https://forum.freecodecamp.com/images/emoji/emoji_one/triangular_flag_on_post.png?v=3 ":triangular...
1
Javascript
Javascript
remove duplicate `should` in test name
a4be780781bfe956c3f4c84d04fa189a752d8a29
<ide><path>test/integration/prerender/test/index.test.js <ide> const runTests = (dev = false, isEmulatedServerless = false) => { <ide> }) <ide> } else { <ide> if (!isEmulatedServerless) { <del> it('should should use correct caching headers for a no-revalidate page', async () => { <add> it('should us...
1
Python
Python
remove a pointless if
c2cbf13ac4df693cec70f6949efdc386c791d1f9
<ide><path>numpy/lib/function_base.py <ide> def _quantile_ureduce_func(a, q, axis=None, out=None, overwrite_input=False, <ide> x1 = x1.squeeze(0) <ide> x2 = x2.squeeze(0) <ide> <del> if out is not None: <del> r = add(x1, x2, out=out) <del> else: <del> r = add...
1
Javascript
Javascript
move jest-dom into setup file
b9db30f7a1366ed26238b80032a93ec803a37bf7
<ide><path>client/jest.config.js <ide> module.exports = { <ide> transform: { <ide> '^.+\\.js$': '<rootDir>/jest.transform.js' <ide> }, <del> transformIgnorePatterns: ['node_modules/(?!(gatsby)/)'] <add> transformIgnorePatterns: ['node_modules/(?!(gatsby)/)'], <add> setupFilesAfterEnv: ['./jest.setup.js'] <id...
18
PHP
PHP
fix multiple unused variables
7464dce14d76071d6b9f6056f96d7983528bc6ee
<ide><path>src/Illuminate/Database/Eloquent/Builder.php <ide> protected function callScope(callable $scope, $parameters = []) <ide> $this->addNewWheresWithinGroup($query, $originalWhereCount); <ide> } <ide> <del> return $this; <add> return $result; <ide> } <ide> <ide> /** <id...
4
Ruby
Ruby
switch secure token generation to base58
47316feee0f061f80e26c51fb0d41f537407ab9c
<ide><path>activerecord/lib/active_record/secure_token.rb <ide> module ClassMethods <ide> # <ide> # user = User.new <ide> # user.save <del> # user.token # => "44539a6a59835a4ee9d7b112" <del> # user.auth_token # => "e2426a93718d1817a43abbaa" <add> # user.token # => "4kUgL2pdQMS...
2
Ruby
Ruby
add satisfied test
13dcdb3098d6c1089db937d5c122cf06a0631ac4
<ide><path>Library/Homebrew/test/test_gpg2_requirement.rb <add>require "testing_env" <add>require "requirements/gpg2_requirement" <add>require "fileutils" <add> <add>class GPG2RequirementTests < Homebrew::TestCase <add> def setup <add> @dir = Pathname.new(mktmpdir) <add> (@dir/"bin/gpg").write <<-EOS.undent <add...
1
PHP
PHP
add @cannot blade directive
9c41aa0d53412e3008285e89ff9764fa51b42469
<ide><path>src/Illuminate/View/Compilers/BladeCompiler.php <ide> protected function compileCan($expression) <ide> return "<?php if (Gate::check{$expression}): ?>"; <ide> } <ide> <add> /** <add> * Compile the cannot statements into valid PHP. <add> * <add> * @param string $expression <add> ...
2
Python
Python
allow sourcing disabled components
e43d43db32e66d7f03177b4214cd26dbacb9b4ed
<ide><path>spacy/language.py <ide> def create_pipe_from_source( <ide> # TODO: handle errors and mismatches (vectors etc.) <ide> if not isinstance(source, self.__class__): <ide> raise ValueError(Errors.E945.format(name=source_name, source=type(source))) <del> if not source.has_pipe(sou...
1
Go
Go
avoid duplicate entries in /etc/hosts
4850c5f1e68456dc360fd6837f67f7ea332f8335
<ide><path>libnetwork/endpoint.go <ide> func (ep *endpoint) sbJoin(sbox Sandbox, options ...EndpointOption) error { <ide> if ip := ep.getFirstInterfaceAddress(); ip != nil { <ide> address = ip.String() <ide> } <del> if err = sb.updateHostsFile(address, network.getSvcRecords()); err != nil { <add> if err = sb.update...
2
Text
Text
fix typos in readme
e1131017022458ca20d56bf7ddc09243927e7d21
<ide><path>README.md <ide> <ide> This repository contains an op-for-op PyTorch reimplementation of [Google's TensorFlow repository for the BERT model](https://github.com/google-research/bert) that was released together with the paper [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](ht...
1
PHP
PHP
make argument nullable
8dc17abd82f009db1f6939de80fc6a7c20beb569
<ide><path>src/Routing/Exception/DuplicateNamedRouteException.php <ide> class DuplicateNamedRouteException extends Exception <ide> /** <ide> * @inheritDoc <ide> */ <del> public function __construct($message, int $code = 404, ?Throwable $previous = null) <add> public function __construct($message, ?i...
3
Text
Text
fix typo in http2.md
0271b0f20309afae2b89a685e5002a25bfc94d37
<ide><path>doc/api/http2.md <ide> added: v8.4.0 <ide> --> <ide> <ide> Call [`http2stream.pushStream()`][] with the given headers, and wraps the <del>given newly created [`Http2Stream`] on `Http2ServerRespose`. <add>given newly created [`Http2Stream`] on `Http2ServerResponse`. <ide> <ide> The callback will be called w...
1
Ruby
Ruby
exclude all located superenv paths
161104cae70f3207b247331d182dc47c0b8c8a06
<ide><path>Library/Homebrew/macos.rb <ide> def locate tool <ide> xcrun_path = unless Xcode.bad_xcode_select_path? <ide> path = `/usr/bin/xcrun -find #{tool} 2>/dev/null`.chomp <ide> # If xcrun finds a superenv tool then discard the result. <del> path unless path.include?(HOMEBREW_RE...
1
PHP
PHP
fix alphanumeric validation
14c81fe0521e4a1b0f32bf7f6b9936dcfcaf6998
<ide><path>lib/Cake/Test/Case/Utility/ValidationTest.php <ide> public function testAlphaNumeric() { <ide> <ide> $this->assertFalse(Validation::alphaNumeric('12 234')); <ide> $this->assertFalse(Validation::alphaNumeric('dfd 234')); <add> $this->assertFalse(Validation::alphaNumeric("0\n")); <ide> $this->assertFal...
2
Go
Go
remove dead code registerdiffids
02ed83aee95e506ace3a994bb2ebb7e94df5a438
<ide><path>layer/layer_windows.go <ide> package layer <ide> <ide> import ( <ide> "errors" <del> "fmt" <ide> <del> "github.com/Sirupsen/logrus" <ide> "github.com/docker/docker/daemon/graphdriver" <del> "github.com/opencontainers/go-digest" <ide> ) <ide> <ide> // GetLayerPath returns the path to a layer <ide> func G...
1