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
vercel/next.js
ff070e530b239e89ed05ff8bfc0990a351e4c0a1
1a40651267deb336d149adcee1e057b616fb59f7
Use correct casing in filenames (#50223) My computer ignored the casing change when copying things over, which causes resolution errors.
[ { "path": "examples/with-turbopack/ui/global-nav.tsx", "patch": "@@ -53,7 +53,7 @@ export function GlobalNav() {\n </div>\n \n <h3 className=\"font-semibold tracking-wide text-gray-400 group-hover:text-gray-50\">\n- App Router <span className=\"Work in progress\">(Beta)</span>...
2023-05-23T17:49:36
nodejs/node
79a016a246e5bda9bcd5d03a70f408403b7a56df
b4735ecebb390f467bba5b2d467f27f88dbbf09e
inspector: fix typo PR-URL: https://github.com/nodejs/node/pull/27712 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: J...
[ { "path": "src/inspector_profiler.cc", "patch": "@@ -94,7 +94,7 @@ void V8ProfilerConnection::V8ProfilerSessionDelegate::SendMessageToFrontend(\n NewStringType::kNormal,\n message.length())\n .ToLocal(&message_str)) {\n- fprintf(stder...
2019-05-15T14:32:49
electron/electron
6f45678e9c68874474de2d3727f16a96ac45a528
0ea80f674b0d8a305984e94bea247d3dd8d43b2b
Fix Menu template API example
[ { "path": "docs-translations/jp/api/menu.md", "patch": "@@ -135,7 +135,7 @@ var template = [\n ];\n \n if (process.platform == 'darwin') {\n- var name = require('electron').app.getName();\n+ var name = require('electron').remote.app.getName();\n template.unshift({\n label: name,\n submenu: [", ...
2016-02-25T18:28:03
golang/go
1f411e9b6d8849014653c89a9df77b8aadd082e6
8b9b365493220a7bfd87fd3c27301e43baa35a0d
testing: only snapshot coverage during fuzzing Only snapshot/reset coverage counters when we are actually fuzzing. This prevents a race when running corpus/seed values during the testing phase. Fixes #50488 Change-Id: I7dd5a0353a296c0b13eede29ad9af7c78814fa2d Reviewed-on: https://go-review.googlesource.com/c/go/+/37...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_test_race.txt", "patch": "@@ -0,0 +1,38 @@\n+# Test that when both race detection and coverage instrumentation are enabled,\n+# and seed values are being executed, the race detector isn't mistakenly\n+# triggered.\n+\n+[short] skip\n+[!fuzz] skip\n+\n+# Test w...
2022-01-07T20:18:30
huggingface/transformers
75e39856f877e75b3a15849d19151a73ed3a1159
61cafd991d5692d5637f39348a7ccb1efaf65446
Fix Break change of AWQ FusedModules due to Attention Refactor (#41909) * fix awq bc due to attention refactor * feat: support more rope_types for awq fusion * feat: add test for llama3 * fix ruff format * propagate changes in modeling_llama
[ { "path": "src/transformers/integrations/awq.py", "patch": "@@ -18,6 +18,7 @@\n from packaging import version\n \n from ..activations import ACT2FN\n+from ..modeling_rope_utils import ROPE_INIT_FUNCTIONS\n from ..modeling_utils import PreTrainedModel\n from ..utils import is_auto_awq_available, is_ipex_avai...
2025-11-20T13:41:33
nodejs/node
be26f6e9d5e8f39048549fa4f18eef49adff3e55
3d9d1ade2a361f408b116c5bafb2fcd560310f9c
http: add an alias at addListener on Server connection socket Fixes: https://github.com/nodejs/node/issues/27199 PR-URL: https://github.com/nodejs/node/pull/27325 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewe...
[ { "path": "lib/_http_server.js", "patch": "@@ -406,6 +406,7 @@ function connectionListenerInternal(server, socket) {\n \n // Override on to unconsume on `data`, `readable` listeners\n socket.on = socketOnWrap;\n+ socket.addListener = socket.on;\n \n // We only consume the socket if it has never been ...
2019-04-20T14:42:27
vercel/next.js
1a40651267deb336d149adcee1e057b616fb59f7
33b8e6157f64fe640a4f668db2a6c94a108f2410
Add special route types to the link type declaration (#50066) This PR adds generated type definitions for `Link` hrefs with only search, hash or with a protocol. Closes #49825. fix NEXT-1203
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -362,6 +362,7 @@ function createRouteDefinitions() {\n */\n declare namespace __next_route_internal_types__ {\n type SearchOrHash = \\`?\\${string}\\` | \\`#\\${string}\\`\n+ type WithProtocol = \\`\\${string}:\\${str...
2023-05-23T17:36:09
golang/go
8b9b365493220a7bfd87fd3c27301e43baa35a0d
55d10acb72c2dc5524aae69ade560f3cf308a864
cmd/compile: use exact constant in go_asm.h Fixes #50523 Change-Id: Idab1b44d106250e9301d90ee6571f0ea51242dd9 Reviewed-on: https://go-review.googlesource.com/c/go/+/377074 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Liz Fong-Jones <lizf@honeycomb.io> Reviewed-...
[ { "path": "src/cmd/compile/internal/gc/export.go", "patch": "@@ -31,7 +31,7 @@ func dumpasmhdr() {\n \t\t\tif t == constant.Float || t == constant.Complex {\n \t\t\t\tbreak\n \t\t\t}\n-\t\t\tfmt.Fprintf(b, \"#define const_%s %v\\n\", n.Sym().Name, n.Val())\n+\t\t\tfmt.Fprintf(b, \"#define const_%s %v\\n\", ...
2022-01-10T04:20:43
huggingface/transformers
52cbf3913cad3afcae7cfbb19d4405478160edd5
59dfc1dcf9bc0ece99f7316aa2994566a0ba1a37
Fixed the docstring for `WhisperFeatureExtractor` (#42286) Fixed the docstring
[ { "path": "src/transformers/models/whisper/feature_extraction_whisper.py", "patch": "@@ -204,9 +204,8 @@ def __call__(\n return_token_timestamps: Optional[bool] = None,\n **kwargs,\n ) -> BatchFeature:\n- \"\"\"\n- Main method to featurize and prepare for the model one or s...
2025-11-19T17:37:59
huggingface/transformers
59dfc1dcf9bc0ece99f7316aa2994566a0ba1a37
4391cfd336281a68f5ff931a7b35024186519d69
Fix device_map computation part 2 (#42290) fix
[ { "path": "src/transformers/integrations/accelerate.py", "patch": "@@ -204,13 +204,18 @@ def check_and_set_device_map(device_map: \"torch.device | int | str | dict | None\n \n \n def compute_module_sizes(\n- model: \"PreTrainedModel\", hf_quantizer: \"HfQuantizer | None\" = None, buffers_only: bool = Fal...
2025-11-19T17:27:51
vercel/next.js
2fa58c3a885ef037f6cb5264464beb1c9ef1a72b
eba9e39ea487f281dc6cfc1ee2de09e2c4b23d61
fix: Added blockfrost-js, lucid-cardano & mongoose package to srvExtPackages to prevent issue #49783 from happening. (#49938) fixes #49783 ### What? Added the following packages to the server component exclusion list which prevents these packages from going through the currently default compile pipeline for apps...
[ { "path": "packages/next/src/lib/server-external-packages.json", "patch": "@@ -1,4 +1,6 @@\n [\n+ \"@blockfrost/blockfrost-js\",\n+ \"@jpg-store/lucid-cardano\",\n \"@prisma/client\",\n \"@vercel/og\",\n \"@sentry/nextjs\",\n@@ -19,6 +21,7 @@\n \"lodash\",\n \"mdx-bundler\",\n \"mongodb\",\n+ ...
2023-05-23T15:41:59
nodejs/node
ee59763ab3b67f8792ed53a4d098212a040994f9
bd895af1f8509d472c7258f3dfe7c3e1aa9334b3
test: relax check in verify-graph Relax the check regarding presence of async resources in graph to allow extra events. Before this change events not mentioned in reference graph were allowed but that one specified must match exactly in count. Now it's allowed to have more events of this type. Refs: https://github.co...
[ { "path": "test/async-hooks/verify-graph.js", "patch": "@@ -99,17 +99,17 @@ module.exports = function verifyGraph(hooks, graph) {\n }\n assert.strictEqual(errors.length, 0);\n \n- // Verify that all expected types are present\n+ // Verify that all expected types are present (but more/others are allowe...
2019-05-16T22:59:57
golang/go
7de2249a08aab44c512d0ea86f50481d76e135f1
933f6685f7d33f3865d6ef062cbb0944d3f5d2fc
cmd/compile, test: updated comments in crawler.go, added test Added a test to make sure that the private methods of a local generic type are properly exported, if there is a global variable with that type. Added comments in crawler.go, to give more detail and to give more about the overall purpose. Fixed one place w...
[ { "path": "src/cmd/compile/internal/typecheck/crawler.go", "patch": "@@ -11,11 +11,22 @@ import (\n )\n \n // crawlExports crawls the type/object graph rooted at the given list of exported\n-// objects. It descends through all parts of types and follows any methods on defined\n-// types. Any functions that ...
2021-12-29T02:40:12
electron/electron
d2b48b2aa7ff7ed3bb257f96ef0ed6d46c4c28b9
f3c7965cea9efd6b4b1c012a4c0e43430fbcc7c8
Fix crash in mate::Converter<const net::URLRequest*>::ToV8 The net::URLRequest::url() method calls vector<GURL>::back(), which is undefined when the url_chain is empty
[ { "path": "atom/common/native_mate_converters/net_converter.cc", "patch": "@@ -27,7 +27,9 @@ v8::Local<v8::Value> Converter<const net::URLRequest*>::ToV8(\n v8::Isolate* isolate, const net::URLRequest* val) {\n scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue);\n dict->SetString(\"me...
2016-02-24T13:01:26
huggingface/transformers
4391cfd336281a68f5ff931a7b35024186519d69
454c0a7ccf33f7fc13e3e2eb9b188a5c09ab708b
perf: Optimization for Min-p sampling implementation (#42248) * refactor(MinPLogitsWarper): optimizing min_tokens_to_keep * Fix(MinPLogitsWarper): edge case when min_tokens_to_keep > vocab_size
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -748,19 +748,18 @@ def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor) -> to\n # Convert logits to probabilities\n probs = torch.softmax(scores, dim=-1)\n # Get the probability of the top t...
2025-11-19T17:27:23
vercel/next.js
eba9e39ea487f281dc6cfc1ee2de09e2c4b23d61
0718dbb7a549853c1a9eef78b008490d16020a43
Ensure NEXT_DYNAMIC_NO_SSR_CODE has a unique name (#50219) ## What? Ensures `NEXT_DYNAMIC_NO_SSR_CODE` has a unique error code value, this accidentally had the value for dynamic server usage (e.g. calling cookies()) which caused the warning to be shown as shown in #48442. ## How? Changed the digest value to...
[ { "path": "packages/next/src/shared/lib/lazy-dynamic/no-ssr-error.ts", "patch": "@@ -1,3 +1,3 @@\n // This has to be a shared module which is shared between client component error boundary and dynamic component\n \n-export const NEXT_DYNAMIC_NO_SSR_CODE = 'DYNAMIC_SERVER_USAGE'\n+export const NEXT_DYNAMIC_N...
2023-05-23T15:37:57
nodejs/node
4a7b8eae84e7283f8cc50be43562a27f3b74a3a5
98a552df770a9cf7de224855b088a4402f252b2b
doc: correct entry for electron v4.0.4 `abi_version_registry.json` incorrectly specified that electron v4.0.4 used `NODE_MODULE_VERSION` 64, but in fact it uses 69. See: * https://github.com/electron/electron/pull/16687 * https://github.com/electron/electron/releases/tag/v4.0.4 * https://github.com/lgeiger/node-abi/...
[ { "path": "doc/abi_version_registry.json", "patch": "@@ -4,14 +4,14 @@\n { \"modules\": 72, \"runtime\": \"node\", \"variant\": \"v8_7.4\", \"versions\": \"12.0.0-pre\" },\n { \"modules\": 71, \"runtime\": \"node\", \"variant\": \"v8_7.3\", \"versions\": \"12.0.0-...
2019-04-24T20:09:27
golang/go
933f6685f7d33f3865d6ef062cbb0944d3f5d2fc
9e7ea3566e662ba498d64cb63146575202a053ee
cmd/compile: unique LinkString for renamed, embedded fields Using type aliases, it's possible to create structs with embedded fields that have no corresponding type literal notation. However, we still need to generate a unique name for these types to use for linker symbols. This CL introduces a new "struct{ Name = Typ...
[ { "path": "src/cmd/compile/internal/types/fmt.go", "patch": "@@ -631,6 +631,7 @@ func fldconv(b *bytes.Buffer, f *Field, verb rune, mode fmtMode, visited map[*Ty\n \t}\n \n \tvar name string\n+\tnameSep := \" \"\n \tif verb != 'S' {\n \t\ts := f.Sym\n \n@@ -639,9 +640,41 @@ func fldconv(b *bytes.Buffer, f *...
2021-12-16T20:55:15
vercel/next.js
0718dbb7a549853c1a9eef78b008490d16020a43
3d40cb01ab8689aa5944d9c62445de4ef503175e
Fix static workers distributing (#50194) This removes the `computeWorkerKey` from our static workers as this doesn't work in practice as efficiently as we hoped since a single page can have thousands of paths to render which won't be distributed to separate workers if the same worker key is returned. Fixes: http...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1189,20 +1189,6 @@ export default async function build(\n },\n },\n enableWorkerThreads: config.experimental.workerThreads,\n- computeWorkerKey(method, ...args) {\n- if (method === 'exportPage') {...
2023-05-23T15:32:05
nodejs/node
b3ffd1fbb0f4f42c77c7be9fe1fa502eff697991
76f2168393d5b97aadce573415143383ccd3d78e
doc,n-api: fix `introduced_in` metadata Node.js v7.10.0 did not contain N-API. Update the `introduced_in` metadata to prevent a broken 7.x "View another version" link in the N-API docs. PR-URL: https://github.com/nodejs/node/pull/27745 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <lu...
[ { "path": "doc/api/n-api.md", "patch": "@@ -1,6 +1,6 @@\n # N-API\n \n-<!--introduced_in=v7.10.0-->\n+<!--introduced_in=v8.0.0-->\n <!-- type=misc -->\n \n > Stability: 2 - Stable", "additions": 1, "deletions": 1, "language": "Markdown" } ]
2019-05-17T00:31:31
huggingface/transformers
1fba72361e8e0e865d569f7cd15e5aa50b41ac9a
ea30d827697cfe548dd6691e8fc191b010e2433f
Add SAM3 to 🤗 Transformers (#42285) * add native image only sam3 * remove sam3 source code from transformers * init sam3 refactor * add working refactored sam3 * remove dedicated config mask fuser * Add support for batch inference and inference in any dtype * improve processing for mixed batched inputs * updat...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -826,6 +826,8 @@\n title: RT-DETRv2\n - local: model_doc/sam2\n title: SAM2\n+ - local: model_doc/sam3_tracker\n+ title: Sam3Tracker\n - local: model_doc/segformer\n title: SegFormer\n - local: model_...
2025-11-19T16:18:49
golang/go
9e7ea3566e662ba498d64cb63146575202a053ee
931e84af4055dbcf91e986601d99e00c57136330
runtime: expand TestGdbPythonCgo skip to include mips64le The failure mode in #37794 does not match the failure mode described in #18784. However, since the test is currently skipped on all other MIPS variants, it may be that they suffer from the same underlying GDB bug. Ideally one of the Go MIPS maintainers should f...
[ { "path": "src/runtime/runtime-gdb_test.go", "patch": "@@ -153,8 +153,8 @@ func TestGdbPython(t *testing.T) {\n }\n \n func TestGdbPythonCgo(t *testing.T) {\n-\tif runtime.GOARCH == \"mips\" || runtime.GOARCH == \"mipsle\" || runtime.GOARCH == \"mips64\" {\n-\t\ttestenv.SkipFlaky(t, 18784)\n+\tif strings.Ha...
2022-01-07T21:35:31
huggingface/transformers
ea30d827697cfe548dd6691e8fc191b010e2433f
a74be0dcb9f2975cea06b6ad0a82f539e7c5763d
Fix validation checks order in benchmark_v2 (#42280) fix validation checks order
[ { "path": "benchmark_v2/framework/benchmark_config.py", "patch": "@@ -203,6 +203,8 @@ def adapt_configs(\n config[\"sequence_length\"] = seqlen\n config[\"num_tokens_to_generate\"] = ntok\n config[\"gpu_monitoring\"] = monitor\n+ # Remove the old name so it get...
2025-11-19T15:56:29
vercel/next.js
3d40cb01ab8689aa5944d9c62445de4ef503175e
ad79fed1a2c2e6e66d54bb8fd95947c4edf8f271
refactor webpack loaders (#49535) ### What? * allow to apply existing pipeline * change webpack loader key to glob for more flexibility * add test cases * add special error message when using the old config syntax Old config: ```js experimental: { turbo: { loaders: { ".mdx": ["mdx-loader"] } ...
[ { "path": ".prettierignore", "patch": "@@ -22,6 +22,8 @@ packages/next/src/bundles/webpack/packages/lazy-compilation-*.js\n packages/next-swc/crates/**/tests/**/output*\n packages/next-swc/crates/core/tests/loader/issue-32553/input.js\n packages/next-swc/crates/next-dev-tests/tests/integration/turbopack/bas...
2023-05-23T15:21:25
golang/go
931e84af4055dbcf91e986601d99e00c57136330
a40c7b1c77bb8eaaf42e15703a57b9379efc710c
cmd/compile: fix interaction between generics and inlining Finally figured out how to deal with the interaction between generics and inlining. The problem has been: what to do if you inline a function that uses a new instantiated type that hasn't been seen in the current package? This might mean that you need to do an...
[ { "path": "src/cmd/compile/internal/gc/main.go", "patch": "@@ -245,16 +245,6 @@ func Main(archInit func(*ssagen.ArchInfo)) {\n \tbase.Timer.Start(\"fe\", \"inlining\")\n \tif base.Flag.LowerL != 0 {\n \t\tinline.InlinePackage()\n-\t\t// If any new fully-instantiated types were referenced during\n-\t\t// inl...
2021-12-29T15:08:55
nodejs/node
6f55c5327ebb0ff169a73c698168a7fb4cd604bc
6019060cbb0620d685c8a106a4184475420e922b
test: un-mark worker syntax error tests as flaky These tests should be fixed now. PR-URL: https://github.com/nodejs/node/pull/27705 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
[ { "path": "test/parallel/parallel.status", "patch": "@@ -14,8 +14,6 @@ test-tls-enable-trace-cli: PASS,FLAKY\n \n [$system==win32]\n test-http2-pipe: PASS,FLAKY\n-test-worker-syntax-error: PASS,FLAKY\n-test-worker-syntax-error-file: PASS,FLAKY\n # https://github.com/nodejs/node/issues/23277\n test-worker-me...
2019-05-14T23:34:52
huggingface/transformers
a74be0dcb9f2975cea06b6ad0a82f539e7c5763d
e5c8a06fdd8ed7766bc4ea8952dba8b6fca9367f
Fix accelerate integration (#42264) * fix * add sorting * typo * fix * improve doc * doc * doc
[ { "path": "src/transformers/integrations/accelerate.py", "patch": "@@ -159,61 +159,6 @@ def wrapper(*args, **kwargs):\n setattr(torch, torch_function_name, old_torch_function)\n \n \n-def find_tied_parameters(model: \"nn.Module\", **kwargs):\n- \"\"\"\n- Find the tied parameters in a given...
2025-11-19T14:54:29
vercel/next.js
03d6dcc08de9509ec0a19b760ec9b2a606ff551e
fa9c6021b4894356323a5d3f4997c0251f9c8b75
Move debugging variable into useEffect (#50210) ## What? Ensures the debugging variables are only assigned when the values change. <!-- 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 belo...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -331,17 +331,24 @@ function Router({\n return routerInstance\n }, [dispatch, navigate])\n \n- // Add `window.nd` for debugging purposes.\n- // This is not meant for use in applications as concurrent rendering will affect th...
2023-05-23T11:41:01
electron/electron
331bc42d57f04648a5c92e10afdc074d69cc827e
537ead89171f5978183ea16fbe87818e3e887558
docs: update zh-CN doc debugging-main-process.md update zh-CN doc debugging-main-process.md to be up-to-date with English ver.
[ { "path": "docs-translations/zh-CN/tutorial/debugging-main-process.md", "patch": "@@ -18,16 +18,31 @@\n \n ## 使用 node-inspector 来调试\n \n-__备注:__ Electron 使用 node v0.11.13 版本,目前对 node-inspector支持的不是特别好,\n+__备注:__ Electron 目前对 node-inspector支持的不是特别好,\n 如果你通过 node-inspector 的 console 来检查 `process` 对象,主进程就会崩溃。\...
2016-02-23T02:00:28
huggingface/transformers
6ccacf3ab99df836ef257f1fa431896f4d87a9f1
5804c1fa474f2568e359e3fb5800cb7b13fb01e2
[testing] fix some cases in xpu (#42273) fix tests/models/sam_hq/test_modeling_sam_hq.py::SamHQModelIntegrationTest::test_inference_mask_generation_no_point fix tests/models/mpt/test_modeling_mpt.py::MptIntegrationTests::test_model_logits Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
[ { "path": "tests/models/mpt/test_modeling_mpt.py", "patch": "@@ -528,6 +528,7 @@ def test_generation_batched(self):\n for i, predicted_output in enumerate(decoded_outputs):\n self.assertEqual(predicted_output, expected_output[i])\n \n+ @require_deterministic_for_xpu\n def test_mod...
2025-11-19T14:11:53
nodejs/node
6019060cbb0620d685c8a106a4184475420e922b
001526cc4ce6b3ec55fddcc927d9f610b162a657
worker: use special message as MessagePort close command When a `MessagePort` connected to another `MessagePort` closes, the latter `MessagePort` will be closed as well. Until now, this is done by testing whether the ports are still entangled after processing messages. This leaves open a race condition window in which...
[ { "path": "src/node_messaging.cc", "patch": "@@ -40,6 +40,10 @@ namespace worker {\n Message::Message(MallocedBuffer<char>&& buffer)\n : main_message_buf_(std::move(buffer)) {}\n \n+bool Message::IsCloseMessage() const {\n+ return main_message_buf_.data == nullptr;\n+}\n+\n namespace {\n \n // This is ...
2019-05-14T23:24:57
golang/go
a40c7b1c77bb8eaaf42e15703a57b9379efc710c
6df0957060b1315db4fd6a359eefc3ee92fcc198
runtime/pprof: run TestCPUProfileMultithreadMagnitude subtests separately Currently TestCPUProfileMultithreadMagnitude runs two CPU consumption functions in a single profile and then analyzes the results as separate subtests. This works fine, but when debugging failures it makes manual analysis of the profile dump a ...
[ { "path": "src/runtime/pprof/pprof_test.go", "patch": "@@ -79,10 +79,6 @@ func cpuHog2(x int) int {\n \treturn foo\n }\n \n-func cpuHog3(x int) int {\n-\treturn cpuHog0(x, 1e5)\n-}\n-\n // Return a list of functions that we don't want to ever appear in CPU\n // profiles. For gccgo, that list includes the si...
2021-12-16T20:30:47
vercel/next.js
3683956b43f694f70ac37768cb6459ba59242f61
178d111fbd3878486af02a7913d1c0c9961cd9ba
refactor webpack loader execution (vercel/turbo#4880) ### Description * [fix error propagation in ContextCondition](https://github.com/vercel/turbo/commit/e0a8a54ad384698331717b423360531a6d52b6f5) * [improve JSON deserialization error message](https://github.com/vercel/turbo/commit/b03233005c86ba39275eaf82fbd1c4...
[ { "path": "crates/turbo-tasks-fs/src/glob.rs", "patch": "@@ -50,8 +50,7 @@ impl Glob {\n pub fn execute(&self, path: &str) -> bool {\n let match_partial = path.ends_with('/');\n self.iter_matches(path, true, match_partial)\n- .next()\n- .is_some()\n+ .any...
2023-05-23T11:04:52
electron/electron
96b2705bd3ec3fe7a92bc27bf061613d4871ae19
6753fcc1b4bae07bad8cae674770da220bf9fafb
Fix render-view-deleted being emitted twice
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -296,6 +296,7 @@ WebContents::~WebContents() {\n // The WebContentsDestroyed will not be called automatically because we\n // unsubscribe from webContents before destroying it. So we have to manually\n // call it here to make su...
2016-02-22T07:20:23
huggingface/transformers
15b73034d7ded1f47c4d684564b4ecd558b99c20
f0d026f033388829a552eec57f5ad8dd8e105068
fix a typo: pbd -> pdb (#42268)
[ { "path": "src/transformers/models/esm/modeling_esmfold.py", "patch": "@@ -2257,7 +2257,7 @@ def infer(\n \n @staticmethod\n def output_to_pdb(output: dict) -> list[str]:\n- \"\"\"Returns the pbd (file) string from the model given the model output.\"\"\"\n+ \"\"\"Returns the pdb (file)...
2025-11-19T13:28:27
golang/go
6df0957060b1315db4fd6a359eefc3ee92fcc198
2639f2f79bda2c3a4e9ef7381ca7de14935e2a4a
net/http: map FS Open errors just like Dir When an http.FileServer is given a path like file1/file2 where file1 exists but file2 does not, the proper HTTP status should be NotFound. Some OSes return a "not a directory" error instead, so this must be mapped to NotFound. That mapping was already being done for the Dir ...
[ { "path": "src/net/http/fs.go", "patch": "@@ -42,20 +42,20 @@ import (\n // An empty Dir is treated as \".\".\n type Dir string\n \n-// mapDirOpenError maps the provided non-nil error from opening name\n+// mapOpenError maps the provided non-nil error from opening name\n // to a possibly better non-nil erro...
2022-01-08T14:18:24
nodejs/node
cca375f4af235ed7e7f763b2e35532ae843a5854
a92ad36894dc91af765e7cc9bfce4a7ea64c27fa
console: don't attach unnecessary error handlers A noop error handler is attached to the console's stream on write. The handler is then immediately removed after the write. This commit skips adding the error handler if one already exists. PR-URL: https://github.com/nodejs/node/pull/27691 Fixes: https://github.com/nod...
[ { "path": "lib/internal/console/constructor.js", "patch": "@@ -231,7 +231,8 @@ Console.prototype[kWriteToConsole] = function(streamSymbol, string) {\n // handle both situations.\n try {\n // Add and later remove a noop error handler to catch synchronous errors.\n- stream.once('error', noop);\n+ ...
2019-05-14T13:38:09
vercel/next.js
2fc0160a2628be40794dc097814006342298583c
1e86c8b5be08a8269e61112c69f2793c5214c183
test(turbopack): run next.js integration tests with denylist (#50172) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making:...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -812,9 +812,8 @@ jobs:\n - run: xvfb-run node run-tests.js test/integration/with-electron/test/index.test.js\n if: ${{needs.build.outputs.docsChange == 'nope'}}\n \n- # A job to run sets of tests with turbopack enabled. These t...
2023-05-23T08:55:33
huggingface/transformers
f0d026f033388829a552eec57f5ad8dd8e105068
383018e7b930bf119026466a579d49e6f43eb4da
[testing] fix `cwm` (#42261) * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/cwm/test_modeling_cwm.py", "patch": "@@ -17,6 +17,7 @@\n from transformers import is_torch_available\n from transformers.testing_utils import (\n cleanup,\n+ require_read_token,\n require_torch,\n require_torch_accelerator,\n slow,\n@@ -85,6 +86,7 @@ class CwmModel...
2025-11-19T13:25:26
nodejs/node
5b26609e5a706c43bdf0683d09db154b93c8c479
e632b1b7eeb0900472c710ae7269111d985de018
tools: update capitalized-comments eslint rule The regular expression is updated to ignore variable declarations which might happen while commenting out some code during development and adds a couple more exceptions to prevent false negatives. PR-URL: https://github.com/nodejs/node/pull/27675 Reviewed-By: Ben Noordhu...
[ { "path": ".eslintrc.js", "patch": "@@ -66,7 +66,8 @@ module.exports = {\n line: {\n // Ignore all lines that have less characters than 20 and all lines that\n // start with something that looks like a variable name or code.\n- ignorePattern: '.{0,20}$|[a-z]+ ?[0-9A-Z_.(/=:[#-]|...
2019-05-13T12:38:44
golang/go
2639f2f79bda2c3a4e9ef7381ca7de14935e2a4a
90860e0c3110ac5898dfe8e0e0fafd0aea8d979a
go/types, types2: better error message for invalid == on type parameters Fixes #48712. Change-Id: I6f214cdfdd1815493f2a04828e8f0097f1d8c124 Reviewed-on: https://go-review.googlesource.com/c/go/+/372734 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gopher Robot <...
[ { "path": "src/cmd/compile/internal/types2/expr.go", "patch": "@@ -770,10 +770,12 @@ func (check *Checker) comparison(x, y *operand, op syntax.Operator) {\n \txok, _ := x.assignableTo(check, y.typ, nil)\n \tyok, _ := y.assignableTo(check, x.typ, nil)\n \tif xok || yok {\n+\t\tequality := false\n \t\tdefined...
2021-12-16T05:25:50
vercel/next.js
1e86c8b5be08a8269e61112c69f2793c5214c183
df85ad1ec0bbdddb6d4dfaf319ad8b28fba7a864
Add the `node` condition to import resolution (#50007) This adds the `node` condition, so that importing a node module that uses `exports` with a `node` specified will prioritize that file. Eg, [uuid](https://github.com/uuidjs/uuid/blob/4de23a60/package.json#L25-L31)'s `package.json` will now resolve to the `./dist...
[ { "path": "packages/next-swc/crates/next-core/src/next_server/context.rs", "patch": "@@ -102,7 +102,7 @@ pub async fn get_server_resolve_options_context(\n enable_node_externals: true,\n enable_node_native_modules: true,\n module: true,\n- custo...
2023-05-23T08:43:34
huggingface/transformers
383018e7b930bf119026466a579d49e6f43eb4da
95d75eb7b16edda3437aec315fadd32b40684f8a
Remove doc files of other langs for deleted models (#42276) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docs/source/ja/_toctree.yml", "patch": "@@ -252,8 +252,6 @@\n title: Blenderbot Small\n - local: model_doc/bloom\n title: BLOOM\n- - local: model_doc/bort\n- title: BORT\n - local: model_doc/byt5\n title: ByT5\n - local: model_doc/camembert\n@...
2025-11-19T13:23:53
electron/electron
078c7bf8ab2293ebb1a5b0bde489a5f6da42c443
45739ce434ec3c3eb190d35d3948b702b54706cd
Rename constant `PERSIST_PERFIX` to `PERSIST_PREFIX` in `session.js`.
[ { "path": "atom/browser/api/lib/session.js", "patch": "@@ -1,6 +1,6 @@\n const EventEmitter = require('events').EventEmitter;\n const bindings = process.atomBinding('session');\n-const PERSIST_PERFIX = 'persist:';\n+const PERSIST_PREFIX = 'persist:';\n \n // Returns the Session from |partition| string.\n ex...
2016-02-21T08:14:34
nodejs/node
e632b1b7eeb0900472c710ae7269111d985de018
a9f518c901459e42afc76871dab9867967e9fa23
assert: add compatibility for older Node.js versions This makes sure the `AssertionError` still accepts the `stackStartFunction` option as alternative to the `stackStartFn`. PR-URL: https://github.com/nodejs/node/pull/27672 Fixes: https://github.com/nodejs/node/issues/27671 Reviewed-By: Yongsheng Zhang <zyszys98@gmai...
[ { "path": "lib/internal/assert/assertion_error.js", "patch": "@@ -298,7 +298,9 @@ class AssertionError extends Error {\n const {\n message,\n operator,\n- stackStartFn\n+ stackStartFn,\n+ // Compatibility with older versions.\n+ stackStartFunction\n } = options;\n ...
2019-05-13T12:17:03
golang/go
90860e0c3110ac5898dfe8e0e0fafd0aea8d979a
7f3eb6182ba72b1b45cf313a01b9c7d4b374255f
net/http/internal/testcert: use FIPS-compliant certificate Upgrade the test certificate from RSA 1024 (not FIPS-approved) to RSA 2048 (FIPS-approved), allowing tests to pass when the dev.boringcrypto branch FIPS-only mode is enabled. Fixes #48674. Change-Id: I613d2f8d0207bf3683fd0df256bf0167604996c5 Reviewed-on: htt...
[ { "path": "src/net/http/internal/testcert/testcert.go", "patch": "@@ -10,37 +10,56 @@ import \"strings\"\n // LocalhostCert is a PEM-encoded TLS cert with SAN IPs\n // \"127.0.0.1\" and \"[::1]\", expiring at Jan 29 16:00:00 2084 GMT.\n // generated from src/crypto/tls:\n-// go run generate_cert.go --rsa-b...
2021-10-04T17:20:22
huggingface/transformers
6db2dd319c4b063836784bb4e75f664771956e6b
e2fb8d6062a05f69f976cf6e39618df6c31a3bfd
Audio Flamingo3 - fix attention masking (#42278) * fix attention masking * use `input_features_mask` for paddinf
[ { "path": "src/transformers/models/audioflamingo3/modeling_audioflamingo3.py", "patch": "@@ -30,7 +30,7 @@\n from ...activations import ACT2FN\n from ...cache_utils import Cache, EncoderDecoderCache\n from ...generation import GenerationMixin\n-from ...masking_utils import eager_mask, padding_mask_function\...
2025-11-19T11:43:57
vercel/next.js
6f2e1400372a1e0d56ccda9c2daecbfca3fac437
f4bb4aa73c21b686c5a6f13face606e07cceb749
Fix pages react alias (#50128) Fix react and react-dom aliases are not properly set for `pages/` * Remove alias react-dom internals to `{}` in edge runtime as we're using server rendering stub as alias * Add `react$`, `react-dom$` missing aliases * Only apply alias to builtin react/react-dom when it's app dir assets....
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -66,6 +66,11 @@ import { NextFontManifestPlugin } from './webpack/plugins/next-font-manifest-plu\n import { getSupportedBrowsers } from './utils'\n import { METADATA_RESOURCE_QUERY } from './webpack/loaders/metadata/discover'\n \n+type Excl...
2023-05-22T23:37:27
golang/go
7f3eb6182ba72b1b45cf313a01b9c7d4b374255f
c74be77e63c0281abb45dbf9de31fa05a6824934
runtime: skip TestSegv traceback check on 386 The VDSO (__kernel_vsyscall) is reachable via asmcgocall(cgo_start_thread) on linux-386, which causes traceback to throw. Fixes #49182. For #50504. Change-Id: Idb78cb8de752203ce0ed63c2dbd2d12847338688 Reviewed-on: https://go-review.googlesource.com/c/go/+/376656 Reviewed...
[ { "path": "src/runtime/crash_cgo_test.go", "patch": "@@ -625,12 +625,20 @@ func TestSegv(t *testing.T) {\n \t\t\t\t// TODO(golang.org/issue/49182): Skip, runtime\n \t\t\t\t// throws while attempting to generate\n \t\t\t\t// traceback.\n-\t\t\tdefault:\n-\t\t\t\tnowant := \"runtime: \"\n-\t\t\t\tif strings.C...
2022-01-07T22:11:41
nodejs/node
a9f518c901459e42afc76871dab9867967e9fa23
ac2f2cd919ec549f908d3eb0b7fc8a6726a0ac25
process: inspect error in case of a fatal exception This makes sure that errors that shut down the application are inspected with `util.inspect()`. That makes sure that all extra properties on the error will be visible and also that the stack trace is highlighted (Node.js internal frames will be grey and node modules ...
[ { "path": "lib/internal/process/execution.js", "patch": "@@ -142,8 +142,12 @@ function createFatalException() {\n if (exceptionHandlerState.captureFn !== null) {\n exceptionHandlerState.captureFn(er);\n } else if (!process.emit('uncaughtException', er, type)) {\n- // If someone handled it...
2019-04-15T18:10:17
huggingface/transformers
e2fb8d6062a05f69f976cf6e39618df6c31a3bfd
a5c903f877fda21e739027eed133e03162eb7712
🚨 Generalize `get_decoder()` for multimodal and delete redundant code 🔪 (#42156) * update some models * update the rest * add helper for encoder * delete encoder code from models * fix copies * fix some tests but VLM will fail * add encider tests simialr to decoder * no print * fix overwritten models * an...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -2205,26 +2205,78 @@ def disable_input_require_grads(self):\n \"\"\"\n self._require_grads_hook.remove()\n \n+ def get_encoder(self, modality: Optional[str] = None):\n+ \"\"\"\n+ Best-effort lookup of the *encoder*...
2025-11-19T10:46:39
vercel/next.js
f4bb4aa73c21b686c5a6f13face606e07cceb749
f56722c971fa83f5918352b08d12f9c5ce0fa2f8
Fix react fetch deduping without next cache (#50187) This ensures we don't reference the wrong fetch global bypassing react's patched fetch so that it can properly fallback to react's fetch deduping when next cache is disabled for a specific fetch. x-ref: [slack thread](https://vercel.slack.com/archives/C042LHPJ...
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -20,6 +20,7 @@ import type { StaticGenerationAsyncStorage } from '../client/components/static-g\n import '../server/require-hook'\n import '../server/node-polyfill-fetch'\n import '../server/node-polyfill-crypto'\n+import '../server/node-environment...
2023-05-22T23:13:02
electron/electron
1e894df102f685f0959f8137d83176c93d457930
b13a2fe26032880e11463b58497d18b206d72626
Update libchromiumcontent, fix #3666
[ { "path": "script/lib/config.py", "patch": "@@ -8,7 +8,7 @@\n \n BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \\\n 'https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = '1be1a55abba527d6fb0fc2a589cbaef2f5a6a79e'\n+LIBCHROMIUMCONTENT_COMMIT = 'fc517447...
2016-02-18T04:14:25
nodejs/node
53bef423f31bb383212a6754228c21ca3d3231b6
10d7e01ee9618a42cb658a07d692557a03456fe5
tls: expose keylog event on TLSSocket Exposes SSL_CTX_set_keylog_callback in the form of a `keylog` event that is emitted on clients and servers. This enables easy debugging of TLS connections with i.e. Wireshark, which is a long-requested feature. PR-URL: https://github.com/nodejs/node/pull/27654 Refs: https://githu...
[ { "path": "doc/api/tls.md", "patch": "@@ -334,6 +334,34 @@ added: v0.3.2\n The `tls.Server` class is a subclass of `net.Server` that accepts encrypted\n connections using TLS or SSL.\n \n+### Event: 'keylog'\n+<!-- YAML\n+added: REPLACEME\n+-->\n+\n+* `line` {Buffer} Line of ASCII text, in NSS `SSLKEYLOGFIL...
2019-05-11T21:07:06
golang/go
c74be77e63c0281abb45dbf9de31fa05a6824934
be26ca972d2149df09e70789fdf284da01c5e9d8
cmd/compile: accept string|[]byte-constrained 2nd argument in append Similarly to what we do for the built-in function `copy`, where we allow a string as 2nd argument to append, also permit a type parameter constrained by string|[]byte. While at it, change date in the manual.go2 test files so that we don't need to co...
[ { "path": "src/cmd/compile/internal/types2/builtins.go", "patch": "@@ -101,7 +101,7 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \t\t\t\tif x.mode == invalid {\n \t\t\t\t\treturn\n \t\t\t\t}\n-\t\t\t\tif allString(x.typ) {\n+\t\t\t\tif t := structuralString(x.typ); t...
2022-01-07T02:02:30
huggingface/transformers
a5c903f877fda21e739027eed133e03162eb7712
67302b043ea6af670c1c7859bd763c4784edc7d3
Fix looping in torch guard decorator (#42260) * fix * add * fix * switch loop order for perfs * typo
[ { "path": "src/transformers/initialization.py", "patch": "@@ -162,6 +162,25 @@ def copy_(tensor: torch.Tensor, other: torch.Tensor) -> torch.Tensor:\n return tensor\n \n \n+# Here, we need to check several modules imported, and hot patch all of them, as sometimes torch does\n+# something like `from torc...
2025-11-18T17:35:07
vercel/next.js
f56722c971fa83f5918352b08d12f9c5ce0fa2f8
a1633948ada9ab815546c53d6f2202a8088f5fac
fix: add missing `draftMode` type to GetServerSidePropsContext (#50184) This `draftMode` prop was missing from the previous PR: - https://github.com/vercel/next.js/pull/48669 It was added on `GetStaticPropsContext` but not on `GetServerSidePropsContext` so this PR fixes it. ---------
[ { "path": "packages/next/types/index.d.ts", "patch": "@@ -251,6 +251,7 @@ export type GetServerSidePropsContext<\n query: ParsedUrlQuery\n preview?: boolean\n previewData?: Preview\n+ draftMode?: boolean\n resolvedUrl: string\n locale?: string\n locales?: string[]", "additions": 1, "del...
2023-05-22T22:16:12
rust-lang/rust
174cb47a468fb19a3a41895f994eef2f8e7cdd22
b03b3a7ec92682be2917540b679478d41c95a30c
Fix some fixmes that were waiting for let chains
[ { "path": "compiler/rustc_next_trait_solver/src/solve/assembly/structural_traits.rs", "patch": "@@ -326,11 +326,10 @@ pub(in crate::solve) fn extract_tupled_inputs_and_output_from_callable<I: Intern\n let kind_ty = args.kind_ty();\n let sig = args.coroutine_closure_sig().skip_binder(...
2025-06-26T23:36:46
golang/go
be26ca972d2149df09e70789fdf284da01c5e9d8
f1596d76f488e4d82d217418df4191f34b71d117
syscall: in TestDirent, make as many ReadDirent calls as are needed ReadDirent returns only as many directory entries as will fit in the buffer, and each entry is variable-length — so we have no guarantee in general that a buffer of a given arbitrary size can hold even one entry, let alone all ten entries expected by ...
[ { "path": "src/syscall/dirent_test.go", "patch": "@@ -22,7 +22,7 @@ import (\n \n func TestDirent(t *testing.T) {\n \tconst (\n-\t\tdirentBufSize = 2048\n+\t\tdirentBufSize = 2048 // arbitrary? See https://go.dev/issue/37323.\n \t\tfilenameMinSize = 11\n \t)\n \n@@ -37,23 +37,38 @@ func TestDirent(t *te...
2022-01-07T14:54:44
nodejs/node
10d7e01ee9618a42cb658a07d692557a03456fe5
23ef3e4cfb8da65b205e6895947375e5284bebdc
inspector: added NodeRuntime domain Historically Node process sends Runtime.executionContextDestroyed with main context as argument when it is finished. This approach has some disadvantages. V8 prevents running some protocol command on destroyed contexts, e.g. Runtime.evaluate will return an error or Debugger.enable w...
[ { "path": "src/inspector/node_inspector.gypi", "patch": "@@ -9,6 +9,8 @@\n '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeWorker.h',\n '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeTracing.cpp',\n '<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/NodeTracin...
2019-05-07T02:30:44
huggingface/transformers
67302b043ea6af670c1c7859bd763c4784edc7d3
9f311047860d46367d51d2d5b280286b10ba9466
Fix bnb for the weights refactor (#42043) * small fix * nits * ish * up * rev * fix more tie weights keys * small fixes * nit * update * fix and fix * fix a test * glubs * current shitty changes * ship validated ones * more * more update * more * more * more * mllama * more up * fix ernie * fix x...
[ { "path": "src/transformers/core_model_loading.py", "patch": "@@ -46,22 +46,6 @@\n \n logger = logging.get_logger(__name__)\n \n-str_to_torch_dtype = {\n- \"BOOL\": torch.bool,\n- \"U8\": torch.uint8,\n- \"I8\": torch.int8,\n- \"I16\": torch.int16,\n- \"F16\": torch.float16,\n- \"BF16\": t...
2025-11-18T17:28:42
vercel/next.js
a1633948ada9ab815546c53d6f2202a8088f5fac
91e3c007cfd803e7c20307bcfd9ad84d967f35d5
Add warning for edge with force-static (#50182) Currently the edge runtime does not support static generation so this adds a warning when `force-static` is leveraged with `edge-runtime` as it will cause unexpected behavior. Support is being investigated so this isn't a hard error at the moment. x-ref: [slack thread]...
[ { "path": "packages/next/src/build/utils.ts", "patch": "@@ -1384,8 +1384,9 @@ export async function isPageStatic({\n let prerenderFallback: boolean | 'blocking' | undefined\n let appConfig: AppConfig = {}\n let isClientComponent: boolean = false\n+ const pathIsEdgeRuntime = isEdgeRunt...
2023-05-22T20:54:15
electron/electron
651264d098f05735473fde1dae2636fb0af35268
5f42429af195e0fd223e7dc0017b39ecc835c1e6
spec: Fix failing tests on Windows
[ { "path": "spec/api-debugger-spec.js", "patch": "@@ -95,7 +95,9 @@ describe('debugger module', function() {\n });\n \n it('fires message event', function(done) {\n- var url = 'file://' + path.join(fixtures, 'pages', 'a.html');\n+ var url = process.platform != 'win32' ?\n+ 'file://' ...
2016-02-18T03:39:35
rust-lang/rust
6c04e0a7aeeee15fc11759dd563aecfe6df194a0
b03b3a7ec92682be2917540b679478d41c95a30c
Rewrite `macro_rules!` parser to not use the MBE engine itself The `macro_rules!` parser was written to match the series of rules using the macros-by-example (MBE) engine and a hand-written equivalent of the left-hand side of a MBE macro. This was complex to read, difficult to extend, and produced confusing error mess...
[ { "path": "compiler/rustc_expand/src/mbe/diagnostics.rs", "patch": "@@ -195,38 +195,6 @@ impl<'dcx> CollectTrackerAndEmitter<'dcx, '_> {\n }\n }\n \n-/// Currently used by macro_rules! compilation to extract a little information from the `Failure`\n-/// case.\n-pub(crate) struct FailureForwarder<'matche...
2025-06-26T21:19:15
golang/go
f1596d76f488e4d82d217418df4191f34b71d117
ade5488d75fefc4afd72f2f6090f4c823c93d083
cmd/compile: fix conv of slice of user-define byte type to string types2 allows the conversion of a slice of a user-defined byte type B (not builtin uint8 or byte) to string. But runtime.slicebytetostring requires a []byte argument, so add in a CONVNOP from []B to []byte if needed. Same for the conversion of a slice o...
[ { "path": "src/cmd/compile/internal/noder/transform.go", "patch": "@@ -115,6 +115,31 @@ func transformConv(n *ir.ConvExpr) ir.Node {\n \t\tif n.X.Op() == ir.OLITERAL {\n \t\t\treturn stringtoruneslit(n)\n \t\t}\n+\n+\tcase ir.OBYTES2STR:\n+\t\tassert(t.IsSlice())\n+\t\tassert(t.Elem().Kind() == types.TUINT8...
2022-01-06T20:39:37
nodejs/node
ca3f2cf3b772f8e187e980acc0652c81bc922d87
ac3b98cd265e3a9c94a9554a08d953da2a43c9b9
deps: regenerate OpenSSL configs with fixed tooling This change contains the results of running `make` in `deps/openssl/config` (based on information in deps/openssl/config/README.md) then reverting changes not in the VC-WIN64-ARM directory. This leverages a preceding change that fixes a cross-configuration file reus...
[ { "path": "deps/openssl/config/archs/VC-WIN64-ARM/no-asm/configdata.pm", "patch": "@@ -63,7 +63,7 @@ our %config = (\n options => \"enable-ssl-trace no-afalgeng no-asan no-asm no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-te...
2019-05-02T20:26:02
rust-lang/rust
59962413b64be38c0089e1d2f2f526828abcbe4a
d3b9969afd95cbc4cafbe91aa1baabd6296c8b43
Fix completion in when typing `integer.|` It should show integer, not floating point methods.
[ { "path": "src/tools/rust-analyzer/crates/hir/src/lib.rs", "patch": "@@ -3043,10 +3043,17 @@ pub struct BuiltinType {\n }\n \n impl BuiltinType {\n+ // Constructors are added on demand, feel free to add more.\n pub fn str() -> BuiltinType {\n BuiltinType { inner: hir_def::builtin_type::Builti...
2025-06-26T21:12:27
vercel/next.js
91e3c007cfd803e7c20307bcfd9ad84d967f35d5
7230976317e3efed66265e115c036c92ec52b239
Fix env variables set in next.config.js (#50179) This ensures we properly persist env values set from `next.config.js` across workers. Fixes: https://github.com/vercel/next.js/issues/49541
[ { "path": "packages/next-env/index.ts", "patch": "@@ -15,6 +15,10 @@ let combinedEnv: Env | undefined = undefined\n let cachedLoadedEnvFiles: LoadedEnvFiles = []\n let previousLoadedEnvFiles: LoadedEnvFiles = []\n \n+export function updateInitialEnv(newEnv: Env) {\n+ Object.assign(initialEnv || {}, newEnv)...
2023-05-22T20:29:41
electron/electron
2610aa60e955cb34271d57c062e5962e58325652
7bf17f2541680835fa60f9666becb6224061ae41
:art: lint fix
[ { "path": "atom/browser/api/frame_subscriber.cc", "patch": "@@ -41,9 +41,8 @@ bool Subscriber::ShouldCaptureFrame(\n DeliverFrameCallback* callback) {\n const auto view = frame_subscriber_->view_;\n const auto host = view ? view->GetRenderWidgetHost() : nullptr;\n- if (!view || !host) {\n+ if (!vi...
2016-02-18T00:19:41
huggingface/transformers
9f311047860d46367d51d2d5b280286b10ba9466
d372b827547e0414809daf120cea4ba525bf601d
delete already deprecated models (#42235) * fix * push deleted files * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -420,8 +420,6 @@\n title: BLOOM\n - local: model_doc/blt\n title: BLT\n- - local: model_doc/bort\n- title: BORT\n - local: model_doc/byt5\n title: ByT5\n - local: model_doc/camembert\n@@ -476,8 +474,6...
2025-11-18T14:53:38
golang/go
98ed91636926b4029bbbbb8c2ab4b66ee15a5734
2f45981679551e88880a18684a4d65ca3d9b45d9
cmd/compile: fix instantiation of types referenced during inlining CL 352870 added extra phase for instantiation after inlining, to take care of the new fully-instantiated types. However, when fetching inlined body of these types's methods, we need to allow OADDR operations on untyped expressions, the same as what mai...
[ { "path": "src/cmd/compile/internal/gc/main.go", "patch": "@@ -248,7 +248,12 @@ func Main(archInit func(*ssagen.ArchInfo)) {\n \t\t// If any new fully-instantiated types were referenced during\n \t\t// inlining, we need to create needed instantiations.\n \t\tif len(typecheck.GetInstTypeList()) > 0 {\n+\t\t\...
2022-01-05T09:19:19
nodejs/node
ac3b98cd265e3a9c94a9554a08d953da2a43c9b9
6fe369286a81fb4fc0190dc04ee16a466c7e0760
test: clearing require cache crashes esm loader This test shows the regression introduced in v11.4.0: clearing out the require.cache crashes node when using the `--experimental-modules` flag. Refs: https://github.com/nodejs/node/issues/25482 PR-URL: https://github.com/nodejs/node/pull/25491 Reviewed-By: Guy Bedford <...
[ { "path": "test/es-module/test-esm-loader-cache-clearing.js", "patch": "@@ -0,0 +1,11 @@\n+// Flags: --experimental-modules\n+'use strict';\n+require('../common');\n+\n+const { cache } = require;\n+\n+Object.keys(cache).forEach((key) => {\n+ delete cache[key];\n+});\n+// Require the same module again trigg...
2019-05-02T22:57:06
vercel/next.js
7230976317e3efed66265e115c036c92ec52b239
815c256681de4e5592450658879dd8db66305114
Fix TypeScript error in with-mongodb example (#50094) - Resolves #50084 The context parameter in the getServerSideProps function lacked a type, which led to a compile-time error. To resolve this, the GetServerSidePropsContext type from next was used to properly type the context parameter. This ensures type safety and...
[ { "path": "examples/with-mongodb/pages/index.tsx", "patch": "@@ -1,8 +1,14 @@\n import Head from 'next/head'\n import clientPromise from '../lib/mongodb'\n-import { InferGetServerSidePropsType } from 'next'\n+import type { InferGetServerSidePropsType, GetServerSideProps } from 'next'\n \n-export async funct...
2023-05-22T18:59:40
huggingface/transformers
1acbd0b3275067764495e794c6e81ba1f2317ce0
c40b370bd01539ba9a05a35995a2fb5dc467f373
Make tests run in less time by reducing `batch_size` (#42213) * fix * fix * 1 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * 2 * so many batch_size=13 --> batch_size=2 --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".circleci/create_circleci_config.py", "patch": "@@ -187,6 +187,11 @@ def to_dict(self):\n # If it's done already, the files are inside the directory `/test_data/`.\n {\"run\": {\"name\": \"fetch hub objects before pytest\", \"command\": \"cp -r /test_data/* . 2>/dev/null |...
2025-11-18T13:10:47
golang/go
2f45981679551e88880a18684a4d65ca3d9b45d9
11b28e7e98bce0d92d8b49c6d222fb66858994ff
.github: remove duplicate security link Since a SECURITY.md file is present in the main Go repository, GitHub already shows a "Report a security vulnerability" link in the issue template list. Remove the duplicate custom link. Fixes #49962. Change-Id: Ifdf7e93b76ebd9258d907aa9cb4915c0dbc4f93e Reviewed-on: https://go...
[ { "path": ".github/ISSUE_TEMPLATE/config.yml", "patch": "@@ -3,6 +3,3 @@ contact_links:\n - name: Questions\n about: Please use one of the forums for questions or general discussions\n url: https://go.dev/wiki/Questions\n- - name: Security Vulnerabilities\n- about: See here for our security p...
2022-01-07T17:50:37
nodejs/node
6fe369286a81fb4fc0190dc04ee16a466c7e0760
523a9fbcb43c96f159fae7bd28b0f8fd51dd9ca5
esm: fix esm load bug Fixes: https://github.com/nodejs/node/issues/25482 PR-URL: https://github.com/nodejs/node/pull/25491 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -648,9 +648,11 @@ Module.prototype.load = function(filename) {\n // Create module entry at load time to snapshot exports correctly\n const exports = this.exports;\n if (module !== undefined) { // Called from cjs translator\n- modu...
2019-05-13T09:37:34
vercel/next.js
815c256681de4e5592450658879dd8db66305114
789f253e7a9006407cade688ec26994c51370c86
Clerk example updates (#50021) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improvin...
[ { "path": "examples/with-clerk/README.md", "patch": "@@ -4,13 +4,13 @@ This example shows how to use [Clerk](https://www.clerk.dev/?utm_source=github&u\n \n ## Demo\n \n-A hosted demo of this example is available at [clerk-nextjs-example.vercel.app](https://clerk-nextjs-example.vercel.app)\n+A hosted demo o...
2023-05-22T18:43:47
golang/go
11b28e7e98bce0d92d8b49c6d222fb66858994ff
40afced8d74a58d66a4f0201c21eb187e50bf325
test/typeparam: adjust test preamble (fix longtests) For #50481. Change-Id: I27e6c6499d6abfea6e215d8aedbdd5074ff88291 Reviewed-on: https://go-review.googlesource.com/c/go/+/376216 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Revi...
[ { "path": "test/typeparam/issue50481.go", "patch": "@@ -1,4 +1,4 @@\n-// errorcheck\n+// errorcheck -G=3\n \n // Copyright 2022 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style", "additions": 1, "deletions": 1, "language": "Go" } ]
2022-01-07T04:06:40
nodejs/node
1aa99df99bb9ffcd9a6bd5af4c0f16c99c499d54
fd8d5e7d9e212f2d395798d1308280da2e6f3755
deps: make VC-WIN config generation deterministic This change adds a clean target to the VC-WIN* Makefiles, then adjusts the config generation script to call it before config file generation as well as after. This prevents files from previous configurations from causing make to incorrectly assume the files are up to d...
[ { "path": "deps/openssl/config/Makefile_VC-WIN32", "patch": "@@ -5678,8 +5678,10 @@ engines/padlock-dso-e_padlock.obj: engines/padlock-dso-e_padlock.d\n engines/padlock.def: util/engines.num util/mkdef.pl\n \t$(PERL) util/mkdef.pl --ordinals util/engines.num --name padlock --OS windows > engines/padlock.de...
2019-05-02T19:12:28
huggingface/transformers
c40b370bd01539ba9a05a35995a2fb5dc467f373
b1bdf9cb390f4d11f3e2eb89bd7c75c0cae8b9a1
Allow VLMs to have a correct `base_model` (#41589) * allow VLMs to have a correct `base_model` * fix copies * fix copies? * empty commit * fix copies * nits after rebase * fix copies * add a test * skip more tests * fiix copies, ig have to do it in all PRs after rebase
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -596,7 +596,7 @@ def _init_weights(self, module):\n @auto_docstring\n class AriaPreTrainedModel(PreTrainedModel):\n config: AriaConfig\n- base_model_prefix = \"\"\n+ base_model_prefix = \"model\"\n supports_gradient_checkp...
2025-11-18T10:25:39
electron/electron
52db43eee55975ab1cbd4926beedbd4b037c2a38
d8679b38993ae66c9e6d60968da19124005d09b6
Fix linter error
[ { "path": "atom/browser/atom_resource_dispatcher_host_delegate.cc", "patch": "@@ -26,7 +26,8 @@ bool AtomResourceDispatcherHostDelegate::HandleExternalProtocol(\n bool has_user_gesture) {\n GURL escaped_url(net::EscapeExternalHandlerValue(url.spec()));\n BrowserThread::PostTask(BrowserThread::UI, FR...
2016-02-03T19:35:01
vercel/next.js
178d111fbd3878486af02a7913d1c0c9961cd9ba
b7604aec6c21568fdca845dc6b1dca6132affdaa
refactor(turbopack-ecmascript): deprecate enable_emotion, enable_styled* (vercel/turbo#4955) ### Description WEB-1048. With https://github.com/vercel/next.js/pull/49621, now we can consolidate most of non-core transforms into ecmaplugins. Postcss / mdx are the only exceptions, but not immediate priority compare to ...
[ { "path": "crates/turbopack-cli/src/dev/web_entry_source.rs", "patch": "@@ -6,8 +6,11 @@ use turbo_tasks_env::ProcessEnvVc;\n use turbo_tasks_fs::{FileSystem, FileSystemPathVc};\n use turbopack::{\n condition::ContextCondition,\n- ecmascript::EcmascriptModuleAssetVc,\n- module_options::{JsxTransfo...
2023-05-22T18:17:41
golang/go
ab4556a93d88a8ce8dbff1b5fcf7dea27c6c6587
c1e7c518ae74d3902a2e8fd1f8d8a37cabe2c1cc
test/typeparam: adjust test preamble (fix longtests) For #50317. Change-Id: I24ccf333c380283a36b573ef8fc3e7fcd71bd17f Reviewed-on: https://go-review.googlesource.com/c/go/+/376215 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Dan Scales <danscales@google.com> Trus...
[ { "path": "test/typeparam/issue50317.go", "patch": "@@ -1,4 +1,4 @@\n-// errorcheck\n+// errorcheck -G=3\n \n // Copyright 2022 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style", "additions": 1, "deletions": 1, "language": "Go" } ]
2022-01-07T02:23:01
nodejs/node
fd8d5e7d9e212f2d395798d1308280da2e6f3755
815b3aa8332479a99f06327d76492b887b1b1edf
doc: dns.lookup() documentation error code dns.lookup() will always return ENOTFOUND on a empty lookup or when the host not found. https://github.com/nodejs/node/blob/master/lib/internal/errors.js#L503 Fixes: https://github.com/nodejs/node/issues/27604 PR-URL: https://github.com/nodejs/node/pull/27625 Reviewed-By: R...
[ { "path": "doc/api/dns.md", "patch": "@@ -168,7 +168,7 @@ With the `all` option set to `true`, the arguments for `callback` change to\n properties `address` and `family`.\n \n On error, `err` is an [`Error`][] object, where `err.code` is the error code.\n-Keep in mind that `err.code` will be set to `'ENOENT...
2019-05-09T15:07:22
huggingface/transformers
b1bdf9cb390f4d11f3e2eb89bd7c75c0cae8b9a1
cd416f3c5c6974b5afd211759624283777a45c6e
🚨 Delete generation params from model config (#41695) * i am so confused, too many circular dependencies. Delete and see what happens * pop if exists * fix a few tests * fix loading generation params from model config * oh no, revert this * replace audios with audio in docs * fix tests * fix last test * i am...
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -302,10 +302,9 @@ def __init__(\n self.sep_token_id = sep_token_id\n self.decoder_start_token_id = decoder_start_token_id\n \n- # Retrocompatibility: Parameters for sequence generation. While we will keep the ability to...
2025-11-18T10:20:24
vercel/next.js
21e677e95b78e0ddbd022310969f01cd13106812
309bfdb3fdfdb7bb669c1c9e337c0827f3886d31
Failing tests for 404 back/forward (#50047) ## What? After landing #49855 I found a few more edge cases with not-found not behaving as expected: - When navigating directly to a not-found page (e.g. `/testabc`) the error boundary would not reset as there were multiple levels being triggered at the same time. - ...
[ { "path": "packages/next/src/client/components/router-reducer/fetch-server-response.ts", "patch": "@@ -87,7 +87,8 @@ export async function fetchServerResponse(\n }\n \n // If fetch returns something different than flight response handle it like a mpa navigation\n- if (!isFlightResponse) {\n+ /...
2023-05-22T15:04:36
rust-lang/rust
0c1c648ea76be04b04b77aa367ffd61dad884242
fad27aa6674f33c7ae4a6ceec01fe8dd7a021edf
Add more missing APIs, and minor fixes Co-authored-by: Josh Stone <cuviper@gmail.com>
[ { "path": "RELEASES.md", "patch": "@@ -58,18 +58,20 @@ Stabilized APIs\n - [`impl Default for *mut T`](https://doc.rust-lang.org/stable/std/primitive.pointer.html#impl-Default-for-*mut+T)\n - [`HashMap::extract_if`](https://doc.rust-lang.org/stable/std/collections/struct.HashMap.html#method.extract_if)\n - ...
2025-06-26T16:17:04
golang/go
c1e7c518ae74d3902a2e8fd1f8d8a37cabe2c1cc
07525e16ba9fcb8924ed872b015dc217d1b01b6b
test/typeparam: adjust test preamble (fix longtests) For #50417. Change-Id: Ic55727c454ec342354f7fbffd22aa350e0d392c2 Reviewed-on: https://go-review.googlesource.com/c/go/+/376174 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Dan Scales <danscales@google.com> Trus...
[ { "path": "test/typeparam/issue50417.go", "patch": "@@ -1,4 +1,4 @@\n-// run\n+// run -gcflags=-G=3\n \n // Copyright 2022 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style", "additions": 1, "deletions": 1, "language": "Go" } ]
2022-01-07T00:50:49
huggingface/transformers
cd416f3c5c6974b5afd211759624283777a45c6e
1742d1198ddce1eb3e34c7e86330b708fb9fd496
Reduce timing on CircleCI - part 1 (Use @slow for IntegrationTests) (#42206) * fix 1 * fix 2: bark * fix 2: mamba * fix 4: Speech2TextModelIntegrationTests * fix 5: Aria * fix 6: RTDetrModelIntegrationTest * fix 7: PLBartBaseIntegrationTest * fix 8: XLMRobertaModelIntegrationTest * fix 9: TvpModelIntegrationTe...
[ { "path": "tests/models/aria/test_modeling_aria.py", "patch": "@@ -226,6 +226,7 @@ def test_training_gradient_checkpointing_use_reentrant_false(self):\n \n @unittest.skipIf(SKIP, reason=\"A10 doesn't have enough GPU memory for this tests\")\n @require_torch\n+@slow\n class AriaForConditionalGenerationIntegr...
2025-11-18T09:16:59
nodejs/node
815b3aa8332479a99f06327d76492b887b1b1edf
ddbaddcce108855f517308f7bd5d910379b59a3b
vm: mark global proxy as side-effect-free Fixes: https://github.com/nodejs/node/issues/27518 PR-URL: https://github.com/nodejs/node/pull/27523 Reviewed-By: Aleksei Koziatinskii <ak239spb@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ben Noordhuis <inf...
[ { "path": "src/node_contextify.cc", "patch": "@@ -61,6 +61,7 @@ using v8::PrimitiveArray;\n using v8::PropertyAttribute;\n using v8::PropertyCallbackInfo;\n using v8::PropertyDescriptor;\n+using v8::PropertyHandlerFlags;\n using v8::Script;\n using v8::ScriptCompiler;\n using v8::ScriptOrigin;\n@@ -149,13 +...
2019-05-01T21:22:47
electron/electron
2346caf6fbb691b7a2c7fe73e363344f371a8027
73518cdc8dfafda0d32be491ce39bb425e0f4850
fixed typo in the russian translation of README.md
[ { "path": "docs-translations/ru-RU/README.md", "patch": "@@ -1,6 +1,6 @@\n Пожалуйста, убедитесь, что вы используете документацию, которые соответствует вашей версии Electron.\n Номер версии должен быть частью адреса страницы. Если это не так, вы\n-возможно,используете документицию ветки разработки, которая...
2016-02-16T20:19:20
rust-lang/rust
bade3fd0580815f1a5a4abd33244982dc458d54d
ff17a225e6f0545d447546a12c520b932c9bcc88
clarify and unify 'transient mutable borrow' errors
[ { "path": "compiler/rustc_const_eval/messages.ftl", "patch": "@@ -124,12 +124,13 @@ const_eval_incompatible_return_types =\n const_eval_incompatible_types =\n calling a function with argument of type {$callee_ty} passing data of type {$caller_ty}\n \n-const_eval_interior_mutable_ref_escaping =\n- {co...
2025-06-18T01:04:43
golang/go
07525e16ba9fcb8924ed872b015dc217d1b01b6b
c295137ad8e5e947205d060a26164cb71952c1bb
math/big: fix spurious race in Rat.Denom, Float.SetRat Rat maintains the invariant that x.b.neg is always false, but Rat.Denom was writing x.b.neg = false itself too. That makes Rat.Denom a writing operation, when it should be a read-only operation. That in turn makes it unsafe to use from multiple goroutines, which i...
[ { "path": "src/math/big/rat.go", "patch": "@@ -418,7 +418,7 @@ func (x *Rat) Num() *Int {\n // If the result is a reference to x's denominator it\n // may change if a new value is assigned to x, and vice versa.\n func (x *Rat) Denom() *Int {\n-\tx.b.neg = false // the result is always >= 0\n+\t// Note that ...
2022-01-06T17:20:14
nodejs/node
b3be0bf21aab2837d64b33e44a54a80230e50465
97815bd6e9dee6a893d94bc9085958f9af23ac85
doc,meta: codify security release commit message The release commit message for security releases have conventionally started with the phrase `This is a security release.`. Codify this as part of the release process so that the distribution indexer can use this to detect and mark releases as security releases. Fixes:...
[ { "path": "doc/releases.md", "patch": "@@ -345,6 +345,21 @@ Notable changes:\n * Copy the notable changes list here, reformatted for plain-text\n ```\n \n+For security releases, begin the commit message with the phrase\n+`This is a security release.` to allow the\n+[distribution indexer](https://github.com/...
2019-05-10T18:59:52
vercel/next.js
a5af56eda16c41c91bfcdac28d311eaad79af501
5526ea504c01135dbcdee2c0c2a26de43252c108
Update `swc_core` to `v0.76.18` (#50137) ### What? This PR disables `tracing/max_level_info`. ### Why? Requested at https://vercel.slack.com/archives/C03EWR7LGEN/p1683789628715199?thread_ts=1683738076.476839&cid=C03EWR7LGEN ### How? Closes WEB-1080 Fixes #49949 Turbopack counterpart: https://gith...
[ { "path": "Cargo.lock", "patch": "@@ -136,12 +136,6 @@ dependencies = [\n \"backtrace\",\n ]\n \n-[[package]]\n-name = \"arrayref\"\n-version = \"0.3.7\"\n-source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545\"\n-...
2023-05-22T09:05:17
huggingface/transformers
1742d1198ddce1eb3e34c7e86330b708fb9fd496
16924cd33ad57c19a290121ca83f4ceefab8f1b7
[loading] Fix device when source and target are different (#42246) * fix device * fix * CI * simplify a bit
[ { "path": "src/transformers/core_model_loading.py", "patch": "@@ -312,16 +312,16 @@ class ConversionEntry:\n GLOBAL_WORKERS = min(16, (os.cpu_count() or 8) * 2) # NVMe: 8-16; HDD/NFS: 2-4\n \n \n-def _materialize_copy(tensor, dtype=None):\n+def _materialize_copy(tensor, device=None, dtype=None):\n tens...
2025-11-18T08:57:21
golang/go
c295137ad8e5e947205d060a26164cb71952c1bb
042548b1fdba21e351368e9f3ecd93059d09083f
go/types, types2: disallow multiple blank type parameters Work-around for #50481: report an error for multiple blank type parameters. It's always possible to use non-blank names in those cases. We expect to lift this restriction for 1.19. For #50481. Change-Id: Ifdd2d91340aac1da3387f7d80d46e44f5997c2a8 Reviewed-on:...
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -632,8 +632,19 @@ func (check *Checker) collectTypeParams(dst **TypeParamList, list []*syntax.Fiel\n \t// Declare type parameters up-front.\n \t// The scope of type parameters starts at the beginning of the type parameter\n \t// list (so we c...
2022-01-06T22:10:45
vercel/next.js
339d9fd7844eac17d53e0df18fe7b59b2381ab94
61556d5c880d4aeb1961d0a239b40abcebe56264
More robust vdbg! macro (vercel/turbo#4995) ### Description I ran into a couple of issues with the vdbg! macro: * The macro tries to move its parameters within an async block, which requires everything that's moved to be both `Copy` and `'static` to work properly. This would break when trying to pass `&obj.prope...
[ { "path": "crates/turbo-tasks/src/debug/vdbg.rs", "patch": "@@ -16,22 +16,34 @@ macro_rules! vdbg {\n eprintln!(\"[{}:{}]\", file!(), line!())\n };\n \n- (__init $depth:expr ; $($val:expr),* ) => {\n+ (__init $depth:expr ; [ $val:expr $(, $rest:expr)* ] [ $($tt:tt)* ] ) => {\n+ {\n+...
2023-05-22T07:41:49
nodejs/node
97815bd6e9dee6a893d94bc9085958f9af23ac85
3aff26428ba0c937afeb022757b1bf067578639d
lib: fix typo in pre_execution.js PR-URL: https://github.com/nodejs/node/pull/27649 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmai...
[ { "path": "lib/internal/bootstrap/pre_execution.js", "patch": "@@ -74,7 +74,7 @@ function patchProcessObject(expandArgv1) {\n }\n \n // TODO(joyeecheung): most of these should be deprecated and removed,\n- // execpt some that we need to be able to mutate during run time.\n+ // except some that we need...
2019-05-11T09:17:54
huggingface/transformers
16924cd33ad57c19a290121ca83f4ceefab8f1b7
266d3b05684ed5968c613f00b208909f03c72c0e
Stop inheriting tests (again) (#42247) * Stop inheriting tests! * Just use a del instead * fixup * Stop using del! * make fixup
[ { "path": "tests/models/cohere2/test_modeling_cohere2.py", "patch": "@@ -34,8 +34,7 @@\n torch_device,\n )\n \n-from ...models.cohere.test_modeling_cohere import CohereModelTest, CohereModelTester\n-from ...test_configuration_common import ConfigTester\n+from ...models.cohere.test_modeling_cohere import...
2025-11-18T08:31:11