hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
60329908aea989c27a642199c9bc420128750738 | diff --git a/mrq/queue.py b/mrq/queue.py
index <HASH>..<HASH> 100644
--- a/mrq/queue.py
+++ b/mrq/queue.py
@@ -160,8 +160,7 @@ class Queue(object):
def count_jobs_to_dequeue(self):
if self.is_timed:
# timed ZSET
- current_time = int(time.time())
- return connections.redis.zcount(self.redis_key,... | Float-resolution in timed queues. Fixes #<I> | pricingassistant_mrq | train |
964880bb6506cc31cce5a28b7c846a05c622db6e | diff --git a/lib/signore/repo.rb b/lib/signore/repo.rb
index <HASH>..<HASH> 100644
--- a/lib/signore/repo.rb
+++ b/lib/signore/repo.rb
@@ -16,8 +16,7 @@ module Signore
end
def <<(sig)
- sigs << sig
- persist
+ store.transaction { (store['signatures'] ||= []) << Mapper.to_h(sig) }
end
... | Repo#<<: append one sig rather than rewrite | chastell_signore | train |
d2d54b19e6e57bfc9245bee326ad5c4cefb04432 | diff --git a/djoauth2/models.py b/djoauth2/models.py
index <HASH>..<HASH> 100644
--- a/djoauth2/models.py
+++ b/djoauth2/models.py
@@ -4,6 +4,7 @@ from datetime import timedelta
from django.contrib.auth.models import User
from django.db import models
+from django.utils.timezone import now
from djoauth2.conf impo... | Handle timezone-aware datetime setting.
Uses a Django-provided helper method for getting the current time
with or without timezone information depending on the user's USE_TZ
setting:
<URL> | peterldowns_djoauth2 | train |
4392be8760039aac7dca8b2d036b1d2dff84fbe8 | diff --git a/pyt/expr_visitor.py b/pyt/expr_visitor.py
index <HASH>..<HASH> 100644
--- a/pyt/expr_visitor.py
+++ b/pyt/expr_visitor.py
@@ -149,63 +149,6 @@ class ExprVisitor(StmtVisitor):
self.function_names.append(node.name)
- def visit_ClassDef(self, node):
- self.add_to_definitions(node)
-
- ... | Moved ClassDef, FunctionDef and Return functions from expr_visitor to stmt_visitor | python-security_pyt | train |
723503c1c8f2cfd89b24af71a638202354bc4c7e | diff --git a/sources/scalac/symtab/Scope.java b/sources/scalac/symtab/Scope.java
index <HASH>..<HASH> 100644
--- a/sources/scalac/symtab/Scope.java
+++ b/sources/scalac/symtab/Scope.java
@@ -178,7 +178,6 @@ public class Scope {
/** enter a symbol
*/
public Scope enter(Symbol sym) {
- assert looku... | reintroduced possibility to enter things twice ...
reintroduced possibility to enter things twice in the scope. Is crucial
if source files should be taken instead of compiled things. | scala_scala | train |
26b06f1c4630ccc98b0eb1bf7294347899c4314f | diff --git a/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/PrefixComparators.java b/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/PrefixComparators.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/PrefixComparators.java
+++ b/core... | [HOTFIX] Add static import to fix build break from #<I>. | apache_spark | train |
23aaaeecc2163fa6293be48ca4f44f25487b8586 | diff --git a/src/language/LanguageManager.js b/src/language/LanguageManager.js
index <HASH>..<HASH> 100644
--- a/src/language/LanguageManager.js
+++ b/src/language/LanguageManager.js
@@ -42,11 +42,19 @@
* lineComment: "--"
* });
*
- * To use that language and it's related mode, wait for the returned p... | Merged too quickly - added documentation and fixed JSLint problems. And a typo. | adobe_brackets | train |
d26363997e471bf5a60c3f0766d2296fed1336e7 | diff --git a/src/com/esotericsoftware/kryo/io/ByteBufferInput.java b/src/com/esotericsoftware/kryo/io/ByteBufferInput.java
index <HASH>..<HASH> 100644
--- a/src/com/esotericsoftware/kryo/io/ByteBufferInput.java
+++ b/src/com/esotericsoftware/kryo/io/ByteBufferInput.java
@@ -133,8 +133,8 @@ public class ByteBufferInput ... | Fixed ByteBufferInput position getting out of sync with the buffer position. | EsotericSoftware_kryo | train |
10589bac5bfbef3aa894c1bb338a2fdfbf33f715 | diff --git a/TYPO3.Neos/Classes/TYPO3/Neos/Controller/LoginController.php b/TYPO3.Neos/Classes/TYPO3/Neos/Controller/LoginController.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Neos/Classes/TYPO3/Neos/Controller/LoginController.php
+++ b/TYPO3.Neos/Classes/TYPO3/Neos/Controller/LoginController.php
@@ -119,7 +119,7 @@ c... | FEATURE: Add setting ``TYPO3.Neos.defaultSiteNodeName``
If a request is not mapped to a site via domain pattern neos currently uses the first active site.
This is difficult in multisite environments especially since there is no manual order of the sites.
This change adds a setting ``defaultSiteNodeName`` wich allows ... | neos_neos-development-collection | train |
8bb10bff751305cd8d29e954f2add91d55698737 | diff --git a/Lib/glyphsLib/builder/sources.py b/Lib/glyphsLib/builder/sources.py
index <HASH>..<HASH> 100644
--- a/Lib/glyphsLib/builder/sources.py
+++ b/Lib/glyphsLib/builder/sources.py
@@ -82,25 +82,38 @@ def _to_designspace_source(self, master, is_regular):
# TODO: (jany) allow another naming convention?
... | Make sure master UFO filenames are unique even when a UFO_FILENAME_KEY is present (#<I>)
glyphs2ufo: Make sure master filenames are unique even when filename key is present. | googlefonts_glyphsLib | train |
59c89afb1a8e5cd9372ffde1b29b751ecf50a980 | diff --git a/blueprints/blueprints-tinkergraph/src/test/java/com/tinkerpop/blueprints/tinkergraph/TinkerGraphTest.java b/blueprints/blueprints-tinkergraph/src/test/java/com/tinkerpop/blueprints/tinkergraph/TinkerGraphTest.java
index <HASH>..<HASH> 100644
--- a/blueprints/blueprints-tinkergraph/src/test/java/com/tinkerp... | Remove edge from index test on TinkerGraph. | apache_tinkerpop | train |
0f2cf2eb7b842f696524af8c3b920ba0586c60f3 | diff --git a/infra/azure/vm/lib/securityGroups.js b/infra/azure/vm/lib/securityGroups.js
index <HASH>..<HASH> 100644
--- a/infra/azure/vm/lib/securityGroups.js
+++ b/infra/azure/vm/lib/securityGroups.js
@@ -75,7 +75,8 @@ const securityGroups = {
location: options.params.region,
... | Updated create/update security group in azure native driver | soajs_soajs.core.drivers | train |
d4e73250729f3786f02a9c2a36be7873a65e5eb8 | diff --git a/lib/mongomodel/concerns/attribute_methods/protected.rb b/lib/mongomodel/concerns/attribute_methods/protected.rb
index <HASH>..<HASH> 100644
--- a/lib/mongomodel/concerns/attribute_methods/protected.rb
+++ b/lib/mongomodel/concerns/attribute_methods/protected.rb
@@ -16,8 +16,12 @@ module MongoModel
... | Add support for mass-assignment roles | spohlenz_mongomodel | train |
8c255221b0faa62b4cd43eceb9f1fe96b4ef9821 | diff --git a/lib/games-generator.js b/lib/games-generator.js
index <HASH>..<HASH> 100644
--- a/lib/games-generator.js
+++ b/lib/games-generator.js
@@ -8,7 +8,6 @@ var Dom = require('xmldom').DOMParser;
var renderStar = require('./util').renderStar;
var i18n = require('./util').i18n;
var offline = false;
-var configG... | Update games-generator.js | mythsman_hexo-douban | train |
90d76373cc8288d939ce4a5ef8289af860798ef9 | diff --git a/web/src/main/java/org/springframework/security/web/session/SessionManagementFilter.java b/web/src/main/java/org/springframework/security/web/session/SessionManagementFilter.java
index <HASH>..<HASH> 100644
--- a/web/src/main/java/org/springframework/security/web/session/SessionManagementFilter.java
+++ b/w... | SEC-<I>: Support for session timeout detection. Added redirect to invalidSessionUrl in SessionManagementFilter when an invalid session Id is supplied in the request. | spring-projects_spring-security | train |
ffa5899a7f55210afbfe69fde5c3cd347a40eaae | diff --git a/src/Routes/web.php b/src/Routes/web.php
index <HASH>..<HASH> 100644
--- a/src/Routes/web.php
+++ b/src/Routes/web.php
@@ -1,7 +1,7 @@
<?php
Route::group([
- 'middleware' => ['web', 'laralum.base'],
+ 'middleware' => ['web', 'laralum.base', 'auth'],
'namespace' => 'Laralum\Profile... | Added auth middleware for public views | Laralum_Profile | train |
1f0e16eccca89d25fea91a6df1a52e89188e5627 | diff --git a/simpleauth2/__init__.py b/simpleauth2/__init__.py
index <HASH>..<HASH> 100644
--- a/simpleauth2/__init__.py
+++ b/simpleauth2/__init__.py
@@ -33,7 +33,7 @@ def login(adapter, provider_name, callback, scope=[]):
raise ConfigError('Consumer secret not specified for provider {}!'.format(provider_name... | Fixed a bug with invalid scopes. | authomatic_authomatic | train |
1659e46f11701fa6c97450208ef81e2f122f69dd | diff --git a/src/lang/array.js b/src/lang/array.js
index <HASH>..<HASH> 100644
--- a/src/lang/array.js
+++ b/src/lang/array.js
@@ -100,18 +100,18 @@ me.TypedArray.prototype = Array.prototype;
* @external Float32Array
* @see {@link https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Float32Array|Flo... | fixed the declaration of the fake TypedArray in IE9
was not working else :) | melonjs_melonJS | train |
77697e03353ec06a4b12f42a32d7569797d1eb8f | diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index <HASH>..<HASH> 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -2023,8 +2023,7 @@ module ActiveRecord #:nodoc:
end
def scoped_methods #:nodoc:
- ... | Fix memory leak issue in ActiveRecord scoped_methods | rails_rails | train |
3a819fafb7337dcb22585498c5be063186b2268a | diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -291,7 +291,8 @@ if setup_spec.type == SetupType.RAY:
"click >= 7.0, <= 8.0.4",
"dataclasses; python_version < '3.7'",
"filelock",
- "grpcio >= 1.28.1, <= 1.43.0",
... | Force grpcio to be >= <I> for python <I> (#<I>) | ray-project_ray | train |
08e5c6f84bc9c8eb1cd39edbe8c69cf22850825d | diff --git a/numexpr/necompiler.py b/numexpr/necompiler.py
index <HASH>..<HASH> 100644
--- a/numexpr/necompiler.py
+++ b/numexpr/necompiler.py
@@ -725,26 +725,28 @@ def getArguments(names, local_dict=None, global_dict=None):
"""Get the arguments based on the names."""
call_frame = sys._getframe(2)
- user... | Use finally block to always free local_dict | pydata_numexpr | train |
6402e9a2f7e28260a3b6a635816c76320a3662f1 | diff --git a/nsone/__init__.py b/nsone/__init__.py
index <HASH>..<HASH> 100644
--- a/nsone/__init__.py
+++ b/nsone/__init__.py
@@ -6,7 +6,7 @@
from .config import Config
-version = "0.9.4"
+version = "0.9.5"
class NSONE: | Bumps to version <I> | ns1_ns1-python | train |
482becf83e9030e363cb8b5245f1c7e5c83c45cd | diff --git a/spec/unit/resource/type_collection_spec.rb b/spec/unit/resource/type_collection_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/resource/type_collection_spec.rb
+++ b/spec/unit/resource/type_collection_spec.rb
@@ -320,7 +320,10 @@ describe Puppet::Resource::TypeCollection do
let(:environment) { ... | (PUP-<I>) Add test to ensure config version is a string
Add a test to ensure config_version is a string and is not a
ProcessOutput which subclasses String. | puppetlabs_puppet | train |
e8ee57be83adf3de2933373e7969c7675bf5372d | diff --git a/lib/models/plugin.js b/lib/models/plugin.js
index <HASH>..<HASH> 100644
--- a/lib/models/plugin.js
+++ b/lib/models/plugin.js
@@ -18,6 +18,9 @@ var Plugin = Immutable.Record({
// Depth of this plugin in the dependency tree
depth: Number(0),
+ // Parent depending on this plugin
+ pare... | Start fixing order of plugins in dependencies | GitbookIO_gitbook | train |
78a3d1a2350af15e119c905f83e3330fa4ac07fc | diff --git a/lib/amq/protocol/frame.rb b/lib/amq/protocol/frame.rb
index <HASH>..<HASH> 100644
--- a/lib/amq/protocol/frame.rb
+++ b/lib/amq/protocol/frame.rb
@@ -3,21 +3,17 @@
module AMQ
module Protocol
class Frame
- TYPES = Hash.new do |hash, key|
- key if [1, 2, 3, 8].include?(key)
- ... | Refactored Frame::TYPES and Frame::CLASSES
More readable, and more consistent. The constants TYPES and CLASSES are now actual constants, and not semi-functions as they were before. | ruby-amqp_amq-protocol | train |
ef8d4f6b33530b0e8b69ef62dcf4bf7d1415e4ee | diff --git a/gateway.py b/gateway.py
index <HASH>..<HASH> 100644
--- a/gateway.py
+++ b/gateway.py
@@ -178,7 +178,6 @@ def _escape(s, quote=False):
Replace special characters "&", "<" and ">" to HTML-safe sequences. If
the optional flag `quote` is `True`, the quotation mark character (") is
also transla... | rendering
Must Build html render to response for result | pesaply_sarafu | train |
9fde4d8a66e133f2a9833fac2635616461eff2ba | diff --git a/src/fields/LinkFieldLoader.php b/src/fields/LinkFieldLoader.php
index <HASH>..<HASH> 100644
--- a/src/fields/LinkFieldLoader.php
+++ b/src/fields/LinkFieldLoader.php
@@ -233,6 +233,14 @@ class LinkFieldLoader
* @return bool
*/
private static function enableEagerLoad(LinkField $field, ElementQuer... | Fix eager loading of link field removing all other with commands | sebastian-lenz_craft-linkfield | train |
29fad8265ae0b28b92f1144f17aa771615bf7114 | diff --git a/test/data/umd-webamd.expect.js b/test/data/umd-webamd.expect.js
index <HASH>..<HASH> 100644
--- a/test/data/umd-webamd.expect.js
+++ b/test/data/umd-webamd.expect.js
@@ -1,4 +1,6 @@
+var foo = function bar() {}
+function factory() {}
if (true) {
foo();
module.exports = factory;
-}
\ No newline a... | add tests for UMD modules that reference closure variables
As mentioned in #<I>, popular libs often do their main work outside of
the factory. Thus the factory is reduced to return a variable that is
declared and defined in the enclosing closure. UMD boilerplate is
usually an afterthought so to preserve the code outsi... | jaredhanson_deamdify | train |
c1c9e2e83443567e3ec5a8fcb2a366b3647a8043 | diff --git a/lib/application.js b/lib/application.js
index <HASH>..<HASH> 100644
--- a/lib/application.js
+++ b/lib/application.js
@@ -233,7 +233,7 @@ Application.prototype.type = function(name, settings) {
// If there's no settings we want to get a type.
if (!settings) {
// Return this as earlier as possibl... | Waterline convert collection names to lowercase, adding a workaround. #<I> | recidive_choko | train |
55289fd0df2b474c9fa6c2cfdb5a44320bbd3f5a | diff --git a/massautocomplete.js b/massautocomplete.js
index <HASH>..<HASH> 100644
--- a/massautocomplete.js
+++ b/massautocomplete.js
@@ -9,12 +9,12 @@ angular.module('MassAutoComplete', [])
template:
'<span ng-transclude></span>' +
'<div class="ac-container" ng-show="show_autocomplete && results.le... | Remove leading spaces in template
scrape some extra bytes minification | hakib_MassAutocomplete | train |
755c43ecf25b9f04cc41014f6f710e1706b88c64 | diff --git a/Auth/OpenID/Consumer.php b/Auth/OpenID/Consumer.php
index <HASH>..<HASH> 100644
--- a/Auth/OpenID/Consumer.php
+++ b/Auth/OpenID/Consumer.php
@@ -537,7 +537,7 @@ class Auth_OpenID_GenericConsumer {
return false;
}
- return $this->_processCheckAuthResponse($response);
+ ... | [project @ Fixed typos and ported server_url fix from python lib (_processCheckAuthResponse)] | openid_php-openid | train |
746da7d54cc2bbcc4ba0f854257b647e88d77898 | diff --git a/discord/threads.py b/discord/threads.py
index <HASH>..<HASH> 100644
--- a/discord/threads.py
+++ b/discord/threads.py
@@ -23,14 +23,14 @@ DEALINGS IN THE SOFTWARE.
"""
from __future__ import annotations
-from typing import Callable, Dict, Iterable, List, Optional, Sequence, TYPE_CHECKING
+from typing i... | Add Thread.permissions_for helper function | Rapptz_discord.py | train |
b7f0002498bc9df0a27e60e2c93d3585844a7951 | diff --git a/eqcorrscan/core/match_filter/matched_filter.py b/eqcorrscan/core/match_filter/matched_filter.py
index <HASH>..<HASH> 100644
--- a/eqcorrscan/core/match_filter/matched_filter.py
+++ b/eqcorrscan/core/match_filter/matched_filter.py
@@ -644,12 +644,12 @@ def match_filter(template_names, template_list, st, thr... | extract detections correct outdent, reduce output | eqcorrscan_EQcorrscan | train |
dd8527b9f05f5b81c8981319451928003b419691 | diff --git a/pyfirmata/boards.py b/pyfirmata/boards.py
index <HASH>..<HASH> 100644
--- a/pyfirmata/boards.py
+++ b/pyfirmata/boards.py
@@ -20,4 +20,12 @@ BOARDS = {
'use_ports': True,
'disabled': (0, 1) # Rx, Tx, Crystal
}
+
+ 'nano': {
+ 'digital': tuple(x for x in range(14)),
+ ... | Update boards.py
Adding nano board | tino_pyFirmata | train |
997dc707ef30be073b094e553bc4314774fe6b54 | diff --git a/app/controllers/socializer/activities/activities_controller.rb b/app/controllers/socializer/activities/activities_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/socializer/activities/activities_controller.rb
+++ b/app/controllers/socializer/activities/activities_controller.rb
@@ -27,7 +27,... | Style/MultilineMethodCallIndentation: Align .decorate with .activity_stream on line <I>. .decorate | socializer_socializer | train |
5f77919356af937e4e05d575d49f7b0c31623bc8 | diff --git a/Calculus.js b/Calculus.js
index <HASH>..<HASH> 100644
--- a/Calculus.js
+++ b/Calculus.js
@@ -256,28 +256,28 @@ if((typeof module) !== 'undefined' && typeof nerdamer === 'undefined') {
var __ = core.Calculus = {
- version: '1.4.4',
+ version: '1.4.5',
sum: functi... | Fix for #<I>
This issue was caused due to the fact that nerdamer would sum
symbolically. It will now only do so if the difference is less than <I>
which equals the number of iterations. | jiggzson_nerdamer | train |
7a8c7e0d0e60037cd0812a8993ca24fe8a6194b4 | diff --git a/ella/newman/media/js/inlines.js b/ella/newman/media/js/inlines.js
index <HASH>..<HASH> 100644
--- a/ella/newman/media/js/inlines.js
+++ b/ella/newman/media/js/inlines.js
@@ -356,11 +356,16 @@ var TestFormHandler = function() {
var newid = $this.attr('for').replace(no_re, str_concat(ITEM_SE... | Galleries fixed (ordering recounting) | ella_ella | train |
2de152ee51c50638d343ad133aafb11d7d3a8002 | diff --git a/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java b/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
index <HASH>..<HASH> 100644
--- a/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
+++ b/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
@@ -798,7 +798,18 @@ public abstract class AbstractJdbc1ResultSet imp... | Small jdbc patch from Kim Ho at RedHat to fix some boolean problems
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java | pgjdbc_pgjdbc | train |
8b6831113c4da647b937d946a4c4ba4ed87f93ff | diff --git a/org.carewebframework.shell/src/main/java/org/carewebframework/shell/CareWebShell.java b/org.carewebframework.shell/src/main/java/org/carewebframework/shell/CareWebShell.java
index <HASH>..<HASH> 100644
--- a/org.carewebframework.shell/src/main/java/org/carewebframework/shell/CareWebShell.java
+++ b/org.car... | Add LogoutConfirm property (thanks Demian). | carewebframework_carewebframework-core | train |
af7fff812db39aebc1afd8e0650ab7678557aac4 | diff --git a/src/Label.js b/src/Label.js
index <HASH>..<HASH> 100644
--- a/src/Label.js
+++ b/src/Label.js
@@ -47,6 +47,7 @@ L.Label = L.Class.extend({
if (L.Browser.touch && !this.options.noHide) {
L.DomEvent.on(this._container, 'click', this.close, this);
+ map.on('click', this.close, this);
}
},
@@... | Close open label when map is tapped on touch devices. fixes #<I> | Leaflet_Leaflet.label | train |
ce7a6d03bcd3a99a4e1350dc1a4a69538fc12e59 | diff --git a/src/Client.php b/src/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -153,7 +153,7 @@ class Client extends BaseClient
*/
final public function openCollection(?string $version = null): Base\OpenCollection
{
- return $this->uses('Collection', $versio... | Fixes $client->openCollection() returning proper instance. | jomweb_billplz | train |
eacccabd57238d3cb0907fd39e2f54c5a13096e7 | diff --git a/gcloud/streaming/test_transfer.py b/gcloud/streaming/test_transfer.py
index <HASH>..<HASH> 100644
--- a/gcloud/streaming/test_transfer.py
+++ b/gcloud/streaming/test_transfer.py
@@ -1429,7 +1429,7 @@ class Test_Upload(unittest2.TestCase):
with self.assertRaises(CommunicationError):
up... | Fix branch coverage miss in 'gcloud.streaming.transfer'.
Introduced in PR #<I>.
Bump pylint's max line count for test modules accordingly. | googleapis_google-cloud-python | train |
e73cbfcde8c9990127660f8468e25cd0c90baf6e | diff --git a/lib/stunted/functional-hash.rb b/lib/stunted/functional-hash.rb
index <HASH>..<HASH> 100644
--- a/lib/stunted/functional-hash.rb
+++ b/lib/stunted/functional-hash.rb
@@ -108,10 +108,11 @@ module Stunted
def self.with_replacement_methods(hash)
old_pairs = hash.collect do | key, value |
... | Ensure methods replaced even given exceptions. | marick_stunted | train |
cd844a20043d60544a64d1cefeed90a1722945f5 | diff --git a/pysnmp/smi/mibs/SNMP-USER-BASED-SM-MIB.py b/pysnmp/smi/mibs/SNMP-USER-BASED-SM-MIB.py
index <HASH>..<HASH> 100644
--- a/pysnmp/smi/mibs/SNMP-USER-BASED-SM-MIB.py
+++ b/pysnmp/smi/mibs/SNMP-USER-BASED-SM-MIB.py
@@ -41,7 +41,33 @@ usmUserTable = MibTable((1, 3, 6, 1, 6, 3, 15, 1, 2, 2))
usmUserEntry = MibTa... | automatically initialize usmUserSecurityName columnar object instance
on creation, as stated in DESCRIPTION (SF tracker ID #<I>) | etingof_pysnmp | train |
c6b506b0888ca2a18111a92b164394c37512aa2c | diff --git a/NEMbox/ui.py b/NEMbox/ui.py
index <HASH>..<HASH> 100644
--- a/NEMbox/ui.py
+++ b/NEMbox/ui.py
@@ -21,6 +21,7 @@ log = logger.getLogger(__name__)
try:
import dbus
+
dbus_activity = True
except ImportError:
dbus_activity = False
@@ -258,8 +259,7 @@ class Ui(object):
... | Fix long songs name bug in last line. | darknessomi_musicbox | train |
8ea4cd00377ff1b59755574b0bbdfa901e873716 | diff --git a/lib/compiler.js b/lib/compiler.js
index <HASH>..<HASH> 100644
--- a/lib/compiler.js
+++ b/lib/compiler.js
@@ -55,7 +55,6 @@ var Compiler = module.exports = function Compiler(node, options) {
this.debug = false !== options.compileDebug;
this.indents = 0;
this.parentIndents = 0;
- this.mixing = 0;
... | Remove `mixing` arg which is already covered by `parentIndents` | pugjs_then-pug | train |
9e647daebbb3e512dac5aad75d42754f08a95376 | diff --git a/src/plotypus/preprocessing.py b/src/plotypus/preprocessing.py
index <HASH>..<HASH> 100644
--- a/src/plotypus/preprocessing.py
+++ b/src/plotypus/preprocessing.py
@@ -111,6 +111,9 @@ class Fourier():
A_0 = amplitude_coefficients[0]
a_k = amplitude_coefficients[1::2]
b_k = amplitud... | I think I really fixed the Phi coefficients now | astroswego_plotypus | train |
090a955be3fb50e53193baf4725b68812d2ed57a | diff --git a/angr/analyses/decompiler/structured_codegen.py b/angr/analyses/decompiler/structured_codegen.py
index <HASH>..<HASH> 100644
--- a/angr/analyses/decompiler/structured_codegen.py
+++ b/angr/analyses/decompiler/structured_codegen.py
@@ -188,6 +188,8 @@ class CFunction(CConstruct): # pylint:disable=abstract-m... | StructuredCodeGen: Pretty print temporary variables. (#<I>) | angr_angr | train |
d05555a6774f41e92526dc04c3514abcd9397383 | diff --git a/sqlite3.go b/sqlite3.go
index <HASH>..<HASH> 100644
--- a/sqlite3.go
+++ b/sqlite3.go
@@ -221,7 +221,9 @@ type SQLiteResult struct {
}
func (r *SQLiteResult) LastInsertId() (int64, error) {
- return int64(C.sqlite3_last_insert_rowid(r.s.c.db)), nil
+ var rr int64
+ rr = int64(C.sqlite3_last_insert_rowi... | workaround on windows. currently, int<I> does not work correctly. | xeodou_go-sqlcipher | train |
286f8b63c5f0ecd28b2966b5dd38023bbce3875e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -30,13 +30,16 @@ defaultFormat.id = stringifyFormat(defaultFormat);
var formatProperties = Object.keys(defaultFormat);
-//calculated properties - no need to overdefine them
-// 'sampleSize',
-// 'methodSuffix',
-// 'readM... | Detect normalized formats in other way | audiojs_pcm-util | train |
70a78a225e41a96e6489604ddfb3756604076b55 | diff --git a/tests/tests.js b/tests/tests.js
index <HASH>..<HASH> 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -321,7 +321,21 @@ exports.defineAutoTests = function () {
it(
'media.spec.21 should be able to resume playback after pause',
function (done) {
- ... | test(browser): disable test cases w/ play() due to Chrome's Autoplay Policy (#<I>) | apache_cordova-plugin-media | train |
c6aa4e2693f1e07cc7e23f8a821579341061c8a5 | diff --git a/dist/PublicLab.Editor.js b/dist/PublicLab.Editor.js
index <HASH>..<HASH> 100644
--- a/dist/PublicLab.Editor.js
+++ b/dist/PublicLab.Editor.js
@@ -38323,6 +38323,7 @@ module.exports = function(textarea, _editor, _module) {
_module.scrollTop = document.body.scrollTop;
return domador(input, {
... | Inline links fix (#<I>)
* inline links setting for domador
* version bump
* adjust test for inline links | publiclab_PublicLab.Editor | train |
0eb94b589f8547567a79fa9dcbce7373c7f73c04 | diff --git a/connector/api_L1.py b/connector/api_L1.py
index <HASH>..<HASH> 100755
--- a/connector/api_L1.py
+++ b/connector/api_L1.py
@@ -9,6 +9,7 @@ import threading
import sys
import traceback
from connectorError import response_codes
+import logging
class asyncResult:
"""For use as part of connector l... | added a logger for the module | ARMmbed_mbed-connector-api-python | train |
3426c576d6e7282e42c30f720714f359ef157302 | diff --git a/cf/commands/route/create_route.go b/cf/commands/route/create_route.go
index <HASH>..<HASH> 100644
--- a/cf/commands/route/create_route.go
+++ b/cf/commands/route/create_route.go
@@ -60,22 +60,24 @@ func (cmd *CreateRoute) Requirements(requirementsFactory requirements.Factory, f
cmd.spaceReq = requirement... | Re-order create-route requirements
Don't make unnecessary API calls when --path is passed and the CC API
version is too low.
This mirrors what map-route now does for the same option. | cloudfoundry_cli | train |
e7a144157e4b2d4956b96b4a99b931ee4719319f | diff --git a/client.js b/client.js
index <HASH>..<HASH> 100644
--- a/client.js
+++ b/client.js
@@ -52,7 +52,7 @@ var _defaultOptions = {
exports.createClient = function(reference) {
// Client class constructor
var Client = function(options) {
- this._options = _.defaults(options || {}, {
+ this._options = ... | Assign defaults to a new object so we don't mutate given options | taskcluster_taskcluster-client | train |
08e884dc15bb379105072eebff543d98cf85ff34 | diff --git a/djangoplugins/models.py b/djangoplugins/models.py
index <HASH>..<HASH> 100644
--- a/djangoplugins/models.py
+++ b/djangoplugins/models.py
@@ -109,8 +109,8 @@ class Plugin(DirtyFieldsMixin, models.Model):
def save(self, *args, **kwargs):
if "status" in self.get_dirty_fields().keys() and self.p... | Signal.send instead of "send_safe" | krischer_django-plugins | train |
1dd1af2443157e28860ab18708e2d9563960b1bb | diff --git a/PHPCI/Command/InstallCommand.php b/PHPCI/Command/InstallCommand.php
index <HASH>..<HASH> 100644
--- a/PHPCI/Command/InstallCommand.php
+++ b/PHPCI/Command/InstallCommand.php
@@ -323,8 +323,8 @@ class InstallCommand extends Command
{
$output->write(Lang::get('setting_up_db'));
- $phinxBinar... | Switching tabs to spaces as per style guide.
No functional changes. | dancryer_PHPCI | train |
dc9053ed91bf75d1ef76f837cf977fd521a1ba22 | diff --git a/pywws/Forecast.py b/pywws/Forecast.py
index <HASH>..<HASH> 100644
--- a/pywws/Forecast.py
+++ b/pywws/Forecast.py
@@ -18,7 +18,7 @@ import Localisation
from TimeZone import Local, utc
import ZambrettiCore
-def Zambretti(params, hourly_data):
+def ZambrettiCode(params, hourly_data):
north = eval(pa... | Split the Zambretti forecaster into a function that returns the letter
code and another function that converts the letter to a description. | jim-easterbrook_pywws | train |
3624dcda6ea717aa8b575093db7e99d2c75b0671 | diff --git a/netjsonconfig/backends/openwisp/openwisp.py b/netjsonconfig/backends/openwisp/openwisp.py
index <HASH>..<HASH> 100644
--- a/netjsonconfig/backends/openwisp/openwisp.py
+++ b/netjsonconfig/backends/openwisp/openwisp.py
@@ -1,4 +1,5 @@
import re
+import gzip
import tarfile
from io import BytesIO
@@ -151... | [OpenWisp] Ensured reliable checksums | openwisp_netjsonconfig | train |
627a11a6bc105cb62d8dc0aaee9f355e57fe890b | diff --git a/lib/icalevent.js b/lib/icalevent.js
index <HASH>..<HASH> 100644
--- a/lib/icalevent.js
+++ b/lib/icalevent.js
@@ -21,7 +21,7 @@ iCalEvent.prototype = {
function pad(n){
n = parseInt(n);
- return n < 10 ? '0' + n : n
+ return n < 10 ? '0' + n : ""+n
}
var d = new Date(datetime);
@@ -30,... | fixed date format bug resulting in numeric addition instead of string concatenation, changed line ending from CRLF to LF. output now parses by Apple Calendar application | shanebo_icalevent | train |
567f921be2d6a2cb937bf92aec43676d9eae6f37 | diff --git a/can/interfaces/ixxat/canlib.py b/can/interfaces/ixxat/canlib.py
index <HASH>..<HASH> 100644
--- a/can/interfaces/ixxat/canlib.py
+++ b/can/interfaces/ixxat/canlib.py
@@ -22,10 +22,10 @@ __all__ = ["VCITimeout", "VCIError", "VCIDeviceNotFoundError", "IXXATBus"]
log = logging.getLogger('can.ixxat')
-... | Pypy3 doesn't quite have time.perf_counter | hardbyte_python-can | train |
c92377e300d2e9863ffa8eda9c3166a039b60e09 | diff --git a/api/server/server.go b/api/server/server.go
index <HASH>..<HASH> 100644
--- a/api/server/server.go
+++ b/api/server/server.go
@@ -286,7 +286,7 @@ func (s *Server) postContainersKill(eng *engine.Engine, version version.Version,
name := vars["name"]
// If we have a signal, look at it. Otherwise, do not... | docker kill should return error if container is not running.
Assuming that docker kill is trying to actually kill the container
is a mistake. If the container is not running we should report it
back to the caller as a error.
Docker-DCO-<I>- | containers_storage | train |
6671149cab826595aa1532e8f4f9060097a34ea6 | diff --git a/graphviz/lang.py b/graphviz/lang.py
index <HASH>..<HASH> 100644
--- a/graphviz/lang.py
+++ b/graphviz/lang.py
@@ -14,7 +14,7 @@ ID = re.compile(r'([a-zA-Z_][a-zA-Z0-9_]*|-?(\.\d+|\d+(\.\d*)?))$')
KEYWORD = re.compile(r'((node)|(edge)|(graph)|(digraph)|(subgraph)|(strict))$', re.IGNORECASE)
-HTML_STRIN... | drop unneeded non-greedy qualifier | xflr6_graphviz | train |
860583ac56c1210c48919b88bbc25c9ba6e8fb60 | diff --git a/rule/src/main/java/com/buschmais/jqassistant/core/rule/impl/reader/YamlRuleParserPlugin.java b/rule/src/main/java/com/buschmais/jqassistant/core/rule/impl/reader/YamlRuleParserPlugin.java
index <HASH>..<HASH> 100644
--- a/rule/src/main/java/com/buschmais/jqassistant/core/rule/impl/reader/YamlRuleParserPlug... | [buschmais/jqa-core-framework#<I>] Fixed NullPointerException during the execution of a rule. | buschmais_jqa-core-framework | train |
9e45007e7e1163ab04fee59bd2cbd3b7d58f915d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -15,19 +15,33 @@ var analyze = require('./lib/analyze');
* @return {Object}
*/
module.exports = function (input, callback) {
+ // A wrapper around the analyze function, so that
+ // it only gets called on 2.0 projec... | refactor($index): Selectively call analyze on <I> projects only. | LLK_scratch-parser | train |
dd444141b4f8f40f7934fc915d0703f0849d2672 | diff --git a/Gemfile b/Gemfile
index <HASH>..<HASH> 100644
--- a/Gemfile
+++ b/Gemfile
@@ -15,5 +15,5 @@ group :test do
end
group :development, :test do
- gem 'rubocop', '~> 0.44.0', require: false
+ gem 'rubocop', '~> 0.45.0', require: false
end
diff --git a/lib/biz/calculation/active.rb b/lib/biz/calculation/a... | Upgrade to latest `rubocop`
Needed to be a bit more clever about working around the `break` reserved
word due to a new cop.
The solution: `brake`. | zendesk_biz | train |
f6e25e0bd5bd7228aa97e073e812aaaf54549823 | diff --git a/src/main/java/io/github/classgraph/ClassGraphClassLoader.java b/src/main/java/io/github/classgraph/ClassGraphClassLoader.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/github/classgraph/ClassGraphClassLoader.java
+++ b/src/main/java/io/github/classgraph/ClassGraphClassLoader.java
@@ -98,9 +98,7 @@... | Bulk operation can be used instead of iteration | classgraph_classgraph | train |
ec0f88c49e484ad0f7e2449e2170455f49bbe150 | diff --git a/core-bundle/src/Resources/contao/library/Contao/DcaExtractor.php b/core-bundle/src/Resources/contao/library/Contao/DcaExtractor.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/library/Contao/DcaExtractor.php
+++ b/core-bundle/src/Resources/contao/library/Contao/DcaExtractor.php
@@ -6... | [Core] DcaExtractor now knows about unique fields (either defined by index or eval definition) | contao_contao | train |
c9acbba07c28b987071780f291c42e89634f1862 | diff --git a/natsort/compat/fastnumbers.py b/natsort/compat/fastnumbers.py
index <HASH>..<HASH> 100644
--- a/natsort/compat/fastnumbers.py
+++ b/natsort/compat/fastnumbers.py
@@ -4,7 +4,25 @@ Interface for natsort to access fastnumbers functions without
having to worry if it is actually installed.
"""
-from distuti... | Don't import distutils to check the fastnumbers version.
Blacken | SethMMorton_natsort | train |
ad5f9f7169f5a6d583f2f790903090394f202e84 | diff --git a/src/Middleware/AbstractInvokable.php b/src/Middleware/AbstractInvokable.php
index <HASH>..<HASH> 100644
--- a/src/Middleware/AbstractInvokable.php
+++ b/src/Middleware/AbstractInvokable.php
@@ -41,7 +41,7 @@ abstract class AbstractInvokable
/**
* @param InvokableParams $params
*/
- priv... | Make invokeProcess() available to children
AbstractInvokable Middleware will be able to more easily use
composition of middleware within their process() methods if
we allow invokeProcess() to be ran. | lightster_named-sprintf | train |
74116d18bb7c401eafb7b76c949825cb56d570c1 | diff --git a/src/SerializableClosure.php b/src/SerializableClosure.php
index <HASH>..<HASH> 100644
--- a/src/SerializableClosure.php
+++ b/src/SerializableClosure.php
@@ -189,14 +189,13 @@ class SerializableClosure implements Serializable
$data = $data['closure'];
}
-
$this->code = \uns... | Refactored mapPointers method | opis_closure | train |
96d11e2c4b811981b4b304c6a1856278bcb72242 | diff --git a/example/src/test/java/org/geomajas/gwt2/example/client/LoadsProperlyTestInt.java b/example/src/test/java/org/geomajas/gwt2/example/client/LoadsProperlyTestInt.java
index <HASH>..<HASH> 100644
--- a/example/src/test/java/org/geomajas/gwt2/example/client/LoadsProperlyTestInt.java
+++ b/example/src/test/java/... | ignore integration test for release, no firefox on release server | geomajas_geomajas-project-client-gwt2 | train |
1913631bebc1c933676fb0beb3c87ef601d39398 | diff --git a/examples/basic/example.rb b/examples/basic/example.rb
index <HASH>..<HASH> 100644
--- a/examples/basic/example.rb
+++ b/examples/basic/example.rb
@@ -17,7 +17,7 @@ priv.object(self).allow :print
#inside the sandbox, only can use method foo on main and method times on instances of Fixnum
code = "
-def s... | fixed example of calling method defined in sandbox | tario_shikashi | train |
93cf40a096b00a397882c9b6a3020b5884a4820f | diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/t... | Prevent browser context menu from appearing in FF
when content assist CTRL+space is invoked. | eclipse_orion.client | train |
47317ebc080d796615f2516cef7bc6a1acc518fc | diff --git a/src/AdldapServiceProvider.php b/src/AdldapServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/AdldapServiceProvider.php
+++ b/src/AdldapServiceProvider.php
@@ -14,6 +14,14 @@ use Illuminate\Support\ServiceProvider;
class AdldapServiceProvider extends ServiceProvider
{
/**
+ * We'll defer l... | Service provider changes
- Properly defer loading the provider
- Change config path to only `ldap` instead of `adldap`
- Remove config merging
- Remove 'adldap' singleton, use full interface name instead | Adldap2_Adldap2-Laravel | train |
cf74c8c3ca7213f716035f1b532d3cecd5e6e316 | diff --git a/blockchain/indexers/cbfindex.go b/blockchain/indexers/cbfindex.go
index <HASH>..<HASH> 100644
--- a/blockchain/indexers/cbfindex.go
+++ b/blockchain/indexers/cbfindex.go
@@ -78,19 +78,14 @@ func (idx *CBFIndex) Create(dbTx database.Tx) error {
return err
}
-// ConnectBlock is invoked by the index mana... | Abstract filter generation to a separate function | btcsuite_btcd | train |
0b802a501e3f0a686dd30dda2613bacca7bb910e | diff --git a/lib/Loop/NativeDriver.php b/lib/Loop/NativeDriver.php
index <HASH>..<HASH> 100644
--- a/lib/Loop/NativeDriver.php
+++ b/lib/Loop/NativeDriver.php
@@ -104,43 +104,33 @@ class NativeDriver extends Driver
$blocking ? $this->getTimeout() : 0
);
- $scheduleQueue = [];
+ $no... | Mark repeat watcher as disabled then re-enable when executed (#<I>)
Fixes #<I>. | amphp_amp | train |
4e0b142737c11f916f50bcadc9ff377b8283492d | diff --git a/biojava3-structure/src/main/java/org/biojava/bio/structure/scop/ScopFactory.java b/biojava3-structure/src/main/java/org/biojava/bio/structure/scop/ScopFactory.java
index <HASH>..<HASH> 100644
--- a/biojava3-structure/src/main/java/org/biojava/bio/structure/scop/ScopFactory.java
+++ b/biojava3-structure/src... | From now on we use remote scop calls to fetch the data. No need to waste local memory. Only drawback: port <I> needs to be open.
git-svn-id: <URL> | biojava_biojava | train |
3a080143a754f9bb5ae3927a8ca102c04a5b1200 | diff --git a/rafthttp/probing_status.go b/rafthttp/probing_status.go
index <HASH>..<HASH> 100644
--- a/rafthttp/probing_status.go
+++ b/rafthttp/probing_status.go
@@ -48,7 +48,7 @@ func monitorProbingStatus(s probing.Status, id string) {
select {
case <-time.After(statusMonitoringInterval):
if !s.Health() {
-... | rafthttp: make health check meaning clearer | etcd-io_etcd | train |
648fd60ecf72e77c6326aac63244d9305611ed0c | diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index <HASH>..<HASH> 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,9 @@
*Rails 3.1.0 (unreleased)*
+* ActionDispatch::MiddlewareStack now uses composition over inheritance. It is
+no longer an array which means there may be methods mi... | prefer composition over inheritance with AD::MS | rails_rails | train |
4041c8deade6c4d82509261b75f4bd3cd0b9084f | diff --git a/aws/corehandlers/handlers_test.go b/aws/corehandlers/handlers_test.go
index <HASH>..<HASH> 100644
--- a/aws/corehandlers/handlers_test.go
+++ b/aws/corehandlers/handlers_test.go
@@ -13,6 +13,8 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
+ "github.com/aws/aws-sdk... | aws/corehandlers: Fix refresh credentials handler test (#<I>)
Fixes the refresh credentials request handler to correctly validate the
SDK's behavior with regard to refreshing expired credentials. The old
test was not doing a good job of testing the behavior correctly.
Related to #<I> | aws_aws-sdk-go | train |
1e9b6077300c856af5bfe7bdbb03e1d83c767a0a | diff --git a/ui/app/routes/nodes/node.js b/ui/app/routes/nodes/node.js
index <HASH>..<HASH> 100644
--- a/ui/app/routes/nodes/node.js
+++ b/ui/app/routes/nodes/node.js
@@ -1,14 +1,19 @@
import Ember from 'ember';
+import notifyError from 'nomad-ui/utils/notify-error';
const { Route, inject } = Ember;
export defau... | Handle <I>s on nodes | hashicorp_nomad | train |
b6d6e7a3ae618891dc5727dbb55706943733b3bc | diff --git a/packages/carousel/src/Carousel.test.js b/packages/carousel/src/Carousel.test.js
index <HASH>..<HASH> 100644
--- a/packages/carousel/src/Carousel.test.js
+++ b/packages/carousel/src/Carousel.test.js
@@ -1,11 +1,11 @@
import React from "react";
import renderer from "react-test-renderer";
-import Enzyme, { ... | fixup! refactor(Carousel): dropped componentWillReceiveProps in favor of componentDidUpdate | CraveFood_farmblocks | train |
3027d8764bf77e1084006f2723606bc9c01d2941 | diff --git a/test/copy_test.js b/test/copy_test.js
index <HASH>..<HASH> 100644
--- a/test/copy_test.js
+++ b/test/copy_test.js
@@ -1,32 +1,51 @@
var grunt = require('grunt');
var fs = require('fs');
-exports['copy'] = {
- main: function(test) {
+exports.copy = {
+ test: function(test) {
'use strict';
- ... | hopefully the last bit of test refactoring.
organize tasks by target name. | gruntjs_grunt-contrib-copy | train |
a0d885e9dcab2c0113b5b5f805d7c2893da8a4c6 | diff --git a/src/main/java/weiboclient4j/LocationService.java b/src/main/java/weiboclient4j/LocationService.java
index <HASH>..<HASH> 100644
--- a/src/main/java/weiboclient4j/LocationService.java
+++ b/src/main/java/weiboclient4j/LocationService.java
@@ -53,6 +53,10 @@ public class LocationService extends AbstractServi... | Add searchByLocation() without Paging | hoverruan_weiboclient4j | train |
b69c0a0806fbd29cf471f3f83cf9e19f1c733e6f | diff --git a/lib/cramp/model/base.rb b/lib/cramp/model/base.rb
index <HASH>..<HASH> 100644
--- a/lib/cramp/model/base.rb
+++ b/lib/cramp/model/base.rb
@@ -53,7 +53,6 @@ module Cramp
def destroy(callback = nil, &block)
callback ||= block
- relation = self.class.arel_table.where(self.clas... | DRYing up Model::Base. Creation of model instance specific relation moved to own private method, Cramp::Model#relation (used in #destroy and #update). | lifo_cramp | train |
c56c175e608ff0dd3df78b7b1c3dd9dce88787c7 | diff --git a/astroid/nodes/node_classes.py b/astroid/nodes/node_classes.py
index <HASH>..<HASH> 100644
--- a/astroid/nodes/node_classes.py
+++ b/astroid/nodes/node_classes.py
@@ -323,6 +323,7 @@ class BaseContainer(_base_nodes.ParentAssignNode, Instance, metaclass=abc.ABCMet
yield from self.elts
+# TODO: M... | Remove remaining references to old Mixin base nodes | PyCQA_astroid | train |
49bd26c19bdbcaac8e264718f394ab9fc937f005 | diff --git a/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayEventReceiver.java b/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayEventReceiver.java
index <HASH>..<HASH> 100644
--- a/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayEventReceiver.java
+++ b/s... | Migrate DisplayEventReceiver.onVsync to reflector
These calls account for the third most ReflectionHelpers invocations
because DisplayEventReceiver.onVsync is called during each animation frame
by ShadowChoreographer. Migrating them to reflector will reduce the overhead
of animations by around <I>% on SDK < Q.
PiperO... | robolectric_robolectric | train |
6ffe45f0e3e99a71937ace74cf5daeba4dd8467e | diff --git a/command/flag/instances.go b/command/flag/instances.go
index <HASH>..<HASH> 100644
--- a/command/flag/instances.go
+++ b/command/flag/instances.go
@@ -9,7 +9,7 @@ type Instances struct {
types.NullInt
}
-func (i *Instances) IsValidValue(val string) error {
+func (i *Instances) UnmarshalFlag(val string)... | Added back the UnmarshalFlag function to the instances and port flag | cloudfoundry_cli | train |
629da9c2793a66576cdf76eaf24b2207580795d3 | diff --git a/seqlearn/evaluation.py b/seqlearn/evaluation.py
index <HASH>..<HASH> 100644
--- a/seqlearn/evaluation.py
+++ b/seqlearn/evaluation.py
@@ -95,10 +95,21 @@ class SequenceKFold(object):
random_state : {np.random.RandomState, integer}, optional
Random state/random seed for shuffling.
+
+ yie... | ENH return lengths in cross-validation
Fixes #2. | larsmans_seqlearn | train |
6ae66cc72d26d501390e7de196ea92b5ee27914c | diff --git a/atomic_reactor/plugins/exit_remove_worker_metadata.py b/atomic_reactor/plugins/exit_remove_worker_metadata.py
index <HASH>..<HASH> 100644
--- a/atomic_reactor/plugins/exit_remove_worker_metadata.py
+++ b/atomic_reactor/plugins/exit_remove_worker_metadata.py
@@ -31,6 +31,10 @@ class RemoveWorkerMetadataPlug... | don't fail remove_metadata if fragment annotation doesn't exist
* OSBS-<I> | projectatomic_atomic-reactor | train |
6e1bd433ede4ca3c105415b91c7882fc13486222 | diff --git a/src/Model/EnvironmentAccess.php b/src/Model/EnvironmentAccess.php
index <HASH>..<HASH> 100644
--- a/src/Model/EnvironmentAccess.php
+++ b/src/Model/EnvironmentAccess.php
@@ -14,7 +14,7 @@ class EnvironmentAccess extends Resource
{
/** @var array */
- protected static $required = ['user', 'role']... | Fix: only one of the email/user properties are required for a new access object | platformsh_platformsh-client-php | train |
5d6e2954aa51e221509ad6486251737cbcb4f080 | diff --git a/lib/oxcelix/sax/rang_xlsheet.rb b/lib/oxcelix/sax/rang_xlsheet.rb
index <HASH>..<HASH> 100644
--- a/lib/oxcelix/sax/rang_xlsheet.rb
+++ b/lib/oxcelix/sax/rang_xlsheet.rb
@@ -8,14 +8,15 @@ module Oxcelix
super
end
- def attr(name, str)
- # if PER_PAGE?
+ def text(str)
if ... | Paginatedsheet::text only adds to the cellarray elements that fit into the pagination range | gbiczo_oxcelix | train |
a1244d756cdee69a6c33fb7b55cfa9d6006e6a7f | diff --git a/lib/pgsync/table_sync.rb b/lib/pgsync/table_sync.rb
index <HASH>..<HASH> 100644
--- a/lib/pgsync/table_sync.rb
+++ b/lib/pgsync/table_sync.rb
@@ -141,6 +141,9 @@ module PgSync
options = {start: start, finish: finish}
jobs = opts[:jobs]
+
+ # disable multiple jobs for defer constraints ... | Added comment [skip ci] | ankane_pgsync | train |
9551a5f04af5f53fc9c7e331b021c51f27748c54 | diff --git a/app/search_engines/bento_search/google_books_engine.rb b/app/search_engines/bento_search/google_books_engine.rb
index <HASH>..<HASH> 100644
--- a/app/search_engines/bento_search/google_books_engine.rb
+++ b/app/search_engines/bento_search/google_books_engine.rb
@@ -75,7 +75,9 @@ module BentoSearch
... | google_books prefer link to previewLink, with search terms highlighted | jrochkind_bento_search | train |
58ad04566319711f9c6bd3be7f127aa9aa570f20 | diff --git a/reef-runtime-yarn/src/main/java/com/microsoft/reef/runtime/yarn/master/YarnContainerManager.java b/reef-runtime-yarn/src/main/java/com/microsoft/reef/runtime/yarn/master/YarnContainerManager.java
index <HASH>..<HASH> 100644
--- a/reef-runtime-yarn/src/main/java/com/microsoft/reef/runtime/yarn/master/YarnCo... | bugfix: change the YarnContainerManager timing logs to match the pattern used by data collection scripts | apache_reef | train |
5bfeacbc569092998667e46ce2034c80f351a77b | diff --git a/AntiSpoof_i18n.php b/AntiSpoof_i18n.php
index <HASH>..<HASH> 100644
--- a/AntiSpoof_i18n.php
+++ b/AntiSpoof_i18n.php
@@ -86,6 +86,18 @@ $wgAntiSpoofMessages['ksh'] = array(
'antispoof-name-conflict' => 'Dä Name „$1“ es „$2“ zoo ähnlich, un künnt met em verwähßelt weede. Dä Name „$2“ jitt et ald. Sök Der... | * (bug <I>) Update Lithuanian extension messages
patch by Edgaras | wikimedia_mediawiki-extensions-AntiSpoof | train |
e309d2caab0f16793cc5d0a12971c6aef49b35d9 | diff --git a/domt.js b/domt.js
index <HASH>..<HASH> 100644
--- a/domt.js
+++ b/domt.js
@@ -115,19 +115,6 @@ function match(re, str) {
if (m && m.length == 2) return m[1];
}
-function newId() {
- var num = Domt.seq;
- if (!num) num = Domt.seq = 1;
- var pref = Domt.ns.id;
- var id;
- while (true) {
- id = pref + n... | Simplify a lot serialization | kapouer_domt | train |
a410981699c9a1629895ebec7b3dbdd97d6acbec | diff --git a/pmml-evaluator/src/main/java/org/jpmml/evaluator/InputFieldUtil.java b/pmml-evaluator/src/main/java/org/jpmml/evaluator/InputFieldUtil.java
index <HASH>..<HASH> 100644
--- a/pmml-evaluator/src/main/java/org/jpmml/evaluator/InputFieldUtil.java
+++ b/pmml-evaluator/src/main/java/org/jpmml/evaluator/InputFiel... | Improved the preparation of input field values
Float#NaN and Double#NaN are regarded as invalid values.
As such, the default configuration of MiningField elements
('returnInvalid' invalid value treatment method) now
prevents them from entering the model.
See <URL> | jpmml_jpmml-evaluator | train |
abdc50fb7630fe7a42698156816fb60522c2baf9 | diff --git a/src/Core/Controller/Plugin/CreatePaginator.php b/src/Core/Controller/Plugin/CreatePaginator.php
index <HASH>..<HASH> 100644
--- a/src/Core/Controller/Plugin/CreatePaginator.php
+++ b/src/Core/Controller/Plugin/CreatePaginator.php
@@ -10,8 +10,12 @@
/** */
namespace Core\Controller\Plugin;
+use Solr\Ev... | [Core] provided core.create_paginator event, if paginator is returned by listener it will be used rel #<I> | yawik_core | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.