repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
f85d5996db11107edb4d078f5eafcd4cc588cd9c
c1078c4a3bf1a1b2e83d4ca5965b8f9fba26b166
test: improve common.expectsError The output is now improved by showing most properties all at once. Besides that this adds a warning to use `assert.throws` instead due to a better output. PR-URL: https://github.com/nodejs/node/pull/19797 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyee...
[ { "path": "test/common/index.js", "patch": "@@ -690,52 +690,79 @@ Object.defineProperty(exports, 'hasSmallICU', {\n }\n });\n \n+class Comparison {\n+ constructor(obj, keys) {\n+ for (const key of keys) {\n+ if (key in obj)\n+ this[key] = obj[key];\n+ }\n+ }\n+}\n+\n // Useful for test...
2018-04-04T15:03:58
vercel/next.js
7796b1e50c9aadb5038350458dd6e5c12cec80b9
6fb9a192a71be4c28fd9ff596b212a2c880d6986
Font loader default config (#41628) Adds default config if @next/font is a dependency. Warns instead of errors when subsets is missing. [slack ref](https://vercel.slack.com/archives/C03KED0D4N7/p1666226599615489?thread_ts=1666225686.389179&cid=C03KED0D4N7) ## Bug - [ ] Related issues linked using `fixes #nu...
[ { "path": "packages/font/google/index.js", "patch": "@@ -1 +1,7 @@\n-throw new Error('@next/font/google is not correctly configured')\n+let message = '@next/font/google failed to run or is incorrectly configured.'\n+if (process.env.NODE_ENV === 'development') {\n+ message +=\n+ '\\nIf you just installed...
2022-10-22T01:08:37
huggingface/transformers
f82b19cb6f95af3d5d94bb8d1971e2203968f9ac
edbabf6b82b7cbe73965d75324bec2b6c16c1008
add a new flax example for Bert model inference (#34794) * add a new example for flax inference cases * Update examples/flax/language-modeling/README.md Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update examples/flax/language-modeling/README.md Co-authored-by: Steven Liu <59462357+st...
[ { "path": "examples/flax/language-modeling/README.md", "patch": "@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and\n limitations under the License.\n -->\n \n-# Language model training examples\n+# Language model training and inference examples\n \n The following example ...
2025-01-21T13:09:29
golang/go
3cdd5c3bcc53298dd7de39cb6e2bd600308988b8
a8b59fe3cdaeeb40c87d55122a45a2e390e60d88
cmd/link: regression test for issue #42484 Adds test to check that the compiler does not emit duplicate debug_line entries for the end of sequence address. Updates #42484 Change-Id: I3c5d1d606fcfd758aa1fd83ecc51d8edc054398b Reviewed-on: https://go-review.googlesource.com/c/go/+/270197 TryBot-Result: Go Bot <gobot@go...
[ { "path": "src/cmd/link/internal/ld/dwarf_test.go", "patch": "@@ -1570,3 +1570,74 @@ func TestIssue39757(t *testing.T) {\n \t\t}\n \t}\n }\n+\n+func TestIssue42484(t *testing.T) {\n+\ttestenv.MustHaveGoBuild(t)\n+\n+\tif runtime.GOOS == \"plan9\" {\n+\t\tt.Skip(\"skipping on plan9; no DWARF symbol table in ...
2020-11-12T15:02:55
electron/electron
5fa005d5da7aaf3be314cf2468c5f1b82bf688d6
a6c5cb04f7739165ce25593836ac658c73713a52
Fix Windows build error about passing std::string to base::FilePath::Append
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -74,7 +74,7 @@ net::URLRequestContextGetter* BrowserContext::CreateRequestContext(content::Prot\n base::FilePath BrowserContext::GetPath() {\n base::FilePath path;\n CHECK(PathService::Get(base::DIR_APP_DATA, &path));\n- return path.Append(...
2013-05-14T18:47:33
nodejs/node
c1078c4a3bf1a1b2e83d4ca5965b8f9fba26b166
ce4c8c823ca03d065fb880c50789ba136722c8e7
src: cover extra load-via-special-symbol scenario We need to look for a special symbol even if the module self-registers when the module self-registers with the wrong version. PR-URL: https://github.com/nodejs/node/pull/20186 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.c...
[ { "path": "src/node.cc", "patch": "@@ -2292,6 +2292,13 @@ static void DLOpen(const FunctionCallbackInfo<Value>& args) {\n \n // -1 is used for N-API modules\n if ((mp->nm_version != -1) && (mp->nm_version != NODE_MODULE_VERSION)) {\n+ // Even if the module did self-register, it may have done so with ...
2018-04-21T02:27:43
vercel/next.js
14c9376899f0c5c74c7e96928d09070d762fd174
7102050ec74482467a65d077601177e8cac5876c
BREAKING CHANGE: Remove React 17 (#41629) Next.js 13 will require React 18. In this PR I've only updated the peerDependency and removed the test runs in GH actions. Further cleanup will follow later, this allows us to remove the code supporting it later. ## Bug - [ ] Related issues linked using `fixes #number` - ...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -316,82 +316,6 @@ jobs:\n path: |\n test/traces\n \n- testDevReact17:\n- name: Test Development (react v17)\n- runs-on: ubuntu-latest\n- needs: [build, build-native-test]\n- env:\n- NEXT_TELEMETRY_DISAB...
2022-10-21T22:20:36
huggingface/transformers
fd8d61fdb261d878576f8ed74179640242ff72d8
78f5ee0217be64c9b089bc5e407b3818689ca211
Byebye `test_batching_equivalence`'s flakiness (#35729) * fix * fix * skip * better error message --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -1498,7 +1498,16 @@ def set_config_for_less_flaky_test(config):\n \n def set_model_for_less_flaky_test(model):\n # Another way to make sure norm layers have desired epsilon. (Some models don't set it from its config.)\n- target_names = (\"La...
2025-01-21T12:11:33
golang/go
a8b59fe3cdaeeb40c87d55122a45a2e390e60d88
061a6903a232cb868780b1e724a75bf92a728489
encoding/json: fix package shadowing in MarshalIndent example Prior to this CL, pasting the example from the website causes a compilation error for some programs because it was shadowing the "json" package. Change-Id: I39b68a66ca99468547f2027a7655cf1387b61e95 Reviewed-on: https://go-review.googlesource.com/c/go/+/301...
[ { "path": "src/encoding/json/example_test.go", "patch": "@@ -279,12 +279,12 @@ func ExampleMarshalIndent() {\n \t\t\"b\": 2,\n \t}\n \n-\tjson, err := json.MarshalIndent(data, \"<prefix>\", \"<indent>\")\n+\tb, err := json.MarshalIndent(data, \"<prefix>\", \"<indent>\")\n \tif err != nil {\n \t\tlog.Fatal(e...
2021-03-14T16:12:59
electron/electron
a6c5cb04f7739165ce25593836ac658c73713a52
35199ba31fe119b39fa435026fe41dac168166cb
Use FILE_PATH_LITERAL to fix build errors
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -41,7 +41,7 @@ class BrowserContext::ResourceContext : public content::ResourceContext {\n };\n \n BrowserContext::BrowserContext() : resource_context_(new ResourceContext) {\n- auto prefs_path = GetPath().Append(\"Preferences\");\n+ auto pref...
2013-05-14T18:43:42
huggingface/transformers
78f5ee0217be64c9b089bc5e407b3818689ca211
8e4cedd9cad6d467254eeb3cfa096f5d0e221d11
Add LlavaImageProcessor (#33191) * First draft * Add equivalence test * Update docstrings * Add tests * Use numpy * Fix tests * Improve variable names * Improve docstring * Add link * Remove script * Add copied from * Address comment * Add note in docs * Add docstring, data forma...
[ { "path": "docs/source/en/model_doc/llava.md", "patch": "@@ -162,6 +162,16 @@ For multiple turns conversation:\n \"USER: <image>\\n<prompt1> ASSISTANT: <answer1></s>USER: <prompt2> ASSISTANT: <answer2></s>USER: <prompt3> ASSISTANT:\"\n ```\n \n+## Note regarding reproducing original implementation\n+\n+In o...
2025-01-21T11:47:04
nodejs/node
8b012e1464a7f90343c58fdbfa7bc0462c90f56a
1c66a10a0c619568db77d7e05d11911eff474d70
doc: update trace events categories description PR-URL: https://github.com/nodejs/node/pull/20092 Fixes: https://github.com/nodejs/node/issues/16315 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "doc/api/tracing.md", "patch": "@@ -13,15 +13,17 @@ a list of comma-separated category names.\n \n The available categories are:\n \n-* `node`\n-* `node.async_hooks` - Enables capture of detailed async_hooks trace data.\n+* `node` - An empty placeholder.\n+* `node.async_hooks` - Enables capture of...
2018-04-17T04:40:22
vercel/next.js
9cfb4eb190949806e664e99b6a9fc680006adaa6
7b749fb9822ff9eb52c683f44256f4d9bb4c5d75
handle updates from different versions (avoid panic) (#172) Avoid the panic when updating from NotFoundVersion to EcmascriptChunkVersion
[ { "path": "crates/turbopack-ecmascript/src/chunk/mod.rs", "patch": "@@ -30,7 +30,8 @@ use turbopack_core::{\n },\n reference::{AssetReferenceVc, AssetReferencesVc},\n version::{\n- PartialUpdate, Update, UpdateVc, Version, VersionVc, VersionedContent, VersionedContentVc,\n+ Partial...
2022-10-21T19:04:36
rust-lang/rust
405ffce886b9fd343fc90b423141d36fa8e8ae5d
8e18cd614180048d479e6e95b93c1d9998967afc
Fix an incorrect `ExpressionStore` that was passed It caused panics everywhere.
[ { "path": "src/tools/rust-analyzer/crates/hir/src/display.rs", "patch": "@@ -39,21 +39,21 @@ impl HirDisplay for Function {\n // Write container (trait or impl)\n let container_params = match container {\n Some(AssocItemContainer::Trait(trait_)) => {\n- let params ...
2025-04-10T21:34:13
golang/go
88b8a1608987d494f3f29618e7524e61712c31ba
7936efecc8981fab11b445d96cdb1480d9d8208b
cmd/cover: replace code using optimized golang.org/x/tools/cover After CL 179377, this change deletes all the prior cmd/cover code and instead vendors and type aliases code using the significantly optimized golang.org/x/tools/cover, which sped up ParseProfiles by manually parsing profiles instead of a regex. The spee...
[ { "path": "src/cmd/cover/profile.go", "patch": "@@ -4,217 +4,27 @@\n \n // This file provides support for parsing coverage profiles\n // generated by \"go test -coverprofile=cover.out\".\n-// It is a copy of golang.org/x/tools/cover/profile.go.\n+// It is a alias of golang.org/x/tools/cover/profile.go.\n \n...
2020-08-21T12:23:18
huggingface/transformers
705aeaaa12738e3832f4911edcfb2f356ecd0f62
e867b97443d3a16035b7fb66ad43c8ad1f8481e7
Fix "test_chat_template_dict" in video LLMs (#35660) * fix "test_chat_template_dict" in llava_onevision * Update src/transformers/models/llava_next_video/processing_llava_next_video.py Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com> * get one video calles once --------- Co-authored-by: Pavel Iaku...
[ { "path": "src/transformers/models/llava_next_video/processing_llava_next_video.py", "patch": "@@ -18,6 +18,8 @@\n \n from typing import TYPE_CHECKING, List, Optional, Union\n \n+import numpy as np\n+\n from ...feature_extraction_utils import BatchFeature\n from ...image_processing_utils import select_best_...
2025-01-21T09:23:40
electron/electron
995b9dacc924ee9b8f5241ce8e0f9e4f3b365dc8
937b811c8d6843ba87c7092cda78eb6e195cfd78
Fix titles of submenus in application menu.
[ { "path": "browser/api/atom_api_menu_mac.h", "patch": "@@ -26,6 +26,11 @@ class MenuMac : public Menu {\n private:\n friend class Menu;\n \n+ // The MenuController doesn't set title for menus, however it's required by\n+ // application menu to show submenus correctly, fix it by iterating all\n+ // sub...
2013-05-16T06:39:12
nodejs/node
358d8ffad650b6fb966082e7bd1460b0d6a4eacc
854f840243b0b531f9569f9304a6810b01bd9778
crypto: allow to restrict valid GCM tag length This change allows users to restrict accepted GCM authentication tag lengths to a single value. PR-URL: https://github.com/nodejs/node/pull/20039 Fixes: https://github.com/nodejs/node/issues/17523 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yihong Wang <y...
[ { "path": "doc/api/crypto.md", "patch": "@@ -1457,6 +1457,10 @@ to create the `Decipher` object.\n <!-- YAML\n added: v0.1.94\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/20039\n+ description: The `authTagLength` option can now be used to restrict accepted\n+ ...
2018-04-13T16:02:46
rust-lang/rust
50a17e7eeebb93428504e6748bb7cb592af791bd
1470ddbb18963884f5148ac699089f303e8e6cf7
fix: `make::expr_call() -> CallExpr` Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/convert_from_to_tryfrom.rs", "patch": "@@ -128,6 +128,7 @@ fn wrap_ok(expr: ast::Expr) -> ast::Expr {\n make::expr_path(make::ext::ident_path(\"Ok\")),\n make::arg_list(std::iter::once(expr)),\n )\n+ .into()\n }\n \n #...
2025-04-10T21:27:44
vercel/next.js
243bc9fbc04d40139b48cbb9790cf14810716c7b
06cc52ecbcc88eeaf868ae13e2521ebea75fd086
Add support for API routes (vercel/turbo#163) This reworks our Node.js rendering logic to allow for: * passing binary request bodies in and out of Node.js: API routes can accept request bodies in POST, and can reply with any content type. * content source results that are recomputed every time: we don't want API r...
[ { "path": "packages/next-swc/crates/next-core/Cargo.toml", "patch": "@@ -13,6 +13,7 @@ anyhow = \"1.0.47\"\n futures = \"0.3.21\"\n indexmap = { workspace = true, features = [\"serde\"] }\n mime = \"0.3.16\"\n+rand = \"0.8.5\"\n regex = \"1.6.0\"\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"\n@@ -21,6 +22...
2022-10-21T19:03:52
huggingface/transformers
920f34a77245adb2995e99f15f52591e1b8f3e97
234168c4dc837da10c594408f15807a1d6f3fab4
modular_model_converter bugfix on assignments (#35642) * added bugfix in modular converter to keep modular assignments for docstrings, expected outputs etc. * revert stracoder2 docstring copying, add forward in EMU3 to enable docstring assingment, remove verbatim assignments in modular converter * added _FOR_DOC in ...
[ { "path": "src/transformers/models/bamba/modeling_bamba.py", "patch": "@@ -61,6 +61,7 @@\n \n \n logger = logging.get_logger(__name__)\n+\n _CONFIG_FOR_DOC = \"BambaConfig\"\n \n ", "additions": 1, "deletions": 0, "language": "Python" }, { "path": "src/transformers/models/cohere/modeling...
2025-01-21T07:06:44
golang/go
8336c311f848cb9adc76aeb8bd8172f67bda67e6
3224990dad27d5a06961a168c3760b13a6d140c1
io: add error check to WriteString Example test Change-Id: I9ce1c79e5799f205aec3a4dc02645ed26bdc3581 GitHub-Last-Rev: 59b637db0154e55ddfdd55e54b9596dc3a0ad32d GitHub-Pull-Request: golang/go#44533 Reviewed-on: https://go-review.googlesource.com/c/go/+/295389 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-...
[ { "path": "src/io/example_test.go", "patch": "@@ -103,7 +103,9 @@ func ExampleReadFull() {\n }\n \n func ExampleWriteString() {\n-\tio.WriteString(os.Stdout, \"Hello World\")\n+\tif _, err := io.WriteString(os.Stdout, \"Hello World\"); err != nil {\n+\t\tlog.Fatal(err)\n+\t}\n \n \t// Output: Hello World\n ...
2021-03-13T17:44:10
electron/electron
64a8664ffe116426b021b1f879694c77a9192a28
06142aa2e83eacb39ac63753f37172874142b0b6
Fix places where Window should be BrowserWindow.
[ { "path": "browser/api/lib/dialog.coffee", "patch": "@@ -67,7 +67,7 @@ module.exports =\n selectFileWrap args..., 4, 'Open Files'\n \n showMessageBox: (window, options) ->\n- throw new TypeError('Need Window object') unless window.constructor is Window\n+ throw new TypeError('Need Window object'...
2013-05-15T14:17:27
nodejs/node
854f840243b0b531f9569f9304a6810b01bd9778
3ba81e34e86a5c32658e218cb6e65b13e8326bc5
crypto: fix explanation in CipherBase::SetAuthTag PR-URL: https://github.com/nodejs/node/pull/20197 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "src/node_crypto.cc", "patch": "@@ -2910,7 +2910,7 @@ void CipherBase::SetAuthTag(const FunctionCallbackInfo<Value>& args) {\n }\n }\n \n- // Note: we don't use std::max() here to work around a header conflict.\n+ // Note: we don't use std::min() here to work around a header conflict.\n ...
2018-04-21T08:56:47
rust-lang/rust
1470ddbb18963884f5148ac699089f303e8e6cf7
c1563be0e9c45e507bdaf69642b32638940012a6
fix: `make::expr_method_call() -> MethodCallExpr` Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/convert_for_to_while_let.rs", "patch": "@@ -66,7 +66,7 @@ pub(crate) fn convert_for_loop_to_while_let(\n };\n \n let iterable = if let Some(method) = method {\n- make::expr_method_call(iterable, method,...
2025-04-10T21:19:34
huggingface/transformers
234168c4dc837da10c594408f15807a1d6f3fab4
44393df089cb6623b01b268958fb2026eb5c03e8
Fixes, improvements to `timm` import behaviour (#35800) * Fix timm dummy import logic * Add requires to TimmWrapperConfig.from_dict so users see a helpful import error message if timm not installed
[ { "path": "src/transformers/__init__.py", "patch": "@@ -1302,7 +1302,7 @@\n _import_structure[\"models.vit\"].append(\"ViTImageProcessorFast\")\n \n try:\n- if not is_torchvision_available() and not is_timm_available():\n+ if not (is_torchvision_available() and is_timm_available()):\n rais...
2025-01-20T21:17:01
golang/go
fedb49487831e1168ebad7d313e23a8494bee6a2
289d34a465d46e5c5c07034f5d54afbfda06f5b9
errors/wrap: do not call Elem() twice Change-Id: I2fe6037c45a0dfe25f946a92ff97b5e3fbd69bc0 GitHub-Last-Rev: 644d479a27c0eccfc0b37e1a560ca09e47b5a972 GitHub-Pull-Request: golang/go#44851 Reviewed-on: https://go-review.googlesource.com/c/go/+/299629 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <g...
[ { "path": "src/errors/wrap.go", "patch": "@@ -83,10 +83,10 @@ func As(err error, target interface{}) bool {\n \tif typ.Kind() != reflectlite.Ptr || val.IsNil() {\n \t\tpanic(\"errors: target must be a non-nil pointer\")\n \t}\n-\tif e := typ.Elem(); e.Kind() != reflectlite.Interface && !e.Implements(errorTy...
2021-03-08T03:15:25
vercel/next.js
7b749fb9822ff9eb52c683f44256f4d9bb4c5d75
6d47dd9f5566831bfcce7e523ce2b3b7cd4754b0
Add support for API routes (#163) This reworks our Node.js rendering logic to allow for: * passing binary request bodies in and out of Node.js: API routes can accept request bodies in POST, and can reply with any content type. * content source results that are recomputed every time: we don't want API routes to be ...
[ { "path": "crates/next-core/Cargo.toml", "patch": "@@ -13,6 +13,7 @@ anyhow = \"1.0.47\"\n futures = \"0.3.21\"\n indexmap = { workspace = true, features = [\"serde\"] }\n mime = \"0.3.16\"\n+rand = \"0.8.5\"\n regex = \"1.6.0\"\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"\n@@ -21,6 +22,7 @@ tokio = { ve...
2022-10-21T19:03:52
electron/electron
06142aa2e83eacb39ac63753f37172874142b0b6
072ac8ba0ba8bd8ac00a283ca6e2e027e0d6ba56
Add 'Reload' in application menu. Fixes atom/atom-shell#4.
[ { "path": "browser/mac/MainMenu.xib", "patch": "@@ -1193,6 +1193,15 @@\n \t\t\t\t\t\t\t\t\t<reference key=\"NSMixedImage\" ref=\"909111550\"/>\n \t\t\t\t\t\t\t\t</object>\n \t\t\t\t\t\t\t\t<object class=\"NSMenuItem\" id=\"885614672\">\n+\t\t\t\t\t\t\t\t\t<reference key=\"NSMenu\" ref=\"466310130\"/>\n+\t\t...
2013-05-15T12:24:51
rust-lang/rust
c1563be0e9c45e507bdaf69642b32638940012a6
5cdddd73f049d7491467db9a9f68253646f9beef
fix: `make::expr_closure() -> ClosureExpr` Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/replace_method_eager_lazy.rs", "patch": "@@ -79,7 +79,7 @@ fn into_closure(param: &Expr) -> Expr {\n None\n }\n })()\n- .unwrap_or_else(|| make::expr_closure(None, param.clone()))\n+ .unwrap_or_else(|| make::exp...
2025-04-10T21:12:19
nodejs/node
63d991b7cf229a713d0d72b51dcb7b52691d7d65
7fcb52c7b2236cbd7db1dc63274a2670fcd2fb9d
deps: upgrade to libuv 1.20.2 PR-URL: https://github.com/nodejs/node/pull/20129 Fixes: https://github.com/nodejs/node/issues/20112 Fixes: https://github.com/nodejs/node/issues/19903 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@adda...
[ { "path": "deps/uv/AUTHORS", "patch": "@@ -332,3 +332,8 @@ Ryuichi KAWAMATA <ryuichi.kawamata@dena.jp>\n Joyee Cheung <joyeec9h3@gmail.com>\n Michael Kilburn <crusader.mike@gmail.com>\n Ruslan Bekenev <furyinbox@gmail.com>\n+Bob Burger <rgburger@beckman.com>\n+Thomas Versteeg <thomasversteeg@gmx.com>\n+zzzj...
2018-04-22T18:07:50
huggingface/transformers
f19135afc77053834f1b0cdf46d9a6bf7faf7cc3
641238eb766ecac073e985dbfb926fd55a55600f
fix low-precision audio classification pipeline (#35435) * fix low-precision audio classification pipeline Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * add test Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix format Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix torch impor...
[ { "path": "src/transformers/pipelines/audio_classification.py", "patch": "@@ -212,6 +212,8 @@ def preprocess(self, inputs):\n processed = self.feature_extractor(\n inputs, sampling_rate=self.feature_extractor.sampling_rate, return_tensors=\"pt\"\n )\n+ if self.torch_dtype ...
2025-01-20T16:20:51
golang/go
b3235b75d109f06eec0d3603c606b2d8373b9d4c
83e79c7b1474bfd7398cc69207587547885fa96e
encoding/gob: ensure "duplicate type received" decoder errors surface up Previously re-using a decoder with a new stream resulted in a confusing "extra data in buffer" error message. Change-Id: Ia4c4c3a2d4b63c59e37e53faa61a500d5ff6e5f1 Reviewed-on: https://go-review.googlesource.com/c/go/+/297949 Reviewed-by: Rob Pik...
[ { "path": "src/encoding/gob/decoder.go", "patch": "@@ -152,6 +152,9 @@ func (dec *Decoder) decodeTypeSequence(isInterface bool) typeId {\n \t\t}\n \t\t// Type definition for (-id) follows.\n \t\tdec.recvType(-id)\n+\t\tif dec.err != nil {\n+\t\t\tbreak\n+\t\t}\n \t\t// When decoding an interface, after a ty...
2021-03-02T19:52:34
electron/electron
072ac8ba0ba8bd8ac00a283ca6e2e027e0d6ba56
f477ec09c042301457c02e047664344cb55b2883
Rename 'window' module to 'browser_window' module. Fix #3.
[ { "path": "atom.gyp", "patch": "@@ -11,10 +11,10 @@\n 'coffee_sources': [\n 'browser/api/lib/app.coffee',\n 'browser/api/lib/atom_delegate.coffee',\n+ 'browser/api/lib/browser_window.coffee',\n 'browser/api/lib/dialog.coffee',\n 'browser/api/lib/ipc.coffee',\n 'browser...
2013-05-15T11:19:35
rust-lang/rust
5cdddd73f049d7491467db9a9f68253646f9beef
e47bb175479c551c7dd828990f7ff7cb7ccce01f
fix: `make::expr_paren() -> ParenExpr` Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/convert_for_to_while_let.rs", "patch": "@@ -60,7 +60,7 @@ pub(crate) fn convert_for_loop_to_while_let(\n {\n (expr, Some(make.name_ref(method.as_str())))\n } else if let ast::Expr::RefExpr(_) = iterabl...
2025-04-10T21:10:03
huggingface/transformers
641238eb766ecac073e985dbfb926fd55a55600f
729b569531f644901046bc51502e792b5984bd48
Fix vits low-precision dtype (#35418) * fix vits dtype Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * add tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * use weight dtype Signed-off-by: jiqing-feng <jiqing.feng@intel.com> --------- Signed-off-by: jiqing-feng <jiqing.feng@intel.com...
[ { "path": "src/transformers/models/vits/modeling_vits.py", "patch": "@@ -1406,10 +1406,11 @@ def forward(\n if labels is not None:\n raise NotImplementedError(\"Training of VITS is not supported yet.\")\n \n+ mask_dtype = self.text_encoder.embed_tokens.weight.dtype\n if at...
2025-01-20T16:19:31
vercel/next.js
6d47dd9f5566831bfcce7e523ce2b3b7cd4754b0
674bc7e539c39d655df5e62ec2eba03121690155
Clarify SSR chunk loading message for next/dynamic (#167) Closes https://github.com/vercel/web-tooling-internal/issues/47 This recommends users opt out of ssr for now. This also cleans up a debug message in `runtime.js`.
[ { "path": "crates/turbopack-ecmascript/js/src/runtime.js", "patch": "@@ -252,7 +252,9 @@\n chunkLoaders.set(chunkPath, chunkLoader);\n \n if (typeof document === \"undefined\") {\n- throw new Error(\"can't dynamically load scripts outside the browser\");\n+ throw new Error(\n+ \"Loa...
2022-10-21T18:55:23
nodejs/node
647954d0a045c72fc6b22afcfd89daa72d81bab3
2060787d386099ceadbb6de2d81dc2f34c90503d
doc: fix incorrect net listen signature PR-URL: https://github.com/nodejs/node/pull/20209 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ih...
[ { "path": "doc/api/net.md", "patch": "@@ -192,7 +192,7 @@ Possible signatures:\n * [`server.listen(options[, callback])`][`server.listen(options)`]\n * [`server.listen(path[, backlog][, callback])`][`server.listen(path)`]\n for [IPC][] servers\n-* [`server.listen([[[port[, hostname[, backlog]]][, callback...
2018-04-22T09:32:52
golang/go
83e79c7b1474bfd7398cc69207587547885fa96e
59e012991a31dcf65a0ec79f99b7f4234f46cf2d
crypto/ecdsa: fix dead reference link The previous link broke, but it's available on the internet archive. Fixes #39808 Change-Id: Ic2be74a1f0591600ca1acbe08e1bab8ba1e21abe GitHub-Last-Rev: 6d6de5d2f451c6d53a1e55b62fb5a1fab0d49f10 GitHub-Pull-Request: golang/go#40165 Reviewed-on: https://go-review.googlesource.com/c...
[ { "path": "src/crypto/ecdsa/ecdsa.go", "patch": "@@ -17,7 +17,7 @@\n // [Coron]\n // https://cs.nyu.edu/~dodis/ps/merkle.pdf\n // [Larsson]\n-// https://www.nada.kth.se/kurser/kth/2D1441/semteo03/lecturenotes/assump.pdf\n+// https://web.archive.org/web/20040719170906/https://www.nada.kth.se/...
2021-02-16T16:01:39
electron/electron
349ed4fd73b6f826052bd452f024486b774d8e0a
bfea9775a080bbd967fd38015fe8b8c60acdf1ca
Implement window.moveTo and window.ResizeTo. Fix #2.
[ { "path": "browser/native_window.cc", "patch": "@@ -196,6 +196,12 @@ void NativeWindow::BeforeUnloadFired(content::WebContents* tab,\n WindowList::WindowCloseCancelled(this);\n }\n \n+void NativeWindow::MoveContents(content::WebContents* source,\n+ const gfx::Rect& pos) {\...
2013-05-15T05:56:25
huggingface/transformers
729b569531f644901046bc51502e792b5984bd48
ec97417827471351c86cf655ee94d38ddf5bfa3f
fix document qa bf16 pipeline (#35456) * fix document qa bf16 pipeline Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * add test Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix test Signed-off-by: jiqing-feng <jiqing.feng@intel.com> --------- Signed-off-by: jiqing-feng <jiqing.feng@in...
[ { "path": "src/transformers/pipelines/document_question_answering.py", "patch": "@@ -485,6 +485,11 @@ def postprocess_extractive_qa(\n for output in model_outputs:\n words = output[\"words\"]\n \n+ if self.framework == \"pt\" and output[\"start_logits\"].dtype in (torch.bfloat...
2025-01-20T16:18:07
rust-lang/rust
3375264fa1c6e7fe95b05c7c369f1f884dee1c91
7d7de5bf3c3cbf9c2c5bbc5cbfb9197a8a427d35
Fix `register_group_alias` for tools
[ { "path": "compiler/rustc_lint/src/context.rs", "patch": "@@ -83,11 +83,6 @@ enum TargetLint {\n Ignored,\n }\n \n-pub enum FindLintError {\n- NotFound,\n- Removed,\n-}\n-\n struct LintAlias {\n name: &'static str,\n /// Whether deprecation warnings should be suppressed for this alias.\n@@...
2025-04-10T20:58:15
nodejs/node
2060787d386099ceadbb6de2d81dc2f34c90503d
3eeb346aa96790765234f8e4759dd5896754067f
meta: document commit msg exception for long URLs PR-URL: https://github.com/nodejs/node/pull/20207 Fixes: https://github.com/nodejs/node/issues/17116 Refs: https://github.com/nodejs/core-validate-commit/issues/24 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Rev...
[ { "path": "doc/guides/contributing/pull-requests.md", "patch": "@@ -151,7 +151,7 @@ A good commit message should describe what changed and why.\n \n \n 2. Keep the second line blank.\n-3. Wrap all other lines at 72 columns.\n+3. Wrap all other lines at 72 columns (except for long URLs).\n \n 4. If your patc...
2018-04-22T00:35:12
vercel/next.js
0156a13d678364759fd044f07e90a92d7d7deed5
0702b89af47fe132f3d2100ec1e0c59ede2a25e8
Bugfixes regarding task scope handling (#159) There are a bunch of missing or incorrect handling of negative counts that can happen due to parallel processing of adding and removing to scopes. Negative counts should behave like 0, but the next add will not reach a positive value yet. This is important if the remove...
[ { "path": "crates/turbo-tasks-memory/src/memory_backend.rs", "patch": "@@ -176,12 +176,21 @@ impl MemoryBackend {\n pub(crate) fn decrease_scope_active(\n &self,\n scope: TaskScopeId,\n+ turbo_tasks: &dyn TurboTasksBackendApi,\n+ ) {\n+ self.decrease_scope_active_by(scop...
2022-10-21T16:58:22
huggingface/transformers
a142f161313199bcfa67afe1990d1f0f39a973bb
3998fa8aab73e78de9dd9717407c4108728e8f5b
transformers.image_transforms.normalize wrong types (#35773) transformers.image_transforms.normalize documents and checks for the wrong type for std and mean arguments Co-authored-by: Louis Groux <louis.cal.groux@gmail.com>
[ { "path": "src/transformers/image_transforms.py", "patch": "@@ -15,7 +15,7 @@\n \n import warnings\n from math import ceil\n-from typing import Iterable, List, Optional, Tuple, Union\n+from typing import Iterable, List, Optional, Sequence, Tuple, Union\n \n import numpy as np\n \n@@ -357,8 +357,8 @@ def res...
2025-01-20T15:00:46
electron/electron
bfea9775a080bbd967fd38015fe8b8c60acdf1ca
65c1ec4e942a3b18f7e0094bc89f5b78cec0b8b7
Fix typo in the comment.
[ { "path": "browser/native_window.cc", "patch": "@@ -201,7 +201,7 @@ void NativeWindow::CloseContents(content::WebContents* source) {\n // memory will not be freed until you call delete.\n // In this way, it would be safe to manage windows via smart pointers. If you\n // want to free memory when the wi...
2013-05-15T05:47:15
vercel/next.js
0702b89af47fe132f3d2100ec1e0c59ede2a25e8
66ff71f0a4319e8c527b3dd3c24c63fd80c0fc04
Emit error on all URI imports (#165) Also it's remainder not remainer.
[ { "path": "crates/turbopack-core/src/resolve/mod.rs", "patch": "@@ -695,19 +695,17 @@ pub async fn resolve(\n }\n Request::Uri {\n protocol: _,\n- remainer,\n+ remainder: _,\n } => {\n- if remainer.ends_with(\"css\") {\n- le...
2022-10-21T16:57:32
nodejs/node
3eeb346aa96790765234f8e4759dd5896754067f
f31fc9398d1da30aa219968caaac5bd4ca56e6f2
src: CancelTerminateExecution before throwing errors Terminating the execution of a script would create a pending exception, therefore we should cancel the termination *before* throwing a new exception, otherwise the attempt to create a custom error may fail. PR-URL: https://github.com/nodejs/node/pull/20146 Reviewed...
[ { "path": "src/module_wrap.cc", "patch": "@@ -279,7 +279,9 @@ void ModuleWrap::Evaluate(const FunctionCallbackInfo<Value>& args) {\n result = module->Evaluate(context);\n }\n \n+ // Convert the termination exception into a regular exception.\n if (timed_out || received_signal) {\n+ env->isolate(...
2018-04-19T09:18:07
huggingface/transformers
3998fa8aab73e78de9dd9717407c4108728e8f5b
b80e334e719de76ca47b964b06b62abf7144cddc
[fix] cannot import name 'Pop2PianoFeatureExtractor' from 'transformers' (#35604) * update pop2piano __init__ * add lib check * update fix * revert
[ { "path": "src/transformers/models/pop2piano/feature_extraction_pop2piano.py", "patch": "@@ -448,3 +448,6 @@ def __call__(\n )\n \n return output\n+\n+\n+__all__ = [\"Pop2PianoFeatureExtractor\"]", "additions": 3, "deletions": 0, "language": "Python" }, { "path": "src/tra...
2025-01-20T14:21:45
electron/electron
de9b0a008b8126288fc9edd1ad92f764b0bc968c
ebabb0aef2edde88ff16f84720ffad20a4b0fffb
Fix script/bootstrap * vendor/libchromiumcontent 588f368...e70a88f (1): > Make script/download work when we're a submodule
[ { "path": "brightray/vendor/libchromiumcontent", "patch": "@@ -1 +1 @@\n-Subproject commit 588f36848bced9ff4f780d26d070a53443a5f230\n+Subproject commit e70a88f3323aaf1a24e36bd5449b3e1bab5c57a3", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-05-14T12:31:10
vercel/next.js
dd7278c0e3ca80c2fcfa73157e4d2e660cc828ea
7b4f51f8fba197711b7f03452ab6dcc09c9177c4
Next-dev and snapshot tests: transform ecmascript with styled_components (vercel/turbo#44) To do: * [x] The transform doesn't seem to be running properly yet. Fix this.
[ { "path": "packages/next-swc/crates/next-core/src/next_client/context.rs", "patch": "@@ -89,6 +89,7 @@ pub async fn get_client_module_options_context(\n // we try resolve it once at the root and pass down a context to all\n // the modules.\n enable_react_refresh,\n+ enable_sty...
2022-10-21T16:32:39
huggingface/transformers
88b95e6179ad330b65f402daaf70565f1a89a0e3
56afd2f488476d6e2581c83d91937397d2f2d429
[generate] update docstring of `SequenceBiasLogitsProcessor` (#35699) * fix docstring * space
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -1040,10 +1040,9 @@ class SequenceBiasLogitsProcessor(LogitsProcessor):\n \n <Tip>\n \n- In order to get the token ids of the sequences that you want to bias, make sure to set `add_prefix_space=True` when\n- initializing the t...
2025-01-20T11:00:15
rust-lang/rust
f243cb8861fc2def232e43b6acc2e2cd6867b89c
d0ea07e9084ace9879384e55e90d5d2625458120
Implement RtlNtStatusToDosError and shim test for it
[ { "path": "src/tools/miri/src/shims/windows/foreign_items.rs", "patch": "@@ -346,6 +346,25 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {\n let last_error = this.get_last_error()?;\n this.write_scalar(last_error, dest)?;\n }\n+ \"RtlN...
2025-04-10T05:53:57
electron/electron
1bace4abb661d5b68a73f8afa257a14cbb7edb69
d8a6c68bf951052ddd52d9285b74bb79323ab96a
Improve error reporting in RPC by printing stack trace.
[ { "path": "browser/atom/rpc_server.coffee", "patch": "@@ -33,6 +33,10 @@ valueToMeta = (processId, routingId, value) ->\n \n meta\n \n+# Convert Error into meta data.\n+errorToMeta = (error) ->\n+ type: 'error', message: error.message, stack: (error.stack || error)\n+\n # Convert array of meta data from ...
2013-05-14T12:00:44
nodejs/node
f48ca9c9c151fa375640862675abf964099fbb1d
6af4f5ebb00403d2bdb277568f9a071e1a157566
test: fix arg names in benchmark string_decoder PR-URL: https://github.com/nodejs/node/pull/20125 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/parallel/test-benchmark-string_decoder.js", "patch": "@@ -4,7 +4,7 @@ require('../common');\n \n const runBenchmark = require('../common/benchmark');\n \n-runBenchmark('string_decoder', ['chunk=16',\n+runBenchmark('string_decoder', ['chunkLen=16',\n 'encoding=...
2018-04-18T10:50:29
golang/go
a8a85281caf21831ee51ea8c879cbba94bcce256
8e725f8452ac0ece548837a95d125bc67b9d8828
runtime: fix documented alignment of 32KiB and 64KiB size classes As Cherry pointed out on golang.org/cl/299909, the page allocator doesn't guarantee any alignment for multi-page allocations, so object alignments are thus implicitly capped at page alignment. Change-Id: I6f5df27f269b095cde54056f876fe4240f69c5c7 Review...
[ { "path": "src/runtime/mksizeclasses.go", "patch": "@@ -239,7 +239,7 @@ func computeDivMagic(c *class) {\n func printComment(w io.Writer, classes []class) {\n \tfmt.Fprintf(w, \"// %-5s %-9s %-10s %-7s %-10s %-9s %-9s\\n\", \"class\", \"bytes/obj\", \"bytes/span\", \"objects\", \"tail waste\", \"max w...
2021-03-13T00:58:10
huggingface/transformers
56afd2f488476d6e2581c83d91937397d2f2d429
abe57b6f17f91acb5adab28b40d0cbc85b497b5f
fix register_buffer in MimiEuclideanCodebook (#35759) Co-authored-by: eustlb <94853470+eustlb@users.noreply.github.com>
[ { "path": "src/transformers/models/mimi/modeling_mimi.py", "patch": "@@ -1254,7 +1254,7 @@ def __init__(self, config: MimiConfig, epsilon: float = 1e-5):\n \n self.codebook_size = config.codebook_size\n \n- self.register_buffer(\"initialized\", torch.Tensor([True]))\n+ self.register_bu...
2025-01-20T10:54:58
electron/electron
9ef9f6bf95e36b0bdbb68a0f31db3ee5a58d2695
d6103dd639e8b8690b0e0dd27093eaf2044cd40b
Fix the menu popup on OS X.
[ { "path": "browser/api/atom_api_menu_mac.h", "patch": "@@ -7,8 +7,6 @@\n \n #include \"browser/api/atom_api_menu.h\"\n \n-#import \"chrome/browser/ui/cocoa/menu_controller.h\"\n-\n namespace atom {\n \n namespace api {\n@@ -19,9 +17,7 @@ class MenuMac : public Menu {\n virtual ~MenuMac();\n \n protected:...
2013-05-14T11:25:14
nodejs/node
e7913e450ce5b94f95379c0e7f0ed9dd9da7c6c9
feba43c40e97aa40e79923a326d91d5a23f10537
test: fix missing param in url benchmark PR-URL: https://github.com/nodejs/node/pull/20125 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "test/parallel/test-benchmark-url.js", "patch": "@@ -18,5 +18,6 @@ runBenchmark('url',\n 'to=ascii',\n 'prop=href',\n 'n=1',\n+ 'param=one'\n ],\n { NODEJS_BENCHMARK_ZERO_ALLOWED: 1 });", "additions": 1, "...
2018-04-18T10:44:19
vercel/next.js
66ff71f0a4319e8c527b3dd3c24c63fd80c0fc04
a7ccbf0f68009728b7e90111be72c23969e583e2
Next-dev and snapshot tests: transform ecmascript with styled_components (#44) To do: * [x] The transform doesn't seem to be running properly yet. Fix this.
[ { "path": "crates/next-core/src/next_client/context.rs", "patch": "@@ -89,6 +89,7 @@ pub async fn get_client_module_options_context(\n // we try resolve it once at the root and pass down a context to all\n // the modules.\n enable_react_refresh,\n+ enable_styled_components: tr...
2022-10-21T16:32:39
golang/go
16ad1ea8417bb842204bf7c982e3f19969b67458
7b47f9a5f2092dcbc1546304f1f1b739883fa4c4
cmd/compile/internal/types2: simplify error reporting API (cleanup) - Remove specialized errorf functions for invalid AST/argument/operation. Instead use prefix constants with the error message. - Replace several calls to Checker.errorf with calls to Checker.error if there are no arguments to format. - Replace a...
[ { "path": "src/cmd/compile/internal/types2/assignments.go", "patch": "@@ -194,7 +194,7 @@ func (check *Checker) assignVar(lhs syntax.Expr, x *operand) Type {\n \tcase variable, mapindex:\n \t\t// ok\n \tcase nilvalue:\n-\t\tcheck.errorf(&z, \"cannot assign to nil\") // default would print \"untyped nil\"\n+...
2021-03-12T00:34:01
huggingface/transformers
abe57b6f17f91acb5adab28b40d0cbc85b497b5f
872dfbdd46ecdb49cbe3b6b4ba3a63bada158e3b
Add SuperGlue model (#29886) * Initial commit with template code generated by transformers-cli * Multiple additions to SuperGlue implementation : - Added the SuperGlueConfig - Added the SuperGlueModel and its implementation - Added basic weight conversion script - Added new ImageMatchingOutput dataclass * ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -713,6 +713,8 @@\n title: SegFormer\n - local: model_doc/seggpt\n title: SegGpt\n+ - local: model_doc/superglue\n+ title: SuperGlue\n - local: model_doc/superpoint\n title: SuperPoint\n - local: model...
2025-01-20T10:32:39
electron/electron
0526aa45e7f51dd4534aa57a62778d620e255455
57ed89812895a2c77ac658ff7ed04da1ab9875f7
Update libchromiumcontent to get its Python scripts * vendor/libchromiumcontent 3f6f01c...588f368 (17): > Merge pull request #8 from aroben/menu-controller > Merge pull request #6 from aroben/shell_dialogs > Fix typo in script/create-dist > Merge pull request #5 from aroben/python > Add libtest_support_chrom...
[ { "path": "brightray/vendor/libchromiumcontent", "patch": "@@ -1 +1 @@\n-Subproject commit d5cef3b0fe5d3cf4360febbde1183447fc906aad\n+Subproject commit 588f36848bced9ff4f780d26d070a53443a5f230", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-05-13T22:57:03
nodejs/node
957532ec6122a093ac024183f615604ba11a8d40
a2cf005cef65a6e6d81a3c9610e038251ce9851e
test: fix long-running http benchmarks PR-URL: https://github.com/nodejs/node/pull/20125 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "benchmark/http/cluster.js", "patch": "@@ -26,7 +26,7 @@ function main({ type, len, c }) {\n if (workers < 2)\n return;\n \n- setTimeout(function() {\n+ setImmediate(function() {\n const path = `/${type}/${len}`;\n \n bench.http({\n@@ -36,6 +36,6 @@ function main({ type...
2018-04-18T10:34:04
vercel/next.js
7d8d351d5e9d1afa4e33543c3699711adb078445
451dccdeb815fdfbf1615ad4a0d028296fb8df74
fix hydration bench again (vercel/turbo#162)
[ { "path": "packages/next-swc/crates/next-dev/benches/mod.rs", "patch": "@@ -325,7 +325,7 @@ fn bench_startup_cached_internal(mut g: BenchmarkGroup<WallTime>, hydration: boo\n |mut app| async {\n app.start_server()?;\n ...
2022-10-21T14:29:52
huggingface/transformers
332fa024d605e34a960c75474d12864a6554aca0
8571bb145a243b9cc1d4ce0ddcc0d816b5ac801c
Security fix for `self-comment-ci.yml` (#35548) * Revert "Disable `.github/workflows/self-comment-ci.yml` for now (#35366)" This reverts commit ccc4a5a59b2d4134a49971915db0710e7a8c7824. * fix * fix * fix * least permission * add env --------- Co-authored-by: ydshieh <ydshieh@users.noreply.gith...
[ { "path": ".github/workflows/self-comment-ci.yml", "patch": "@@ -0,0 +1,289 @@\n+name: PR comment GitHub CI\n+\n+on:\n+ issue_comment:\n+ types:\n+ - created\n+ branches-ignore:\n+ - main\n+concurrency:\n+ group: ${{ github.workflow }}-${{ github.event.issue.number }}-${{ startsWith(github...
2025-01-20T10:16:03
golang/go
86bbf4beee276b9a7f9a427a9d1a9277bd904709
78052f4c4eac5a964a0037f6e18d1a2d31b65189
cmd/go: fix godoc formatting for text from 'go help install' Fixes #44846 Change-Id: I5a12c6437a91ce59307483ffcc70e084edc32197 Reviewed-on: https://go-review.googlesource.com/c/go/+/301329 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> Reviewed-by: Bryan C. Mills <bcmills@googl...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -684,18 +684,22 @@\n // arguments must satisfy the following constraints:\n //\n // - Arguments must be package paths or package patterns (with \"...\" wildcards).\n-// They must not be standard packages (like fmt), meta-patterns (std, cmd,\n-// all), or r...
2021-03-12T18:48:32
rust-lang/rust
15fd2ab73e1d22bd5b612dd1fb397171a08a7741
529bb5f2538c4d6ef294aaa1a31e45f264583dd9
Fix a help message of `empty_line_after_doc_comments` for cases where the following item is nameless
[ { "path": "clippy_lints/src/empty_line_after.rs", "patch": "@@ -1,3 +1,5 @@\n+use std::borrow::Cow;\n+\n use clippy_utils::diagnostics::span_lint_and_then;\n use clippy_utils::source::{SpanRangeExt, snippet_indent};\n use clippy_utils::tokenize_with_text;\n@@ -89,7 +91,7 @@ declare_clippy_lint! {\n #[derive...
2025-04-10T16:20:15
nodejs/node
a2cf005cef65a6e6d81a3c9610e038251ce9851e
e5f53206dd6559fecab3235aa620ef146c536f64
test: fix long-running buffer benchmarks PR-URL: https://github.com/nodejs/node/pull/20125 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "benchmark/buffers/buffer-base64-decode-wrapped.js", "patch": "@@ -3,12 +3,12 @@\n const common = require('../common.js');\n \n const bench = common.createBenchmark(main, {\n+ charsPerLine: [76],\n+ linesCount: [8 << 16],\n n: [32],\n });\n \n-function main({ n }) {\n- const charsPerLine = 76...
2018-04-18T10:15:00
vercel/next.js
084afe26346fd701710a4b508b9a3de74b86c922
32eb4c19477bbf9f3a22c4a8380bee56a3187365
fix hydration bench again (#162)
[ { "path": "crates/next-dev/benches/mod.rs", "patch": "@@ -325,7 +325,7 @@ fn bench_startup_cached_internal(mut g: BenchmarkGroup<WallTime>, hydration: boo\n |mut app| async {\n app.start_server()?;\n let mut guard = ...
2022-10-21T14:29:52
golang/go
cdd08e615a9b92742b21a94443720b6d70452510
4662029264e79f144eef4323631b3356624e884f
cmd/go/internal/load: always set IsImportCycle when in a cycle When hitting an import cycle in reusePackage, and there is already an error set, make sure IsImportCycle is set so that we don't end up stuck in a loop. Fixes #25830 Change-Id: Iba966aea4a637dfc34ee22782a477209ac48c9bd Reviewed-on: https://go-review.goog...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -1323,6 +1323,11 @@ func reusePackage(p *Package, stk *ImportStack) *Package {\n \t\t\t\tErr: errors.New(\"import cycle not allowed\"),\n \t\t\t\tIsImportCycle: true,\n \t\t\t}\n+\t\t} else if !p.Error.IsImportCycle {\n+\t\t\t// If the erro...
2021-03-12T17:51:50
huggingface/transformers
8571bb145a243b9cc1d4ce0ddcc0d816b5ac801c
5fa35344755d8d9c29610b57d175efd03776ae9e
Fix CI for VLMs (#35690) * fix some easy test * more tests * remove logit check here also * add require_torch_large_gpu in Emu3
[ { "path": "docs/source/en/model_doc/emu3.md", "patch": "@@ -55,8 +55,8 @@ import torch\n from PIL import Image\n import requests\n \n-processor = Emu3Processor.from_pretrained(\"Emu3-community/Emu3-Chat-hf\")\n-model = Emu3ForConditionalGeneration.from_pretrained(\"Emu3-community/Emu3-Chat-hf\", torch_dtype...
2025-01-20T10:15:39
nodejs/node
1593237ecc8b3710fa024cbd7afa30c48b1541aa
5389c9239252b89ad2b9a52759c65800a5813baf
test: add strictEqual method to assert Adds strictEqual method to assert on stream.session.alpnProtocol to verify expected value 'h2'. This changes 'h2' from an assertion error message to the value expected from stream.session.alpnProtocol. PR-URL: https://github.com/nodejs/node/pull/20189 Reviewed-By: Rich Trott <rt...
[ { "path": "test/parallel/test-http2-create-client-secure-session.js", "patch": "@@ -21,7 +21,7 @@ function onStream(stream, headers) {\n const socket = stream.session[kSocket];\n \n assert(stream.session.encrypted);\n- assert(stream.session.alpnProtocol, 'h2');\n+ assert.strictEqual(stream.session.alp...
2018-04-21T03:21:44
electron/electron
ffc0d4f5168c1ae5723ccb44ead8d1b928534211
dae98fa43f4b4b814cf7f3f5d9088233ea4c0f29
Fix whitespace/line_length warnings of cpplint.
[ { "path": "browser/api/atom_api_menu.cc", "patch": "@@ -90,12 +90,12 @@ v8::Handle<v8::Value> Menu::InsertCheckItem(const v8::Arguments &args) {\n return node::ThrowTypeError(\"Bad argument\");\n \n int index = args[0]->IntegerValue();\n+ int command_id = args[1]->IntegerValue();\n \n if (index < 0...
2013-05-07T03:43:21
huggingface/transformers
7d4b3ddde4da3cba17403072cfdb8b8c76ca1c7c
8ad6bd0f1b734e0c92540ecd88a9e624c35febb5
ci: fix xpu skip condition for test_model_parallel_beam_search (#35742) `return unittest.skip()` used in the `test_model_parallel_beam_search` in skip condition for xpu did not actually mark test to be skipped running under pytest: * 148 passed, 1 skipped Other tests use `self.skipTest()`. Reusing this approach ...
[ { "path": "src/transformers/utils/import_utils.py", "patch": "@@ -865,7 +865,7 @@ def is_ninja_available():\n return True\n \n \n-def is_ipex_available():\n+def is_ipex_available(min_version: str = \"\"):\n def get_major_and_minor_from_version(full_version):\n return str(version.parse(fu...
2025-01-17T15:47:27
golang/go
4662029264e79f144eef4323631b3356624e884f
735647d92e839f9ac3a91864a2c34263338a35e6
runtime: simplify divmagic for span calculations It's both simpler and faster to just unconditionally do two 32-bit multiplies rather than a bunch of branching to try to avoid them. This is safe thanks to the tight bounds derived in [1] and verified during mksizeclasses.go. Benchstat results below for compilebench be...
[ { "path": "src/runtime/mbitmap.go", "patch": "@@ -226,16 +226,25 @@ func (s *mspan) isFree(index uintptr) bool {\n \treturn *bytep&mask == 0\n }\n \n-func (s *mspan) objIndex(p uintptr) uintptr {\n-\tbyteOffset := p - s.base()\n-\tif byteOffset == 0 {\n-\t\treturn 0\n-\t}\n-\tif s.baseMask != 0 {\n-\t\t// s...
2021-03-11T23:45:52
nodejs/node
5389c9239252b89ad2b9a52759c65800a5813baf
31cbec7f55b63b86877da4599a7561f626b7c908
doc: detail CI sub-tasks rerunning PR-URL: https://github.com/nodejs/node/pull/20200 Fixes: https://github.com/nodejs/node/issues/20192 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "COLLABORATOR_GUIDE.md", "patch": "@@ -199,11 +199,14 @@ status indicator.\n \n Do not land any Pull Requests without passing (green or yellow) CI runs. If you\n believe any failed (red or grey) CI sub-tasks are unrelated to the change in the\n-Pull Request, you may re-run the sub-task to try to s...
2018-04-21T14:07:28
vercel/next.js
32eb4c19477bbf9f3a22c4a8380bee56a3187365
19fec86fda61d5c8b47f4a97edb106099c1a0cef
Added not implemented errors for resolutions (#142) I think this is what [this issue](https://github.com/vercel/web-tooling-internal/issues/50) is asking for? We do get a double error message now because we get the "error resolving esm request" error as well.
[ { "path": "crates/turbopack-core/src/resolve/mod.rs", "patch": "@@ -654,16 +654,74 @@ pub async fn resolve(\n let mut new_pat = path.clone();\n new_pat.push_front(\".\".to_string().into());\n let relative = RequestVc::relative(Value::new(new_pat), true);\n+\n+ ...
2022-10-21T14:17:51
electron/electron
8cf105073044cd633ea983d7cd05509911eb8486
264f085afba2758294636556a236ff760ba17e93
Add _mac suffix for obj-c files.
[ { "path": "atom.gyp", "patch": "@@ -31,10 +31,10 @@\n 'browser/api/atom_api_window.h',\n 'browser/api/atom_browser_bindings.cc',\n 'browser/api/atom_browser_bindings.h',\n- 'browser/atom_application.h',\n- 'browser/atom_application.mm',\n- 'browser/atom_application_delegate....
2013-05-02T15:03:14
huggingface/transformers
099d93d2e9a1a5000f43f12fe63d66951f09a248
42b2857b01150feadb9dbe678c630b53c3149b49
Grounding DINO Processor standardization (#34853) * Add input ids to model output * Add text preprocessing for processor * Fix snippet * Add test for equivalence * Add type checking guard * Fixing typehint * Fix test for added `input_ids` in output * Add deprecations and "text_labels" to output ...
[ { "path": "docs/source/en/model_doc/grounding-dino.md", "patch": "@@ -56,25 +56,26 @@ Here's how to use the model for zero-shot object detection:\n >>> image_url = \"http://images.cocodataset.org/val2017/000000039769.jpg\"\n >>> image = Image.open(requests.get(image_url, stream=True).raw)\n >>> # Check for ...
2025-01-17T14:18:16
golang/go
086357e8f617c325339fdaedd13563dbdb05b00d
9289c120025be6fef3a27732229a38df3ebf47c7
cmd/go: include default GOEXPERIMENT in build config Currently, the build config includes GOEXPERIMENT environment variable if it is not empty, but that doesn't take the default value (set at make.bash/bat/rc time) into consideration. This may cause standard library packages appearing stale, as the build config appear...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -276,7 +276,7 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {\n \t\tkey, val := cfg.GetArchEnv()\n \t\tfmt.Fprintf(h, \"%s=%s\\n\", key, val)\n \n-\t\tif exp := cfg.Getenv(\"GOEXPERIMENT\"); exp != \"\" {\n+\t\tif exp := cfg.GOEXPERIM...
2021-03-12T16:21:38
nodejs/node
cc8a33edbc91d5c7c2cadd8f51805b3937f25ead
2a88f02f2ff861b794ea9b83bbdfe71950d584ed
test: resolve process.setgid() error on Ubuntu When the tests are run as root in Ubuntu, process.setgid() is called with 'nobody' as an argument. This throws an error in Ubuntu and is because, in Ubuntu, the equivalent of 'nobody' group is named as 'nogroup'. This commit sets gid to 'nobody' first and if it throws a ...
[ { "path": "test/parallel/test-process-uid-gid.js", "patch": "@@ -61,7 +61,14 @@ if (process.getuid() !== 0) {\n \n // If we are running as super user...\n const oldgid = process.getgid();\n-process.setgid('nobody');\n+try {\n+ process.setgid('nobody');\n+} catch (err) {\n+ if (err.message !== 'setgid grou...
2018-04-02T16:40:01
vercel/next.js
451dccdeb815fdfbf1615ad4a0d028296fb8df74
790ff6c05cd4476def47f210f8a3b977db9d2cb1
fix startup benchmarks for CSR bundlers (vercel/turbo#152)
[ { "path": "packages/next-swc/crates/next-dev/benches/mod.rs", "patch": "@@ -283,6 +283,18 @@ fn bench_startup_cached_internal(mut g: BenchmarkGroup<WallTime>, hydration: boo\n let browser = &runtime.block_on(create_browser());\n \n for bundler in get_bundlers() {\n+ let wait_for_hydration = i...
2022-10-21T14:11:25
huggingface/transformers
42b2857b01150feadb9dbe678c630b53c3149b49
94ae9a8da16b13cc28fa29201008c1c08119a2fc
OmDet Turbo processor standardization (#34937) * Fix docstring * Fix docstring * Add `classes_structure` to model output * Update omdet postprocessing * Adjust tests * Update code example in docs * Add deprecation to "classes" key in output * Types, docs * Fixing test * Fix missed clip_boxes...
[ { "path": "docs/source/en/model_doc/omdet-turbo.md", "patch": "@@ -44,37 +44,40 @@ One unique property of OmDet-Turbo compared to other zero-shot object detection\n Here's how to load the model and prepare the inputs to perform zero-shot object detection on a single image:\n \n ```python\n-import requests\n...
2025-01-17T14:10:19
golang/go
9289c120025be6fef3a27732229a38df3ebf47c7
e8b82789cda6c9d9e3dfc9a652b4d7a823b834f2
Revert "testing/fstest: test that ReadDirFile on a non-dir fails" This reverts commit 1853411d8376570295711f9084d494d458822578. Reason for revert: broke plan 9 builder. fixes #44967 Change-Id: Ib89448d37f7ab8bb05dbd89ce744431d807eb4da Reviewed-on: https://go-review.googlesource.com/c/go/+/301190 Reviewed-by: Bryan C...
[ { "path": "src/testing/fstest/testfs.go", "patch": "@@ -119,9 +119,6 @@ func (t *fsTester) openDir(dir string) fs.ReadDirFile {\n \t\tt.errorf(\"%s: Open: %v\", dir, err)\n \t\treturn nil\n \t}\n-\t// It'd be nice to test here that f.Read fails, because f is a directory.\n-\t// However, FreeBSD supports cal...
2021-03-12T15:45:18
nodejs/node
2a88f02f2ff861b794ea9b83bbdfe71950d584ed
d96075c4b6fa35cb1d1f5b6ecf66cf3de82d5d12
test: remove message from strictEqual assertions When an AssertionError happens, the value of headers['set-cookie'] is not reported. That information is useful for debugging. Hence removed the value passed as the message in deepStrictEqual assertions of test/parallel/test-http2-cookies.js PR-URL: https://github.com/n...
[ { "path": "test/parallel/test-http2-cookies.js", "patch": "@@ -48,8 +48,7 @@ server.on('listening', common.mustCall(() => {\n \n req.on('response', common.mustCall((headers) => {\n assert(Array.isArray(headers['set-cookie']));\n- assert.deepStrictEqual(headers['set-cookie'], setCookie,\n- ...
2018-04-19T23:29:27
vercel/next.js
19fec86fda61d5c8b47f4a97edb106099c1a0cef
6bd8ba5ad33466a62aac09504d658be0d6b76b14
fix startup benchmarks for CSR bundlers (#152)
[ { "path": "crates/next-dev/benches/mod.rs", "patch": "@@ -283,6 +283,18 @@ fn bench_startup_cached_internal(mut g: BenchmarkGroup<WallTime>, hydration: boo\n let browser = &runtime.block_on(create_browser());\n \n for bundler in get_bundlers() {\n+ let wait_for_hydration = if !bundler.has_ser...
2022-10-21T14:11:25
huggingface/transformers
94ae9a8da16b13cc28fa29201008c1c08119a2fc
add5f0566cb6ebd428c057da8bcd86f57e5181b7
OwlViT/Owlv2 post processing standardization (#34929) * Refactor owlvit post_process_object_detection + add text_labels * Fix copies in grounding dino * Sync with Owlv2 postprocessing * Add post_process_grounded_object_detection method to processor, deprecate post_process_object_detection * Add test cases ...
[ { "path": "docs/source/en/model_doc/owlv2.md", "patch": "@@ -50,20 +50,22 @@ OWLv2 is, just like its predecessor [OWL-ViT](owlvit), a zero-shot text-conditio\n \n >>> url = \"http://images.cocodataset.org/val2017/000000039769.jpg\"\n >>> image = Image.open(requests.get(url, stream=True).raw)\n->>> texts = [...
2025-01-17T13:58:28
electron/electron
c5ef255c4b3b6daea7c767e5cc3d458906d3ec9e
1f1f6abd78a0acdd4c77fd081efaa4a6c5943f17
Fix header guard.
[ { "path": "common/api/atom_api_id_weak_map.h", "patch": "@@ -3,8 +3,8 @@\n // Use of this source code is governed by a BSD-style license that can be\n // found in the LICENSE file.\n \n-#ifndef ATOM_BROWSER_API_ATOM_API_ID_WEAK_MAP_H_\n-#define ATOM_BROWSER_API_ATOM_API_ID_WEAK_MAP_H_\n+#ifndef ATOM_COMMON_...
2013-04-29T12:40:59
golang/go
e87c4bb3ef9d1f0aee3c9cc9fec8bef7fcadd6d8
71330963c080960f2f398fcd711a1fa14f68d503
cmd/compile: fix noder.Addr() to not call typechecker Simple change to avoid calling the old typechecker in noder.Addr(). This fixes cases where generic code calls a pointer method with a non-pointer receiver. Added test typeparam/lockable.go that now works with this change. For lockable.go to work, also fix incorr...
[ { "path": "src/cmd/compile/internal/ir/expr.go", "patch": "@@ -740,6 +740,13 @@ func IsAddressable(n Node) bool {\n \tcase ODEREF, ODOTPTR:\n \t\treturn true\n \n+\tcase OXDOT:\n+\t\t// TODO(danscales): remove this case as we remove calls to the old\n+\t\t// typechecker in (*irgen).funcBody().\n+\t\tif base...
2021-03-11T01:27:30
vercel/next.js
790ff6c05cd4476def47f210f8a3b977db9d2cb1
d1db10cd3796e700c675a37a601bc747c6e2e0b4
add some strongly consistent reads into nodejs source (vercel/turbo#154) to improve performance It doesn't fix the performance completely but makes it less bad
[ { "path": "packages/next-swc/crates/next-core/src/nodejs/mod.rs", "patch": "@@ -79,6 +79,7 @@ async fn internal_assets(\n ) -> Result<AssetsSetVc> {\n Ok(\n separate_assets(intermediate_asset, intermediate_output_path)\n+ .strongly_consistent()\n .await?\n .int...
2022-10-21T12:23:49
nodejs/node
d96075c4b6fa35cb1d1f5b6ecf66cf3de82d5d12
6e6913b5dbd7162ccb352a88250b0678c3511d1f
doc: fix a typo in console documentation `console.trace()` function prints 'Trace: ', not 'Trace :'. PR-URL: https://github.com/nodejs/node/pull/20176 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
[ { "path": "doc/api/console.md", "patch": "@@ -425,7 +425,7 @@ added: v0.1.104\n * `message` {any}\n * `...args` {any}\n \n-Prints to `stderr` the string `'Trace :'`, followed by the [`util.format()`][]\n+Prints to `stderr` the string `'Trace: '`, followed by the [`util.format()`][]\n formatted message and s...
2018-04-20T18:03:27
huggingface/transformers
ab1afd56f57245525a86e894c934c60df561cfdb
8c1b5d37827a6691fef4b2d926f2d04fb6f5a9e3
Fix some tests (#35682) * cohere tests * glm tests * cohere2 model name * create decorator * update * fix cohere2 completions * style * style * style * add cuda in comments
[ { "path": "src/transformers/models/diffllama/modeling_diffllama.py", "patch": "@@ -595,7 +595,7 @@ class DiffLlamaPreTrainedModel(PreTrainedModel):\n _skip_keys_device_placement = [\"past_key_values\"]\n _supports_flash_attn_2 = True\n _supports_sdpa = True\n- _supports_flex_attn = True\n+ ...
2025-01-17T12:10:43
electron/electron
af57d3be085589a3e43e3d8801b0dd8a8d48859d
f1e15b49a9945bc6a85c42bbd83607709a8ee79c
Uniform message names. Messages sent to browser should be prefixed with ATOM_BROWSER_, and messages sent to renderer should be prefixed with ATOM_RENDERER_.
[ { "path": "browser/atom/rpc_server.coffee", "patch": "@@ -12,9 +12,9 @@ argsToValues = (processId, routingId, metas) ->\n # Create a delegate function to do asynchronous RPC call.\n ret = ->\n args = new Meta(processId, routingId, arguments)\n- ipc.sendChannel processId, routingId, 'ATOM_...
2013-04-29T10:59:34
golang/go
71330963c080960f2f398fcd711a1fa14f68d503
a607408403df7515f831fef64991222673a50a68
internal/poll: fix some grammar errors Change-Id: I25a6424bce9d372fa46e8bdd856095845d3397bf Reviewed-on: https://go-review.googlesource.com/c/go/+/300889 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go ...
[ { "path": "src/internal/poll/splice_linux.go", "patch": "@@ -160,9 +160,9 @@ type splicePipe struct {\n \tdata int\n }\n \n-// splicePipePool caches pipes to avoid high frequency construction and destruction of pipe buffers.\n-// The garbage collector will free all pipes in the sync.Pool in periodically, th...
2021-03-11T14:34:45
vercel/next.js
58035ca06cd33ff4cf021fac171997cbfa945aff
ae0b9f3378d06542fd4cb85250f2fd240129a0d6
add some strongly consistent reads into nodejs source (#154) to improve performance It doesn't fix the performance completely but makes it less bad
[ { "path": "crates/next-core/src/nodejs/mod.rs", "patch": "@@ -79,6 +79,7 @@ async fn internal_assets(\n ) -> Result<AssetsSetVc> {\n Ok(\n separate_assets(intermediate_asset, intermediate_output_path)\n+ .strongly_consistent()\n .await?\n .internal_assets,\n ...
2022-10-21T12:23:49
huggingface/transformers
8c1b5d37827a6691fef4b2d926f2d04fb6f5a9e3
02a492a8384abc2fa22516f859e17e8528dd1aa6
🚨🚨🚨 An attempt to fix #29554. Include 'LayerNorm.' in gamma/beta rename scope, optimize string search. (#35615) * An attempt to fix #29554. Include 'LayerNorm.' in gamma/beta rename scope, reduce number of characters searched on every load considerably. * Fix fix on load issue * Fix gamma/beta warning test ...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4367,26 +4367,31 @@ def from_pretrained(\n return model\n \n @staticmethod\n- def _fix_state_dict_key_on_load(key):\n+ def _fix_state_dict_key_on_load(key) -> Tuple[str, bool]:\n \"\"\"Replace legacy parameter names with...
2025-01-17T01:25:44
nodejs/node
6e6913b5dbd7162ccb352a88250b0678c3511d1f
2652ab3c4563b86ba73b8454b8ed56b36c3fbdd3
test: fix test-child-process-send-returns-boolean test-child-process-send-returns-boolean was unreliable in CI and locally. * use 'SIGKILL' for more reliable process termination * replace callback with assert.ifError() * increase interval in fixture from 500ms to 9999ms. It's only purpose is to keep the process fro...
[ { "path": "test/fixtures/child-process-persistent.js", "patch": "@@ -1 +1 @@\n-setInterval(function() {}, 500);\n+setInterval(function() {}, 9999);", "additions": 1, "deletions": 1, "language": "JavaScript" }, { "path": "test/parallel/test-child-process-send-returns-boolean.js", "pat...
2018-04-18T17:53:01
electron/electron
676e92e322fd90ee6a53b36087d08b1a265e75ef
73d467d657e0009ee70287673c43b024acad454c
Fix crashes when dragging links Turns out we needed to implement ContentClient::GetNativeImageNamed, which is called to get the default drag image.
[ { "path": "brightray/common/content_client.cc", "patch": "@@ -33,4 +33,8 @@ base::StringPiece ContentClient::GetDataResource(int resource_id, ui::ScaleFacto\n return ui::ResourceBundle::GetSharedInstance().GetRawDataResourceForScale(resource_id, scale_factor);\n }\n \n-}\n\\ No newline at end of file\n+gf...
2013-04-27T02:49:24
golang/go
71a6c13164f2151c14ebaeccdfcb3633fc8b618e
7fc638d6f1679f2e35862555531bf479c3e5b99c
cmd/compile: call types.CheckSize() in g.typ() Restore code to call types.CheckSize() in g.typ(). There are certain cases (involving maps) where we need to do CheckSize here. In general, the old typechecker calls CheckSize() a lot, and we want to eliminate calling it eventually, so should get do types.CheckSize() whe...
[ { "path": "src/cmd/compile/internal/noder/types.go", "patch": "@@ -30,6 +30,23 @@ func (g *irgen) pkg(pkg *types2.Package) *types.Pkg {\n // typ converts a types2.Type to a types.Type, including caching of previously\n // translated types.\n func (g *irgen) typ(typ types2.Type) *types.Type {\n+\tres := g.ty...
2021-03-11T03:28:28