repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
nodejs/node
118b999a7284a9c3594139544c77a23dc85efcf9
46e6c53de88e22e29c887407e6f7d893f8d04568
doc: edit text for DEP0012 Fix awkward verb tense. PR-URL: https://github.com/nodejs/node/pull/20519 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: ...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -161,7 +161,7 @@ instead.\n \n Type: End-of-Life\n \n-`Domain.dispose()` is removed. Recover from failed I/O actions\n+`Domain.dispose()` has been removed. Recover from failed I/O actions\n explicitly via error event handlers set on the domain instead.\n \n ...
2018-05-04T16:55:05
huggingface/transformers
09261ccf12fbf0a8d31ff17d39f9db17604b2490
d4a6b4099bc163a44335aca2dd25355fc16fa248
[Bugfix] fix file name of docstring in utils/check_table.py (#36108) fix file name Co-authored-by: kkscilife <qa-caif-cicd@pjlab.org.cn>
[ { "path": "utils/check_table.py", "patch": "@@ -18,15 +18,15 @@\n Use from the root of the repo with:\n \n ```bash\n-python utils/check_inits.py\n+python utils/check_table.py\n ```\n \n for a check that will error in case of inconsistencies (used by `make repo-consistency`).\n \n To auto-fix issues run:\n \...
2025-02-10T15:48:02
electron/electron
979ec05ed34cec2af0d45dc76b84921af85f84e9
a949e9542d5aa23920b7c88764610698960d80ac
[Win] Fix running node from python. There is a mysterious "WindowsError [error 5] Access is denied" error is the "executable" is not specified under Windows.
[ { "path": "script/compile-coffee.py", "patch": "@@ -16,8 +16,11 @@ def main():\n \n coffee = os.path.join(SOURCE_ROOT, 'node_modules', 'coffee-script', 'bin',\n 'coffee')\n- subprocess.check_call(['node', coffee, '-c', '-o', output_dir, input_file])\n-\n+ if sys.platform in ['win...
2013-08-16T08:28:45
vercel/next.js
010ff64c217bfe6c21bfe45eed5d99712037c743
1c4feb6b02694a1ac65fb5d4f35abdf13cfdffe0
Speed up `NoMoveVec` allocations (vercel/turbo#2398) This speeds up `NoMoveVec` allocations by ensuring that new bucket initialization is just as fast as `calloc`. Before, we would initialize everything as `Option<T>::None`, which is not guaranteed to match a zeroed value because of niche optimization[1]. This comes a...
[ { "path": "crates/turbo-tasks/src/lib.rs", "patch": "@@ -31,6 +31,8 @@\n #![feature(box_syntax)]\n #![feature(error_generic_member_access)]\n #![feature(provide_any)]\n+#![feature(new_uninit)]\n+#![feature(arbitrary_enum_discriminant)]\n \n pub mod backend;\n mod collectibles;", "additions": 2, "del...
2022-10-27T01:49:37
golang/go
607f99904e3f5565517eee452d9153a634a66369
c69515c9fd19d9cca5f509cedd3de0aafd2d487f
cmd/compile/internal/types2: review of api.go The changes between (equivalent, and reviewed) go/types/api.go and api.go can be seen by comparing patchset 1 and 2. The actual changes are removing the "// UNREVIEWED" marker. The primary differences to go/types/api.go are: - use of syntax instead of go/ast package - use...
[ { "path": "src/cmd/compile/internal/types2/api.go", "patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2012 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@@ -23,8 +22,6 @@\n // and checks for compliance...
2021-03-23T18:55:16
huggingface/transformers
d4a6b4099bc163a44335aca2dd25355fc16fa248
0baf003915d6a9bc97ccc8fd2e1e6680f036013a
Revert checkpoint tmp dir (#36112) * Revert "Fix OS err (#36094)" This reverts commit ba29a439adbe6f371710d0514659127264ae24b3. * Revert "Save checkpoint to temporary directory to handle partial saves during failures (#35580)" This reverts commit 20d17358c468b7aefca9e54c3461eb88d1ee34f9.
[ { "path": "src/transformers/trainer.py", "patch": "@@ -18,7 +18,6 @@\n \n import contextlib\n import copy\n-import errno\n import functools\n import glob\n import importlib.metadata\n@@ -3129,42 +3128,31 @@ def _save_checkpoint(self, model, trial):\n self.store_flos()\n \n run_dir = self...
2025-02-10T15:22:03
nodejs/node
46e6c53de88e22e29c887407e6f7d893f8d04568
395c8731586f51f0ef1147ff249e48df9ad5785c
doc: edit text for DEP0101 Make the text slightly more concise. Fix awkward verb tense. PR-URL: https://github.com/nodejs/node/pull/20519 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -925,7 +925,7 @@ This was never a documented feature.\n \n Type: End-of-Life\n \n-The `--with-lttng` compile time option is removed.\n+The `--with-lttng` compile-time option has been removed.\n \n <a id=\"DEP0102\"></a>\n ### DEP0102: Using `noAssert` in Buf...
2018-05-04T16:53:42
electron/electron
a949e9542d5aa23920b7c88764610698960d80ac
a33c068ed1e2b75e7f88c1faa36f058a476ca030
Add AtomWindow.isWebViewFocused() API, fixes #57.
[ { "path": "browser/api/atom_api_window.cc", "patch": "@@ -445,6 +445,12 @@ v8::Handle<v8::Value> Window::BlurWebView(const v8::Arguments &args) {\n return v8::Undefined();\n }\n \n+// static\n+v8::Handle<v8::Value> Window::IsWebViewFocused(const v8::Arguments& args) {\n+ UNWRAP_WINDOW_AND_CHECK;\n+ retu...
2013-08-16T04:56:25
vercel/next.js
1c4feb6b02694a1ac65fb5d4f35abdf13cfdffe0
460965ca46f424cb47fd6ce95cacd23973c10e44
Warn on not-yet-supported import.meta usage (vercel/turbo#2397) This implements a warning when `import.meta` is referenced, both as a standalone expression (`import.meta`) and as a member expression (`import.meta.url`, `import.meta.foo`, etc.). To do: * [x] This expression covers both `import.meta` as well as `new.t...
[ { "path": "crates/turbopack-ecmascript/src/analyzer/graph.rs", "patch": "@@ -42,6 +42,10 @@ pub enum Effect {\n ast_path: Vec<AstParentKind>,\n span: Span,\n },\n+ ImportMeta {\n+ span: Span,\n+ ast_path: Vec<AstParentKind>,\n+ },\n }\n \n impl Effect {\n@@ -86,6 +90,...
2022-10-27T01:34:06
huggingface/transformers
0baf003915d6a9bc97ccc8fd2e1e6680f036013a
924f1c717a72261a4b9286a31f199d9512448dd0
Refactor OPT model (#36101) * remove cross attention Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * remove is_decoder Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix pkv Signed-off-by: jiqing-feng <jiqing.feng@intel.com> --------- Signed-off-by: jiqing-feng <jiqing.feng@intel.com>
[ { "path": "src/transformers/models/opt/modeling_opt.py", "patch": "@@ -98,7 +98,6 @@ class OPTAttention(nn.Module):\n def __init__(\n self,\n config: OPTConfig,\n- is_decoder: bool = False,\n **kwargs,\n ):\n super().__init__()\n@@ -117,7 +116,6 @@ def __init__...
2025-02-10T13:27:16
golang/go
c69515c9fd19d9cca5f509cedd3de0aafd2d487f
4889afe8f82433599a38b74808eb572f972d4ff9
cmd/compile/internal/types2: review of expr.go The changes between (equivalent, and reviewed) go/types/expr.go and expr.go can be seen by comparing patchset 1 and 2. The actual changes are removing the "// UNREVIEWED" marker. The primary differences to go/types/expr.go are: - use of package syntax rather than ast - n...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -1,4 +1,3 @@\n-// UNREVIEWED\n // Copyright 2012 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.", "additions": 0, "deletions": 1, "l...
2021-03-19T00:15:05
nodejs/node
8444bba0afd581c00d3ebf1a698f9e6322087bdc
df2d73d410e85442b21e148e4e7472975a66e5a4
test: fix test-cli-node-options.js on mips The performance jit logger is not implemented on mips. PR-URL: https://github.com/nodejs/node/pull/20377 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "test/parallel/test-cli-node-options.js", "patch": "@@ -32,7 +32,7 @@ if (!common.isWindows) {\n expect('--perf-basic-prof', 'B\\n');\n }\n \n-if (common.isLinux && ['arm', 'x64', 'mips'].includes(process.arch)) {\n+if (common.isLinux && ['arm', 'x64'].includes(process.arch)) {\n // PerfJitLog...
2018-04-28T00:27:53
electron/electron
a33c068ed1e2b75e7f88c1faa36f058a476ca030
4a70077b102472b3cc2dba615044f4dd98c76142
Should inherit brightray's default web contents delegate, fixes #31.
[ { "path": "browser/native_window.h", "patch": "@@ -12,8 +12,8 @@\n #include \"browser/native_window_observer.h\"\n #include \"content/public/browser/notification_registrar.h\"\n #include \"content/public/browser/notification_observer.h\"\n-#include \"content/public/browser/web_contents_delegate.h\"\n #inclu...
2013-08-16T02:38:02
vercel/next.js
9781c62c30f00c7e74e68c9cc7bb2abc9dc485d3
a05a0c7784e393c4c612c5e3b43d5d7e79302865
Fix revalidate check in client component (#41917) Ensures we check for the explicit type on revalidate as client components can return an object when accessing module export. Patched deployment can be seen here https://next-13-client-page-iuqrog6hj-ijjk-testing.vercel.app/broken ## Bug - [x] Related issues ...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -1007,7 +1007,7 @@ export async function renderToHTMLOrFlight(\n ? DefaultNotFound\n : undefined\n \n- if (typeof layoutOrPageMod?.revalidate !== 'undefined') {\n+ if (typeof layoutOrPageMod?.revalidate === 'number') {\n...
2022-10-27T00:24:38
golang/go
4889afe8f82433599a38b74808eb572f972d4ff9
adb037d67ad46491bb0e9c2a09b56e89dd8a3617
cmd/go/internal/load: use setLoadPackageDataError in loadImport This makes the error handling in loadImport somewhat more uniform, with no discernable effect on reported errors. Noticed in CL 303869. Updates #36087 Updates #38034 This somewhat simplifies the code, with no discernable effect on Change-Id: I30521f65...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -672,22 +672,25 @@ func loadImport(ctx context.Context, pre *preload, path, srcDir string, parent *\n \t\tpre.preloadImports(ctx, bp.Imports, bp)\n \t}\n \tif bp == nil {\n-\t\tif importErr, ok := err.(ImportPathError); !ok || importErr.ImportPath() ...
2021-03-23T15:57:36
nodejs/node
df2d73d410e85442b21e148e4e7472975a66e5a4
186857f15ce239ee16f5ceaeefdb3011f85cb915
test: fix buffer writes on mips Mips has a different way of handling NaN. This makes sure the tests pass on MIPS as well. PR-URL: https://github.com/nodejs/node/pull/20377 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
[ { "path": "test/parallel/test-buffer-writedouble.js", "patch": "@@ -67,10 +67,19 @@ assert.strictEqual(buffer.readDoubleLE(8), -Infinity);\n buffer.writeDoubleBE(NaN, 0);\n buffer.writeDoubleLE(NaN, 8);\n \n-assert.ok(buffer.equals(new Uint8Array([\n- 0x7F, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n- 0x0...
2018-04-27T23:45:21
electron/electron
f90861963012d687677f81de528a2ee767b36d54
22012d41d87eac2c88f56360f51700016636c481
[Mac] Move the FixMenuTitles hack to MenuController.
[ { "path": "browser/api/atom_api_menu_mac.h", "patch": "@@ -26,11 +26,6 @@ class MenuMac : public Menu {\n private:\n friend class Menu;\n \n- // The MenuController doesn't set title for menus, however it's required by\n- // application menu to show submenus correctly, fix it by iterating all\n- // sub...
2013-08-14T14:33:18
vercel/next.js
11d99258d573aa8128b98b5b561628e88d6170c6
5dd4999b6433cb7244198e7f8c4926716c819912
Fixed errors at with-passport-and-next-connect. (#41897) Co-authored-by: monterowilken311 <monterowilken311@gmail.com>
[ { "path": "examples/with-passport-and-next-connect/components/Navbar.js", "patch": "@@ -14,16 +14,12 @@ export default function Navbar() {\n <nav>\n <ul>\n <li>\n- <Link href=\"/\">\n- <a>Home</a>\n- </Link>\n+ <Link href=\"/\">Home</Link...
2022-10-26T20:34:53
nodejs/node
186857f15ce239ee16f5ceaeefdb3011f85cb915
28a54cb83a5ff277a8b56c942c6bd09465ed848a
errors: remove ERR_INVALID_ARRAY_LENGTH This error code is obsolete, since the error message from ERR_OUT_OF_RANGE is more precise. It was only used a single time, so I went ahead and replced this. PR-URL: https://github.com/nodejs/node/pull/20484 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M S...
[ { "path": "doc/api/errors.md", "patch": "@@ -1078,11 +1078,6 @@ An argument of the wrong type was passed to a Node.js API.\n \n An invalid or unsupported value was passed for a given argument.\n \n-<a id=\"ERR_INVALID_ARRAY_LENGTH\"></a>\n-### ERR_INVALID_ARRAY_LENGTH\n-\n-An array was not of the expected l...
2018-05-02T13:43:43
golang/go
954879d6d19175a5f0066c0ac0df0edda7f731b3
a95e2ae2804becdda6c265c6d589ae8184a34160
cmd/go/internal/modload: replace the global buildList with structured requirements This is intended to be a pure-refactoring change, with very little observable change in the behavior of the 'go' command. A few error messages have prefixes changed (by virtue of being attached to packages or modules instead of the buil...
[ { "path": "src/cmd/go/internal/list/list.go", "patch": "@@ -423,7 +423,7 @@ func runList(ctx context.Context, cmd *base.Command, args []string) {\n \t\t\tbase.Fatalf(\"go list -m: not using modules\")\n \t\t}\n \n-\t\tmodload.LoadModFile(ctx) // Parses go.mod and sets cfg.BuildMod.\n+\t\tmodload.LoadModFile...
2021-03-03T15:27:19
vercel/next.js
a1072c6d2bc67a26678c122904dd2ffb7f30f529
97422c64e1c9c39ae75725bf3968a6f71f413cf9
[Doc] Update Next.js + Static Web Apps (#41857) Update to reflect the latest addition of Hybrid (Static + SSR) Next.js support in Azure Static Web Apps. For more information kindly refer to https://aka.ms/swanextjsssr ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Erro...
[ { "path": "docs/deployment.md", "patch": "@@ -109,7 +109,6 @@ The following services support Next.js `v12+`. Below, you’ll find examples or\n \n The following services support deploying Next.js using [`next export`](/docs/advanced-features/static-html-export.md).\n \n-- [Azure Static Web Apps](https://docs....
2022-10-26T18:33:59
huggingface/transformers
3897f2caf81470b04dce8343bfc11e4ef851d31a
48a309d0d21383f72a461d3c5e9b4c639f373bb9
Enable pytest live log and show warning logs on GitHub Actions CI runs (#35912) * fix * remove * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "pyproject.toml", "patch": "@@ -52,3 +52,5 @@ markers = [\n \"bitsandbytes: select (or deselect with `not`) bitsandbytes integration tests\",\n \"generate: marks tests that use the GenerationTesterMixin\"\n ]\n+log_cli = 1\n+log_cli_level = \"WARNING\"\n\\ No newline at end of file", "...
2025-02-10T12:36:20
golang/go
a95e2ae2804becdda6c265c6d589ae8184a34160
80157b5144191e88b18937eb9b6ee5b6046f3f20
test: skip fixedbugs/issue36705 on Windows This test is verifying that setting or unsetting an environment variable in Go via the "os" package makes that change visible to the C getenv function. The test has been failing on Windows since CL 304569; it isn't clear to me whether it was running at all before that point. ...
[ { "path": "test/fixedbugs/issue36705.go", "patch": "@@ -1,4 +1,4 @@\n-// +build cgo\n+// +build cgo,!windows\n // run fake-arg-to-force-use-of-go-run\n \n // Copyright 2020 The Go Authors. All rights reserved.", "additions": 1, "deletions": 1, "language": "Go" } ]
2021-03-25T01:51:44
nodejs/node
2a96ee284cc5aecec9b66d24bddb06acbcc72c98
8f6ab9f799925da836b6c106ed9a8b3d95a2935f
url: fix WHATWG host formatting error The current url.format implementation will return an invalid URL string without the host if there is a port and unicode: true. This unexpected behavior is caused by domainToUnicode, which expects a hostname instead of a host string according to node_url.cc. Adds both a fix and a...
[ { "path": "lib/internal/url.js", "patch": "@@ -400,7 +400,9 @@ Object.defineProperties(URL.prototype, {\n ret += '@';\n }\n ret += options.unicode ?\n- domainToUnicode(this.host) : this.host;\n+ domainToUnicode(this.hostname) : this.hostname;\n+ if (ctx.por...
2018-05-03T07:13:25
vercel/next.js
58980c68b826e26a96f7339783fa8a8ad21deb18
3bf71e460cca33fc940908c468cfb1d9fba159d1
fix `any` type in example `with-turbopack` (#41798) ## Examples - [x] Make sure the linting passes by running `pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
[ { "path": "examples/with-turbopack/app/layout.tsx", "patch": "@@ -1,8 +1,13 @@\n import '@/styles/dist.css';\n+import React from 'react';\n import AddressBar from '@/ui/AddressBar';\n import GlobalNav from './GlobalNav';\n \n-export default function RootLayout({ children }: { children: any }) {\n+export def...
2022-10-26T18:21:14
huggingface/transformers
48a309d0d21383f72a461d3c5e9b4c639f373bb9
9a6be63fdb77af107b340cfbdcc3f0d9d47d7c9c
Support constant lr with cooldown (#35453) * Add support for constant learning rate with cooldown * Add support for constant learning rate with cooldown * Add support for constant learning rate with cooldown * Add support for constant learning rate with cooldown * Add support for constant learning rate wit...
[ { "path": "src/transformers/optimization.py", "patch": "@@ -393,45 +393,71 @@ def _get_wsd_scheduler_lambda(\n num_warmup_steps: int,\n num_stable_steps: int,\n num_decay_steps: int,\n- num_cycles: float,\n+ warmup_type: str,\n+ decay_type: str,\n min_lr_ratio: float,\n+ num_cycl...
2025-02-10T12:21:55
rust-lang/rust
cfdeaca216b6024983a554f50bde5a5232a30d89
8bc76c64e6ec21844406b8fe97b5f8c7ac8b58fa
fix format
[ { "path": "src/tools/rust-analyzer/editors/code/src/util.ts", "patch": "@@ -304,12 +304,18 @@ export const isWindows = process.platform === \"win32\";\n \n export function isWindowsDriveLetter(code: number): boolean {\n // Copied from https://github.com/microsoft/vscode/blob/02c2dba5f2669b924fd290dff7d2...
2025-04-14T03:45:21
electron/electron
543ed1de981e08227f71af4c08cc7307c4e749c3
a27009f0a970d960fff58f2878be033fc139bc6c
Fix test case for the d3 module.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit c26c6cb467eb62b10a60042243d0a6470da63b98\n+Subproject commit 4927dc9d040aaf7f90a44f245faa2456c4a8bf4e", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-08-12T09:11:47
golang/go
80157b5144191e88b18937eb9b6ee5b6046f3f20
e7e0995cba1f57622f593ebd27d4d1a651666c4b
crypto/x509: fix spelling error Change-Id: Ieb1900531f42acf2c8b98ac89fceb8b87c8e5d0c Reviewed-on: https://go-review.googlesource.com/c/go/+/304609 Reviewed-by: Roland Shoemaker <roland@golang.org> Trust: Kevin Burke <kev@inburke.com>
[ { "path": "src/crypto/x509/verify.go", "patch": "@@ -837,7 +837,7 @@ func appendToFreshChain(chain []*Certificate, cert *Certificate) []*Certificate\n }\n \n // maxChainSignatureChecks is the maximum number of CheckSignatureFrom calls\n-// that an invocation of buildChains will (tranistively) make. Most cha...
2021-03-24T23:02:24
vercel/next.js
0745d3d6071fe1927c20d567ede9c9e65b823d85
bd371757bf87b576c5c62ae10e50807ee12201da
fix: license link not found (vercel/turbo#2358)
[ { "path": "crates/turbopack/README.md", "patch": "@@ -15,7 +15,7 @@\n <a aria-label=\"Crates.io version\" href=\"https://crates.io/crates/turbopack\">\n <img alt=\"\" src=\"https://img.shields.io/crates/v/turbopack.svg?style=for-the-badge&labelColor=000000\">\n </a>\n- <a aria-label=\"License\" hre...
2022-10-26T10:26:33
nodejs/node
8f6ab9f799925da836b6c106ed9a8b3d95a2935f
5efbe4c1e8f9baf4251c40c52ca9452d8f7416ce
Revert "stream: prevent 'end' to be emitted after 'error'" This reverts commit 08577906569a4c2de70ad2a861e2f8456cd8fcdd. PR-URL: https://github.com/nodejs/node/pull/20449 Fixes: https://github.com/nodejs/node/issues/20334 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmai...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -99,9 +99,6 @@ function ReadableState(options, stream, isDuplex) {\n this.endEmitted = false;\n this.reading = false;\n \n- // Flipped if an 'error' is emitted.\n- this.errorEmitted = false;\n-\n // a flag to be able to tell if the event 'readable'/'...
2018-05-01T04:29:16
rust-lang/rust
c73598f0fb0ef2cfcdc784e577a96bb8041445ba
6e830462330a9e34d8176e86d4580dd0820c6fd5
Report span of test when should_panic test failed Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
[ { "path": "library/test/src/test_result.rs", "patch": "@@ -77,7 +77,12 @@ pub(crate) fn calc_result(\n \n // The test should have panicked, but didn't panic.\n (ShouldPanic::Yes, None) | (ShouldPanic::YesWithMessage(_), None) => {\n- TestResult::TrFailedMsg(\"test did not panic as...
2025-03-17T14:22:32
electron/electron
574811fee0981dfedb685ca2e36a00aa5e1a5f95
216f5917bf24ed2fb0cf647ad0b78fdc9ceb98b7
Fix process.argv[0] for child_process.fork.
[ { "path": "app/atom_main.cc", "patch": "@@ -54,6 +54,7 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* wargv, int argc) {\n }\n }\n // Now that conversion is done, we can finally start.\n+ argv[1] = argv[0];\n return node::Start(argc - 1, argv + 1);\n }\n \n@@ -68,8 +...
2013-08-08T08:15:06
golang/go
e7e0995cba1f57622f593ebd27d4d1a651666c4b
29ed12d4c7e61f6b4cc38d5b3d5eb885294f7878
cmd/compile: create/use noder2 transform functions for more node types Pull out the transformation part of the typechecking functions for: - assignment statements - return statements - send statements - select statements - type conversions - normal function/method calls - index operations The transform functi...
[ { "path": "src/cmd/compile/internal/noder/helpers.go", "patch": "@@ -67,31 +67,6 @@ func Assert(pos src.XPos, x ir.Node, typ *types.Type) ir.Node {\n \treturn typed(typ, ir.NewTypeAssertExpr(pos, x, nil))\n }\n \n-// transformAdd transforms an addition operation (currently just addition of\n-// strings). Eq...
2021-03-23T17:19:11
huggingface/transformers
9a6be63fdb77af107b340cfbdcc3f0d9d47d7c9c
c399921965d490845e1d171336343f2575e95397
Add Apple's Depth-Pro for depth estimation (#34583) * implement config and model building blocks * refactor model architechture * update model outputs * update init param to include use_fov_model * update param name in config * fix hidden_states and attentions outputs for fov * sort config * compl...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -653,6 +653,8 @@\n title: Depth Anything\n - local: model_doc/depth_anything_v2\n title: Depth Anything V2\n+ - local: model_doc/depth_pro\n+ title: DepthPro\n - local: model_doc/deta\n title: DETA\n ...
2025-02-10T11:32:45
vercel/next.js
bd371757bf87b576c5c62ae10e50807ee12201da
b44de19b25f39deb60e2c06bba4188d950ea7323
Fix twitter link on Turbopack README (vercel/turbo#2360)
[ { "path": "crates/turbopack/README.md", "patch": "@@ -45,7 +45,7 @@ Follow [@turborepo](https://twitter.com/turborepo) on Twitter and for project up\n \n ## Authors\n \n-- Tobias Koppers ([@sokra](https://twitter.com/sokra))\n+- Tobias Koppers ([@wSokra](https://twitter.com/wSokra))\n - Maia Teegarden ([@pa...
2022-10-26T10:09:48
nodejs/node
8f1ee0bc6f90ff3417889bedfcb246e4faebe551
161182ec05191b0e1f6e58ced1c8b567393aceda
errors: remove dead code This was never falsy, since an array length can only be an integer. PR-URL: https://github.com/nodejs/node/pull/20483 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@g...
[ { "path": "lib/internal/errors.js", "patch": "@@ -867,7 +867,6 @@ E('ERR_INVALID_ARG_VALUE', (name, value, reason = 'is invalid') => {\n }, TypeError, RangeError);\n E('ERR_INVALID_ARRAY_LENGTH',\n (name, len, actual) => {\n- internalAssert(typeof actual === 'number', 'actual must be of type number');\...
2018-05-02T13:45:26
rust-lang/rust
552020dc62f3eb8308d12ddb6b052fa7e543b254
121a12edc699b5f50a5ab4924f8db3ab1ce96b75
Ignore errors from rustfmt which may trigger error notification
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/handlers/request.rs", "patch": "@@ -2418,7 +2418,11 @@ fn run_rustfmt(\n Ok(None)\n }\n // rustfmt panicked at lexing/parsing the file\n- Some(101) if !rustfmt_not_installed && captured_stderr.star...
2025-04-14T01:33:38
electron/electron
c5d48607d9519a60366e747f3bf4a81539f64d91
beba4efc9f1a488b4d536e61456c35359bda733e
Fix README on the license thing.
[ { "path": "README.md", "patch": "@@ -17,4 +17,4 @@ See the [Wiki](https://github.com/atom/atom-shell/wiki).\n \n ## License\n \n-We use MIT license, see the [`LICENSE`](LICENSE) file.\n+See the [`LICENSE`](LICENSE) file.", "additions": 1, "deletions": 1, "language": "Markdown" } ]
2013-08-07T12:30:24
golang/go
29ed12d4c7e61f6b4cc38d5b3d5eb885294f7878
179bcd787e4a5c4cfe475fd6fd33a41d77751113
testing: update permitted number of -race goroutines The value 8128 appears to be correct as of 2021-03-23. The value is determined by the value of kMaxTid currently at https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/tsan/rtl/tsan_defs.h#L68 Fixes #45193 Change-Id: If4a30d7dbebd6775bede42f565dc8a741b...
[ { "path": "src/testing/testing.go", "patch": "@@ -190,7 +190,7 @@\n // }\n // }\n //\n-// The race detector kills the program if it exceeds 8192 concurrent goroutines,\n+// The race detector kills the program if it exceeds 8128 concurrent goroutines,\n // so use care when running parallel tests ...
2021-03-23T22:44:46
vercel/next.js
bad43cf0d6d95f5ca4009e37aec6f04a66609365
83347b3efa9b348ba22de6992d182e2d4ec2e488
fix example command in issue template for create-next-app (#41803) <!-- 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: --...
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -44,7 +44,7 @@ body:\n - type: input\n attributes:\n label: Link to reproduction\n- description: A link to a GitHub repository, a [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/canary/examples/reproductio...
2022-10-26T08:17:04
nodejs/node
4692cf4ebba530b92b6c6aebc08fe9ddba5fb43d
34bd9f318a164d6b2ee949793146b85b3e152d5f
doc: fix N-API property descriptor documentation PR-URL: https://github.com/nodejs/node/pull/20433 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "doc/api/n-api.md", "patch": "@@ -915,8 +915,7 @@ provided by the addon:\n napi_value Init(napi_env env, napi_value exports) {\n napi_status status;\n napi_property_descriptor desc =\n- {\"hello\", Method, 0, 0, 0, napi_default, 0};\n- if (status != napi_ok) return NULL;\n+ {\"hello\", ...
2018-04-30T17:54:51
huggingface/transformers
eebd2c972c0f4c9dec9129092393bf295a4516d9
5bd76947819ecbe76c8f7bdab302fddb3ba88962
Chat template: update for processor (#35953) * update * we need batched nested input to always process correctly * update a bit * fix copies
[ { "path": "src/transformers/image_utils.py", "patch": "@@ -562,21 +562,33 @@ def get_uniform_frame_indices(total_num_frames: int, num_frames: Optional[int] =\n return indices\n \n \n-def read_video_opencv(video_path: str, num_frames: Optional[int] = None):\n+def read_video_opencv(video_path: str, num_fr...
2025-02-10T08:52:19
electron/electron
beba4efc9f1a488b4d536e61456c35359bda733e
3b615d7fad28033ad544251fd3844c9aafbf92b3
Fix broken submodule reference
[ { "path": "vendor/apm", "patch": "@@ -1 +1 @@\n-Subproject commit db4770acf31cabbb2a45ea15a72b6e05c1815f07\n+Subproject commit cbf46094b6a860746cbe29c239f771c5306490b3", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-08-07T16:49:02
golang/go
179bcd787e4a5c4cfe475fd6fd33a41d77751113
63e9f6d5f022a1149a10ddfcc5801aa19ba33223
test: only run bug513.go if cgo is enabled Change-Id: I868eeb79edaba9e3afc1407ae18b89daf7e67037 Reviewed-on: https://go-review.googlesource.com/c/go/+/304570 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot...
[ { "path": "test/fixedbugs/bug513.go", "patch": "@@ -1,5 +1,6 @@\n // run -race -gcflags=all=-d=checkptr=0\n // +build linux,amd64 linux,ppc64le darwin,amd64 freebsd,amd64 netbsd,amd64 windows,amd64\n+// +build cgo\n \n // Copyright 2021 The Go Authors. All rights reserved.\n // Use of this source code is go...
2021-03-24T20:18:13
rust-lang/rust
9734e44b836fa66546b7acc116ad579685f5112e
1a3dee40628c01733af12bae02c32d856db6cb0d
Documentation fixes. Remove old references to the HIR map.
[ { "path": "compiler/rustc_hir/src/intravisit.rs", "patch": "@@ -6,7 +6,7 @@\n //! 1. **Shallow visit**: Get a simple callback for every item (or item-like thing) in the HIR.\n //! - Example: find all items with a `#[foo]` attribute on them.\n //! - How: Use the `hir_crate_items` or `hir_module_items` ...
2025-04-02T02:00:45
vercel/next.js
83347b3efa9b348ba22de6992d182e2d4ec2e488
1b2636763c39433dcc52756d158b4a444abc85cb
Rest of options in experimental.turbotrace and documentation (#41817) <!-- 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: ...
[ { "path": "docs/advanced-features/output-file-tracing.md", "patch": "@@ -66,3 +66,45 @@ module.exports = {\n \n - There are some cases in which Next.js might fail to include required files, or might incorrectly include unused files. In those cases, you can export page configs props `unstable_includeFiles` a...
2022-10-26T06:31:49
huggingface/transformers
3a3b06ace45ba97a648316778e3a5c339a08587e
6b550462139655d488d4c663086a63e98713c6b9
fix MllamaVisionAttention typehint (#35975) * fix MllamaVisionAttention typehint Signed-off-by: Kyle Sayers <kylesayrs@gmail.com> * Update src/transformers/models/mllama/modeling_mllama.py Co-authored-by: Raushan Turganbay <raushan.turganbay@alumni.nu.edu.kz> * fix suggestion Signed-off-by: Kyle Sayers ...
[ { "path": "src/transformers/models/mllama/modeling_mllama.py", "patch": "@@ -192,7 +192,7 @@ def forward(\n hidden_state: torch.Tensor,\n attention_mask: Optional[torch.Tensor] = None,\n output_attentions: bool = None,\n- ) -> torch.Tensor:\n+ ) -> Tuple[torch.Tensor, Optional[...
2025-02-10T08:17:10
nodejs/node
34bd9f318a164d6b2ee949793146b85b3e152d5f
491ae12e412076ac9360d34516c827e941caed12
benchmark: track exec time in next-tick-exec The next-tick-exec benchmarks were meant to track nextTick execution time but due to an error, they actually track addition and execution. PR-URL: https://github.com/nodejs/node/pull/20462 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrot...
[ { "path": "benchmark/process/next-tick-exec-args.js", "patch": "@@ -5,8 +5,11 @@ const bench = common.createBenchmark(main, {\n });\n \n function main({ n }) {\n+ function onNextTick(i) {\n+ if (i + 1 === n)\n+ bench.end(n);\n+ }\n \n- bench.start();\n for (var i = 0; i < n; i++) {\n if (i ...
2018-05-02T08:17:23
electron/electron
c5e0ae64951321f4e7b9dafa9347beea7767ca78
17a4842eaa0c8bd7013c4342896718a77ab29cd6
Fix calling apm under cygwin.
[ { "path": "script/bootstrap.py", "patch": "@@ -76,7 +76,7 @@ def update_node_modules():\n def update_node_modules_for_dir(dirname):\n with scoped_cwd(dirname):\n apm = os.path.join(SOURCE_ROOT, 'vendor', 'apm', 'bin', 'apm')\n- subprocess.check_call(['node', apm, 'install'])\n+ subprocess.check_...
2013-08-06T12:14:28
rust-lang/rust
10ec5cbe96b8b1ba96fbacc207d6a2f0d19ca9e2
9abaa9d4dffeb897a1dbff97d32d3b6ac190be21
Raise errors on bad rustc_on_unimplemented format strings again
[ { "path": "compiler/rustc_trait_selection/src/error_reporting/traits/on_unimplemented.rs", "patch": "@@ -18,7 +18,9 @@ use {rustc_attr_parsing as attr, rustc_hir as hir};\n use super::{ObligationCauseCode, PredicateObligation};\n use crate::error_reporting::TypeErrCtxt;\n use crate::error_reporting::traits:...
2025-03-29T12:48:14
huggingface/transformers
6b550462139655d488d4c663086a63e98713c6b9
14ca7f1452d8fd91f9459a4a069bd3b9455ea216
[docs] fix not-working example code in `perf_infer_gpu_one.md` (#36087) * bug fix * update memory limit
[ { "path": "docs/source/en/perf_infer_gpu_one.md", "patch": "@@ -357,7 +357,7 @@ tokenizer = AutoTokenizer.from_pretrained(\"facebook/opt-350m\")\n model = AutoModelForCausalLM.from_pretrained(\"facebook/opt-350m\", torch_dtype=torch.float16).to(\"cuda\")\n \n input_text = \"Hello my dog is cute and\"\n-inpu...
2025-02-07T20:42:22
golang/go
dade83a588feace6af9882500f2282c8a83f54d0
fef5a153961fc314499f3c3208e001593f95a8e6
cmd/internal/moddeps: fix false positive when $TMPDIR is symlinked os.Getwd notes that if the current directory can be reached via multiple paths (due to symbolic links), Getwd may return any one of them. A way to ensure that the desired path is used is to set the PWD environment variable pointing to it. The go gener...
[ { "path": "src/cmd/internal/moddeps/moddeps_test.go", "patch": "@@ -163,8 +163,8 @@ func TestAllDependencies(t *testing.T) {\n \t\t\t\tEnv: append(os.Environ(),\n \t\t\t\t\t// Set GOROOT.\n \t\t\t\t\t\"GOROOT=\"+gorootCopyDir,\n-\t\t\t\t\t// Explicitly clear PWD and GOROOT_FINAL so that GOROOT=gorootCopyDir...
2021-03-24T16:10:22
vercel/next.js
b44de19b25f39deb60e2c06bba4188d950ea7323
c287623d21616a6b5609287503234d79d1e864e1
Fix link in turbopack readme (vercel/turbo#2341)
[ { "path": "crates/turbopack/README.md", "patch": "@@ -25,7 +25,7 @@\n \n ## Getting Started\n \n-Visit https://turbo.build/pack/docs/getting-started to get started with Turbopack.\n+Visit https://turbo.build/pack/docs to get started with Turbopack.\n \n ## Documentation\n ", "additions": 1, "deletio...
2022-10-25T20:17:46
nodejs/node
9a3ae2fe9d6ddff6a0de81acb5e0a8c068c0c79d
6ec43fc28b66587eb176019f488d682d256bd189
lib: expose FixedQueue internally and fix nextTick bug A bug was introduced together with the FixedQueue implementation for process.nextTick which meant that the queue wouldn't necessarily fully clear on each run through. Fix it and abstract the data structure into an internal module that can later be used elsewhere. ...
[ { "path": "lib/internal/fixed_queue.js", "patch": "@@ -0,0 +1,113 @@\n+'use strict';\n+\n+// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two.\n+const kSize = 2048;\n+const kMask = kSize - 1;\n+\n+// The FixedQueue is implemented as a singly-linked list of fixed-size\n+// circular ...
2018-05-02T13:39:08
huggingface/transformers
14ca7f1452d8fd91f9459a4a069bd3b9455ea216
c361b1e3d9c106ee63dbe9b1ffecd0b31d221cc4
[docs] fix typo (#36080) typo fix
[ { "path": "docs/source/en/quantization/compressed_tensors.md", "patch": "@@ -61,7 +61,7 @@ ct_model = AutoModelForCausalLM.from_pretrained(\"nm-testing/Meta-Llama-3.1-8B-In\n \n # Measure memory usage\n mem_params = sum([param.nelement()*param.element_size() for param in ct_model.parameters()])\n-print(f\"{...
2025-02-07T20:42:09
electron/electron
b1f88d680be76c795ed1c27e0303b08035a348ab
6e90430df5b25316e0da2d8ea4b09f3f8a3c0ecb
[Mac] Add API for dock, fixes #46.
[ { "path": "browser/api/atom_api_app.cc", "patch": "@@ -139,6 +139,38 @@ v8::Handle<v8::Value> App::AppendArgument(const v8::Arguments &args) {\n return v8::Undefined();\n }\n \n+#if defined(OS_MACOSX)\n+\n+// static\n+v8::Handle<v8::Value> App::DockBounce(const v8::Arguments& args) {\n+ std::string type(...
2013-08-06T08:19:56
golang/go
fef5a153961fc314499f3c3208e001593f95a8e6
771c57e68ed5ef2bbb0eafc0d48419f59d143932
runtime: bypass ABI wrapper when calling needm on Windows On Windows, when calling into needm in cgocallback on a new thread that is unknown to the Go runtime, we currently call through an ABI wrapper. The ABI wrapper tries to restore the G register from TLS. On other platforms, TLS is set up just enough that the wra...
[ { "path": "src/runtime/asm_amd64.s", "patch": "@@ -796,7 +796,18 @@ TEXT ·cgocallback(SB),NOSPLIT,$24-24\n \tMOVQ\tBX, savedm-8(SP)\t// saved copy of oldm\n \tJMP\thavem\n needm:\n-\tMOVQ $runtime·needm(SB), AX\n+\t// On some platforms (Windows) we cannot call needm through\n+\t// an ABI wrapper because ...
2021-03-18T17:03:50
nodejs/node
6ec43fc28b66587eb176019f488d682d256bd189
64348f5ea557d414b08d1b2602d794e48ac06bb2
test: fix common.canCreateSymLink() on non-Windows test/common/README.md indicates that canCreateSymlink() always returns true on non-Windows platforms. However, prior to this commit, undefined was being returned. This commit aligns the implementation with the docs by returning true. PR-URL: https://github.com/nodejs...
[ { "path": "test/common/index.js", "patch": "@@ -518,6 +518,8 @@ exports.canCreateSymLink = function() {\n return false;\n }\n }\n+ // On non-Windows platforms, this always returns `true`\n+ return true;\n };\n \n exports.getCallSite = function getCallSite(top) {", "additions": 2, "dele...
2018-05-04T04:44:16
golang/go
771c57e68ed5ef2bbb0eafc0d48419f59d143932
fd5e0bd385660275a8049a2499e0bbbffd465bc8
cmd/compile: disable shortcircuit optimization for intertwined phi values We need to be careful that when doing value graph surgery, we not re-substitute a value that has already been substituted. That can lead to confusing a previous iteration's value with the current iteration's value. The simple fix in this CL jus...
[ { "path": "src/cmd/compile/internal/ssa/shortcircuit.go", "patch": "@@ -138,6 +138,24 @@ func shortcircuitBlock(b *Block) bool {\n \tif len(b.Values) != nval+nOtherPhi {\n \t\treturn false\n \t}\n+\tif nOtherPhi > 0 {\n+\t\t// Check for any phi which is the argument of another phi.\n+\t\t// These cases are ...
2021-03-23T21:48:47
electron/electron
55034be10492786f91d12d1c10b70ab1324bc2ae
79870494df63028791fb15a3b89f85c59588aa86
Add power-monitor module, fixes #45.
[ { "path": "atom.gyp", "patch": "@@ -18,6 +18,7 @@\n 'browser/api/lib/ipc.coffee',\n 'browser/api/lib/menu.coffee',\n 'browser/api/lib/menu-item.coffee',\n+ 'browser/api/lib/power-monitor.coffee',\n 'browser/atom/atom.coffee',\n 'browser/atom/objects-registry.coffee',\n ...
2013-08-03T07:58:59
nodejs/node
64348f5ea557d414b08d1b2602d794e48ac06bb2
67790962daccb5ff19c977119d7231cbe175c206
src: removed unnecessary prototypes from Environment::SetProtoMethod Added an optional parameter of type v8::ConstructorBehavior to Environment::NewFunctionTemplate, defaulting to v8::ConstructorBehavior::kAllow. Also modified Environment::SetProtoMethod to pass v8::ConstructorBehavior::kThrow to its call to Environme...
[ { "path": "src/env-inl.h", "patch": "@@ -583,9 +583,11 @@ inline void Environment::ThrowUVException(int errorno,\n \n inline v8::Local<v8::FunctionTemplate>\n Environment::NewFunctionTemplate(v8::FunctionCallback callback,\n- v8::Local<v8::Signature> signature) {\n+ ...
2018-04-26T01:51:55
huggingface/transformers
c361b1e3d9c106ee63dbe9b1ffecd0b31d221cc4
ba29a439adbe6f371710d0514659127264ae24b3
[docs] fix model checkpoint name (#36075) update model name
[ { "path": "docs/source/en/serialization.md", "patch": "@@ -130,7 +130,7 @@ Alternative to CLI, you can export a 🤗 Transformers model to ONNX programmati\n >>> from optimum.onnxruntime import ORTModelForSequenceClassification\n >>> from transformers import AutoTokenizer\n \n->>> model_checkpoint = \"distilb...
2025-02-07T20:41:52
golang/go
6f62f852efca58b99fc421fdbb405f2620a46e0f
0e31de280f8593dcee2bedb120eb929503785abf
net/http: fix request cancellation race When a in-flight request is cancelled, (*Transport).cancelRequest is called. The cancelRequest function looks up and invokes a cancel function before returning. The function lookup happens with reqMu held, but the cancel function is invoked after dropping the mutex. If two call...
[ { "path": "src/net/http/transport.go", "patch": "@@ -786,10 +786,12 @@ func (t *Transport) CancelRequest(req *Request) {\n // Cancel an in-flight request, recording the error value.\n // Returns whether the request was canceled.\n func (t *Transport) cancelRequest(key cancelKey, err error) bool {\n+\t// Thi...
2021-03-20T05:01:10
electron/electron
d888f5cc31dedef33256a0441a4f73d4fce4b101
51cf1db652f77962bcf358aeea8142607a2341a1
Revert "Enable getUserMedia(). Part of fixes for #31." Now the getUserMedia is implemented in brightray. This reverts commit f26db5c7a1c6328549d1bb884b051f03b1786494. Conflicts: atom.gyp
[ { "path": "atom.gyp", "patch": "@@ -91,10 +91,6 @@\n 'browser/file_dialog.h',\n 'browser/file_dialog_mac.mm',\n 'browser/file_dialog_win.cc',\n- 'browser/media/media_capture_devices_dispatcher.cc',\n- 'browser/media/media_capture_devices_dispatcher.h',\n- 'browser/media/medi...
2013-08-01T06:50:06
huggingface/transformers
ba29a439adbe6f371710d0514659127264ae24b3
a18b7fdd9e79e8dd0379f6afe7883e8220d24c4d
Fix OS err (#36094) * Try via local_main_process first * try 2
[ { "path": "src/transformers/trainer.py", "patch": "@@ -3153,14 +3153,15 @@ def _save_checkpoint(self, model, trial):\n self.state.stateful_callbacks[cb_name] = cb_state\n self.state.save_to_json(os.path.join(output_dir, TRAINER_STATE_NAME))\n \n- try:\n- ...
2025-02-07T14:57:43
nodejs/node
c6a42868c81d91e48b0672e0202bcc3223edfadf
c71b97303c078ac51b88b004d9fc2b2cad5e485e
doc: fix manpage warning LC_ALL=C.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l -Tutf8 -Z ./doc/node.1 > /dev/null mdoc warning: Empty input line #389 PR-URL: https://github.com/nodejs/node/pull/20383 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> R...
[ { "path": "doc/node.1", "patch": "@@ -384,4 +384,3 @@ IRC (Node.js core development):\n .Sh AUTHORS\n Written and maintained by 1000+ contributors:\n .Sy https://github.com/nodejs/node/blob/master/AUTHORS\n-.", "additions": 0, "deletions": 1, "language": "Unknown" } ]
2018-04-28T16:50:29
vercel/next.js
ba02680b7bd0e3f0830ab371ef1d25dbaab4404f
3800f26309700b2528939c13fa223c85d85ba051
example: add postcss as with-turbopack example devDep (#41795) <!-- 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: --> ...
[ { "path": "examples/with-turbopack/package.json", "patch": "@@ -32,6 +32,7 @@\n \"autoprefixer\": \"^10.4.7\",\n \"eslint\": \"8.19.0\",\n \"eslint-config-next\": \"latest\",\n+ \"postcss\": \"^8.4.14\",\n \"prettier\": \"^2.7.1\",\n \"prettier-plugin-tailwindcss\": \"^0.1.12\",\n ...
2022-10-25T17:43:40
golang/go
0e31de280f8593dcee2bedb120eb929503785abf
975b097307621ad32217946f9732d17101d72aaf
math/big: don't require runtime.(*Frame).Next symbol present I don't know why the test requires runtime.(*Frame).Next symbol present in the binary under test. I assume it is just some sanity check? With CL 268479 runtime.(*Frame).Next can be pruned by the linker. Replace it with runtime.main which should always be pre...
[ { "path": "src/math/big/link_test.go", "patch": "@@ -42,7 +42,7 @@ func main() {}\n \tif err != nil {\n \t\tt.Fatalf(\"nm: %v, %s\", err, nm)\n \t}\n-\tconst want = \"runtime.(*Frames).Next\"\n+\tconst want = \"runtime.main\"\n \tif !bytes.Contains(nm, []byte(want)) {\n \t\t// Test the test.\n \t\tt.Errorf(...
2021-03-24T15:02:46
huggingface/transformers
014047e1c8784c00e2a04cb04ffcecdd5cb23c16
006d9249ec0270ff6c4d3840979d23fe94bdc763
Fix bug in apply_rotary_pos_emb_flashatt: in Qwen2-5-VL (#36065)
[ { "path": "src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py", "patch": "@@ -162,8 +162,8 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:\n \n def apply_rotary_pos_emb_flashatt(tensor: torch.Tensor, freqs: torch.Tensor) -> torch.Tensor:\n tensor_ = tensor.float()\n- cos = freqs.cos()\n...
2025-02-07T09:43:45
electron/electron
a61fa01c5df9d739c410e2be54e81cbc54926873
53ac82b6c1f6baa37a599f4fb7e3302bf1b86ba5
Update libchromiumcontent to get basic Linux support * vendor/libchromiumcontent 33472d4...be71317 (4): > Merge pull request #24 from brightray/linux > Fix gyp syntax > Fix Release linker error on Linux > Make sure we always apply patches in alphabetical order
[ { "path": "brightray/vendor/libchromiumcontent", "patch": "@@ -1 +1 @@\n-Subproject commit 33472d4dfeca556ce68c126cc71cd1e3f830de8a\n+Subproject commit be713176cce155601c7ec79f4129f4c7fceae495", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-07-31T23:27:00
nodejs/node
4546ad2784f803eb4d4fce8f82c64daf444ee950
3b60fc2b9b8a6b205a2b061087d2fc98d716c215
src: fix inconsistency in extern declaration NodeCounterProvider is declared as extern but defined as EXTERN_C. This confuses clang-cl. PR-URL: https://github.com/nodejs/node/pull/20436 Refs: https://github.com/nodejs/node/issues/19630 Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Anna Henn...
[ { "path": "src/node_win32_perfctr_provider.cc", "patch": "@@ -119,7 +119,7 @@ PPERF_COUNTERSET_INSTANCE perfctr_instance;\n namespace node {\n \n \n-EXTERN_C DECLSPEC_SELECTANY HANDLE NodeCounterProvider = nullptr;\n+HANDLE NodeCounterProvider = nullptr;\n \n void InitPerfCountersWin32() {\n ULONG status;...
2018-04-30T20:45:00
vercel/next.js
3800f26309700b2528939c13fa223c85d85ba051
b3435807a5247557f12dc3fe3e2bdd3bd8edacb1
examples: Remove turbo.json from turbopack example (#41794) <!-- 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: --> ## ...
[ { "path": "examples/with-turbopack/turbo.json", "patch": "@@ -1,19 +0,0 @@\n-{\n- \"pipeline\": {\n- \"dev\": {\n- \"outputs\": [],\n- \"cache\": false\n- },\n- \"dev:turbo\": {\n- \"outputs\": [],\n- \"cache\": false\n- },\n- \"build\": {\n- \"dependsOn\": [\"tailwi...
2022-10-25T17:32:33
golang/go
975b097307621ad32217946f9732d17101d72aaf
e8700f1ce6f4103207f470cce443f04377baa600
cmd/link: separate elf addend size from reloc size The size of the field may be smaller than the addend, such is the case with R_PPC64_TOC16_HA/LO and similar relocations. Add an extra return value to ldelf.relSize to account for addend size which may be larger than the relocated field, and fix the related ppc64 relo...
[ { "path": "src/cmd/link/internal/loadelf/ldelf.go", "patch": "@@ -755,7 +755,7 @@ func Load(l *loader.Loader, arch *sys.Arch, localSymVersion int, f *bio.Reader,\n \t\t\t}\n \n \t\t\trType := objabi.ElfRelocOffset + objabi.RelocType(relocType)\n-\t\t\trSize, err := relSize(arch, pn, uint32(relocType))\n+\t\...
2021-03-23T14:51:43
huggingface/transformers
006d9249ec0270ff6c4d3840979d23fe94bdc763
6246c03260d13b02591de34d49051360484d1bb0
Adding RT-DETRv2 for object detection (#34773) * cookiecutter add rtdetrv2 * make modular working * working modelgit add . * working modelgit add . * finalize moduar inheritence * finalize moduar inheritence * Update src/transformers/models/rtdetrv2/modular_rtdetrv2.py Co-authored-by: Cyril Vallez...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -709,6 +709,8 @@\n title: ResNet\n - local: model_doc/rt_detr\n title: RT-DETR\n+ - local: model_doc/rt_detr_v2\n+ title: RT-DETRv2\n - local: model_doc/segformer\n title: SegFormer\n - local: model_d...
2025-02-06T19:28:45
electron/electron
c2623d2bdcfbca1a9f3a7d4a86d1c9fae16905aa
259533504509cd91b3be355f1da12228b62cbb66
Fix typos
[ { "path": "brightray/browser/media/media_stream_devices_controller.cc", "patch": "@@ -83,4 +83,4 @@ void MediaStreamDevicesController::Deny() {\n scoped_ptr<content::MediaStreamUI>());\n }\n \n-} // namespace atom\n+} // namespace brightray", "additions": 1, "deletions": 1, "la...
2013-07-31T18:52:21
vercel/next.js
b3435807a5247557f12dc3fe3e2bdd3bd8edacb1
24787089cf774e7730db81a3bef6629cbc5f01d1
examples: Update turbopack (#41793) <!-- 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: --> ## Bug - [ ] Related iss...
[ { "path": "examples/with-turbopack/README.md", "patch": "@@ -31,7 +31,7 @@ For more information, see: https://turbo.build/pack/docs/features/css#tailwind-c\n \n ## Documentation\n \n-https://nextjs.org/docs/advanced-features/turbopack\n+https://nextjs.link/with-turbopack\n \n ## Providing Feedback\n ", ...
2022-10-25T17:27:43
nodejs/node
3b60fc2b9b8a6b205a2b061087d2fc98d716c215
2fda625b201c15e368a205bcf43f492ddb071cc2
test: fix up N-API error test Replace assert.throws() with an explicit try/catch in order to catch the thrown value and be able to compare it strictly to an expected value. Re: https://github.com/nodejs/node/pull/20428#issuecomment-386160684 PR-URL: https://github.com/nodejs/node/pull/20487 Reviewed-By: Ruben Bridge...
[ { "path": "test/addons-napi/test_error/test.js", "patch": "@@ -61,16 +61,23 @@ assert.throws(() => {\n }, /^TypeError: type error$/);\n \n function testThrowArbitrary(value) {\n- assert.throws(() => {\n- test_error.throwArbitrary(value);\n- }, value);\n+ assert.throws(\n+ () => test_error.throwArbi...
2018-05-03T01:02:06
golang/go
e8700f1ce6f4103207f470cce443f04377baa600
747f426944b1c0c3a26537ef78cb6c5bd4d05cde
cmd/compile, cmd/link: use weak reference in itab When converting a type T to a non-empty interface I, we build the itab which contains the code pointers of the methods. Currently, this brings those methods live (if the itab is live), even if the interface method is never used. This CL changes the itab to use weak ref...
[ { "path": "src/cmd/compile/internal/objw/objw.go", "patch": "@@ -46,6 +46,13 @@ func SymPtr(s *obj.LSym, off int, x *obj.LSym, xoff int) int {\n \treturn off\n }\n \n+func SymPtrWeak(s *obj.LSym, off int, x *obj.LSym, xoff int) int {\n+\toff = int(types.Rnd(int64(off), int64(types.PtrSize)))\n+\ts.WriteWeak...
2020-11-08T20:18:35
huggingface/transformers
6246c03260d13b02591de34d49051360484d1bb0
4563ba2c6f88d77ef2e47d80b2ec6c82a3589d17
[docs] fix outdated example code in `trainer.md` (#36066) fix bugs
[ { "path": "docs/source/en/trainer.md", "patch": "@@ -130,7 +130,7 @@ from torch import nn\n from transformers import Trainer\n \n class CustomTrainer(Trainer):\n- def compute_loss(self, model, inputs, return_outputs=False):\n+ def compute_loss(self, model, inputs, return_outputs=False, num_items_in_ba...
2025-02-06T18:54:22
electron/electron
2c237e9d0871e5f291471b155dbd65100cec0a7d
0acaff48b84d26ddfca81ea50c24033279eb519f
Update node: fix child_process.fork on Windows.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 0b2e61404866803e6eb9f298136b9726aced26ca\n+Subproject commit f8c96a66ee6c7a31ff3fbf21547b28b65517eed8", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-07-31T04:36:29
vercel/next.js
24787089cf774e7730db81a3bef6629cbc5f01d1
63aab20a2ca4f0340e7ca5baff00a5f261dd12d2
Add turbopack example (#41789) <!-- 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: --> ## Bug - [ ] Related issues l...
[ { "path": "examples/with-turbopack/.gitignore", "patch": "@@ -0,0 +1,41 @@\n+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.\n+\n+# dependencies\n+/node_modules\n+/.pnp\n+.pnp.js\n+\n+# testing\n+/coverage\n+\n+# next.js\n+/.next/\n+/out/\n+\n+# production\n+/build\n+\n...
2022-10-25T17:21:53
huggingface/transformers
4563ba2c6f88d77ef2e47d80b2ec6c82a3589d17
28f73bc3072bd298377b9d473cf2d62a4e4f442b
Fix StopStringCriteria to handle tokens above len(tokenizer) (#35797) * Fix StopStringCriteria to handle tokens above len(tokenizer) This fixes #35244 by clipping token IDs to be within the tokenizer's vocabulary size before performing the embedding lookup. This prevents index errors when model.config.vocab_size > ...
[ { "path": "src/transformers/generation/stopping_criteria.py", "patch": "@@ -245,26 +245,26 @@ def __init__(self, tokenizer: PreTrainedTokenizerBase, stop_strings: Union[str,\n vocab = tokenizer.get_vocab()\n token_list, token_indices = tuple(vocab.keys()), tuple(vocab.values())\n sel...
2025-02-06T16:53:28
golang/go
d8960e65a2386c899d50d7f0c355080865225b94
2e94401277128f9e08e3319903d1b78c09c4ab98
cmd/go: move psuedo-version and version sorting to x/mod Fixes #44969 Change-Id: I01e7b1cf73f0f506aa805bbfe4a9ccaed3d44efe Reviewed-on: https://go-review.googlesource.com/c/go/+/304229 Trust: Jay Conrod <jayconrod@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com>
[ { "path": "src/cmd/go.mod", "patch": "@@ -6,7 +6,7 @@ require (\n \tgithub.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5\n \tgolang.org/x/arch v0.0.0-20210308155006-05f8f0431f72\n \tgolang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83\n-\tgolang.org/x/mod v0.4.3-0.20210310185834-19d50cac98aa\n+\tgol...
2021-03-23T21:03:46
electron/electron
0acaff48b84d26ddfca81ea50c24033279eb519f
247f7a51ebaac740709fe5d2f9f33f79bf2e55c4
Update node: fix process.stdio.
[ { "path": "vendor/node", "patch": "@@ -1 +1 @@\n-Subproject commit 6f537ddaf67d4916be895a63ee488ea4b047c80c\n+Subproject commit 0b2e61404866803e6eb9f298136b9726aced26ca", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-07-31T04:30:07
nodejs/node
1cf7ef6433d773f15e324a9f284fe8b674d0d90c
2d609c5d53a4394bd2a9c6e15ab074c3cc2039a2
doc: document using `domain` in REPL Document that REPL uses the `domain` module to handle uncaught exceptions, and the side effects caused by it. PR-URL: https://github.com/nodejs/node/pull/20382 Fixes: https://github.com/nodejs/node/issues/19998 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anna...
[ { "path": "doc/api/repl.md", "patch": "@@ -141,6 +141,17 @@ global or scoped variable, the input `fs` will be evaluated on-demand as\n > fs.createReadStream('./some/file');\n ```\n \n+#### Global Uncaught Exceptions\n+\n+The REPL uses the [`domain`][] module to catch all uncaught exceptions for that\n+REPL ...
2018-04-28T15:51:19
vercel/next.js
e841558cf3c9cadb046d7c8707a84d06f3c7d45d
f9768a71227d70717e5e8589c864d974459ae25a
Update async storage fix (#41779) <!-- 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: --> ## Bug - [ ] Related issue...
[ { "path": "packages/next/client/components/static-generation-async-storage.ts", "patch": "@@ -0,0 +1,4 @@\n+export {\n+ staticGenerationAsyncStorage,\n+ StaticGenerationStore,\n+} from './static-generation-async-storage/storage.js'", "additions": 4, "deletions": 0, "language": "Unknown" }, ...
2022-10-25T12:13:24
huggingface/transformers
28f73bc3072bd298377b9d473cf2d62a4e4f442b
1590c664306766f32ba68c50e67f14d61b16925d
Fix model kwargs (#35875) * Save state * Make a failing test * Better test * mpt -> done, many more to go * Rm extranious * Bamba * Bert * big_bird * biogpt * bloom * codegen * ctrl * data2vec * dbrx * Through up to Dbrx * electra * ernie * falcon * Fuyu/persimmon ...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -5198,6 +5198,9 @@ def tplize(mod: torch.nn.Module) -> None:\n \n @property\n def loss_function(self):\n+ if hasattr(self, \"_loss_function\"):\n+ return self._loss_function\n+\n loss_type = getattr(self, \"loss_t...
2025-02-06T16:35:25
electron/electron
247f7a51ebaac740709fe5d2f9f33f79bf2e55c4
52a3dc8c9d33a0fcb4fcbabb7cc61bd5e815ce80
Fix the update-node script.
[ { "path": "script/update-node.py", "patch": "@@ -3,6 +3,7 @@\n import argparse\n import errno\n import subprocess\n+import stat\n import sys\n import os\n \n@@ -24,13 +25,13 @@ def main():\n \n url, filename = get_node_url(args.url, args.version)\n directory = tempdir(prefix='atom-shell-')\n- path = os...
2013-07-31T04:14:58
nodejs/node
2d609c5d53a4394bd2a9c6e15ab074c3cc2039a2
17cb5ad2d238b0cef21c0b16ad42acf9be7524ba
doc: fix mkdtemp() documentation Several minor fixes to the entries for `mkdtemp()`. The most significant is that a mistaken use of `fs.mkdtemp()` is corrected to `fsPromises.mkdtemp()`. PR-URL: https://github.com/nodejs/node/pull/20512 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <...
[ { "path": "doc/api/fs.md", "patch": "@@ -2064,8 +2064,6 @@ parameter.\n The optional `options` argument can be a string specifying an encoding, or an\n object with an `encoding` property specifying the character encoding to use.\n \n-Example:\n-\n ```js\n fs.mkdtemp(path.join(os.tmpdir(), 'foo-'), (err, fol...
2018-05-04T04:51:03
golang/go
14ef2d8c0155b725226516bd2eeb804a70a95462
87a3ac5f5328ea0a6169cfc44bdb081014fcd3ec
cmd/compile: fix array case in types-for-register parameter Corrected typo/thinko. We should keep the test for this, but it doesn't run yet because of reflection as far as I know (but I am not testing w/ GOEXPERIMENT). See https://github.com/golang/go/issues/44816#issuecomment-805297295 Updates #40724 Updates #4481...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -168,7 +168,7 @@ func appendParamTypes(rts []*types.Type, t *types.Type) []*types.Type {\n \t\ttyp := t.Kind()\n \t\tswitch typ {\n \t\tcase types.TARRAY:\n-\t\t\tfor i := int64(0); i < t.Size(); i++ { // 0 gets no registers, plus future-pro...
2021-03-23T23:55:17
vercel/next.js
f9768a71227d70717e5e8589c864d974459ae25a
bd16ef3c1b1d9654f1cebe96fbdeb3dd51beef36
Add head handling (#41768) - Port tests - Handle head on initial SSR <!-- 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...
[ { "path": "packages/next/client/components/app-router.tsx", "patch": "@@ -95,6 +95,7 @@ let initialParallelRoutes: CacheNode['parallelRoutes'] =\n const prefetched = new Set<string>()\n \n type AppRouterProps = {\n+ initialHead: ReactNode\n initialTree: FlightRouterState\n initialCanonicalUrl: string\n...
2022-10-25T12:10:30
huggingface/transformers
1590c664306766f32ba68c50e67f14d61b16925d
1ce0e2992ecdc52d32f4dde4e2cebc5e99c3a774
Fix words typos in ggml test. (#36060) Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
[ { "path": "tests/quantization/ggml/test_ggml.py", "patch": "@@ -43,7 +43,7 @@ class GgufQuantizationTests(unittest.TestCase):\n Test cases for weights dequantization with GGUF models.\n Note: The quantization names should keep aligned with `GGMLQuantizationType` in gguf-py:\n https://github.com/...
2025-02-06T15:32:40
electron/electron
e9953834015d1801e87bda1fd331e7f7c1830986
402dc2f5d2b8f89c39fd600b9c1932fea84fdb02
Guard against double erasing an object, fixes #44.
[ { "path": "common/api/atom_api_id_weak_map.cc", "patch": "@@ -5,6 +5,8 @@\n \n #include \"common/api/atom_api_id_weak_map.h\"\n \n+#include \"base/logging.h\"\n+\n namespace atom {\n \n namespace api {\n@@ -26,6 +28,11 @@ bool IDWeakMap::Has(int key) const {\n }\n \n void IDWeakMap::Erase(v8::Isolate* isola...
2013-07-29T11:14:35
nodejs/node
f7cdeba5486ac6c36bee59580832994aadfd264a
cd8ed1c447518af1cb54ad73f0cde34e44cbc320
crypto: allocate more memory for cipher.update() For key wrapping algorithms, calling EVP_CipherUpdate() with null output could obtain the size for the ciphertext. Then use the returned size to allocate output buffer. Also add a test case to verify des3-wrap. Signed-off-by: Yihong Wang <yh.wang@ibm.com> PR-URL: http...
[ { "path": "src/node_crypto.cc", "patch": "@@ -3023,14 +3023,28 @@ CipherBase::UpdateResult CipherBase::Update(const char* data,\n auth_tag_set_ = true;\n }\n \n- *out_len = len + EVP_CIPHER_CTX_block_size(ctx_);\n- *out = Malloc<unsigned char>(static_cast<size_t>(*out_len));\n+ *out_len = 0;\n+ in...
2018-04-26T23:15:12
golang/go
769d4b68ef72125de068a060220c3dbd9ba65c43
4e27aa6cd2c3f579328e3b490780664ade34053d
cmd/compile: wrap/desugar defer calls for register abi Adds code to the compiler's "order" phase to rewrite go and defer statements to always be argument-less. E.g. defer f(x,y) => x1, y1 := x, y defer func() { f(x1, y1) } This transformation is not beneficial on its own, but it helps simplify runti...
[ { "path": "src/cmd/compile/internal/ir/expr.go", "patch": "@@ -157,12 +157,13 @@ const (\n type CallExpr struct {\n \tminiExpr\n \torigNode\n-\tX Node\n-\tArgs Nodes\n-\tKeepAlive []*Name // vars to be kept alive until call returns\n-\tIsDDD bool\n-\tUse CallUse\n-\tNoInline bool\n+\...
2021-02-24T17:55:52
huggingface/transformers
1ce0e2992ecdc52d32f4dde4e2cebc5e99c3a774
e3458af72634c9c60cba4e44ac4c44dd655cee59
Nail in edge case of torch dtype being overriden permantly in the case of an error (#35845) * Nail in edge case of torch dtype * Rm unused func * Apply suggestions from code review Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com> * Refactor tests to only mock what we need, don't in...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -246,6 +246,25 @@ def set_zero3_state():\n _is_ds_init_called = False\n \n \n+def restore_default_torch_dtype(func):\n+ \"\"\"\n+ Decorator to restore the default torch dtype\n+ at the end of the function. Serves\n+ as a backup...
2025-02-06T14:05:23
vercel/next.js
a090b5cdec8a55182237b1bc9ea7660f318b94e6
e7f97c332ecc7dcaccc8ad0ad9b30474de412dec
Ensure async_hooks are not resolved for client (#41778) Fixes: [slack thread](https://vercel.slack.com/archives/C02UJN0A1UL/p1666689839050269)
[ { "path": "packages/next/build/webpack/loaders/next-app-loader.ts", "patch": "@@ -243,7 +243,7 @@ const nextAppLoader: webpack.LoaderDefinitionFunction<{\n export const LayoutRouter = require('next/dist/client/components/layout-router.js').default\n export const RenderFromTemplateContext = require('...
2022-10-25T09:51:41
electron/electron
e1ac21aa7a0493ce95bfe45b8d96bc021f2f9ac4
f8090dc010dad8875d9b9d0d877cf0605e60a653
Add script translate addresses in crash report into symbols.
[ { "path": "script/translate-crash-log-addresses.coffee", "patch": "@@ -0,0 +1,54 @@\n+#!/usr/bin/env coffee\n+# Usage:\n+# Copy the crash log into pasteboard and then run\n+# pbpaste | ./script/translate-crash-log-addresses.coffee\n+\n+atos = (addresses, callback) ->\n+ path = require 'path'\n+ exec = req...
2013-07-28T02:04:56
nodejs/node
cd8ed1c447518af1cb54ad73f0cde34e44cbc320
b4ca3a4dba8226ef380db20b8395fdb5cbffee19
n-api: make test_error functions static PR-URL: https://github.com/nodejs/node/pull/20373/ Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
[ { "path": "test/addons-napi/test_error/test_error.c", "patch": "@@ -1,7 +1,7 @@\n #include <node_api.h>\n #include \"../common.h\"\n \n-napi_value checkError(napi_env env, napi_callback_info info) {\n+static napi_value checkError(napi_env env, napi_callback_info info) {\n size_t argc = 1;\n napi_value a...
2018-04-27T15:36:35