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
Javascript
Javascript
add example of default/module export types
e266d3e4d7533f7fea8da7f22144b96f6e066bea
<ide><path>type-definitions/tests/immutable-flow.js <ide> const Immutable2Range = Immutable2.Range <ide> const Immutable2Repeat = Immutable2.Repeat <ide> const Immutable2IndexedSeq = Immutable2.IndexedSeq <ide> <add>var defaultExport: List<*> = Immutable.List(); <add>var moduleExport: List<*> = Immutable2.List(); <add...
1
Ruby
Ruby
remove stuff that was deprecated in 2-1-stable
a5cdb7a813515fa0cbee23101d2f911b4017ed90
<ide><path>actionpack/lib/action_controller/caching/fragments.rb <ide> module Caching <ide> # <ide> # expire_fragment(:controller => "topics", :action => "list", :action_suffix => "all_topics") <ide> module Fragments <del> def self.included(base) #:nodoc: <del> base.class_eval do <del> ...
4
Ruby
Ruby
avoid repeated interpolation here too
010a1461f7fd02f14b9cfe9bd3c9018fddcb4431
<ide><path>Library/Homebrew/cmd/doctor.rb <ide> def check_for_broken_symlinks <ide> Keg::PRUNEABLE_DIRECTORIES.each do |d| <ide> next unless d.directory? <ide> d.find do |pn| <del> broken_symlinks << pn if pn.symlink? and pn.readlink.expand_path.to_s =~ /^#{HOMEBREW_PREFIX}/ and not pn.exist? <add> ...
1
Go
Go
update libcontainer references
cee6f4506c79c6fc21769d427ac4dd51c28450c3
<ide><path>daemon/execdriver/lxc/lxc_init_linux.go <ide> func finalizeNamespace(args *execdriver.InitArgs) error { <ide> <ide> if !args.Privileged { <ide> // drop capabilities in bounding set before changing user <del> if err := capabilities.DropBoundingSet(container); err != nil { <add> if err := capabilities.Dr...
5
Java
Java
relax test assertion when jacoco is enabled
5a51351fa4e582571a442b331fb3f2bec0e63f30
<ide><path>spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ResponseBodyResultHandlerTests.java <ide> public void supports() throws NoSuchMethodException { <ide> method = on(TestController.class).annotPresent(ResponseBody.class).resolveMethod(); <ide> testSupports(controller, m...
1
Java
Java
remove jibx support
3c8724ba3d0375e4a50354c15383972fee788e9c
<ide><path>spring-oxm/src/main/java/org/springframework/oxm/config/JibxMarshallerBeanDefinitionParser.java <del>/* <del> * Copyright 2002-2019 the original author or authors. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the L...
8
Go
Go
update image pull tests
f324f4851f28edfd8dab82cd624a4ec1f01cd207
<ide><path>integration-cli/docker_cli_pull_local_test.go <add>package main <add> <add>import ( <add> "fmt" <add> <add> "github.com/go-check/check" <add>) <add> <add>// TestPullImageWithAliases pulls a specific image tag and verifies that any aliases (i.e., other <add>// tags for the same image) are not also pulled down...
3
Python
Python
add shuffle to the model api
b36c982934334f3bde7187d3a3a25aafa8f60ece
<ide><path>keras/models.py <ide> def fit_generator(self, generator, <ide> max_queue_size=10, <ide> workers=1, <ide> use_multiprocessing=False, <add> shuffle=False, <ide> initial_epoch=0): <ide> """Fits t...
1
Text
Text
fix description of dep0024
9f06a057959edc258fd0014223d9fb0ec917525f
<ide><path>doc/api/deprecations.md <ide> The `os.getNetworkInterfaces()` method is deprecated. Please use the <ide> <ide> Type: End-of-Life <ide> <del>The `REPLServer.prototype.convertToContext()` API is deprecated and should <del>not be used. <add>The `REPLServer.prototype.convertToContext()` API has been removed. <...
1
Javascript
Javascript
use fullhash to avoid deprecation warning
781398355ada986b7f1300da7318186468ad735d
<ide><path>lib/WebpackOptionsDefaulter.js <ide> class WebpackOptionsDefaulter extends OptionsDefaulter { <ide> options => options.mode === "development" <ide> ); <ide> this.set("output.sourceMapFilename", "[file].map[query]"); <del> this.set("output.hotUpdateChunkFilename", "[id].[hash].hot-update.js"); <del> ...
1
Text
Text
add hex alpha
b9d01d13e6b63f9f1ac83eae693079beb6c3a2dc
<ide><path>guide/english/css/background-opacity/index.md <ide> img:hover { <ide> Using the rgba value is most preferable when the background has content like text compared to using the background-color property then going on to use the opacity property. First, it's shorter and second, it eliminates the problem of havin...
1
PHP
PHP
apply fixes from styleci
df341e01848027ae9e1e2fb79bf3ae1fca50cad6
<ide><path>tests/Integration/Routing/ResponsableTest.php <ide> public function test_responsable_objects_are_rendered() <ide> } <ide> } <ide> <del> <ide> class TestResponsableResponse implements Responsable <ide> { <ide> public function toResponse()
1
Python
Python
use itervalues instead of iteritems
d5c465ddf4125db71a072cf3033533b02290d08f
<ide><path>flask/cli.py <ide> from werkzeug.utils import import_string <ide> <ide> from . import __version__ <del>from ._compat import getargspec, iteritems, reraise, text_type <add>from ._compat import getargspec, itervalues, reraise, text_type <ide> from .globals import current_app <ide> from .helpers import get_deb...
1
Javascript
Javascript
do less manual conversion
29eae2c468776e2d82ef6272cc5183244c6f6eca
<ide><path>fonts.js <ide> CFF.prototype = { <ide> } <ide> break; <ide> <del> case "div": <del> var num2 = charstring[i - 1]; <del> var num1 = charstring[i - 2]; <del> charstring.splice(i - 2, 3, num1 / num2); <del> i -= 2; <del> br...
1
Text
Text
translate 08.1-more-about-refs.md to japanese
55c3d92bc88fade33f87c5be704002d314eb832f
<ide><path>docs/docs/08.1-more-about-refs.ja-JP.md <add>--- <add>id: more-about-refs <add>title: 参照についての詳細 <add>permalink: more-about-refs-ja-JP.html <add>prev: working-with-the-browser-ja-JP.html <add>next: tooling-integration-ja-JP.html <add> <add>--- <add>renderメソッドからUIの構成をリターンした後、あなたは「リーチアウト」を見て、renderから返ってきたコンポーネン...
1
Go
Go
add unit test to check wrong uid case
e41507bde2d87cb9bbb0c328e414a39354dae10e
<ide><path>container_test.go <ide> func TestUser(t *testing.T) { <ide> if !strings.Contains(string(output), "uid=1(daemon) gid=1(daemon)") { <ide> t.Error(string(output)) <ide> } <add> <add> // Test an wrong username <add> container, err = builder.Create(&Config{ <add> Image: GetTestImage(runtime).ID, <add> Cmd: ...
2
PHP
PHP
remove all todo from core, create tickets for them
e02eab05d5e598bc2af3489a4e4cba61a2419d36
<ide><path>lib/Cake/Console/Command/Task/TemplateTask.php <ide> protected function _findThemes() { <ide> <ide> $paths[] = $core; <ide> <del> // TEMPORARY TODO remove when all paths are DS terminated <ide> foreach ($paths as $i => $path) { <ide> $paths[$i] = rtrim($path, DS) . DS; <ide> } <ide><path>lib/Cake...
17
Python
Python
add mix weights on fine_tune
5d837c37762cb06a230906be80225e0e421c6cb2
<ide><path>spacy/_ml.py <ide> def fine_tune_fwd(docs_tokvecs, drop=0.): <ide> lengths = model.ops.asarray([len(doc) for doc in docs], dtype='i') <ide> <ide> vecs, bp_vecs = embedding.begin_update(docs, drop=drop) <del> <add> flat_tokvecs = embedding.ops.flatten(tokvecs) <add> flat...
1
Python
Python
update affected tests
c7ffbe78034fea90f52f21950df1ec2c338caa4d
<ide><path>libcloud/dns/drivers/dummy.py <ide> def list_records(self, zone): <ide> >>> record = driver.create_record(name='libcloud', zone=zone, <ide> ... type=RecordType.A, data='127.0.0.1') <ide> >>> list(zone.list_records()) #doctest: +ELLIPSIS <del> [<Rec...
1
Javascript
Javascript
add safehtml method to string
bd6c1a3761207efda3cc2a5f3f5a39092447ff95
<ide><path>packages/ember-handlebars/lib/main.js <ide> require("ember-runtime"); <ide> require("ember-views"); <ide> require("ember-handlebars/ext"); <add>require("ember-handlebars/string"); <ide> require("ember-handlebars/helpers"); <ide> require("ember-handlebars/views"); <ide> require("ember-handlebars/controls"); <...
3
Java
Java
add javadocs to describe serializedsubject class
5c0a955925062cb25bd0f2a20b6803b7b3512d54
<ide><path>src/main/java/rx/internal/operators/OperatorDoOnSubscribe.java <ide> <ide> /** <ide> * Constructs an instance of the operator with the callback that gets invoked when the modified Observable is subscribed <del> * @param unsubscribe The action that gets invoked when the modified {@link rx.Observ...
2
PHP
PHP
add keys to transfrom
df01d9e85140e898f20f6ba8566ba052f80d5c5c
<ide><path>src/Illuminate/Support/Collection.php <ide> public function take($limit) <ide> */ <ide> public function transform(callable $callback) <ide> { <del> $this->items = array_map($callback, $this->items); <add> $keys = array_keys($this->items); <add> <add> $this->items = array_combine($keys, array_map($call...
2
Text
Text
fix doc typo
7a3566ea3f2fccb3ecaf6693c16a725237228de7
<ide><path>guides/source/upgrading_ruby_on_rails.md <ide> warning by adding the following configuration to your `config/application.rb`: <ide> <ide> See [#17227](https://github.com/rails/rails/pull/17227) for more details. <ide> <del>### ActiveJob jobs now inherent from ApplicationJob by default <add>### ActiveJob jo...
1
Python
Python
change optimizer in cifar10 example
7c4f033c6a7a3a6d157045bb69b0dd1f22ff4ab3
<ide><path>examples/cifar10_cnn.py <ide> from keras.models import Sequential <ide> from keras.layers import Dense, Dropout, Activation, Flatten <ide> from keras.layers import Convolution2D, MaxPooling2D <del>from keras.optimizers import SGD <ide> from keras.utils import np_utils <ide> <ide> batch_size = 32 <ide> model...
1
Javascript
Javascript
use timer type as systrace identifier
75a154b4499e44b4ab31ccf28f9eb1dbf21578ac
<ide><path>Libraries/Core/Timers/JSTimers.js <ide> const timerIDs: Array<?number> = []; <ide> let immediates: Array<number> = []; <ide> let requestIdleCallbacks: Array<number> = []; <ide> const requestIdleCallbackTimeouts: {[number]: number} = {}; <del>const identifiers: Array<null | {methodName: string}> = []; <ide> ...
1
Javascript
Javascript
use uncommon key for candefineproperty test
1c9d970d3c5d3e0c6895ac8b869ce06e3db3f21d
<ide><path>dist/immutable.js <ide> // True if Object.defineProperty works as expected. IE8 fails this test. <ide> var canDefineProperty = (function() { <ide> try { <del> Object.defineProperty({}, 'x', {}); <add> Object.defineProperty({}, '@', {}); <ide> return true; <ide> } catch (e) { <ide>...
3
Text
Text
add info on notation
fe204ef8cb911f41537472e905b4d1fb4bfa8d82
<ide><path>guide/english/mathematics/derivatives/index.md <ide> title: Derivatives <ide> <ide> ## Derivatives <ide> <del>The derivative is the instantaneous rate of change of a function, or the rate of change of a function at any particular instant in time. The derivative is a tool of calculus and you can determine i...
1
Python
Python
add ticket for ticket #243
4963af21d20a3161d17f93b187b49cfdaa3664cd
<ide><path>numpy/core/tests/test_regression.py <ide> def check_object_array_shape(self,level=rlevel): <ide> assert_equal(N.array([[],[],[]],dtype=object).shape, (3,0)) <ide> assert_equal(N.array([[3,4],[5,6],None],dtype=object).shape, (3,)) <ide> <add> def check_mem_around(self,level=rlevel)...
1
Python
Python
fix glue mnli when using `max_eval_samples`
ef6741fe65c130ddb33c43ad2ba2b82f40ea7e90
<ide><path>examples/pytorch/text-classification/run_glue.py <ide> def compute_metrics(p: EvalPrediction): <ide> eval_datasets = [eval_dataset] <ide> if data_args.task_name == "mnli": <ide> tasks.append("mnli-mm") <del> eval_datasets.append(raw_datasets["validation_mismatched"]) <a...
1
Javascript
Javascript
catch syntax errors better
4631c503e35cd3bb75a10424dd47a73c12ec468e
<ide><path>lib/repl.js <ide> function REPLServer(prompt, stream, eval_, useGlobal, ignoreUndefined) { <ide> <ide> function defaultEval(code, context, file, cb) { <ide> var err, result; <add> // first, create the Script object to check the syntax <ide> try { <del> if (self.useGlobal) { <del> re...
2
Javascript
Javascript
fix race condition in multicompiler queuing
174eb3cdf8b4bdffdd4a616f7ed19937ddd0dad9
<ide><path>lib/MultiCompiler.js <ide> module.exports = class MultiCompiler { <ide> * @returns {SetupResult[]} result of setup <ide> */ <ide> _runGraph(setup, run, callback) { <del> /** @typedef {{ compiler: Compiler, result: Stats, state: "blocked" | "queued" | "running" | "done", children: Node[], parents: Node[...
2
Mixed
Text
improve documentation for asset_url
db9a5c5a1f8e2a1590f0ac9436587d58a67a629e
<ide><path>actionview/CHANGELOG.md <ide> <ide> *Piotr Chmolowski, Łukasz Strzałkowski* <ide> <add>* Allow custom `:host` option to be passed to `asset_url` helper that <add> overwrites `config.action_controller.asset_host` for particular asset. <add> <add> *Hubert Łępicki* <ide> <ide> Please check [4-1-s...
3
Text
Text
fix a couple of issues in get started docs
1cd06fdd1ac5ce1f91291330d9f89679468ce393
<ide><path>docs/getstarted/step_four.md <ide> commands to run. Your recipe is going to be very short. <ide> 2. Now, build your new image by typing the `docker build -t docker-whale .` command in your terminal (don't forget the . period). <ide> <ide> $ docker build -t docker-whale . <del> Sending build c...
1
Python
Python
add funcs to rpc instance
59f55fa7fc164cfd0332db6fa11e5af5c663b7b9
<ide><path>glances/glances.py <ide> # <ide> # Glances is a simple textual monitoring tool <ide> # <del># Pre-requisites: Python 2.6+ and PsUtil 0.4.0+ (for full functions) <del># <ide> # Copyright (C) Nicolargo 2012 <nicolas@nicolargo.com> <ide> # <add># Glances is distributed <ide> # under the terms of the GNU Lesser ...
1
Ruby
Ruby
show tapped casks
2aa7597e70d8aa5bd529494884646797ea547cb0
<ide><path>Library/Homebrew/tap.rb <ide> def install(options = {}) <ide> <ide> link_completions_and_manpages <ide> <del> formula_count = formula_files.size <del> puts "Tapped #{Formatter.pluralize(formula_count, "formula")} (#{path.abv})" unless quiet <add> casks = Formatter.pluralize(cask_files.count, "...
1
Javascript
Javascript
make setstate return the state that was set
aec2f26ed7fa99f37b9122186b7a8951b78058a2
<ide><path>src/Redux.js <ide> export default class Redux { <ide> setState(nextState) { <ide> this.state = nextState; <ide> this.listeners.forEach(listener => listener()); <add> return nextState; <ide> } <ide> <ide> subscribe(listener) { <ide><path>src/createDispatcher.js <ide> import compose from './u...
3
Go
Go
normalize c.check to c.assert
5879446de9adbff7432f1ccaa781164fcd5efe26
<ide><path>integration-cli/docker_cli_build_test.go <ide> func (s *DockerSuite) TestBuildBuildTimeArgExpansion(c *check.C) { <ide> ) <ide> <ide> res := inspectField(c, imgName, "Config.WorkingDir") <del> c.Check(filepath.ToSlash(res), check.Equals, filepath.ToSlash(wdVal)) <add> c.Assert(filepath.ToSlash(res), check...
3
Java
Java
add clienthttpconnector test suite
7bd524e9d705f0189730b3a3b4c41ebde0a2936b
<ide><path>spring-web/src/main/java/org/springframework/http/client/reactive/HttpComponentsClientHttpConnector.java <ide> import org.apache.hc.client5.http.protocol.HttpClientContext; <ide> import org.apache.hc.core5.concurrent.FutureCallback; <ide> import org.apache.hc.core5.http.HttpResponse; <add>import org.apache.h...
6
Text
Text
add company to airflow users list
da83ef8cfe8a7e59f96290adbf98f936e8059ee1
<ide><path>README.md <ide> Currently **officially** using Airflow: <ide> 1. [Poshmark](https://www.poshmark.com) <ide> 1. [Postmates](http://www.postmates.com) [[@syeoryn](https://github.com/syeoryn)] <ide> 1. [Premise](http://www.premise.com) [[@jmccallum-premise](https://github.com/jmccallum-premise)] <add>1. [Promof...
1
Text
Text
update the changelog
9d4c2dfaac682c546bc746ed257b408b4e862f3d
<ide><path>CHANGELOG.md <ide> <ide> * Fix `null` showing up in a warning instead of the component stack. ([@gaearon](https://github.com/gaearon) in [#10915](https://github.com/facebook/react/pull/10915)) <ide> * Fix IE11 crash in development mode. ([@leidegre](https://github.com/leidegre) in [#10921](https://github.co...
1
Javascript
Javascript
pass type to the relevant host config methods
6c1592f3842fb2bee94e82e84d64b17dec39b38b
<ide><path>src/renderers/art/ReactARTFiber.js <ide> const ARTRenderer = ReactFiberReconciler({ <ide> // Noop <ide> }, <ide> <del> commitUpdate(instance, oldProps, newProps) { <add> commitUpdate(instance, type, oldProps, newProps) { <ide> instance._applyProps(instance, newProps, oldProps); <ide> }, <ide> ...
6
Javascript
Javascript
ignore deprecatedproptype in bridgeless mode
0d968fd7dc93c135031aece5f702c082165eb298
<ide><path>Libraries/Utilities/deprecatedPropType.js <ide> function deprecatedPropType( <ide> return function validate(props, propName, componentName, ...rest) { <ide> // Don't warn for native components. <ide> if ( <add> !global.RN$Bridgeless && <ide> !UIManager.getViewManagerConfig(componentName)...
1
Python
Python
add tests for the grid_data endpoint
2b2d97068fa45881672dab6f2134becae246f3f3
<ide><path>airflow/www/views.py <ide> def grid_data(self): <ide> } <ide> <ide> # avoid spaces to reduce payload size <del> return htmlsafe_json_dumps(data, separators=(',', ':')) <add> return ( <add> htmlsafe_json_dumps(data, separators=(',', ':')), <add> {'Conte...
2
PHP
PHP
update filesystemadapter.php
e0755231de6c1f05720fd763a6e782b3f25d8237
<ide><path>src/Illuminate/Filesystem/FilesystemAdapter.php <ide> public function temporaryUrl($path, $expiration, array $options = []) <ide> { <ide> $adapter = $this->driver->getAdapter(); <ide> <del> $client = $adapter->getClient(); <del> <del> if (! $adapter instanceof AwsS3Adapter) { <add>...
1
Java
Java
replace explicit use of pooleddatabuffer.release()
3aaff40e2ea3719eaaa98689e058c3edcc0a6e8a
<ide><path>spring-core/src/main/java/org/springframework/core/io/buffer/DataBufferUtils.java <ide> public static boolean release(@Nullable DataBuffer dataBuffer) { <ide> catch (IllegalStateException ex) { <ide> // Avoid dependency on Netty: IllegalReferenceCountException <ide> if (logger.isDebugEnabled())...
2
Java
Java
increase fudge factor
836976d7328464bbe5939dd68c58b48678413207
<ide><path>spring-test/src/test/java/org/springframework/test/context/junit/jupiter/event/ParallelApplicationEventsIntegrationTests.java <ide> void executeTestsInParallel(Class<?> testClass) { <ide> assertThat(testNames).hasSize(10); <ide> <ide> // Skip the following assertion entirely if the thread count is too l...
1
Java
Java
ignore empty statements (spr-7363)
a8133a9917744ed656189dd7f553a7b1acfa1129
<ide><path>org.springframework.jdbc/src/main/java/org/springframework/jdbc/datasource/init/ResourceDatabasePopulator.java <ide> private boolean containsSqlScriptDelimiters(String script, char delim) { <ide> } <ide> <ide> /** <del> * Split an SQL script into separate statements delimited with the provided delimiter ...
1
Javascript
Javascript
create diagnostics channels lazily
cb955e0dd1c394fa7f168ba30c0832d49e9504fd
<ide><path>lib/net.js <ide> const noop = () => {}; <ide> <ide> const kPerfHooksNetConnectContext = Symbol('kPerfHooksNetConnectContext'); <ide> <del>const dc = require('diagnostics_channel'); <del>const netClientSocketChannel = dc.channel('net.client.socket'); <del>const netServerSocketChannel = dc.channel('net.serve...
2
PHP
PHP
initialize $fixtures to null
c224bbffc01e0e12cc6427f06c6cc3585f0884f1
<ide><path>src/TestSuite/TestCase.php <ide> abstract class TestCase extends BaseTestCase <ide> * <ide> * @var array|string|null <ide> */ <del> public $fixtures; <add> public $fixtures = null; <ide> <ide> /** <ide> * By default, all fixtures attached to this class will be truncated and rel...
1
Javascript
Javascript
define all used properties in constructors
a2ea1344ea9c9badaac500f399d89293f4238fed
<ide><path>lib/_http_client.js <ide> function ClientRequest(options, cb) { <ide> self._renderHeaders()); <ide> } <ide> <add> this._ended = false; <add> this.res = null; <add> this.aborted = undefined; <add> this.timeoutCb = null; <add> this.upgradeOrConnect = false; <add> this.parser = nu...
2
Java
Java
support implicit ports in mhsr.getrequesturl()
86591e5e5aeb7eead1798069d8b6f9c1790f4b9d
<ide><path>spring-test/src/main/java/org/springframework/mock/web/MockHttpServletRequest.java <ide> import java.util.Locale; <ide> import java.util.Map; <ide> import java.util.Set; <add> <ide> import javax.servlet.AsyncContext; <ide> import javax.servlet.DispatcherType; <ide> import javax.servlet.RequestDispatcher; <id...
2
PHP
PHP
allow complex urls for login action
2a8d9abe20681573fa51f317e931b9011f48ff6b
<ide><path>src/Controller/Component/AuthComponent.php <ide> protected function _loginActionRedirectUrl() <ide> if (is_array($loginAction)) { <ide> $loginAction['?'][static::QUERY_STRING_REDIRECT] = $currentUrl; <ide> } else { <del> $loginAction .= '?' . static::QUERY_STRING_REDIRE...
2
Javascript
Javascript
avoid needless sort in chunk compare
fb9b61b72fbf2bb0de8d6535b2496e5794299a13
<ide><path>lib/Chunk.js <ide> class Chunk { <ide> * @returns {-1|0|1} this is a comparitor function like sort and returns -1, 0, or 1 based on sort order <ide> */ <ide> compareTo(otherChunk) { <del> this._modules.sort(); <del> otherChunk._modules.sort(); <ide> if (this._modules.size > otherChunk._modules.size)...
1
Python
Python
enable full convolution with the theano backend.
bc6880fa348eda885dfad305088b395510d74300
<ide><path>keras/backend/theano_backend.py <ide> def _preprocess_border_mode(border_mode): <ide> th_border_mode = 'half' <ide> elif border_mode == 'valid': <ide> th_border_mode = 'valid' <add> elif border_mode == 'full': <add> th_border_mode = 'full' <ide> else: <ide> raise Exc...
4
Javascript
Javascript
flatten access to primordials
0646eda4fc0affb98e13c30acb522e63b7fd6dde
<ide><path>lib/_http_agent.js <ide> 'use strict'; <ide> <ide> const { <del> Object: { <del> setPrototypeOf: ObjectSetPrototypeOf, <del> keys: ObjectKeys, <del> values: ObjectValues <del> } <add> ObjectKeys, <add> ObjectSetPrototypeOf, <add> ObjectValues, <ide> } = primordials; <ide> <ide> const net = re...
117
Java
Java
fix links for single class
6b07923f2c51d76c45e3879f9c7b9d9ed9ccfb93
<ide><path>src/main/java/io/reactivex/Single.java <ide> * <p> <ide> * <img width="640" height="301" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Single.legend.png" alt=""> <ide> * <p> <del> * For more information see the <a href="http://reactivex.io/documentation/observable.html">ReactiveX <...
1
Text
Text
fix typos in essentials tutorial
d0ef57cd65ca392f7de9377446aa8e16494a96ab
<ide><path>docs/tutorials/essentials/part-5-async-logic.md <ide> export const fetchPosts = createAsyncThunk('posts/fetchPosts', async () => { <ide> <ide> The payload creator will usually make an AJAX call of some kind, and can either return the `Promise` from the AJAX call directly, or extract some data from the API r...
2
PHP
PHP
apply fixes from styleci
df0ede93019c1193efd8c3e933b856bfea830475
<ide><path>src/Illuminate/Console/OutputStyle.php <ide> public function isDebug() <ide> { <ide> return $this->output->isDebug(); <ide> } <del> <add> <ide> /** <ide> * Get the underlying Symfony output implementation. <ide> *
1
Go
Go
use unlocked version of changes for getimage
82bdd88e9c9db40ee8072f7c4c2832dfb3f73823
<ide><path>daemon/container.go <ide> func (container *Container) Mount() error { <ide> return container.daemon.Mount(container) <ide> } <ide> <add>func (container *Container) changes() ([]archive.Change, error) { <add> return container.daemon.Changes(container) <add>} <add> <ide> func (container *Container) Changes()...
1
Text
Text
update changelog for 1.8.0-beta.2 and 1.8.0-beta.3
f4ea6733ee3e0d8bbc9e481a660693381f0f7f34
<ide><path>CHANGELOG.md <ide> # Ember Changelog <ide> <add>### Ember 1.8.0-beta.3 (September, 27, 2014) <add> <add>* [BUGFIX] Use contextualElements to properly handle omitted optional start tags. <add>* [BUGFIX] Ensure that `Route.prototype.activate` is not retriggered when the model for the current route changes. <a...
1
Python
Python
update a link to point to the correct page
e17bc757be2792d0be4d1f502f13bc2349f937cf
<ide><path>libcloud/security.py <ide> ) <ide> <ide> CA_CERTS_UNAVAILABLE_ERROR_MSG = ( <del> 'No CA Certificates were found in CA_CERTS_PATH. For information on' <add> 'No CA Certificates were found in CA_CERTS_PATH. For information on ' <ide> 'how to get required certificate files, please visit ' <del> '...
1
Javascript
Javascript
fix typo in new return value of bidi function
3a8426e1792ec3cfef2f93588c7cd50d04e4c8cd
<ide><path>src/bidi.js <ide> var bidi = PDFJS.bidi = (function bidiClosure() { <ide> result += ch; <ide> } <ide> <del> return new bidiResult(str, direction); <add> return new bidiResult(result, direction); <ide> } <ide> <ide> return bidi;
1
Python
Python
add files via upload
c08925adb00c905808273353f135f7b752b81486
<ide><path>samples/outreach/blogs/Blog_Custom_Estimators.py <add># Copyright 2017 The TensorFlow Authors. All Rights Reserved. <add># <add># Licensed under the Apache License, Version 2.0 (the "License"); <add># you may not use this file except in compliance with the License. <add># You may obtain a copy of the License...
1
Javascript
Javascript
remove unnecessary default tmpdir value in test
d2c29bda50c4e5579537ab8cb9ac5d1f567da4a8
<ide><path>test/parallel/test-pipe-file-to-http.js <ide> const path = require('path'); <ide> const tmpdir = require('../common/tmpdir'); <ide> tmpdir.refresh(); <ide> <del>const filename = path.join(tmpdir.path || '/tmp', 'big'); <add>const filename = path.join(tmpdir.path, 'big'); <ide> let count = 0; <ide> <ide> co...
1
Text
Text
fix inconsistent server.listen documentation
278f65351231f9fa034220780fba8aae940c1b9a
<ide><path>doc/api/http.md <ide> added: v0.1.90 <ide> <ide> Stops the server from accepting new connections. See [`net.Server.close()`][]. <ide> <del>### server.listen(handle[, callback]) <del><!-- YAML <del>added: v0.5.10 <del>--> <del> <del>* `handle` {Object} <del>* `callback` {Function} <del> <del>The `handle` o...
3
Python
Python
fix doc errors in google provider files.
2bfc53b5eb67406d418371b74dc9bc5a07be238e
<ide><path>airflow/providers/google/cloud/utils/mlengine_operator_utils.py <ide> def create_evaluate_ops( # pylint: disable=too-many-arguments <ide> <ide> Callers will provide two python callables, metric_fn and validate_fn, in <ide> order to customize the evaluation behavior as they wish. <add> <ide> - m...
3
Go
Go
add applydiff to rwlayer
794e8111b66213191157d6b9d0b6169a175aec1f
<ide><path>layer/layer.go <ide> type RWLayer interface { <ide> <ide> // Metadata returns the low level metadata for the mutable layer <ide> Metadata() (map[string]string, error) <add> <add> // ApplyDiff applies the diff to the RW layer <add> ApplyDiff(diff io.Reader) (int64, error) <ide> } <ide> <ide> // Metadata h...
3
Ruby
Ruby
use oo instead of meta programming
2f32aa068513c6bd1fab63087756417e01af06c8
<ide><path>lib/arel/algebra/predicates.rb <ide> module Arel <ide> module Predicates <del> class Predicate <add> class Predicate < Struct.new(:children) <ide> def or(other_predicate) <ide> Or.new(self, other_predicate) <ide> end <ide> def complement <ide> def not <ide> self.comp...
1
Python
Python
add ragged support for keras.layers.resizing
a9740c65508d41e60f18f06705be5bbb73ffed41
<ide><path>keras/layers/preprocessing/image_preprocessing.py <ide> from keras.layers.preprocessing import preprocessing_utils as utils <ide> from keras.preprocessing.image import smart_resize <ide> from keras.utils import control_flow_util <add>from keras.utils import tf_utils <ide> import numpy as np <ide> import tens...
2
Text
Text
change comments for improved consistency
9586a6a98ef4bad7894bfe31da4fab42f6b3d6cd
<ide><path>CONTRIBUTING.md <ide> Algorithms in this repo should not be how-to examples for existing Python packag <ide> Use [pre-commit](https://pre-commit.com/#installation) to automatically format your code to match our coding style: <ide> <ide> ```bash <del>python3 -m pip install pre-commit # required only once <a...
2
Python
Python
fix mypy errors in microsoft azure provider
374574b8d0ef795855f8d2bb212ba6d653e62727
<ide><path>airflow/providers/microsoft/azure/hooks/container_instance.py <ide> class AzureContainerInstanceHook(AzureBaseHook): <ide> conn_type = 'azure_container_instance' <ide> hook_name = 'Azure Container Instance' <ide> <del> def __init__(self, *args, **kwargs) -> None: <del> super().__init__(sdk...
7
Text
Text
fix typo in create-subscription readme
488ad5a6b94ac4b71ff587ecde05e48a218aba62
<ide><path>packages/create-subscription/README.md <ide> Below is an example showing how `create-subscription` can be used with native Pr <ide> <ide> **Note** that it an initial render value of `undefined` is unavoidable due to the fact that Promises provide no way to synchronously read their current value. <ide> <del...
1
Text
Text
add changes for 1.3.16
e967abcd3080be3a1fc9c645fb94d411753bd633
<ide><path>CHANGELOG.md <add><a name="1.3.16"></a> <add># 1.3.16 cookie-oatmealification (2015-06-05) <add> <add> <add>## Bug Fixes <add> <add>- **$compile:** throw error on invalid directive name <add> ([634e4671](https://github.com/angular/angular.js/commit/634e467172efa696eb32ef8942ffbedeecbd030e), <add> [#11281]...
1
Ruby
Ruby
enable static asset server by default
dbb32115ef45dd58667e450125deba80d7016341
<ide><path>railties/lib/rails/commands/server.rb <ide> app = Rack::Builder.new { <ide> use Rails::Rack::LogTailer unless options[:detach] <ide> use Rails::Rack::Debugger if options[:debugger] <del> use Rails::Rack::Static <ide> run ActionDispatch::Utils.parse_config(options[:config]) <ide> }.to_app <ide> <ide><...
7
Ruby
Ruby
remove unneeded comment. [ci skip]
f5b192837a14bf01936eea82c16374b2e9278e60
<ide><path>actionpack/test/journey/routes_test.rb <ide> def test_simulator_changes <ide> end <ide> <ide> def test_first_name_wins <del> #def add_route app, path, conditions, defaults, name = nil <ide> routes = Routes.new <ide> <ide> one = Path::Pattern.from_string '/hello'
1
Ruby
Ruby
fix a typo in test helper
d22fe41cf87d781ce1af264b37ba3eca762b74c3
<ide><path>railties/lib/test_help.rb <ide> <ide> require 'test/unit' <ide> require 'active_support/test_case' <del>require 'active_controller/test_case' <add>require 'action_controller/test_case' <ide> require 'action_view/test_case' <ide> require 'action_controller/integration' <ide> require 'action_mailer/test_case'...
1
Python
Python
fix trainer in dataparallel setting
ce374ba87767d551f720242d5e64bfa976531079
<ide><path>src/transformers/trainer.py <ide> def _training_step( <ide> <ide> if self.args.past_index >= 0 and self._past is not None: <ide> inputs["mems"] = self._past <add> # Our model outputs do not work with DataParallel, so forcing return tuple. <add> if self.args.n_gpu > 1: <add>...
1
Java
Java
make changes for timing related test failures
bfa6645c7d8e401ae2d1ea2587dbdd0eaa943265
<ide><path>spring-messaging/src/main/java/org/springframework/messaging/simp/BrokerAvailabilityEvent.java <ide> public BrokerAvailabilityEvent(boolean brokerAvailable, Object source) { <ide> public boolean isBrokerAvailable() { <ide> return this.brokerAvailable; <ide> } <add> <add> @Override <add> public String toS...
2
Javascript
Javascript
remove cruft from viewtargetactionsupport test
6b47a7e6fe7723d86749b65dad92d2c6d9484866
<ide><path>packages_es6/ember-views/tests/mixins/view_target_action_support_test.js <ide> import EmberObject from "ember-runtime/system/object"; <ide> import {View} from "ember-views/views/view"; <ide> import ViewTargetActionSupport from "ember-views/mixins/view_target_action_support"; <ide> <del>var originalLookup; <...
1
Text
Text
describe catching events with plugin
ed73dce18bd5a2d523409d1fcaadaf2bcdd1d89c
<ide><path>docs/configuration/interactions.md <ide> var chart = new Chart(ctx, { <ide> }); <ide> ``` <ide> <add>Events that do not fire over chartArea, like `mouseout`, can be captured using a simple plugin: <add> <add>```javascript <add>var chart = new Chart(ctx, { <add> type: 'line', <add> data: data, <add> optio...
1
Text
Text
add documentation for using overlay2
a546042b91f655c7cf53484cdb0c5c8b3cf12d33
<ide><path>docs/reference/commandline/dockerd.md <ide> precedence over `HTTP_PROXY`. <ide> ### Daemon storage-driver option <ide> <ide> The Docker daemon has support for several different image layer storage <del>drivers: `aufs`, `devicemapper`, `btrfs`, `zfs` and `overlay`. <add>drivers: `aufs`, `devicemapper`, `btrf...
3
PHP
PHP
reduce some psalm noise
6158b08dd739527596881c162be9cadbbc08665c
<ide><path>src/Core/InstanceConfigTrait.php <ide> public function setConfig($key, $value = null, $merge = true) <ide> * ``` <ide> * <ide> * @param string|null $key The key to get or null for the whole config. <del> * @param mixed|null $default The return value when the key does not exist. <del> *...
1
Text
Text
fix error in the markdown
a22526d17f0dfe21563b4683e4bf51d9bcb6538a
<ide><path>guide/english/certifications/front-end-libraries/react/use--for-a-more-concise-conditional/index.md <ide> title: Use && for a More Concise Conditional <ide> --- <ide> ## Use && for a More Concise Conditional <ide> The example given is <del>``` <add>```jsx <ide> {condition && <p>markup</p>} <ide> ``` <ide> ...
1
Javascript
Javascript
remove the expando when there's no more data
56bb677725b21415905e5c3eeb1e05be4480e780
<ide><path>src/data/Data.js <ide> Data.prototype = { <ide> return; <ide> } <ide> <del> if ( key === undefined ) { <del> this.register( owner ); <del> <del> } else { <add> if ( key !== undefined ) { <ide> <ide> // Support array or space separated string of keys <ide> if ( jQuery.isArray( key ) ) { <ide...
4
Text
Text
update changes and readme
14a954cd969b0c86e3e3c28be9e7f7257e15e62f
<ide><path>CHANGES.md <ide> <ide> Version 1.x can be found at https://github.com/ReactiveX/RxJava/blob/1.x/CHANGES.md <ide> <add>### Version 2.0.0-RC5 - October 21, 2016 ([Maven](http://search.maven.org/#artifactdetails%7Cio.reactivex.rxjava2%7Crxjava%7C2.0.0-RC5%7C)) <add> <add>This release contains API fixes, furth...
2
Go
Go
remove useless goroutine
3dc93e390ad3d310dede84948b726ce67e261375
<ide><path>commands.go <ide> func (cli *DockerCli) CmdAttach(args ...string) error { <ide> return err <ide> } <ide> <del> chErrors := make(chan error) <ide> if container.Config.Tty { <ide> cli.monitorTtySize(cmd.Arg(0)) <ide> } <ide> func (cli *DockerCli) CmdAttach(args ...string) error { <ide> v.Set("stdout",...
1
Javascript
Javascript
fix a strange chrome issue
52a02383fa521c51d9996a46f03a7080dd825f11
<ide><path>src/traversing.js <ide> jQuery.each({ <ide> } <ide> }, function( name, fn ) { <ide> jQuery.fn[ name ] = function( until, selector ) { <del> var ret = jQuery.map( this, fn, until ); <add> var ret = jQuery.map( this, fn, until ), <add> args = slice.call(arguments); <ide> <ide> if ( !runtil.test( ...
1
Python
Python
allow overriding learning phase
23e1ad2df7c81bcf89b20225ccf90f815d5e978a
<ide><path>keras/backend/tensorflow_backend.py <ide> def learning_phase(): <ide> <ide> def set_learning_phase(value): <ide> global _LEARNING_PHASE <del> _LEARNING_PHASE = tf.constant(value, name='keras_learning_phase') <add> if value not in {0, 1}: <add> raise ValueError('Expected learning phase to be...
3
Text
Text
release notes for 1.0.0rc9 eggplant-teleportation
8ad02bb5a8b20d5158f1ca4ac86d09b57f1465b4
<ide><path>CHANGELOG.md <add><a name="1.0.0rc9"></a> <add># 1.0.0rc9 eggplant-teleportation (2012-05-14) <add> <add> <add>## Bug Fixes <add> <add>- **$location:** <add> - single quote in url causes infinite digest in FF <add> ([679cb8a7](https://github.com/angular/angular.js/commit/679cb8a74a684454fe38fa9e1ddad396b...
1
Javascript
Javascript
stabilize another test
d97d045dfc7bbad53dfee8b092e1d95bcaf099f1
<ide><path>test/integration/empty-object-getInitialProps/test/index.test.js <ide> import { <ide> launchApp, <ide> killApp, <ide> waitFor, <add> check, <ide> } from 'next-test-utils' <ide> <ide> jest.setTimeout(1000 * 60 * 2) <ide> describe('Empty Project', () => { <ide> <ide> it('should show empty object war...
1
Go
Go
simplify logic for registering ports
da61b99b392657343df4dc221ba5cd9ad6b1c9e1
<ide><path>network.go <ide> import ( <ide> "log" <ide> "net" <ide> "strconv" <del> "sync" <ide> "syscall" <ide> "unsafe" <ide> ) <ide> func newPortMapper(config *DaemonConfig) (*PortMapper, error) { <ide> return mapper, nil <ide> } <ide> <del>// Port allocator: Automatically allocate and release networking ports...
5
Javascript
Javascript
use gfm example format rather than <pre> tags
2ca6d650e8a13cee28f11c38622cab231787325f
<ide><path>src/ng/cacheFactory.js <ide> function $CacheFactoryProvider() { <ide> * `$templateCache` service directly. <ide> * <ide> * Adding via the `script` tag: <add> * <ide> * ```html <del> * <html ng-app> <del> * <head> <del> * <script type="text/ng-template" id="templateId.html"> <del> * This is the content...
1
Go
Go
add image_name as a key to journald log messages
5f7e102df73672e5b53c813104ecb061c45a5f52
<ide><path>daemon/logger/journald/journald.go <ide> func New(info logger.Info) (logger.Logger, error) { <ide> "CONTAINER_ID_FULL": info.ContainerID, <ide> "CONTAINER_NAME": info.Name(), <ide> "CONTAINER_TAG": tag, <add> "IMAGE_NAME": info.ImageName(), <ide> "SYSLOG_IDENTIFIER": tag, <ide> } <ide...
1
Python
Python
improve test cases of integer division
6f205497e01bc68113fc4b5bb7589e56de8d0620
<ide><path>numpy/core/tests/test_simd.py <ide> # NOTE: Please avoid the use of numpy.testing since NPYV intrinsics <ide> # may be involved in their functionality. <ide> import pytest, math, re <add>import itertools <ide> from numpy.core._simd import targets <ide> from numpy.core._multiarray_umath import __cpu_baseline_...
2
Ruby
Ruby
move some ar test cases to inheritance_test.rb
2fe8baf9b2ffd4d87e9534f6f1e91b207e8c0fc1
<ide><path>activerecord/test/cases/base_test.rb <ide> def test_find_symbol_ordered_last <ide> assert_equal last, Developer.all.merge!(:order => :salary).to_a.last <ide> end <ide> <del> def test_abstract_class <del> assert !ActiveRecord::Base.abstract_class? <del> assert LoosePerson.abstract_class? <del> ...
2
Text
Text
update commands for untar-anywhere method
8398be5cde653f4637a81af8f7e078ddacc49417
<ide><path>docs/Homebrew-on-Linux.md <ide> You may need to install your own Ruby using your system package manager, a PPA, <ide> <ide> Homebrew does not currently support 32-bit x86 platforms. It would be possible for Homebrew to work on 32-bit x86 platforms with some effort. An interested and dedicated person could m...
2
PHP
PHP
update memcached engine description
c8eee749b15f36ef6d63a90ce2d3d4e58b13dd23
<ide><path>src/Cache/Engine/MemcachedEngine.php <ide> * control you have over expire times far in the future. See MemcachedEngine::write() for <ide> * more information. <ide> * <del> * Main advantage of this Memcached engine over the memcached engine is <del> * support of binary protocol, and igbinary serialization ...
1
Mixed
Go
add some basic doc for sysinfo
01bbc3fbb9c3ab3dec0f271710739465b0f80b7a
<ide><path>pkg/sysinfo/README.md <add>SysInfo stores information about which features a kernel supports. <ide><path>pkg/sysinfo/sysinfo.go <ide> import ( <ide> "github.com/docker/libcontainer/cgroups" <ide> ) <ide> <add>// SysInfo stores information about which features a kernel supports. <ide> type SysInfo struct { ...
2
Ruby
Ruby
fix document for radio_button
d089fe2810216fb85cd52a2b89a861c07dc5bbb9
<ide><path>actionview/lib/action_view/helpers/form_helper.rb <ide> def check_box(object_name, method, options = {}, checked_value = "1", unchecked_ <ide> # # => <input type="radio" id="post_category_rails" name="post[category]" value="rails" checked="checked" /> <ide> # # <input type="radio" id="post...
1
Javascript
Javascript
escape component keys used in reactid
a6b888b2142608fb415debe2a9c2a6be2f266ec6
<ide><path>src/core/__tests__/ReactIdentity-test.js <ide> describe('ReactIdentity', function() { <ide> }); <ide> <ide> it('should not allow scripts in keys to execute', function() { <del> var h4x0rKey = '"><script>window.YOUVEBEENH4X0RED=true;</script><div id="'; <add> var h4x0rKey = <add> '"><script>wi...
3