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
electron/electron
75c44ca05718eca2fb79345695001c906edb2871
56f709ff1f9585198be8f9326f65fceb90f3dd5b
Fix initializing V8 on Windows.
[ { "path": "browser/api/atom_browser_bindings.cc", "patch": "@@ -23,20 +23,6 @@ AtomBrowserBindings::AtomBrowserBindings() {\n AtomBrowserBindings::~AtomBrowserBindings() {\n }\n \n-void AtomBrowserBindings::AfterLoad() {\n- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));\n-\n- v8:...
2013-12-17T13:55:56
nodejs/node
cbc3dd997eb90d629d1b9912b7a5a40eb82343df
75e91659887012f743aa4487d6d4ce3d765c028a
src, tools: add check for left leaning pointers This commit adds a rule to cpplint to check that pointers in the code base lean to the left and not right, and also fixes the violations reported. PR-URL: https://github.com/nodejs/node/pull/21010 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henning...
[ { "path": "src/cares_wrap.cc", "patch": "@@ -633,7 +633,7 @@ class QueryWrap : public AsyncWrap {\n wrap->env()->CloseHandle(handle, CaresAsyncClose);\n }\n \n- static void Callback(void *arg, int status, int timeouts,\n+ static void Callback(void* arg, int status, int timeouts,\n ...
2018-05-16T09:50:48
golang/go
c914e6160db8b6af358cad90ed7272ebc5c22dda
4efd581383ade76c562953289ed8210bb55bff47
cmd/go: drop GOEXPERIMENT in script tests TestScript sets the GOEXPERIMENT environment variable to the value of buildcfg.GOEXPERIMENT() with the intent that tests can use this to inspect the value of buildcfg.GOEXPERIMENT. This has the unfortunate side-effect of also affecting the experiments enabled for all builds do...
[ { "path": "src/cmd/go/script_test.go", "patch": "@@ -13,7 +13,6 @@ import (\n \t\"errors\"\n \t\"fmt\"\n \t\"go/build\"\n-\t\"internal/buildcfg\"\n \t\"internal/testenv\"\n \t\"io/fs\"\n \t\"os\"\n@@ -165,7 +164,6 @@ func (ts *testScript) setup() {\n \t\t\"GOCACHE=\" + testGOCACHE,\n \t\t\"GODEBUG=\" + os.G...
2021-04-17T01:45:02
huggingface/transformers
94555437e277949e6b3be9e97317df2a5e046d95
8733297b41442a43417d9fa85dbadff00c502119
Disable inductor config setter by default (#36608) * Disable inductor config setter by default This is hard to debug and should be off by default * remove default settings in autoquant too * Add info to torchao.md about recommended settings * satisfying Ruff format Summary: Test Plan: Reviewers: Subscribers: ...
[ { "path": "docs/source/en/quantization/torchao.md", "patch": "@@ -150,6 +150,9 @@ output = bf16_model.generate(**input_ids, max_new_tokens=10, cache_implementatio\n print(\"bf16 model:\", benchmark_fn(bf16_model.generate, **input_ids, max_new_tokens=MAX_NEW_TOKENS, cache_implementation=\"static\"))\n ```\n ...
2025-03-20T10:23:14
vercel/next.js
2b85da7735a12f8b7c46de2b45b714607d67c134
eed63e1edc70b2ecbee5f6b8941f74378d9be75a
Change condition to check for string attribute in lint rules utility function (#42625) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that...
[ { "path": "packages/eslint-plugin-next/src/utils/node-attributes.ts", "patch": "@@ -32,11 +32,12 @@ export default class NodeAttributes {\n \n if (!!attribute.value) {\n // hasValue\n- const value = attribute.value.value\n- ? attribute.value.value\n- : typeof attribute...
2022-11-10T03:54:38
electron/electron
56f709ff1f9585198be8f9326f65fceb90f3dd5b
0215c2fbee6fe8c6ce39ef40eb5ced0988231077
Continue fixing compilation erros on Windows.
[ { "path": "browser/api/atom_api_menu_win.cc", "patch": "@@ -10,6 +10,8 @@\n #include \"ui/gfx/point.h\"\n #include \"ui/gfx/screen.h\"\n \n+#include \"common/v8/node_common.h\"\n+\n namespace atom {\n \n namespace api {\n@@ -40,8 +42,6 @@ void Menu::AttachToWindow(const v8::FunctionCallbackInfo<v8::Value>& ...
2013-12-17T10:34:45
nodejs/node
75e91659887012f743aa4487d6d4ce3d765c028a
227ca87abb9c3a30e13152426c0efc442d908345
test: improve debug output in trace-events test test-trace-events-fs-sync is swallowing useful information when it fails. This change results in more information being displayed. PR-URL: https://github.com/nodejs/node/pull/21120 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Michaël Zasso <targos@...
[ { "path": "test/parallel/test-trace-events-fs-sync.js", "patch": "@@ -3,6 +3,7 @@ const common = require('../common');\n const assert = require('assert');\n const cp = require('child_process');\n const fs = require('fs');\n+const util = require('util');\n \n if (!common.isMainThread)\n common.skip('proces...
2018-06-04T09:34:09
golang/go
4efd581383ade76c562953289ed8210bb55bff47
fd3612e4339d10a0e02571a8e43868d569b11a9f
archive/zip: fix imports block of biggestZipBytes generator Fixes #45529 Change-Id: I4d64c40aa6733b783dc4066e222f17abeb7ad413 Reviewed-on: https://go-review.googlesource.com/c/go/+/309357 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Trust: Joe Tsai <thebrokentoaster@gmail.com> Trust: Ian Lance Taylor <iant@gola...
[ { "path": "src/archive/zip/reader_test.go", "patch": "@@ -776,8 +776,8 @@ func returnRecursiveZip() (r io.ReaderAt, size int64) {\n //\t\t\"archive/zip\"\n //\t\t\"bytes\"\n //\t\t\"io\"\n-//\t\t\"io/ioutil\"\n //\t\t\"log\"\n+//\t\t\"os\"\n //\t)\n //\n //\ttype zeros struct{}", "additions": 1, "de...
2021-04-13T12:51:58
huggingface/transformers
8733297b41442a43417d9fa85dbadff00c502119
b815fae359fc8d28d6fb1e913ee706674ce60ba4
Fix swanlab global step (#36728) * fix * global step
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -2291,10 +2291,10 @@ def on_log(self, args, state, control, model=None, logs=None, **kwargs):\n if state.is_world_process_zero:\n for k, v in logs.items():\n if k in single_value_scalars:\n- ...
2025-03-20T10:13:37
vercel/next.js
eed63e1edc70b2ecbee5f6b8941f74378d9be75a
3174c730b813f7dced43e765d37bff2e928e502a
fix: publish compat folder (#42613) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> #42502 added `next/compat` bu...
[ { "path": "packages/next/package.json", "patch": "@@ -16,6 +16,7 @@\n \"babel.d.ts\",\n \"client.js\",\n \"client.d.ts\",\n+ \"compat\",\n \"config.js\",\n \"config.d.ts\",\n \"constants.js\",", "additions": 1, "deletions": 0, "language": "JSON" } ]
2022-11-10T03:26:34
electron/electron
e07e26ca763a8925e47d321536613e233a2ae79b
c82e73a4ec106b32a0d5773b0775004179ac4502
Fix third party module specs.
[ { "path": "package.json", "patch": "@@ -7,12 +7,11 @@\n \"coffeelint\": \"~0.6.1\",\n \"mocha\": \"~1.13.0\",\n \"walkdir\": \"~0.0.7\",\n- \"runas\": \"~0.2.0\",\n+ \"runas\": \"0.3.0\",\n \n \"formidable\": \"~1.0.14\",\n \"unzip\": \"~0.1.9\",\n- \"d3\": \"~3.3.8\",\n- \"i...
2013-12-16T14:46:16
nodejs/node
227ca87abb9c3a30e13152426c0efc442d908345
e1fc52d9e6aba7005d1c1017b4825b307ec3859e
test: add test for Linux perf This commit adds a test to validate if Linux perf is working correctly on Node.js. The test is marked as flaky because its intention is to let us know when changes on V8 potentially broke Linux perf, so we can fix it before a new version of V8 lands on Node.js master. PR-URL: https://git...
[ { "path": "test/fixtures/linux-perf.js", "patch": "@@ -0,0 +1,26 @@\n+'use strict';\n+\n+const crypto = require('crypto');\n+\n+// Functions should be complex enough for V8 to run them a few times before\n+// compiling, but not complex enough to always stay in interpreted mode. They\n+// should also take so...
2018-05-16T13:56:13
golang/go
b05903a9f6408065c390ea6c62e523d9f51853a5
b65f8589e847826f7a353011823558c41491cda0
cmd/link: fix defaultGOROOT package CL 310731 moved cmd/internal/objabi.defaultGOROOT to internal/buildcfg.defaultGOROOT, but didn't update the place in the linker that sets its value. Fixes the failing reboot test on the GOEXPERIMENT builders. Change-Id: I135b6bfc0fdadbe6cfc144d7aa55ca13519ba004 Reviewed-on: https:...
[ { "path": "src/cmd/link/internal/ld/main.go", "patch": "@@ -117,7 +117,7 @@ func Main(arch *sys.Arch, theArch Arch) {\n \n \tfinal := gorootFinal()\n \taddstrdata1(ctxt, \"runtime.defaultGOROOT=\"+final)\n-\taddstrdata1(ctxt, \"cmd/internal/objabi.defaultGOROOT=\"+final)\n+\taddstrdata1(ctxt, \"internal/bui...
2021-04-16T20:46:33
huggingface/transformers
9be4728af8bec48073ae841881d7f4e2ac3521d1
51bd0ceb9e6daed66f6aca2bdfce6b8b5b4dffa2
Just import torch AdamW instead (#36177) * Just import torch AdamW instead * Update docs too * Make AdamW undocumented * make fixup * Add a basic wrapper class * Add it back to the docs * Just remove AdamW entirely * Remove some AdamW references * Drop AdamW from the public init * make fix-copies * Cleanup s...
[ { "path": "docs/source/en/main_classes/optimizer_schedules.md", "patch": "@@ -22,9 +22,6 @@ The `.optimization` module provides:\n - several schedules in the form of schedule objects that inherit from `_LRSchedule`:\n - a gradient accumulation class to accumulate the gradients of multiple batches\n \n-## Ad...
2025-03-19T18:29:40
rust-lang/rust
4869403d3a930c473cf7d40f2d1858b5a8920702
ad560d6890bd376ed6bf41d3c1eb9b992f0ddf9d
Fix replace_string_with_char escaped char quote
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/replace_string_with_char.rs", "patch": "@@ -5,7 +5,7 @@ use syntax::{\n ast::IsString,\n };\n \n-use crate::{AssistContext, AssistId, Assists};\n+use crate::{AssistContext, AssistId, Assists, utils::string_suffix};\n \n // Assist: replac...
2025-04-19T11:16:44
vercel/next.js
3174c730b813f7dced43e765d37bff2e928e502a
2c199c4c19b2177e3eeccf3c6712834e16cd7742
Alias next public api to esm on edge runtime (#42709) Cases like `next/link` and `next/router` imports are not alias since they're not matching the existing alias pattern setting for edge runtime, which causes router-context being bundled twice (both with cjs and esm) into edge worker bundle. so we resolve their p...
[ { "path": "packages/next/build/entries.ts", "patch": "@@ -207,7 +207,7 @@ export function getEdgeServerEntry(opts: {\n // The Edge bundle includes the server in its entrypoint, so it has to\n // be in the SSR layer — we later convert the page request to the RSC layer\n // via a webpack rule.\n- ...
2022-11-10T03:20:32
golang/go
02a2ff47ef6004a59e4d688c7c93198778c36bcf
b91f8a4c0b0b9be44b24b445cbf2955050a55b69
go/parser: add a SkipObjectResolution mode to bypass object resolution Parser object resolution is an auxiliary feature in which the parser attempts to resolve identifiers to their declarations. In functionality, it significantly overlaps with go/types and in fact cannot be correctly computed at parse-time without typ...
[ { "path": "src/go/parser/interface.go", "patch": "@@ -49,13 +49,14 @@ func readSource(filename string, src interface{}) ([]byte, error) {\n type Mode uint\n \n const (\n-\tPackageClauseOnly Mode = 1 << iota // stop parsing after package clause\n-\tImportsOnly /...
2021-03-29T20:03:51
electron/electron
c82e73a4ec106b32a0d5773b0775004179ac4502
eda4249bf84966d6d2e820bf6510c61c370b8101
Update apm: Fix installing for node v0.11.x.
[ { "path": "vendor/apm", "patch": "@@ -1 +1 @@\n-Subproject commit 1c72cdddfebb6bd4d1805e3c7f130f060b2b9310\n+Subproject commit 0ad4e65c8759a9be5fc55df576ff6c85e34cd4eb", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-12-16T14:37:43
rust-lang/rust
40b73322b93bf1627a7cb58aec5a7fe019af1f66
a86df238d3f21ccb6ec25080bcc24b1f9153ea63
tests: adjust some `augmented-assignment*` tests - `tests/ui/augmented-assignment-feature-gate-cross.rs`: - This was *originally* to feature-gate overloaded OpAssign cross-crate, but now let's keep it as a smoke test. - Renamed as `augmented-assignment-cross-crate.rs`. - Relocated under `tests/ui/binop/`. - ...
[ { "path": "tests/ui/binop/augmented-assignments-cross-crate.rs", "patch": "@@ -1,3 +1,5 @@\n+//! Smoke test for overloaded compound assignments cross-crate.\n+\n //@ run-pass\n //@ aux-build:augmented_assignments.rs\n ", "additions": 2, "deletions": 0, "language": "Rust" }, { "path": "te...
2025-04-19T09:05:05
huggingface/transformers
107fedc1e2d052607f80567463c1a7da45edd7ed
258dd9cc693d1ad2c43e255cde73ce500d30b303
quick fix fast_image_processor register error (#36716) * fix fast_image_processor register error * update error message * remove redundant import * fix format
[ { "path": "src/transformers/models/auto/image_processing_auto.py", "patch": "@@ -24,7 +24,7 @@\n # Build the list of all image processors\n from ...configuration_utils import PretrainedConfig\n from ...dynamic_module_utils import get_class_from_dynamic_module, resolve_trust_remote_code\n-from ...image_proce...
2025-03-19T18:05:45
nodejs/node
d1c096cc9d88a865094b91ef86b771cd23d8bfe7
6d59bfb4f823e30e291a6841410e324879f6486e
worker: improve error (de)serialization Rather than passing errors using some sort of string representation, do a best effort for faithful serialization/deserialization of uncaught exception objects. PR-URL: https://github.com/nodejs/node/pull/20876 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ben...
[ { "path": "lib/internal/error-serdes.js", "patch": "@@ -0,0 +1,121 @@\n+'use strict';\n+\n+const Buffer = require('buffer').Buffer;\n+const { serialize, deserialize } = require('v8');\n+const { SafeSet } = require('internal/safe_globals');\n+\n+const kSerializedError = 0;\n+const kSerializedObject = 1;\n+co...
2017-09-25T23:42:16
vercel/next.js
2c199c4c19b2177e3eeccf3c6712834e16cd7742
05bdd715a8513881902cafc45697e2024834783f
Update to latest version of turbo CLI (#42711) Ensures we have latest patches in turbo CLI. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or R...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -8,7 +8,7 @@ name: Build, test, and deploy\n \n env:\n NAPI_CLI_VERSION: 2.12.0\n- TURBO_VERSION: 1.3.2-canary.1\n+ TURBO_VERSION: 1.6.3\n RUST_TOOLCHAIN: nightly-2022-09-23\n PNPM_VERSION: 7.3.0\n ", "additions": 1, "deletion...
2022-11-10T02:22:15
huggingface/transformers
f39f4960f30e3eadd6d948e4dcb2da32eda253b5
63c31165306226798c1353ca93701c7e11ce4e4f
Support tracable dynamicKVcache (#36311) * Support tracable dynamicKVcache * Fix lint * More fine grained test * Lint * Update * Update * Fix up * Apply suggestions from code review * Update src/transformers/cache_utils.py * Update tests/utils/test_cache_utils.py * Apply suggestions from code review * Updat...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -8,6 +8,8 @@\n import torch\n from packaging import version\n \n+from transformers.pytorch_utils import is_torch_greater_or_equal_than_2_6\n+\n from .configuration_utils import PretrainedConfig\n from .utils import is_hqq_available, is_optimum_quanto...
2025-03-19T16:52:30
golang/go
b91f8a4c0b0b9be44b24b445cbf2955050a55b69
9e8a312b71b3ad271026947d15f4d9fc483b0132
go/scanner: fix a typo in scanner_test.go Change-Id: I99f07328da3dd99d34b8da5f913c98206b4dc76a Reviewed-on: https://go-review.googlesource.com/c/go/+/308609 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Grieseme...
[ { "path": "src/go/scanner/scanner_test.go", "patch": "@@ -628,7 +628,7 @@ func TestInvalidLineDirectives(t *testing.T) {\n \t}\n \n \tif S.ErrorCount != len(invalidSegments) {\n-\t\tt.Errorf(\"go %d errors; want %d\", S.ErrorCount, len(invalidSegments))\n+\t\tt.Errorf(\"got %d errors; want %d\", S.ErrorCoun...
2021-04-07T21:18:17
nodejs/node
e5d919835271c22841f1d7c8017637a11d68652e
991f4060adf1800ef50eaaf8bd84ef42e7587f08
2018-06-06, Version 10.4.0 (Current) Notable Changes: * **deps**: - update V8 to 6.7.288.43 (Michaël Zasso) https://github.com/nodejs/node/pull/19989 * **stream**: - ensure Stream.pipeline re-throws errors without callback (Blaine Bublitz) https://github.com/nodejs/node/pull/20437 PR-URL: https://github.co...
[ { "path": "CHANGELOG.md", "patch": "@@ -33,7 +33,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.3.0\">10.3.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.4.0\">10.4.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V10.md#10.3.0\"...
2018-06-06T09:12:48
rust-lang/rust
c6d76bb69d5ed9f12284007338d3b7d04bcf4385
86a10f01d10c28c26b280b913d57d3e8199ffa86
fix: `needless_collect` does not consider side effects
[ { "path": "clippy_lints/src/methods/needless_collect.rs", "patch": "@@ -4,7 +4,9 @@ use super::NEEDLESS_COLLECT;\n use clippy_utils::diagnostics::{span_lint_and_sugg, span_lint_hir_and_then};\n use clippy_utils::source::{snippet, snippet_with_applicability};\n use clippy_utils::sugg::Sugg;\n-use clippy_util...
2025-03-28T06:08:20
electron/electron
7e67f7632db75e684bede1a7c4941a78d9ef19fa
cd68396bd519c3e6ddb31bc097e257541d9b3035
:lipstick: Fix cpplint warnings.
[ { "path": "browser/api/atom_api_menu.cc", "patch": "@@ -239,7 +239,8 @@ void Menu::Clear(const v8::FunctionCallbackInfo<v8::Value>& args) {\n }\n \n // static\n-void Menu::GetIndexOfCommandId(const v8::FunctionCallbackInfo<v8::Value>& args) {\n+void Menu::GetIndexOfCommandId(\n+ const v8::FunctionCallbac...
2013-12-15T09:09:35
huggingface/transformers
63c31165306226798c1353ca93701c7e11ce4e4f
7c233980f4a8b8d4a8426e2072cb9dcdfaefc4f7
One more fix for reviewer assignment (#36829) * one more fix * one more fix * Trigger tests
[ { "path": ".github/scripts/assign_reviewers.py", "patch": "@@ -22,12 +22,16 @@\n from pathlib import Path\n \n def pattern_to_regex(pattern):\n- start_anchor = pattern.startswith(\"/\")\n- pattern = re.escape(pattern)\n+ if pattern.startswith(\"/\"):\n+ start_anchor = True\n+ pattern ...
2025-03-19T16:25:24
vercel/next.js
05bdd715a8513881902cafc45697e2024834783f
e0b946a4bbb10b2ebb58bd34489147c6e9a33b7e
Use import to load page and layout (#42325) Fixes #42534 * Use eager `import()` to load page/layout to avoid esm module resolution error, eager is to make sure all the sub resources like css are also included * Fix layer detection, should use `module.layer` directly since `module.resourceResolveData` is not alway pre...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -921,11 +921,7 @@ export default async function getBaseWebpackConfig(\n ...customRootAliases,\n \n ...(pagesDir ? { [PAGES_DIR_ALIAS]: pagesDir } : {}),\n- ...(appDir\n- ? {\n- [APP_DIR_ALIAS]: appDir,\n- ...
2022-11-10T02:16:59
rust-lang/rust
86a10f01d10c28c26b280b913d57d3e8199ffa86
781fdab9a95320bf8c3eb092ef628352643059bf
fix: `double_ended_iterator_last` FP when iter has side effects
[ { "path": "clippy_lints/src/methods/double_ended_iterator_last.rs", "patch": "@@ -1,5 +1,5 @@\n use clippy_utils::diagnostics::span_lint_and_then;\n-use clippy_utils::ty::implements_trait;\n+use clippy_utils::ty::{implements_trait, is_iter_with_side_effects};\n use clippy_utils::{is_mutable, is_trait_method...
2025-03-28T05:25:46
golang/go
7a7eee8ab72908b79ac10ba3f817447dd59e7642
529e5d0c7dc734f3fa6ae69ad6afdb3e185d2c1c
[dev.fuzz] internal/fuzz: minimize non-recoverable errors Assuming that this works for non-recoverable errors, there will likely be a follow-up CL which refactors the minimization for recoverable errors to use the same RPC flow (since that more easily allows the worker to tell the coordinator that it's minimizing and ...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_mutator.txt", "patch": "@@ -20,15 +20,40 @@ stdout FAIL\n stdout 'mutator found enough unique mutations'\n \n # Test that minimization is working for recoverable errors.\n-! go test -v -fuzz=FuzzMinimizerRecoverable -run=FuzzMinimizerRecoverable -parallel=1 -f...
2021-03-26T20:12:45
nodejs/node
991f4060adf1800ef50eaaf8bd84ef42e7587f08
1aa582a97c4d8974b5ce2a3435fb07f01792af5b
n-api: back up env before async work finalize We must back up the value of `_env` before calling the async work complete callback, because the complete callback may delete the instance in which `_env` is stored by calling `napi_delete_async_work`, and because we need to use it after the complete callback has completed...
[ { "path": "src/node_api.cc", "patch": "@@ -3393,13 +3393,19 @@ class Work : public node::AsyncResource, public node::ThreadPoolWork {\n \n CallbackScope callback_scope(this);\n \n- NAPI_CALL_INTO_MODULE(_env,\n+ // We have to back up the env here because the `NAPI_CALL_INTO_MODULE` macro\n+ // ...
2018-06-04T23:20:54
huggingface/transformers
b11050d6a288e47438c2f8986bfa57aa1d5c364a
e8d960329e2ed2e8d8de813de2e2a2bccbc2e574
enable OffloadedCache on XPU from PyTorch 2.7 (#36654) * fix "Cannot copy out of meta tensor; no data!" issue for BartForConditionalGeneration model * follow Marc's suggestion to use _tie_weights to fix Signed-off-by: Yao, Matrix <matrix.yao@intel.com> * enable OffloadedCache on XPU since PyTorch 2.7 Signed-off-by...
[ { "path": "src/transformers/cache_utils.py", "patch": "@@ -9,7 +9,7 @@\n from packaging import version\n \n from .configuration_utils import PretrainedConfig\n-from .utils import is_hqq_available, is_optimum_quanto_available, logging\n+from .utils import is_hqq_available, is_optimum_quanto_available, is_tor...
2025-03-19T14:15:52
electron/electron
474e1fcd3b79e8d5028fd925d453d854d0ab9fa5
cfeeec37eb219d0214f97766284e30e2163fcb8c
Fix protocol module specs.
[ { "path": "browser/api/atom_api_protocol.cc", "patch": "@@ -188,7 +188,7 @@ void Protocol::RegisterProtocol(\n return node::ThrowTypeError(\"Bad argument\");\n \n if (g_handlers.find(scheme) != g_handlers.end() ||\n- net::URLRequest::IsHandledProtocol(scheme))\n+ GetRequestJobFactory()->IsHa...
2013-12-15T08:53:07
vercel/next.js
e0b946a4bbb10b2ebb58bd34489147c6e9a33b7e
d124189ab09f158ff9dd24231747c61f4aec6259
Fix replaceAll usage in post-process (#42714) Similar to https://github.com/vercel/next.js/pull/42550 Fixes: https://dev.azure.com/nextjs/next.js/_build/results?buildId=43629&view=logs&jobId=14d0eb3f-bc66-5450-3353-28256327ad6c x-ref: https://github.com/vercel/next.js/pull/42495 ## Bug - [ ] Related issues ...
[ { "path": "packages/next/server/post-process.ts", "patch": "@@ -231,7 +231,7 @@ async function postProcessHTML(\n : null,\n inAmpMode || hybridAmp\n ? (html: string) => {\n- return html.replaceAll('&amp;amp=1', '&amp=1')\n+ return html.replace(/&amp;amp=1/g, '&amp=1')\n ...
2022-11-10T01:26:55
nodejs/node
aa08cf1e7a44d0899a084f9a94e068d3724e31d6
1c8f760b16a9c7f5f58581eb9247ba7631ab59fb
doc: fix typo in addons.md "across version of Node.js" -> "across versions of Node.js" PR-URL: https://github.com/nodejs/node/pull/21137 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca...
[ { "path": "doc/api/addons.md", "patch": "@@ -224,7 +224,7 @@ illustration of how it can be used.\n N-API is an API for building native Addons. It is independent from\n the underlying JavaScript runtime (e.g. V8) and is maintained as part of\n Node.js itself. This API will be Application Binary Interface (AB...
2018-06-04T19:07:08
golang/go
ef57834360cf69f2e8b52b32c7a05d96bf6bbba7
dba89283ad05e600defc41dbf94df91ce9027566
crypto/tls: fix flaky handshake cancellation tests Simplified both tests significantly by removing logic for writing the client/server side messages. The flake was likely because of a race between the closing of the local pipe from inside the test and closing of the pipe from within the handshakeContext goroutine. Wai...
[ { "path": "src/crypto/tls/handshake_client_test.go", "patch": "@@ -6,6 +6,7 @@ package tls\n \n import (\n \t\"bytes\"\n+\t\"context\"\n \t\"crypto/rsa\"\n \t\"crypto/x509\"\n \t\"encoding/base64\"\n@@ -20,6 +21,7 @@ import (\n \t\"os/exec\"\n \t\"path/filepath\"\n \t\"reflect\"\n+\t\"runtime\"\n \t\"strcon...
2021-03-28T15:39:47
rust-lang/rust
e32e494097ebf595b048876140c3aedf77857924
acdd3b729ff82be3d5f540f08cdb4b479fdf9de9
Fix import
[ { "path": "src/abi.rs", "patch": "@@ -10,7 +10,8 @@ use rustc_middle::ty::layout::LayoutOf;\n #[cfg(feature = \"master\")]\n use rustc_session::config;\n #[cfg(feature = \"master\")]\n-use rustc_target::callconv::{ArgAttributes, CastTarget, Conv, FnAbi, PassMode};\n+use rustc_target::callconv::Conv;\n+use r...
2025-04-18T21:02:07
vercel/next.js
d124189ab09f158ff9dd24231747c61f4aec6259
18134f87fc9471e03bd3f312118a5302ecf0579c
Ensure appDir is included in webpack configVars (#42710) This ensures the webpack cache is updated when toggling between `appDir: true/false`. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature ...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -2234,6 +2234,7 @@ export default async function getBaseWebpackConfig(\n }\n \n const configVars = JSON.stringify({\n+ appDir: config.experimental.appDir,\n crossOrigin: config.crossOrigin,\n pageExtensions: pageExtensions,\n ...
2022-11-10T01:22:50
electron/electron
cfeeec37eb219d0214f97766284e30e2163fcb8c
0a84c30d3ba48c4591b1299fbef0f9feaab5dcda
Fix capturePage() spec.
[ { "path": "spec/api-browser-window-spec.coffee", "patch": "@@ -77,10 +77,11 @@ describe 'browser-window module', ->\n w.close()\n \n describe 'BrowserWindow.capturePage(rect, callback)', ->\n- it 'calls the callback with a Buffer', ->\n+ it 'calls the callback with a Buffer', (done) ->\n ...
2013-12-15T08:32:49
nodejs/node
0300f7c68cffa5de7f0099e3afa95093b0bbbe3c
3c5b8b4602cd26e2e2c8eafdb3c74cb1cb1e13fd
src: store pointer to Environment on DestroyParam To avoid a potential segfault when inside WeakCallback, store a reference to Environment inside DestroyParam. PR-URL: https://github.com/nodejs/node/pull/21099 Reviewed-By: Yang Guo <yangguo@chromium.org> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: J...
[ { "path": "src/async_wrap.cc", "patch": "@@ -398,6 +398,7 @@ static void DisablePromiseHook(const FunctionCallbackInfo<Value>& args) {\n class DestroyParam {\n public:\n double asyncId;\n+ Environment* env;\n Persistent<Object> target;\n Persistent<Object> propBag;\n };\n@@ -406,13 +407,12 @@ class ...
2018-06-02T16:10:34
golang/go
492eb059f9ce08285fae8284e69b1103b63e879e
60abe013217e224b200b6c3e6da344a6e5af431c
cmd/go: fix mod_install_pkg_version mainPackagesOnly now includes non-main packages matched by literal arguments in the returned slice, since their errors must be reported. GoFilesPackages attaches the same error to its package if opts.MainOnly is true. This changes the error output of 'go run' slightly, but it seems...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -480,6 +480,7 @@ type ImportPathError interface {\n \n var (\n \t_ ImportPathError = (*importError)(nil)\n+\t_ ImportPathError = (*mainPackageError)(nil)\n \t_ ImportPathError = (*modload.ImportMissingError)(nil)\n \t_ ImportPathError = (*modload.Imp...
2021-04-16T17:34:37
rust-lang/rust
cc359b8bb6c693086f69adf013430163992b1807
84f582665ef64467e2ca8f65448f75f14b12edf5
Fix import
[ { "path": "compiler/rustc_codegen_gcc/src/abi.rs", "patch": "@@ -10,7 +10,8 @@ use rustc_middle::ty::layout::LayoutOf;\n #[cfg(feature = \"master\")]\n use rustc_session::config;\n #[cfg(feature = \"master\")]\n-use rustc_target::callconv::{ArgAttributes, CastTarget, Conv, FnAbi, PassMode};\n+use rustc_targ...
2025-04-18T21:02:07
vercel/next.js
18134f87fc9471e03bd3f312118a5302ecf0579c
584d842ae03b05c43059fd025bdf7235afa52a69
Fix CSS handling rules (#42615) This PR fixes (and simplifies) CSS loader rules, major things fixed with this PR: - (Tests added) Even if `appDir` isn't enabled, CSS/SASS/CSSM/SASSM should still be transpiled for packages in node_modules, configured via `transpilePackages`. - They should be transpiled from other ...
[ { "path": "packages/next/build/webpack/config/blocks/css/index.ts", "patch": "@@ -13,6 +13,8 @@ import {\n getFontLoaderDocumentImportError,\n } from './messages'\n import { getPostCssPlugins } from './plugins'\n+import { nonNullable } from '../../../../../lib/non-nullable'\n+import { WEBPACK_LAYERS } fro...
2022-11-10T00:28:48
electron/electron
0a84c30d3ba48c4591b1299fbef0f9feaab5dcda
7ba03ce23dda588b9b5fa0735e5f437ea467d146
Redirect window.onerror to uncaughtException.
[ { "path": "renderer/lib/init.coffee", "patch": "@@ -37,3 +37,11 @@ if window.location.protocol is 'file:'\n else\n global.__filename = __filename\n global.__dirname = __dirname\n+\n+# Redirect window.onerror to uncaughtException.\n+window.onerror = (error) ->\n+ if global.process.listeners('uncaughtExc...
2013-12-15T08:32:41
golang/go
60abe013217e224b200b6c3e6da344a6e5af431c
acb189ea59d7f47e5db075e502dcce5eac6571dc
cmd/link: fix file-local checks in xcoff The xcoff writer has several "ldr.SymVersion(s) != 0" checks. The intent of these is to check for file-local (or static) symbols. Prior to the introduction of symbol ABIs, this was indeed equivalent since only file-local symbols has non-zero versions, but ABIs also use the symb...
[ { "path": "src/cmd/link/internal/ld/xcoff.go", "patch": "@@ -825,7 +825,7 @@ func (f *xcoffFile) writeSymbolFunc(ctxt *Link, x loader.Sym) []xcoffSym {\n \t\tNnumaux: 2,\n \t}\n \n-\tif ldr.SymVersion(x) != 0 || ldr.AttrVisibilityHidden(x) || ldr.AttrLocal(x) {\n+\tif ldr.IsFileLocal(x) || ldr.AttrVisibilit...
2021-04-16T02:27:37
nodejs/node
5aa47bd26bc4beb011d87da35c93170b36381002
262f3777cefdba21987947b56827c3b8112fe5ba
test: mark test-trace-events-fs-sync as flaky test-trace-events-fs-sync has been failing ocasinally on FreeBSD. While we don't have a fix, it should be marked as flaky. Ref: https://github.com/nodejs/node/issues/21038 PR-URL: https://github.com/nodejs/node/pull/21039 Refs: https://github.com/nodejs/node/issues/21038...
[ { "path": "test/parallel/parallel.status", "patch": "@@ -20,5 +20,7 @@ test-child-process-fork-net: PASS,FLAKY\n [$system==solaris] # Also applies to SmartOS\n \n [$system==freebsd]\n+# https://github.com/nodejs/node/issues/21038\n+test-trace-events-fs-sync: PASS,FLAKY\n \n [$system==aix]", "additions":...
2018-05-30T17:59:09
rust-lang/rust
acdd3b729ff82be3d5f540f08cdb4b479fdf9de9
4900dd2e5ccd5cd9a67f0d7c908a15c5a24067ab
Fix compilation error in GCC backend
[ { "path": "src/int.rs", "patch": "@@ -404,7 +404,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {\n \n let ret_indirect = matches!(fn_abi.ret.mode, PassMode::Indirect { .. });\n \n- let result = if ret_indirect {\n+ let call = if ret_indirect {\n let res_value = self.cur...
2025-04-18T20:46:43
electron/electron
b1dc139e4bcf912f1f448a42d2d5e3e42fc0fc1d
dc3f2050c08da0eee998efc45808756593b5e1e5
Set the proxy service a bit earlier to avoid crash.
[ { "path": "brightray/browser/url_request_context_getter.cc", "patch": "@@ -86,6 +86,16 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {\n scoped_ptr<net::HostResolver> host_resolver(\n net::HostResolver::CreateDefaultResolver(NULL));\n \n+ net::DhcpProxyScriptFetch...
2013-12-15T07:00:52
vercel/next.js
584d842ae03b05c43059fd025bdf7235afa52a69
c962f2d6a4947ff162c3f2c4767e615147e74057
Fix @next/font imports from outside of the root directory (#42678) Similar to https://github.com/vercel/next.js/pull/42106. Make `@next/font` works as expected when using `transpilePackages`. Also makes sure `@next/font` is auto-configured correctly when in a monorepo. ## Bug - [ ] Related issues linked usi...
[ { "path": "errors/babel-font-loader-conflict.md", "patch": "@@ -1,8 +1,8 @@\n-# Babel and Font loader conflict\n+# Babel and `@next/font` conflict\n \n #### Why This Error Occurred\n \n-You have tried to use `experimental.fontLoaders` with a custom babel config. When your application has a custom babel conf...
2022-11-09T21:22:45
huggingface/transformers
fef8b7f8e9fd2800f5b4cb7483f9889bd437257e
0fe0bae0a833febfb7209fe133837b4a97bbe3fb
Add attention visualization tool (#36630) * add utils fiel * style * nits * nits * update * updaets * update * fix init issues * big updates * nits * nits? * small updates * nites * there were still some models left * style * fixes * updates * nits _ fixes * push changes * update * update * upda...
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -1015,7 +1015,7 @@ def _update_causal_mask(\n input_tensor: torch.Tensor,\n cache_position: torch.Tensor,\n past_key_values: Cache,\n- output_attentions: bool,\n+ output_attentions: bool = False,\n ...
2025-03-19T12:58:46
golang/go
acb189ea59d7f47e5db075e502dcce5eac6571dc
2f0e5bf907b16a8106ae68920edffe90362e16ce
net/http: make ReadRequest return an error when requests have multiple Host headers Fixes #45513 Change-Id: I59e717a4bbd3e71320deff519e4f9587ee5c8756 Reviewed-on: https://go-review.googlesource.com/c/go/+/308952 Trust: Damien Neil <dneil@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
[ { "path": "src/net/http/request.go", "patch": "@@ -1010,16 +1010,16 @@ func putTextprotoReader(r *textproto.Reader) {\n // requests and handle them via the Handler interface. ReadRequest\n // only supports HTTP/1.x requests. For HTTP/2, use golang.org/x/net/http2.\n func ReadRequest(b *bufio.Reader) (*Reque...
2021-04-12T09:19:03
nodejs/node
41843e23f260eccf1e4a3be8ed9e429fa4b87ea5
5a6b1975d553f4f02cb37b287532c4268328ea31
test: make handling of noWarnCode stricter This change requires all expected warnings to be specified along with their respective code and will raise an error if the code does not match. This also kind of fixes the behavior when the expected warning code was noWarnCode and there is an actual warning code. PR-URL: htt...
[ { "path": "test/common/index.js", "patch": "@@ -589,7 +589,7 @@ exports.isAlive = function isAlive(pid) {\n }\n };\n \n-exports.noWarnCode = 'no_expected_warning_code';\n+exports.noWarnCode = undefined;\n \n function expectWarning(name, expected) {\n const map = new Map(expected);\n@@ -598,14 +598,7 @@ ...
2018-05-31T15:21:59
rust-lang/rust
84f582665ef64467e2ca8f65448f75f14b12edf5
c123dc63ea5f765488e4d56aa55bf4467fce7d27
Fix compilation error in GCC backend
[ { "path": "compiler/rustc_codegen_gcc/src/int.rs", "patch": "@@ -404,7 +404,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {\n \n let ret_indirect = matches!(fn_abi.ret.mode, PassMode::Indirect { .. });\n \n- let result = if ret_indirect {\n+ let call = if ret_indirect {\n ...
2025-04-18T20:46:43
huggingface/transformers
a861db01e5df627cc4e6c414d23ef28a22d61efb
b9374a0763df34ca6b380a9787b5d4fbc292a756
Fix Device map for bitsandbytes tests (#36800) fix
[ { "path": "tests/quantization/bnb/test_4bit.py", "patch": "@@ -528,9 +528,39 @@ def test_multi_gpu_loading(self):\n This tests that the model has been loaded and can be used correctly on a multi-GPU setup.\n Let's just try to load a model on 2 GPUs and see if it works. The model we test has ...
2025-03-19T10:57:13
vercel/next.js
810508aed0f835409a060cf5a5a09667fa385a48
3d690b277801f19d36106192b02a7a4e5d63c7da
add different keyed app route elements (vercel/turbo#2636) * add different keyed app route elements * update for latest next.js canary version * fix header name * setup next.js version in benchmark
[ { "path": "packages/next-swc/crates/next-core/js/package.json", "patch": "@@ -12,7 +12,7 @@\n \"@vercel/turbopack-runtime\": \"latest\",\n \"anser\": \"2.1.1\",\n \"css.escape\": \"1.5.1\",\n- \"next\": \"12.3.2-canary.39\",\n+ \"next\": \"13.0.3-canary.2\",\n \"platform\": \"1.3.6\",\...
2022-11-09T20:04:57
golang/go
2f0e5bf907b16a8106ae68920edffe90362e16ce
abbb82957d823f249dd39e38d448691e86c978bc
net/http: using errors.Is in fs error detection Compare error by errors.Is to detect wrapped fs errors. Fixes #44923 Change-Id: Idf32b96a661728278b7006c3b3bcc581b8588259 GitHub-Last-Rev: dba01ddae06947fb8c6047ddfba108acd650f446 GitHub-Pull-Request: golang/go#45314 Reviewed-on: https://go-review.googlesource.com/c/go...
[ { "path": "src/net/http/fs.go", "patch": "@@ -46,7 +46,7 @@ type Dir string\n // to a possibly better non-nil error. In particular, it turns OS-specific errors\n // about opening files in non-directories into fs.ErrNotExist. See Issue 18984.\n func mapDirOpenError(originalErr error, name string) error {\n-\...
2021-03-31T15:00:45
nodejs/node
60eeba4194cf878cd3c33e1745962245bb8cb0e9
75f6ef9f6f7edb10f087f1a96121ce262fdd353e
test: update test-dns error message test-dns is in the internet suite and therefore is rarely run. (That will change soon. We will run internet tests nightly in CI.) Because it is infrequently run, it was not noticed that it no longer passes. (An error message has changed to provide more information.) This change fixe...
[ { "path": "test/internet/test-dns.js", "patch": "@@ -70,7 +70,7 @@ function checkWrap(req) {\n TEST(function test_reverse_bogus(done) {\n assert.throws(() => {\n dns.reverse('bogus ip', common.mustNotCall());\n- }, /^Error: getHostByAddr EINVAL$/);\n+ }, /^Error: getHostByAddr EINVAL bogus ip$/);\n ...
2018-06-03T21:01:02
rust-lang/rust
4900dd2e5ccd5cd9a67f0d7c908a15c5a24067ab
8f9a32aaf844174b26d7a39839c19c8f1c8d8cd0
Fix `rustc_codegen_gcc/tests/run/return-tuple.rs` test
[ { "path": "tests/run/return-tuple.rs", "patch": "@@ -6,13 +6,7 @@\n // 10\n // 42\n \n-<<<<<<< HEAD\n-#![feature(auto_traits, lang_items, no_core, intrinsics)]\n-#![allow(internal_features)]\n-\n-=======\n #![feature(no_core)]\n->>>>>>> db1a31c243a649e1fe20f5466ba181da5be35c14\n #![no_std]\n #![no_c...
2025-04-18T19:21:15
huggingface/transformers
b9374a0763df34ca6b380a9787b5d4fbc292a756
4fa91b1be5a26a5b21ab08b03f05246ab4345a18
Remove `dist": "loadfile"` for `pytest` in CircleCI jobs (#36811) * fasterrrrr * avoid crash in example jobs * avoid crash in TF example jobs --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -30,7 +30,7 @@\n \"RUN_PIPELINE_TESTS\": False,\n }\n # Disable the use of {\"s\": None} as the output is way too long, causing the navigation on CircleCI impractical\n-COMMON_PYTEST_OPTIONS = {\"max-worker-restart\": 0, \"dist\": \"loadfile\...
2025-03-19T10:15:09
vercel/next.js
95f514d3a84a6e603ac1b8aada73b5fdcfdcd032
b7041b6490a29f3ba478aefd6829fd1c5937a4b1
add different keyed app route elements (vercel/turbo#2636) * add different keyed app route elements * update for latest next.js canary version * fix header name * setup next.js version in benchmark
[ { "path": "crates/next-core/js/package.json", "patch": "@@ -12,7 +12,7 @@\n \"@vercel/turbopack-runtime\": \"latest\",\n \"anser\": \"2.1.1\",\n \"css.escape\": \"1.5.1\",\n- \"next\": \"12.3.2-canary.39\",\n+ \"next\": \"13.0.3-canary.2\",\n \"platform\": \"1.3.6\",\n \"react-dom\...
2022-11-09T20:04:57
electron/electron
c116f6b35cf5362edce857b913341e2d3a0552bc
2c672052e6977240009b840f215d73bd1b6c36e9
Fix a couple minor typos in docs
[ { "path": "docs/api/browser/menu.md", "patch": "@@ -12,7 +12,7 @@ var Menu = require('menu');\n var MenuItem = require('menu-item');\n \n var menu = new Menu();\n-menu.append(new MenuItem({ label: 'MenuItem1', click: function() { console.log('item 1clicked'); } }));\n+menu.append(new MenuItem({ label: 'Menu...
2013-12-13T06:31:19
rust-lang/rust
c123dc63ea5f765488e4d56aa55bf4467fce7d27
e4ea67b3d79bb8d9dbab383ec93edc4ea8cc8df4
Fix `rustc_codegen_gcc/tests/run/return-tuple.rs` test
[ { "path": "compiler/rustc_codegen_gcc/tests/run/return-tuple.rs", "patch": "@@ -6,13 +6,7 @@\n // 10\n // 42\n \n-<<<<<<< HEAD\n-#![feature(auto_traits, lang_items, no_core, intrinsics)]\n-#![allow(internal_features)]\n-\n-=======\n #![feature(no_core)]\n->>>>>>> db1a31c243a649e1fe20f5466ba181da5be3...
2025-04-18T19:21:15
golang/go
639cb1b629e575487af78bb3f60af24a7df7a3f7
0613c748e8919536c360cfc9be4e63a0b55d4286
runtime: mark stdcallN functions cgo_unsafe_args These functions take the address of an argument and expect to be able to reach later arguments from that pointer. This means they must be laid out sequentially in memory (using ABI0) and all arguments must be live even though they don't all appear to be referenced. This...
[ { "path": "src/runtime/os_windows.go", "patch": "@@ -1084,6 +1084,7 @@ func stdcall0(fn stdFunction) uintptr {\n }\n \n //go:nosplit\n+//go:cgo_unsafe_args\n func stdcall1(fn stdFunction, a0 uintptr) uintptr {\n \tmp := getg().m\n \tmp.libcall.n = 1\n@@ -1092,6 +1093,7 @@ func stdcall1(fn stdFunction, a0 ui...
2021-04-16T04:00:32
nodejs/node
75f6ef9f6f7edb10f087f1a96121ce262fdd353e
cd8f06f64f5fba32cf851de4d59c0e22f45b89c7
src: fix typo string_search.h comment PR-URL: https://github.com/nodejs/node/pull/21115 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Trivikram Kamat <trivikr.dev...
[ { "path": "src/string_search.h", "patch": "@@ -559,7 +559,7 @@ size_t StringSearch<Char>::InitialSearch(\n return subject.length();\n }\n \n-// Perform a a single stand-alone search.\n+// Perform a single stand-alone search.\n // If searching multiple times for the same pattern, a search\n // object shoul...
2018-06-03T15:59:21
huggingface/transformers
4fa91b1be5a26a5b21ab08b03f05246ab4345a18
706703bba6c920b10aa7e7ee8163b06a8a03c450
fix "Cannot copy out of meta tensor; no data!" issue for BartForConditionalGeneration model (#36572) * fix "Cannot copy out of meta tensor; no data!" issue for BartForConditionalGeneration model * follow Marc's suggestion to use _tie_weights to fix Signed-off-by: Yao, Matrix <matrix.yao@intel.com> * fix review comm...
[ { "path": "src/transformers/models/bart/modeling_bart.py", "patch": "@@ -1442,8 +1442,15 @@ def __init__(self, config: BartConfig):\n \n def _tie_weights(self):\n if self.config.tie_word_embeddings:\n- self._tie_or_clone_weights(self.encoder.embed_tokens, self.shared)\n- se...
2025-03-19T09:48:47
vercel/next.js
c962f2d6a4947ff162c3f2c4767e615147e74057
c1b76bd36df5221efbee4e5b5b215424a0e9c67e
Adopt script rejection pattern for link onerror. (#42645) The HTML `<link>` element's `onerror` function receives an Event-shaped object. The rejection here expects an `Error` shaped object. This PR 1:1 adopts the same pattern for `<link>` `onerror` that `script` `onerror` uses. Attached you'll see an image that demo...
[ { "path": "packages/next/client/route-loader.ts", "patch": "@@ -80,6 +80,16 @@ export interface RouteLoader {\n prefetch(route: string): Promise<void>\n }\n \n+const ASSET_LOAD_ERROR = Symbol('ASSET_LOAD_ERROR')\n+// TODO: unexport\n+export function markAssetError(err: Error): Error {\n+ return Object.de...
2022-11-09T19:58:20
electron/electron
2413eebd7b554688e2268f1294f8bead4f792ce4
7708e7a8c4a9fe97a0b3c86a74e6400b638ded13
Disable accelerated compositing to fix everything.
[ { "path": "app/atom_main_delegate.cc", "patch": "@@ -46,9 +46,14 @@ void AtomMainDelegate::PreSandboxStartup() {\n #endif\n InitializeResourceBundle();\n \n- // Disable renderer sandbox for most of node's functions.\n CommandLine* command_line = CommandLine::ForCurrentProcess();\n+\n+ // Disable rende...
2013-12-12T16:57:08
golang/go
0613c748e8919536c360cfc9be4e63a0b55d4286
dc76c4756599ac4bd9644e407aa2af9f9c8a3bdc
cmd/go: move 'go install cmd@version' code into internal/load 'go run cmd@version' will use the same code. This changes error messages a bit. For #42088 Change-Id: Iaed3997a3d27f9fc0e868013ab765f1fb638a0b5 Reviewed-on: https://go-review.googlesource.com/c/go/+/310410 Trust: Jay Conrod <jayconrod@google.com> Run-Try...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -14,6 +14,7 @@ import (\n \t\"go/build\"\n \t\"go/scanner\"\n \t\"go/token\"\n+\t\"internal/goroot\"\n \t\"io/fs\"\n \t\"os\"\n \t\"path\"\n@@ -30,6 +31,7 @@ import (\n \t\"cmd/go/internal/cfg\"\n \t\"cmd/go/internal/fsys\"\n \t\"cmd/go/internal/impo...
2021-04-15T15:36:23
nodejs/node
cd8f06f64f5fba32cf851de4d59c0e22f45b89c7
997e97d9cd8c687284feb32e364ef434086d38d5
fs: do not crash when using a closed fs event watcher Before this commit, when the user calls methods on a closed or errored fs event watcher, they could hit a crash since the FSEventWrap in C++ land may have already been destroyed with the internal pointer set to nullptr. This commit makes sure that the user cannot h...
[ { "path": "doc/api/fs.md", "patch": "@@ -325,7 +325,8 @@ fs.watch('./tmp', { encoding: 'buffer' }, (eventType, filename) => {\n added: v10.0.0\n -->\n \n-Emitted when the watcher stops watching for changes.\n+Emitted when the watcher stops watching for changes. The closed\n+`fs.FSWatcher` object is no longe...
2018-05-26T22:07:29
huggingface/transformers
706703bba6c920b10aa7e7ee8163b06a8a03c450
179d02ffb8f3e0f0f3330dd2762286e83cbaa65b
Expectations test utils (#36569) * Add expectation classes + tests * Use typing Union instead of | * Use bits to track score in properties cmp method * Add exceptions and tests + comments * Remove compute cap minor as it is not needed currently * Simplify. Remove Properties class * Add example Exceptions usage ...
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -32,13 +32,13 @@\n import threading\n import time\n import unittest\n-from collections import defaultdict\n+from collections import UserDict, defaultdict\n from collections.abc import Mapping\n from dataclasses import MISSING, fields\n-from functoo...
2025-03-18T22:39:50
vercel/next.js
b7041b6490a29f3ba478aefd6829fd1c5937a4b1
e0f9e28deee5393a4fb83780994ffc02bc362d30
Fix tasks hanging when waiting for foreground tasks to be done (vercel/turbo#2652)
[ { "path": "crates/turbo-tasks/src/manager.rs", "patch": "@@ -460,7 +460,7 @@ impl<B: Backend> TurboTasks<B> {\n if self\n .currently_scheduled_foreground_jobs\n .load(Ordering::Acquire)\n- != 0\n+ == 0\n {\n return;\n }\n@@ -7...
2022-11-09T19:01:14
huggingface/transformers
00915d304138bd33ab1bf3d5a33a0db8a47933a4
14b597f51837284f92c1753b2332e05d959bab1d
Fix chameleon's TypeError because inputs_embeds may None (#36673) * fix chameleon TypeError when inputs_embeds is None * reformat * hotfix
[ { "path": "src/transformers/models/chameleon/modeling_chameleon.py", "patch": "@@ -1289,6 +1289,9 @@ def forward(\n \"You cannot specify both pixel_values and inputs_embeds at the same time, and must specify either one\"\n )\n \n+ if inputs_embeds is None:\n+ in...
2025-03-18T17:59:30
golang/go
cde92846e227425df8258cafade02497a60e421e
52df9291aa72c2db77f6a339b3a99c8a65875a47
doc: add release note for module deprecation Fixes #40357 Change-Id: I876edd7364530b77343ebcdd4032390493f8d031 Reviewed-on: https://go-review.googlesource.com/c/go/+/309549 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Brya...
[ { "path": "doc/go1.17.html", "patch": "@@ -43,6 +43,21 @@ <h2 id=\"tools\">Tools</h2>\n \n <h3 id=\"go-command\">Go command</h3>\n \n+<h4 id=\"modules\">Modules</h4>\n+\n+<p><!-- golang.org/issue/40357 -->\n+ Module authors may deprecate a module by adding a\n+ <a href=\"/ref/mod#go-mod-file-module-deprec...
2021-04-12T20:37:31
nodejs/node
997e97d9cd8c687284feb32e364ef434086d38d5
b557a3bedd472be96bd6be8d086edc336fde1588
test: increase slop limit in memory leak test It transpires that the extra bookkeeping in debug builds sometimes makes the increase in RSS go _just_ over the 5 MB limit, by fewer than 100 kB. Double the limit so we hopefully don't run into it any time again soon. The memory leak it tests for was one where RSS grew by...
[ { "path": "test/parallel/test-crypto-dh-leak.js", "patch": "@@ -23,4 +23,4 @@ const after = process.memoryUsage().rss;\n \n // RSS should stay the same, ceteris paribus, but allow for\n // some slop because V8 mallocs memory during execution.\n-assert(after - before < 5 << 20, `before=${before} after=${afte...
2018-06-02T08:03:25
vercel/next.js
c1b76bd36df5221efbee4e5b5b215424a0e9c67e
bb200b922d4583fa86c87710deda2bdee2adfd37
example fix url (#42695) Co-authored-by: Steven Tey <stevensteel97@gmail.com> Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "examples/blog-with-comment/components/comment/form.tsx", "patch": "@@ -34,8 +34,11 @@ export default function CommentForm({\n <button className=\"py-2 px-4 rounded bg-blue-600 text-white disabled:opacity-40 hover:bg-blue-700\">\n Send\n </button>\n- ...
2022-11-09T18:51:22
electron/electron
39f5f52423bdac75eb0bdc609f49b8b4ede4132b
837bd784aafd92645a795e2e2392a877064e3768
Fix flash of page while resizing devtools NSSplitView divider.
[ { "path": "brightray/browser/mac/bry_inspectable_web_contents_view.h", "patch": "@@ -2,7 +2,8 @@\n \n @class BRYInspectableWebContentsViewPrivate;\n \n-@interface BRYInspectableWebContentsView : NSView <NSWindowDelegate> {\n+@interface BRYInspectableWebContentsView\n+ : NSView<NSWindowDelegate, NSSplitVi...
2013-12-12T09:26:04
huggingface/transformers
14b597f51837284f92c1753b2332e05d959bab1d
30580f035b3e3c449865fb1c0730f89820f98f34
Fix casting dtype for qunatization (#36799) * fix * remove print
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -732,6 +732,8 @@ def _infer_parameter_dtype(\n if keep_in_fp32_modules is not None and keep_in_fp32_modules.search(param_name):\n casting_dtype = torch.float32\n # Then dtype that was instantiated in the meta model -- n...
2025-03-18T17:46:03
golang/go
52df9291aa72c2db77f6a339b3a99c8a65875a47
c692f752b5b78b919e11f3fccf158bc7dc17920b
test/abi: reenable test on windows Reverses CL 308889. Fixes #45465. Updates #40724. Change-Id: I34b0d396dc34d0ec8c216e9b6a668de9dfce677c Reviewed-on: https://go-review.googlesource.com/c/go/+/310649 Trust: David Chase <drchase@google.com> Run-TryBot: David Chase <drchase@google.com> TryBot-Result: Go Bot <gobot@gola...
[ { "path": "test/abi/bad_select_crash.go", "patch": "@@ -1,8 +1,5 @@\n // build -goexperiment regabi,regabiargs\n \n-// +build !windows\n-//go:build !windows\n-\n // Copyright 2021 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in t...
2021-04-15T21:12:34
nodejs/node
7b6c4283d26079bb6fd3d300d0ac952a087d8a7b
d52878137d16d5170c6910ff5a1210156df03160
http2: fix premature destroy Check stream._writableState.finished instead of stream.writable as the latter can lead to premature calls to destroy and dropped writes on busy processes. PR-URL: https://github.com/nodejs/node/pull/21051 Fixes: https://github.com/nodejs/node/issues/20750 Reviewed-By: Anna Henningsen <ann...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -1896,7 +1896,7 @@ class Http2Stream extends Duplex {\n }\n \n // TODO(mcollina): remove usage of _*State properties\n- if (!this.writable) {\n+ if (this._writableState.finished) {\n if (!this.readable && this.closed) {\n this....
2018-05-31T08:39:19
vercel/next.js
bb200b922d4583fa86c87710deda2bdee2adfd37
5e55c3c340c7f6bb25aebb161e554db3cbfcef90
@next/font error messages (#42689) Fix wrong links. Add specific error message if Next.js version < 13. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature r...
[ { "path": "packages/font/google/index.js", "patch": "@@ -1,7 +1,15 @@\n+// Validate next version\n+const semver = require('next/dist/compiled/semver')\n+if (semver.lt(require('next/package.json').version, '13.0.0')) {\n+ throw new Error('`@next/font` is only available in Next.js 13 and newer.')\n+}\n+\n le...
2022-11-09T18:32:32
huggingface/transformers
30580f035b3e3c449865fb1c0730f89820f98f34
db1d4c5a0b1e39002232b9902301739ebf2164f7
Fix Mistral3 tests (#36797) * fix processor tests * fix modeling tests * fix test processor chat template * revert modeling test changes
[ { "path": "docs/source/en/model_doc/mistral3.md", "patch": "@@ -54,7 +54,7 @@ Here is how you can use the `image-text-to-text` pipeline to perform inference w\n ... },\n ... ]\n \n->>> pipe = pipeline(\"image-text-to-text\", model=\"../mistral3_weights\", torch_dtype=torch.bfloat16)\n+>>> pipe = pipelin...
2025-03-18T17:08:12
electron/electron
7708e7a8c4a9fe97a0b3c86a74e6400b638ded13
1c0b391419b035f78b41ee3bce8934f42896eef2
Update node for renderer node integration fixes.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit e8ddf565e88200dd71bf0d8f652ffc7ff10e66fa\n+Subproject commit 9a7dea6850695c4a7c783c721aec0d4e5f1245b4", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-12-12T08:49:56
golang/go
c692f752b5b78b919e11f3fccf158bc7dc17920b
e1f4feb3d652d90834974608bb1e83d161e88325
cmd/link/internal/ld: re-enable tests on darwin It looks like these are fixed again for darwin on current tip after CL 111258 marked them to be skipped. Updates #23168 Change-Id: I4abecee1152ccd4f2d44d76d1acdecb0d6140981 Reviewed-on: https://go-review.googlesource.com/c/go/+/308994 Trust: Tobias Klauser <tobias.klau...
[ { "path": "src/cmd/link/internal/ld/dwarf_test.go", "patch": "@@ -610,8 +610,8 @@ func TestInlinedRoutineRecords(t *testing.T) {\n \tif runtime.GOOS == \"plan9\" {\n \t\tt.Skip(\"skipping on plan9; no DWARF symbol table in executables\")\n \t}\n-\tif runtime.GOOS == \"solaris\" || runtime.GOOS == \"illumos\...
2021-04-16T08:17:34
nodejs/node
2efe4c29fe115db6d6f88056c91739590034d0d2
1c07ebfd97bf4d10a6c9220f12eb476c174ab3b0
test: fix flaky async-hooks/test-zlib.zlib-binding.deflate Previously, the typed arrays used in this test would not automatically be kept alive by the native handle when it’s using them, so the V8 garbage collector could collect them while they are still in use by the zlib module, leading to memory corruption. Fixes:...
[ { "path": "test/async-hooks/test-zlib.zlib-binding.deflate.js", "patch": "@@ -21,31 +21,37 @@ assert.strictEqual(typeof hdl.uid, 'number');\n assert.strictEqual(typeof hdl.triggerAsyncId, 'number');\n checkInvocations(hdl, { init: 1 }, 'when created handle');\n \n+// Store all buffers together so that they ...
2018-06-01T07:57:05
huggingface/transformers
3017536ebf3f215130cf4925a574c19fb4854cae
e959530b8f0011098246572e1777cac06e4bfe73
fix hqq due to recent modeling changes (#36771) * fix-hqq * style * test
[ { "path": "src/transformers/quantizers/quantizer_hqq.py", "patch": "@@ -169,7 +169,12 @@ def check_quantized_param(\n and tensor_name != \"bias\"\n )\n else:\n- return isinstance(module, torch.nn.Linear) and tensor_name == \"weight\"\n+ # we need a s...
2025-03-18T11:20:27
electron/electron
1c0b391419b035f78b41ee3bce8934f42896eef2
28f5d184b3216f8c9ee98c3038c084928b335082
Fix the black devtools view. Without using UnderlayOpenGLHostingWindow the devtools view would just be black.
[ { "path": "browser/ui/atom_event_processing_window.h", "patch": "@@ -7,10 +7,12 @@\n \n #import <Cocoa/Cocoa.h>\n \n+#import \"ui/base/cocoa/underlay_opengl_hosting_window.h\"\n+\n // Override NSWindow to access unhandled keyboard events (for command\n // processing); subclassing NSWindow is the only method...
2013-12-12T07:49:08
rust-lang/rust
98dd5a30b32c1311d5a44ebb2c0667a8ff0ef76a
65b87aae21096c0f22d141ceaf7030ebdf6edbe4
Fix for libgccjit 12
[ { "path": "src/intrinsic/llvm.rs", "patch": "@@ -22,6 +22,7 @@ fn encode_key_128_type<'a, 'gcc, 'tcx>(\n \"EncodeKey128Output\",\n &[field1, field2, field3, field4, field5, field6, field7],\n );\n+ #[cfg(feature = \"master\")]\n encode_type.as_type().set_packed();\n (encode_ty...
2025-04-18T15:45:30
golang/go
e1f4feb3d652d90834974608bb1e83d161e88325
d26fc68aa10dc8eda5ccdcc80d790e7df2fd9823
cmd/link/internal/ld: fix GOARCH in TestAbstractOriginSanityIssue25459 There is no x86 GOARCH, this should likely be 386. Change-Id: I16f1cf5edb0cce156d42ecb621b2ae481c8f1789 Reviewed-on: https://go-review.googlesource.com/c/go/+/308995 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobi...
[ { "path": "src/cmd/link/internal/ld/dwarf_test.go", "patch": "@@ -868,8 +868,8 @@ func TestAbstractOriginSanityIssue25459(t *testing.T) {\n \tif runtime.GOOS == \"solaris\" || runtime.GOOS == \"illumos\" || runtime.GOOS == \"darwin\" {\n \t\tt.Skip(\"skipping on solaris, illumos, and darwin, pending resolut...
2021-04-16T08:15:46
nodejs/node
1c07ebfd97bf4d10a6c9220f12eb476c174ab3b0
f86e5fc4370fb21c39109bcf388e0f25963b1832
stream: inline needMoreData function Inline the needMoreData function since it has only one call place. Update the related comment. Add a test for the edge case where HWM=0 and state.length=0. Add a test for ReadableStream.read(n) method's edge case where n, HWM and state.length are all zero. This proves that there is...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -270,7 +270,11 @@ function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {\n }\n }\n \n- return needMoreData(state);\n+ // We can push more data if we are below the highWaterMark.\n+ // Also, if we have no data yet, we can st...
2018-05-28T23:47:27
huggingface/transformers
e959530b8f0011098246572e1777cac06e4bfe73
bd9207369281ce77500b26250265ccff639ae303
Add Mistral3 (#36790) * initial start * style and dummies * Create convert_mistral3_weights_to_hf.py * update * typo * typo * Update convert_mistral3_weights_to_hf.py * Update convert_mistral3_weights_to_hf.py * Update convert_mistral3_weights_to_hf.py * Update convert_mistral3_weights_to_hf.py * up * Updat...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -529,6 +529,8 @@\n title: MegatronGPT2\n - local: model_doc/mistral\n title: Mistral\n+ - local: model_doc/mistral3\n+ title: Mistral3\n - local: model_doc/mixtral\n title: Mixtral\n - local: model_do...
2025-03-18T11:04:42
rust-lang/rust
9058bab9a9e88b90596019f686cce1f21ac19ef8
f727b3622bf69f44500e708f387160d5afbb39db
Move `<CStr as Debug>` test to coretests
[ { "path": "library/alloctests/tests/c_str2.rs", "patch": "@@ -33,12 +33,6 @@ fn build_with_zero2() {\n assert!(CString::new(vec![0]).is_err());\n }\n \n-#[test]\n-fn formatted() {\n- let s = CString::new(&b\"abc\\x01\\x02\\n\\xE2\\x80\\xA6\\xFF\"[..]).unwrap();\n- assert_eq!(format!(\"{s:?}\"), r#...
2025-04-18T14:30:38
electron/electron
61c63a6af9d63f757f9fa591543d13ff3ed5a1de
e4bfa373ded902bb0b5685893135a3165c409c96
Fix crashes about persistent v8 functions.
[ { "path": "common/api/atom_api_id_weak_map.cc", "patch": "@@ -63,9 +63,8 @@ void IDWeakMap::Add(const v8::FunctionCallbackInfo<v8::Value>& args) {\n v8::Local<v8::Object> v8_value = args[0]->ToObject();\n v8_value->SetHiddenValue(v8::String::New(\"IDWeakMapKey\"), ToV8Value(key));\n \n- RefCountedV8Obj...
2013-12-11T16:10:09
golang/go
d26fc68aa10dc8eda5ccdcc80d790e7df2fd9823
cf2396c70e7213570c69ca155203c25c960cc10c
cmd/internal/objabi,test: use correct GOEXPERIMENT build tags in test/run.go Currently, run.go sets GOEXPERIMENT build tags based on the *difference* from the baseline experiment configuration, rather than the absolute experiment configuration. This differs from cmd/go. As a result, if we set a baseline configuration ...
[ { "path": "src/cmd/internal/objabi/exp.go", "patch": "@@ -108,8 +108,9 @@ func parseExperiments() goexperiment.Flags {\n \n // expList returns the list of lower-cased experiment names for\n // experiments that differ from base. base may be nil to indicate no\n-// experiments.\n-func expList(exp, base *goexp...
2021-04-14T17:25:31
nodejs/node
f86e5fc4370fb21c39109bcf388e0f25963b1832
b8f8ca570243bb58337e547f7bf10515cfab0ea5
benchmark: refactor benchmark/assert/throws.js This is a minor refactor of benchmark/assert/throws.js to reduce exceptions that need to be made for lint compliance. PR-URL: https://github.com/nodejs/node/pull/21030 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Revie...
[ { "path": "benchmark/assert/throws.js", "patch": "@@ -1,7 +1,7 @@\n 'use strict';\n \n const common = require('../common.js');\n-const assert = require('assert');\n+const { throws, doesNotThrow } = require('assert');\n \n const bench = common.createBenchmark(main, {\n n: [1e6],\n@@ -14,8 +14,8 @@ const be...
2018-05-30T04:03:52
huggingface/transformers
bd9207369281ce77500b26250265ccff639ae303
7426d02ea8396aef6206fdbcdd7ae92f96a468b4
Fix gemma3_text tokenizer in mapping (#36793)
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -222,6 +222,13 @@\n \"GemmaTokenizerFast\" if is_tokenizers_available() else None,\n ),\n ),\n+ (\n+ \"gemma3_text\",\n+ (\n+ ...
2025-03-18T10:50:22
rust-lang/rust
ad560d6890bd376ed6bf41d3c1eb9b992f0ddf9d
968526f60d3c07bce440b9c1bb94bba8bc87f134
Support ide-assists raw_string suffix
[ { "path": "src/tools/rust-analyzer/crates/ide-assists/src/handlers/raw_string.rs", "patch": "@@ -2,7 +2,10 @@ use std::borrow::Cow;\n \n use syntax::{AstToken, TextRange, TextSize, ast, ast::IsString};\n \n-use crate::{AssistContext, AssistId, Assists, utils::required_hashes};\n+use crate::{\n+ AssistCon...
2025-04-18T14:05:56
electron/electron
e4bfa373ded902bb0b5685893135a3165c409c96
d53915c6ab7753adf1efb737481b07facb483900
Fix node integration to browser after updated to Chrome31.
[ { "path": "atom.gyp", "patch": "@@ -22,6 +22,7 @@\n 'browser/api/lib/power-monitor.coffee',\n 'browser/api/lib/protocol.coffee',\n 'browser/atom/atom.coffee',\n+ 'browser/atom/atom-renderer.coffee',\n 'browser/atom/objects-registry.coffee',\n 'browser/atom/rpc-server.coffe...
2013-12-11T15:59:03
golang/go
f08c552dabf4a75739e0f198804ae14368d31105
bdddfd10ec26e3d81639bcf8030c281aaf315615
net/http: add to deadlines only when positive The existing implementation allows read / write deadlines to exist in the past. This updates conditionals to only add to the deadline when the value is positive. Fixes: #39177 Change-Id: I841c30ba2849a337e7bc98c8aa136c4527c314ed Reviewed-on: https://go-review.googlesource...
[ { "path": "src/net/http/server.go", "patch": "@@ -964,14 +964,14 @@ func (c *conn) readRequest(ctx context.Context) (w *response, err error) {\n \t\thdrDeadline time.Time // or zero if none\n \t)\n \tt0 := time.Now()\n-\tif d := c.server.readHeaderTimeout(); d != 0 {\n+\tif d := c.server.readHeaderTime...
2020-05-27T15:54:41
vercel/next.js
fcfe914b62c739290174a2dc5b86e2edad93a263
77b5f79a4dff453abb62346bf75b14d859539b81
fix typo in api-reference next/sever (#42669) fix typo ResponseCooies to ResponseCookies
[ { "path": "docs/api-reference/next/server.md", "patch": "@@ -83,7 +83,7 @@ The `NextResponse` class extends the native [`Response`](https://developer.mozil\n Public methods are available on an instance of the `NextResponse` class. Depending on your use case, you can create an instance and assign to a variab...
2022-11-09T05:13:49