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
9d5a3e8c6bf18c919b1f3fe0f9eecbf9958ffcab
9d6eee11a6a56017c4fcb59c00a9e5a432ebc381
chore: update labels (#47904) ### What? Syncing https://github.com/vercel/next.js/labels with the bug report template. ### Why? We've got some OS-related reports so it would be nice to be able to filter on that. ### How? The label description is added as a select option to the template, which then matches one of ...
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -32,13 +32,14 @@ body:\n - 'Data fetching (gS(S)P, getInitialProps)'\n - 'Dynamic imports (next/dynamic)'\n - 'ESLint (eslint-config-next)'\n- - 'Font optimization (@next/font)'\n+ - 'Font optimization (n...
2023-04-04T11:30:56
rust-lang/rust
bb3ee766cabf3997a056cdef1ff3087f5f2fe3eb
96e9fbfdb62618ca01dfd21e3fd70a25793f7f00
Temporarily ignore the test u128-as-f32 to merge the fix of the sysroot Cargo.toml
[ { "path": "tests/failing-ui-tests.txt", "patch": "@@ -109,3 +109,4 @@ tests/ui/codegen/equal-pointers-unequal/strict-provenance/zero.rs\n tests/ui/simd/simd-bitmask-notpow2.rs\n tests/ui/codegen/StackColoring-not-blowup-stack-issue-40883.rs\n tests/ui/uninhabited/uninhabited-transparent-return-abi.rs\n+test...
2025-06-10T21:41:35
golang/go
732db407d30e9bd49d0907fd820207e6d646df9c
fde4cc2a3189e2c964a0ce49de3cbe79ebedf985
cmd/link: make ppc64le __glink_PLTresolve position-independent This code is only generated when linking cgo internally with fixed position code. This feature of the internal linker is only supported on ppc64le/linux targets. This moves ppc64le/linux a little closer to supporting PIE when internal linking. This is mor...
[ { "path": "src/cmd/link/internal/ppc64/asm.go", "patch": "@@ -1067,35 +1067,31 @@ func ensureglinkresolver(ctxt *ld.Link, ldr *loader.Loader) *loader.SymbolBuilde\n \t\treturn glink\n \t}\n \n-\t// This is essentially the resolver from the ppc64 ELF ABI.\n+\t// This is essentially the resolver from the ppc6...
2021-10-20T18:40:54
nodejs/node
2da7ff5e969538a19c27e6929d435094347f90a8
1d513536651c69076ab8e7d4b2cabe009b1e6f8f
test: fix flaky test-worker-ref-onexit Fixes: https://github.com/nodejs/node/issues/26167 PR-URL: https://github.com/nodejs/node/pull/26170 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@u...
[ { "path": "test/parallel/test-worker-ref-onexit.js", "patch": "@@ -5,6 +5,8 @@ const { Worker } = require('worker_threads');\n // Check that worker.unref() makes the 'exit' event not be emitted, if it is\n // the only thing we would otherwise be waiting for.\n \n-const w = new Worker('', { eval: true });\n+...
2019-02-17T18:06:24
huggingface/transformers
8d8459132a7eb85e641b06cdbcc788c0cee714c1
291772b6b5abb8966179be85af3b3b92acc5ecbf
[test] Fix test_eager_matches_sdpa incorrectly skipped (#40852) * ouput_attentions in typed kwargs * correct typing in GenericForTokenClassification * improve
[ { "path": "src/transformers/modeling_layers.py", "patch": "@@ -262,7 +262,7 @@ def forward(\n inputs_embeds: Optional[torch.FloatTensor] = None,\n labels: Optional[torch.LongTensor] = None,\n use_cache: Optional[bool] = None,\n- **kwargs,\n+ **kwargs: Unpack[Transformer...
2025-09-12T16:07:48
rust-lang/rust
1140e90074b0cbcfdea8535e4b51877e2838227e
ccf3198de316b488ee17441935182e9d5292b4d3
rustdoc search: prefer stable items in search results fixes https://github.com/rust-lang/rust/issues/138067
[ { "path": "src/librustdoc/formats/cache.rs", "patch": "@@ -586,6 +586,7 @@ fn add_item_to_search_index(tcx: TyCtxt<'_>, cache: &mut Cache, item: &clean::It\n search_type,\n aliases,\n deprecation,\n+ stability: item.stability(tcx),\n };\n cache.search_index.push(index_...
2025-05-27T17:42:25
vercel/next.js
7556601c19e5ea1c49c4b68014473bee990e1771
042f4ed97553fedd9c2ceda7e88b4c18f598bed0
TS plugin: ensure error and global-error files are client components (#47882) Add a new plugin rule to ensure that `error.tsx?` and `global-error.tsx?` files inside app dir are client components: <img width="1157" alt="CleanShot-2023-04-04-dlEeu1P6@2x" src="https://user-images.githubusercontent.com/3676859/229643189-...
[ { "path": "packages/next/src/server/typescript/constant.ts", "patch": "@@ -7,6 +7,7 @@ export const NEXT_TS_ERRORS = {\n INVALID_CONFIG_OPTION: 71006,\n INVALID_CLIENT_ENTRY_PROP: 71007,\n INVALID_METADATA_EXPORT: 71008,\n+ INVALID_ERROR_COMPONENT: 71009,\n }\n \n export const ALLOWED_EXPORTS = [", ...
2023-04-04T05:06:09
electron/electron
73632d4189744ac05f658b75e32e6dd6262a992a
ab878c5f989bb3e772068f29b5d09fc1401027f1
Fix RegisterPrefs not working in subclass. Don't call virtual function in subclass's constructor.
[ { "path": "brightray/browser/browser_context.cc", "patch": "@@ -88,6 +88,7 @@ scoped_refptr<BrowserContext> BrowserContext::From(\n return make_scoped_refptr(browser_context_map_[key].get());\n \n auto browser_context = BrowserContext::Create(partition, in_memory);\n+ browser_context->InitPrefs();\n ...
2015-10-06T07:19:38
golang/go
fde4cc2a3189e2c964a0ce49de3cbe79ebedf985
89c527007f75884a78ffede5d493ec021e7dfcdc
testing: reduce memory used by subtest names This is heavily based on CL 341336 by Joe Tsai and CL 351452 by Jay Conrod. T.Run and T.Name use a map[string]int64 to hold the next suffix to use when duplicate names are passed to T.Run. This map necessarily retains one entry per unique name. However, it's a waste of mem...
[ { "path": "src/testing/match.go", "patch": "@@ -17,8 +17,13 @@ type matcher struct {\n \tfilter filterMatch\n \tmatchFunc func(pat, str string) (bool, error)\n \n-\tmu sync.Mutex\n-\tsubNames map[string]int64\n+\tmu sync.Mutex\n+\n+\t// subNames is used to deduplicate subtest names.\n+\t// Each key...
2021-10-05T14:35:31
huggingface/transformers
291772b6b5abb8966179be85af3b3b92acc5ecbf
8502b41bf1862eeea0f1bc7c325f1d44e7b15c8d
add: differential privacy research model (#40851) * VaultGemma * Removing Sequence and Token classification models. Removing integration tests for now * Remove pass-only modular code. style fixes * Update vaultgemma.md * Update docs/source/en/model_doc/vaultgemma.md Co-authored-by: Anton Vlasjuk <73884904+vasqu@u...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -709,6 +709,8 @@\n title: UL2\n - local: model_doc/umt5\n title: UMT5\n+ - local: model_doc/vaultgemma\n+ title: VaultGemma\n - local: model_doc/xmod\n title: X-MOD\n - local: model_doc/xglm", "ad...
2025-09-12T15:36:03
nodejs/node
48491ce40518516c76427bb6948e1c7db67c324f
d2f652f12e5679530a12fed4a2da1db887813014
doc: fix notable changes in v11 changelog
[ { "path": "doc/changelogs/CHANGELOG_V11.md", "patch": "@@ -42,18 +42,18 @@\n \n ### Notable Changes\n \n-* **deps**\n+* **deps**:\n * Updated libuv to 1.26.0. [#26037](https://github.com/nodejs/node/pull/26037)\n * Updated npm to 6.7.0. [#25804](https://github.com/nodejs/node/pull/25804)\n-* **http, htt...
2019-02-15T14:11:40
electron/electron
6fea6cf58acbc00a66837628d3a20d5bd1938fa1
428c5b6d01fb0cc7aaa465ca98832d395e16e2b2
osx: Fix setting size constraints for frameless window
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -22,11 +22,6 @@\n \n namespace {\n \n-// Converts gfx::Size to NSSize.\n-inline NSSize ToNSSize(const gfx::Size& size) {\n- return NSMakeSize(size.width(), size.height());\n-}\n-\n // Prevents window from resizing during the scope.\n class ScopedD...
2015-10-06T07:15:23
vercel/next.js
3e25b06c32776e724641a9bf4e7767a8c5d5a227
9de5b7b7156669771a5423468315399ac148f65d
Fix type plugin for NX workspaces (#47534) The plugin was failing in NX monorepos due to a wrong import path. #44363, https://github.com/nrwl/nx/issues/14558 ``` nx build my-next > nx run my-next:build:production warn - You have enabled experimental feature (appDir) in next.config.js. warn - Experiment...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.test.ts", "patch": "@@ -0,0 +1,69 @@\n+import { NextTypesPlugin } from './next-types-plugin'\n+\n+describe('next-types-plugin', () => {\n+ it('should generate correct base import path', () => {\n+ const plugin = new NextTypesPlugin({\n...
2023-04-03T23:21:01
golang/go
8e3d5f0bb324eebb92cc93264a63afa7ded9ab9a
0bef30d28ac0b9654e5daef0fef731d7a9495214
image/draw: rename and reorder some benchmarks The intention is for BenchmarkFooBar functions to map 1:1 to drawFooBar functions. Recent draw.go changes have added more drawFooBar functions and have further modified the mapping, as fallback drawFooBar functions aren't invoked as often as they used to. This commit res...
[ { "path": "src/image/draw/bench_test.go", "patch": "@@ -190,8 +190,7 @@ func bench(b *testing.B, dcm, scm, mcm color.Model, op Op) {\n \t}\n }\n \n-// The BenchmarkFoo and BenchmarkFooN functions exercise a drawFoo fast-path\n-// function in draw.go.\n+// The BenchmarkFoo functions exercise a drawFoo fast-p...
2021-10-27T03:24:37
huggingface/transformers
8502b41bf1862eeea0f1bc7c325f1d44e7b15c8d
f384bb8ad5eb21fa87ab31faa355c79aae0b925e
[Sam2Video] Fix video inference with batched boxes and add test (#40797) fix video inference with batched boxes and add test
[ { "path": "src/transformers/models/sam2_video/modular_sam2_video.py", "patch": "@@ -836,8 +836,7 @@ def process_new_points_or_boxes_for_video_frame(\n \"(please use clear_old_points=True instead)\"\n )\n box_coords = input_boxes.reshape(1, -1, 2, 2)\n- ...
2025-09-12T14:33:28
nodejs/node
783c65ebc4143ed9afa723f26eaebdecf5f98691
586318aa9f70cdd0f5e0bc93b031ff68f572ed64
src: add debug CHECKs against empty handles These checks were useful while investigating other issues; using empty `Local<>`s can be very un-debuggable, because that typically does not lead to assertions with debugging information but rather crashes based on accessing invalid memory. PR-URL: https://github.com/nodejs...
[ { "path": "src/api/callback.cc", "patch": "@@ -139,6 +139,11 @@ MaybeLocal<Value> InternalMakeCallback(Environment* env,\n Local<Value> argv[],\n async_context asyncContext) {\n CHECK(!recv.IsEmpty());\n+#ifdef DEBUG\n+ for (in...
2019-02-15T10:25:02
huggingface/transformers
f384bb8ad5eb21fa87ab31faa355c79aae0b925e
4cb41ad2a283036a245d22141a9b08788c0071d8
[SAM2] Fix inconsistent results with original implementation with input boxes (#40800) * Fix inconsistencies with box input inference with original repo * remove print * always pad * fix modular
[ { "path": "src/transformers/models/metaclip_2/modeling_metaclip_2.py", "patch": "@@ -960,9 +960,8 @@ def forward(\n interpolate_pos_encoding: bool = False,\n ) -> MetaClip2Output:\n r\"\"\"\n- Args:\n- return_loss (`bool`, *optional*):\n- Whether or not t...
2025-09-12T14:21:22
vercel/next.js
f63463e4e3a9e61c85eda62e0c3e99b963d13743
320ebe2d344d94233e302beede5f310885796521
Update dev IPC request (#47877) This ensures we don't fail to send dev IPC requests when `localhost` resolves to an IPv6 address but the IPC server is listening on IPv4. <details> <summary>example error</summary> ```sh TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11118:11) at p...
[ { "path": "packages/next/src/server/dev/next-dev-server.ts", "patch": "@@ -102,6 +102,7 @@ import { IncrementalCache } from '../lib/incremental-cache'\n import LRUCache from 'next/dist/compiled/lru-cache'\n import { NextUrlWithParsedQuery } from '../request-meta'\n import { deserializeErr, errorToJSON } fro...
2023-04-03T21:52:04
electron/electron
ccf4ed907a2ad95bcbb35925ec9ddf59195605a6
4d302956d344a6e905b58ff3a82ba8a577d437b3
Fix some minor bugs related to KeyboardEvent sending
[ { "path": "atom/common/keyboad_util.cc", "patch": "@@ -10,9 +10,10 @@ namespace atom {\n ui::KeyboardCode KeyboardCodeFromCharCode(char c, bool* shifted) {\n *shifted = false;\n switch (c) {\n- case 8: case 0x7F: return ui::VKEY_BACK;\n- case 9: return ui::VKEY_TAB;\n- case 0xD: case 3: return ...
2015-10-05T17:11:20
rust-lang/rust
96e9fbfdb62618ca01dfd21e3fd70a25793f7f00
485e43f33f0fb44afa0616152c9c63d00b087072
Fix sysroot Cargo.lock
[ { "path": "build_system/build_sysroot/Cargo.lock", "patch": "@@ -1,24 +1,24 @@\n # This file is automatically @generated by Cargo.\n # It is not intended for manual editing.\n-version = 3\n+version = 4\n \n [[package]]\n name = \"addr2line\"\n-version = \"0.22.0\"\n+version = \"0.24.2\"\n source = \"registr...
2025-06-10T15:19:00
golang/go
0bef30d28ac0b9654e5daef0fef731d7a9495214
6113dacf32db7a996bc53fa7ca0db314cd3e7378
cmd/compile/internal/syntax: fix parsing of array or slice constraint types This is a port of the idea used in CL 359134 from go/parser to syntax, with adjustments due to the slightly different structure of the two parsers, and some refactoring to simplify the logic. Fixes #49175. Change-Id: Ib4955bde708f2b08345f355...
[ { "path": "src/cmd/compile/internal/syntax/parser.go", "patch": "@@ -586,42 +586,54 @@ func (p *parser) typeDecl(group *Group) Decl {\n \td.Pragma = p.takePragma()\n \n \td.Name = p.name()\n-\tif p.tok == _Lbrack {\n-\t\t// array/slice or generic type\n-\t\t// name \"[\" ...\n+\tif p.allowGenerics() && p.to...
2021-10-30T17:50:59
nodejs/node
586318aa9f70cdd0f5e0bc93b031ff68f572ed64
009efd0ec398455b7563020a684ef0c9f7f213a2
src: check HasCaught() in JSStream calls `MakeCallback` can return an empty `MaybeLocal<>` even if no exception has been generated, in particular, if we were already terminating the current thread *before* the `TryCatch` scope started, which meant it would not have an exception to report. PR-URL: https://github.com/n...
[ { "path": "src/js_stream.cc", "patch": "@@ -46,7 +46,7 @@ bool JSStream::IsClosing() {\n TryCatchScope try_catch(env());\n Local<Value> value;\n if (!MakeCallback(env()->isclosing_string(), 0, nullptr).ToLocal(&value)) {\n- if (!try_catch.HasTerminated())\n+ if (try_catch.HasCaught() && !try_cat...
2019-02-15T10:17:31
huggingface/transformers
ef053939ca8252805a98771f2a77026a8adc00e6
98a8078127b4a41d1c2d78487abf3bf3831e914b
Fixes for continuous batching (#40828) * Fix for CB attn mask and refactor * Tests for CB (not all passing) * Passing tests and a logger fix * Fixed the KV metrics that were broken when we moved to hybrid alloc * Fix circular import and style * Added tests for FA * Unfolded test to have device expectations * Fi...
[ { "path": "examples/pytorch/continuous_batching.py", "patch": "@@ -187,18 +187,20 @@ def batch_generate(\n \"--attn\", type=str, default=\"paged_attention|kernels-community/flash-attn\", help=\"Attention implementation\"\n )\n parser.add_argument(\"--matmul-precision\", \"-mp\", type=str, de...
2025-09-12T13:35:31
electron/electron
c8723238f8fc6abb68ad42a3f9411760e1fcd048
60fb406c614af764b21df19ff1cc654ee2c1edda
win: Fix building on Windows
[ { "path": "atom/browser/native_window_views_win.cc", "patch": "@@ -118,7 +118,7 @@ void NativeWindowViews::HandleSizeEvent(WPARAM w_param, LPARAM l_param) {\n \n // When the window is restored we resize it to the previous known\n // normal size.\n- SetSize(last_normal_size...
2015-10-05T16:21:37
vercel/next.js
43b0043192b698975b01e34998885ddbf4b499e6
06d60ac1405e814852beb51b6bc7e96f9f29d33e
Polish metadata warnings (#47853) - Add links to the error warning - Log with warning prefix for every url that missing `metadataBase`, so users can easily locate where it's from Closes NEXT-931
[ { "path": "packages/next/src/lib/metadata/resolvers/resolve-url.ts", "patch": "@@ -1,5 +1,5 @@\n import path from '../../../shared/lib/isomorphic/path'\n-import { warnOnce } from '../../../shared/lib/utils/warn-once'\n+import * as Log from '../../../build/output/log'\n \n function isStringOrURL(icon: any): ...
2023-04-03T14:02:48
golang/go
6113dacf32db7a996bc53fa7ca0db314cd3e7378
f582778ee991e8a443e691f9a45c8f0600a748a0
cmd/compile: make -memprofilerate work There are multiple things preventing the -memprofilerate flag from working right now: - CmdFlags.MemProfileRate has type int64, which is currently not supported by the compiler's reflection-based registerFlags. Unfortunately, rather than letting you know this, registerFlags ...
[ { "path": "src/cmd/compile/internal/base/flag.go", "patch": "@@ -109,7 +109,7 @@ type CmdFlags struct {\n \tLive CountFlag \"help:\\\"debug liveness analysis\\\"\"\n \tMSan bool \"help:\\\"build code compatible with C/C++ memory sanitizer\\\"\"\n \tMemProfile s...
2021-09-17T13:56:21
nodejs/node
009efd0ec398455b7563020a684ef0c9f7f213a2
0896fbedf8e6e008ecd8671c06a0a7761139e1d0
inspector: forward errors from InspectorConsoleCall Do not assume that entering JS cannot fail. PR-URL: https://github.com/nodejs/node/pull/26113 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: James ...
[ { "path": "src/inspector_js_api.cc", "patch": "@@ -158,16 +158,22 @@ void InspectorConsoleCall(const FunctionCallbackInfo<Value>& info) {\n CHECK(config_value->IsObject());\n Local<Object> config_object = config_value.As<Object>();\n Local<String> in_call_key = FIXED_ONE_BYTE_STRING(isolate, \"i...
2019-02-14T22:56:50
electron/electron
60fb406c614af764b21df19ff1cc654ee2c1edda
bb4951514582b366a91b4367158e710f5cc1eee0
views: Fix content size constraints in window with menubar
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -519,8 +519,24 @@ void NativeWindowViews::SetMenu(ui::MenuModel* menu_model) {\n \n if (!menu_bar_autohide_) {\n SetMenuBarVisibility(true);\n- if (use_content_size_)\n+ if (use_content_size_) {\n+ // Enlarge the size c...
2015-10-05T16:15:10
vercel/next.js
a59cd1bb278fe55d9a8122cde3c7ecf6659aeb10
b337049d9a2581eb62e686d5c624b973bdc3eb1e
use alias field for resolving module requests in packages (vercel/turbo#4434) ### Description e. g. `"browser": { "fs": false, "net": "./other.js" }` need to be handled ### Testing Instructions tests in next.js fix WEB-839
[ { "path": "crates/turbopack-core/src/resolve/mod.rs", "patch": "@@ -925,6 +925,39 @@ async fn resolve_module_request(\n path: &Pattern,\n _: &QueryMapVc,\n ) -> Result<ResolveResultVc> {\n+ // Check alias field for module aliases first\n+ for in_package in options_value.in_package.iter() {\n+ ...
2023-04-03T13:56:22
golang/go
e39b854a6797a7159602f0d6b351ef35ebfa01d0
5d6d9f5610066584374c2dfe7624fa9f251089a0
crypto/elliptic: use complete addition formulas for P-521 Complete formulas don't have exceptions for P = Q or P = 0, which makes them significantly simpler and safer to implement. Notice how the constant time IsZero checks are gone. It's not free, but still well within the performance gains of CL 315271. name ...
[ { "path": "src/crypto/elliptic/p521.go", "patch": "@@ -11,6 +11,7 @@ import (\n \n type p521Curve struct {\n \t*CurveParams\n+\tb *fiat.P521Element\n }\n \n var p521 p521Curve\n@@ -25,6 +26,7 @@ func initP521() {\n \tp521.Gx, _ = new(big.Int).SetString(\"c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f82...
2021-05-13T19:33:48
nodejs/node
0896fbedf8e6e008ecd8671c06a0a7761139e1d0
7f0c515fed92ffd5fdfb003f99f808968101d7da
vm: do not overwrite error when creating context An empty `Local<>` already indicates that an exception is pending, so there is no need to throw an exception. In the case of Workers, this could override a `.terminate()` call. PR-URL: https://github.com/nodejs/node/pull/26112 Reviewed-By: Colin Ihrig <cjihrig@gmail.co...
[ { "path": "src/node_contextify.cc", "patch": "@@ -171,7 +171,6 @@ MaybeLocal<Context> ContextifyContext::CreateV8Context(\n Local<Context> ctx = NewContext(env->isolate(), object_template);\n \n if (ctx.IsEmpty()) {\n- env->ThrowError(\"Could not instantiate context\");\n return MaybeLocal<Contex...
2019-02-14T22:40:41
huggingface/transformers
98a8078127b4a41d1c2d78487abf3bf3831e914b
77aa35ee9c6366c9bb42e48084a2807dc891ab1f
Fix the misalignment between the l2norm in GDN of Qwen3-Next and the implementation in the FLA library. (#40842) * align torch implementation of gdn with fla. * fix fla import. * fix * remove unused attr * fixes * strictly align l2norm in Qwen3-Next with FLA implementation. --------- Co-authored-by: bozheng-hit...
[ { "path": "src/transformers/models/qwen3_next/modeling_qwen3_next.py", "patch": "@@ -433,6 +433,12 @@ def torch_causal_conv1d_update(\n return out\n \n \n+def l2norm(x: torch.FloatTensor, dim: int = -1, eps: float = 1e-6):\n+ \"\"\"This function is intended to align with the l2norm implementation in ...
2025-09-12T12:08:01
electron/electron
239b97cde16896e127d1f814549e26ee474a4abf
c22ffd863be11ee39c87d9ac228188199f0a2ae7
Update process.md Fixed the `loaded` example according to [this](https://github.com/atom/electron/issues/2984#issuecomment-145465907) comment.
[ { "path": "docs/api/process.md", "patch": "@@ -21,9 +21,11 @@ the global scope when node integration is turned off:\n \n ```js\n // preload.js\n+var _setImmediate = setImmediate;\n+var _clearImmediate = clearImmediate;\n process.once('loaded', function() {\n- global.setImmediate = setImmediate;\n- global....
2015-10-05T13:51:49
huggingface/transformers
6e69b60806ae19f0b45edb96adb40b708172ba7a
827b65c42ca711fc09dbd978c9bc531a53f4782e
Adds Causal Conv 1D kernel for mamba models (#40765) * add kernel * make style * keep causal-conv1d * small fix * small fix * fix modular converter * modular fix + lazy loading * revert changes modular * nit * hub kernels update * update * small nit
[ { "path": "src/transformers/models/falcon_mamba/modeling_falcon_mamba.py", "patch": "@@ -35,6 +35,7 @@\n from ...utils import ModelOutput, auto_docstring, logging\n from ...utils.import_utils import (\n is_causal_conv1d_available,\n+ is_kernels_available,\n is_mamba_ssm_available,\n is_mambap...
2025-09-12T10:22:25
golang/go
5d6d9f5610066584374c2dfe7624fa9f251089a0
8dfb4472318e151656f77623e8cabdca290c22fb
cmd/compile: use Structure() to get single underlying type of typeparam. Use types2.Structure() to get single underlying type of typeparams, to handle some unusual cases where a type param is constrained to a single underlying struct or map type. Fixes #48538 Change-Id: I289fb7b31d489f7586f2b04aeb1df74e15a9f965 Revi...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -344,7 +344,7 @@ func (g *irgen) compLit(typ types2.Type, lit *syntax.CompositeLit) ir.Node {\n \t\treturn typed(g.typ(typ), n)\n \t}\n \n-\t_, isStruct := typ.Underlying().(*types2.Struct)\n+\t_, isStruct := types2.Structure(typ).(*types2.Str...
2021-10-28T02:16:27
nodejs/node
bc724707881fd1be9d083f14987e9fa28f2ebadb
1ae07acfc74c47aa5fe13f2c723401302bb43c27
doc: fix changelog entry PR-URL: https://github.com/nodejs/node/pull/26114 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: ...
[ { "path": "doc/changelogs/CHANGELOG_V11.md", "patch": "@@ -50,7 +50,7 @@\n * **perf_hooks**\n * Implemented a histogram based API. [#25378](https://github.com/nodejs/node/pull/25378)\n * **process**\n- * Exposed `process.features.inspector`. [#25819](https://github.com/nodejs/node/pull/25378)\n+ * Expos...
2019-02-14T23:07:14
vercel/next.js
06d60ac1405e814852beb51b6bc7e96f9f29d33e
217fbbfd3908b89d0c800075ac926845f1bac6ec
New app routes resolving logic for turbopack (#47737) ### What? Refactors the resolving logic for the `app` loader tree. This PR ensures it's used to create entrypoints in turbopack. Next up is integrating it into the webpack build too. These changes also ensure that parallel routes resolving is applied, whic...
[ { "path": ".vscode/settings.json", "patch": "@@ -68,5 +68,11 @@\n \"CARGO_TARGET_DIR\": \"target/rust-analyzer\",\n \"RUST_BACKTRACE\": \"0\"\n },\n- \"cSpell.words\": [\"opentelemetry\", \"zipkin\"]\n+ \"cSpell.words\": [\n+ \"Entrypoints\",\n+ \"napi\",\n+ \"opentelemetry\",\n+ \"T...
2023-04-03T11:07:28
electron/electron
857acd25741969d390dec96a23ad65a01fdd93a1
3b1ee994e21f5afc361c830913bce175a37a6217
win: Fix GetContentSize for minimized window
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -443,6 +443,11 @@ gfx::Rect NativeWindowViews::GetBounds() {\n }\n \n gfx::Size NativeWindowViews::GetContentSize() {\n+#if defined(OS_WIN)\n+ if (IsMinimized())\n+ return NativeWindow::GetContentSize();\n+#endif\n+\n return web_view_->size...
2015-10-05T13:06:57
huggingface/transformers
827b65c42ca711fc09dbd978c9bc531a53f4782e
5e2e77fb45f6eae4aae4cfd5e94fdeb7cea0d08a
Add VideoProcessors to auto-backend requirements (#40843) * add it * fix existing ones * add perception to auto_mapping...
[ { "path": "src/transformers/models/auto/video_processing_auto.py", "patch": "@@ -52,6 +52,7 @@\n (\"internvl\", \"InternVLVideoProcessor\"),\n (\"llava_next_video\", \"LlavaNextVideoVideoProcessor\"),\n (\"llava_onevision\", \"LlavaOnevisionVideoProcessor\"),\n+ ...
2025-09-12T10:21:12
golang/go
8dfb4472318e151656f77623e8cabdca290c22fb
c812b97ec67ae2d674b5bb4e2fd29c7ab7fa08dc
runtime: do not add open defer entry above a started open defer entry Fix two defer bugs related to adding/removing open defer entries. The bugs relate to the way that we add and remove open defer entries from the defer chain. At the point of a panic, when we want to start processing defer entries in order during the ...
[ { "path": "src/runtime/defer_test.go", "patch": "@@ -438,3 +438,82 @@ func expect(t *testing.T, n int, err interface{}) {\n \t\tt.Fatalf(\"have %v, want %v\", err, n)\n \t}\n }\n+\n+func TestIssue43920(t *testing.T) {\n+\tvar steps int\n+\n+\tdefer func() {\n+\t\texpect(t, 1, recover())\n+\t}()\n+\tdefer fu...
2021-10-14T03:48:45
nodejs/node
e74019fa8b7a639b6481fab490d9a0f7b89dec57
006947be9866fb951661fb4e039739488c09061d
doc: fix notable changes list format for 11.9.0 & 11.10.0 PR-URL: https://github.com/nodejs/node/pull/26129 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
[ { "path": "doc/changelogs/CHANGELOG_V11.md", "patch": "@@ -42,18 +42,18 @@\n \n ### Notable Changes\n \n-**deps**\n+* **deps**\n * Updated libuv to 1.26.0. [#26037](https://github.com/nodejs/node/pull/26037)\n * Updated npm to 6.7.0. [#25804](https://github.com/nodejs/node/pull/25804)\n-**http, http2**\...
2019-02-15T13:19:18
vercel/next.js
b3a7d9f0304245a05bbb3bf7372fc8ac0d1fe1cb
68f328f92077e210ae3ee5724ef02035f55d61ba
Enable context caching for middleware/edge functions in dev (#47840) As discussed this enables the context caching for the middleware/edge functions sandbox in development which reduces execution time noticeably as modules don't need to be re-processed for each request unless an HMR event related to that context ha...
[ { "path": "packages/next/src/build/webpack/plugins/nextjs-require-cache-hot-reloader.ts", "patch": "@@ -81,7 +81,12 @@ export class NextJsRequireCacheHotReloader implements WebpackPluginInstance {\n PLUGIN_NAME,\n (_file, { targetPath, content }) => {\n deleteCache(targetPath)\n- ...
2023-04-03T06:51:25
huggingface/transformers
c81f426f9a1a6bb860532201d3efb2f5c0bd087c
cf084f5b40e19b5a5f946cee75bead6d4247b071
🌐 [i18n-KO] Translated clipseg.md to Korean (#39903) * docs: ko: model_doc/clipseg.md * fix: manual edits * Apply suggestions from code review Co-authored-by: Kim Juwon <81630351+Kim-Ju-won@users.noreply.github.com> --------- Co-authored-by: Kim Juwon <81630351+Kim-Ju-won@users.noreply.github.com>
[ { "path": "docs/source/ko/_toctree.yml", "patch": "@@ -1037,7 +1037,7 @@\n title: Chinese-CLIP\n - local: model_doc/clip\n title: CLIP\n- - local: in_translation\n+ - local: model_doc/clipseg\n title: CLIPSeg\n - local: in_translation\n title: CLVP", ...
2025-09-12T00:07:24
golang/go
71e6ab8f958bf346f9e0b46c4a35310615360215
02bd226b8abb713061fcef4e53ffebc57770466b
go/types: slice exprs to accept type sets with single underlying types This is a port of CL 357779 to go/types. A test error message was repositioned on the sliced operand. Change-Id: Ie775c128f70d9cb08a2eba54b8bc082134ec3200 Reviewed-on: https://go-review.googlesource.com/c/go/+/359876 Trust: Robert Findley <rfindle...
[ { "path": "src/go/types/index.go", "patch": "@@ -207,9 +207,14 @@ func (check *Checker) sliceExpr(x *operand, e *ast.SliceExpr) {\n \n \tvalid := false\n \tlength := int64(-1) // valid if >= 0\n-\tswitch typ := optype(x.typ).(type) {\n+\tswitch u := singleUnder(x.typ).(type) {\n+\tcase nil:\n+\t\tcheck.erro...
2021-10-29T22:06:15
nodejs/node
0eb71d42130b4ec72b1c81ec575488c3377c05eb
66942d7d86bc426bd9c3c69e8231d1213257dc03
process: delay setup of global exception handlers Since bootstrap/node.js performs the setup synchronously, the process exception handlers do not have to setup so early in the bootstrap process - any fatal errors thrown before user code execution should simply crash the process, and we do not care about any clean up a...
[ { "path": "lib/internal/bootstrap/node.js", "patch": "@@ -46,24 +46,6 @@ setupTraceCategoryState();\n \n setupProcessObject();\n \n-// TODO(joyeecheung): this does not have to done so early, any fatal errors\n-// thrown before user code execution should simply crash the process\n-// and we do not care about...
2019-02-10T11:00:54
vercel/next.js
68f328f92077e210ae3ee5724ef02035f55d61ba
de97a94d5fd9ff8cbf0e93e0f4bae982ad464679
Fix: fill route params for dynamic route metadata images url (#47829) Should fill dynamic routes url with params when generate the metadata image urls. For `/(group)`, we need to normalize the path first; For dynamic routes `/[slug]`, we need to fill the params. Change the image module from `() => image` to `(...
[ { "path": "packages/next/src/build/webpack/loaders/metadata/discover.ts", "patch": "@@ -103,9 +103,9 @@ export async function createStaticMetadataFromRoute(\n }\n )}!${filepath}${METADATA_RESOURCE_QUERY}`\n \n- const imageModule = `() => import(/* webpackMode: \"eager\" */ ${JSON.st...
2023-04-03T06:42:33
huggingface/transformers
cf084f5b40e19b5a5f946cee75bead6d4247b071
dfae7dd98ddbef9ce1df4a6eecab35b0eff4dac6
[`Jetmoe`] Fix RoPE (#40819) * fix * remove prints * why was this there...
[ { "path": "src/transformers/models/jetmoe/configuration_jetmoe.py", "patch": "@@ -94,6 +94,7 @@ class JetMoeConfig(PretrainedConfig):\n \n model_type = \"jetmoe\"\n keys_to_ignore_at_inference = [\"past_key_values\"]\n+ attribute_map = {\"head_dim\": \"kv_channels\"}\n \n def __init__(\n ...
2025-09-11T16:41:11
golang/go
02bd226b8abb713061fcef4e53ffebc57770466b
3571ab58b8069fd945427ba49c4d8a702325bdb0
go/types: range clause to accept type sets with single underlying types This is a port of CL 357778 to go/types, adjusted to include error codes and to use the different range statement syntax in go/ast. Change-Id: Id537c195cd33a8b422a366269ca8730c2a5bccf1 Reviewed-on: https://go-review.googlesource.com/c/go/+/359875...
[ { "path": "src/go/types/stmt.go", "patch": "@@ -832,20 +832,28 @@ func (check *Checker) stmt(ctxt stmtContext, s ast.Stmt) {\n \t\t// determine key/value types\n \t\tvar key, val Type\n \t\tif x.mode != invalid {\n-\t\t\t// Ranging over a type parameter is permitted if it has a structural type.\n-\t\t\ttyp ...
2021-10-29T22:01:09
nodejs/node
a02e3e2d5f1f96f3c408270d45935afdd5d1fffc
05cd1a0929441943ba2d90c210c2d8bd8560293f
lib: improve error message for MODULE_NOT_FOUND Include the require stack in the reported error message. PR-URL: https://github.com/nodejs/node/pull/25690 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M ...
[ { "path": "lib/internal/modules/cjs/loader.js", "patch": "@@ -612,8 +612,12 @@ Module._resolveFilename = function(request, parent, isMain, options) {\n cursor = cursor.parent) {\n requireStack.push(cursor.filename || cursor.id);\n }\n+ let message = `Cannot find module '${request}'`;\n+ ...
2019-02-13T21:21:10
electron/electron
279407f7a300e0914b5fdc6b0b6cb0fb3b23a2f8
a76ea00249286b791a3308230ea7179516ef38d0
osx: Fix converting size for frameless window
[ { "path": "atom/browser/native_window_mac.mm", "patch": "@@ -789,12 +789,18 @@ - (void)drawRect:(NSRect)dirtyRect {\n }\n \n gfx::Size NativeWindowMac::ContentSizeToWindowSize(const gfx::Size& size) {\n+ if (!has_frame())\n+ return size;\n+\n NSRect content = NSMakeRect(0, 0, size.width(), size.height...
2015-10-05T11:32:23
huggingface/transformers
895b3ebe418ebcf6a37fc838ff0effdb69d98386
6d369124adce78d4fbf5eacf96578222623375f7
Fix typos in src (#40782) Fix typoes in src Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "src/transformers/generation/flax_utils.py", "patch": "@@ -221,7 +221,7 @@ def _expand_to_num_beams(tensor, num_beams):\n def _adapt_logits_for_beam_search(self, logits):\n \"\"\"\n This function can be overwritten in the specific modeling_flax_<model-name>.py classes to allow ...
2025-09-11T12:15:15
rust-lang/rust
bb4a1ec431c699a4cd59cd408951e664dd485437
e3ec14385f62ea80f40e7b131ca2ccb58a1cafcf
[minor] Fix typos
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/lib.rs", "patch": "@@ -1245,7 +1245,7 @@ pub struct SyntheticSyntax;\n // Crate authors can opt their type out of completions in some cases.\n // This is done with the `#[rust_analyzer::completions(...)]` attribute.\n //\n-// All completeable things supp...
2025-06-10T11:17:15
golang/go
c76893d0da115a63374982196384f78fff224d55
994049a9ad3d4230d0835ce36616a34a466f6718
crypto/elliptic: refactor P-224 field implementation Improved readability, replaced constant time bit masked operations with named functions, added comments. The behavior of every function should be unchanged. The largest change is the logic that in p224Contract checks if the value is greater than or equal to p. Inst...
[ { "path": "src/crypto/elliptic/p224.go", "patch": "@@ -10,7 +10,9 @@ package elliptic\n // See https://www.imperialviolet.org/2010/12/04/ecc.html ([1]) for background.\n \n import (\n+\t\"encoding/binary\"\n \t\"math/big\"\n+\t\"math/bits\"\n )\n \n var p224 p224Curve\n@@ -139,41 +141,22 @@ func (curve p224...
2021-01-08T18:09:07
nodejs/node
05cd1a0929441943ba2d90c210c2d8bd8560293f
128170f5c6d26fea3c46ecb1f523e12a5a8093e1
lib: requireStack property for MODULE_NOT_FOUND Include the stack of requires that led to a MODULE_NOT_FOUND error. PR-URL: https://github.com/nodejs/node/pull/25690 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-B...
[ { "path": "doc/api/errors.md", "patch": "@@ -1964,7 +1964,12 @@ an `Error` with this code will be emitted.\n \n <a id=\"MODULE_NOT_FOUND\"></a>\n ### MODULE_NOT_FOUND\n-\n+<!-- YAML\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/25690\n+ description: Added `requireS...
2019-01-28T19:24:37
electron/electron
7de3aa3cc1eef66a84df8d474954d4e2d81a1adb
ec0a8a13219a18989623878ed063449742a42bd6
Fix typo, closes #2990
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -351,7 +351,7 @@ void NativeWindowViews::ShowInactive() {\n }\n \n void NativeWindowViews::Hide() {\n- web_contents()->WasHidden();\n+ window_->Hide();\n }\n \n bool NativeWindowViews::IsVisible() {", "additions": 1, "deletions": 1, ...
2015-10-05T11:57:14
huggingface/transformers
6d369124adce78d4fbf5eacf96578222623375f7
0f1b128d3359a26bd18be99c26d7f04fb3cba914
Align torch implementation of Gated DeltaNet in Qwen3-Next with fla library. (#40807) * align torch implementation of gdn with fla. * fix fla import. * fix * remove unused attr * fixes --------- Co-authored-by: bozheng-hit <dsoul0621@gmail.com> Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
[ { "path": "src/transformers/models/qwen3_next/modeling_qwen3_next.py", "patch": "@@ -446,8 +446,10 @@ def torch_chunk_gated_delta_rule(\n ):\n initial_dtype = query.dtype\n if use_qk_l2norm_in_kernel:\n- query = F.normalize(query, p=2, dim=-1)\n- key = F.normalize(key, p=2, dim=-1)\n+ ...
2025-09-11T11:10:15
golang/go
5ec139fa78ac6ba3f0f715b6aa9235d36346a4a4
459293388ceb74d9cf61c930f02325645cd0cb7d
runtime: remove unnecessary argument stores for panicIndex etc. on ARM64 If register ABI is used, no need to store the arguments to stack. I forgot them in CL 323937. Change-Id: I888af2b547a8fc97d13716bc8e8f3acd5c5bc127 Reviewed-on: https://go-review.googlesource.com/c/go/+/351609 Trust: Cherry Mui <cherryyz@google.c...
[ { "path": "src/runtime/asm_arm64.s", "patch": "@@ -1383,12 +1383,16 @@ flush:\n // Defined as ABIInternal since the compiler generates ABIInternal\n // calls to it directly and it does not use the stack-based Go ABI.\n TEXT runtime·panicIndex<ABIInternal>(SB),NOSPLIT,$0-16\n+#ifndef GOEXPERIMENT_regabiargs\...
2021-09-22T20:49:39
nodejs/node
128170f5c6d26fea3c46ecb1f523e12a5a8093e1
51d20b6a8f695947a700e7fed8f0e5b33b79cefb
build: fixed clang's warning when building openssl clang doesn't seem to support 'Wno-old-style-declaration', this is a work-around. Fixes: https://github.com/nodejs/node/issues/25550 Refs: https://github.com/nodejs/node-v0.x-archive/issues/4186 PR-URL: https://github.com/nodejs/node/pull/25954 Reviewed-By: Refael A...
[ { "path": "deps/openssl/openssl_common.gypi", "patch": "@@ -57,14 +57,17 @@\n ],\n }, {\n # linux and others\n- 'cflags': ['-Wno-missing-field-initializers',\n- ## TODO: check gcc_version>=4.3\n- '-Wno-old-style-declaration'],\n+ 'cflags': ['-Wno-mis...
2019-02-06T01:58:43
huggingface/transformers
0f1b128d3359a26bd18be99c26d7f04fb3cba914
02f1d7c09141203acb7e8ff7628cd9e5e07c327d
⚠️ 🔴 Add ministral model (#40247) * add ministral model * docs, tests * nits * fix tests * run modular after merge * opsie * integration tests * again * fff * dtype * rerun modular * arthur review * ops * review
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -585,6 +585,8 @@\n title: MegatronGPT2\n - local: model_doc/minimax\n title: MiniMax\n+ - local: model_doc/ministral\n+ title: Ministral\n - local: model_doc/mistral\n title: Mistral\n - local: model_...
2025-09-11T08:30:39
rust-lang/rust
95fdb2d81188cc04d3b26689da6e2d8cf3b0bb33
3bae562b51452906e7f8046f984d8e861c0e8bc5
Do not error at impls for unsized types that do not include `where Self: Sized` items
[ { "path": "src/tools/rust-analyzer/crates/hir-ty/src/dyn_compatibility.rs", "patch": "@@ -122,7 +122,7 @@ pub fn dyn_compatibility_of_trait_query(\n res\n }\n \n-fn generics_require_sized_self(db: &dyn HirDatabase, def: GenericDefId) -> bool {\n+pub fn generics_require_sized_self(db: &dyn HirDatabase, d...
2025-06-10T11:04:21
vercel/next.js
808a27ca3602a2ac0ef55dbea62946cec86b29d1
400ccf7b1c802c94127d8d8e0d5e9bdf9aab270c
Update render IPC handling (#47835) This removes usage of fetch for render IPC calls as it introduces issues across Node.js versions, IPC error handling is also updated here to correctly handle instanceof check on `PageNotFoundError`. x-ref: https://github.com/vercel/next.js/actions/runs/4590201858/jobs/81064781...
[ { "path": "packages/next/src/server/dev/next-dev-server.ts", "patch": "@@ -1265,7 +1265,17 @@ export default class DevServer extends Server {\n const body = await res.text()\n \n if (body.startsWith('{') && body.endsWith('}')) {\n- return JSON.parse(body)\n+ const parsedBody = JSON...
2023-04-03T04:56:46
golang/go
459293388ceb74d9cf61c930f02325645cd0cb7d
6afdf01e5385183bea4ba2661bb4088b32626b3d
cmd/go: document that tests must not write to their source modules Fixes #28386 Updates #48495 Change-Id: I76186077c7bbe3f8f608026ee1865de83fe169b4 Reviewed-on: https://go-review.googlesource.com/c/go/+/359574 Trust: Bryan C. Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian L...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -2951,7 +2951,11 @@\n // When 'go test' runs a test binary, it does so from within the\n // corresponding package's source code directory. Depending on the test,\n // it may be necessary to do the same when invoking a generated test\n-// binary directly.\n+// ...
2021-10-29T00:54:45
nodejs/node
51d20b6a8f695947a700e7fed8f0e5b33b79cefb
8e68dc53b3526f46455c5b094cd8c08e87e22df1
fs, src, lib: fix `blksize` & `blocks` on Windows libuv returns values for `blksize` and `blocks` on stat calls so do not coerce them into `undefined` on Windows. PR-URL: https://github.com/nodejs/node/pull/26056 Fixes: https://github.com/nodejs/node/issues/25913 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Review...
[ { "path": "doc/api/fs.md", "patch": "@@ -3427,8 +3427,7 @@ to compare `curr.mtime` and `prev.mtime`.\n \n When an `fs.watchFile` operation results in an `ENOENT` error, it\n will invoke the listener once, with all the fields zeroed (or, for dates, the\n-Unix Epoch). In Windows, `blksize` and `blocks` fields...
2019-02-12T15:39:10
huggingface/transformers
02f1d7c09141203acb7e8ff7628cd9e5e07c327d
de01a22aff21d16532d8dd68806589ca6c73dd5c
Fix config dtype parsing for Emu3 edge case (#40766) * fix emu3 config Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> * address comment Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> * add comments Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> --------- Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
[ { "path": "src/transformers/configuration_utils.py", "patch": "@@ -1058,7 +1058,9 @@ def dict_dtype_to_str(self, d: dict[str, Any]) -> None:\n if d.get(\"dtype\") is not None:\n if isinstance(d[\"dtype\"], dict):\n d[\"dtype\"] = {k: str(v).split(\".\")[-1] for k, v in d[...
2025-09-11T08:26:45
vercel/next.js
819453e3a6cc4f35be4d988d4119579c8e46488e
26e8197d7b3f3c2d478abf09b642a0fcc03849f6
Fix dev ipc request on node v16 (#47825) This ensures we filter conflicting headers from the initial request when passing it to a render worker since undici in Node.js v16 fails on these. x-ref: https://github.com/vercel/next.js/actions/runs/4588955268/jobs/8105263272
[ { "path": "packages/next/src/server/lib/server-ipc.ts", "patch": "@@ -102,3 +102,25 @@ export const createWorker = (\n \n return worker\n }\n+\n+export const filterReqHeaders = (\n+ headers: Record<string, undefined | string | string[]> | Headers\n+) => {\n+ const forbiddenHeaders = [\n+ 'content-len...
2023-04-02T18:27:31
golang/go
6afdf01e5385183bea4ba2661bb4088b32626b3d
5ec2427357f4917d0aad40cffddeea73e580129e
cmd/go: make assertions more precise in TestScript/gcflags_patterns This fixes a rare test flake observed in https://build.golang.org/log/18e531785e7f8b3e6a6d5231787a9d8bdd4a60ea. Change-Id: I0986752f5c1abc626070b9f8ecf34c629a15cd2a Reviewed-on: https://go-review.googlesource.com/c/go/+/359735 Trust: Bryan C. Mills <...
[ { "path": "src/cmd/go/testdata/script/gcflags_patterns.txt", "patch": "@@ -7,24 +7,24 @@ env GOCACHE=$WORK/gocache # Looking for compile commands, so need a clean cache\n \n # -gcflags=-e applies to named packages, not dependencies\n go build -n -v -gcflags=-e z1 z2\n-stderr 'compile.* -p z1.* -e'\n-stderr...
2021-10-29T16:07:55
nodejs/node
8e68dc53b3526f46455c5b094cd8c08e87e22df1
fe58bef7e2f10048172e9875a08376320f1e1835
test: increase coverage for assertion_error.js Add a test for long strings and assert.notDeepEqual() to cover code that truncates output when it is longer than 1024 characters. PR-URL: https://github.com/nodejs/node/pull/26065 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargi...
[ { "path": "test/parallel/test-assert-deep.js", "patch": "@@ -653,16 +653,22 @@ assertDeepAndStrictEqual(-0, -0);\n \n assert.deepEqual(new Date(2000, 3, 14), new Date(2000, 3, 14));\n \n-assert.throws(() => assert.deepEqual(new Date(), new Date(2000, 3, 14)),\n+assert.throws(() => { assert.deepEqual(new Dat...
2019-02-13T03:22:41
huggingface/transformers
de01a22aff21d16532d8dd68806589ca6c73dd5c
ec532f20fba67d08f29a6ecdb1404f42a351221f
Fix edge case for tokenize (#36277) (#36555) * Fix edge case for tokenize (#36277) * Fix tokenizing dtype for float input cases * add test for empty input string * deal empty list of list like [[]] * add tests for tokenizer for models with input that is not plain text
[ { "path": "src/transformers/__init__.py", "patch": "@@ -32,6 +32,7 @@\n is_g2p_en_available,\n is_librosa_available,\n is_mistral_common_available,\n+ is_mlx_available,\n is_pretty_midi_available,\n )\n \n@@ -239,6 +240,7 @@\n \"is_flax_available\",\n \"is_keras_nlp_availa...
2025-09-11T07:57:30
electron/electron
4d02fc58fa183c13273888cc30a874abaee52238
8c31c7fb593d025ec00259905c9ac8ca856d9cbb
Fix restore/unmaximize wrong window size This resolves #2498.
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -283,6 +283,8 @@ NativeWindowViews::NativeWindowViews(\n else\n last_window_state_ = ui::SHOW_STATE_NORMAL;\n \n+ last_normal_size_ = gfx::Size(widget_size_);\n+\n if (!has_frame()) {\n // Set Window style so that we get a minimize a...
2015-10-05T00:29:02
golang/go
8e112a7c2a814de9156f68dc8b167e4ef8c98c52
4a5d78ff8b7e777d70b18a61698b1ac07bbd623d
runtime: move heapLive and heapScan updates into a method This change moves heapLive and heapScan updates on gcController into a method for better testability. It's also less error-prone because code that updates these fields needs to remember to emit traces and/or call gcController.revise; this method now handles tho...
[ { "path": "src/runtime/mcache.go", "patch": "@@ -184,24 +184,13 @@ func (c *mcache) refill(spc spanClass) {\n \t}\n \tmemstats.heapStats.release()\n \n-\t// Update gcController.heapLive with the same assumption.\n-\tusedBytes := uintptr(s.allocCount) * s.elemsize\n-\tatomic.Xadd64(&gcController.heapLive, in...
2021-04-11T18:29:03
huggingface/transformers
df67cd35f0ca1a1cbf7147b2576db31b16200cf4
549ba5b8b69a595aa8c18b72165bf8ddf1c30c8e
Fix DeepSpeed mixed precision precedence over Accelerate defaults (#39856) * Fix DeepSpeed mixed precision precedence over Accelerate defaults Resolves issue where Accelerate would default to bf16 mixed precision when a DeepSpeed config specifies fp16, causing a ValueError. The fix ensures DeepSpeed config takes prec...
[ { "path": "src/transformers/integrations/deepspeed.py", "patch": "@@ -130,11 +130,58 @@ def fill_match(self, ds_key_long, hf_val, hf_key=None, must_match=True):\n \n fill_only = partialmethod(fill_match, must_match=False)\n \n+ def override_training_args_from_deepspeed(self, args):\n+ \"\"\"\n...
2025-09-11T07:12:15
rust-lang/rust
8f069e948a81357d8fa38fe359b06afeeeaed622
40daf23eeb711dadf140b2536e67e3ff4c999196
enable rustc debug assertions on -alt builds llvm assertions are already enabled and debug assertions are also useful
[ { "path": "src/ci/run.sh", "patch": "@@ -134,6 +134,11 @@ if [ \"$DEPLOY$DEPLOY_ALT\" = \"1\" ]; then\n \n CODEGEN_BACKENDS=\"${CODEGEN_BACKENDS:-llvm}\"\n RUST_CONFIGURE_ARGS=\"$RUST_CONFIGURE_ARGS --set rust.codegen-backends=$CODEGEN_BACKENDS\"\n+\n+ # Unless explicitly disabled, we want rustc debug ...
2024-09-30T16:17:50
vercel/next.js
fdacca8abc424288e95c65fe31d1d28d479adc36
fae94416ffaf31eea36da6176b561ec0ba68c03f
Add initial separated route resolving (#47208) This updates to have a separate routing process and separate rendering processes for `pages` and `app` so that we can properly isolate the two since they rely on different react versions. Besides allowing the above mentioned isolation this also helps us control reco...
[ { "path": "packages/next-env/index.ts", "patch": "@@ -10,7 +10,7 @@ export type LoadedEnvFiles = Array<{\n contents: string\n }>\n \n-let initialEnv: Env | undefined = undefined\n+export let initialEnv: Env | undefined = undefined\n let combinedEnv: Env | undefined = undefined\n let cachedLoadedEnvFiles: ...
2023-04-02T13:17:15
nodejs/node
582c0d5a092b04616fef4b11b0fd893c181356f1
7d60b6b21b7d47d22ac7a321eb5b47cf90d63ecf
trace_events: fix trace events JS API writing The Trace Events JS API isn't functional if none of --trace-events-enabled or --trace-event-categories is passed as a CLI argument. This commit fixes that. In addition, we currently don't test the trace_events JS API in the casewhere no CLI args are provided. This commit ...
[ { "path": "src/node_trace_events.cc", "patch": "@@ -74,6 +74,9 @@ void NodeCategorySet::Enable(const FunctionCallbackInfo<Value>& args) {\n CHECK_NOT_NULL(category_set);\n const auto& categories = category_set->GetCategories();\n if (!category_set->enabled_ && !categories.empty()) {\n+ // Starts th...
2018-12-10T20:44:18
huggingface/transformers
dae1ccfb980657b596b6adf1d800cf1dbf1967eb
7d57b31e16d5a08fda29578c31fc1924fefc50b2
fix_image_processing_fast_for_glm4v (#40483) * fix_image_processing_fast_for_glm4v * fix(format): auto-ruff format * add test image processing glm4v * fix quality --------- Co-authored-by: Your Name <you@example.com> Co-authored-by: yonigozlan <yoni.gozlan@huggingface.co>
[ { "path": "src/transformers/models/glm4v/image_processing_glm4v_fast.py", "patch": "@@ -22,6 +22,8 @@\n from ...image_processing_utils_fast import (\n BaseImageProcessorFast,\n DefaultFastImageProcessorKwargs,\n+ group_images_by_shape,\n+ reorder_images,\n )\n from ...image_utils import (\n ...
2025-09-10T21:05:27
rust-lang/rust
6d1db1144c4c21b5e2e31a98f89c2d6109403d48
40daf23eeb711dadf140b2536e67e3ff4c999196
const_eval: fix some outdated comments
[ { "path": "compiler/rustc_const_eval/src/check_consts/check.rs", "patch": "@@ -356,10 +356,7 @@ impl<'mir, 'tcx> Checker<'mir, 'tcx> {\n hir::ConstContext::ConstFn => true,\n _ => {\n // For indirect places, we are not creating a new permanent borrow, it's just as\n- ...
2025-06-10T09:45:38
golang/go
903f313d8b6e85c031fc5918273ff4800fa9f952
413672fc84e0ced7531cdc7cf0e5db32061e8194
runtime: fix unclosed GCSweepStart trace event CL 333389 erroneously moved traceGCSweepDone inside the sl.valid block that it introduced in mcentral.cacheSpan, when it should have left it outside that scope, because the trace event is created unconditionally at the top of the method. Fixes #49231. Change-Id: If719c0...
[ { "path": "src/runtime/mcentral.go", "patch": "@@ -154,10 +154,10 @@ func (c *mcentral) cacheSpan() *mspan {\n \t\t\t// See comment for partial unswept spans.\n \t\t}\n \t\tsweep.active.end(sl)\n-\t\tif trace.enabled {\n-\t\t\ttraceGCSweepDone()\n-\t\t\ttraceDone = true\n-\t\t}\n+\t}\n+\tif trace.enabled {\...
2021-10-29T17:58:42
electron/electron
c205ab0944936532f34f407abb2108d45a1930c4
6ca7767f09e375710cdb5229d7b08781e101e274
Fix tooltip can not show outside window
[ { "path": "brightray/browser/views/views_delegate.cc", "patch": "@@ -5,6 +5,7 @@\n #include \"browser/views/views_delegate.h\"\n \n #include \"ui/views/widget/desktop_aura/desktop_native_widget_aura.h\"\n+#include \"ui/views/widget/native_widget_aura.h\"\n \n #if defined(OS_LINUX)\n #include \"ui/views/linu...
2015-10-04T14:15:01
vercel/next.js
90ac02f7be2706d2332a233d481d13c2c8b46f8e
c1a2b4f15e64ef1ea2d3411a734586d1618f589d
Fix failing rust-check (#47811) This corrects a failing rust-check that slipped through in https://github.com/vercel/next.js/pull/47677 due to the check not being marked as required which it now is. x-ref: https://github.com/vercel/next.js/actions/runs/4587341207/jobs/8100906394
[ { "path": "packages/next-swc/crates/next-core/src/router_source.rs", "patch": "@@ -1,5 +1,4 @@\n use anyhow::{anyhow, Context, Result};\n-use futures::stream::StreamExt;\n use indexmap::IndexSet;\n use turbo_binding::turbopack::{\n core::{", "additions": 0, "deletions": 1, "language": "Rust"...
2023-04-02T08:03:46
nodejs/node
1c66ad408b0fe268ae53a2c90b936284eb546815
a80b29b38a66cec456e4ec73fb8030f45d186005
doc: renamed remote's name To keep consistency through-out the guide. Fixes: https://github.com/nodejs/node/issues/26045 PR-URL: https://github.com/nodejs/node/pull/26050 Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Re...
[ { "path": "doc/guides/contributing/pull-requests.md", "patch": "@@ -301,7 +301,7 @@ changes that have landed in `master` by using `git rebase`:\n \n ```text\n $ git fetch --all\n-$ git rebase origin/master\n+$ git rebase upstream/master\n $ git push --force-with-lease origin my-branch\n ```\n ", "additi...
2019-02-11T21:14:19
huggingface/transformers
e5ecb03c92b882296ffe84a473e7e993d541cf01
abbed7010be490a24c46aa90dedaa7aa48d78487
Fix the issue that csm model cannot work with pipeline mode. (#39349) * Fix the issue that csm model cannot work with pipeline mode. Signed-off-by: yuanwu <yuan.wu@intel.com> * Remove batching inference Signed-off-by: yuanwu <yuan.wu@intel.com> * csm output is list of tensor Signed-off-by: yuanwu <yuan.wu@intel.c...
[ { "path": "src/transformers/models/auto/tokenization_auto.py", "patch": "@@ -167,6 +167,7 @@\n ),\n ),\n (\"cpmant\", (\"CpmAntTokenizer\", None)),\n+ (\"csm\", (None, \"PreTrainedTokenizerFast\" if is_tokenizers_available() else None)),\n (\"ctrl\", (\"CTRLTokeniz...
2025-09-10T16:17:35
golang/go
353d5b6c536c7028eba058ba27014fae0206298a
d8fc7f785e84515c0a5beb8baeb3c1ca35bebf68
runtime: enable crash dump creation on Windows This change provides ability to create dumps on Windows that can be used by "dlv core" command. Currently only full dumps can be correctly read by Delve. Below are the steps to create and use the dumps. 1. Configure Windows OS to collect dumps before running the program....
[ { "path": "src/runtime/os_windows.go", "patch": "@@ -40,6 +40,7 @@ const (\n //go:cgo_import_dynamic runtime._LoadLibraryW LoadLibraryW%1 \"kernel32.dll\"\n //go:cgo_import_dynamic runtime._LoadLibraryA LoadLibraryA%1 \"kernel32.dll\"\n //go:cgo_import_dynamic runtime._PostQueuedCompletionStatus PostQueuedC...
2021-04-05T23:00:07
electron/electron
d4bfeff6ad1686feb4a815096bb7890230a73a01
a2a4970f5f6601c6e8b713e6fe342ea63d78b022
Fix crashing on Linux
[ { "path": "atom/browser/atom_browser_main_parts.cc", "patch": "@@ -53,6 +53,7 @@ void AtomBrowserMainParts::RegisterDestructionCallback(\n }\n \n void AtomBrowserMainParts::PreEarlyInitialization() {\n+ brightray::BrowserMainParts::PreEarlyInitialization();\n #if defined(OS_POSIX)\n HandleSIGCHLD();\n #e...
2015-10-04T12:08:19
vercel/next.js
9c99d792094db846001eee0606906e1dd3e30bef
8e8eec3b21918d29fdca803f281bed591a8f5ac6
Fix prefetch only being applied once (#47797) ### What / why? Currently there is a bug because the `subTreeData` can only be applied once, however, we reuse the same response when a url was prefetched. During the first render of the response we apply the cacheNodes and then these should be reused for subsequent ...
[ { "path": "packages/next/src/client/components/router-reducer/apply-flight-data.ts", "patch": "@@ -7,7 +7,8 @@ import { ReadonlyReducerState } from './router-reducer-types'\n export function applyFlightData(\n state: ReadonlyReducerState,\n cache: CacheNode,\n- flightDataPath: FlightDataPath\n+ flight...
2023-04-02T06:12:49
nodejs/node
0109e121d3a2f87c4bad75ac05436b56c9fd3407
ec76f7cf8f4becb2c388aa6ad771f134f1466147
deps: upgrade to libuv 1.26.0 Notable changes: - A bug that could result in 100% CPU utilization in Node has been fixed (https://github.com/libuv/libuv/issues/2162) - Node's report module will now include the entire Windows product name (https://github.com/libuv/libuv/pull/2170) PR-URL: https://github.com/nodejs/...
[ { "path": "deps/uv/AUTHORS", "patch": "@@ -366,3 +366,6 @@ ptlomholt <pt@lomholt.com>\n Victor Costan <pwnall@chromium.org>\n sid <sidyhe@hotmail.com>\n Kevin Adler <kadler@us.ibm.com>\n+Stephen Belanger <admin@stephenbelanger.com>\n+yeyuanfeng <yeyuanfeng@bytedance.com>\n+erw7 <erw7.github@gmail.com>", ...
2019-02-10T16:55:38
huggingface/transformers
abbed7010be490a24c46aa90dedaa7aa48d78487
75202b09283ee48263642114013155034459195a
Fix dotted model names (#40745) * Fix module loading for models with dots in names * quality check * added test * wrong import * Trigger CI rerun after making test model public * Update src/transformers/dynamic_module_utils.py * Update tests/utils/test_dynamic_module_utils.py * Update tests/utils/test_dynamic_m...
[ { "path": "src/transformers/dynamic_module_utils.py", "patch": "@@ -45,6 +45,16 @@\n \n \n logger = logging.get_logger(__name__) # pylint: disable=invalid-name\n+\n+\n+def _sanitize_module_name(name: str) -> str:\n+ \"\"\"\n+ Replace `.` in module names with `_dot_` so that it doesn't\n+ look like...
2025-09-10T14:34:56
golang/go
645d07819b2224ba4d759829443f7c6442162c69
3aecb3a8f7e1435c76003a20068c0208fd73649a
sync: add Mutex.TryLock, RWMutex.TryLock, RWMutex.TryRLock Use of these functions is almost (but not) always a bad idea. Very rarely they are necessary, and third-party implementations (using a mutex and an atomic word, say) cannot integrate as well with the race detector as implmentations in package sync itself. Fi...
[ { "path": "src/sync/mutex.go", "patch": "@@ -81,6 +81,21 @@ func (m *Mutex) Lock() {\n \tm.lockSlow()\n }\n \n+// TryLock tries to lock m and reports whether it succeeded.\n+//\n+// Note that while correct uses of TryLock do exist, they are rare,\n+// and use of TryLock is often a sign of a deeper problem\n...
2021-05-13T14:44:47
electron/electron
a2a4970f5f6601c6e8b713e6fe342ea63d78b022
0e131f760b63ad199c5fffa13b2d422cf3bb5e26
Fix cpplint warnings
[ { "path": "atom/browser/atom_browser_main_parts_posix.cc", "patch": "@@ -171,7 +171,7 @@ void AtomBrowserMainParts::HandleSIGCHLD() {\n struct sigaction action;\n memset(&action, 0, sizeof(action));\n action.sa_handler = SIGCHLDHandler;\n- CHECK(sigaction(SIGCHLD, &action, NULL) == 0);\n+ CHECK_EQ(s...
2015-10-04T11:36:41
vercel/next.js
8e8eec3b21918d29fdca803f281bed591a8f5ac6
2601f5598264472a8392948509f3e13301f19ee9
fix: added tab and carriage to isWhitespace function to make robust (#47785)
[ { "path": "packages/next/src/client/components/react-dev-overlay/internal/components/hot-linked-text/get-words-and-whitespaces.ts", "patch": "@@ -1,5 +1,6 @@\n-function isWhitespace(char: string) {\n- return char === ' ' || char === '\\n'\n+// Returns true if the given character is a whitespace character, ...
2023-04-02T05:49:07
nodejs/node
048b977d8e5cede2259df69fc7c0bbfedd84100d
666beb0421a10c6f062bff88828b9ccad7b3fceb
lib: fix the typo error Fix a typo error ('the' before 'any'). PR-URL: https://github.com/nodejs/node/pull/26032 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.i...
[ { "path": "lib/internal/repl/recoverable.js", "patch": "@@ -10,7 +10,7 @@ const { tokTypes: tt, Parser: AcornParser } = acorn;\n function isRecoverableError(e, code) {\n let recoverable = false;\n \n- // Determine if the point of the any error raised is at the end of the input.\n+ // Determine if the po...
2019-02-10T11:57:52
huggingface/transformers
7401cfa57c553fb53ebff4b99e3887c9dc25f79a
8ab2448707bdb239ac0c9796e1e8a4c1995e0034
Use functools.cached_property (#40607) * cached_property is avaiable in functools Signed-off-by: cyy <cyyever@outlook.com> * Remove cached_property Signed-off-by: cyy <cyyever@outlook.com> * Fix docs Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> --------- Signed-off-by: cyy <cyyever@outlook.com> Signed-off...
[ { "path": "docs/source/en/internal/file_utils.md", "patch": "@@ -41,10 +41,6 @@ Most of those are only useful if you are studying the general code in the librar\n \n [[autodoc]] utils.replace_return_docstrings\n \n-## Special Properties\n-\n-[[autodoc]] utils.cached_property\n-\n ## Other Utilities\n \n [[a...
2025-09-10T12:15:40
rust-lang/rust
f3af86010b3a084c35a11d347bfca500743209e5
d13a431a6cc69cd65efe7c3eb7808251d6fd7a46
add a fixme to use `extern_custom` when available
[ { "path": "library/compiler-builtins/compiler-builtins/src/probestack.rs", "patch": "@@ -125,6 +125,9 @@ macro_rules! define_rust_probestack {\n // Our goal here is to touch each page between %rsp+8 and %rsp+8-%rax,\n // ensuring that if any pages are unmapped we'll make a page fault.\n //\n+// FIXME(abi_cu...
2025-06-09T22:59:09
golang/go
3aecb3a8f7e1435c76003a20068c0208fd73649a
f2885263748364a2a7f4e0d47abd5095699cd39f
runtime: fix sweep termination condition Currently, there is a chance that the sweep termination condition could flap, causing e.g. runtime.GC to return before all sweep work has not only been drained, but also completed. CL 307915 and CL 307916 attempted to fix this problem, but it is still possible that mheap_.sweep...
[ { "path": "src/runtime/mcentral.go", "patch": "@@ -102,59 +102,62 @@ func (c *mcentral) cacheSpan() *mspan {\n \tspanBudget := 100\n \n \tvar s *mspan\n-\tsl := newSweepLocker()\n-\tsg := sl.sweepGen\n+\tvar sl sweepLocker\n \n \t// Try partial swept spans first.\n+\tsg := mheap_.sweepgen\n \tif s = c.parti...
2021-07-08T21:42:01
vercel/next.js
2601f5598264472a8392948509f3e13301f19ee9
83afeb7642e9a0c7db1b0c882f7733c79cb0f8c6
(Fix)(Tests)Fix typo in unit testing (#47644) <!-- 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 ...
[ { "path": "test/unit/accept-headers.test.ts", "patch": "@@ -11,7 +11,7 @@ describe('acceptLanguage', () => {\n expect(language).toEqual('en-gb')\n })\n \n- it('returns empty string with header is empty', () => {\n+ it('returns an empty string with header is empty', () => {\n const language = acc...
2023-04-02T05:23:15
huggingface/transformers
8ab2448707bdb239ac0c9796e1e8a4c1995e0034
6c9f412105bb94a22d5adfb347ac6bce1cd1c066
Fix invalid PipelineParallel member (#40789) Fix invalid enum member Signed-off-by: Yuanyuan Chen <cyyever@outlook.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1596,8 +1596,8 @@ def _find_mismatched_keys(\n \n \n class PipelineParallel(Enum):\n- inputs: 0\n- outputs: 1\n+ inputs = 0\n+ outputs = 1\n \n \n class ModuleUtilsMixin:", "additions": 2, "deletions": 2, "language": "Pyth...
2025-09-10T12:06:36
rust-lang/rust
b5fafd9816c228e27aac30289fafb2d2ebb49069
3497619ec1b58e0fa6db5b7047a8bfb3db7dcbf4
ci: Fix a typo that was causing a command failure
[ { "path": "library/compiler-builtins/ci/bench-icount.sh", "patch": "@@ -57,7 +57,7 @@ function run_icount_benchmarks() {\n # Disregard regressions after merge\n echo \"Benchmarks completed with regressions; ignoring (not in a PR)\"\n else\n- ./ci/ci-util.py handle-banch-regression...
2025-06-10T07:02:57
golang/go
f2885263748364a2a7f4e0d47abd5095699cd39f
2c7cdec2a762108ae9231b7861c3689f4d23b58c
cmd/go: test that the reserved paths "example" and "test" are not used Proposal #37641 reserved the paths "example" and "test" for end users, so no path beginning with either of those elements may be added to the standard library. (We are unlikely to add them by accident, but this test codifies the policy accepted in...
[ { "path": "src/cmd/go/testdata/script/list_reserved.txt", "patch": "@@ -0,0 +1,7 @@\n+# https://golang.org/issue/37641: the paths \"example\" and \"test\" are reserved\n+# for end users, and must never exist in the standard library.\n+\n+go list example/... test/...\n+stderr 'go: warning: \"example/...\" ma...
2021-10-29T02:25:02
electron/electron
add9c380230ae61316156025ef8c9fec85d23f84
791f988aba568921c940713231da1811b6a1cdd3
linux: Enable force showing menubar This is for debugging purpose.
[ { "path": "atom/browser/ui/x/x_window_utils.cc", "patch": "@@ -6,6 +6,7 @@\n \n #include <X11/Xatom.h>\n \n+#include \"base/environment.h\"\n #include \"base/strings/string_util.h\"\n #include \"dbus/bus.h\"\n #include \"dbus/object_proxy.h\"\n@@ -50,6 +51,10 @@ void SetWindowType(::Window xwindow, const st...
2015-10-04T08:33:03
vercel/next.js
83afeb7642e9a0c7db1b0c882f7733c79cb0f8c6
7ef95ba77a5a2a87f0dd196e83d1dc8b15d5c98d
fix(`next-types-plugin`): add `ParamCheck` type only for `route.ts` files (#47739) <!-- 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 y...
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin.ts", "patch": "@@ -159,10 +159,14 @@ type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ?\n type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never\n...
2023-04-02T05:00:05
electron/electron
791f988aba568921c940713231da1811b6a1cdd3
5d7cfa1b3ac5b3f578ceca6ceb94dcbddedd4dcf
linux: Fix pressing Alt not showing menubar
[ { "path": "atom/browser/native_window_views.cc", "patch": "@@ -905,9 +905,6 @@ void NativeWindowViews::HandleKeyboardEvent(\n // When a single Alt is pressed:\n menu_bar_alt_pressed_ = true;\n } else if (event.type == blink::WebInputEvent::KeyUp && IsAltKey(event) &&\n-#if defined(USE_X11)\n- ...
2015-10-04T08:32:08