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
huggingface/transformers
286393fbb11e3c95439ed94b01781cba632e2dfb
4705b04c74d5576e3256e515b587a59cadec96a9
enable tp on CPU (#36299) * enable tp on CPU Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * get rank from cpu Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * update Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * enable TP tests Signed-off-by: jiqing-feng <jiqing.feng@intel.com> * fix comment ...
[ { "path": "docs/source/en/perf_infer_gpu_multi.md", "patch": "@@ -44,11 +44,6 @@ import os\n import torch\n from transformers import AutoModelForCausalLM, AutoTokenizer\n \n-# initialize distributed environment\n-rank = int(os.environ[\"RANK\"])\n-device = torch.device(f\"cuda:{rank}\")\n-torch.cuda.set_dev...
2025-03-31T08:55:47
vercel/next.js
23898d0a81266d22b653a4a1830009160ff92a87
4ce9b9eb876930f712c8ea88d348dacae5cbfcfd
fix(next-dev): disable git version info (vercel/turbo#2815)
[ { "path": "crates/next-dev/Cargo.toml", "patch": "@@ -75,4 +75,4 @@ nix = \"0.25.0\"\n \n [build-dependencies]\n turbo-tasks-build = { path = \"../turbo-tasks-build\" }\n-vergen = { version = \"7.3.2\", default-features = false, features = [\"cargo\",\"git\"] }\n\\ No newline at end of file\n+vergen = { ver...
2022-11-23T03:55:56
golang/go
55c517a8b330710e6aaf6cc7133a9c7759bbb1d1
d553c0144d2a532b3e962715899d6cd9db47192a
cmd/compile: fix handling of ir.CurFunc during stenciling The transform functions (specifically transformArgs, which is used from transformCall/transformReturn) require that ir.CurFunc is set correctly. Since transformCall() is used on the call of an instantiated generic function, we need to set ir.CurFunc correctly i...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -52,6 +52,8 @@ func (g *irgen) stencil() {\n \t\t\t\t// Skip any generic functions\n \t\t\t\tcontinue\n \t\t\t}\n+\t\t\t// transformCall() below depends on CurFunc being set.\n+\t\t\tir.CurFunc = decl.(*ir.Func)\n \n \t\tcase ir.OAS, ir.OAS...
2021-04-27T00:52:53
nodejs/node
9bdc882d58b172d9b5d960d55c474bf9f0770f78
b3627560a94eaf51262cc041aebc9ef150b5fcbc
deps: cherry-pick b20faff from upstream V8 Original commit message: [log] fix ExistingCodeLogger behavior on edge case ExistingCodeLogger was behaving incorrectly when the CodeEventHandler API was used in combination with --interpreted-frames-native-stack. Instead of collecting copied trampoline...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.10',\n+ 'v8_embedder_string': '-node.11',\n \n # Enable disassembler for `--print-co...
2018-06-11T16:05:33
huggingface/transformers
4705b04c74d5576e3256e515b587a59cadec96a9
2b4734bd4907d54a14f992c42d079af8dfffe6b0
Fix 4090/ada not detected as having FP8 support (#37067) fix 4090/ada not detected as having FP8 support Signed-off-by: Qubitium <qubitium@modelcloud.ai> Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com> Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
[ { "path": "src/transformers/quantizers/quantizer_finegrained_fp8.py", "patch": "@@ -52,9 +52,10 @@ def validate_environment(self, *args, **kwargs):\n \n compute_capability = torch.cuda.get_device_capability()\n major, minor = compute_capability\n- if major < 9:\n+ if (major < 8...
2025-03-31T08:53:48
rust-lang/rust
e827b17ddb11fa482efbf18799c9532f6bbd3c2c
fae7785b60ea7fe1ad293352c057a5b7be73d245
Move make_unclosed_delims_error to lexer/diagonostics.rs Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
[ { "path": "compiler/rustc_parse/src/lexer/diagnostics.rs", "patch": "@@ -1,9 +1,12 @@\n use rustc_ast::token::Delimiter;\n use rustc_errors::Diag;\n+use rustc_session::parse::ParseSess;\n use rustc_span::Span;\n use rustc_span::source_map::SourceMap;\n \n use super::UnmatchedDelim;\n+use crate::errors::Mism...
2025-04-22T06:17:14
electron/electron
4a3341e31edc06f450fb8b1591650c20661efbb4
2f088c5caaff09c9486ff565eda408447f238fbf
linux: Implement crash reporter.
[ { "path": "atom.gyp", "patch": "@@ -170,6 +170,8 @@\n 'common/crash_reporter/crash_reporter_mac.mm',\n 'common/crash_reporter/crash_reporter_win.cc',\n 'common/crash_reporter/crash_reporter_win.h',\n+ 'common/crash_reporter/linux/crash_dump_handler.cc',\n+ 'common/crash_reporter/...
2014-02-26T12:39:20
vercel/next.js
0d6e689e3dc8408e8911db1f459e84962da69c3d
28454c6ddbc310419467e5415aee26e48d079b46
build(cargo): bump up turbopack (#43273) This PR bumps up turbopack to latest version. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature...
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -326,6 +326,9 @@ name = \"cc\"\n version = \"1.0.76\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n checksum = \"76a284da2e6fe2092f2353e51713435363112dfd60030e22add80be333fb928f\"\n+dependencies = [\n+ \"jobserver\",\n+]\n \n [[...
2022-11-23T02:22:14
golang/go
7d22c2181b4343b58e40962cefd52af1284b4294
39844971fb92992305babb4b64d50faa7fea40a0
syscall: restore signal mask after setting foreground process group Fixes #37217 Change-Id: I0151bb77fc4c4552d1b19c31d784943b72f84b80 Reviewed-on: https://go-review.googlesource.com/c/go/+/313653 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@gola...
[ { "path": "src/syscall/exec_bsd.go", "patch": "@@ -90,8 +90,6 @@ func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr\n \n \t// Fork succeeded, now in child.\n \n-\truntime_AfterForkInChild()\n-\n \t// Enable tracing if requested.\n \tif sys.Ptrace {\n \t\t_, _, err1 = RawSyscall...
2021-04-27T00:27:58
nodejs/node
b3627560a94eaf51262cc041aebc9ef150b5fcbc
8689c785379293adc04ec2a3d47ed08a580fe521
deps: backport aa6ce3e from upstream V8 Original commit message: [log][api] introduce public CodeEventListener API Introduce a new public API called CodeEventListener to allow embedders to better support external profilers and other diagnostic tools without relying on unsupported methods like --perf-...
[ { "path": "common.gypi", "patch": "@@ -27,7 +27,7 @@\n \n # Reset this number to 0 on major V8 upgrades.\n # Increment by one for each non-official patch applied to deps/v8.\n- 'v8_embedder_string': '-node.9',\n+ 'v8_embedder_string': '-node.10',\n \n # Enable disassembler for `--print-cod...
2018-06-04T16:33:17
huggingface/transformers
bd41b9c1ac35f81b7672d0b908bad6784dfd768b
6acd5aecb34b579729c29a26aa470f92081d88fa
Gaudi: Fix the pipeline failed issue with hpu device (#36990) * Gaudi: fix the issue of is_torch_hpu_available() returns false Signed-off-by: yuanwu <yuan.wu@intel.com> * Fix make fixup Signed-off-by: yuanwu <yuan.wu@intel.com> * Add comments for the implicit behavior of import Signed-off-by: yuanwu <yuan.wu@inte...
[ { "path": "src/transformers/pipelines/base.py", "patch": "@@ -947,12 +947,18 @@ def __init__(\n if device == -1 and self.model.device is not None:\n device = self.model.device\n if isinstance(device, torch.device):\n- if device.type == \"xpu\" and not i...
2025-03-31T08:23:47
electron/electron
2ce1d3a784e392722b4295576d3e2f9e5f3f2831
a81ef7847d79e325341290e150f308e0109b74fe
Fix building on cygwin.
[ { "path": "script/create-dist.py", "patch": "@@ -82,7 +82,7 @@ def main():\n args = parse_args()\n \n force_build()\n- if sys.platform != 'linux2':\n+ if TARGET_PLATFORM != 'linux':\n download_libchromiumcontent_symbols(args.url)\n create_symbols()\n copy_binaries()\n@@ -158,9 +158,9 @@ def ...
2014-02-25T11:05:38
vercel/next.js
fa5dcbd7fa15ca5852ab0e93c035b84aa454c469
274341373e0f750b2748f0f80e8fbbbd1db2d43f
Fix React.cache() in layout/page file (#43187) Co-authored-by: JJ Kasper <jj@jjsweb.site>
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -375,7 +375,7 @@ function useFlightResponse(\n * This is only used for renderToHTML, the Flight response does not need additional wrappers.\n */\n function createServerComponentRenderer(\n- ComponentToRender: React.ComponentType,\n+ Component...
2022-11-22T18:49:51
golang/go
39844971fb92992305babb4b64d50faa7fea40a0
6edd573218709e50dc73c49d5ae465819b7ef226
go/types: don't panic when checking a ListExpr in exprInternal As an alternative to CL 312149, add a catch-all error message in exprInternal when encountering a ListExpr, rather than panicking. We still might want something like CL 312149 to improve the error message or recovery from bad indexing. Change-Id: I865f7c...
[ { "path": "src/go/internal/typeparams/notypeparams.go", "patch": "@@ -30,6 +30,10 @@ func UnpackExpr(expr ast.Expr) []ast.Expr {\n \treturn []ast.Expr{expr}\n }\n \n+func IsListExpr(n ast.Node) bool {\n+\treturn false\n+}\n+\n func Get(ast.Node) *ast.FieldList {\n \treturn nil\n }", "additions": 4, ...
2021-04-27T02:25:56
rust-lang/rust
6be270be0c3b0ac06621c0528b8230076d12d4e9
b8c54d6358926028ac2fab1ec2b8665c70edb1c0
Handle another negated literal in `eat_token_lit`. Extends the change from #139653, which was on expressions, to literals. Fixes #140098.
[ { "path": "compiler/rustc_parse/src/parser/expr.rs", "patch": "@@ -2148,6 +2148,17 @@ impl<'a> Parser<'a> {\n /// Keep this in sync with `Token::can_begin_literal_maybe_minus` and\n /// `Lit::from_token` (excluding unary negation).\n fn eat_token_lit(&mut self) -> Option<token::Lit> {\n+ ...
2025-04-22T04:56:45
nodejs/node
49ea06fda5840091fa936454ef1079f6560be74a
d9e95d8982ee5b409b36f09c77feccbb1040095c
net: report uv_tcp_open() errors uv_tcp_open() can fail. Prior to this commit, any error was being silently ignored. This commit raises the errors. PR-URL: https://github.com/nodejs/node/pull/21428 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "lib/net.js", "patch": "@@ -260,8 +260,14 @@ function Socket(options) {\n this[async_id_symbol] = getNewAsyncId(this._handle);\n } else if (options.fd !== undefined) {\n const { fd } = options;\n+ let err;\n+\n this._handle = createHandle(fd, false);\n- this._handle.open(fd);\n...
2018-06-20T21:02:03
huggingface/transformers
6acd5aecb34b579729c29a26aa470f92081d88fa
0d6a60fe55fe051a1a68f2026d19223ed57b3c75
Adding Qwen3 and Qwen3MoE (#36878) * Initial commit for Qwen3 * fix and add tests for qwen3 & qwen3_moe * rename models for tests. * fix * fix * fix and add docs. * fix model name in docs. * simplify modular and fix configuration issues * Fix the red CI: ruff was updated * revert ruff, version was wrong * fi...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -603,6 +603,10 @@\n title: Qwen2\n - local: model_doc/qwen2_moe\n title: Qwen2MoE\n+ - local: model_doc/qwen3\n+ title: Qwen3\n+ - local: model_doc/qwen3_moe\n+ title: Qwen3MoE\n - local: model_doc/rag\...
2025-03-31T07:50:49
electron/electron
a5ec8a9110de65eec4494c7588e2bb0bf1c5c24a
30b3657c0e017d34e4121a96554ec6d5184ec1d7
Do not define _DEBUG. The vc++ compiler would define some internal contants if we define _DEBUG, since we are linking to the release build of chromiumcontent, this would result in linking errors.
[ { "path": "atom.gyp", "patch": "@@ -232,7 +232,7 @@\n ],\n 'configurations': {\n 'Debug': {\n- 'defines': [ 'DEBUG', '_DEBUG' ],\n+ 'defines': [ 'DEBUG' ],\n 'cflags': [ '-g', '-O0' ],\n },\n },", "additions": 1, "deletions": 1, "language": "Unknown"...
2014-02-25T10:24:07
vercel/next.js
4196822b9ce82b86041ec627fd37aedddd59bdb4
3a770fd1438475b7c08c71de42a8e37451dd4966
Add a note about the auto-created empty directory (#43219) It isn't clear whether the `create` step needs to be run inside an empty directory (avoiding conflicts with existing content in the current working directory), or whether it can be run in a directory with existing contents, and its output would be placed in an...
[ { "path": "docs/getting-started.md", "patch": "@@ -19,7 +19,7 @@ If you have questions about anything related to Next.js, you're always welcome t\n \n ## Automatic Setup\n \n-We recommend creating a new Next.js app using `create-next-app`, which sets up everything automatically for you. To create a project,...
2022-11-22T14:11:55
golang/go
6edd573218709e50dc73c49d5ae465819b7ef226
1eca6aa7472604eb7597cbb3b132c6e28b89ee55
cmd/link: enforce larger alignment on split ppc64 text sections When laying out, we lazily increase the alignment for text sections as symbols are found requiring more. This works if the start of the virtual address (VA) for the section is greater than or equal to the alignment required by any symbols placed in this s...
[ { "path": "src/cmd/link/internal/ld/data.go", "patch": "@@ -2298,12 +2298,23 @@ func assignAddress(ctxt *Link, sect *sym.Section, n int, s loader.Sym, va uint64\n \t\t}\n \n \t\tif va-sect.Vaddr+funcsize+maxSizeTrampolinesPPC64(ldr, s, isTramp) > textSizelimit {\n+\t\t\t// Align the next text section to the...
2021-04-05T18:40:48
huggingface/transformers
0d6a60fe55fe051a1a68f2026d19223ed57b3c75
b7fc2daf8b3fe783173c270d592073aabfb426cb
🌐 [i18n-KO] Translated `qwen2_vl.md` to Korean (#36750) * fix: manual edits * fix: resolve suggestions * Update toctree.yml
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -720,6 +720,8 @@\n title: (번역중) Perceiver\n - local: in_translation\n title: (번역중) Pix2Struct\n+ - local: model_doc/qwen2_vl\n+ title: Qwen2VL\n - local: in_translation\n title: (번역중) Segment Anything\n ...
2025-03-30T22:00:27
nodejs/node
cbe307dc812a9088aa909837b9edd7e728e14953
9ca41e964246ad5f804a91419d6590ee83653fd8
doc: explain HTTP writeHead()'s fast path behavior calling writeHead() into a Response object that has no headers already set causes getHeader() to return undefined, even if the header was set in the writeHead() function call. Explain this behavior as an optimiation as opposed to a bug. Fixes: https://github.com/node...
[ { "path": "doc/api/http.md", "patch": "@@ -1277,6 +1277,13 @@ const server = http.createServer((req, res) => {\n });\n ```\n \n+If [`response.writeHead()`][] method is called and this method has not been\n+called, it will directly write the supplied header values onto the network\n+channel without caching i...
2018-06-12T14:41:07
electron/electron
06a4f83bb7d6cfc4ff227553ff07ab0d0d409ff0
7a8e43c65eadb073c00dfc6d1dd9e949599b43a1
linux: Fix upload script.
[ { "path": "script/upload.py", "patch": "@@ -73,8 +73,10 @@ def get_atom_shell_build_version():\n if sys.platform == 'darwin':\n atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app',\n 'Contents', 'MacOS', 'Atom')\n- else:\n+ elif sys.platform == 'win32':\...
2014-02-24T05:41:16
vercel/next.js
3a770fd1438475b7c08c71de42a8e37451dd4966
ef7a6e12107c6bf59ec3312d2c2040f169238d82
Fix app routes are not correctly matched when src directory is used (#43234) When creating the client entries, the `src/` prefix shouldn't be included in the entrypoint's name. Closes #42874. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attac...
[ { "path": "packages/next/build/webpack/plugins/flight-client-entry-plugin.ts", "patch": "@@ -203,7 +203,9 @@ export class FlightClientEntryPlugin {\n : entryRequest\n \n // Replace file suffix as `.js` will be added.\n- const bundlePath = relativeRequest.replace(/\\.(js|ts)x?$/, '')...
2022-11-22T14:03:46
rust-lang/rust
6518bcb96785ad16413d11d571987079b45da90e
90fe2805df75b9d46b985346f0dff2690c285330
Fix `unsafe_op_in_unsafe_fn` for Unix env
[ { "path": "library/std/src/sys/env/mod.rs", "patch": "@@ -1,6 +1,6 @@\n //! Platform-dependent environment variables abstraction.\n \n-#![deny(unsafe_op_in_unsafe_fn)]\n+#![forbid(unsafe_op_in_unsafe_fn)]\n \n cfg_if::cfg_if! {\n if #[cfg(target_family = \"unix\")] {", "additions": 1, "deletions...
2025-04-22T04:17:16
golang/go
e0815d041c55dad8ae5642466b08fc2f520a59d4
ca8e8317be5b288163c3623f936fb234723484cc
runtime: replace --buildmode with -buildmode in tests While debugging issue #45638, I discovered that some tests were using --buildmode command line parameter instead of -buildmode. The --buildmode parameter is handled properly by the flag package - it is read as -buildmode. But we should correct code anyway. Update...
[ { "path": "src/runtime/signal_windows_test.go", "patch": "@@ -32,7 +32,7 @@ func TestVectoredHandlerDontCrashOnLibrary(t *testing.T) {\n \n \t// build go dll\n \tdll := filepath.Join(dir, \"testwinlib.dll\")\n-\tcmd := exec.Command(testenv.GoToolPath(t), \"build\", \"-o\", dll, \"--buildmode\", \"c-shared\"...
2021-04-25T08:26:30
huggingface/transformers
9fd9476005f3d11e3447666b52da416a7eea740a
257bc670fb0eb5e118468f0adfb6e011ddd96782
[generate] beam search -- fix output cropping (#37080) * handle jagged beams * better comment * bart -- beam search tests print special tokens * more bart test updates * more tests! * better comment
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -3931,9 +3931,14 @@ def _beam_search(\n beam_scores = self._flatten_beam_dim(beam_scores[:, :num_return_sequences])\n beam_indices = self._flatten_beam_dim(beam_indices[:, :num_return_sequences, :])\n \n- # Crop the static...
2025-03-28T17:57:51
nodejs/node
9ca41e964246ad5f804a91419d6590ee83653fd8
2f1a23e5be9e1774a579d4201da24adaf3df2f1e
src: introduce inspect-brk-node This commit is a suggestion to add a new option to the node executable to allow for breaking in node's javascript bootstrapper code. Previously I've been able to set breakpoints in node bootstrapper code and then restart the debugging session and those breakpoints would be hit, but I d...
[ { "path": "lib/internal/bootstrap/loaders.js", "patch": "@@ -40,7 +40,10 @@\n 'use strict';\n \n (function bootstrapInternalLoaders(process, getBinding, getLinkedBinding,\n- getInternalBinding) {\n+ getInternalBinding, debugBreak) {\n+ if ...
2018-05-18T10:51:20
rust-lang/rust
13b94cf89f3e974fe697f80a5f2742ee4bccc05a
913796c1c5f7e0afa6c4323e8bd850efd7a646d9
ci: Fix extensive tests Move this to a script and ensure only `libm-test` gets built to avoid default feature issues with `compiler-builtins`.
[ { "path": "library/compiler-builtins/.github/workflows/main.yaml", "patch": "@@ -318,22 +318,7 @@ jobs:\n rustup default nightly\n - uses: Swatinem/rust-cache@v2\n - name: Run extensive tests\n- run: |\n- echo \"Tests to run: '$TO_TEST'\"\n- if [ -z \"$TO_TEST\...
2025-04-22T02:23:44
electron/electron
7a8e43c65eadb073c00dfc6d1dd9e949599b43a1
90cc1a7062184bbd3dd92349b773421b422407b4
linux: Fix create-dist.
[ { "path": "script/create-dist.py", "patch": "@@ -39,6 +39,11 @@\n 'icudt.dll',\n 'libGLESv2.dll',\n ],\n+ 'linux': [\n+ 'atom',\n+ 'libchromiumcontent.so',\n+ 'libffmpegsumo.so',\n+ ],\n }\n TARGET_DIRECTORIES = {\n 'darwin': [\n@@ -47,6 +52,9 @@\n 'win32': [\n 'resources',\n ...
2014-02-24T05:29:06
vercel/next.js
7596132a0cb8d5730463a4c2353dffac4a14ff79
3a2af8fb0bdaabc7ca5ae7f06ddd929c91b0c88c
fix(ts): re-export `PageComponent` and `LayoutComponent` types (#43226)
[ { "path": "packages/next/build/webpack/plugins/flight-types-plugin.ts", "patch": "@@ -35,8 +35,8 @@ interface LayoutProps {\n params: any\n }\n \n-type PageComponent = (props: PageProps) => React.ReactNode | Promise<React.ReactNode>\n-type LayoutComponent = (props: LayoutProps) => React.ReactNode | Promis...
2022-11-22T12:49:01
golang/go
ca8e8317be5b288163c3623f936fb234723484cc
cb34026a95f0637a0f9eadb5e1d7aa301635f943
runtime: add missing import "C" in TestLibraryCtrlHandler CL 211139 added TestLibraryCtrlHandler. But the CL left out import "C" line in the test file that is supposed to be build with Cgo. While debugging issue #45638, I discovered that the DLL built during TestLibraryCtrlHandler does not have Dummy function. Adding...
[ { "path": "src/runtime/testdata/testwinlibsignal/dummy.go", "patch": "@@ -1,7 +1,10 @@\n+//go:build windows\n // +build windows\n \n package main\n \n+import \"C\"\n+\n //export Dummy\n func Dummy() int {\n \treturn 42", "additions": 3, "deletions": 0, "language": "Go" } ]
2021-04-26T07:56:10
huggingface/transformers
257bc670fb0eb5e118468f0adfb6e011ddd96782
2bea6bf24e4bb2da0b0652a2b8ae8450d52193de
fixed typo. (#37057) Signed-off-by: zhanluxianshen <zhanluxianshen@163.com> Co-authored-by: Joao Gante <joaofranciscocardosogante@gmail.com>
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -1102,7 +1102,7 @@ def __init__(self, sequence_bias: List[List[Union[List[int], float]]]):\n self._convert_list_arguments_into_dict()\n \n # Bias variables that will be populated on the first call (for retrocompatibility...
2025-03-28T17:12:14
nodejs/node
2f1a23e5be9e1774a579d4201da24adaf3df2f1e
84f3769ab1a0d3013b391f87b77f3106f991dbfc
tools: fix typo in .eslintrc.js Refs: https://github.com/nodejs/node/pull/18566 PR-URL: https://github.com/nodejs/node/pull/21449 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>...
[ { "path": ".eslintrc.js", "patch": "@@ -131,7 +131,7 @@ module.exports = {\n {\n object: 'assert',\n property: 'equal',\n- message: 'Use assert.astrictEqual() rather than assert.equal().',\n+ message: 'Use assert.strictEqual() rather than assert.equal().',\n },\n ...
2018-06-21T17:34:17
vercel/next.js
3a2af8fb0bdaabc7ca5ae7f06ddd929c91b0c88c
f400adf5e9a5a5471cb0b800a5c336b07cab8d3b
Fix With Passport example (#43232)
[ { "path": "examples/with-passport/package.json", "patch": "@@ -10,11 +10,11 @@\n \"cookie\": \"0.4.1\",\n \"next\": \"latest\",\n \"next-connect\": \"0.8.1\",\n- \"passport\": \"0.4.1\",\n- \"passport-local\": \"1.0.0\",\n+ \"passport\": \"^0.4.1\",\n+ \"passport-local\": \"^1.0.0\",...
2022-11-22T12:45:19
electron/electron
7d93b4a48f95787c958b9958fdea9932d40b3cb2
a2ecb554cc91618664d0fba8aa79b2f307ed9ae2
Fix polluting devtools in some cases.
[ { "path": "renderer/atom_renderer_client.cc", "patch": "@@ -155,12 +155,13 @@ bool AtomRendererClient::ShouldFork(WebKit::WebFrame* frame,\n bool AtomRendererClient::IsNodeBindingEnabled(WebKit::WebFrame* frame) {\n if (node_integration_ == DISABLE)\n return false;\n+ // Do not pollute devtools.\n+ ...
2014-02-24T05:14:01
golang/go
cb34026a95f0637a0f9eadb5e1d7aa301635f943
c249491572db67acd226210dbcfb4f349614a632
cmd/compile: tighten exportWriter.qualifiedIdent signature It always takes an *ir.Name and would panic given anything else anyway, so tighten the signature to match. Change-Id: I44fec5c5cc6d7f0b9c59eb91c9f9633137485360 Reviewed-on: https://go-review.googlesource.com/c/go/+/314009 Trust: Matthew Dempsky <mdempsky@goog...
[ { "path": "src/cmd/compile/internal/typecheck/iexport.go", "patch": "@@ -603,9 +603,9 @@ func (w *exportWriter) pkg(pkg *types.Pkg) {\n \tw.string(pkg.Path)\n }\n \n-func (w *exportWriter) qualifiedIdent(n ir.Node) {\n+func (w *exportWriter) qualifiedIdent(n *ir.Name) {\n \t// Ensure any referenced declarat...
2021-04-27T05:08:06
huggingface/transformers
2bea6bf24e4bb2da0b0652a2b8ae8450d52193de
a86dad56bcc001fecc3f9d38c52f9117a1093818
Fix AttentionInterface following feedback (#37010) * up * typo * update doc * Update attention_interface.md
[ { "path": "docs/source/en/attention_interface.md", "patch": "@@ -23,13 +23,13 @@ supported models.\n Most recent models can now switch from one attention function used in the Attention layer to the other, thanks to a simple mapping.\n By default, we provide the implementation for [`sdpa`](https://pytorch.or...
2025-03-28T17:00:35
nodejs/node
b56f65e28c02249359f4f8b682522c7d8d7c5eff
883e1cd21d00a1ccf347c543c662b362383e86e0
doc: add example of using filter with cctest This commit adds examples of specifying filters when running cctest. This can be useful when debugging and limiting the test cases run to the test cases of interest and I think worth documenting. PR-URL: https://github.com/nodejs/node/pull/21401 Reviewed-By: Ruben Bridgewa...
[ { "path": "doc/guides/writing-tests.md", "patch": "@@ -403,6 +403,16 @@ The test can be executed by running the `cctest` target:\n $ make cctest\n ```\n \n+A filter can be applied to run single/multiple test cases:\n+```console\n+$ make cctest GTEST_FILTER=EnvironmentTest.AtExitWithArgument\n+```\n+\n+`ccte...
2018-06-19T08:31:46
vercel/next.js
9f93d34061e63e16c802eceaeea7ca8f7e1737e1
ed2aa9fd75fa2b82de30261d6d3abaa3f7aad55f
fix: create-next-app copies files it shouldn't (#43131) <!-- 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: --> Closes ...
[ { "path": "packages/create-next-app/helpers/examples.ts", "patch": "@@ -102,7 +102,9 @@ export async function downloadAndExtractRepo(\n strip: filePath ? filePath.split('/').length + 1 : 1,\n filter: (p) =>\n p.startsWith(\n- `${name}-${branch.replace(/\\//g, '-')}${filePath ? `/${fileP...
2022-11-22T00:51:57
golang/go
7ef0237d89b7cf5ca9537e926aca3ca59944e1e0
3cc3a16029eea1c3d9fefa77a24a89760c7aa27d
cmd/go/internal/modload: clean up error reporting • Consolidate 'if ld.AllowErrors' conditions into an 'ld.errorf' method. • Rename SilenceErrors to SilencePackageErrors and clarify its documentation. (There is currently no way to silence errors in the module graph. Perhaps we should add one, but for now let's ...
[ { "path": "src/cmd/go/internal/load/pkg.go", "patch": "@@ -2433,7 +2433,7 @@ func PackagesAndErrors(ctx context.Context, opts PackageOpts, patterns []string)\n \t\tmodOpts := modload.PackageOpts{\n \t\t\tResolveMissingImports: true,\n \t\t\tLoadTests: opts.ModResolveTests,\n-\t\t\tSilenceErrors:...
2021-04-16T21:00:02
huggingface/transformers
a86dad56bcc001fecc3f9d38c52f9117a1093818
d6064754ea12661d2e60417fc9598dbc117c7712
Fix state_dict map location when quantized (#37086) * Update modeling_utils.py * Update modeling_utils.py
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4897,7 +4897,7 @@ def _load_pretrained_model(\n \n map_location = \"cpu\"\n if low_cpu_mem_usage:\n- if shard_file.endswith(\".safetensors\") and not is_quantized:\n+ if shard_file.endswith(\"...
2025-03-28T16:57:16
nodejs/node
182ee78164a261836464364e6b5131df5c2c4d77
7a2e2fb36defb85e6b3973f5d94590fc2bbc96cc
doc: fix missing parentPort link in worker_threads PR-URL: https://github.com/nodejs/node/pull/21430 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/worker_threads.md", "patch": "@@ -481,6 +481,7 @@ active handle in the event system. If the worker is already `unref()`ed calling\n [`require('worker_threads').on('workerMessage')`]: #worker_threads_event_workermessage\n [`require('worker_threads').postMessage()`]: #worker_threads_worker_...
2018-06-20T21:35:30
electron/electron
eaedac2536c8992db6254136b86fb0babd925be9
8b9d35d84e68f1e771ebbed0128955a57f2568ec
Add the debugDevTools JS API.
[ { "path": "browser/api/atom_api_window.cc", "patch": "@@ -414,6 +414,12 @@ void Window::InspectElement(const v8::FunctionCallbackInfo<v8::Value>& args) {\n self->window_->InspectElement(x, y);\n }\n \n+// static\n+void Window::DebugDevTools(const v8::FunctionCallbackInfo<v8::Value>& args) {\n+ UNWRAP_WIN...
2014-02-24T04:08:33
huggingface/transformers
581cf96e0c038b34329f8802cd5b04b66fc87d18
eca74d13677e7bba69f7f7bcdc1d05e54f77a41a
fix tied weigths issue (#37031) * fix * comment --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -784,6 +784,9 @@ def _load_state_dict_into_meta_model(\n if is_meta_state_dict:\n file_pointer = safe_open(shard_file, framework=\"pt\", device=tensor_device)\n \n+ # Used to fix the issue mentioned in #37031: when loading a model w...
2025-03-28T15:36:44
golang/go
15105dd4b56610e18fa4b5744c7deca069085bc5
40254ec0db6d02118df141dbe7fcb6a95aec6560
go/types: walk all imports when determining package name ambiguity CL 209578 disambiguated paths among imported packages, but as demonstrated in #43119, formatted types may reference packages that are not directly imported. Fix this by recursively walking all imports to determine whether there is any ambiguity in the...
[ { "path": "src/go/types/check.go", "patch": "@@ -91,7 +91,16 @@ type Checker struct {\n \timpMap map[importKey]*Package // maps (import path, source directory) to (complete or fake) package\n \tposMap map[*Interface][]token.Pos // maps interface types to lists of embedded interface positions\n \ttypMa...
2021-04-26T23:23:05
vercel/next.js
ed2aa9fd75fa2b82de30261d6d3abaa3f7aad55f
d8d9b2c985d576500821508b92c6e18a50be5df7
Fix HMR error: "Cannot read properties of null (reading 'length')" (#43145) After upgrading to Next.js 13, we started seeing the following HMR errors: ```sh $ next dev # ... warn - Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/basic-features/fast-refresh#how-it-works TypeError:...
[ { "path": "packages/next/client/components/react-dev-overlay/hot-reloader-client.tsx", "patch": "@@ -124,7 +124,7 @@ function tryApplyUpdates(\n return\n }\n \n- function handleApplyUpdates(err: any, updatedModules: any) {\n+ function handleApplyUpdates(err: any, updatedModules: any[] | null) {\n ...
2022-11-22T00:50:03
nodejs/node
7a2e2fb36defb85e6b3973f5d94590fc2bbc96cc
d362b07e78f69b52e90e026b7bb55065d6ffc484
http2: fix memory leak when headers are not emitted When headers are not emitted to JS, e.g. because of an error before that could happen, we currently still have the vector of previously received headers lying around, each one holding a reference count of 1. To fix the resulting memory leak, release them in the `Htt...
[ { "path": "src/node_http2.cc", "patch": "@@ -1127,8 +1127,7 @@ void Http2Session::HandleHeadersFrame(const nghttp2_frame* frame) {\n if (stream->IsDestroyed())\n return;\n \n- nghttp2_header* headers = stream->headers();\n- size_t count = stream->headers_count();\n+ std::vector<nghttp2_header> head...
2018-06-16T21:07:31
electron/electron
99c0de6a1afd5f7795be0f85974dbd38c8a98b9c
f2bef6c26d00fce789934446cbcecd402be33864
Disable stack dumping on MAC. It would prevent the system crash reporter.
[ { "path": "app/atom_main_delegate.cc", "patch": "@@ -42,7 +42,7 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {\n logging::SetLogItems(true, false, true, false);\n \n // Enable convient stack printing.\n-#if defined(DEBUG)\n+#if defined(DEBUG) && !defined(OS_MACOSX)\n base::debug::Ena...
2014-02-24T03:48:11
golang/go
0b5470f31d8d8cdd49e5754fd1cb5ce391f77bd6
7a7eee8ab72908b79ac10ba3f817447dd59e7642
[dev.fuzz] internal/fuzz: allow setting pcg seed via GODEBUG Format is "fuzzseed=123". Change-Id: Idb314270c8fd4307149c8503e13424b653ec4b0a Reviewed-on: https://go-review.googlesource.com/c/go/+/313651 Trust: Roland Shoemaker <roland@golang.org> Trust: Katie Hockman <katie@golang.org> Run-TryBot: Roland Shoemaker <ro...
[ { "path": "src/internal/fuzz/pcg.go", "patch": "@@ -6,6 +6,9 @@ package fuzz\n \n import (\n \t\"math/bits\"\n+\t\"os\"\n+\t\"strconv\"\n+\t\"strings\"\n \t\"sync/atomic\"\n \t\"time\"\n )\n@@ -28,10 +31,27 @@ type pcgRand struct {\n \tinc uint64\n }\n \n+func godebugSeed() *int {\n+\tdebug := strings.Sp...
2021-04-26T20:00:15
vercel/next.js
d8d9b2c985d576500821508b92c6e18a50be5df7
ee969ea8fc15105839393692e480786ab596646e
Remove app routes from _devPagesManifest (#43188) Currently in dev the `_devPagesManifest` includes the `/app` routes as well. However, In production, the `_buildManifest.js` does not include the `/app` routes. This causes the `/pages` router to behave differently in the two environments. This change excludes th...
[ { "path": "packages/next/server/dev/next-dev-server.ts", "patch": "@@ -1226,7 +1226,9 @@ export default class DevServer extends Server {\n res\n .body(\n JSON.stringify({\n- pages: this.sortedRoutes,\n+ pages: this.sortedRoutes?.filter(\n+ ...
2022-11-21T23:52:12
huggingface/transformers
eca74d13677e7bba69f7f7bcdc1d05e54f77a41a
52cc204dd7fbd671452448028aae6262cea74dc2
[WIP] add deepseek-v3 (#35926) * init commit * style * take comments into account * add deepseekv3 modeling * remove redundant code * apply make style * apply fix-copies * make format * add init files * rename deepseekv3 into deepseek_v3 based on its model_type * rename deepseekv3 into deepseek_v3 based on i...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -415,6 +415,8 @@\n title: DeBERTa\n - local: model_doc/deberta-v2\n title: DeBERTa-v2\n+ - local: model_doc/deepseek_v3\n+ title: DeepSeek-V3\n - local: model_doc/dialogpt\n title: DialoGPT\n - local:...
2025-03-28T14:56:59
nodejs/node
7aa95670a1742df8a84ea5ecba969c11f268d400
0eb8a8cb12ec53dd0ef04bb80d839212a508250c
src: fix debugging for multiple categories Fix parsing of e.g. `NODE_DEBUG_NATIVE=worker,messaging`. PR-URL: https://github.com/nodejs/node/pull/21422 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "src/env.cc", "patch": "@@ -537,7 +537,7 @@ void Environment::set_debug_categories(const std::string& cats, bool enabled) {\n if (comma_pos == std::string::npos)\n break;\n // Use everything after the `,` as the list for the next iteration.\n- debug_categories = debug_categories.s...
2018-06-20T15:13:04
electron/electron
618040efc124b17ce8805bad89ee92a15c3819ca
ed34aa6fb3ad3e63a5edda9de5d72988b49bc9f4
Add DebugDevTools API.
[ { "path": "atom.gyp", "patch": "@@ -359,6 +359,7 @@\n 'include_dirs': [\n '.',\n 'vendor',\n+ 'vendor/brightray',\n # Include directories for uv and node.\n 'vendor/node/src',\n 'vendor/node/deps/http_parser',", "additions": 1, "deletions": 0, ...
2014-02-24T01:52:20
golang/go
40254ec0db6d02118df141dbe7fcb6a95aec6560
903b25178e51fa96d37a91b020747ce236ba04f0
cmd/compile: fix wrong package path for unsafe.Pointer It's not a predeclared type, but a type defined in "unsafe" package. Fixes #44830 Change-Id: If39815b1070059b608be8231dfac9b7f3307cb15 Reviewed-on: https://go-review.googlesource.com/c/go/+/313349 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuon...
[ { "path": "src/cmd/compile/internal/reflectdata/reflect.go", "patch": "@@ -595,7 +595,7 @@ func typePkg(t *types.Type) *types.Pkg {\n \t\t\t}\n \t\t}\n \t}\n-\tif tsym != nil && t != types.Types[t.Kind()] && t != types.ErrorType {\n+\tif tsym != nil && tsym.Pkg != types.BuiltinPkg {\n \t\treturn tsym.Pkg\n ...
2021-04-25T08:46:30
huggingface/transformers
52cc204dd7fbd671452448028aae6262cea74dc2
aa3778afc2ad681edcd253837246d5eb8c62291c
[blip-2] Fix dtype mismatch when keep in fp32 (#37068) * fix fp32 BLIP2 * no need to reorder that * check for `Noneness` as well before casting dtype
[ { "path": "src/transformers/models/blip_2/modeling_blip_2.py", "patch": "@@ -1238,6 +1238,9 @@ def forward(\n embeddings += position_embeddings\n \n if query_embeds is not None:\n+ # `query_embeds` are kept in fp32 when we use it with Qformer\n+ if q...
2025-03-28T14:52:11
vercel/next.js
ee969ea8fc15105839393692e480786ab596646e
5d39daaf1c5d4ce530ae336010045e7bc7316f02
Fix middleware not executed when pages directory is empty (#43205) Fixes #41995 Closes #43144 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` Co-authored-by: Bruno Nascimento <bruno.hn@icloud.com>
[ { "path": "packages/next/build/entries.ts", "patch": "@@ -457,7 +457,11 @@ export async function createEntrypoints(params: CreateEntrypointsParams) {\n await Promise.all(Object.keys(pages).map(getEntryHandler(pages, 'pages')))\n \n if (nestedMiddleware.length > 0) {\n- throw new NestedMiddlewareError...
2022-11-21T23:37:58
nodejs/node
680aeb346761fe7bba601b61cbbbf823aaeb3641
a77b30ca7fa9d2d945bf04707ed38e885acb0626
2018-16-20, Version 10.5.0 (Current) Notable changes: * **crypto**: * Support for `crypto.scrypt()` has been added. [#20816](https://github.com/nodejs/node/pull/20816) * **fs**: * BigInt support has been added to `fs.stat` and `fs.watchFile`. [#20220](https://github.com/nodejs/node/pull/20220) * APIs th...
[ { "path": "CHANGELOG.md", "patch": "@@ -33,7 +33,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.4.1\">10.4.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.5.0\">10.5.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V10.md#10.4.1\"...
2018-06-19T07:35:50
huggingface/transformers
c90e6e9625801f4271efbec1826b5c357b9f3eee
1fcaad6df96c0d01ca47a2a48175c932ec354954
Fix some typos about benchmark scripts. (#37027) Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
[ { "path": "benchmark/README.md", "patch": "@@ -12,7 +12,7 @@ def run_benchmark(logger: Logger, branch: str, commit_id: str, commit_msg: str,\n \n ## Writing metrics to the database\n \n-`MetricRecorder` is thread-safe, in the sense of the python [`Thread`](https://docs.python.org/3/library/threading.html#th...
2025-03-28T14:10:20
vercel/next.js
869039529ca53bcec049342a52e9976371299418
2763f6080604dae7071d7347e3029c16871452ed
Alias esm next document to avoid mismatch react context (#43192) <!-- 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/build/webpack-config.ts", "patch": "@@ -831,14 +831,15 @@ export default async function getBaseWebpackConfig(\n const customRootAliases: { [key: string]: string[] } = {}\n \n if (dev) {\n+ const nextDist = 'next/dist/' + (isEdgeServer ? 'esm/' : '')\n customAppAliases[`${...
2022-11-21T22:15:55
golang/go
903b25178e51fa96d37a91b020747ce236ba04f0
be28caf0aa1649c4422f64e687a388a027686e6e
syscall: on linux use accept4 in Accept, fall back to accept Android seems to block the accept syscall in newer versions. Use accept4 instead on kernel versions that support it (Linux 2.6.28 and newer) and fall back to accept on ENOSYS. Fixes #45767 Change-Id: If190ace0e0213207fdaf6eeb79a5543ef18456de Reviewed-on: h...
[ { "path": "src/syscall/syscall_linux.go", "patch": "@@ -553,7 +553,11 @@ func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) {\n func Accept(fd int) (nfd int, sa Sockaddr, err error) {\n \tvar rsa RawSockaddrAny\n \tvar len _Socklen = SizeofSockaddrAny\n-\tnfd, err = accept(fd, &rsa, &len)\n+\t// Try ...
2021-04-26T22:11:00
nodejs/node
fea3595c2f92beb0d31feb93da1c972cc30e6fec
e43d91cdc1dc08dc160ef49729f47819332af3ae
test: remove the third string literal argument from assert.strictEqual() Third string literal argument in assert.strictEqual() needs to be removed. Otherwise, on AssertionError it would not display the values that failed the check -- this hinders debugging. The string literals are added as comments above the check. P...
[ { "path": "test/parallel/test-string-decoder-end.js", "patch": "@@ -103,8 +103,10 @@ function testBuf(encoding, buf) {\n // .toString() on the buffer\n const res3 = buf.toString(encoding);\n \n- assert.strictEqual(res1, res3, 'one byte at a time should match toString');\n- assert.strictEqual(res2, res...
2018-06-19T14:39:03
electron/electron
2b2a55d8702cd288b73ec02f1c5407f8082e7eaa
c26a9b23a765ca45db472cad7ab150f7d0f5736f
Update apm: fix node arch on Linux.
[ { "path": "vendor/apm", "patch": "@@ -1 +1 @@\n-Subproject commit af40a0ed55a5df3e8f7a7707e17ab2493edb94a3\n+Subproject commit a9e5498a838bf228fca53c32f66e2e6d5adcf783", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2014-02-21T08:12:49
vercel/next.js
c1370c923ef6aad2a37e1655d0c42031d13cdb2e
3e8c6f45beca9db9cc19cd10c882feda353a39e6
Update experimental skipTrailingSlashRedirect handling (#43201) Fixes: [slack thread](https://vercel.slack.com/archives/C01224Q5M99/p1669029502713689?thread_ts=1668452468.314249&cid=C01224Q5M99) ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful ...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -299,6 +299,9 @@ export function getDefineEnv({\n 'process.env.__NEXT_NO_MIDDLEWARE_URL_NORMALIZE': JSON.stringify(\n config.experimental.skipMiddlewareUrlNormalize\n ),\n+ 'process.env.__NEXT_MANUAL_TRAILING_SLASH': JSON.strin...
2022-11-21T21:25:01
golang/go
9f601690da59e601ff68f9868d5eb863bd770eae
a53dc4c1ce0e21da328bd5984900448bab354ba1
cmd/compile: workaround inlining of closures with type switches Within clovar, n.Defn can also be *ir.TypeSwitchGuard. The proper fix here would be to populate m.Defn and have it filled in too, but we already leave it nil in inlvar. So for consistency, this CL does the same in clovar too. Eventually inl.go should be ...
[ { "path": "src/cmd/compile/internal/inline/inl.go", "patch": "@@ -1194,6 +1194,8 @@ func (subst *inlsubst) clovar(n *ir.Name) *ir.Name {\n \tcase *ir.AssignStmt, *ir.AssignListStmt:\n \t\t// Mark node for reassignment at the end of inlsubst.node.\n \t\tm.Defn = &subst.defnMarker\n+\tcase *ir.TypeSwitchGuard...
2021-04-24T09:12:55
nodejs/node
e43d91cdc1dc08dc160ef49729f47819332af3ae
420d8afe3db22ad703e74892f58f9e32d34ff699
process: split bootstrappers by threads that can run them This patch split part of the bootstrappers into three files: - `lib/internal/process/main_thread_only.js`: contains bootstrappers that can only be run in the main thread, including - `setupStdio` for the main thread that sets up `process.stdin`, `proce...
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -44,33 +44,57 @@\n \n setupGlobalVariables();\n \n- const _process = NativeModule.require('internal/process');\n- _process.setupConfig(NativeModule._source);\n- _process.setupSignalHandlers();\n- _process.setupUncaughtExceptionCapture(...
2018-06-17T16:40:58
huggingface/transformers
1fcaad6df96c0d01ca47a2a48175c932ec354954
3af425d4c6aa4af1c6dc79c6c1eb185826619f86
Use `lru_cache` for tokenization tests (#36818) * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/albert/test_tokenization_albert.py", "patch": "@@ -34,12 +34,13 @@ class AlbertTokenizationTest(TokenizerTesterMixin, unittest.TestCase):\n test_sentencepiece = True\n test_sentencepiece_ignore_case = True\n \n- def setUp(self):\n- super().setUp()\n+ @classmethod...
2025-03-28T14:09:35
electron/electron
fbe963c7f3acf3a291afa3cb411f3d588559d244
18f8af78225dea2ef48aafde6abd183b5b6803c7
:lipstick: Fix cpplint warnings.
[ { "path": "common/node_bindings_linux.cc", "patch": "@@ -21,4 +21,4 @@ NodeBindings* NodeBindings::Create(bool is_browser) {\n return new NodeBindingsLinux(is_browser);\n }\n \n-} // namespace at\n+} // namespace atom", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path...
2014-02-20T17:07:47
vercel/next.js
a3e37e325ec5b8114191f7422c85d50511fc1176
447cba0f5d8d6e8f86460f7c6aa2482fddb38ec2
Updated typo in the documentation (#43160) It's is confusing for the first time readers and probably wrong! ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature reque...
[ { "path": "docs/basic-features/static-file-serving.md", "patch": "@@ -22,7 +22,7 @@ export default Avatar\n \n This folder is also useful for `robots.txt`, `favicon.ico`, Google Site Verification, and any other static files (including `.html`)!\n \n-> **Note**: Don't name the `public` directory anything els...
2022-11-21T13:50:17
golang/go
8ff1da0b8182667560ed6bd3079ad7692e5c722b
14ade57ab8f2a6b9608fc3cab57957f39caead40
runtime: fix offset in comment Change-Id: I2770195cb53220948081a6265f891ef064e4f763 Reviewed-on: https://go-review.googlesource.com/c/go/+/313629 Trust: Cherry Zhang <cherryyz@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
[ { "path": "src/runtime/sys_windows_amd64.s", "patch": "@@ -148,7 +148,7 @@ TEXT sigtramp<>(SB),NOSPLIT|NOFRAME,$0-0\n \t// and re-save old SP for restoring later.\n \t// Adjust g0 stack by the space we're using and\n \t// save SP at the same place on the g0 stack.\n-\t// The 32(DI) here must match the 32(SP...
2021-04-26T18:30:00
huggingface/transformers
3af425d4c6aa4af1c6dc79c6c1eb185826619f86
064cd7cdaca7c9dc7d4359434164f2c2c17505d4
fix: AttributeError: 'LlavaProcessor' object has no attribute 'image_token_id' (#37026) * Add image_token_id and video_token_id handling in Llava processors * fix: image to video * fix: correct image and video token ID handling in Llava processors * fix: improve image and video token ID handling in Llava processors
[ { "path": "src/transformers/models/llava/processing_llava.py", "patch": "@@ -89,6 +89,11 @@ def __init__(\n self.num_additional_image_tokens = num_additional_image_tokens\n self.vision_feature_select_strategy = vision_feature_select_strategy\n self.image_token = tokenizer.image_token...
2025-03-28T09:46:24
nodejs/node
ed1035d335d5212f9e225620dd789f7526326fc4
a71d5fc725f5edaec9fc3cf99b1f34172c5ccc7f
build: fix building with --build-v8-with-gn PR-URL: https://github.com/nodejs/node/pull/21330 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michaël Zasso <targos@pro...
[ { "path": "common.gypi", "patch": "@@ -78,7 +78,7 @@\n ['GENERATOR == \"ninja\"', {\n 'v8_base': '<(PRODUCT_DIR)/obj/deps/v8/gypfiles/v8_monolith.gen/gn/obj/libv8_monolith.a',\n }, {\n- 'v8_base': '<(PRODUCT_DIR)/obji.target/v8_monolith/geni/gn/obj/libv8_monolith.a...
2018-06-14T13:27:27
electron/electron
3576c6d2ffa5622d8d596caedd1805582966190a
b4ee01d43dad172053cdb71525fb91b09bd32cec
Fix race condition when initializing request context getter. Note that we are calling GetURLRequestContext() in the UI thread when using the protocol module, this should in fact not be allowed, but for now we just use the workaround of making sure the request context getter has been initialized before we use the proto...
[ { "path": "browser/net/atom_url_request_context_getter.cc", "patch": "@@ -66,6 +66,7 @@ AtomURLRequestContextGetter::~AtomURLRequestContextGetter() {\n net::URLRequestContext* AtomURLRequestContextGetter::GetURLRequestContext() {\n DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));\n \n+ base::AutoLo...
2014-02-20T16:56:18
vercel/next.js
447cba0f5d8d6e8f86460f7c6aa2482fddb38ec2
21d7d224543f00d0bbc58a0ea7b457a3d2b7d884
Remove the timestamp query for CSS resources (#43185) As discussed [here](https://vercel.slack.com/archives/C035J346QQL/p1668425692084449), we don't need the timestamp for CSS resources in the app dir for now as we are not preloading them. Manually tested with Safari and added corresponding e2e tests. Closes #42862. ...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -999,13 +999,17 @@ export async function renderToHTMLOrFlight(\n filePath,\n serverCSSForEntries\n )\n- const cacheBustingUrlSuffix = dev ? `?ts=${Date.now()}` : ''\n \n const styles = cssHrefs\n ? cssHref...
2022-11-21T13:35:57
huggingface/transformers
064cd7cdaca7c9dc7d4359434164f2c2c17505d4
348f3285c5114159d2ff4933b4b8ae36866d01a7
Fix SDPA implementation in Qwen2-VL (issues with torch==2.6.0) (#36891) * fix sdpa implementation * ruff * also modify 2_5 for consistency
[ { "path": "src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py", "patch": "@@ -316,8 +316,10 @@ def forward(\n q = q.transpose(0, 1)\n k = k.transpose(0, 1)\n v = v.transpose(0, 1)\n- attn_output = F.scaled_dot_product_attention(q, k, v, attention_mask, dropout_p=0.0)\n-...
2025-03-28T08:54:21
golang/go
14ade57ab8f2a6b9608fc3cab57957f39caead40
d02026414cc0b292ee2aef4fbc36f185c56db0c8
runtime: fix scavenge min fraction constant floor division Currently there's a minor bug where the constant for the min fraction of time spent scavenging is rounded down to zero. I don't think this affects anything in practice because this case is exceedingly rare and extreme, but currently it doesn't properly prevent...
[ { "path": "src/runtime/mgcscavenge.go", "patch": "@@ -372,7 +372,7 @@ func bgscavenge() {\n \t\t// Due to OS-related anomalies we may \"sleep\" for an inordinate amount\n \t\t// of time. Let's avoid letting the ratio get out of hand by bounding\n \t\t// the sleep time we use in our EWMA.\n-\t\tconst minFrac...
2021-04-23T22:20:55
electron/electron
b4ee01d43dad172053cdb71525fb91b09bd32cec
679aa431133f06b9f13751049cbd7a96d790fa20
linux: Fix one compiler warning.
[ { "path": "common.gypi", "patch": "@@ -85,6 +85,7 @@\n '-Wno-pointer-sign',\n '-Wno-string-plus-int',\n '-Wno-unused-variable',\n+ '-Wno-unused-value',\n '-Wno-deprecated-declarations',\n '-Wno-return-type',\n ],"...
2014-02-20T10:58:56
vercel/next.js
a2b399af4c71412f27a979268175b69d5135b141
b410cb909ce413eb3fbe5195691de90a5c2354b9
chore: fix complex type (clippy) (vercel/turbo#2702) This PR extracts complex return types into dedicated type aliases as part of fixing `clippy` lint warnings. Resolves WEB-185
[ { "path": "crates/turbo-tasks-memory/src/stats.rs", "patch": "@@ -9,10 +9,16 @@ use std::{\n use turbo_tasks::{registry, FunctionId, TaskId, TraitTypeId};\n \n use crate::{\n+ scope::TaskScopeId,\n task::{Task, TaskStatsInfo},\n MemoryBackend,\n };\n \n+pub struct StatsReferences {\n+ pub task...
2022-11-21T11:10:21
huggingface/transformers
348f3285c5114159d2ff4933b4b8ae36866d01a7
d6b3c7486b441296366f788fde57109337f63bca
fix: Fully remove legacy cache from Llama (#36958) * bug: fully remove legacy cache from Llama * bug: fix CI issues * bug: update jetmoe model * bug: apply =check_modular_conversion.py= fix * bug: apply make fix-copies * bug: fix ruff * PR suggestions * Remove trailing commas in auto-gen files * Trivial new li...
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -828,20 +828,12 @@ def forward(self, x, position_ids):\n config.n_positions - 1]`.\n \n [What are position IDs?](../glossary#position-ids)\n- past_key_values (`Cache` or `tuple(tuple(torch.FloatTensor))`, ...
2025-03-27T17:22:44
golang/go
d02026414cc0b292ee2aef4fbc36f185c56db0c8
d5d24dbe419c429b43046049d57b97b0abd42a87
cmd/go: don't add generated SWIG C++ files to CompiledGoFiles Also include SWIG C++ files in cgo hash. For #28749 Fixes #37098 Change-Id: I6d912db2788200c2abdf328e382d4fbefda0a9ac Reviewed-on: https://go-review.googlesource.com/c/go/+/313131 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <ian...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -246,11 +246,11 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {\n \tif p.Internal.ForceLibrary {\n \t\tfmt.Fprintf(h, \"forcelibrary\\n\")\n \t}\n-\tif len(p.CgoFiles)+len(p.SwigFiles) > 0 {\n+\tif len(p.CgoFiles)+len(p.SwigFiles)+len...
2021-04-23T19:03:48
nodejs/node
8fa640e2db60e74d24b15de95f51fd9b55f5e793
64de66d78888f46c74ba8b8ea18100a9f35a1c7a
loader: remove unused error code in module_job PR-URL: https://github.com/nodejs/node/pull/21354 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Ruben Bridgewate...
[ { "path": "lib/internal/modules/esm/module_job.js", "patch": "@@ -14,8 +14,6 @@ class ModuleJob {\n // `moduleProvider` is a function\n constructor(loader, url, moduleProvider, isMain) {\n this.loader = loader;\n- this.error = null;\n- this.hadError = false;\n this.isMain = isMain;\n \n ...
2018-06-15T14:35:42
electron/electron
ea8d349b1b9ef22e0985d3e5065ae75c4f474ad7
87b78a89fb6f5ad959e16fd1ae976c0b625ee97e
:lipstick: Fix cpplinting.
[ { "path": "script/cpplint.py", "patch": "@@ -13,6 +13,7 @@\n 'browser/ui/cocoa/event_processing_window.h',\n 'browser/ui/cocoa/atom_menu_controller.h',\n 'browser/ui/cocoa/nsalert_synchronous_sheet.h',\n+ 'browser/ui/gtk/gtk_custom_menu.cc',\n 'common/api/api_messages.cc',\n 'common/api/api_messa...
2014-02-19T13:22:59
huggingface/transformers
d6b3c7486b441296366f788fde57109337f63bca
6cc9c8d7d19d51b25d54b4cbd8eb3a066affff57
fixed typo (#37036)
[ { "path": "src/transformers/generation/utils.py", "patch": "@@ -1232,7 +1232,7 @@ def compute_transition_scores(\n ) -> torch.Tensor:\n \"\"\"\n Computes the transition scores of sequences given the generation scores (and beam indices, if beam search was\n- used). This is a conven...
2025-03-27T15:37:53
vercel/next.js
21d7d224543f00d0bbc58a0ea7b457a3d2b7d884
1fd00899c75cbff9aa9ce269d8c0a4a04a8cbff7
Add JWT example to error page. (#43162) https://github.com/vercel/feedback/issues/23531
[ { "path": "errors/node-module-in-edge-runtime.md", "patch": "@@ -16,3 +16,4 @@ For example, you might replace the Node.js `crypto` module with the [Web Crypto\n \n - [Edge Runtime Supported APIs](https://nextjs.org/docs/api-reference/edge-runtime)\n - [Next.js Middleware](https://nextjs.org/docs/advanced-fe...
2022-11-21T06:48:13
golang/go
00d42ffc895be17db72f195c1cf8f23be141a6fc
70deaa33ebd91944484526ab368fa19c499ff29f
cmd/compile: spos handling fixes to improve prolog debuggability With the new register ABI, the compiler sometimes introduces spills of argument registers in function prologs; depending on the positions assigned to these spills and whether they have the IsStmt flag set, this can degrade the debugging experience. For e...
[ { "path": "src/cmd/compile/internal/amd64/ssa.go", "patch": "@@ -1370,5 +1370,6 @@ func spillArgReg(pp *objw.Progs, p *obj.Prog, f *ssa.Func, t *types.Type, reg in\n \tp = pp.Append(p, storeByType(t), obj.TYPE_REG, reg, 0, obj.TYPE_MEM, 0, n.FrameOffset()+off)\n \tp.To.Name = obj.NAME_PARAM\n \tp.To.Sym = n...
2021-04-21T20:21:30
nodejs/node
64de66d78888f46c74ba8b8ea18100a9f35a1c7a
a13eba7e9fa86b1a4bf8374e9e3d1d8f646a01d4
net: emit 'close' when socket ends before connect Don't set `writable` to true when a socket connects if the socket is already in an ending state. In the existing code, afterConnect always set `writable` to true. This has been the case for a long time, but previous to commit 9b7a6914a7f0bd754e78b42b48c75851cfd6b3c4,...
[ { "path": "lib/net.js", "patch": "@@ -1138,7 +1138,8 @@ function afterConnect(status, handle, req, readable, writable) {\n \n if (status === 0) {\n self.readable = readable;\n- self.writable = writable;\n+ if (!self._writableState.ended)\n+ self.writable = writable;\n self._unrefTimer()...
2018-06-12T15:29:57
electron/electron
c340cac02cf4e17cd0eb27136ddc1de5df1d434e
0a9c371ca28f9a99054e72caa57bc2e59719ffea
Build with symbols on debug build.
[ { "path": "atom.gyp", "patch": "@@ -230,9 +230,8 @@\n ],\n 'configurations': {\n 'Debug': {\n- 'defines': [\n- 'DEBUG',\n- ],\n+ 'defines': [ 'DEBUG', '_DEBUG' ],\n+ 'cflags': [ '-g', '-O0' ],\n },\n },\n },", "additions": 2, "deletions"...
2014-02-19T11:39:51
huggingface/transformers
de77f5b1ec37ea214cda08a1ca33a841ce097d75
8c5e29bad510749f7b85c60197b8c3ebbe82192f
Fix typing for None valued variables (#37004) Fix typing for None-able variables
[ { "path": "src/transformers/model_debugging_utils.py", "patch": "@@ -19,6 +19,7 @@\n import os\n import re\n from contextlib import contextmanager\n+from typing import Optional\n \n from transformers.utils.import_utils import export\n \n@@ -284,7 +285,7 @@ def wrapped_init(self, *args, **kwargs):\n \n @expo...
2025-03-27T14:46:32
vercel/next.js
6aaa9fc2340d4b23e8653c9eb3eeca1826102d27
e3387dbb068df18010eb60d357c250f958c4465d
fix(next-swc/relay): make pages directory optional (#43116) Fixes: https://github.com/relayjs/relay-examples/pull/241#issuecomment-1318756698 **Context:** Current relay transformer requires `pages_dir` in its entry point: https://github.com/vercel/next.js/blob/ecfd2f4cd6a1c3f6bc3cd1cca6b62a3cb705a4e2/packages/...
[ { "path": "packages/next-swc/crates/core/src/relay.rs", "patch": "@@ -27,7 +27,7 @@ impl Default for RelayLanguageConfig {\n \n struct Relay<'a> {\n root_dir: PathBuf,\n- pages_dir: PathBuf,\n+ pages_dir: Option<PathBuf>,\n file_name: FileName,\n config: &'a Config,\n }\n@@ -107,7 +107,11 ...
2022-11-20T20:31:26
golang/go
70deaa33ebd91944484526ab368fa19c499ff29f
e7db792fc539603a61b89ae27104730a0a92c1e6
cmd/compile: extend GOSSAFUNC match to well-formed package suffix match. e.g., LeadingZeros, bits.LeadingZeros, math/bits.LeadingZeros but not its.LeadingZeros Change-Id: Ib9a57e4db0af03c55bf5b5027aa6f8a5a84f2134 Reviewed-on: https://go-review.googlesource.com/c/go/+/312291 Trust: David Chase <drchase@google.com> Run...
[ { "path": "src/cmd/compile/internal/ssagen/ssa.go", "patch": "@@ -399,8 +399,10 @@ func okOffset(offset int64) int64 {\n func buildssa(fn *ir.Func, worker int) *ssa.Func {\n \tname := ir.FuncName(fn)\n \tprintssa := false\n-\tif ssaDump != \"\" { // match either a simple name e.g. \"(*Reader).Reset\", or a ...
2021-04-21T14:30:25
nodejs/node
a13eba7e9fa86b1a4bf8374e9e3d1d8f646a01d4
b6b019f37bcc72946f21de4db81d58ba53a0de1f
tools: do not disable `quotes` rule in .eslintrc.js Re-enable `quotes` rule in .eslintrc.js and fix code to abide by the rule. As a bonus, this makes the code (IMO, anyway) more readable. (It certainly isn't *less* readable, at least not IMO.) PR-URL: https://github.com/nodejs/node/pull/21338 Reviewed-By: Gus Caplan ...
[ { "path": ".eslintrc.js", "patch": "@@ -147,32 +147,32 @@ module.exports = {\n message: '__defineSetter__ is deprecated.',\n }\n ],\n- /* eslint-disable max-len, quotes */\n+ /* eslint-disable max-len */\n // If this list is modified, please copy the change to lib/.eslintrc.yaml\...
2018-06-15T03:43:49
huggingface/transformers
fb8e6c50e4a3a4bb1011e286d9bd26d79cd6334d
e97c76000656649559a78dffce678ea42f3fcb7f
[audio utils] fix fft_bin_width computation (#36603) * fix fft_bin_width computation * update docstring + enforce correct params * update test with correct value * udpate test * update feature extractors for concerned models * update * make * udpate docstring * udpate docstring
[ { "path": "src/transformers/audio_utils.py", "patch": "@@ -293,7 +293,7 @@ def mel_filter_bank(\n \n Args:\n num_frequency_bins (`int`):\n- Number of frequencies used to compute the spectrogram (should be the same as in `stft`).\n+ Number of frequency bins (should be the sa...
2025-03-27T14:20:02
electron/electron
0a9c371ca28f9a99054e72caa57bc2e59719ffea
d89fb15daf02c0f8f1cde045cdccfc564142726f
linux: Fix crash when using protocol module early.
[ { "path": "browser/api/atom_api_protocol.cc", "patch": "@@ -368,6 +368,12 @@ void Protocol::Initialize(v8::Handle<v8::Object> target) {\n // Remember the protocol object, used for emitting event later.\n g_protocol_object.reset(target);\n \n+#if defined(OS_LINUX)\n+ // Make sure the job factory has bee...
2014-02-19T11:39:01
vercel/next.js
9fce9964b68ca703c10797fcac6e21bbf1bb97a3
ecfd2f4cd6a1c3f6bc3cd1cca6b62a3cb705a4e2
Remove `unstable_revalidate` (#43119) Reverts https://github.com/vercel/next.js/pull/38070 I stumbled upon @ijjk's TODO to remove the deprecated `unstable_revalidate` renaming error and e2e test after v12.2. ```tsx // TODO: remove in next minor (current v12.2) ``` I also removed the deprecated function stu...
[ { "path": "packages/next/server/api-utils/node.ts", "patch": "@@ -509,13 +509,6 @@ export async function apiResolver(\n }\n ) => revalidate(urlPath, opts || {}, req, apiContext)\n \n- // TODO: remove in next minor (current v12.2)\n- apiRes.unstable_revalidate = () => {\n- throw new Erro...
2022-11-19T23:54:19
golang/go
e7db792fc539603a61b89ae27104730a0a92c1e6
b8fed48a9ae7e6229a4fdccf6aae7bc670f61aca
runtime: simplify TestSelectStackAdjust Currently this test attempts to trigger a concurrent GC in a very indirect way, but the way it does so is extremely error-prone. This test is virtually always prone to flaking based on test order. For example if the test that executed immediately before this one made a big heap ...
[ { "path": "src/runtime/chan_test.go", "patch": "@@ -708,8 +708,6 @@ func TestSelectDuplicateChannel(t *testing.T) {\n \tc <- 8 // wake up B. This operation used to fail because c.recvq was corrupted (it tries to wake up an already running G instead of B)\n }\n \n-var selectSink interface{}\n-\n func TestSe...
2021-04-23T18:11:52
rust-lang/rust
7a4d5232007c283af6c29779d18353c347796acf
e0e2a93cf2e36be513c36176d26f14ddb9f24002
Fix question_mark suggesting when type is behind Deref include parentheses
[ { "path": "clippy_lints/src/question_mark.rs", "patch": "@@ -5,6 +5,7 @@ use clippy_config::types::MatchLintBehaviour;\n use clippy_utils::diagnostics::span_lint_and_sugg;\n use clippy_utils::msrvs::{self, Msrv};\n use clippy_utils::source::snippet_with_applicability;\n+use clippy_utils::sugg::Sugg;\n use c...
2025-04-20T08:36:25
huggingface/transformers
c7bc79bd2a22537680b180b2daf8ae7b0b1e1289
d1eafe8d4e9ecc7c8b4b5d21119e897733794ddf
Fixup for distill_any_depth conversion script (#37043) * Fixup * trigger
[ { "path": "src/transformers/models/depth_anything/convert_distill_any_depth_to_hf.py", "patch": "@@ -45,12 +45,12 @@\n r\"(backbone|pretrained)(\\.blocks(\\.\\d+)?)?\\.(\\d+)\\.norm(1|2)\\.(weight|bias)\": r\"backbone.encoder.layer.\\4.norm\\5.\\6\",\n r\"depth_head\\.projects\\.(\\d+)\\.(weight|bia...
2025-03-27T13:29:25
electron/electron
521fb7d54cd334237d4e5f3ab4ddfb69c6c7ffb5
4051d2ebdb8bc71bedd989bf91270807dac8ea6a
linux: Fix compilation error.
[ { "path": "browser/auto_updater_linux.cc", "patch": "@@ -6,28 +6,12 @@\n \n namespace auto_updater {\n \n-// static\n-void AutoUpdater::Init() {\n-}\n-\n // static\n void AutoUpdater::SetFeedURL(const std::string& url) {\n }\n \n-// static\n-void AutoUpdater::SetAutomaticallyChecksForUpdates(bool yes) {\n-}...
2014-02-14T13:34:59
vercel/next.js
ecfd2f4cd6a1c3f6bc3cd1cca6b62a3cb705a4e2
a35612aec9602ea2b3f1be084c7b035a0aa57c78
Fix e2e deploy test for Node.js v18 (#43109) This updates the Node.js version check for proxying when running against a deployment. Fixes: https://github.com/vercel/next.js/actions/runs/3501049844/jobs/5864420602
[ { "path": "test/e2e/proxy-request-with-middleware/app/pages/api/index.js", "patch": "@@ -12,7 +12,7 @@ export default function handler(req, res) {\n request(\n `http://${\n // node v18 resolves to IPv6 by default so force IPv4\n- process.version.startsWith('v18.')\n+ ...
2022-11-19T02:04:17
nodejs/node
1e54c241322c0f65c569bc20529e2275ec361428
1da88552ea6d7d4fb5b590b86109053419858f30
http2: fix memory leak for uncommon headers Fix a memory leak that occurs with header names that are short and not present in the static table of default headers. PR-URL: https://github.com/nodejs/node/pull/21336 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: James M Snell <jasnell@gmail.com> Revi...
[ { "path": "src/node_http2.h", "patch": "@@ -1203,6 +1203,7 @@ class ExternalHeader :\n }\n \n if (may_internalize && vec.len < 64) {\n+ nghttp2_rcbuf_decref(buf);\n // This is a short header name, so there is a good chance V8 already has\n // it internalized.\n return GetInter...
2018-06-15T00:15:04