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
ee61a2880ab0b45ccc978fb37c3d8ad886e50397
58d9d2cf41d07e0f105e50e0bafe734b879c116d
Removes main error, fixes messaging for JSON parse
[ { "path": "default_app/main.js", "patch": "@@ -238,7 +238,7 @@ function loadApplicationPackage (packagePath) {\n try {\n packageJson = JSON.parse(fs.readFileSync(packageJsonPath))\n } catch (e) {\n- showErrorMessage('Unable to parse package.json, it contains errors.\\n\\n' +\n+ ...
2016-05-23T20:47:55
golang/go
e5e638e512e1ec27673d5e01e99eb870899be7f7
ed4db861182456a63b7d837780c146d4e58e63d8
cmd/compile: allow noop conversions when comparing expressions Allows mapclear optimization to trigger in more cases, including some generic instantiations. Fixes #51699 Change-Id: Ic54f7686e5fcb8fbcad640aa77ed326d7338b938 Reviewed-on: https://go-review.googlesource.com/c/go/+/393434 Trust: Keith Randall <khr@golang...
[ { "path": "src/cmd/compile/internal/ir/expr.go", "patch": "@@ -973,6 +973,12 @@ var IsIntrinsicCall = func(*CallExpr) bool { return false }\n // lvalue expression is for OSLICE and OAPPEND optimizations, and it\n // is correct in those settings.\n func SameSafeExpr(l Node, r Node) bool {\n+\tfor l.Op() == O...
2022-03-16T16:24:06
vercel/next.js
202dcb0e322d703ee9613653bd712a2c3733d4e0
931b1b5d87b7e5553840e2ddb031548ea5c16b5f
Update 10-router-handlers.mdx (#52098) Fixes a link for the Dynamic Functions shortcut.
[ { "path": "docs/02-app/01-building-your-application/01-routing/10-router-handlers.mdx", "patch": "@@ -89,7 +89,7 @@ Route handlers are evaluated dynamically when:\n \n - Using the `Request` object with the `GET` method.\n - Using any of the other HTTP methods.\n-- Using [Dynamic Functions](/#dynamic-functio...
2023-07-06T15:27:59
huggingface/transformers
aec03e5d1921038bdcb0bd8915e696ca02c82983
79f038631c5b2305b8b37dab4fc87ebb95c51cd6
Untangle config inheritance (#41541) * remove from base * delete * fetcher fix * missing values * update * is decoder missing * forgot to add * add special tokens with default `None` in text models * fsmt has unused subconfig, fix it! * update * fix * add missig token id defaults * fix more tests * tie_wo...
[ { "path": "examples/pytorch/speech-recognition/run_speech_recognition_ctc.py", "patch": "@@ -562,11 +562,9 @@ def remove_special_characters(batch):\n with open(vocab_file, \"w\") as file:\n json.dump(vocab_dict, file)\n \n- # if tokenizer has just been created\n- ...
2026-01-16T09:32:39
nodejs/node
ce7f3ed13ca15ae4c166d922e7ee39ad2ef41abb
8ef68e66d0465441a79a5dae22e480bf0d83ed25
deps: upgrade to libuv 1.31.0 Notable changes: - UV_FS_O_FILEMAP has been added for faster access to memory mapped files on Windows. - uv_fs_mkdir() now returns UV_EINVAL for invalid filenames on Windows. It previously returned UV_ENOENT. - The uv_fs_statfs() API has been added. - The uv_os_environ() and uv_os_fr...
[ { "path": "deps/uv/.gitignore", "patch": "@@ -51,6 +51,7 @@ Makefile.in\n /test/run-benchmarks\n /test/run-benchmarks.exe\n /test/run-benchmarks.dSYM\n+test_file_*\n \n *.sln\n *.sln.cache", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "deps/uv/.mailmap", "patch...
2019-08-09T15:03:55
golang/go
ed4db861182456a63b7d837780c146d4e58e63d8
91631bc7e0131367eb051b581cf34573399ac592
cmd/api: remove debug print Left over from CL 392414. Change-Id: I32ff1d660ba03d6c2005ad247e2129daf83aac04 Reviewed-on: https://go-review.googlesource.com/c/go/+/393361 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <...
[ { "path": "src/cmd/api/run.go", "patch": "@@ -61,7 +61,6 @@ func main() {\n \t\t\"-next\", strings.Join(next, \",\"),\n \t\t\"-except\", \"except.txt\",\n \t)\n-\tfmt.Println(cmd.Args)\n \tout, err := cmd.CombinedOutput()\n \tif err != nil {\n \t\tlog.Fatalf(\"Error running API checker: %v\\n%s\", err, out)...
2022-03-16T16:27:07
huggingface/transformers
79f038631c5b2305b8b37dab4fc87ebb95c51cd6
9eea1b0bd3b773b20610cceb61bd9e7a3ed61983
Do not skip integration tests (#42899) * do not skip tests * don't run on cuda * not related but tests fail, fix * maybe * revert * update values * fix --------- Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/granitemoehybrid/modeling_granitemoehybrid.py", "patch": "@@ -1482,8 +1482,8 @@ def forward(\n ```python\n >>> from transformers import AutoTokenizer, GraniteMoeHybridForCausalLM\n \n- >>> model = GraniteMoeHybridForCausalLM.from_pretrained(\"ibm/Pow...
2026-01-16T08:41:04
vercel/next.js
931b1b5d87b7e5553840e2ddb031548ea5c16b5f
ec195371279c1f612683aa79f0c4e107b0d0070b
[Docs] Add manual installation instructions for pages (#51995) Fixes: https://github.com/vercel/next.js/issues/51938
[ { "path": "docs/01-getting-started/01-installation.mdx", "patch": "@@ -69,9 +69,15 @@ These scripts refer to the different stages of developing an application:\n - `start`: runs [`next start`](/docs/app/api-reference/next-cli#production) to start a Next.js production server.\n - `lint`: runs [`next lint`](/...
2023-07-06T15:06:31
electron/electron
58d9d2cf41d07e0f105e50e0bafe734b879c116d
b08393a663d16468a7060a74e14be44a8985b3ac
Adds JSON parse, invalid and missing main field errors
[ { "path": "default_app/main.js", "patch": "@@ -234,43 +234,62 @@ function loadApplicationPackage (packagePath) {\n packagePath = path.resolve(packagePath)\n const packageJsonPath = path.join(packagePath, 'package.json')\n if (fs.existsSync(packageJsonPath)) {\n- const packageJson = JSON.par...
2016-05-23T19:00:55
rust-lang/rust
37115f1bd612a341f621bc60d09de93b8915d76b
c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2
Fix wrong cache event query key
[ { "path": "compiler/rustc_data_structures/src/profiling.rs", "patch": "@@ -142,7 +142,7 @@ const EVENT_FILTERS_BY_NAME: &[(&str, EventFilter)] = &[\n (\"generic-activity\", EventFilter::GENERIC_ACTIVITIES),\n (\"query-provider\", EventFilter::QUERY_PROVIDERS),\n (\"query-cache-hit\", EventFilter...
2025-07-07T13:16:42
golang/go
91631bc7e0131367eb051b581cf34573399ac592
81d3c25c6cf39a76b17ab4eda97e8ad7b92a21e9
cmd/link: mark unexported methods for plugins When plugin is used, we already mark all exported methods reachable. However, when the plugin and the host program share a common package, an unexported method could also be reachable from both the plugin and the host via interfaces. We need to mark them as well. Fixes #5...
[ { "path": "misc/cgo/testplugin/plugin_test.go", "patch": "@@ -283,6 +283,12 @@ func TestMethod2(t *testing.T) {\n \trun(t, \"./method2.exe\")\n }\n \n+func TestMethod3(t *testing.T) {\n+\tgoCmd(t, \"build\", \"-buildmode=plugin\", \"-o\", \"method3.so\", \"./method3/plugin.go\")\n+\tgoCmd(t, \"build\", \"-o...
2022-03-16T17:07:57
nodejs/node
df936c592596855ec9ad1141692faf0dc74f46f3
c146f884a320920b1f0b46defefb9b6d708f4455
dns: update lookupService() first arg name The first argument to lookupService() should be an IP address, and is named "address" in the documentation. This commit updates the code to match the documentation and provide less confusing errors. PR-URL: https://github.com/nodejs/node/pull/29040 Fixes: https://github.com/...
[ { "path": "lib/dns.js", "patch": "@@ -164,13 +164,12 @@ function onlookupservice(err, hostname, service) {\n }\n \n \n-// lookupService(address, port, callback)\n-function lookupService(hostname, port, callback) {\n+function lookupService(address, port, callback) {\n if (arguments.length !== 3)\n- thro...
2019-08-08T01:59:51
huggingface/transformers
9eea1b0bd3b773b20610cceb61bd9e7a3ed61983
847a68df5975649ea6ebe49969863b79c965a26b
[`FA`] Generalize fa config checks and fix flags (#43121) * fix fa checks * oops * yea makes sense * fix * did not intend to add this * fixup tests and wrong flags * fix * style * restrict target guided attn * remove sam and sam hq (dont support fa anyways), make it fallback as per internal discussion * miss...
[ { "path": "docs/source/en/attention_interface.md", "patch": "@@ -25,6 +25,7 @@ The [`AttentionInterface`] provides optimized attention implementations. It deco\n | `\"flash_attention_2\"` | tiles computations into smaller blocks and uses fast on-chip memory |\n | `\"flex_attention\"` | framework for specify...
2026-01-15T19:38:42
electron/electron
37a4267450f558dc753d37e57bc41866b18fb94c
2208b8bd6e0ea0b01543aa9085e2c2f35f174efb
Update brightray: fix Windows linking problem
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit fce0672771792023ef66e180db48a894bc132c7d\n+Subproject commit 8baf0b10bdf9c649463ee0b7c7f7a34c0332c285", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2016-05-23T14:24:43
rust-lang/rust
87e71fe07529e2eac43bb6d14fa58fa4fdb4f669
5df82239b004c815570b74847ed39e3d9c5ef53f
Fix rustc test suite
[ { "path": "scripts/test_rustc_tests.sh", "patch": "@@ -146,8 +146,7 @@ rm tests/ui/lint/non-snake-case/lint-non-snake-case-crate.rs # same\n rm tests/ui/async-await/async-drop/async-drop-initial.rs # same (rust-lang/rust#140493)\n rm -r tests/ui/codegen/equal-pointers-unequal # make incorrect assumptions ab...
2025-07-07T12:48:18
vercel/next.js
ec195371279c1f612683aa79f0c4e107b0d0070b
2743d0c037d8b4a73d3cdbc840b883623e53a2b7
Named page chunks (#51921) Depends on https://github.com/vercel/turbo/pull/5398 (and downstack) on the Turbo side. This PR makes it so the output path of Node.js entry chunks for pages is determined solely from the pathname. This isn't actually necessary for pages, but it makes for easier debugging anyway. See t...
[ { "path": "Cargo.lock", "patch": "@@ -412,7 +412,7 @@ dependencies = [\n [[package]]\n name = \"auto-hash-map\"\n version = \"0.1.0\"\n-source = \"git+https://github.com/vercel/turbo.git?tag=turbopack-230704.5#c9868f7310dfd1edc57e0e3d975394e8f7086c39\"\n+source = \"git+https://github.com/vercel/turbo.git?ta...
2023-07-06T14:31:22
golang/go
81d3c25c6cf39a76b17ab4eda97e8ad7b92a21e9
d661bdeabf479c39fe98c6fc598a6d8114047914
cmd/compile: remove unused code from typecheckdef typecheckdef used to be used to handle references to package-level declarations that hadn't yet been typechecked yet. It's no longer needed, as the current IR frontends construct package-level declarations with proper types upfront. Exception: this code is still used ...
[ { "path": "src/cmd/compile/internal/typecheck/typecheck.go", "patch": "@@ -1686,41 +1686,6 @@ func stringtoruneslit(n *ir.ConvExpr) ir.Node {\n \treturn Expr(nn)\n }\n \n-func typecheckdeftype(n *ir.Name) {\n-\tif base.EnableTrace && base.Flag.LowerT {\n-\t\tdefer tracePrint(\"typecheckdeftype\", n)(nil)\n-...
2022-03-16T06:07:41
nodejs/node
a0e2c6d2843ea6e37035a949827cdcc7949026d6
c065773cc56080b48ff4e29822152679f7db5573
src: add error codes to errors thrown in C++ PR-URL: https://github.com/nodejs/node/pull/27700 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "lib/internal/crypto/cipher.js", "patch": "@@ -12,7 +12,7 @@ const {\n ERR_INVALID_ARG_TYPE,\n ERR_INVALID_OPT_VALUE\n } = require('internal/errors').codes;\n-const { validateString } = require('internal/validators');\n+const { validateEncoding, validateString } = require('internal/validators'...
2019-05-11T17:00:38
huggingface/transformers
d9c61949918859ea302627b5532a753f06fc95c1
396caf560201ff8e81ccae58350237832963bba2
[LWDETR] update model repos from stevenbucaille to AnnaZhang (#43266) * docs: update model repos from stevenbucaille to AnnaZhang * docs: fix wrong model name
[ { "path": "docs/source/en/model_doc/lw_detr.md", "patch": "@@ -32,7 +32,7 @@ It enhances the DETR architecture for efficiency and speed using the following c\n 3. Faster Decoder: Employs a shallow 3-layer DETR decoder with deformable cross-attention for lower latency and faster convergence.\n 4. Optimized Q...
2026-01-15T16:23:29
electron/electron
2edf55957112d2edd80e152dae85449b28b11f3d
badecb49f372e72066d8726da6945b0427c9165b
Update brightray: fix OS X linking problem
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 8dfef9c08defd90d018594a4dda391ff536479a2\n+Subproject commit 7b6d8eb43e46146db544aba4a1dc69d88b98b3ab", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2016-05-23T13:05:26
rust-lang/rust
6d58a88c3ca2eefc24654700db522bfed668e1cb
c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2
`loop_match`: fix 'no terminator on block'
[ { "path": "compiler/rustc_mir_build/src/builder/scope.rs", "patch": "@@ -936,7 +936,9 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {\n \n valtree\n }\n- Err(ErrorHandled::Reported(..)) => return self.cfg.start_new_block().unit(),\n+ Err(ErrorHandled::Reported(..)) =>...
2025-07-07T11:55:40
vercel/next.js
26c0730911631d9fbd68fbdd782ce8bdc5ae3307
bb8cf5e3f28015af03c630fa781fc54abd239c99
[Docs] Document redirect parameters (#51987) Fixes: - https://github.com/vercel/next.js/issues/51975 - [Linear](https://linear.app/vercel/issue/DX-1713/docs-redirect-is-missing-an-explanation-not-redirecttype)
[ { "path": "docs/02-app/02-api-reference/04-functions/redirect.mdx", "patch": "@@ -3,11 +3,34 @@ title: redirect\n description: API Reference for the redirect function.\n ---\n \n-The `redirect` function allows you to redirect the user to another URL. If you need to redirect to a 404, you can use the [`notFo...
2023-07-06T13:10:10
huggingface/transformers
396caf560201ff8e81ccae58350237832963bba2
38e5987e1b9b320d44cb0ece00c4a4e34256964a
Fix eager experts for DeepSeekV2 (#43288) * Fix eager experts for DeepSeekV2 * Use @vasqu's fix instead * Propagate modular
[ { "path": "src/transformers/models/deepseek_v2/modeling_deepseek_v2.py", "patch": "@@ -116,7 +116,6 @@ def route_tokens_to_experts(self, router_logits):\n topk_weight, topk_idx = torch.topk(tmp_scores, k=self.top_k, dim=-1, sorted=False)\n \n topk_weight = topk_weight * self.routed_scali...
2026-01-15T15:48:51
golang/go
1024503f84b2ddcd59104ec5db36d10a8adaae99
a1bf50eefe35087ac7151116558f4c19095b8473
cmd/compile: Fatalf in Type.SetBroke(true) and Node.SetDiag(true) Type.Broke and Node.Diag were used in the legacy typechecker to allow reporting of multiple errors in a compilation unit, while suppressing unhelpful follow-on errors. However, that's no longer needed now that types2 handles (most) user-visible diagnost...
[ { "path": "src/cmd/compile/internal/ir/mini.go", "patch": "@@ -7,6 +7,7 @@\n package ir\n \n import (\n+\t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/types\"\n \t\"cmd/internal/src\"\n \t\"fmt\"\n@@ -56,7 +57,6 @@ func (n *miniNode) SetEsc(x uint16) { n.esc = x }\n const (\n \tminiWalkdefShif...
2022-03-16T05:34:19
nodejs/node
ef01d7cb6648b8f475714e2f9893e573d7293c16
bf692ce1e61948be8f258402768efe280069459b
util: improve debuglog performance PR-URL: https://github.com/nodejs/node/pull/28956 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9...
[ { "path": "lib/internal/util/debuglog.js", "patch": "@@ -33,7 +33,7 @@ function emitWarningIfNeeded(set) {\n \n function debuglogImpl(set) {\n set = set.toUpperCase();\n- if (!debugs[set]) {\n+ if (debugs[set] === undefined) {\n if (debugEnvRegex.test(set)) {\n const pid = process.pid;\n ...
2019-08-04T06:15:54
electron/electron
fca91db1334819fb2efa69798486ac99ee091383
c489d6d4b3b6a6ecbc1c555e484126dd1480f954
Fix showing context menu in devtools
[ { "path": "atom/browser/api/atom_api_menu_mac.mm", "patch": "@@ -7,6 +7,8 @@\n #include \"atom/browser/native_window.h\"\n #include \"base/message_loop/message_loop.h\"\n #include \"base/strings/sys_string_conversions.h\"\n+#include \"brightray/browser/inspectable_web_contents.h\"\n+#include \"brightray/bro...
2016-05-23T12:08:16
huggingface/transformers
38e5987e1b9b320d44cb0ece00c4a4e34256964a
d12672fc50c1393ef3bb0964aaebd4290d93e364
Fix MusicGen generation config (#43194) * fix tests * custom gen config now works
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1772,9 +1772,9 @@ def _prepare_generation_config(\n \"\"\"\n # parameterization priority:\n # user-defined kwargs or `generation_config` > `self.generation_config` > global default values\n- # TODO: (raushan) does...
2026-01-15T14:29:24
golang/go
a1bf50eefe35087ac7151116558f4c19095b8473
c0158b6a00eaecbd28ded0f66e65b9985f6db078
cmd/compile: detect invalid NIH conversions within unified IR Unified IR currently relies on typecheck to diagnose invalid //go:notinheap conversions, which prevents removing all of its (otherwise) dead error-reporting code. This CL updates the unified IR reader to instead proactively diagnose these invalid conversio...
[ { "path": "src/cmd/compile/internal/noder/reader.go", "patch": "@@ -1676,6 +1676,20 @@ func (r *reader) expr() (res ir.Node) {\n \t\ttyp := r.typ()\n \t\tpos := r.pos()\n \t\tx := r.expr()\n+\n+\t\t// TODO(mdempsky): Stop constructing expressions of untyped type.\n+\t\tx = typecheck.DefaultLit(x, typ)\n+\n+...
2022-03-16T05:25:36
vercel/next.js
bb8cf5e3f28015af03c630fa781fc54abd239c99
6dafc4229d1bbcf11b9a5c243f39a8e76de5a27f
Update eslint-plugin-react-hooks to 5.0.0-canary-7118f5dd7-20230705 (#52275) *This is a resubmit of https://github.com/vercel/next.js/pull/52268 because I neglected to run `pnpm install` last time and it was accidentally automerged before I could fix it.* 5.0.0-canary-7118f5dd7-20230705 includes a new lint error ...
[ { "path": "packages/eslint-config-next/package.json", "patch": "@@ -18,7 +18,7 @@\n \"eslint-plugin-import\": \"^2.26.0\",\n \"eslint-plugin-jsx-a11y\": \"^6.5.1\",\n \"eslint-plugin-react\": \"^7.31.7\",\n- \"eslint-plugin-react-hooks\": \"^4.5.0\"\n+ \"eslint-plugin-react-hooks\": \"5.0....
2023-07-06T12:23:14
nodejs/node
bf692ce1e61948be8f258402768efe280069459b
c15b4969e9f79cbe6d436a223390dbacb5329dfc
doc: fix nits in child_process.md * Use `console.error()` for error or stderr output. * Unify comment style. * Unify link format. * Correct link URL. * Fix some typos. PR-URL: https://github.com/nodejs/node/pull/29024 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Revie...
[ { "path": "doc/api/child_process.md", "patch": "@@ -17,7 +17,7 @@ ls.stdout.on('data', (data) => {\n });\n \n ls.stderr.on('data', (data) => {\n- console.log(`stderr: ${data}`);\n+ console.error(`stderr: ${data}`);\n });\n \n ls.on('close', (code) => {\n@@ -93,7 +93,7 @@ When running on Windows, `.bat` an...
2019-08-06T16:58:37
huggingface/transformers
d12672fc50c1393ef3bb0964aaebd4290d93e364
a85d6b2a1ecae042cba82663080d4c9b42fceb72
Simplify `_get_resolved_checkpoint_files` and do not try safetensors bot conversion with a subfolder (#43301) * refactor and prevent conversion * simplify * default to None * fix tests * fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -106,6 +106,7 @@\n copy_func,\n has_file,\n is_accelerate_available,\n+ is_env_variable_true,\n is_flash_attn_2_available,\n is_flash_attn_3_available,\n is_grouped_mm_available,\n@@ -504,6 +505,7 @@ def _get_resolved_ch...
2026-01-15T13:09:50
electron/electron
badecb49f372e72066d8726da6945b0427c9165b
9f858e1243e329dcfcc337646aba46a07a54943f
Update brightray: fix Linux linking problem
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit cf409eed8ff985df7c6fca101217526c2fdc152c\n+Subproject commit 8dfef9c08defd90d018594a4dda391ff536479a2", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2016-05-23T10:50:05
golang/go
c0158b6a00eaecbd28ded0f66e65b9985f6db078
3efc7215cbf6c7842cba0f5ebe90f72f0b6de9e1
go/internal/srcimporter: use the 'go' command from the Importer's GOROOT We have no guarantee in general that there is any 'go' command in $PATH at all, let alone the correct one. However, we can expect that if a 'go' command is not in scope, the Importer should have a correct GOROOT setting: otherwise, it would not b...
[ { "path": "src/go/internal/srcimporter/srcimporter.go", "patch": "@@ -205,7 +205,11 @@ func (p *Importer) cgo(bp *build.Package) (*ast.File, error) {\n \t}\n \tdefer os.RemoveAll(tmpdir)\n \n-\targs := []string{\"go\", \"tool\", \"cgo\", \"-objdir\", tmpdir}\n+\tgoCmd := \"go\"\n+\tif p.ctxt.GOROOT != \"\" ...
2022-03-11T03:56:00
huggingface/transformers
a85d6b2a1ecae042cba82663080d4c9b42fceb72
2b13b08d70d800a5040adb9142844a015bafc27b
fix subfolder issue (#43300) * fix subfolder issue * as it has a custom path make sure we test from subfolder * style
[ { "path": "src/transformers/processing_utils.py", "patch": "@@ -1520,7 +1520,9 @@ def _get_arguments_from_pretrained(cls, pretrained_model_name_or_path, processor\n if \"PixtralProcessor\" in cls.__name__:\n from .tokenization_utils_tokenizers import TokenizersBackend\n \...
2026-01-15T11:02:23
nodejs/node
6c3af76fef66c4319af45c08cc49a91ec4495214
e079f6c93e16008d5175e354160023124c5012fc
util: assert: fix deepEqual comparing fake-boxed to real boxed primitive PR-URL: https://github.com/nodejs/node/pull/29029 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By...
[ { "path": "lib/internal/util/comparisons.js", "patch": "@@ -221,7 +221,9 @@ function innerDeepEqual(val1, val2, strict, memos) {\n if (!areEqualArrayBuffers(val1, val2)) {\n return false;\n }\n- } else if (isBoxedPrimitive(val1) && !isEqualBoxedPrimitive(val1, val2)) {\n+ }\n+ if ((isBoxedP...
2019-08-06T20:41:13
huggingface/transformers
2b13b08d70d800a5040adb9142844a015bafc27b
7be2d3587efede549bfde514ffb7a00e6a9baa20
[Qwen-VL] min/max pixels gone forever (#43279) * min pixels fone forever * fix repo * fix other tests
[ { "path": "src/transformers/models/glm_image/image_processing_glm_image_fast.py", "patch": "@@ -96,8 +96,6 @@ class GlmImageImageProcessorFast(BaseImageProcessorFast):\n patch_size = 14\n temporal_patch_size = 2\n merge_size = 2\n- min_pixels = None\n- max_pixels = None\n valid_kwargs ...
2026-01-15T08:19:17
golang/go
3efc7215cbf6c7842cba0f5ebe90f72f0b6de9e1
33e752edd3f5fa5b738730513a7c1283d8e98fa2
fmt, strconv: document use of Unicode replacement character in %q Fixes #51526. Change-Id: I365a763454bd201f804df29f800416b1731b8ebc Reviewed-on: https://go-review.googlesource.com/c/go/+/390436 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Rob Pike <r@golang.org> TryBot-Result: ...
[ { "path": "src/fmt/doc.go", "patch": "@@ -110,6 +110,10 @@ For complex numbers, the width and precision apply to the two\n components independently and the result is parenthesized, so %f applied\n to 1.2+3.4i produces (1.200000+3.400000i).\n \n+When formatting a single integer code point or a rune string (t...
2022-03-08T14:51:29
nodejs/node
c072a807178230948ed40dea0708593663efa0cd
84a638484ead2074625ab5198338bcaf784625c6
fs: validate fds as int32s This commit updates the JS layer's validation of file descriptors to check for int32s >= 0 instead of uint32s. PR-URL: https://github.com/nodejs/node/pull/28984 Fixes: https://github.com/nodejs/node/issues/28980 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gus Caplan <me@...
[ { "path": "lib/fs.js", "patch": "@@ -395,14 +395,14 @@ function readFileSync(path, options) {\n }\n \n function close(fd, callback) {\n- validateUint32(fd, 'fd');\n+ validateInt32(fd, 'fd', 0);\n const req = new FSReqCallback();\n req.oncomplete = makeCallback(callback);\n binding.close(fd, req);\n ...
2019-08-05T16:59:28
electron/electron
f756a3e682ec3f0fa111c768f7535c5caa5387d1
44651656dd297b8ae0f8fb688bdfdad8860b0435
Fix crash when quitting
[ { "path": "atom/browser/api/trackable_object.h", "patch": "@@ -113,7 +113,7 @@ class TrackableObject : public TrackableObjectBase,\n \n void AfterInit(v8::Isolate* isolate) override {\n if (!weak_map_) {\n- weak_map_.reset(new atom::KeyWeakMap<int32_t>);\n+ weak_map_ = new atom::KeyWeakMap<i...
2016-05-23T08:03:49
vercel/next.js
6dafc4229d1bbcf11b9a5c243f39a8e76de5a27f
37c40b79c5232775bbc971dc3a6e91daeb3aa401
chore(deps): bump react to 7118f5dd7 (#52282) Fixes #49409 ### React upstream changes - https://github.com/facebook/react/pull/27045 - https://github.com/facebook/react/pull/27051 - https://github.com/facebook/react/pull/27032 - https://github.com/facebook/react/pull/27031 - https://github.com/facebook/react...
[ { "path": "package.json", "patch": "@@ -189,14 +189,14 @@\n \"random-seed\": \"0.3.0\",\n \"react\": \"18.2.0\",\n \"react-17\": \"npm:react@17.0.2\",\n- \"react-builtin\": \"npm:react@18.3.0-canary-1cea38448-20230530\",\n+ \"react-builtin\": \"npm:react@18.3.0-canary-7118f5dd7-20230705\",...
2023-07-06T12:04:21
huggingface/transformers
405d18dffefe708ea4877470f55cdfb084508149
3af7c35fa758868c4849882fa0e1be358c11baf2
Fix pipeline tests (#43293) * start * fix
[ { "path": "tests/pipelines/test_pipelines_question_answering.py", "patch": "@@ -197,20 +197,6 @@ def test_small_model_pt_bf16(self):\n \n self.assertEqual(nested_simplify(outputs), {\"score\": 0.063, \"start\": 0, \"end\": 11, \"answer\": \"HuggingFace\"})\n \n- @require_torch\n- def test_smal...
2026-01-14T18:24:18
golang/go
33e752edd3f5fa5b738730513a7c1283d8e98fa2
a3fcc755db54b89855519a5b3e3fb66ed9912497
syscall: ensure that Getwd returns absolute path Since Linux kernel 2.6.36, the pathname returned by the getcwd() system call can be prefixed with the string "(unreachable)" in some cases [1]. Getcwd should return an absolute path, and doing otherwise is a conformance issue; it also can be dangerous, since the path r...
[ { "path": "src/syscall/syscall_linux.go", "patch": "@@ -253,6 +253,13 @@ func Getwd() (wd string, err error) {\n \tif n < 1 || n > len(buf) || buf[n-1] != 0 {\n \t\treturn \"\", EINVAL\n \t}\n+\t// In some cases, Linux can return a path that starts with the\n+\t// \"(unreachable)\" prefix, which can potenti...
2022-02-21T22:54:05
nodejs/node
636dbfe787690f675305e8d5d0f642df8b29834d
0c9ad34427cdc8a68c8b3e7c2d4748f462567680
test: add test for OAEP hash mismatch PR-URL: https://github.com/nodejs/node/pull/28335 Fixes: https://github.com/nodejs/node/issues/25756 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
[ { "path": "test/parallel/test-crypto-rsa-dsa.js", "patch": "@@ -193,6 +193,11 @@ test_rsa('RSA_PKCS1_OAEP_PADDING', undefined, 'sha1');\n test_rsa('RSA_PKCS1_OAEP_PADDING', 'sha1', undefined);\n test_rsa('RSA_PKCS1_OAEP_PADDING', 'sha256', 'sha256');\n test_rsa('RSA_PKCS1_OAEP_PADDING', 'sha512', 'sha512');...
2019-07-30T10:19:08
electron/electron
44651656dd297b8ae0f8fb688bdfdad8860b0435
9d82041923850d7e5688ee4a8122e3f7c7baa26a
Fix building on Windows
[ { "path": "atom/browser/ui/win/notify_icon_host.h", "patch": "@@ -9,8 +9,7 @@\n \n #include <vector>\n \n-#include \"base/compiler_specific.h\"\n-#include \"base/memory/scoped_ptr.h\"\n+#include \"base/macros.h\"\n \n namespace atom {\n ", "additions": 1, "deletions": 2, "language": "C/C++ Heade...
2016-05-23T07:39:19
huggingface/transformers
3af7c35fa758868c4849882fa0e1be358c11baf2
0a5d574dd0d0dadfbbc981a572bd585284c2ed59
[CB] Refactor: extract common scheduling logic into Scheduler base class (#43237) * Refactor: extract common scheduling logic into Scheduler base class * Rebase: adapt scheduler refactor to latest upstream changes * Fix Scheduler.schedule_batch return type * Refactor scheduler: default safety_margin to 0.0 * Run m...
[ { "path": "src/transformers/generation/continuous_batching/scheduler.py", "patch": "@@ -55,7 +55,7 @@ def add_waiting_request(self, state: RequestState):\n self.waiting_requests_order.append(state.request_id)\n \n @abstractmethod\n- def schedule_batch(self, token_budget: int, cache_budget: in...
2026-01-14T18:23:07
vercel/next.js
628f0073f489329b2dd3449f6c99a27bcb69877f
ff3e76bec8362635add9344a65551eaa8e0ee77e
use a lock to ensure atomic invalidation from file changes (vercel/turbo#5461) ### Description fixes "app_dir must be a directory" error --------- Co-authored-by: Alex Kirszenberg <alexkirsz@users.noreply.github.com>
[ { "path": "crates/turbo-tasks-fs/src/lib.rs", "patch": "@@ -51,6 +51,7 @@ use serde_json::Value;\n use tokio::{\n fs,\n io::{AsyncBufReadExt, AsyncReadExt, BufReader},\n+ sync::{RwLock, RwLockReadGuard},\n };\n use tracing::{instrument, Level};\n use turbo_tasks::{\n@@ -156,6 +157,11 @@ pub struc...
2023-07-06T08:21:37
golang/go
95395fdbe3e76778a9035d9478f52513fc34a97b
1a2f72619510f944289587d41fcb86cad9026f7d
syscall: call ABIInternal entersyscall on register ABI platforms Currently, when register ABI is used, syscall.Syscall calls entersyscall via a wrapper, so the actual entersyscall records the caller PC and SP of the wrapper. At the point of the actual syscall, the wrapper frame is gone, so the recorded PC and SP are t...
[ { "path": "src/syscall/asm9_unix2_amd64.s", "patch": "@@ -13,7 +13,7 @@\n \n // func Syscall9(trap int64, a1, a2, a3, a4, a5, a6, a7, a8, a9 int64) (r1, r2, err int64);\n TEXT\t·Syscall9(SB),NOSPLIT,$0-104\n-\tCALL\truntime·entersyscall(SB)\n+\tCALL\truntime·entersyscall<ABIInternal>(SB)\n \tMOVQ\tnum+0(FP)...
2022-01-07T17:13:31
huggingface/transformers
0a5d574dd0d0dadfbbc981a572bd585284c2ed59
fc532243f16da431858c02e419db45db733fcb0c
Fix failing `fast_vlm` tests (#43275) Fix failing fast_vlm tests.
[ { "path": "tests/models/fast_vlm/test_modeling_fast_vlm.py", "patch": "@@ -246,7 +246,7 @@ def test_small_model_integration_test(self):\n prompt = \"user\\n<image>\\nWhat are the things I should be cautious about when I visit this place?\\nassistant\"\n image_file = \"https://llava-vl.github...
2026-01-14T17:25:23
electron/electron
9d82041923850d7e5688ee4a8122e3f7c7baa26a
d6f9e57e33c177ffc814a07fad9e8c5fe45c10f9
Fix js lint warnings
[ { "path": "lib/renderer/inspector.js", "patch": "@@ -1,6 +1,6 @@\n window.onload = function () {\n // Make sure |window.chrome| is defined for devtools extensions.\n- hijackSetInjectedScript(InspectorFrontendHost)\n+ hijackSetInjectedScript(window.InspectorFrontendHost)\n \n // Use menu API to show co...
2016-05-23T07:15:39
nodejs/node
0c9ad34427cdc8a68c8b3e7c2d4748f462567680
0b5b81c82af70072eac09d39ec43b5707d8d8a0c
crypto: extend RSA-OAEP support with oaepHash This adds an oaepHash option to asymmetric encryption which allows users to specify a hash function when using OAEP padding. This feature is required for interoperability with WebCrypto applications. PR-URL: https://github.com/nodejs/node/pull/28335 Fixes: https://github....
[ { "path": "doc/api/crypto.md", "patch": "@@ -2307,11 +2307,16 @@ An array of supported digest functions can be retrieved using\n <!-- YAML\n added: v0.11.14\n changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/28335\n+ description: The `oaepHash` option was added.\n - v...
2019-06-21T14:37:06
vercel/next.js
cee0599628eed54111f855e652da2115e141e083
ea676960de45d1c64bcfa1073c959759cc40e0d6
fix wrong Link import (#52298) <!-- 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(s) that you're making: ## For Contributors ### Improvin...
[ { "path": "docs/02-app/01-building-your-application/01-routing/03-linking-and-navigating.mdx", "patch": "@@ -66,7 +66,7 @@ You can use [`usePathname()`](/docs/app/api-reference/functions/use-pathname) to\n 'use client'\n \n import { usePathname } from 'next/navigation'\n-import { Link } from 'next/link'\n+i...
2023-07-06T05:08:22
huggingface/transformers
34691a98eebd2e37f65275b0bac63f4964369a37
d1808f2c36c02faad537f9737a76165e49b041f9
[`Docs`] Minimax M2 add release date (#43290) fix
[ { "path": "docs/source/en/model_doc/minimax_m2.md", "patch": "@@ -16,7 +16,7 @@ limitations under the License.\n ⚠️ Note that this file is in Markdown but contain specific syntax for our doc-builder (similar to MDX) that may not be rendered properly in your Markdown viewer.\n \n -->\n-*This model was releas...
2026-01-14T16:43:49
golang/go
1a2f72619510f944289587d41fcb86cad9026f7d
5fd0ed7aaf39f783ea6f505a3f2ac7d9da7cb03b
runtime/pprof: do not require a GOROOT/src prefix in tests When paths are trimmed, the reported file locations begin with the package import path (not GOROOT/src). Updates #51461 Change-Id: Idbd408a02e8d03329d10e30b0b08263e69e66285 Reviewed-on: https://go-review.googlesource.com/c/go/+/391812 Trust: Bryan Mills <bcm...
[ { "path": "src/runtime/pprof/mprof_test.go", "patch": "@@ -93,31 +93,31 @@ func TestMemoryProfiler(t *testing.T) {\n \t}{{\n \t\tstk: []string{\"runtime/pprof.allocatePersistent1K\", \"runtime/pprof.TestMemoryProfiler\"},\n \t\tlegacy: fmt.Sprintf(`%v: %v \\[%v: %v\\] @ 0x[0-9,a-f]+ 0x[0-9,a-f]+ 0x[0-9,a-f]...
2022-03-10T15:41:54
electron/electron
d6f9e57e33c177ffc814a07fad9e8c5fe45c10f9
de1fc9d4326047bbad5bf1a311200cf7b8578166
Fix chrome.devtools not available in devtools extensions
[ { "path": "lib/renderer/inspector.js", "patch": "@@ -1,11 +1,26 @@\n window.onload = function () {\n+ // Make sure |window.chrome| is defined for devtools extensions.\n+ hijackSetInjectedScript(InspectorFrontendHost)\n+\n // Use menu API to show context menu.\n window.InspectorFrontendHost.showContext...
2016-05-23T07:04:10
nodejs/node
4c9fb0b706c6df44393e2b46985320c089aa1784
320402c1a18d877fa93c440af17b852612ff7f44
events: give subclass name in unhandled 'error' message For unhandled `'error'` events, include the constructor name for subclasses of EventEmitter, if possible. This makes tracing errors easier when both creation of the `Error` object and emitting it happen in code that does not refer back to the event emitter. PR-U...
[ { "path": "lib/events.js", "patch": "@@ -136,7 +136,13 @@ function identicalSequenceRange(a, b) {\n }\n \n function enhanceStackTrace(err, own) {\n- const sep = '\\nEmitted \\'error\\' event at:\\n';\n+ let ctorInfo = '';\n+ try {\n+ const { name } = this.constructor;\n+ if (name !== 'EventEmitter'...
2019-08-03T21:29:42
rust-lang/rust
9adbf6270ec86af6f3cd28e5a315553a034b0d4d
c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2
Disable download-rustc for library profile The feature currently completely breaks `x test`, core functionality of working on the standard library. Therefore it should be disabled by default until that problem is fixed. Having to wait a bit longer for a check build is nothing compared to completely mysterious build ...
[ { "path": "src/bootstrap/defaults/bootstrap.library.toml", "patch": "@@ -12,7 +12,8 @@ lto = \"off\"\n #\n # If compiler-affecting directories are not modified, use precompiled rustc to speed up\n # library development by skipping compiler builds.\n-download-rustc = \"if-unchanged\"\n+# FIXME: download-rust...
2025-07-07T11:02:00
huggingface/transformers
d1808f2c36c02faad537f9737a76165e49b041f9
3d276453a2b7c74f3259b1c136db3dd79c51756b
[ci] Fixing some failing tests for important models (#43231) * fix gpt2 tests * use_safetensors=False for facebook/detr-resnet-50 * use @require_read_token decorator for LlamaTokenizationTest * update an expected_output * style * fix an expectation * remove @require_read_token decorator, smoother process is comi...
[ { "path": "tests/models/detr/test_modeling_detr.py", "patch": "@@ -748,7 +748,9 @@ def default_image_processor(self):\n )\n \n def test_inference_no_head(self):\n- model = DetrModel.from_pretrained(\"facebook/detr-resnet-50\", revision=\"no_timm\").to(torch_device)\n+ model = DetrM...
2026-01-14T16:16:19
vercel/next.js
ea676960de45d1c64bcfa1073c959759cc40e0d6
6527d29c8a1b5f7f497107bb39a46025e4459318
fix: correct `modularizeImports` for antd & ant-design/icons (#52169) <!-- 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(s) that you're making:...
[ { "path": "packages/next/src/server/config.ts", "patch": "@@ -714,13 +714,13 @@ function assignDefaults(\n transform: 'react-bootstrap/{{member}}',\n },\n antd: {\n- transform: 'antd/es/{{kebabCase member}}',\n+ transform: 'antd/lib/{{kebabCase member}}',\n },\n ahooks: {\n ...
2023-07-06T05:03:46
golang/go
5fd0ed7aaf39f783ea6f505a3f2ac7d9da7cb03b
d34287a4f68de5b8a796ec50b8c6b0582a4afc40
cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled When ASan is enabled, treat conversions to unsafe.Pointer as an escaping operation. In this way, all pointer operations on the stack objects will become operations on the escaped heap objects. As we've already supported ASan ...
[ { "path": "misc/cgo/testsanitizers/asan_test.go", "patch": "@@ -41,6 +41,9 @@ func TestASAN(t *testing.T) {\n \t\t{src: \"asan4_fail.go\", memoryAccessError: \"use-after-poison\", errorLocation: \"asan4_fail.go:13\"},\n \t\t{src: \"asan5_fail.go\", memoryAccessError: \"use-after-poison\", errorLocation: \"a...
2021-06-07T06:24:45
rust-lang/rust
796b4d1fb40d2d4030d53e0f7c9d82cc12b0d3f8
cf7e896cf8f2dd744f2690c236dd818eeb86ccc2
Point to correct argument in Func Call when Self type fails trait bound When a trait bound fails due to the Self type parameter, adjust_fulfillment_errors now correctly points to the corresponding function argument instead of incorrectly pointing to other arguments. Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
[ { "path": "compiler/rustc_hir_typeck/src/fn_ctxt/adjust_fulfillment_errors.rs", "patch": "@@ -184,9 +184,14 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {\n return true;\n }\n \n- for param in [param_to_point_at, fallback_param_to_point_at, self_param_to_point_at]\n-...
2025-07-07T08:43:30
electron/electron
de1fc9d4326047bbad5bf1a311200cf7b8578166
a92b4a6da4898257e7743e27f2a132062110b607
Fix building on Linux
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 531df4370bee785169d1d6a03f1746895e446912\n+Subproject commit 7e685c19fd7600ce360c55ac5ee80d621849214f", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2016-05-23T06:10:55
nodejs/node
320402c1a18d877fa93c440af17b852612ff7f44
f1478e1789c87a5b20d1a6ed7f58a4bfb07d3e13
fs: fix (temporary) for esm package Fix to unblock CITGM. See, https://github.com/standard-things/esm/issues/821. PR-URL: https://github.com/nodejs/node/pull/28957 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Re...
[ { "path": "lib/internal/fs/utils.js", "patch": "@@ -345,6 +345,10 @@ function Stats(dev, mode, nlink, uid, gid, rdev, blksize,\n Object.setPrototypeOf(Stats.prototype, StatsBase.prototype);\n Object.setPrototypeOf(Stats, StatsBase);\n \n+// HACK: Workaround for https://github.com/standard-things/esm/issues/...
2019-08-04T13:13:33
huggingface/transformers
3d276453a2b7c74f3259b1c136db3dd79c51756b
77146cc9088ec8fc1dd476b40b1c6cdb0792afe3
Add LightOnOCR model implementation (#41621) * Add LightOnOCR model implementation * fix modular docstring error * Improve LightOnOCR documentation and exports * Rename LightOnOCR multi-modal projector to vision projection and add tests * fix load without lmhead in safetensor * temp * Refactor LightOnOCR config ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1115,6 +1115,8 @@\n title: LayoutXLM\n - local: model_doc/lfm2_vl\n title: LFM2-VL\n+ - local: model_doc/lighton_ocr\n+ title: LightOnOcr\n - local: model_doc/lilt\n title: LiLT\n - local: model_doc/...
2026-01-14T15:37:50
vercel/next.js
6527d29c8a1b5f7f497107bb39a46025e4459318
525ffb4334e7c7d6f3b31d9bcf01ac31afb8ce61
docs: Improve some of the error messages pages. (#52271) Now that we've improved `/messages` (https://github.com/vercel/next.js/pull/52038), we'd like to start updating some of the content as well 🙏
[ { "path": "errors/404-get-initial-props.mdx", "patch": "@@ -1,17 +1,21 @@\n ---\n title: 404.js Cannot Have getInitialProps\n+description: This document provides an understanding of the \"404.js Cannot Have getInitialProps\" error in Next.js and offers solutions to fix it.\n ---\n \n ## Why This Error Occur...
2023-07-06T02:22:34
golang/go
d34287a4f68de5b8a796ec50b8c6b0582a4afc40
6e49c592de91fd7ea7d47aa50360a1c4f49172f8
cmd/link: default generic ABI compression for ELF This CL change all debug dwarf headers to generic ABI "Compression header" for ELF (http://www.sco.com/developers/gabi/latest/ch4.sheader.html#compression_header) Fixes #50796 Change-Id: I188625e596f11cd120dbd802ac2d79341d5eaf41 Reviewed-on: https://go-review.googles...
[ { "path": "src/cmd/link/elf_test.go", "patch": "@@ -455,6 +455,9 @@ func TestPIESize(t *testing.T) {\n \t\t\textraexe := extrasize(elfexe)\n \t\t\textrapie := extrasize(elfpie)\n \n+\t\t\tif sizepie < sizeexe || sizepie-extrapie < sizeexe-extraexe {\n+\t\t\t\treturn\n+\t\t\t}\n \t\t\tdiffReal := (sizepie - ...
2022-01-26T02:23:48
rust-lang/rust
9360f7c24465ae9fbb6df707332bfc268c05ae66
989bb25293f6d53f89821ea56f4b5e3ce5db3421
Don't call collect_debug_info when debuginfo is disabled
[ { "path": "src/base.rs", "patch": "@@ -63,7 +63,9 @@ pub(crate) fn codegen_fn<'tcx>(\n func.clear();\n func.name = UserFuncName::user(0, func_id.as_u32());\n func.signature = sig;\n- func.collect_debug_info();\n+ if cx.debug_context.is_some() {\n+ func.collect_debug_info();\n+ }\...
2025-06-27T12:32:43
electron/electron
4ccf4394d78f0e725dc18f11445727bc39bc0124
0a5c4b8ced5f6037fab6d4da81b039f411e03be0
Fix compilation errors on Linux
[ { "path": "brightray/browser/net/devtools_network_controller_handle.h", "patch": "@@ -5,6 +5,7 @@\n #ifndef BROWSER_DEVTOOLS_NETWORK_CONTROLLER_HANDLE_H_\n #define BROWSER_DEVTOOLS_NETWORK_CONTROLLER_HANDLE_H_\n \n+#include <memory>\n #include <string>\n \n #include \"base/macros.h\"", "additions": 1, ...
2016-05-23T06:08:20
nodejs/node
aa252ebf66c4ba5a5861293e7b95beb3436ff780
5eaef7b9151037c727806a8a40c8f6d5bdb26386
Revert "src: remove trace_sync_io_ from env" This reverts commit 7fa5f54e6f2854183e45e0e105a1e22a381aac60. The reverted commit breaks the logic behind --trace-sync-io, it should be enabled only at a certain point in time, while that commit enables it from the very start, causing warnings be printed for all sync io in...
[ { "path": "src/env-inl.h", "patch": "@@ -465,7 +465,7 @@ inline void Environment::set_printed_error(bool value) {\n }\n \n inline void Environment::set_trace_sync_io(bool value) {\n- options_->trace_sync_io = value;\n+ trace_sync_io_ = value;\n }\n \n inline bool Environment::abort_on_uncaught_exception()...
2019-08-01T15:18:22
huggingface/transformers
77146cc9088ec8fc1dd476b40b1c6cdb0792afe3
61317f5ac78511a1c02b08c0e73012d9542183ed
fix crash in when running FSDP2+TP (#43226) * fix crash in when running FSDP2+TP Signed-off-by: Wang, Yi <yi.a.wang@intel.com> * update Signed-off-by: Wang, Yi <yi.a.wang@intel.com> * fix tp only issue Signed-off-by: Wang, Yi <yi.a.wang@intel.com> --------- Signed-off-by: Wang, Yi <yi.a.wang@intel.com> Co-autho...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2333,11 +2333,7 @@ def _inner_training_loop(\n if use_accelerator_prepare:\n self.model.train()\n if hasattr(self.lr_scheduler, \"step\"):\n- # We should avoid accelerate preparing the model in TP case sinc...
2026-01-14T15:04:28
vercel/next.js
927fc9e2209b4c42f5850020fa952d6da7648397
3fb3bbbcb3bbbf9d21529ef5fae2b42877d709a0
skip hot reload sync event for applying hmr updates (#52270) ### Issue x-ref: https://github.com/vercel/next.js/actions/runs/5469070005/jobs/9957658991?pr=52282#step:27:526 metadata tests are failing as flaky recently, then after digging into it, noticed it as a hmr issue. **Steps to repro with metadata test ...
[ { "path": "packages/next/src/client/components/react-dev-overlay/hot-reloader-client.tsx", "patch": "@@ -335,9 +335,9 @@ function processMessage(\n )\n \n const isHotUpdate =\n- obj.action !== 'sync' ||\n- ((!window.__NEXT_DATA__ || window.__NEXT_DATA__.page !== '/_error') &&\n- ...
2023-07-06T00:06:11
golang/go
6e49c592de91fd7ea7d47aa50360a1c4f49172f8
1cb34fbb26a406faa64f696242841ddff64517c9
go/types: return Universe for (*Package)(nil).Scope() Port of go.dev/cl/325469. Fixes #46594. Change-Id: I4bcdafecaa86885360599c204678871646bb221b Reviewed-on: https://go-review.googlesource.com/c/go/+/385997 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: ...
[ { "path": "src/go/types/package.go", "patch": "@@ -39,7 +39,13 @@ func (pkg *Package) SetName(name string) { pkg.name = name }\n // Scope returns the (complete or incomplete) package scope\n // holding the objects declared at package level (TypeNames,\n // Consts, Vars, and Funcs).\n-func (pkg *Package) Sco...
2022-02-15T01:20:48
rust-lang/rust
8b33e93676f12b68d32ad95b3e9a1e2b37d0fa00
0d11be5aabe0cd49609fff5fce57c4691a22fe55
Fix `x86_64-unknown-netbsd` platform support page `x86_64-unknown-netbsd` is Tier 2 with host tools, not Tier 3.
[ { "path": "src/doc/rustc/src/platform-support/netbsd.md", "patch": "@@ -1,7 +1,5 @@\n # \\*-unknown-netbsd\n \n-**Tier: 3**\n-\n [NetBSD] multi-platform 4.4BSD-based UNIX-like operating system.\n \n [NetBSD]: https://www.NetBSD.org/\n@@ -11,19 +9,19 @@ where `$ARCH` specifies the target processor architectu...
2025-07-07T08:15:13
huggingface/transformers
1efe1a633a47628134a2ba6376512af99cc3c9df
e8ae373133be1eff2254c5dd71fcd628445cb4a4
Fix failing `PegasusX`, `Mvp` & `LED` model integration tests (#43245) * Fix failing tests due to batch_encode_plus * Updated expected values.
[ { "path": "tests/models/led/test_modeling_led.py", "patch": "@@ -548,7 +548,7 @@ def test_seq_to_seq_generation(self):\n \n ARTICLE_MAGNET = r\"\"\"it is well known that the classical magnetoresistance ( mr ) in metals or semiconductors with a closed free electron fermi surface increases quadratical...
2026-01-14T13:08:01
electron/electron
a92b4a6da4898257e7743e27f2a132062110b607
fa0ce7ad5ff63e016a75047d7c0271a3baec5398
Make |button| default to left button This fixes the failing test of sendInputEvent.
[ { "path": "atom/common/native_mate_converters/blink_converter.cc", "patch": "@@ -92,6 +92,8 @@ struct Converter<blink::WebMouseEvent::Button> {\n *out = blink::WebMouseEvent::Button::ButtonMiddle;\n else if (button == \"right\")\n *out = blink::WebMouseEvent::Button::ButtonRight;\n+ else\...
2016-05-23T05:26:38
nodejs/node
5eaef7b9151037c727806a8a40c8f6d5bdb26386
e6c205265a8812b426d0a3c8f3d28c7bf0db224d
doc: describe NODE_OPTIONS interop w/cmd line opts Fixes https://github.com/nodejs/node/issues/28910 PR-URL: https://github.com/nodejs/node/pull/28928 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihri...
[ { "path": "doc/api/cli.md", "patch": "@@ -950,16 +950,35 @@ When set to `1`, process warnings are silenced.\n added: v8.0.0\n -->\n \n-A space-separated list of command line options. `options...` are interpreted as\n-if they had been specified on the command line before the actual command line\n-(so they ca...
2019-08-01T18:04:47
rust-lang/rust
229be21d0d5297a66e7fe6b56606d0549bfccd5f
0d11be5aabe0cd49609fff5fce57c4691a22fe55
Add ui test unnessary-error-issue-138401.rs Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
[ { "path": "tests/ui/parser/issues/unnessary-error-issue-138401.rs", "patch": "@@ -0,0 +1,7 @@\n+pub fn foo(x: i64) -> i64 {\n+ x.abs) \n+ //~^ ERROR mismatched closing delimiter\n+}\n+//~^ ERROR unexpected closing delimiter: `}`\n+\n+fn main() {}", "additions": 7, "deletions": 0, "language...
2025-06-24T08:09:42
huggingface/transformers
38022fd891209fa1e386b9afb971a9d2d35ec175
e977446e632670f9972fc4ff1432b414c8b813cb
[style] Fix init isort and align makefile and CI (#43260) * add other folders to CI style check * fix init_sort * match the rules * improve * date * oupsi revert * fix doc
[ { "path": ".circleci/config.yml", "patch": "@@ -154,13 +154,10 @@ jobs:\n command: pip freeze | tee installed.txt\n - store_artifacts:\n path: ~/transformers/installed.txt\n- - run: python -c \"from transformers import *\" || (echo '🚨 import failed, ...
2026-01-13T17:08:07
golang/go
0d71234ee4cfcac4a6664d8fef4be575cca1d7c7
db3045b4be5b91cd42c3387dc550c89bbc2f7fb4
reflect: avoid panic in reflect.Kind.String for negative Kind Kind(-1).String() used to panic; let's not. Change-Id: I1dfc0e3298beb37d77713d8327579bbde90dd156 Reviewed-on: https://go-review.googlesource.com/c/go/+/393015 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "src/reflect/all_test.go", "patch": "@@ -7807,3 +7807,12 @@ func TestIssue50208(t *testing.T) {\n \t\tt.Errorf(\"name of type parameter mismatched, want:%s, got:%s\", want2, got)\n \t}\n }\n+\n+func TestNegativeKindString(t *testing.T) {\n+\tx := -1\n+\ts := Kind(x).String()\n+\twant := \"kind-1\"...
2022-03-15T17:36:10
nodejs/node
747ddd5fac191d018c6e9720f21d3ea66872d667
2b03e1d0a5ef2a52e4d7ce550b74a961c62e185a
doc: fix sorting nit in sections of http.md PR-URL: https://github.com/nodejs/node/pull/28943 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/http.md", "patch": "@@ -1436,6 +1436,16 @@ response.statusMessage = 'Not found';\n After response header was sent to the client, this property indicates the\n status message which was sent out.\n \n+### response.writableFinished\n+<!-- YAML\n+added: v12.7.0\n+-->\n+\n+* {boolean}\n+\n+Is ...
2019-08-02T16:39:49
vercel/next.js
f9a181342f32bae5dc4ca77fc7340afaf99f51a3
e27832665ae9e0289eb8fc09909e06fc649e385a
Remove the outdated error for find page dir (#52274) Found this function is used by `nextra` and log unexpected warning sometimes ``` // node_modules/.pnpm/nextra@2.8.0_2yzqpfdqpxhuhtk2arnb2je2cq/node_modules/nextra/dist/index.js // src/file-system.ts var findPagesDirImport = __toESM(require("next/dist/lib/find-pages...
[ { "path": "packages/next/src/lib/find-pages-dir.ts", "patch": "@@ -1,6 +1,5 @@\n import fs from 'fs'\n import path from 'path'\n-import * as Log from '../build/output/log'\n \n export const existsSync = (f: string): boolean => {\n try {\n@@ -39,16 +38,6 @@ export function findPagesDir(\n }\n \n if (!i...
2023-07-05T23:31:59
electron/electron
06800940eca919b440e76c11b3db2db1ac43627b
4b675a741d047c2da6086992caed05d59440f296
Fix cpplint warnings
[ { "path": "atom/app/atom_main_delegate.cc", "patch": "@@ -134,7 +134,8 @@ content::ContentUtilityClient* AtomMainDelegate::CreateContentUtilityClient() {\n return utility_client_.get();\n }\n \n-std::unique_ptr<brightray::ContentClient> AtomMainDelegate::CreateContentClient() {\n+std::unique_ptr<brightray...
2016-05-23T04:03:43
rust-lang/rust
2765bd48f0560ac483b9589f55ca3fa2287697f3
0d11be5aabe0cd49609fff5fce57c4691a22fe55
std: fix typo in `std::path` Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
[ { "path": "library/std/src/path.rs", "patch": "@@ -1244,7 +1244,7 @@ impl PathBuf {\n ///\n /// The caller has free choice over the returned lifetime, including 'static.\n /// Indeed, this function is ideally used for data that lives for the remainder of\n- /// the program’s life, as dropping...
2025-07-07T07:20:22
huggingface/transformers
e977446e632670f9972fc4ff1432b414c8b813cb
d79b0b885288cc71876b5d34e2c315bf66265f2a
Fix failing `Hiera`, `SwiftFormer` & `LED` Model integration tests (#43225) * Fix failing Hiera, LED ModelIntegrationTests * swiftformer * update expectations to a10 --------- Co-authored-by: vasqu <antonprogamer@gmail.com>
[ { "path": "tests/models/hiera/test_modeling_hiera.py", "patch": "@@ -557,7 +557,7 @@ def test_inference_image_classification_head(self):\n \n expected_slice = torch.tensor([[0.8028, 0.2409, -0.2254, -0.3712, -0.2848]]).to(torch_device)\n \n- torch.testing.assert_close(outputs.logits[0, :5], e...
2026-01-13T15:40:06
golang/go
db3045b4be5b91cd42c3387dc550c89bbc2f7fb4
b4428325e266d8ffdd1131d71862f0767c616e27
cmd/asm: support -d=pctab flag To debug PC data generation. Change-Id: Id7ac8d607cc27ad52db490bd758c3a768c3e1df2 Reviewed-on: https://go-review.googlesource.com/c/go/+/388015 Trust: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> Reviewed-by: Than McIntosh <thanm@google.com> TryBot-Resul...
[ { "path": "src/cmd/asm/internal/flags/flags.go", "patch": "@@ -30,6 +30,7 @@ var (\n \n var DebugFlags struct {\n \tMayMoreStack string `help:\"call named function before all stack growth checks\"`\n+\tPCTab string `help:\"print named pc-value table\\nOne of: pctospadj, pctofile, pctoline, pctoinline...
2022-02-25T04:44:05
nodejs/node
2b03e1d0a5ef2a52e4d7ce550b74a961c62e185a
36864a60fa25394fa034a9bea7c9928c301c0d8f
http2: destroy when settingsFn throws an error http2.connect should call destroy when init fails. PR-URL: https://github.com/nodejs/node/pull/28908 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trot...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -972,7 +972,13 @@ class Http2Session extends EventEmitter {\n if (socket.connecting) {\n const connectEvent =\n socket instanceof tls.TLSSocket ? 'secureConnect' : 'connect';\n- socket.once(connectEvent, setupFn);\n+ socket.onc...
2019-07-31T14:20:13
rust-lang/rust
a743efc0e5d5069566c9b2fd8df80ef1d121e297
60a978d2e9c7b49f21de9d665365427882e781ae
Fix few typos
[ { "path": "clippy_lints/src/disallowed_macros.rs", "patch": "@@ -71,11 +71,11 @@ pub struct DisallowedMacros {\n \n // When a macro is disallowed in an early pass, it's stored\n // and emitted during the late pass. This happens for attributes.\n- earlies: AttrStorage,\n+ early_macro_cache: Att...
2025-07-05T20:43:57
electron/electron
530f19e9561a4c684271ba5ba612a68cacc51ba7
899cdb48d7975ab38547ada1a37cd0a5dc115d8f
Fix crash due to site_instace being freed early
[ { "path": "atom/browser/atom_browser_client.cc", "patch": "@@ -52,6 +52,9 @@ bool g_suppress_renderer_process_restart = false;\n // Custom schemes to be registered to handle service worker.\n std::string g_custom_service_worker_schemes = \"\";\n \n+void Noop(scoped_refptr<content::SiteInstance>) {\n+}\n+\n ...
2016-05-23T03:57:46
huggingface/transformers
d79b0b885288cc71876b5d34e2c315bf66265f2a
159219a6601ab87787b75cdc270b3b2438a9f0cf
fix `_get_test_info` in `testing_utils.py` (#43259) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -3318,7 +3318,7 @@ def _get_test_info():\n # check frame's function + if it has `self` as locals; double check if self has the (function) name\n # TODO: Question: How about expanded?\n if (\n- frame.function == te...
2026-01-13T15:28:36
vercel/next.js
267c2d29cd75e1b3df446e509b4ecec0d5930a0e
31dee6f38add2032d217967cbbc61567244804ce
Use 127.0.0.1 as the default host for the standalone server (#52283) This helps getting rid of the ``` Error: connect ECONNREFUSED ::1:64696 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) { errno: -61, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 64696 } ``` error ...
[ { "path": "packages/next/src/server/lib/render-server-standalone.ts", "patch": "@@ -69,7 +69,9 @@ export const createServerHandler = async ({\n didInitialize = true\n \n const getProxyServer = (pathname: string) => {\n- const targetUrl = `http://${hostname}:${routerPort}${pathname}`\n+ const targe...
2023-07-05T22:20:29
golang/go
4e26ab0ed891530cd07174813b89cea04b0fa559
1178255f8596ea503daf30c84c7c1039f755e7f0
cmd/go: document that 'go run' strips debug info Change-Id: Ie7293a33862853ac56ee0a9017b201d8ff0ba1f0 Reviewed-on: https://go-review.googlesource.com/c/go/+/392574 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan ...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1599,6 +1599,10 @@\n // cross-compiled programs when a simulator or other execution method is\n // available.\n //\n+// By default, 'go run' compiles the binary without generating the information\n+// used by debuggers, to reduce build time. To include debugg...
2022-03-14T17:29:51
nodejs/node
452b393c1fc993c50acd447eb84eeea529b89111
ed138baff395ffc2ee8f41e99012866fdc27b4f4
module: exports error as MODULE_NOT_FOUND PR-URL: https://github.com/nodejs/node/pull/28905 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmai...
[ { "path": "doc/api/errors.md", "patch": "@@ -1599,13 +1599,6 @@ compiled with ICU support.\n \n A given value is out of the accepted range.\n \n-<a id=\"ERR_PATH_NOT_EXPORTED\"></a>\n-### ERR_PATH_NOT_EXPORTED\n-\n-> Stability: 1 - Experimental\n-\n-An attempt was made to load a protected path from a packag...
2019-07-31T01:41:58
electron/electron
899cdb48d7975ab38547ada1a37cd0a5dc115d8f
a2bd55dd3c381ad44ac56b89938deaa281c17205
Fix using invalid pointer as SiteInstance
[ { "path": "atom/browser/atom_browser_client.cc", "patch": "@@ -129,8 +129,9 @@ void AtomBrowserClient::OverrideSiteInstanceForNavigation(\n if (url.SchemeIs(url::kJavaScriptScheme))\n return;\n \n- *new_instance =\n- content::SiteInstance::CreateForURL(browser_context, url).get();\n+ scoped_ref...
2016-05-23T03:46:14
vercel/next.js
8dc0b1be61f992ad2e5c11497ebde2d7ccf34320
5046ee13aa9c0aecd0f5f7f41c54499fc12f2f36
Fix app cache enabling case (#52278) Ensures we don't attempt using the wrong cache handler during build. x-ref: [slack thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1688549526316949)
[ { "path": "packages/next/src/server/lib/incremental-cache/fetch-cache.ts", "patch": "@@ -19,6 +19,14 @@ export default class FetchCache implements CacheHandler {\n private debug: boolean\n private revalidatedTags: string[]\n \n+ static isAvailable(ctx: {\n+ _requestHeaders: CacheHandlerContext['_req...
2023-07-05T19:52:16
golang/go
b054c7dc1738c810e74756ae0ac4797ce5d31cf6
7b15e297a26842f1f3408ee9d7942f8cfab2e5ea
os: raise open file rlimit at startup Some systems set an artificially low soft limit on open file count, for compatibility with code that uses select and its hard-coded maximum file descriptor (limited by the size of fd_set). Go does not use select, so it should not be subject to these limits. On some systems the li...
[ { "path": "src/os/rlimit.go", "patch": "@@ -0,0 +1,31 @@\n+// Copyright 2022 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 the LICENSE file.\n+\n+//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd ||...
2022-03-14T15:27:46
rust-lang/rust
ae3b9765f4510362b3e7ce7e1a62841b2cf5887d
e40f8b26ada6f517235fd5813231adbb79e58ced
split unwinding logic from panic logic
[ { "path": "src/tools/miri/src/lib.rs", "patch": "@@ -154,9 +154,10 @@ pub use crate::shims::env::{EnvVars, EvalContextExt as _};\n pub use crate::shims::foreign_items::{DynSym, EvalContextExt as _};\n pub use crate::shims::io_error::{EvalContextExt as _, IoError, LibcError};\n pub use crate::shims::os_str::...
2025-07-07T06:18:32
nodejs/node
ed138baff395ffc2ee8f41e99012866fdc27b4f4
980df1c85ff5167f5e313d19fb686b46db0b31db
build: include stubs in shared library This is needed for external applications that link to shared libnode. Fixes #27431 PR-URL: https://github.com/nodejs/node/pull/28897 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "node.gyp", "patch": "@@ -686,6 +686,12 @@\n 'msvs_disabled_warnings!': [4244],\n \n 'conditions': [\n+ [ 'node_shared==\"true\"', {\n+ 'sources': [\n+ 'src/node_snapshot_stub.cc',\n+ 'src/node_code_cache_stub.cc',\n+ ]\n+ }],\n ...
2019-07-29T18:15:14
vercel/next.js
5046ee13aa9c0aecd0f5f7f41c54499fc12f2f36
9151362c07ff17ae158f5690418fdb132eaaceff
Revert "Fix stream cancellation in `RenderResult.pipe()` and `sendResponse()`" (#52277) The test here seems to be failing after merge x-ref: https://github.com/vercel/next.js/actions/runs/5467319221/jobs/9953529745 x-ref: https://github.com/vercel/next.js/actions/runs/5467152519/jobs/9953132439 Reverts verce...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app/edge-page-bootstrap.ts", "patch": "@@ -80,20 +80,11 @@ async function render(request: NextRequest, event: NextFetchEvent) {\n response.headers.append('Vary', RSC_VARY_HEADER)\n \n const writer = tranform.writable.getWriter()\n- const target...
2023-07-05T18:12:39
rust-lang/rust
ef0465a7eb49252265701454cec222575a425b77
493cdf226922495b861c6fd6f0c4ddfcedaa99d9
mbe: Clarify comments about error handling in `compile_declarative_macro`
[ { "path": "compiler/rustc_expand/src/mbe/macro_rules.rs", "patch": "@@ -386,7 +386,8 @@ pub fn compile_declarative_macro(\n let body = macro_def.body.tokens.clone();\n let mut p = Parser::new(&sess.psess, body, rustc_parse::MACRO_ARGUMENTS);\n \n- // Don't abort iteration early, so that multiple ...
2025-07-07T03:47:06
golang/go
7b15e297a26842f1f3408ee9d7942f8cfab2e5ea
e475cf2e705d4eda8647426e060898ab3f643610
cmd/compile: fix PrefetchStreamed builtin implementation on PPC64 This CL fixes encoding of PrefetchStreamed on PPC64 to be consistent with what is implemented on AMD64 and ARM64 platforms which is prefetchNTA (prefetch non-temporal access). Looking at the definition of prefetchNTA, the closest corresponding Touch hin...
[ { "path": "src/cmd/compile/internal/ssa/gen/PPC64.rules", "patch": "@@ -1479,7 +1479,11 @@\n && clobber(call)\n => (Move [sz] dst src mem)\n \n-// Prefetch instructions (aux is option: 0 - DCBT ; 8 - DCBT stream)\n+// Prefetch instructions (TH specified using aux field)\n+// For DCBT Ra,Rb,T...
2022-03-07T07:54:14
nodejs/node
b32526c488dc1c059e957b0e2c38cb41cfe2bb78
f53a2414474c2b1aee07ab367415b32c20e50bd9
test: refactoring test_error testing PR-URL: https://github.com/nodejs/node/pull/28902 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Trivikram Kamat <triv...
[ { "path": "test/js-native-api/test_error/test.js", "patch": "@@ -60,24 +60,14 @@ assert.throws(() => {\n test_error.throwTypeError();\n }, /^TypeError: type error$/);\n \n-function testThrowArbitrary(value) {\n- assert.throws(\n+[42, {}, [], Symbol('xyzzy'), true, 'ball', undefined, null, NaN]\n+ .forEa...
2019-07-30T16:53:43