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
golang/go
6382ec1aba1b1c7380cb525217c1bd645c4fd41b
52bf14e0e8bdcd73f1ddfb0c4a1d0200097d3ba2
internal/poll: fix the intermittent build failures with pipe pool Correlative CL 308089 Fixes #45059 Change-Id: I1ff9fbf64e6620d651f287ba2a28d40f964d78a3 Reviewed-on: https://go-review.googlesource.com/c/go/+/308329 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: ...
[ { "path": "src/internal/poll/splice_linux_test.go", "patch": "@@ -6,6 +6,7 @@ package poll_test\n \n import (\n \t\"internal/poll\"\n+\t\"internal/syscall/unix\"\n \t\"runtime\"\n \t\"syscall\"\n \t\"testing\"\n@@ -16,8 +17,8 @@ import (\n func checkPipes(fds []int) bool {\n \tfor _, fd := range fds {\n \t\...
2021-04-08T03:42:53
vercel/next.js
83e19a25577d0fc3dba4e189bac45755d0f43acd
4af50116cd696b8cb25a40dd81e861373617d33d
Fix entry creation on Windows (#42421) In Windows absolute paths start with things like `C:\` instead of `/`. This PR closes #42024 as I confirmed the reproduction app is working properly with this fix. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a...
[ { "path": "packages/next/build/webpack/plugins/flight-client-entry-plugin.ts", "patch": "@@ -189,7 +189,7 @@ export class FlightClientEntryPlugin {\n dependency: layoutOrPageDependency,\n })\n \n- const isAbsoluteRequest = layoutOrPageRequest[0] === '/'\n+ const isAbsolut...
2022-11-03T17:46:38
nodejs/node
751a42a30f35c2d04cfb80ce2b1ebec5d040a7e1
f8464c869833bbbbb6db0d2f041aebd8aef3e095
fs: add length validation to fs.truncate() This commit adds validation to the length parameter of fs.truncate(). Prior to this commit, passing a non-number would trigger a CHECK() in the binding layer. PR-URL: https://github.com/nodejs/node/pull/20851 Fixes: https://github.com/nodejs/node/issues/20844 Reviewed-By: Ru...
[ { "path": "lib/fs.js", "patch": "@@ -78,6 +78,7 @@ const {\n const {\n isUint32,\n validateAndMaskMode,\n+ validateInteger,\n validateInt32,\n validateUint32\n } = require('internal/validators');\n@@ -609,6 +610,7 @@ function truncate(path, len, callback) {\n len = 0;\n }\n \n+ validateInteg...
2018-05-20T15:36:40
electron/electron
ec59df1a516d58f4b59686c7eb049364e9aff014
cb684c5c6eaf1c9ab2bfd4ada0859f1cc1f01ffa
Fix cpplint errors in network_delegate.h
[ { "path": "brightray/browser/network_delegate.h", "patch": "@@ -7,6 +7,8 @@\n \n #include \"net/base/network_delegate.h\"\n \n+#include <string>\n+\n namespace brightray {\n \n class NetworkDelegate : public net::NetworkDelegate {\n@@ -15,23 +17,48 @@ class NetworkDelegate : public net::NetworkDelegate {\n ...
2013-11-17T23:36:34
golang/go
52bf14e0e8bdcd73f1ddfb0c4a1d0200097d3ba2
554d2c4f060ec42e30970dacff1e782250169323
all: fix spellings This follows the spelling choices that the Go project has made for English words. https://github.com/golang/go/wiki/Spelling Change-Id: Ie7c586d2cf23020cb492cfff58c0831d2d8d3a78 GitHub-Last-Rev: e16a32cd225a275f73d236bcb33703986d110ded GitHub-Pull-Request: golang/go#45442 Reviewed-on: https://go-re...
[ { "path": "misc/cgo/test/issue6997_linux.go", "patch": "@@ -5,7 +5,7 @@\n // +build !android\n \n // Test that pthread_cancel works as expected\n-// (NPTL uses SIGRTMIN to implement thread cancelation)\n+// (NPTL uses SIGRTMIN to implement thread cancellation)\n // See https://golang.org/issue/6997\n packag...
2021-04-09T03:48:14
vercel/next.js
196ac9717cdba6480b0c10f2ab93126e289471b1
e08865cafda169c1be85a5a35fb412d5c333e331
Fix React Refresh boundary finding for CSR (vercel/turbo#2574) * Fix React Refresh boundary finding We forgot to enable the transform, which means we were rendering from the root of the app instead of the changed component. * Update snapshots * Add comment Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[b...
[ { "path": "packages/next-swc/crates/next-core/src/next_client/context.rs", "patch": "@@ -204,6 +204,13 @@ pub async fn get_client_runtime_entries(\n ProcessEnvAssetVc::new(project_root, filter_for_client(env)).into(),\n )\n .cell()];\n+\n+ // It's important that React Refresh come before ...
2022-11-03T15:28:47
nodejs/node
f8464c869833bbbbb6db0d2f041aebd8aef3e095
8fac1d910f3b45fb4ee0479a0d565b564a08b35b
lib: add validateInteger() validator This allows validation of integers that are not int32 or uint32. PR-URL: https://github.com/nodejs/node/pull/20851 Fixes: https://github.com/nodejs/node/issues/20844 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: B...
[ { "path": "lib/internal/validators.js", "patch": "@@ -48,6 +48,20 @@ function validateAndMaskMode(value, name, def) {\n throw new ERR_INVALID_ARG_VALUE(name, value, modeDesc);\n }\n \n+function validateInteger(value, name) {\n+ let err;\n+\n+ if (typeof value !== 'number')\n+ err = new ERR_INVALID_AR...
2018-05-20T15:15:00
huggingface/transformers
37508816d650a8074bc31c761e20872c2e5eaec4
84f0186e8971a21bcda9b446a8a74f0f1a958f1c
chore: Fix typos in docs and examples (#36524) Fix typos in docs and examples Signed-off-by: co63oc <co63oc@users.noreply.github.com>
[ { "path": "awesome-transformers.md", "patch": "@@ -47,7 +47,7 @@ Keywords: LLMs, Large Language Models, Agents, Chains\n \n ## [LlamaIndex](https://github.com/run-llama/llama_index)\n \n-[LlamaIndex](https://github.com/run-llama/llama_index) is a project that provides a central interface to connect your LLM...
2025-03-04T13:47:41
electron/electron
cb684c5c6eaf1c9ab2bfd4ada0859f1cc1f01ffa
ea689b31a4c558736d8a44ab2b6b380d660041dd
Fix cpplint errors in inspectable_web_contents_view_mac.h
[ { "path": "brightray/browser/inspectable_web_contents_view_mac.h", "patch": "@@ -1,9 +1,11 @@\n #ifndef BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_\n #define BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_MAC_H_\n \n-#import \"browser/inspectable_web_contents_view.h\"\n+#include \"browser/inspec...
2013-11-17T23:24:36
vercel/next.js
4470a039b341eb9555e2da33f75b3c1b600ef634
fa920296f0f1695c7a87a9201358223c6716ac27
Fix React Refresh boundary finding for CSR (vercel/turbo#2574) * Fix React Refresh boundary finding We forgot to enable the transform, which means we were rendering from the root of the app instead of the changed component. * Update snapshots * Add comment Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[b...
[ { "path": "crates/next-core/src/next_client/context.rs", "patch": "@@ -204,6 +204,13 @@ pub async fn get_client_runtime_entries(\n ProcessEnvAssetVc::new(project_root, filter_for_client(env)).into(),\n )\n .cell()];\n+\n+ // It's important that React Refresh come before the regular bootst...
2022-11-03T15:28:47
golang/go
554d2c4f060ec42e30970dacff1e782250169323
5305bdedb0be18c0636d2b4a707bf08228909c27
reflect: panic on New of go:notinheap type For #42076 Fixes #45451 Change-Id: I69646226d3480d5403205412ddd13c0cfc2c8a53 Reviewed-on: https://go-review.googlesource.com/c/go/+/308970 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Review...
[ { "path": "misc/cgo/test/cgo_test.go", "patch": "@@ -59,6 +59,7 @@ func Test28896(t *testing.T) { test28896(t) }\n func Test30065(t *testing.T) { test30065(t) }\n func Test32579(t *testing.T) { test32579(t) }\n func Test31891(t *testing.T) { te...
2021-04-09T18:20:35
huggingface/transformers
84f0186e8971a21bcda9b446a8a74f0f1a958f1c
c0f8d055ce7a218e041e20a06946bf0baa8a7d6a
Add aya (#36521) * initial commit * small fix * move stuff to image processing file * remove stuff in validate turn and fix return tensor * remove liquid stuff * in the process of addressing comments * changes to get the right tokenization * new __init__ works * fixing defulat std and mean * works * small te...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -874,6 +874,8 @@\n title: AltCLIP\n - local: model_doc/aria\n title: Aria\n+ - local: model_doc/aya_vision\n+ title: AyaVision\n - local: model_doc/blip\n title: BLIP\n - local: model_doc/blip-2", ...
2025-03-04T11:24:33
nodejs/node
8fac1d910f3b45fb4ee0479a0d565b564a08b35b
f315081dc7abdcc2e96c55b17ff89e4c76008e9b
deps: cherry-pick 6989b3f6d7 from V8 upstream Original commit message: Fix default Intl language tag handling With certain ICU data bundles (such as the Node.js "small-icu"), %GetDefaultICULocale() may return a more specific language tag (e.g. "en-US") than what's available (e.g. "en"). In those cases, consid...
[ { "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.8',\n+ 'v8_embedder_string': '-node.9',\n \n # Enable disassembler for `--print-code...
2018-05-18T18:36:50
electron/electron
ea689b31a4c558736d8a44ab2b6b380d660041dd
877a1f03712efc4de4933aeec66bbb70a7414b15
Fix cpplint errors in inspectable_web_contents_view.h
[ { "path": "brightray/browser/inspectable_web_contents_view.h", "patch": "@@ -1,12 +1,14 @@\n #ifndef BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_H_\n #define BRIGHTRAY_BROWSER_INSPECTABLE_WEB_CONTENTS_VIEW_H_\n \n+#include <string>\n+\n #include \"ui/gfx/native_widget_types.h\"\n \n namespace brightray ...
2013-11-17T23:23:13
rust-lang/rust
097c9c75423db9b11f16300566118dc28d0d9e2e
4784074753159d55ff0ba7cbe22d343dd0999b5f
Replace infallible `name_or_empty` methods with fallible `name` methods. I'm removing empty identifiers everywhere, because in practice they always mean "no identifier" rather than "empty identifier". (An empty identifier is impossible.) It's better to use `Option` to mean "no identifier" because you then can't forget...
[ { "path": "clippy_utils/src/lib.rs", "patch": "@@ -2363,14 +2363,14 @@ pub fn is_no_std_crate(cx: &LateContext<'_>) -> bool {\n cx.tcx\n .hir_attrs(hir::CRATE_HIR_ID)\n .iter()\n- .any(|attr| attr.name_or_empty() == sym::no_std)\n+ .any(|attr| attr.has_name(sym::no_std))\n ...
2025-04-10T04:33:59
golang/go
b2b6be71f27ef74510394dad822cfe8d5e56f4f4
4baa39ca22c34d4c224ac69da644c85dee196474
[dev.fuzz] testing: support T.Parallel in fuzz functions While running the seed corpus, T.Parallel acts like it does in subtests started with T.Run: it blocks until all other non-parallel subtests have finished, then unblocks when the barrier chan is closed. A semaphore (t.context.waitParallel) limits the number of te...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_parallel.txt", "patch": "@@ -0,0 +1,61 @@\n+# TODO(jayconrod): support shared memory on more platforms.\n+[!darwin] [!linux] [!windows] skip\n+\n+[short] skip\n+\n+# When running seed inputs, T.Parallel should let multiple inputs run in\n+# parallel.\n+go test...
2021-03-10T16:11:59
nodejs/node
f315081dc7abdcc2e96c55b17ff89e4c76008e9b
cfc9d0468c224587ca555e570440b3df688b282d
test: improve error message in async-wrap test Improve AssertionError message in test/parallel/test-async-wrap-pop-id-during-load.js to include the contents of stderr when the spawned process fails. Refs: https://github.com/nodejs/node/pull/20940/files#r190707951 PR-URL: https://github.com/nodejs/node/pull/20948 Rev...
[ { "path": "test/parallel/test-async-wrap-pop-id-during-load.js", "patch": "@@ -17,7 +17,8 @@ const ret = spawnSync(\n process.execPath,\n ['--stack_size=50', __filename, 'async']\n );\n-assert.strictEqual(ret.status, 0);\n+assert.strictEqual(ret.status, 0,\n+ `EXIT CODE: ${ret.status},...
2018-05-24T20:54:21
electron/electron
877a1f03712efc4de4933aeec66bbb70a7414b15
0805b414e99ac134e1d50b792868b05ce22c601e
Fix cpplint errors in inspectable_web_contents_impl.h
[ { "path": "brightray/browser/inspectable_web_contents_impl.h", "patch": "@@ -8,6 +8,8 @@\n \n #include \"browser/inspectable_web_contents.h\"\n \n+#include <string>\n+\n #include \"content/public/browser/devtools_frontend_host_delegate.h\"\n #include \"content/public/browser/web_contents_delegate.h\"\n #inc...
2013-11-17T23:22:48
vercel/next.js
c6c1bf40fe858fec5722cc0840ff4a2870835cee
1f5b7c057e29011cea55e7dba27dc1f5891227f3
Implement Issue snapshot testing (vercel/turbo#2497) * Fix bug with build globs I passed the wrong root path, meaning the globs would ascend until the root of your filesystem. Any modification in any ancestor would rebuild turbopack-tests. (This was also the behavior before I split the tests crate out of turbopa...
[ { "path": "crates/turbo-tasks-fs/Cargo.toml", "patch": "@@ -23,6 +23,7 @@ serde = { version = \"1.0.136\", features = [\"rc\"] }\n serde_json = \"1.0.85\"\n tokio = \"1.11.0\"\n turbo-tasks = { path = \"../turbo-tasks\" }\n+turbo-tasks-hash = { path = \"../turbo-tasks-hash\" }\n \n [dev-dependencies]\n rste...
2022-11-03T06:24:00
golang/go
4baa39ca22c34d4c224ac69da644c85dee196474
4cde035a720448b2bca07ecdc12beef3b1322939
[dev.fuzz] testing: let -fuzztime specify a number of executions -fuzztime now works similarly to -benchtime: if it's given a string with an "x" suffix (as opposed to "s" or some other unit of duration), the fuzzing system will generate and run a maximum number of values. This CL also implements tracking and printing...
[ { "path": "src/cmd/go/internal/test/testflag.go", "patch": "@@ -67,7 +67,7 @@ func init() {\n \tcf.String(\"run\", \"\", \"\")\n \tcf.Bool(\"short\", false, \"\")\n \tcf.DurationVar(&testTimeout, \"timeout\", 10*time.Minute, \"\")\n-\tcf.Duration(\"fuzztime\", 0, \"\")\n+\tcf.String(\"fuzztime\", \"\", \"\"...
2021-04-02T18:36:08
rust-lang/rust
2fef0a30ae6b2687dfb286cb544d2a542f7e2335
7e1f2f9c54338cbefddffcce725f89d271d2cbe8
Replace infallible `name_or_empty` methods with fallible `name` methods. I'm removing empty identifiers everywhere, because in practice they always mean "no identifier" rather than "empty identifier". (An empty identifier is impossible.) It's better to use `Option` to mean "no identifier" because you then can't forget...
[ { "path": "compiler/rustc_ast/src/attr/mod.rs", "patch": "@@ -305,8 +305,8 @@ impl MetaItem {\n if let [PathSegment { ident, .. }] = self.path.segments[..] { Some(ident) } else { None }\n }\n \n- pub fn name_or_empty(&self) -> Symbol {\n- self.ident().unwrap_or_else(Ident::empty).name\...
2025-04-10T04:33:59
nodejs/node
cfc9d0468c224587ca555e570440b3df688b282d
84954523c8a663e61cea82a35b883abcdf180082
src: fix MallocedBuffer move assignment operator PR-URL: https://github.com/nodejs/node/pull/20883 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nieße...
[ { "path": "src/util.h", "patch": "@@ -438,7 +438,7 @@ struct MallocedBuffer {\n }\n MallocedBuffer& operator=(MallocedBuffer&& other) {\n this->~MallocedBuffer();\n- return *new(this) MallocedBuffer(other);\n+ return *new(this) MallocedBuffer(std::move(other));\n }\n ~MallocedBuffer() {\n ...
2018-05-13T16:48:21
huggingface/transformers
c0f8d055ce7a218e041e20a06946bf0baa8a7d6a
6aa9888463ece40e29ac9065127f578a24f50958
[docs] Redesign (#31757) * toctree * not-doctested.txt * collapse sections * feedback * update * rewrite get started sections * fixes * fix * loading models * fix * customize models * share * fix link * contribute part 1 * contribute pt 2 * fix toctree * tokenization pt 1 * Add new model (#32615) * v...
[ { "path": ".circleci/config.yml", "patch": "@@ -178,8 +178,7 @@ jobs:\n - store_artifacts:\n path: ~/transformers/installed.txt\n - run: python utils/check_copies.py\n- - run: python utils/check_modular_conversion.py --num_workers 4\n- - run: p...
2025-03-03T18:33:46
rust-lang/rust
7e1f2f9c54338cbefddffcce725f89d271d2cbe8
400e8e5dc819b1fa7f994fb60dbe8b5112ec3fd2
Augment some tests involving attributes. This shows places where the use of `name_or_empty` causes problems, i.e. we print empty identifiers in error messages: ``` error: unrecognized field name `` error: `` isn't a valid `#[macro_export]` argument `#[no_sanitize()]` should be applied to a function ``` (The last one i...
[ { "path": "tests/ui/abi/debug.rs", "patch": "@@ -52,3 +52,6 @@ type TestAbiNeSign = (fn(i32), fn(u32)); //~ ERROR: ABIs are not compatible\n \n #[rustc_abi(assert_eq)]\n type TestAbiEqNonsense = (fn((str, str)), fn((str, str))); //~ ERROR: cannot be known at compilation time\n+\n+#[rustc_abi(\"assert_eq\")]...
2025-04-10T03:47:35
vercel/next.js
4af50116cd696b8cb25a40dd81e861373617d33d
59a0d4a2a0ef9b375457d125d133651d313ae9bc
Add meta tag to default app template (#42394) x-ref: [slack thread](https://vercel.slack.com/archives/C03KAR5DCKC/p1667452501488239) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Im...
[ { "path": "packages/create-next-app/templates/app/js/app/head.jsx", "patch": "@@ -2,6 +2,7 @@ export default function Head() {\n return (\n <>\n <title>Create Next App</title>\n+ <meta content=\"width=device-width, initial-scale=1\" name=\"viewport\" />\n <meta name=\"description\" co...
2022-11-03T05:52:08
golang/go
4cde035a720448b2bca07ecdc12beef3b1322939
b178a81e1f95eea38893e6da8daa3260d3e601de
[dev.fuzz] internal/fuzz: improve cancellation in worker event loops worker.runFuzzing now accepts a Context, used for cancellation instead of doneC (which is removed). This is passed down through workerClient RPC methods (ping, fuzz). workerClient RPC methods now wrap the call method, which handles marshaling and ca...
[ { "path": "src/cmd/go/testdata/script/test_fuzz_io_error.txt", "patch": "@@ -0,0 +1,101 @@\n+# Test that when the coordinator experiences an I/O error communicating\n+# with a worker, the coordinator stops the worker and reports the error.\n+# The coordinator should not record a crasher.\n+#\n+# We simulate...
2021-03-19T19:11:29
nodejs/node
84954523c8a663e61cea82a35b883abcdf180082
4970cd678e524981b6b3ecf5d23bc11c5403f645
test: remove message argument from strictEqual() In test/parallel/test-require-process.js, the last thing in the test is a call to assert.strictEqual(). It has a string literal as its third argument. Unfortunately, that means that the diff between the two values being compared will be suppressed if there is an Asserti...
[ { "path": "test/parallel/test-require-process.js", "patch": "@@ -3,5 +3,5 @@ require('../common');\n const assert = require('assert');\n \n const nativeProcess = require('process');\n-assert.strictEqual(nativeProcess, process,\n- 'require(\"process\") should return global process reference...
2018-05-23T10:20:02
electron/electron
0805b414e99ac134e1d50b792868b05ce22c601e
9ac1a539ee78e7ad6ef49cc9cb086d564af59043
Fix cpplint errors in inspectable_web_contents.h
[ { "path": "brightray/browser/inspectable_web_contents.h", "patch": "@@ -8,10 +8,12 @@ namespace brightray {\n class InspectableWebContentsView;\n \n class InspectableWebContents {\n-public:\n- static InspectableWebContents* Create(const content::WebContents::CreateParams&);\n+ public:\n+ static Inspectabl...
2013-11-17T23:20:54
rust-lang/rust
400e8e5dc819b1fa7f994fb60dbe8b5112ec3fd2
4be670f89b94aaeab04b0e52d0efd9c61f1bef9d
Fix attribute printing in an error. The current code assumes that the attribute is just an identifier, and so misprints paths.
[ { "path": "compiler/rustc_passes/src/check_attr.rs", "patch": "@@ -561,12 +561,15 @@ impl<'tcx> CheckAttrVisitor<'tcx> {\n allowed_target: Target,\n ) {\n if target != allowed_target {\n+ let path = attr.path();\n+ let path: Vec<_> = path.iter().map(|s| s.as_str())....
2025-04-09T11:15:45
huggingface/transformers
9fe82793eecc511eb16b0422dd1527025bb71087
1975be4d9757fc7b7abcf1e770596509ae9d6baa
[Style] fix E721 warnings (#36474) * fix E721 warnings * config.hidden_size is not a tuple * fix copies * fix-copies * not a tuple * undo * undo
[ { "path": "examples/research_projects/movement-pruning/Saving_PruneBERT.ipynb", "patch": "@@ -41,7 +41,7 @@\n \"from scipy import sparse\\n\",\n \"from torch import nn\\n\",\n \"\\n\",\n- \"from transformers import *\\n\",\n+ \"from transformers import BertForQuestionAnswering\\n\",\n ...
2025-03-03T18:03:42
vercel/next.js
10f2c5a76eb08bdd2016839d7efa0dbe96964cca
f1b13d70325c2bf6dc42b28783b8d6abb5ec7dc6
Update swc builds (#42393) x-ref: https://github.com/vercel/next.js/actions/runs/3382765061/jobs/5618315815 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feat...
[ { "path": ".github/workflows/build_test_deploy.yml", "patch": "@@ -1382,7 +1382,7 @@ jobs:\n rm -rf test\n - name: Build\n id: build\n- uses: vmactions/freebsd-vm@v0.2.3\n+ uses: vmactions/freebsd-vm@v0.3.0\n env:\n DEBUG: napi:*\n RUSTUP_HOM...
2022-11-03T04:19:04
golang/go
814c5ff13810e800aeb67fd0371e21984d4d2c64
952187af12485eb665ae122f6d0bdb36e4a11ed7
cmd/go: support module deprecation A module is deprecated if its author adds a comment containing a paragraph starting with "Deprecated:" to its go.mod file. The comment must appear immediately before the "module" directive or as a suffix on the same line. The deprecation message runs from just after "Deprecated:" to ...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -1135,7 +1135,7 @@\n //\n // \ttype Module struct {\n // \t\tPath string\n-// \t\tVersion string\n+// \t\tDeprecated string\n // \t}\n //\n // \ttype GoMod struct {", "additions": 1, "deletions": 1, "language": "Go" }, { "path": "src/cmd/go...
2021-03-31T18:47:59
nodejs/node
8a58ec6aff2f87b58a9fa9c166d31b1d835c8647
7d77068c786d81fa43b6b6d80ac97e1bd53be4c8
doc: fix outdated link FSEvents PR-URL: https://github.com/nodejs/node/pull/20949 Fixes: https://github.com/nodejs/node/issues/20853 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <...
[ { "path": "doc/api/fs.md", "patch": "@@ -4492,7 +4492,7 @@ the file contents.\n [`AHAFS`]: https://www.ibm.com/developerworks/aix/library/au-aix_event_infrastructure/\n [`Buffer.byteLength`]: buffer.html#buffer_class_method_buffer_bytelength_string_encoding\n [`Buffer`]: buffer.html#buffer_buffer\n-[`FSEven...
2018-05-24T21:05:16
electron/electron
9ac1a539ee78e7ad6ef49cc9cb086d564af59043
fd54c435a9d52d7c1280a0dcef78497e14f86cf2
Fix all remaining readability/namespace errors
[ { "path": "brightray/browser/devtools_ui.h", "patch": "@@ -20,6 +20,6 @@ class DevToolsUI : public content::WebUIController {\n DISALLOW_COPY_AND_ASSIGN(DevToolsUI);\n };\n \n-}\n+} // namespace brightray\n \n #endif", "additions": 1, "deletions": 1, "language": "C/C++ Header" }, { "p...
2013-11-17T23:20:17
rust-lang/rust
4be670f89b94aaeab04b0e52d0efd9c61f1bef9d
78f2104e334068d5a892a170d50193c0025c690e
Warnings-as-errors in `check-builtin-attr-ice.rs`. This adds two new warnings, both of which print the attribute incorrectly as `#[]`. The next commit will fix this.
[ { "path": "tests/ui/attributes/check-builtin-attr-ice.rs", "patch": "@@ -39,13 +39,17 @@\n \n // Notably, `should_panic` is a `AttributeType::Normal` attribute that is checked separately.\n \n+#![deny(unused_attributes)]\n+\n struct Foo {\n #[should_panic::skip]\n //~^ ERROR failed to resolve\n+ ...
2025-04-09T11:11:12
huggingface/transformers
1975be4d9757fc7b7abcf1e770596509ae9d6baa
2aff938992b756a6670f196e589a9ae6aa446b26
Fix edge case for continue_final_message (#36404) * Fix edge case for continue_final_message * lstrip() correctly * Add regression test * Add a clearer error message when the final message is not present * Add a clearer error message when the final message is not present * Fix massive bug!
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1702,13 +1702,30 @@ def apply_chat_template(\n if continue_final_message:\n final_message = chat[-1][\"content\"]\n if isinstance(final_message, (list, tuple)):\n- final_mess...
2025-03-03T18:03:03
vercel/next.js
5da108bc19f48cdc76e3f95d071af9efc7c44f00
cd897b5cc19abb340d5fbe74f2355f8153e5b1ae
Update default eslint choice for CNA setup (#42371) This ensures we continue to default to ESLint be configured for new projects so that our lint checks are enabled for new projects. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attache...
[ { "path": "packages/create-next-app/index.ts", "patch": "@@ -156,53 +156,59 @@ async function run(): Promise<void> {\n * If the user does not provide the necessary flags, prompt them for whether\n * to use TS or JS.\n */\n- if (!example && !program.typescript && !program.javascript) {\n+ if (!exa...
2022-11-03T03:17:37
golang/go
fcf8a6640b1bfb2444749b558f926321841922fa
0ad46889a140c3b2e72b8aa4a47ac242571c521f
cmd/compile/abi-internal: declare R14 completely fixed Currently, we allow R14, the current goroutine pointer, to be clobbered in function bodies as long as the function restores it. This is unnecessary complexity and could lead to confusing inconsistencies with other architectures that can't simply restore it from TL...
[ { "path": "src/cmd/compile/abi-internal.md", "patch": "@@ -408,7 +408,7 @@ Special-purpose registers are as follows:\n | RDX | Closure context pointer | Scratch | Scratch |\n | R12 | Scratch | Scratch | Scratch |\n | R13 | Scratch | Scratch | Scratch |\n-| R14 | Current goroutine | Same | Scratch |\n+| R14 ...
2021-04-09T17:55:18
nodejs/node
65dbc52a9beacb23a45ed5d7b1fa4bce792e8142
76a1feb4511f004efd30e5db98592ef88c85fd11
module: name anonymous function for debugging This commit is to help in the effort to name all anonymous functions to help when heap debugging. The issue asked for any functions to be updated that are not on a prototype and this file contains one function that meets those needs. A previous pull request (13849) was no...
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -776,7 +776,7 @@ Module._initPaths = function() {\n }\n \n if (nodePath) {\n- paths = nodePath.split(path.delimiter).filter(function(path) {\n+ paths = nodePath.split(path.delimiter).filter(function pathsFilterCB(path) {\n return !...
2018-05-18T01:38:04
electron/electron
fd54c435a9d52d7c1280a0dcef78497e14f86cf2
7bada7851945cf82776d022b4d75463318208046
Fix cpplint errors in default_web_contents_delegate.h
[ { "path": "brightray/browser/default_web_contents_delegate.h", "patch": "@@ -5,22 +5,24 @@\n \n namespace brightray {\n \n-// This class provides some sane default behaviors to any content::WebContents instance (e.g.,\n-// keyboard shortcut handling on Mac).\n+// This class provides some sane default behavi...
2013-11-17T23:18:22
rust-lang/rust
8b09cbba210741a16bedb60d54b7b06b78021ba8
40dacd50b7074783db748d73925ac5c3693a7ec1
Update cargo * The license exception of sha1_smol with BSD-3-Clause is no longer needed, as `gix-*` doesn't depend on it. * Cargo depends on zlib-rs, which is distributed under Zlib license
[ { "path": "src/tools/cargo", "patch": "@@ -1 +1 @@\n-Subproject commit 864f74d4eadcaea3eeda37a2e7f4d34de233d51e\n+Subproject commit d811228b14ae2707323f37346aee3f4147e247e6", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "src/tools/tidy/src/deps.rs", "patch": "@@...
2025-04-15T20:27:14
huggingface/transformers
2aff938992b756a6670f196e589a9ae6aa446b26
28159aee63e344dd9d27d1ebb2f8d916388dfd3d
Fix pipeline+peft interaction (#36480) * Fix pipeline-peft interaction * once again you have committed a debug breakpoint * Remove extra testing line * Add a test to check adapter loading * Correct adapter path * make fixup * Remove unnecessary check * Make check a little more stringent
[ { "path": "src/transformers/pipelines/__init__.py", "patch": "@@ -824,6 +824,7 @@ def pipeline(\n \n # Config is the primordial information item.\n # Instantiate config if needed\n+ adapter_path = None\n if isinstance(config, str):\n config = AutoConfig.from_pretrained(\n ...
2025-03-03T18:01:43
vercel/next.js
cd897b5cc19abb340d5fbe74f2355f8153e5b1ae
a0f378773e0c0d32784613aa60b55d738cfacd1b
Fix CSS modules imports not collected due to race conditions (#42392) This PR fixes the bug reported by @hanneslund (reproduction: https://github.com/hanneslund/css-mod-import-test). There can be multiple modules with the same resource, some of them can be created via plugins (extracted by the mini-css plugin) an...
[ { "path": "packages/next/build/webpack/plugins/flight-manifest-plugin.ts", "patch": "@@ -191,15 +191,22 @@ export class FlightManifestPlugin {\n ssrNamedModuleId = `./${ssrNamedModuleId.replace(/\\\\/g, '/')}`\n \n if (isCSSModule) {\n+ const chunks = [...chunk.files].filter((f) =...
2022-11-03T02:55:10
golang/go
0ad46889a140c3b2e72b8aa4a47ac242571c521f
2698be4905c9d54a0d6a7d7d6e90284a9d76b82a
cmd/compile/abi-internal: declare X15 scratch in function bodies X15 must be zero at function calls and returns, but can be used as scratch in the middle of a function. This allows things like memmove and the hashing functions to use X15 temporarily, as long as they set it back to 0 before returning. This CL also cla...
[ { "path": "src/cmd/compile/abi-internal.md", "patch": "@@ -401,16 +401,16 @@ without corrupting arguments or results.\n \n Special-purpose registers are as follows:\n \n-| Register | Call meaning | Body meaning |\n+| Register | Call meaning | Return meaning | Body meaning |\n | --- | --- | --- |\n-| RSP | S...
2021-04-08T21:38:25
nodejs/node
ac8226115e2192a7a46ba07789fa5136f74223e1
6caecc614a73ffce78fcac0d74e2038cfd05d16a
doc: fix filehandle.truncate() sample codes PR-URL: https://github.com/nodejs/node/pull/20913 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Ric...
[ { "path": "doc/api/fs.md", "patch": "@@ -3572,8 +3572,16 @@ console.log(fs.readFileSync('temp.txt', 'utf8'));\n // Prints: Node.js\n \n async function doTruncate() {\n- const fd = await fsPromises.open('temp.txt', 'r+');\n- await fsPromises.ftruncate(fd, 4);\n+ let filehandle = null;\n+ try {\n+ file...
2018-05-23T13:48:47
huggingface/transformers
28159aee63e344dd9d27d1ebb2f8d916388dfd3d
acb8586dd9536f5cb78765d0a1cd6015da5af0c5
chore: fix message descriptions in arguments and comments (#36504) chore: fix messagedescriptions in arguments and comments
[ { "path": "src/transformers/agents/agents.py", "patch": "@@ -332,7 +332,7 @@ def format_prompt_with_tools(toolbox: Toolbox, prompt_template: str, tool_descri\n def show_agents_descriptions(managed_agents: list):\n managed_agents_descriptions = \"\"\"\n You can also give requests to team members.\n-Calli...
2025-03-03T17:54:57
electron/electron
7bada7851945cf82776d022b4d75463318208046
a6ecd039e25f9d0b2b8bc49fb4d882ac67c4bec9
Fix cpplint errors in browser_main_parts.h
[ { "path": "brightray/browser/browser_main_parts.h", "patch": "@@ -15,15 +15,15 @@ class BrowserContext;\n class WebUIControllerFactory;\n \n class BrowserMainParts : public content::BrowserMainParts {\n-public:\n+ public:\n BrowserMainParts();\n ~BrowserMainParts();\n \n BrowserContext* browser_contex...
2013-11-17T23:17:23
vercel/next.js
a0f378773e0c0d32784613aa60b55d738cfacd1b
5654cae2d7c50ec7d34e3e527e5172c22e793702
update middleware cookies example (#42341) in the example at ## Using Cookies, the first example, the cookie header assumption was wrong. It first confused me, before I knew it was meant to be `nextjs` instead. Thanks for building an amazing library ## Bug - [ ] Related issues linked using `fixes #number` - [ ] In...
[ { "path": "docs/advanced-features/middleware.md", "patch": "@@ -160,7 +160,7 @@ import { NextResponse } from 'next/server'\n import type { NextRequest } from 'next/server'\n \n export function middleware(request: NextRequest) {\n- // Assume a \"Cookie:vercel=fast\" header to be present on the incoming requ...
2022-11-03T02:09:49
golang/go
2698be4905c9d54a0d6a7d7d6e90284a9d76b82a
d11968012c81e6eef3a1f3ff4c19a610222fc305
runtime: use sigpanic0 on all OSes With the register ABI, it's important to inject sigpanic0 instead of sigpanic so we can set up function entry registers. This was already happening on most OSes. This CL gets the remaining ones. Change-Id: I6bc4d912b6497e03ed54d0a9c1eae8fd099d2cea Reviewed-on: https://go-review.goog...
[ { "path": "src/runtime/os3_plan9.go", "patch": "@@ -100,7 +100,7 @@ func sighandler(_ureg *ureg, note *byte, gp *g) int {\n \t\tif usesLR {\n \t\t\tc.setpc(funcPC(sigpanictramp))\n \t\t} else {\n-\t\t\tc.setpc(funcPC(sigpanic))\n+\t\t\tc.setpc(funcPC(sigpanic0))\n \t\t}\n \t\treturn _NCONT\n \t}", "addi...
2021-04-08T21:41:24
huggingface/transformers
acb8586dd9536f5cb78765d0a1cd6015da5af0c5
0463901c92e08cefbccf19f409b6cc43c153352d
Fix some typos in docs (#36502) Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>
[ { "path": "awesome-transformers.md", "patch": "@@ -29,7 +29,7 @@ Keywords: inpainting, SD, Stable Diffusion\n \n ## [flair](https://github.com/flairNLP/flair)\n \n-FLAIR is a powerful PyTorch NLP framework, convering several important tasks: NER, sentiment-analysis, part-of-speech tagging, text and document...
2025-03-03T17:53:53
nodejs/node
6caecc614a73ffce78fcac0d74e2038cfd05d16a
8ce20aff2dbee80ca2739f37c36999e3906f5f06
2018-05-24, Version 10.2.1 (Current) This is a follow up release to fix two regressions that were introduced in v10.2.0. PR-URL: https://github.com/nodejs/node/pull/20943
[ { "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.2.0\">10.2.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.2.1\">10.2.1</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V10.md#10.2.0\"...
2018-05-24T17:31:04
electron/electron
a6ecd039e25f9d0b2b8bc49fb4d882ac67c4bec9
24fbf6e2ef71e1596eff66be41a8f8960b5dee5f
Fix typos
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -99,9 +99,9 @@ net::URLRequestContextGetter* BrowserContext::CreateRequestContext(\n content::ProtocolHandlerMap* protocol_handlers) {\n DCHECK(!url_request_getter_);\n auto io_loop = content::BrowserThread::UnsafeGetMessageLoopForThread...
2013-11-17T23:16:41
golang/go
d138ee2cfbd2be3edde22ad8a69da7657d0b0b7a
dcc801ef815263eae7f0780a0bbc2f2e753599b0
test/abi: disable test on windows for now This tickles some other bug, do this to clear builders. Updates #40724. Updates #45465. Change-Id: Id51efbcf474865da231fcbc6216e5d604f99c296 Reviewed-on: https://go-review.googlesource.com/c/go/+/308889 Trust: David Chase <drchase@google.com> Run-TryBot: David Chase <drchase...
[ { "path": "test/abi/bad_select_crash.go", "patch": "@@ -1,5 +1,7 @@\n // build -goexperiment regabi,regabiargs\n \n+//go:build !windows\n+\n // Copyright 2021 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style\n // license that can be found in the LICENSE file.", ...
2021-04-09T13:49:15
huggingface/transformers
0463901c92e08cefbccf19f409b6cc43c153352d
3e83ee75ec7a5291c95a7172d90665eed450bfba
fix torch_dtype, contiguous, and load_state_dict regression (#36512) * fix regression * fix param * fix load_state_dict * style * better fix for module * fix tests * quick fix for now * rm print
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -67,6 +67,7 @@\n translate_to_torch_parallel_style,\n )\n from .quantizers import AutoHfQuantizer, HfQuantizer\n+from .quantizers.quantizers_utils import get_module_from_name\n from .safetensors_conversion import auto_conversion\n from .utils ...
2025-03-03T17:35:37
nodejs/node
8ce20aff2dbee80ca2739f37c36999e3906f5f06
3f4caec1d1e6f2c75d2339db21920dc349986682
http: fix res emit close before user finish PR-URL: https://github.com/nodejs/node/pull/20941 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "lib/_http_server.js", "patch": "@@ -562,7 +562,7 @@ function resOnFinish(req, res, socket, state, server) {\n \n res.detachSocket(socket);\n req.emit('close');\n- res.emit('close');\n+ process.nextTick(emitCloseNT, res);\n \n if (res._last) {\n if (typeof socket.destroySoon === 'funct...
2018-05-24T14:30:35
electron/electron
991133b8e9985d83cab389044af472cea71587bf
74661c342ffc857e5c91ce7ed4fe1e432e15f245
Fix cpplint errors in browser_context.h
[ { "path": "brightray/browser/browser_context.h", "patch": "@@ -18,41 +18,54 @@ class NetworkDelegate;\n class URLRequestContextGetter;\n \n class BrowserContext : public content::BrowserContext {\n-public:\n+ public:\n BrowserContext();\n ~BrowserContext();\n \n void Initialize();\n \n- net::URLReque...
2013-11-17T23:15:10
huggingface/transformers
3e83ee75ec7a5291c95a7172d90665eed450bfba
9e3a1072c25732d351a09218d8e8843148ecc3c9
Fix kwargs UserWarning in SamImageProcessor (#36479) transformers/image_processing_utils.py:41: UserWarning: The following named arguments are not valid for `SamImageProcessor.preprocess` and were ignored: 'point_pad_value'
[ { "path": "src/transformers/models/sam/processing_sam.py", "patch": "@@ -106,6 +106,7 @@ def __call__(\n input_points = output_kwargs[\"images_kwargs\"].pop(\"input_points\", None)\n input_labels = output_kwargs[\"images_kwargs\"].pop(\"input_labels\", None)\n input_boxes = output_kw...
2025-03-03T16:23:34
nodejs/node
3f4caec1d1e6f2c75d2339db21920dc349986682
f96ef5574c6cb00f8d3076b93bc5b88bab9543ac
src: re-integrate headers into node.h Alternative to https://github.com/nodejs/node/pull/20938 (clean revert) and https://github.com/nodejs/node/pull/20925 (adding the headers to the release tarball). The changes to `src/node.h` are a clean revert in the same ways as https://github.com/nodejs/node/pull/20938 does it,...
[ { "path": "node.gyp", "patch": "@@ -372,12 +372,10 @@\n 'src/async_wrap-inl.h',\n 'src/base_object.h',\n 'src/base_object-inl.h',\n- 'src/callback_scope.h',\n 'src/connection_wrap.h',\n 'src/connect_wrap.h',\n 'src/env.h',\n 'src/env-inl.h',\n- ...
2018-05-24T14:27:03
electron/electron
74661c342ffc857e5c91ce7ed4fe1e432e15f245
80dab9d862eb5d493cfb97629c6e4f9554523318
Fix cpplint errors in browser_client.h
[ { "path": "brightray/browser/browser_client.h", "patch": "@@ -14,7 +14,7 @@ class BrowserMainParts;\n class NotificationPresenter;\n \n class BrowserClient : public content::ContentBrowserClient {\n-public:\n+ public:\n static BrowserClient* Get();\n \n BrowserClient();\n@@ -24,17 +24,21 @@ class Browse...
2013-11-17T23:13:10
huggingface/transformers
9e3a1072c25732d351a09218d8e8843148ecc3c9
4d8259d24592f27603efc3827f60794904f14aad
Check `TRUST_REMOTE_CODE` for `RealmRetriever` for security (#36511) * fix * repush --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/deprecated/realm/retrieval_realm.py", "patch": "@@ -21,7 +21,7 @@\n from huggingface_hub import hf_hub_download\n \n from .... import AutoTokenizer\n-from ....utils import logging\n+from ....utils import logging, strtobool\n \n \n _REALM_BLOCK_RECORDS_FILENAME = \"block_re...
2025-03-03T14:08:12
nodejs/node
531b4bedcac14044f09129ffb65dab71cc2707d9
03043e290ab5e4e1773dc1827a57e1acc141fdf6
net: allow IPC servers be accessible by all Adds mappings to uv_pipe_chmod call by adding two new options to listen call. This allows the IPC server pipe to be made readable or writable by all users. Fixes: https://github.com/nodejs/node/issues/19154 PR-URL: https://github.com/nodejs/node/pull/19472 Reviewed-By: San...
[ { "path": "doc/api/net.md", "patch": "@@ -260,6 +260,10 @@ added: v0.11.14\n * `backlog` {number} Common parameter of [`server.listen()`][]\n functions.\n * `exclusive` {boolean} **Default:** `false`\n+ * `readableAll` {boolean} For IPC servers makes the pipe readable\n+ for all users. **Default...
2018-03-07T23:09:24
electron/electron
80dab9d862eb5d493cfb97629c6e4f9554523318
57ae05b6360d78df69c1569933c0136d9913d80a
Fix cpplint errors in web_ui_controller_factory.cc
[ { "path": "brightray/browser/web_ui_controller_factory.cc", "patch": "@@ -56,4 +56,4 @@ content::WebUIController* WebUIControllerFactory::CreateWebUIControllerForURL(\n return NULL;\n }\n \n-}\n+} // namespace brightray", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-11-17T23:12:05
golang/go
5811605df9011ae415b25be70045ed7a302a5e37
d67e7399898d819583cdcc377e9ff3c93002f57f
cmd/go: fix mod_list_update_nolatest on windows Fixes #45456 Change-Id: I7d313d7fbe29813f2abb062b6feec43280c2d283 Reviewed-on: https://go-review.googlesource.com/c/go/+/308653 Trust: Jay Conrod <jayconrod@google.com> Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: B...
[ { "path": "src/cmd/go/testdata/script/mod_list_update_nolatest.txt", "patch": "@@ -6,7 +6,7 @@\n # but has no /@latest (410) because the go.mod at the tip of the default\n # branch has a different major version suffix.\n env testproxy=$GOPROXY\n-env GOPROXY=file://$WORK/proxy\n+env GOPROXY=file:///$WORK/pro...
2021-04-08T21:03:18
vercel/next.js
5654cae2d7c50ec7d34e3e527e5172c22e793702
d159fb08a1cf71dd660fa52f42c3e90c0bee7744
feat(next/mdx): support experimental mdx-rs loader (#41919) <!-- 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: --> Thi...
[ { "path": "docs/advanced-features/using-mdx.md", "patch": "@@ -207,6 +207,19 @@ export default function Post(props) {\n \n If you use it across the site you may want to add the provider to `_app.js` so all MDX pages pick up the custom element config.\n \n+## Using rust based MDX compiler (experimental)\n+\n...
2022-11-03T01:24:05
huggingface/transformers
4d8259d24592f27603efc3827f60794904f14aad
dcbdf7e962c4b36140cc9ee76f870016121e69e5
Fix loading zero3 weights (#36455) * Check if fixes * Fix zero3 loading * Quality * Fix marc nit * Add fast tests * Migrate to integrations.deepspeed rather than modeling_utils * Style
[ { "path": "src/transformers/integrations/deepspeed.py", "patch": "@@ -27,6 +27,7 @@\n \n if is_torch_available():\n import torch\n+ from torch import nn\n \n \n logger = logging.get_logger(__name__)\n@@ -305,6 +306,57 @@ def deepspeed_config():\n return None\n \n \n+def _load_state_dict_into_...
2025-03-03T14:05:58
electron/electron
57ae05b6360d78df69c1569933c0136d9913d80a
843b21a3e81dc1822e6b5c20707d89ac4112c6f0
Fix cpplint errors in url_request_context_getter.cc
[ { "path": "brightray/browser/url_request_context_getter.cc", "patch": "@@ -4,7 +4,10 @@\n \n #include \"browser/url_request_context_getter.h\"\n \n-#include \"network_delegate.h\"\n+#include <algorithm>\n+\n+#include \"browser/network_delegate.h\"\n+\n #include \"base/strings/string_util.h\"\n #include \"ba...
2013-11-17T23:11:47
nodejs/node
82f18118ff8ddb7ad76f4c6bc40737e8fb8c20d2
c89669d87ed1a41bcafe9c151049ae37ad1d827b
2018-05-23, Version 10.2.0 (Current) * addons: - Fixed a memory leak for users of `AsyncResource` and N-API. (Michael Dawson) https://github.com/nodejs/node/pull/20668 * assert: - The `error` parameter of `assert.throws()` can be an object containing regular expressions now. (Ruben Bridgewater) htt...
[ { "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.1.0\">10.1.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.2.0\">10.2.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V10.md#10.1.0\"...
2018-05-14T18:01:36
golang/go
a9e475a15a7211c356157d1d0e5dc7cef7dd970e
7e583806d8135a59866ff329cc19a0bc4425aa80
cmd/compile: add recursive-invalidate Value method, use in expand_calls This removes more unused values during transformation. Leaving them in the tree can create type conflicts in OpArg* references. Updates #40724. Updates #44816. Fixes #45417. Change-Id: I07dcb7b4b2bf8d79e22e0543cb2fb52c2ececb96 Reviewed-on: https...
[ { "path": "src/cmd/compile/internal/ssa/expand_calls.go", "patch": "@@ -1015,7 +1015,7 @@ func (x *expandState) rewriteArgs(v *Value, firstArg int) {\n \t\t\tif x.debug {\n \t\t\t\tx.Printf(\"...marking %v unused\\n\", a.LongString())\n \t\t\t}\n-\t\t\ta.reset(OpInvalid)\n+\t\t\ta.invalidateRecursively()\n ...
2021-04-08T16:44:05
huggingface/transformers
dcbdf7e962c4b36140cc9ee76f870016121e69e5
a40f1ac602fe900281722254c52ce3773f28eb0e
Fix _load_state_dict_into_meta_model with device_map=None (#36488) * Fix _load_state_dict_into_meta_model with device_map=None * Update src/transformers/modeling_utils.py
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -785,8 +785,8 @@ def _load_state_dict_into_meta_model(\n tensor_device = None\n if device_map is not None and device_map.get(\"\", None) is not None:\n tensor_device = device_map[\"\"].index if isinstance(device_map[\"\"], torch.de...
2025-03-02T07:33:36
vercel/next.js
d159fb08a1cf71dd660fa52f42c3e90c0bee7744
059538bc0f7598e415e0c141d784f61ff4232d65
fix: usage of wasm in an appDir page file using the edge runtime (#41689) Fixes #41673 Updates the wasm `AssetBinding` filePath to be the fully qualified path during build so the files can get loaded. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Errors have a helpfu...
[ { "path": "packages/next/build/utils.ts", "patch": "@@ -52,6 +52,7 @@ import {\n loadRequireHook,\n overrideBuiltInReactPackages,\n } from './webpack/require-hook'\n+import { AssetBinding } from './webpack/loaders/get-module-build-info'\n \n loadRequireHook()\n if (process.env.NEXT_PREBUNDLED_REACT) {\n...
2022-11-03T01:18:03
electron/electron
843b21a3e81dc1822e6b5c20707d89ac4112c6f0
784e270a4f58d27033965034dac973cfde424b06
Fix cpplint errors in network_delegate.cc
[ { "path": "brightray/browser/network_delegate.cc", "patch": "@@ -2,7 +2,9 @@\n // Use of this source code is governed by a BSD-style license that can be\n // found in the LICENSE-CHROMIUM file.\n \n-#include \"network_delegate.h\"\n+#include \"browser/network_delegate.h\"\n+\n+#include <string>\n \n #includ...
2013-11-17T23:09:21
nodejs/node
c89669d87ed1a41bcafe9c151049ae37ad1d827b
474e94d4c0d59a12f8feb1b826a566f2de009a4c
doc: removed LTS label from v4 in doc version picker Fixes: https://github.com/nodejs/node/issues/20903 PR-URL: https://github.com/nodejs/node/pull/20904 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinc...
[ { "path": "tools/doc/html.js", "patch": "@@ -345,7 +345,7 @@ function altDocs(filename, docCreated) {\n { num: '7.x' },\n { num: '6.x', lts: true },\n { num: '5.x' },\n- { num: '4.x', lts: true },\n+ { num: '4.x' },\n { num: '0.12.x' },\n { num: '0.10.x' }\n ];", "additions":...
2018-05-23T01:27:59
huggingface/transformers
a40f1ac602fe900281722254c52ce3773f28eb0e
2c5d038f9204ffbc78acd398238dd5231341e648
Fix couples of issues from #36335 (#36453) * fix * style * better allocation * fix * fix * style * revert disk * exit * style * return if nothing to cache * dtensor guard * fix regressiion * fix regression * fix * fix
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -41,7 +41,6 @@\n from huggingface_hub import split_torch_state_dict_into_shards\n from packaging import version\n from torch import Tensor, nn\n-from torch.distributed.tensor import DTensor, Shard\n from torch.distributions import constraints\n fr...
2025-03-01T06:12:17
golang/go
7e583806d8135a59866ff329cc19a0bc4425aa80
bb76193a7f0b04c6c25696ed28dd5516ae23d83c
runtime/cgo: clarify Handle documentation Fixes #45427 Change-Id: Ic67630a5f39d8789a4a30c6b4ee30946bc50382e Reviewed-on: https://go-review.googlesource.com/c/go/+/308230 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ainar Garipov <gugl.zadolbal@gmail.com> Reviewed-by: Changkun Ou <euryugasaki@gmail.com> Revi...
[ { "path": "src/runtime/cgo/handle.go", "patch": "@@ -9,50 +9,56 @@ import (\n \t\"sync/atomic\"\n )\n \n-// Handle provides a safe representation of Go values to pass between\n-// Go and C. The zero value of a handle is not a valid handle, and thus\n-// is safe to use as a sentinel in C APIs.\n+// Handle pr...
2021-04-07T22:22:53
vercel/next.js
059538bc0f7598e415e0c141d784f61ff4232d65
6e4429114b95aa43cfe2b961caaf3d7380c0ead7
Ensure Undici is enabled for appDir in all cases (#42382) Fixes https://github.com/vercel/next.js/discussions/41745#discussioncomment-4040309 <!-- 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 sect...
[ { "path": "packages/next/server/config.ts", "patch": "@@ -65,9 +65,7 @@ export function setHttpClientAndAgentOptions(config: NextConfig) {\n )\n } else {\n // When appDir is enabled undici is the default because of Response.clone() issues in node-fetch\n- ;(global as any).__NEXT_USE_UND...
2022-11-03T00:19:59
electron/electron
784e270a4f58d27033965034dac973cfde424b06
c97a22ef8d93442ad15708e7b9b90a2900bbf342
Fix cpplint errors in inspectable_web_contents_impl.cc
[ { "path": "brightray/browser/inspectable_web_contents_impl.cc", "patch": "@@ -5,6 +5,8 @@\n \n #include \"browser/inspectable_web_contents_impl.h\"\n \n+#include <string>\n+\n #include \"browser/browser_client.h\"\n #include \"browser/browser_context.h\"\n #include \"browser/browser_main_parts.h\"\n@@ -31,1...
2013-11-17T23:08:34
nodejs/node
9461f327f50c9885508392938053a62985d13259
a5d86f8c4ebf201092a7a155691856e13639f0cb
src,doc: add doc of --prof flag to help command Fixes: https://github.com/nodejs/node/issues/16459 PR-URL: https://github.com/nodejs/node/pull/20845 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: ...
[ { "path": "doc/api/cli.md", "patch": "@@ -240,6 +240,13 @@ resolving relative paths.\n \n See `--preserve-symlinks` for more information.\n \n+### `--prof`\n+<!-- YAML\n+added: v2.0.0\n+-->\n+\n+Generate V8 profiler output.\n+\n ### `--prof-process`\n <!-- YAML\n added: v5.2.0", "additions": 7, "del...
2018-05-20T10:05:08
golang/go
bb76193a7f0b04c6c25696ed28dd5516ae23d83c
793844207d81bdc41212bc300195469c65c39766
cmd/compile: fix buglet in walk convert phase relating to convF32/64 The helper function used by the compiler's walk phase to determine whether a param can be passed in a single float register wasn't quite correct (didn't allow for the possibility of struct with two fields, first zero size and second float). Fix up th...
[ { "path": "src/cmd/compile/internal/walk/convert.go", "patch": "@@ -312,7 +312,22 @@ func convFuncName(from, to *types.Type) (fnname string, needsaddr bool) {\n \t\tcase types.TARRAY:\n \t\t\treturn t.NumElem() == 1 && isFloatLike(t.Elem())\n \t\tcase types.TSTRUCT:\n-\t\t\treturn t.NumFields() == 1 && isFl...
2021-04-08T19:30:03
vercel/next.js
8350f7efb20c7041a3a9c72b20aecdfb7ea97d8a
9de871e61be72ba8bd4040ed0b7fdc531edf8c0b
useSelectedLayoutSegment at the current level (#42299) When `useSelectedLayoutSegment` is used on the current level or in a page it should return null. fixes #41879 fixes #41878 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached...
[ { "path": "packages/next/client/components/navigation.ts", "patch": "@@ -174,10 +174,10 @@ export function useSelectedLayoutSegments(\n */\n export function useSelectedLayoutSegment(\n parallelRouteKey: string = 'children'\n-): string {\n+): string | null {\n const selectedLayoutSegments = useSelectedL...
2022-11-02T22:06:31
huggingface/transformers
2c5d038f9204ffbc78acd398238dd5231341e648
51083d1bac7905aa8316b75f7897bdd4e5302044
Add Got-OCR 2 Fast image processor and refactor slow one (#36185) * refactor image processor slow got ocr * add working image processor fast * fix fast image processor, update doc * use one big loop for processing patches
[ { "path": "docs/source/en/model_doc/got_ocr2.md", "patch": "@@ -44,13 +44,14 @@ The original code can be found [here](https://github.com/Ucas-HaoranWei/GOT-OCR2\n \n ```python\n >>> from transformers import AutoProcessor, AutoModelForImageTextToText\n+>>> import torch\n \n >>> device = \"cuda\" if torch.cud...
2025-03-01T05:56:00
electron/electron
c97a22ef8d93442ad15708e7b9b90a2900bbf342
ef5992b0eb4b2ee04a72d79280cba68ba34f2bfa
Fix cpplint errors in inspectable_web_contents.cc
[ { "path": "brightray/browser/inspectable_web_contents.cc", "patch": "@@ -6,7 +6,8 @@\n \n namespace brightray {\n \n-InspectableWebContents* InspectableWebContents::Create(const content::WebContents::CreateParams& create_params) {\n+InspectableWebContents* InspectableWebContents::Create(\n+ const content...
2013-11-17T22:54:14
nodejs/node
a5d86f8c4ebf201092a7a155691856e13639f0cb
ec39e62ff26b3efcdcf1bbfd423c452008ea9028
assert: handle undefined filename in getErrMessage When generating an assertion error message, `filename` might be undefined, e.g. if `assert` is called in `eval`. Handle this case gracefully instead of failing with `Cannot read property 'endsWith' of undefined`. Fixes: https://github.com/nodejs/node/issues/20847 P...
[ { "path": "lib/assert.js", "patch": "@@ -154,6 +154,10 @@ function getBuffer(fd, assertLine) {\n \n function getErrMessage(call) {\n const filename = call.getFileName();\n+ if (!filename) {\n+ return;\n+ }\n+\n const line = call.getLineNumber() - 1;\n const column = call.getColumnNumber() - 1;\n ...
2018-05-20T12:37:28
golang/go
793844207d81bdc41212bc300195469c65c39766
98dd205fa4f125c8ba8099c3d84d95189666068e
cmd/go: strip GOEXPERIMENT from hash salt The go command salts cache hashes using runtime.Version() (the Go version the go command was built with) in order to separate objects built with different versions of Go. CL 307820 added the active GOEXPERIMENTs to the result of runtime.Version, which affected cmd/go's hash s...
[ { "path": "src/cmd/dist/build.go", "patch": "@@ -1541,7 +1541,7 @@ func checkNotStale(goBinary string, targets ...string) {\n \t\t\t\tbreak\n \t\t\t}\n \t\t}\n-\t\tfatalf(\"unexpected stale targets reported by %s list -gcflags=\\\"%s\\\" -ldflags=\\\"%s\\\" for %v:\\n%s\", goBinary, gogcflags, goldflags, ta...
2021-04-08T16:50:39
huggingface/transformers
51083d1bac7905aa8316b75f7897bdd4e5302044
02776d2c6aa997c5b81f28f2edf38df9967253be
[docs] fix bug in deepspeed config (#36081) bug fix
[ { "path": "docs/source/en/deepspeed.md", "patch": "@@ -1091,7 +1091,7 @@ ds_config = {\n \"overlap_comm\": True,\n \"contiguous_gradients\": True,\n \"reduce_bucket_size\": model_hidden_size * model_hidden_size,\n- \"stage3_prefetch_bucket_size\": 0.9 * model_hidden_size * mod...
2025-02-28T15:09:54
vercel/next.js
9de871e61be72ba8bd4040ed0b7fdc531edf8c0b
f0e768e0a2a5d1a8f84e0f2bdad278c880a61d4b
[eslint-plugin] Stop warning for head element in app/layout on Windows (#42336) ## Bug ![image](https://user-images.githubusercontent.com/13413409/199451248-051751e5-0a5b-4ee0-bcae-05d2933f0090.png) When trying to use app directory on Windows, the automatically created `Layout.tsx` get's a lint problem for ha...
[ { "path": "packages/eslint-plugin-next/src/rules/no-head-element.ts", "patch": "@@ -1,3 +1,4 @@\n+import path = require('path')\n import { defineRule } from '../utils/define-rule'\n \n const url = 'https://nextjs.org/docs/messages/no-head-element'\n@@ -18,9 +19,13 @@ export = defineRule({\n JSXOpening...
2022-11-02T20:43:39
electron/electron
ef5992b0eb4b2ee04a72d79280cba68ba34f2bfa
dfb8a809ee44916509ff65fc9dcf6f9bd5681c72
Fix cpplint errors in devtools_ui.cc
[ { "path": "brightray/browser/devtools_ui.cc", "patch": "@@ -90,12 +90,12 @@ class BundledDataSource : public content::URLDataSource {\n DISALLOW_COPY_AND_ASSIGN(BundledDataSource);\n };\n \n-}\n+} // namespace\n \n DevToolsUI::DevToolsUI(BrowserContext* browser_context, content::WebUI* web_ui)\n- : Web...
2013-11-17T22:53:38
huggingface/transformers
02776d2c6aa997c5b81f28f2edf38df9967253be
222505c7e4d08da9095d12ddb72fb653f4b6da33
Fix loading models with mismatched sizes (#36463) * Fix loading model with mismatched sizes * trigger tests
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4907,7 +4907,9 @@ def _load_pretrained_model(\n model_to_load, state_dict, start_prefix\n )\n # at this point the state dict should be on cpu, we don't need to actually read it\n- ...
2025-02-28T10:48:59
golang/go
98dd205fa4f125c8ba8099c3d84d95189666068e
46ffbec1d6715f62c724a7180aec12ffd8acf57f
runtime: see whether gp==nil before checking preemption state Recent we changed from using gFromTLS to using gFromSP, which apparently sometimes returns nil. This causes crashes when dereferenced. Fix that by not checking for preemption in the case that gFromSP returns nil. Fixes #44679. Change-Id: I0199ebe7cd113379...
[ { "path": "src/runtime/os_windows.go", "patch": "@@ -1380,7 +1380,7 @@ func preemptM(mp *m) {\n \n \t// Does it want a preemption and is it safe to preempt?\n \tgp := gFromSP(mp, c.sp())\n-\tif wantAsyncPreempt(gp) {\n+\tif gp != nil && wantAsyncPreempt(gp) {\n \t\tif ok, newpc := isAsyncSafePoint(gp, c.ip(...
2021-02-28T11:24:02
nodejs/node
c82a9583ce9ac3af18e4eaea96145fec57bf6a10
6e8abb13aa0be3a2ed18d7958c85465ac0b3c92b
test: use log only in test-child-process-fork-net We are currently having issues with test-child-process-fork-net on Windows CI. Debugging is slightly hampered by the mix of `console.log()` and `console.error()` as our test runner does not interleave stdout and stderr, so the order of output is not preserved. Change t...
[ { "path": "test/parallel/test-child-process-fork-net.js", "patch": "@@ -25,7 +25,6 @@ const assert = require('assert');\n const fork = require('child_process').fork;\n const net = require('net');\n \n-// progress tracker\n function ProgressTracker(missing, callback) {\n this.missing = missing;\n this.ca...
2018-05-21T21:48:38
vercel/next.js
f0e768e0a2a5d1a8f84e0f2bdad278c880a61d4b
6d7c4c71a5989c3914cbd113a697b49f8255f45e
Local font family name (#42286) Use the name of the assigned const as the family name instead of trying to get it from the font file. That way we know we won't get any invalid characters in the font-family name. fixes #42264 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests a...
[ { "path": "packages/font/src/local/loader.ts", "patch": "@@ -53,13 +53,13 @@ function getDistanceFromNormalWeight(weight?: string) {\n \n const fetchFonts: FontLoader = async ({\n functionName,\n+ variableName,\n data,\n emitFontFile,\n resolve,\n fs,\n }) => {\n const {\n- family,\n src...
2022-11-02T20:38:25
huggingface/transformers
222505c7e4d08da9095d12ddb72fb653f4b6da33
482d17be60d1836a7e787c5c3d69d4c3ed171ebc
[GroundingDino] Fix grounding dino loss 🚨 (#31828) * Starting to fix GroundingDinoLoss and GroundingDinoHungarianMatcher * More updates * More updates * fixed: GroundingDinoLoss * fixed: failing tests * Update src/transformers/models/grounding_dino/modeling_grounding_dino.py Co-authored-by: amyeroberts <2261492...
[ { "path": "src/transformers/loss/loss_grounding_dino.py", "patch": "@@ -0,0 +1,271 @@\n+# Copyright 2025 The HuggingFace Team. All rights reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtai...
2025-02-27T19:15:58
electron/electron
dfb8a809ee44916509ff65fc9dcf6f9bd5681c72
0c13adb134ffcbed1709ba385a50e5532d77e01b
Fix cpplint errors in default_web_contents_delegate.cc
[ { "path": "brightray/browser/default_web_contents_delegate.cc", "patch": "@@ -18,4 +18,4 @@ void DefaultWebContentsDelegate::RequestMediaAccessPermission(\n controller.TakeAction();\n }\n \n-}\n+} // namespace brightray", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-11-17T22:52:24
golang/go
46ffbec1d6715f62c724a7180aec12ffd8acf57f
ecca94a7d1fb4f00101af9831fcb395ed08b6948
cmd/compile: break out transformations of tcCompLit into transformCompLit Create transformCompLit, which does the transformations done by tcCompLit without the typechecking. This removes the final use of the old typechecker in the noder2 pass. Other changes: - Used the transformCompLit in stringstorunelit(), which ...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -346,8 +346,9 @@ func (g *irgen) compLit(typ types2.Type, lit *syntax.CompositeLit) ir.Node {\n \t\t}\n \t}\n \n-\t// TODO(mdempsky): Remove dependency on typecheck.Expr.\n-\treturn typecheck.Expr(ir.NewCompLitExpr(g.pos(lit), ir.OCOMPLIT, ir....
2021-04-07T14:58:10
rust-lang/rust
d6df469c3d5d87bd5b853812bddae2ca2cbd1cb8
91d0b579f020964bfe6bcaa86fbfc8fd493ae4db
refactor path pattern checking to get info for peeling See the doc comment on `ResolvedPat` for more information. This and the next couple commits split resolution apart from checking for path, struct, and tuple struct patterns, in order to find the pattern's type before peeling the scrutinee. This helps us avoid peel...
[ { "path": "compiler/rustc_hir_typeck/src/pat.rs", "patch": "@@ -34,7 +34,7 @@ use ty::adjustment::{PatAdjust, PatAdjustment};\n use super::report_unexpected_variant_res;\n use crate::expectation::Expectation;\n use crate::gather_locals::DeclOrigin;\n-use crate::{FnCtxt, LoweredTy, errors};\n+use crate::{FnC...
2025-04-07T19:06:03
nodejs/node
5823938d156f4eb6dc718746afbf58f1150f70fb
7f610a1eecc94ede927a672437770185f3a6b90b
doc: fix incorrect fs.readFileSync example output This fixes an incorrect example in the documentation for calling `fs.readFileSync` on a directory. The example was presumably copied from the documentation for `fs.readFile`, which has an error argument in its callback. PR-URL: https://github.com/nodejs/node/pull/2090...
[ { "path": "doc/api/fs.md", "patch": "@@ -2377,7 +2377,7 @@ fs.readFileSync('<directory>');\n // => [Error: EISDIR: illegal operation on a directory, read <directory>]\n \n // FreeBSD\n-fs.readFileSync('<directory>'); // => null, <data>\n+fs.readFileSync('<directory>'); // => <data>\n ```\n \n ## fs.readlin...
2018-05-22T23:54:30
vercel/next.js
6d7c4c71a5989c3914cbd113a697b49f8255f45e
eaeb1311e533f0c6b7c2526f829c55ebece6602c
Update customizing-postcss-config.md (#42331) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for ...
[ { "path": "docs/advanced-features/customizing-postcss-config.md", "patch": "@@ -80,7 +80,7 @@ To customize browserslist, create a `browserslist` key in your `package.json` li\n }\n ```\n \n-You can use the [browserl.ist](https://browserl.ist/?q=%3E0.3%25%2C+not+ie+11%2C+not+dead%2C+not+op_mini+all) tool to ...
2022-11-02T20:28:48
huggingface/transformers
482d17be60d1836a7e787c5c3d69d4c3ed171ebc
6a876462c308bd7cd7d3ca8e93abaa7d5b02e90e
Fix `hub_retry` (#36449) * cry * trigger --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/test_modeling_common.py", "patch": "@@ -223,7 +223,7 @@ def __init_subclass__(cls, **kwargs):\n if attr_name.startswith(\"test_\"):\n attr = getattr(cls, attr_name)\n if callable(attr):\n- setattr(cls, attr_name, hub_retry(attr)...
2025-02-27T13:38:25
rust-lang/rust
41b48d48bef794cb27b26693fb1ce8554ee5735d
c7f35adaafad6e93e395fc2327ff8b06477642e5
Fix a bug with predicate lowering of associated items The essence of the bug is that bounds on `impl Trait` got lowered with incorrect bound vars, as if we were lowering the parent.
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/lower.rs", "patch": "@@ -464,10 +464,14 @@ impl<'a> TyLoweringContext<'a> {\n self.lower_trait_ref_from_path(trait_ref.path, explicit_self_ty).map(|it| it.0)\n }\n \n+ /// When lowering predicates from parents (impl, traits) for children de...
2025-04-16T21:19:54
electron/electron
a35a57c3c4079289b6b749001863b852c90d9d0f
cc4aeb995bd2f5477367e4cddeee2dfc71af5637
Fix cpplint errors in browser_main_parts.cc
[ { "path": "brightray/browser/browser_main_parts.cc", "patch": "@@ -19,8 +19,10 @@ void BrowserMainParts::PreMainMessageLoopRun() {\n browser_context_.reset(CreateBrowserContext());\n browser_context_->Initialize();\n \n- web_ui_controller_factory_.reset(new WebUIControllerFactory(browser_context_.get()...
2013-11-17T22:51:19
golang/go
96a67450887314cedbd9e8634ad92b76a0443779
ca8540affd43580772589263951fd01e04f6ad07
runtime: use register ABI in panicIndex/Slice functions runtime.panicIndex*/panicSlice* functions move the arguments in the right place then tail calls goPanicIndex*/Slice* using internal ABI. (It uses internal ABI to avoid wrappers, because the callee needs to get the caller's PC, to know whether it panics in the run...
[ { "path": "src/runtime/asm_amd64.s", "patch": "@@ -1874,68 +1874,138 @@ TEXT runtime·debugCallPanicked(SB),NOSPLIT,$16-16\n // The tail call makes these stubs disappear in backtraces.\n // Defined as ABIInternal since they do not use the stack-based Go ABI.\n TEXT runtime·panicIndex<ABIInternal>(SB),NOSPLIT...
2021-04-08T16:13:58