hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
eab402fd67dcdb40bf8d3e44128ef580566cfa48 | diff --git a/py/selenium/webdriver/remote/switch_to.py b/py/selenium/webdriver/remote/switch_to.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/remote/switch_to.py
+++ b/py/selenium/webdriver/remote/switch_to.py
@@ -51,7 +51,9 @@ class SwitchTo:
:Usage:
alert = driver.switch_to.alert
... | [py] Initialize Alert object by calling alert.text (#<I>)
this is how it's done in the Java client, and makes sense as you would want to fail, or have your alert reference as early as possible | SeleniumHQ_selenium | train |
3a7b1d68ac9bfb5a9efcd014c615eb931ae8e088 | diff --git a/Vps/Util/ClearCache.php b/Vps/Util/ClearCache.php
index <HASH>..<HASH> 100644
--- a/Vps/Util/ClearCache.php
+++ b/Vps/Util/ClearCache.php
@@ -73,9 +73,7 @@ class Vps_Util_ClearCache
if (class_exists('Memcache')) $types[] = 'memcache';
if (extension_loaded('apc')) $types[] = 'apc';
... | always return optcode cache type, stat might be switched on in cli | koala-framework_koala-framework | train |
96c037a29bc8653d007df46a715504f9813af558 | diff --git a/src/Cmgmyr/Messenger/Traits/Messagable.php b/src/Cmgmyr/Messenger/Traits/Messagable.php
index <HASH>..<HASH> 100644
--- a/src/Cmgmyr/Messenger/Traits/Messagable.php
+++ b/src/Cmgmyr/Messenger/Traits/Messagable.php
@@ -49,7 +49,7 @@ trait Messagable
*
* @return int
*/
- public function ... | changed newMessagesCount() to newThreadsCount() to better describe what the method is doing | cmgmyr_laravel-messenger | train |
0c837f9c3c98a6014335ebdf38861ede41f0d73c | diff --git a/package.json b/package.json
index <HASH>..<HASH> 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "exp",
- "version": "49.2.1",
+ "version": "49.2.2",
"description": "The command-line tool for creating and publishing Expo apps",
"preferGlobal": true,
"main": "build/exp.... | Wrap args in quotes for traveling-fastlane
fbshipit-source-id: <I>e9 | expo_exp | train |
026b60826e69cf0712f526d2ca0f8398d0f31eeb | diff --git a/src/ol/Map.js b/src/ol/Map.js
index <HASH>..<HASH> 100644
--- a/src/ol/Map.js
+++ b/src/ol/Map.js
@@ -493,16 +493,6 @@ ol.Map.prototype.zoomOut = function() {
};
/**
- * @param {ol.geom.Point} loc the location being requested
- * @returns {Array} the position of the location in pixel space
- */
-ol.Ma... | Removing stub method, and use the real method in Popup. | openlayers_openlayers | train |
36b2d38ddb7af519439c72bd16cbfa24958e0883 | diff --git a/TYPO3.Media/Migrations/Mysql/Version20110925123120.php b/TYPO3.Media/Migrations/Mysql/Version20110925123120.php
index <HASH>..<HASH> 100644
--- a/TYPO3.Media/Migrations/Mysql/Version20110925123120.php
+++ b/TYPO3.Media/Migrations/Mysql/Version20110925123120.php
@@ -18,7 +18,13 @@ class Version2011092512312... | BUGFIX: Allow installation of typo3/media into Flow 2.x project
When installing typo3/media into an existing Flow 2.x project, a schema
migration relies on an old table name, which does not exist anymore.
This change fixes that by checking for the table name and target the
FK to create on the correct table.
NEOS-<I>... | neos_neos-development-collection | train |
641e5556fff1cecd43bc1b9ed80a57eeb00016f4 | diff --git a/classes/controller/cms/page.php b/classes/controller/cms/page.php
index <HASH>..<HASH> 100755
--- a/classes/controller/cms/page.php
+++ b/classes/controller/cms/page.php
@@ -135,7 +135,7 @@ class Controller_Cms_Page extends Controller_Cms
Request::factory( 'error/403' )->execute();
$data = json... | Added saving text slots to page save | boomcms_boom-core | train |
434bee3353f3acaa093abf152fbc0d6143b4a0ad | diff --git a/lib/ellen.rb b/lib/ellen.rb
index <HASH>..<HASH> 100644
--- a/lib/ellen.rb
+++ b/lib/ellen.rb
@@ -8,7 +8,9 @@ require "ellen/logger"
require "ellen/version"
module Ellen
- def self.logger
- @logger ||= Ellen::Logger.new($stdout)
+ class << self
+ def logger
+ @logger ||= Ellen::Logger.new(... | [Refactor] class << self style is recommended | r7kamura_ruboty | train |
c7c84c7b5fd45cf0c890dd87f1b8751fb4650572 | diff --git a/core-bundle/src/Resources/contao/classes/StyleSheets.php b/core-bundle/src/Resources/contao/classes/StyleSheets.php
index <HASH>..<HASH> 100644
--- a/core-bundle/src/Resources/contao/classes/StyleSheets.php
+++ b/core-bundle/src/Resources/contao/classes/StyleSheets.php
@@ -2009,7 +2009,7 @@ class StyleShee... | [Core] Correctly support absolute image paths in the combiner (fixes #<I>) | contao_contao | train |
61bd9fc404df171fa26b7c062fe0af2cd83a5cd3 | diff --git a/DataFixtures/ORM/LoadShowcaseData.php b/DataFixtures/ORM/LoadShowcaseData.php
index <HASH>..<HASH> 100755
--- a/DataFixtures/ORM/LoadShowcaseData.php
+++ b/DataFixtures/ORM/LoadShowcaseData.php
@@ -36,8 +36,9 @@ final class LoadShowcaseData extends AbstractDataFixture
'type' => 'Showca... | Added option to choose displayed categories in Showcase box. | WellCommerce_StandardEditionBundle | train |
31dcb13245666a9e26c373a742fd9296145a696e | diff --git a/unittest/test_fluidsynth.py b/unittest/test_fluidsynth.py
index <HASH>..<HASH> 100644
--- a/unittest/test_fluidsynth.py
+++ b/unittest/test_fluidsynth.py
@@ -14,6 +14,16 @@ from mingus.midi.sequencer_observer import SequencerObserver
class test_fluidsynth(unittest.TestCase):
+ """
+ You must pro... | Add instructions on obtaining SoundFonts | bspaans_python-mingus | train |
684b50bdecd3b8ba72b50d1a469c11f450c3de15 | diff --git a/clients/streaming/src/main/java/com/emc/pravega/stream/Stream.java b/clients/streaming/src/main/java/com/emc/pravega/stream/Stream.java
index <HASH>..<HASH> 100644
--- a/clients/streaming/src/main/java/com/emc/pravega/stream/Stream.java
+++ b/clients/streaming/src/main/java/com/emc/pravega/stream/Stream.ja... | Issue <I>: Rename qualifiedName to ScopedName | pravega_pravega | train |
265cf3aaa0069dc82a5ac8316af14b079ccd523d | diff --git a/hazelcast/src/main/java/com/hazelcast/cache/impl/journal/RingbufferCacheEventJournalImpl.java b/hazelcast/src/main/java/com/hazelcast/cache/impl/journal/RingbufferCacheEventJournalImpl.java
index <HASH>..<HASH> 100644
--- a/hazelcast/src/main/java/com/hazelcast/cache/impl/journal/RingbufferCacheEventJourna... | Throw CacheNotExistsException when cache config does not exist (#<I>)
Avoids throwing a NullPointerException and throws a
CacheNotExistsException instead when the journal is being created but
the cache config does not exist.
Fixes: <URL> | hazelcast_hazelcast | train |
33987dd63f5b1af0db64e99ed66880558177a445 | diff --git a/formation.go b/formation.go
index <HASH>..<HASH> 100644
--- a/formation.go
+++ b/formation.go
@@ -108,7 +108,7 @@ func (r *FormationRepo) List(appID string) ([]*ct.Formation, error) {
}
func (r *FormationRepo) Remove(appID, releaseID string) error {
- err := r.db.Exec("UPDATE formations SET deleted_at ... | controller: Remove unnecessary statement in formation removal | flynn_flynn | train |
e8e2d5df002200ccc6c0c8adc3bb6f26b35d1d09 | diff --git a/gui/src/main/java/org/jboss/as/console/client/shared/subsys/messaging/connections/MsgConnectionsPresenter.java b/gui/src/main/java/org/jboss/as/console/client/shared/subsys/messaging/connections/MsgConnectionsPresenter.java
index <HASH>..<HASH> 100644
--- a/gui/src/main/java/org/jboss/as/console/client/sha... | fix modification of bridges (static connectors have been ignored) | hal_core | train |
ba1c82648071569d869f094c0a8a7693b00a656a | diff --git a/benchmarks/index.js b/benchmarks/index.js
index <HASH>..<HASH> 100644
--- a/benchmarks/index.js
+++ b/benchmarks/index.js
@@ -52,7 +52,7 @@ test.add('serve-static', {
async.parallel(tasks, err => {
if (err) {
- return deferred.reject(err);
+ console.error(err);
}
return deferred.re... | Fixed benchmark: deferred object from benchmark.js does not provide any `reject` method. | ahwayakchih_serve-files | train |
64eb6d42336fc5acab5e091d1ad119938e7a5730 | diff --git a/src/jquery.finger.js b/src/jquery.finger.js
index <HASH>..<HASH> 100644
--- a/src/jquery.finger.js
+++ b/src/jquery.finger.js
@@ -29,13 +29,14 @@
function startHandler(event) {
var data = {},
+ timeStamp = event.timeStamp || +new Date(),
f = $.data(this, namespace);
- if (safeguard == event... | fixes #5 - ie8 legacy support. | ngryman_jquery.finger | train |
436fb40e10c1abd0cbda265bca018fe3ba0a46cc | diff --git a/bitshares/price.py b/bitshares/price.py
index <HASH>..<HASH> 100644
--- a/bitshares/price.py
+++ b/bitshares/price.py
@@ -147,7 +147,6 @@ class Order(Price):
if "for_sale" in self:
self["for_sale"] = Amount(
- self,
{"amount": self["for_sale"], "asset... | Fix Amount in Open Order and improve unittest (Fix #<I>) | bitshares_python-bitshares | train |
f71abf34e916a73050e98854b2a9e91f803fd207 | diff --git a/test/cri-containerd/pullimage_test.go b/test/cri-containerd/pullimage_test.go
index <HASH>..<HASH> 100644
--- a/test/cri-containerd/pullimage_test.go
+++ b/test/cri-containerd/pullimage_test.go
@@ -17,7 +17,7 @@ const (
testDirName = "testdir"
testLinkName = "fake... | Change image used for Test_PullImageTimestamps
Swap the image we used to use for the Test_PullImageTimestamps test to one hosted on an
ACR registry. | Microsoft_hcsshim | train |
f9266aeeffb6d4ad5ca0633dad71dc6dfa6c83e0 | diff --git a/CHANGELOG.md b/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+Next Release
+------------
+* [#70](https://github.com/artsy/garner/pull/70): Added a `whiny_nils` configuration variable (default: `true`) which determines whether Garner raises exceptions on `ni... | Add whiny_nils configuration variable to control behavior on nil bindings
* `Garner.config.whiny_nils?` also works
* New exception introduced: `Garner::Cache::NilBinding` | artsy_garner | train |
e86b8dcbdad7cd138f9467024eb9d395596cec96 | diff --git a/src/Yggdrasil/Component/NidhoggComponent/Command/WampServerCommand.php b/src/Yggdrasil/Component/NidhoggComponent/Command/WampServerCommand.php
index <HASH>..<HASH> 100644
--- a/src/Yggdrasil/Component/NidhoggComponent/Command/WampServerCommand.php
+++ b/src/Yggdrasil/Component/NidhoggComponent/Command/Wam... | [Nidhogg] Command hotfix | Assasz_yggdrasil | train |
510704ffc44d6bec5e97b5aeef160542abf30f12 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -149,7 +149,10 @@ class ExtractTextPlugin {
let meta = module[NS];
if (meta && (!meta.options.id || meta.options.id === id)) {
const wasExtracted = Array.isArray(meta.co... | fix(index): stricter check for `shouldExtract !== wasExtracted` (#<I>) | webpack-contrib_extract-text-webpack-plugin | train |
d610436d00d014a399978bab8a4d530853304d55 | diff --git a/src/toil/lib/bioio.py b/src/toil/lib/bioio.py
index <HASH>..<HASH> 100644
--- a/src/toil/lib/bioio.py
+++ b/src/toil/lib/bioio.py
@@ -171,12 +171,14 @@ def system(command):
subprocess.check_call(command, shell=isinstance(command, string_types), bufsize=-1)
def getTotalCpuTimeAndMemoryUsage():
- ... | Fix incorrect memory usage and "wait" stats reporting
Fixes #<I>. | DataBiosphere_toil | train |
2cd2b7d7d0f294c5206d8455b3a36a5c3819482f | diff --git a/malcolm/modules/builtin/controllers/managercontroller.py b/malcolm/modules/builtin/controllers/managercontroller.py
index <HASH>..<HASH> 100644
--- a/malcolm/modules/builtin/controllers/managercontroller.py
+++ b/malcolm/modules/builtin/controllers/managercontroller.py
@@ -36,11 +36,13 @@ with Anno("Use gi... | Added check for use_git flag before checking version & setting config | dls-controls_pymalcolm | train |
5972bdc87c899a1668f43e2b5a264b11ec4a1d28 | diff --git a/agent/cache-types/streaming_health_services.go b/agent/cache-types/streaming_health_services.go
index <HASH>..<HASH> 100644
--- a/agent/cache-types/streaming_health_services.go
+++ b/agent/cache-types/streaming_health_services.go
@@ -39,7 +39,13 @@ type MaterializerDeps struct {
Logger hclog.Logger
}
... | streaming: improve godoc for cache-type
And fix a bug where any error that implemented the temporary interface was considered
a temporary error, even when the method would return false. | hashicorp_consul | train |
50d88e77697aa91e101eb09a32b9b36bc33956f3 | diff --git a/chainntnfs/neutrinonotify/neutrino.go b/chainntnfs/neutrinonotify/neutrino.go
index <HASH>..<HASH> 100644
--- a/chainntnfs/neutrinonotify/neutrino.go
+++ b/chainntnfs/neutrinonotify/neutrino.go
@@ -471,11 +471,12 @@ chainScan:
}
blockHash := header.BlockHash()
- // With the hash computed, we can n... | chainntfns/neutrinonotify: update driver to comply with BIP | lightningnetwork_lnd | train |
90eedb1725e7adb16c6b3048aee67c76ab5df256 | diff --git a/src/views/server/view.php b/src/views/server/view.php
index <HASH>..<HASH> 100644
--- a/src/views/server/view.php
+++ b/src/views/server/view.php
@@ -215,29 +215,6 @@ list($chartsLabels, $chartsData) = $model->groupUsesForCharts();
?>
</div>
</div>
- ... | Moved `Swithces` DetailView in Server detailed view page | hiqdev_hipanel-module-server | train |
ee289dddfc511cd208c8c4b963c952c0e1c66ca9 | diff --git a/deep_plots/wrangle.py b/deep_plots/wrangle.py
index <HASH>..<HASH> 100644
--- a/deep_plots/wrangle.py
+++ b/deep_plots/wrangle.py
@@ -1,6 +1,6 @@
import pandas as pd
-from .plot import plot_accuracy, plot_loss
+from .plot import plot
def _from_keras_log_format(data, outputpath):
@@ -25,10 +25,3 @@ ... | import plot from plot file to fix missing display env | jfilter_deep-plots | train |
9871223bc5a56467f949bb81ad5fa7220a2684b8 | diff --git a/autoflake.py b/autoflake.py
index <HASH>..<HASH> 100755
--- a/autoflake.py
+++ b/autoflake.py
@@ -43,7 +43,7 @@ import pyflakes.messages
import pyflakes.reporter
-__version__ = '1.1a0'
+__version__ = '1.1'
ATOMS = frozenset([tokenize.NAME, tokenize.NUMBER, tokenize.STRING]) | Increment minor version to <I> | myint_autoflake | train |
37029aafa27067ac32ae786da1b7aa7ea2362988 | diff --git a/bundle/DependencyInjection/NetgenBlockManagerStandardExtension.php b/bundle/DependencyInjection/NetgenBlockManagerStandardExtension.php
index <HASH>..<HASH> 100644
--- a/bundle/DependencyInjection/NetgenBlockManagerStandardExtension.php
+++ b/bundle/DependencyInjection/NetgenBlockManagerStandardExtension.p... | Make sure Yaml::parse receives a string | netgen-layouts_layouts-standard | train |
3b213606c85209d33a52c666adfe015233f273f2 | diff --git a/Str.php b/Str.php
index <HASH>..<HASH> 100644
--- a/Str.php
+++ b/Str.php
@@ -517,14 +517,44 @@ class Str
$encoding = $encoding ?: static::encoding($from);
// This is a non-DRY version of self::startsWith(). If $from doesn't even start
- // with the given substring, we'll just re... | [Utils/Str] Added Str::removeRight() | unyx_utils | train |
0c73bab0fee973d18d3dd4f33f5dea913b8fa2b7 | diff --git a/rules-java/api/src/main/java/org/jboss/windup/rules/apps/java/scan/provider/DiscoverNonMavenArchiveProjectsRuleProvider.java b/rules-java/api/src/main/java/org/jboss/windup/rules/apps/java/scan/provider/DiscoverNonMavenArchiveProjectsRuleProvider.java
index <HASH>..<HASH> 100644
--- a/rules-java/api/src/ma... | Changed getProject() == null to a more efficient check. | windup_windup | train |
4c3cfa2f4a103d785385eb9c0788a740bf7ce47c | diff --git a/lib/setupHttpRoutes.js b/lib/setupHttpRoutes.js
index <HASH>..<HASH> 100644
--- a/lib/setupHttpRoutes.js
+++ b/lib/setupHttpRoutes.js
@@ -19,7 +19,7 @@ var getSystemStatus = require('./getSystemStatus');
//psuedo middleware
function authorizeRequest(req, res, callback){
- res.setHeader('Access-Control... | added more CORS logic to support mobile app | octoblu_meshblu | train |
7dd9efefd16ae89d5834be0cac755ca7801cc285 | diff --git a/src/Client.php b/src/Client.php
index <HASH>..<HASH> 100644
--- a/src/Client.php
+++ b/src/Client.php
@@ -51,6 +51,7 @@ class Client extends EventEmitter implements ReadableStreamInterface
*
* @param boolean $compression (only for legacy protocol)
* @param boolean $ssl (only for l... | Use internal write() to prepare for WritableStreamInterface | clue_reactphp-quassel | train |
5c61571739e860db9ca578fe09ab4733878cb0fc | diff --git a/app/concepts/matestack/ui/core/page/page.rb b/app/concepts/matestack/ui/core/page/page.rb
index <HASH>..<HASH> 100644
--- a/app/concepts/matestack/ui/core/page/page.rb
+++ b/app/concepts/matestack/ui/core/page/page.rb
@@ -94,7 +94,7 @@ module Matestack::Ui::Core::Page
begin
render_child... | Explicitly define html_escape
In async actions the view context doesn't seem to be available,
from where html_escape was called before.
So we explicitly call out to it now.
Also improved some error reporting, that before was just swalloing
errors without a proper stacktrace or real error. | basemate_matestack-ui-core | train |
b3f6e24fdb2b6c3244143b4d9836ff21f1307ad8 | diff --git a/lib/util/language_utils.js b/lib/util/language_utils.js
index <HASH>..<HASH> 100644
--- a/lib/util/language_utils.js
+++ b/lib/util/language_utils.js
@@ -81,13 +81,32 @@ shaka.util.LanguageUtils = class {
* @see ISO 639
*/
static normalize(lang) {
- const fields = lang.toLowerCase().split('-'... | Add Tests For Language Normalization
Added some tests for language normalization to ensure
that it is returning data in the way that we expect.
Updated the normalization code to make the base language
lowercase and the region uppercase.
Change-Id: I8f<I>b<I>e<I>b<I>a<I>aeb5b<I>c<I> | google_shaka-player | train |
f89bf46da19bfc89810ea2a418434290791b7385 | diff --git a/label_sync/main.go b/label_sync/main.go
index <HASH>..<HASH> 100644
--- a/label_sync/main.go
+++ b/label_sync/main.go
@@ -705,6 +705,7 @@ type client interface {
FindIssues(query, order string, ascending bool) ([]github.Issue, error)
GetRepos(org string, isUser bool) ([]github.Repo, error)
GetRepoLab... | Disable retries on <I> responses | kubernetes_test-infra | train |
f1acd93f328eb4ab12579194d13ccb2c8883850e | diff --git a/src/Resque/Component/Core/Foreman.php b/src/Resque/Component/Core/Foreman.php
index <HASH>..<HASH> 100644
--- a/src/Resque/Component/Core/Foreman.php
+++ b/src/Resque/Component/Core/Foreman.php
@@ -69,6 +69,7 @@ class Foreman implements LoggerAwareInterface
$this->redis->disconnect();
$... | forking changes the ID, clear the cached ID in case being re-spawned | php-resque_resque | train |
bebcbac1810889d0cc8af7a15deae63f4d2461fb | diff --git a/lib/resque_delay/performable_method.rb b/lib/resque_delay/performable_method.rb
index <HASH>..<HASH> 100644
--- a/lib/resque_delay/performable_method.rb
+++ b/lib/resque_delay/performable_method.rb
@@ -24,9 +24,6 @@ module ResqueDelay
def perform
load(object).send(method, *args.map{|a| load(a... | Dropped ActiveRecord deps | rykov_resque-delay | train |
ca30f70dc9b5919ec72cca83030c3a3565fadcc4 | diff --git a/deployment_manifest_primatives.go b/deployment_manifest_primatives.go
index <HASH>..<HASH> 100644
--- a/deployment_manifest_primatives.go
+++ b/deployment_manifest_primatives.go
@@ -36,6 +36,7 @@ type InstanceGroup struct {
Networks []Network `yaml:"networks,flow"`
Jobs []In... | adding lifecyle attribute to instance group to allow specification of errand vs service | enaml-ops_enaml | train |
c94a00757dac150b17d9272b72288217c66f0a2d | diff --git a/actionpack/lib/action_controller/metal/conditional_get.rb b/actionpack/lib/action_controller/metal/conditional_get.rb
index <HASH>..<HASH> 100644
--- a/actionpack/lib/action_controller/metal/conditional_get.rb
+++ b/actionpack/lib/action_controller/metal/conditional_get.rb
@@ -235,7 +235,9 @@ module Action... | Add support for more HTTP cache controls
From <<URL> from clients.
These are useful, fully standardized parts of the HTTP protocol with
widespread support among CDN vendors. Supporting them will make it
easier to utilize reverse proxies and CDNs from Rails. | rails_rails | train |
d482aca98de26b41a95315b071b7cd8467d0d8f9 | diff --git a/lib/inject.js b/lib/inject.js
index <HASH>..<HASH> 100644
--- a/lib/inject.js
+++ b/lib/inject.js
@@ -33,9 +33,8 @@ module.exports = function(chrome) {
style.title = '${ sheet.path }'
style.appendChild(document.createTextNode(\`${ source }\`))
... | Catch errors on css inject | porsager_wright | train |
a9904bcc0880798e4430a7e661dc27d8222adb45 | diff --git a/Controller/DynamicController.php b/Controller/DynamicController.php
index <HASH>..<HASH> 100644
--- a/Controller/DynamicController.php
+++ b/Controller/DynamicController.php
@@ -21,7 +21,7 @@ use Sulu\Bundle\FormBundle\ListBuilder\DynamicListFactory;
use Sulu\Bundle\FormBundle\Repository\DynamicRepository... | Use MediaManagerInterface in DynamicController (#<I>) | sulu_SuluFormBundle | train |
2d1e72889b5fa54c885d98768e35237eae5647af | diff --git a/carbonserver/carbonserver.go b/carbonserver/carbonserver.go
index <HASH>..<HASH> 100644
--- a/carbonserver/carbonserver.go
+++ b/carbonserver/carbonserver.go
@@ -616,7 +616,12 @@ func (listener *CarbonserverListener) updateFileList(dir string) {
t0 := time.Now()
var files []string
+ var filesLen int
... | trie: inline trie index building in filepath.Walk for saving memory overhead
On a node containing <I>+ millions of metrics, this could cut down the memory usage
of go-carbon by up to ~<I>% (<I>+GB -> <I>+GB).
NOTE: indexing_runtime will be 0 now for trie index as it is mixed in file_scan_runtime. | lomik_go-carbon | train |
987b7acd85e1627f729cf6b438bd0d196c4347bf | diff --git a/inigo_suite_test.go b/inigo_suite_test.go
index <HASH>..<HASH> 100644
--- a/inigo_suite_test.go
+++ b/inigo_suite_test.go
@@ -151,10 +151,9 @@ func nukeAllWardenContainers() {
}
func registerSignalHandler() {
- go func() {
- c := make(chan os.Signal, 1)
- signal.Notify(c, os.Interrupt, os.Kill)
+ c :... | trap SIGTERM and SIGINT for cleanup
useful for e.g. killing a hanging jenkins build | cloudfoundry_inigo | train |
160092d5b380b610f82665c6b864aba84b9f0ef2 | diff --git a/src/method/helpers/init.js b/src/method/helpers/init.js
index <HASH>..<HASH> 100644
--- a/src/method/helpers/init.js
+++ b/src/method/helpers/init.js
@@ -19,7 +19,7 @@ d3plus.method.init = function( vars , obj , method ) {
}
if ( "process" in obj ) {
- d3plus.method.process( obj , obj.value )
+ ... | made callback only get called for methods without "url" | alexandersimoes_d3plus | train |
b014a852f386d156383dbbf99a84df05d7d15cca | diff --git a/pyvisa/testsuite/keysight_assisted_tests/messagebased_resource_utils.py b/pyvisa/testsuite/keysight_assisted_tests/messagebased_resource_utils.py
index <HASH>..<HASH> 100644
--- a/pyvisa/testsuite/keysight_assisted_tests/messagebased_resource_utils.py
+++ b/pyvisa/testsuite/keysight_assisted_tests/messageb... | messagebased: support for unspecified length in HP header | pyvisa_pyvisa | train |
5e31bb36c0767bcd55f733b9294c0b5516cdb779 | diff --git a/msgpack-core/src/main/java/org/msgpack/core/MessageBufferPacker.java b/msgpack-core/src/main/java/org/msgpack/core/MessageBufferPacker.java
index <HASH>..<HASH> 100644
--- a/msgpack-core/src/main/java/org/msgpack/core/MessageBufferPacker.java
+++ b/msgpack-core/src/main/java/org/msgpack/core/MessageBufferP... | Make constructors protected to simplify the single entry point
Makes constructors of MessagePacker and MessageUnpacker protected so
that all users use factory methods of MessagePack interface. This
removes duplication of API and make it easy to understand. | msgpack_msgpack-java | train |
6217cf791002142309f9fac3564dc4b43155828b | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -11,15 +11,22 @@ var point = require('turf-point');
* @return {FeatureCollection} a FeatureCollection of {@link Point} features representing the exploded input features
* @throws {Error} if it encounters an unknown geometr... | Switch example to geojson primitives | turf-junkyard_turf-explode | train |
c9cc73fddedb4f1a391e3c5bfabfc7c999a62b27 | diff --git a/src/Illuminate/Pipeline/Hub.php b/src/Illuminate/Pipeline/Hub.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Pipeline/Hub.php
+++ b/src/Illuminate/Pipeline/Hub.php
@@ -11,7 +11,7 @@ class Hub implements HubContract
/**
* The container implementation.
*
- * @var \Illuminate\Contra... | Allow pipeline to be instantiated without container | laravel_framework | train |
ac7302acbc961939712dff27456a577f6c96bee9 | diff --git a/lib/drsi/rolable.rb b/lib/drsi/rolable.rb
index <HASH>..<HASH> 100644
--- a/lib/drsi/rolable.rb
+++ b/lib/drsi/rolable.rb
@@ -8,11 +8,18 @@ require 'drsi/module'
# reusing the empty ones or adding and extending new ones when it is needed.
module Rolable
- # Make an object play the role defined as a mo... | context and settings should be private and defined only in the role module | ltello_drsi | train |
b1bc639027050e37c4e71c804e127bdbf1c93ba2 | diff --git a/gameq/protocols/armedassault2.php b/gameq/protocols/armedassault2.php
index <HASH>..<HASH> 100644
--- a/gameq/protocols/armedassault2.php
+++ b/gameq/protocols/armedassault2.php
@@ -21,7 +21,7 @@
*
* @author Austin Bischoff <austin@codebeard.com>
*/
-class GameQ_Protocols_Armedassault2 extends GameQ_... | Changed dayz mod to use source and reverted back vanilla arma 2 to gs3. Closes #<I> | Austinb_GameQ | train |
4be269af49ee9f0533bad006f63dd4f1f11e070a | diff --git a/lib/yasuri/yasuri_map_node.rb b/lib/yasuri/yasuri_map_node.rb
index <HASH>..<HASH> 100644
--- a/lib/yasuri/yasuri_map_node.rb
+++ b/lib/yasuri/yasuri_map_node.rb
@@ -26,7 +26,7 @@ module Yasuri
h["name"] = self.name
h["children"] = self.children.map{|c| c.to_h} if not children.empty?
- ... | Add test case of tree2json of map node | tac0x2a_yasuri | train |
91bfe40cbc9e3000d65a1b6baea3ca3b154c784d | diff --git a/import.php b/import.php
index <HASH>..<HASH> 100644
--- a/import.php
+++ b/import.php
@@ -123,7 +123,7 @@ for ($end_time=microtime(true)+1.0; microtime(true)<$end_time; ) {
exit;
}
// What character set is this? Need to convert it to UTF8
- if (preg_match('/\n1 CHAR(?:ACTER)? (.+)/', $data->chu... | Fix: Imported does not recognise encoding of files with indented headers. | fisharebest_webtrees | train |
32936c3c9c626184ebb0896130ae85689a08c27f | diff --git a/src/main/java/org/paumard/spliterators/FilteringMaxKeysSpliterator.java b/src/main/java/org/paumard/spliterators/FilteringMaxKeysSpliterator.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/paumard/spliterators/FilteringMaxKeysSpliterator.java
+++ b/src/main/java/org/paumard/spliterators/FilteringM... | Added test and fix for the filtering of max keys in the case of a sorted stream | JosePaumard_streams-utils | train |
fe0256376fb8e6c751d242045c2c9395c4e106ba | diff --git a/holoviews/plotting/widgets/widgets.js b/holoviews/plotting/widgets/widgets.js
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/widgets/widgets.js
+++ b/holoviews/plotting/widgets/widgets.js
@@ -105,7 +105,7 @@ SelectionWidget.prototype.get_key = function(current_vals) {
for (var i=0; i<this.slider... | Removed unnessary dependency on underscore.js | pyviz_holoviews | train |
5268e141e48927521a5e92c88778a32a3131b44a | diff --git a/PHPDaemon/Servers/WebSocket/Connection.php b/PHPDaemon/Servers/WebSocket/Connection.php
index <HASH>..<HASH> 100644
--- a/PHPDaemon/Servers/WebSocket/Connection.php
+++ b/PHPDaemon/Servers/WebSocket/Connection.php
@@ -263,7 +263,11 @@ class Connection extends \PHPDaemon\Network\Connection {
return fals... | SockJS\Session became a proper context. Uncaught exceptions are being handled right. | kakserpom_phpdaemon | train |
9f7dcdf7ce16538351a5b0e46e5e71a1f69964da | diff --git a/lib/Thelia/Model/Map/BrandTableMap.php b/lib/Thelia/Model/Map/BrandTableMap.php
index <HASH>..<HASH> 100644
--- a/lib/Thelia/Model/Map/BrandTableMap.php
+++ b/lib/Thelia/Model/Map/BrandTableMap.php
@@ -174,7 +174,7 @@ class BrandTableMap extends TableMap
public function buildRelations()
{
... | Fixed wrong fk in product table | thelia_core | train |
083196ba3e92dd5d538fd69f757070933ddce8e7 | diff --git a/src/algorithms/search/binarysearch.js b/src/algorithms/search/binarysearch.js
index <HASH>..<HASH> 100644
--- a/src/algorithms/search/binarysearch.js
+++ b/src/algorithms/search/binarysearch.js
@@ -22,4 +22,32 @@ const binarySearch = (sortedArray, element) => {
return -1;
};
-module.exports = binaryS... | Add lowerBound implementation and unit tests | felipernb_algorithms.js | train |
a49a2b33ca852b8f330f3c9c9e283a6bff03a39a | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/KeyGroupPartitionedPriorityQueue.java b/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/KeyGroupPartitionedPriorityQueue.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/Key... | [FLINK-<I>][Documentation] Fix PQ comment in KeyGroupPartitionedPriorityQueue (#<I>) | apache_flink | train |
6000646da81bb88c14bf552c90db9f1ede2cb47c | diff --git a/blimpy/waterfall.py b/blimpy/waterfall.py
index <HASH>..<HASH> 100755
--- a/blimpy/waterfall.py
+++ b/blimpy/waterfall.py
@@ -210,11 +210,9 @@ class Waterfall(Filterbank):
t0 = time.time()
- #calibrate data
- #self.data = calibrate(mask(self.data.mean(axis=0)[0]))
#rewri... | Bugfix, frequency values on header. Some polishing. | UCBerkeleySETI_blimpy | train |
57f2b3637b8ad3645a60b1bea81e18053e206188 | diff --git a/addok/core.py b/addok/core.py
index <HASH>..<HASH> 100644
--- a/addok/core.py
+++ b/addok/core.py
@@ -183,7 +183,7 @@ class Result(object):
def score_by_geo_distance(self, center):
km = haversine_distance((float(self.lat), float(self.lon)), center)
- self.distance = km
+ self.... | We want distance in meters not in kilometers | addok_addok | train |
1d1e6094fbdad4c239b90fdc2fa473b4c428acb1 | diff --git a/algorithms/sorting/quicksort.js b/algorithms/sorting/quicksort.js
index <HASH>..<HASH> 100644
--- a/algorithms/sorting/quicksort.js
+++ b/algorithms/sorting/quicksort.js
@@ -49,9 +49,9 @@ var quicksortInit = function (array, comparatorFn) {
* @return Number the positon of the pivot
*/
var partition = ... | Changed quicksort to pick the middle element of an interval as the pivot | felipernb_algorithms.js | train |
c013538c60244280f00955f3726ec6798cae9129 | diff --git a/src/Check/Drush/SessionsAnon.php b/src/Check/Drush/SessionsAnon.php
index <HASH>..<HASH> 100644
--- a/src/Check/Drush/SessionsAnon.php
+++ b/src/Check/Drush/SessionsAnon.php
@@ -31,8 +31,8 @@ class SessionsAnon extends Check {
$number_of_anon_sessions = (int) $output[1];
}
$this->setToken(... | Fix plural code in SessionsAnon | drutiny_drutiny | train |
de242cc4a2a13f1975f0d4de779d57fd2bf545cc | diff --git a/mangopay/fields.py b/mangopay/fields.py
index <HASH>..<HASH> 100644
--- a/mangopay/fields.py
+++ b/mangopay/fields.py
@@ -123,7 +123,7 @@ class DateField(Field):
value = datetime.datetime.strptime(value, '%Y-%m-%d').date()
if isinstance(value, six.integer_types):
- value ... | fix timestamp-to-date conversion | Mangopay_mangopay2-python-sdk | train |
4fe727fa9aedd3eece40f9a3c2a100e40bd68354 | diff --git a/lib/binary_parser.js b/lib/binary_parser.js
index <HASH>..<HASH> 100644
--- a/lib/binary_parser.js
+++ b/lib/binary_parser.js
@@ -252,6 +252,9 @@ Parser.prototype.generate = function(ctx) {
this.generateAssert(ctx);
if (this.options.async) {
+ if (!this.next) {
+ ... | Fixed bug that result callback is called twice | keichi_binary-parser | train |
e38cff9828c958c4a38e02f505ed24fe948124a1 | diff --git a/cmd/smith/main.go b/cmd/smith/main.go
index <HASH>..<HASH> 100644
--- a/cmd/smith/main.go
+++ b/cmd/smith/main.go
@@ -21,6 +21,7 @@ const (
)
func main() {
+ flag.Parse()
if err := run(); err != nil && err != context.Canceled && err != context.DeadlineExceeded {
log.Fatalln(err)
} | Fix glog stupidness: ERROR: logging before flag.Parse | atlassian_smith | train |
f128df5ba8cc0083c61216e0653d112cadb8b2ad | diff --git a/bundles/org.eclipse.orion.client.core/web/mixloginstatic/LoginWindow.js b/bundles/org.eclipse.orion.client.core/web/mixloginstatic/LoginWindow.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.core/web/mixloginstatic/LoginWindow.js
+++ b/bundles/org.eclipse.orion.client.core/web/mixlogi... | Bug <I> - Should be able to Create OrionHub account on OrionHub - Hiding the reset password section did not reveal the registration section if the URI case was hit | eclipse_orion.client | train |
bc5946feb8561d5ff2c121d6aa5f1d19669eba37 | diff --git a/lib/fortitude/tilt/fortitude_template.rb b/lib/fortitude/tilt/fortitude_template.rb
index <HASH>..<HASH> 100644
--- a/lib/fortitude/tilt/fortitude_template.rb
+++ b/lib/fortitude/tilt/fortitude_template.rb
@@ -39,20 +39,13 @@ which is not a Class that inherits from Fortitude::Widget.}
end
class... | Fix issue where usage of Fortitude from Sinatra failed, because the way Sinatra used Tilt is different from my understanding of Tilt's call pattern. | ageweke_fortitude | train |
717d1e32c9c77529c82dcc2d8bf46b82572a7b88 | diff --git a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/resource/DerivedStateAwareResourceDescriptionManager.java b/plugins/org.eclipse.xtext/src/org/eclipse/xtext/resource/DerivedStateAwareResourceDescriptionManager.java
index <HASH>..<HASH> 100644
--- a/plugins/org.eclipse.xtext/src/org/eclipse/xtext/resource/De... | [<I>] Added instanceof check to detect invalid configurations | eclipse_xtext-core | train |
a87816d77076f77338a80a01060d0bfa7e29bc5c | diff --git a/lib/neo4j/core/cypher_session/adaptors.rb b/lib/neo4j/core/cypher_session/adaptors.rb
index <HASH>..<HASH> 100644
--- a/lib/neo4j/core/cypher_session/adaptors.rb
+++ b/lib/neo4j/core/cypher_session/adaptors.rb
@@ -31,6 +31,10 @@ ERROR
case code
when /(ConstraintValidationFailed|Constr... | New errors for indexes / constraints which already exist | neo4jrb_neo4j-core | train |
ac55ab86a515a84693ccc9dc70e13d0bd197eb96 | diff --git a/components/org.wso2.transport.http.netty/src/test/java/org/wso2/transport/http/netty/http2/expect100continue/Abnormal100ContinueTestCase.java b/components/org.wso2.transport.http.netty/src/test/java/org/wso2/transport/http/netty/http2/expect100continue/Abnormal100ContinueTestCase.java
index <HASH>..<HASH> ... | Use a constant for response payload | wso2_transport-http | train |
0f5432596434812428c40ebc2d4df67b42b8453c | diff --git a/app/lib/Api.java b/app/lib/Api.java
index <HASH>..<HASH> 100644
--- a/app/lib/Api.java
+++ b/app/lib/Api.java
@@ -60,7 +60,9 @@ public class Api {
.setScheme(Realm.AuthScheme.BASIC)
.build());
}
-
+ if (log.isDebugEnabled()) {
+ ... | use basic auth for PUT/POST/DELETE
now logs the actual request on debug
use authentication for all http methods, credentials are only overridable for GET, because that's the only one we need right now | Graylog2_graylog2-server | train |
b63996ddf6815208377874fd85a9bbd5b99e7f76 | diff --git a/sling/core/commons/src/main/java/com/composum/sling/core/util/ResourceUtil.java b/sling/core/commons/src/main/java/com/composum/sling/core/util/ResourceUtil.java
index <HASH>..<HASH> 100644
--- a/sling/core/commons/src/main/java/com/composum/sling/core/util/ResourceUtil.java
+++ b/sling/core/commons/src/ma... | ResoureUtil enhancements for Pages components | ist-dresden_composum | train |
e19e63e10a2115fec7f2554fc553cf7bed7c0663 | diff --git a/examples/linecount/countFromJson.php b/examples/linecount/countFromJson.php
index <HASH>..<HASH> 100755
--- a/examples/linecount/countFromJson.php
+++ b/examples/linecount/countFromJson.php
@@ -23,3 +23,5 @@ $network->getGraph()->addInitial($fileName, "ReadFile", "source");
$network
->addInitial($fil... | add shutdown to components, ports and sockets | phpflo_phpflo | train |
527690eb3beae93856b29028ed3912f248383d3f | diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/release/stats/stats.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/release/stats/stats.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/release/stats/stats.py
+++ b/datadog_checks_dev/datadog_chec... | Category and bugfix label gathered with merged-prs stats ddev command (#<I>)
* Category and bugfix label gathered with merged-prs stats ddev command
* Black reformat | DataDog_integrations-core | train |
ed73702f8ed69442dab631d2909c24a6dcdfb97e | diff --git a/tests/Keyteq/Keymedia/APITest.php b/tests/Keyteq/Keymedia/APITest.php
index <HASH>..<HASH> 100644
--- a/tests/Keyteq/Keymedia/APITest.php
+++ b/tests/Keyteq/Keymedia/APITest.php
@@ -196,17 +196,21 @@ class APITest extends FilesystemTest
public function testPostMedia()
{
- $file = '@/some... | Fix tests interacting with the filesystem | KeyteqLabs_keymedia-php | train |
ece3a877f194dda04d814b53ad353df9edf35004 | diff --git a/grakn-kb/src/main/java/ai/grakn/kb/internal/cache/Cacheable.java b/grakn-kb/src/main/java/ai/grakn/kb/internal/cache/Cacheable.java
index <HASH>..<HASH> 100644
--- a/grakn-kb/src/main/java/ai/grakn/kb/internal/cache/Cacheable.java
+++ b/grakn-kb/src/main/java/ai/grakn/kb/internal/cache/Cacheable.java
@@ -2... | Optimize Insertions (#<I>)
* Prevent Read
* Cache the current shard but only in the scope of the transaction
* Fix tests | graknlabs_grakn | train |
0973e52a52c75a786230a46c07db299614449ccf | diff --git a/benchexec/tools/symbiotic.py b/benchexec/tools/symbiotic.py
index <HASH>..<HASH> 100644
--- a/benchexec/tools/symbiotic.py
+++ b/benchexec/tools/symbiotic.py
@@ -2,7 +2,7 @@
# https://github.com/sosy-lab/benchexec
#
# SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
-# SPDX-FileCo... | symbiotic: fix program_files() method
We now use LLVM <I>. Instead of hardcoding it there, use * in program
files as benchexec can expand it. This will fork for all future changes
of LLVM version. | sosy-lab_benchexec | train |
89bd2f878ef622501c5debfc232eb9d2d0110eb2 | diff --git a/helpers/Authoring.php b/helpers/Authoring.php
index <HASH>..<HASH> 100755
--- a/helpers/Authoring.php
+++ b/helpers/Authoring.php
@@ -63,7 +63,6 @@ class Authoring
$parserValidator->validate();
if(!$parserValidator->isValid()){
common_Logger::w('Invalid QTI output: ' . PHP_EO... | Don't dump item content into lock as data might be confidential | oat-sa_extension-tao-itemqti | train |
2cd86e2cb237b3c2633492c4501ccb34c0c638e0 | diff --git a/src/lightncandy.php b/src/lightncandy.php
index <HASH>..<HASH> 100644
--- a/src/lightncandy.php
+++ b/src/lightncandy.php
@@ -1423,7 +1423,7 @@ $libstr
$ch = array_shift($vars);
$v = self::getVariableNames($vars, $context);
self::addUsageCount($context, $notHH ? 'helpers' : 'hbhe... | Fixes the compilation of custom helpers. | zordius_lightncandy | train |
36850b1d0e651a0f91bd9056ceb7bfa157957917 | diff --git a/core/src/main/java/org/bitcoinj/core/Wallet.java b/core/src/main/java/org/bitcoinj/core/Wallet.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/bitcoinj/core/Wallet.java
+++ b/core/src/main/java/org/bitcoinj/core/Wallet.java
@@ -213,8 +213,9 @@ public class Wallet extends BaseTaggableObject im... | Add warning about randomly generated keys to Wallet constructor. | bitcoinj_bitcoinj | train |
41bfa87b6c27b3f0041906f99ae9d0d9531db898 | diff --git a/graph/manifest.go b/graph/manifest.go
index <HASH>..<HASH> 100644
--- a/graph/manifest.go
+++ b/graph/manifest.go
@@ -73,6 +73,8 @@ func (s *TagStore) newManifest(localName, remoteName, tag string) ([]byte, error
return nil, err
}
+ defer archive.Close()
+
tarSum, err := tarsum.NewTarSum(a... | manifest: Close archive once done using it
manifest code calls TarLayer() and gets archive. This archive needs to
be closed once caller is done using it to release the resrouces held
by archive. For the devicemapper graphdriver, archive keeps a device
mounted (device which is backing the layer). If archive.Close() is ... | containers_storage | train |
86f419d2fccfd9575994bf77dd8d5f003fb747f0 | diff --git a/gruntfile.js b/gruntfile.js
index <HASH>..<HASH> 100644
--- a/gruntfile.js
+++ b/gruntfile.js
@@ -6,10 +6,6 @@ module.exports = function(grunt) {
}, {
browserName: "chrome",
platform: "Windows 7",
- version: "beta"
- }, {
- browserName: "chrome",
- platform: "... | Removed IE 8, 9, added mobile browser tests.
Also tried to fix Chrome <I> not being tested. | Ortham_jed-gettext-parser | train |
01dfa522195d79217c43065d3d013e2ee31d47b7 | diff --git a/ChangeLog b/ChangeLog
index <HASH>..<HASH> 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@ What's New in Pylint 2.5.0?
Release date: TBA
+* ``safe_infer`` can infer a value as long as all the paths share the same type.
+
+ Close #2503
+
* Add a --fail-under <score> flag, also configurable in... | ``safe_infer`` can infer a value as long as all the paths share the same type.
This permits finding more errors for functions whose return values use the
same type. Until now we were stopping after the first inference result if we
detected that a node value had multiple possible results.
Close #<I> | PyCQA_pylint | train |
8ee12af53a27e7eaa1fc4a6da8f9d9f225f3988d | diff --git a/widgets/TbAlert.php b/widgets/TbAlert.php
index <HASH>..<HASH> 100644
--- a/widgets/TbAlert.php
+++ b/widgets/TbAlert.php
@@ -53,7 +53,8 @@ class TbAlert extends CWidget
TbHtml::ALERT_COLOR_SUCCESS,
TbHtml::ALERT_COLOR_WARNING,
TbHtml::ALERT_CO... | Added TbHtml::ALERT_COLOR_DANGER to the TbAlert | crisu83_yiistrap | train |
a15490b3507265e2768698ca768c98b6eb40d85b | diff --git a/h2o-py/tests/testdir_algos/gbm/pyunit_imbalancedGBM.py b/h2o-py/tests/testdir_algos/gbm/pyunit_imbalancedGBM.py
index <HASH>..<HASH> 100644
--- a/h2o-py/tests/testdir_algos/gbm/pyunit_imbalancedGBM.py
+++ b/h2o-py/tests/testdir_algos/gbm/pyunit_imbalancedGBM.py
@@ -13,7 +13,7 @@ def imbalancedGBM(ip,port):... | add seed to the model building that uses balance_classes, for determinism/repeatability (otherwise asserts don't always end up true for "improvement") | h2oai_h2o-3 | train |
f7289522504f94b3e8644a4a3dfb127bccb606cd | diff --git a/src/com/google/javascript/jscomp/parsing/IRFactory.java b/src/com/google/javascript/jscomp/parsing/IRFactory.java
index <HASH>..<HASH> 100644
--- a/src/com/google/javascript/jscomp/parsing/IRFactory.java
+++ b/src/com/google/javascript/jscomp/parsing/IRFactory.java
@@ -1203,8 +1203,7 @@ class IRFactory {
... | Slight code simplification
-------------
Created by MOE: <URL> | google_closure-compiler | train |
599865528ecb32688d4109c498c78353a25654be | diff --git a/lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php b/lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php
+++ b/lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php
@@ -161,11 +161,6 @@ class PhpExporter extends Abstra... | [CS] Remove obsolete doc blocks #2 | doctrine_orm | train |
a4244e63de9616d74ed2a6605225f41f8e514477 | diff --git a/ui/app/components/job-page/parts/job-client-status-summary.js b/ui/app/components/job-page/parts/job-client-status-summary.js
index <HASH>..<HASH> 100644
--- a/ui/app/components/job-page/parts/job-client-status-summary.js
+++ b/ui/app/components/job-page/parts/job-client-status-summary.js
@@ -24,7 +24,6 @@... | fix: some test fixes module-for-job
* less clever™ metaprogramming when checking for expectedURL
* clicking slices job-client-status-summary needs to change its
behavior and not pass the namespace query-param anymore. | hashicorp_nomad | train |
6489c32a901f198a69333eaa3cf883ad40daf6f0 | diff --git a/cookie.go b/cookie.go
index <HASH>..<HASH> 100644
--- a/cookie.go
+++ b/cookie.go
@@ -4,6 +4,7 @@ import (
"bytes"
"errors"
"io"
+ "sync"
"time"
)
@@ -17,6 +18,29 @@ var (
CookieExpireUnlimited = zeroTime
)
+// AcquireCookie returns an empty Cookie object from the pool.
+//
+// The returned... | Added AcquireCookie / ReleaseCookie helpers | valyala_fasthttp | train |
16b2b199e7bee2ba8cdb3d1d9a003cb070dc6071 | diff --git a/cdm-test/src/test/java/ucar/nc2/iosp/grib/TestGribCollectionsBig.java b/cdm-test/src/test/java/ucar/nc2/iosp/grib/TestGribCollectionsBig.java
index <HASH>..<HASH> 100644
--- a/cdm-test/src/test/java/ucar/nc2/iosp/grib/TestGribCollectionsBig.java
+++ b/cdm-test/src/test/java/ucar/nc2/iosp/grib/TestGribColle... | try testPofPofP with <I> file handles | Unidata_thredds | train |
6c38a4f785e48a04445685fe618d5665ba440d8a | diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index <HASH>..<HASH> 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -857,9 +857,11 @@ class MoveCommand(Command):
elif self.movement == 'first':
if hasattr(ui.current_buffer, "focus_first"):
... | redraw the UI afer focus [last|first] commands
If one replaces some widget without letting urwid know,
one has to manually trigger it to redraw the screen.
We enforce this to happen after focus_first and focus_last
commands, which might replace widgets in search buffers.
For sake of performance this is *not* done aft... | pazz_alot | train |
3c8acc1f78bff777852e4ab57a1be689b1fc480d | diff --git a/bench/speed.js b/bench/speed.js
index <HASH>..<HASH> 100644
--- a/bench/speed.js
+++ b/bench/speed.js
@@ -6,59 +6,6 @@ const WebSocket = require('../');
const port = 8181;
-function roundPrec (num, prec) {
- const mul = Math.pow(10, prec);
- return Math.round(num * mul) / mul;
-}
-
-function humanSi... | [benchmark] Move functions only used by the worker in the worker branch | websockets_ws | train |
b64acec210e0d364134782bcc8f4d0c223dffd94 | diff --git a/skyfield/almanac.py b/skyfield/almanac.py
index <HASH>..<HASH> 100644
--- a/skyfield/almanac.py
+++ b/skyfield/almanac.py
@@ -27,10 +27,9 @@ def phase_angle(ephemeris, body, t):
earth = ephemeris['earth']
sun = ephemeris['sun']
body = ephemeris[body]
- pe = earth.at(t).observe(body)
- ... | Simplify how phase angle is calculated | skyfielders_python-skyfield | train |
c001849505dc396f0cfe0d15251665bcb5f7110b | diff --git a/rewind/server/eventstores.py b/rewind/server/eventstores.py
index <HASH>..<HASH> 100644
--- a/rewind/server/eventstores.py
+++ b/rewind/server/eventstores.py
@@ -440,11 +440,10 @@ class SQLiteEventStore(EventStore):
count = res[0]
if count == 0:
return False
- elif... | Removing an untestable branch of the code
At least it was very hard to test and I didn't feel like creating an
sqlite mock. Replaces the branch with an assert. | JensRantil_rewind | train |
f1c07f1675c7fa5b056b5e733f5e0ede17e6560f | diff --git a/scripts/ci.publish.js b/scripts/ci.publish.js
index <HASH>..<HASH> 100644
--- a/scripts/ci.publish.js
+++ b/scripts/ci.publish.js
@@ -72,6 +72,7 @@ function updateGit(newVersion) {
exec.execSync(`git add -u`);
exec.execSync(`git commit -m "[ci skip] Publish $VERSION"`);
exec.execSync(`git tag ${ne... | (wip) CI-release final, fixes [ci skip] | wix_Detox | train |
7ddddd60918ba628c014a17af7ee9e3d396cb5e8 | diff --git a/xcat/lib/executors/docfunction.py b/xcat/lib/executors/docfunction.py
index <HASH>..<HASH> 100644
--- a/xcat/lib/executors/docfunction.py
+++ b/xcat/lib/executors/docfunction.py
@@ -27,7 +27,7 @@ class DocFunctionExecutor(XPath2Executor):
return (yield from self.feature.execute_many(self.requester... | Added the simple mode for the docfunction. | orf_xcat | train |
5bf5a75f6e7b85c77fc93c4b6ae2a4d887af1cca | diff --git a/src/widgets/combo/ObjectCombo.php b/src/widgets/combo/ObjectCombo.php
index <HASH>..<HASH> 100644
--- a/src/widgets/combo/ObjectCombo.php
+++ b/src/widgets/combo/ObjectCombo.php
@@ -7,6 +7,7 @@ use hipanel\modules\finance\widgets\combo\PlanCombo;
use hipanel\modules\hosting\widgets\combo\AccountCombo;
us... | Added DomainCombo to known classes of ObjectCombo | hiqdev_hipanel-core | train |
c160da9cb828b3a49d86d0bacc86e50e26fe522b | diff --git a/lib/grouplib.php b/lib/grouplib.php
index <HASH>..<HASH> 100644
--- a/lib/grouplib.php
+++ b/lib/grouplib.php
@@ -717,7 +717,7 @@ function groups_course_module_visible($cm, $userid=null) {
* @return void
*/
function _group_verify_activegroup($courseid, $groupmode, $groupingid, array $allowedgroups) {
... | MDL-<I> prefer member group for default | moodle_moodle | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.