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
rust-lang/rust
12c8fb857c97f97a0351eecc94e97e71b04cda70
5e048e0786674db68220b7e0e8b19b2a96bcae7c
Fix fname for miri
[ { "path": "src/tools/miri/src/shims/native_lib.rs", "patch": "@@ -117,7 +117,12 @@ trait EvalContextExtPriv<'tcx>: crate::MiriInterpCxExt<'tcx> {\n let mut info = std::mem::MaybeUninit::<libc::Dl_info>::uninit();\n unsafe {\n if libc::dladdr(*func.deref() as *const _, info.as_mut...
2025-05-16T09:47:29
vercel/next.js
12d682dc5c7b4d011093702c56ffa508e960055b
0ce9cf5f7463ddd00a1827a45d0e9b0d088c48ea
Export __N_SSG and __N_SSP from the error component (vercel/turbo#3574) `export *` would be preferable once supported.
[ { "path": "crates/next-core/js/src/entry/error.tsx", "patch": "@@ -1,4 +1,7 @@\n-import Error, { getStaticProps } from \"@vercel/turbopack-next/internal/_error\";\n-\n-export default Error;\n-export { getStaticProps };\n+// TODO(alexkirsz) export * would be preferrable here once supported.\n+export {\n+ de...
2023-02-07T09:39:49
electron/electron
9f5ed14f24aecdd46699e84e13e9fa1f90cbf793
482c740e61552f7fe173e3bd5cf74abcbf618b06
mac: Upgrade libchromiumcontent to fix linking error
[ { "path": "script/lib/config.py", "patch": "@@ -4,7 +4,7 @@\n import sys\n \n BASE_URL = 'http://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = '17a0e24666d0198810752284690bc2d0d87094d7'\n+LIBCHROMIUMCONTENT_COMMIT = '6300862b4b16bd171f00ae566b697098c29743f7'\n \n AR...
2015-01-15T04:15:39
golang/go
c751e2e6ba30fc319c93b9cfe207dc7d1b48c3fb
5d8f90f90405e9faa9c5425627024d2cfa67faa3
[dev.typeparams] cmd/compile/internal/types2: use comparable bit rather than ==() method This removes the special "==" methods from comparable interfaces in favor of a "comparable" flag in TypeSets indicating that the interface is or embeds comparable. Fixes various related implementation inaccuracies. While at it, f...
[ { "path": "src/cmd/compile/internal/types2/instantiate.go", "patch": "@@ -146,6 +146,17 @@ func (check *Checker) satisfies(pos syntax.Pos, targ Type, tpar *TypeParam, smap\n \t// the parameterized type.\n \tiface = check.subst(pos, iface, smap).(*Interface)\n \n+\t// if iface is comparable, targ must be com...
2021-07-26T21:50:57
huggingface/transformers
0c98f24889f4dd7ca9f35f16186b59a66add2654
d29482cc9194afbe59f3203a9f5df89ab48a2ec9
fix: add __bool__ operator to tokenizer to avoid bloated asserts (#38899) * fix: add __bool__ operator to tokenizer to avoid bloated asserts When a user does 'assert tokenizer' to ensure that the tokenizer is not None, they inadvertently set off a rather expensive process in the '__len__()' operator. This fix adds a ...
[ { "path": "src/transformers/tokenization_utils_fast.py", "patch": "@@ -278,6 +278,12 @@ def get_added_vocab(self) -> dict[str, int]:\n \"\"\"\n return {k.content: v for v, k in sorted(self.added_tokens_decoder.items(), key=lambda item: item[0])}\n \n+ def __bool__(self) -> bool:\n+ ...
2025-06-23T14:32:16
rust-lang/rust
72f915aaca3fa3018269de4e57cd1bddf4a17a86
8fcff8c6457f16cb0a2760f0b6a846e42d08f0e1
Fix flicker when page loads
[ { "path": "src/doc/rustc/theme/pagetoc.css", "patch": "@@ -19,12 +19,6 @@\n }\n \n @media only screen {\n- main {\n- display: -webkit-box;\n- display: -ms-flexbox;\n- display: flex;\n- }\n-\n @media (max-width: 1179px) {\n .sidebar-hidden #sidetoc {\n displ...
2025-04-21T15:15:33
nodejs/node
179c3a8f04553e6d28769a45b2e8bca5b23e56f7
d362004010f4a8fbf7549d34c601e3768bee5ba2
test: fixed incorrect variable order in assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/23502 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By...
[ { "path": "test/parallel/test-tracing-no-crash.js", "patch": "@@ -4,8 +4,8 @@ const assert = require('assert');\n const { spawn } = require('child_process');\n \n function CheckNoSignalAndErrorCodeOne(code, signal) {\n- assert.strictEqual(null, signal);\n- assert.strictEqual(1, code);\n+ assert.strictEqu...
2018-10-12T17:16:34
vercel/next.js
141bdf8703b1c6016cb02637daa141a6c20eecf8
d54d43d4ed0582bfb2679bb76fdb27a9c7912205
Avoid loading project config multiple times (#45637) While debugging another thing I found that we are loading `loadJsConfig` 3 times during a build. Inside `loadJsConfig` we load TypeScript and call `ts.readConfigFile(tsConfigPath, ts.sys.readFile)` and `ts.parseJsonConfigFileContent`, which are expensive (411ms, ...
[ { "path": "packages/next/src/build/webpack-build.ts", "patch": "@@ -10,7 +10,7 @@ import {\n } from '../shared/lib/constants'\n import { runCompiler } from './compiler'\n import * as Log from './output/log'\n-import getBaseWebpackConfig from './webpack-config'\n+import getBaseWebpackConfig, { loadProjectInf...
2023-02-07T01:11:41
golang/go
cb14e673ec62f09f1216c3d40b03a460785a931e
37d2219960340614f4d7e67c2e620013594e131a
[dev.typeparams] runtime: don't keep stack uintptr across potential stack move Currently, deferproc stores the caller SP as a uintptr in a local variable across a call to newdefer, but newdefer could grow the stack and invalidate this saved SP, causing deferproc to store a stale SP in the defer record. This would lead...
[ { "path": "src/runtime/panic.go", "patch": "@@ -234,18 +234,18 @@ func deferproc(fn *funcval) { // TODO: Make deferproc just take a func().\n \t\tthrow(\"defer on system stack\")\n \t}\n \n-\tsp := getcallersp()\n-\tcallerpc := getcallerpc()\n-\n \td := newdefer()\n \tif d._panic != nil {\n \t\tthrow(\"defe...
2021-07-26T14:54:57
huggingface/transformers
d29482cc9194afbe59f3203a9f5df89ab48a2ec9
1a96127e465b54048fe8ad5638bf0fc11ce94f39
Add Idefics2/3 and SmolVLM Fast image processors + improvements for fast image processors (#38157) * add working idefics2 fast and improvements for fast nested images processing * add fast image processors idefics 3 and smolvlm * cleanup tests * fic doc idefics2 * PR review and fix issues after merge * Force prov...
[ { "path": "docs/source/en/model_doc/idefics2.md", "patch": "@@ -162,7 +162,7 @@ To load and run a model using Flash Attention-2, simply change the code snippet\n ```diff\n model = Idefics2ForConditionalGeneration.from_pretrained(\n \"HuggingFaceM4/idefics2-8b\",\n-+ torch_dtype=torch.float16, \n++...
2025-06-23T14:17:25
nodejs/node
50572c0a732aae0ca9bacda64210e6cf10172044
6b3b64fa73ea31aa68ffc88f3d61ce4b8317809d
test: put expected assert value in correct place The order of arguments in test-fs-readdir-ucs2 was the opposite of what is recommended in the documentation, which is that the first value should be the value being tested, and the second value is the expected value. This fixes the test to make it conform to the documen...
[ { "path": "test/parallel/test-fs-readdir-ucs2.js", "patch": "@@ -25,8 +25,8 @@ try {\n \n fs.readdir(tmpdir.path, 'ucs2', common.mustCall((err, list) => {\n assert.ifError(err);\n- assert.strictEqual(1, list.length);\n+ assert.strictEqual(list.length, 1);\n const fn = list[0];\n- assert.deepStrictEqu...
2018-10-12T16:53:32
vercel/next.js
85468326a7f9cee6235b173e49dd233c1a318d6b
7c15278cc2b700fbee847f75bb0b389a06510594
Fix TS plugin completions (#45634) It's possible that there are multiple modifiers like `declare,export`. We should use `source` to make it more reliable. NEXT-462 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`...
[ { "path": "packages/next/src/server/typescript/rules/server.ts", "patch": "@@ -8,7 +8,7 @@ const serverLayer = {\n // Remove disallowed React APIs.\n if (\n DISALLOWED_SERVER_REACT_APIS.includes(e.name) &&\n- e.kindModifiers === 'declare'\n+ e.source === 'react'\n ) {...
2023-02-06T22:57:39
golang/go
7ba8e796c91eaf4befcacc4d24127ae54475d6a5
33ff1559702388c57c45f9e6cd032f06e8c3c163
testing: clarify T.Name returns a distinct name of the running test According to the discussion, it is clear that T.Name returns a distinct name among all tests. However, there is no specification of how sub-tests with the same specified test name are constructed. This change only clarifies the uniqueness and the comp...
[ { "path": "src/testing/testing.go", "patch": "@@ -680,7 +680,11 @@ type T struct {\n \n func (c *common) private() {}\n \n-// Name returns the name of the running test or benchmark.\n+// Name returns the name of the running (sub-) test or benchmark.\n+//\n+// The name will include the name of the test along...
2021-07-26T13:04:48
huggingface/transformers
1a96127e465b54048fe8ad5638bf0fc11ce94f39
84d19be41e0131e6f2a660fe6af8b77094906af7
Break tie in Expectations and gemma3 fixes (#38943) * Added major / minor version to Expectations ordering * Added fixes to gemma3 * Style
[ { "path": "src/transformers/testing_utils.py", "patch": "@@ -3334,9 +3334,18 @@ def score(properties: DeviceProperties, other: DeviceProperties) -> float:\n \n def find_expectation(self, properties: DeviceProperties = (None, None, None)) -> Any:\n \"\"\"\n- Find best matching expectation ...
2025-06-23T13:13:27
nodejs/node
6b3b64fa73ea31aa68ffc88f3d61ce4b8317809d
008b97a2db25ee66984727bb848cd52a1bdf215c
test: fix argument order in assertions PR-URL: https://github.com/nodejs/node/pull/23506 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <r...
[ { "path": "test/pummel/test-net-timeout.js", "patch": "@@ -66,7 +66,7 @@ echo_server.listen(common.PORT, function() {\n });\n \n client.on('data', function(chunk) {\n- assert.strictEqual('hello\\r\\n', chunk);\n+ assert.strictEqual(chunk, 'hello\\r\\n');\n if (exchanges++ < 5) {\n setTim...
2018-10-12T17:19:56
electron/electron
f6f5ff433021e548b6165ff46c2d5efcf8802a6d
6a11eccc3e740cdc3c65d6574a873659bbbeab96
Fix converting ListValue to V8
[ { "path": "atom/common/native_mate_converters/value_converter.cc", "patch": "@@ -40,7 +40,8 @@ bool Converter<base::ListValue>::FromV8(v8::Isolate* isolate,\n v8::Handle<v8::Value> Converter<base::ListValue>::ToV8(\n v8::Isolate* isolate,\n const base::ListValue& val) {\n- return v8::Undefined(isol...
2015-01-15T03:09:02
vercel/next.js
9694fc4f7cd064549f7f45b7a03da6f6e5f8db8c
38c78b65d56b7c50f309b61822ccc627e2cf488b
Import Next's CJS AsyncLocalStorage modules (vercel/turbo#3634) The node evaluation always renders with `type: "commonjs"` and `require()` calls, so we'll always import the CJS files. But here we're importing the ESM files. That means we have 2 distinct instances of `requestAsyncStorage` in our node instance, and they...
[ { "path": "packages/next-swc/crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -238,7 +238,9 @@ async function runOperation(renderData: RenderData) {\n body = result.toUnchunkedString();\n }\n return {\n- headers: [[\"Content-Type\", result.contentType() ?? MIME_TEXT_HTML_UTF8]],\n+ ...
2023-02-06T22:47:29
golang/go
33ff1559702388c57c45f9e6cd032f06e8c3c163
840e583ff340d22a6263a348922283e6d5cd2e31
go/types: preserve untyped constants on the RHS of a shift expression CL 291316 fixed go/types to verify that untyped shift counts are representable by uint, but as a side effect also converted their types to uint. Rearrange the logic to keep the check for representability, but not actually convert untyped integer co...
[ { "path": "src/go/types/api_test.go", "patch": "@@ -322,6 +322,18 @@ func TestTypesInfo(t *testing.T) {\n \t\t\t`[][]struct{}`,\n \t\t},\n \n+\t\t// issue 47243\n+\t\t{`package issue47243_a; var x int32; var _ = x << 3`, `3`, `untyped int`},\n+\t\t{`package issue47243_b; var x int32; var _ = x << 3.`, `3.`,...
2021-07-26T20:33:44
nodejs/node
008b97a2db25ee66984727bb848cd52a1bdf215c
90e72daad5b9020e90b11c9f125cbe996354d679
test: fix assertions args order in test/parallel/test-fs-chmod.js PR-URL: https://github.com/nodejs/node/pull/23507 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Review...
[ { "path": "test/parallel/test-fs-chmod.js", "patch": "@@ -86,14 +86,14 @@ fs.chmod(file1, mode_async.toString(8), common.mustCall((err) => {\n if (common.isWindows) {\n assert.ok((fs.statSync(file1).mode & 0o777) & mode_async);\n } else {\n- assert.strictEqual(mode_async, fs.statSync(file1).mode ...
2018-10-12T17:21:31
electron/electron
6a11eccc3e740cdc3c65d6574a873659bbbeab96
2d6dc9c527d32678cd10a69ed9b13a02d4a9b35f
Update native_mate to fix linking error
[ { "path": "vendor/native_mate", "patch": "@@ -1 +1 @@\n-Subproject commit 124b151614ea6358bc92d1c34c17577adb3a8071\n+Subproject commit 1116a36c15ac3e65720cf12d38a3308f40f7ea58", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-01-15T02:55:54
vercel/next.js
205ce2f544101c160041ca1aaf3598f68226493d
a1fab3471325bb23607f285c0faf31eb4c1755ba
Import Next's CJS AsyncLocalStorage modules (vercel/turbo#3634) The node evaluation always renders with `type: "commonjs"` and `require()` calls, so we'll always import the CJS files. But here we're importing the ESM files. That means we have 2 distinct instances of `requestAsyncStorage` in our node instance, and they...
[ { "path": "crates/next-core/js/src/entry/app-renderer.tsx", "patch": "@@ -238,7 +238,9 @@ async function runOperation(renderData: RenderData) {\n body = result.toUnchunkedString();\n }\n return {\n- headers: [[\"Content-Type\", result.contentType() ?? MIME_TEXT_HTML_UTF8]],\n+ headers: [\n+ ...
2023-02-06T22:47:29
golang/go
7ce257147fe0ab3413c8e36909c2408c833efdb8
3cd15e02ed26d86556cb59ff509a1f5a08bca29e
[dev.cmdgo] cmd/go: add the workspace mode This change adds the outline of the implementation of the workspace mode. The go command will now locate go.work files, and read them to determine which modules are in the workspace. It will then put those modules in the root of the workspace when building the build list. It ...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -167,6 +167,14 @@\n // \t\tdirectory, but it is not accessed. When -modfile is specified, an\n // \t\talternate go.sum file is also used: its path is derived from the\n // \t\t-modfile flag by trimming the \".mod\" extension and appending \".sum\".\n+// -wor...
2021-06-08T21:07:10
nodejs/node
90e72daad5b9020e90b11c9f125cbe996354d679
ecd9bc03f9c989ff6952a7f797b704b20e5cdcd3
test: fix strictEqual assertion arguments PR-URL: https://github.com/nodejs/node/pull/23508 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "test/parallel/test-buffer-alloc.js", "patch": "@@ -7,7 +7,7 @@ const SlowBuffer = require('buffer').SlowBuffer;\n \n \n const b = Buffer.allocUnsafe(1024);\n-assert.strictEqual(1024, b.length);\n+assert.strictEqual(b.length, 1024);\n \n b[0] = -1;\n assert.strictEqual(b[0], 255);\n@@ -21,17 +21,1...
2018-10-12T17:17:01
huggingface/transformers
84d19be41e0131e6f2a660fe6af8b77094906af7
07aab1af1ed80d252d7be9661e2d6ee11f7ed8e8
Apply GradientCheckpointingLayer to the whole repo (#38913) * first batch (4) * align * altclip * beit * bert * yolos * dino, pvt_v2 * bark, bart, bert_generation * big_bird, biogpt * blnderbot, bloom * bridgetower * camambert, canine, chameleon * chinese clip, clap, clip * codegen, conditional detr, conv...
[ { "path": "src/transformers/modeling_layers.py", "patch": "@@ -16,6 +16,11 @@\n \n import torch.nn as nn\n \n+from transformers.utils import logging\n+\n+\n+logger = logging.get_logger(__name__)\n+\n \n class GradientCheckpointingLayer(nn.Module):\n \"\"\"Base class for layers with gradient checkpointin...
2025-06-23T12:24:48
electron/electron
834d28f52863f4ba98c41f8396005bd5495bfd59
b4ba4a908e48b354fb5264e800b6aa3571b3526a
win: Fix building
[ { "path": "atom/renderer/api/atom_api_web_frame.cc", "patch": "@@ -5,6 +5,7 @@\n #include \"atom/renderer/api/atom_api_web_frame.h\"\n \n // This defines are required by SchemeRegistry.h.\n+#define ALWAYS_INLINE inline\n #define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE) // NOL...
2015-01-14T22:05:22
golang/go
b93f646125882fc59a6dd5a9c83813dce674bc6b
996b0dbc65954bbf538278bcc41f832f79a1ca03
[dev.typeparams] cmd/compile/internal/types2: fix a bug in package qualification logic This is a partial port of https://golang.org/cl/330629, containing only the actual bug fix and adjustements to another test file. The respective test case has not been ported yet as it requires some bigger adjustments. For #46905 ...
[ { "path": "src/cmd/compile/internal/types2/errors.go", "patch": "@@ -111,7 +111,7 @@ func (check *Checker) qualifier(pkg *Package) string {\n \t\tif check.pkgPathMap == nil {\n \t\t\tcheck.pkgPathMap = make(map[string]map[string]bool)\n \t\t\tcheck.seenPkgMap = make(map[*Package]bool)\n-\t\t\tcheck.markImpo...
2021-07-21T23:36:49
vercel/next.js
a5f68b3c6c43f6b88b00722d7d887e8f13890395
59ea4e6a32e744f15c4a01c4fe933e8e6b54d96a
misc: fix precompiled script generation (#45616) It seems this was broken when we changed the source folder. <!-- 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 chec...
[ { "path": "packages/next/taskfile.js", "patch": "@@ -1080,7 +1080,7 @@ export async function ncc_babel_bundle(task, opts) {\n delete bundleExternals[pkg]\n }\n await task\n- .source('bundles/babel/bundle.js')\n+ .source('src/bundles/babel/bundle.js')\n .ncc({\n packageName: '@babel/c...
2023-02-06T20:49:23
huggingface/transformers
334bf913dca3f8f85312d264c0f7da5607384ced
c184550dafcc214fd10cddec98675a8c68a6440f
Fix(informer): Correct tensor shape for input_size=1 (#38856) * Fix(time_series): Correct scaler tensor shape in base model The create_network_inputs function in TimeSeriesTransformerModel handled the scaler's loc and scale tensors inconsistently. When input_size=1, the tensors were not squeezed, leading to downstrea...
[ { "path": "src/transformers/models/informer/modeling_informer.py", "patch": "@@ -1461,8 +1461,14 @@ def create_network_inputs(\n )\n \n # static features\n- log_abs_loc = loc.abs().log1p() if self.config.input_size == 1 else loc.squeeze(1).abs().log1p()\n- log_scale = scale.log...
2025-06-23T09:50:51
nodejs/node
ecd9bc03f9c989ff6952a7f797b704b20e5cdcd3
98f170fb8665aa9a94c47cabb4a7107440f4dbfe
test: fix ordering of assertion values
[ { "path": "test/addons-napi/test_general/testInstanceOf.js", "patch": "@@ -18,12 +18,12 @@ const v8TestsDirExists = fs.existsSync(v8TestsDir);\n // See for instance deps/v8/test/mjsunit/instanceof.js\n // eslint-disable-next-line no-unused-vars\n function assertTrue(assertion) {\n- return assert.strictEqua...
2018-10-12T17:02:17
electron/electron
b4cdb546fe4ef6fc17b04f23e3f30f856f195ea9
7ab5db1adb11c41e309a6c2885ec3e65c352fbda
Don't set contentWindow property for <webview> This property is only available in Chrome and we don't need it in atom-shell, so remove it to avoid confusions. Fixes #997.
[ { "path": "atom/browser/lib/guest-view-manager.coffee", "patch": "@@ -115,9 +115,8 @@ destroyGuest = (id) ->\n ipc.on 'ATOM_SHELL_GUEST_VIEW_MANAGER_CREATE_GUEST', (event, type, params, requestId) ->\n event.sender.send \"ATOM_SHELL_RESPONSE_#{requestId}\", createGuest(event.sender, params)\n \n-ipc.on 'A...
2015-01-12T22:17:49
huggingface/transformers
c184550dafcc214fd10cddec98675a8c68a6440f
984ff89e7306ad33c46f76afc9aa78d40a8c01d8
Fix DTensor import compatibility for PyTorch < 2.5 (#38836)
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -172,7 +172,8 @@\n _is_ds_init_called = False\n _torch_distributed_available = torch.distributed.is_available()\n \n-if _torch_distributed_available and is_torch_greater_or_equal(\"2.5\"):\n+_is_dtensor_available = _torch_distributed_available and...
2025-06-23T09:25:56
nodejs/node
98f170fb8665aa9a94c47cabb4a7107440f4dbfe
3fda9860ec9c18ace9d0e78f0bc911cdc4b722dd
test: update function keywords to fat arrows Updated all the function keywords to fat arrow implementations in test/parallel/test-event-emitter-no-error-provided-to-error-event.js PR-URL: https://github.com/nodejs/node/pull/23493 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in....
[ { "path": "test/parallel/test-event-emitter-no-error-provided-to-error-event.js", "patch": "@@ -29,7 +29,7 @@ const domain = require('domain');\n const e = new events.EventEmitter();\n const d = domain.create();\n d.add(e);\n- d.on('error', common.mustCall(function(er) {\n+ d.on('error', common.must...
2018-10-12T17:11:25
electron/electron
7ab5db1adb11c41e309a6c2885ec3e65c352fbda
1926c2cd018a0cca76f85cbdd4e3314ff290f056
Use http in framework download url, fixes #998
[ { "path": "script/update-external-binaries.py", "patch": "@@ -9,7 +9,7 @@\n \n VERSION = 'v0.3.0'\n SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n-FRAMEWORKS_URL = 'https://github.com/atom/atom-shell-frameworks/releases' \\\n+FRAMEWORKS_URL = 'http://github.com/atom/atom-shell-f...
2015-01-12T22:10:22
golang/go
bfcb7c4c8adadd6191c3fdacf2b59136b0da5c1c
b27c7e30dc5d222766057e62c16cb765b636d244
[dev.typeparams] cmd/compile: fix unified IR support for //go:nointerface This CL changes fixedbugs/issue30862.go into a "runindir" test so that it can use '-goexperiment fieldtrack' and test that //go:nointerface works with cmd/compile. In particular, this revealed that -G=3 and unified IR did not handle it correctly...
[ { "path": "src/cmd/compile/internal/noder/reader.go", "patch": "@@ -750,13 +750,12 @@ func (r *reader) method() *types.Field {\n \tname.Func = ir.NewFunc(r.pos())\n \tname.Func.Nname = name\n \n-\t// TODO(mdempsky): Make sure we're handling //go:nointerface\n-\t// correctly. I don't think this is exercised ...
2021-07-02T23:59:01
huggingface/transformers
2166b6b4ff09f6dd3867ab982f262f66482aa968
166e823f770477b17988020b2476a796d49836a6
Update blip model card (#38513) * Update docs/source/en/model_doc/blip.md * fix(docs/source/en/model_doc/blip.md): fix redundent typo error * fix (docs/source/en/model_doc/blip.md): modify of review contents * fix(docs/source/en/model_doc/blip.md): modify code block * Update blip.md --------- Co-authored-by: dev...
[ { "path": "docs/source/en/model_doc/blip.md", "patch": "@@ -14,35 +14,76 @@ rendered properly in your Markdown viewer.\n \n -->\n \n+<div style=\"float: right;\">\n+ <div class=\"flex flex-wrap space-x-1\">\n+ <img alt=\"PyTorch\" src=\"https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=p...
2025-06-20T20:46:19
nodejs/node
f8af209f428bd1233d5de5f399f74daaf359cb6e
af68c554a5fd3b3595dedf64ed038fea2b761e66
test: use arrow functions in test-exception-handler PR-URL: https://github.com/nodejs/node/pull/23498 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben B...
[ { "path": "test/parallel/test-exception-handler.js", "patch": "@@ -25,16 +25,16 @@ const assert = require('assert');\n \n const MESSAGE = 'catch me if you can';\n \n-process.on('uncaughtException', common.mustCall(function(e) {\n+process.on('uncaughtException', common.mustCall((e) => {\n console.log('unca...
2018-10-12T16:55:19
electron/electron
bce8a3f83597739fa959beec0238e13f5d0c0673
2d5b17552a83dffb45ff6b15fd8a199d0594f2ca
Fix cpplint warning
[ { "path": "atom/renderer/api/atom_api_web_frame.cc", "patch": "@@ -5,9 +5,9 @@\n #include \"atom/renderer/api/atom_api_web_frame.h\"\n \n // This defines are required by SchemeRegistry.h.\n-#define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE)\n-#define USE(WTF_FEATURE) (defined WT...
2015-01-08T20:51:15
golang/go
849b7911293c3cb11d76ff2778ed560100f987d1
0914646ab91a3157666d845d74d8d9a4a2831e1e
spec: use consistent capitalization for rune literal hex constants Fixes #47368 Change-Id: I2f65c0008658532123f04d08e99e5d083f33461a Reviewed-on: https://go-review.googlesource.com/c/go/+/337234 Trust: Ian Lance Taylor <iant@golang.org> Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@or...
[ { "path": "doc/go_spec.html", "patch": "@@ -1,6 +1,6 @@\n <!--{\n \t\"Title\": \"The Go Programming Language Specification\",\n-\t\"Subtitle\": \"Version of Jul 1, 2021\",\n+\t\"Subtitle\": \"Version of Jul 24, 2021\",\n \t\"Path\": \"/ref/spec\"\n }-->\n \n@@ -490,8 +490,8 @@ <h3 id=\"Rune_literals\">Rune ...
2021-07-24T23:53:02
huggingface/transformers
166e823f770477b17988020b2476a796d49836a6
3d34b92116c26518f476be8c40250c4d89de3cc3
Fix custom generate from local directory (#38916) Fix custom generate from local directory: 1. Create parent dirs before copying files (custom_generate dir) 2. Correctly copy relative imports to the submodule file. 3. Update docs.
[ { "path": "docs/source/en/generation_strategies.md", "patch": "@@ -468,9 +468,17 @@ def generate(model, input_ids, generation_config=None, left_padding=None, **kwar\n Follow the recommended practices below to ensure your custom decoding method works as expected.\n - Feel free to reuse the logic for validati...
2025-06-20T16:36:57
vercel/next.js
b2ac41c75493ab759bd8ecfd7ee111dc66c2db5c
c484b73e54e1d50dbfc09952631adcb650c69c41
Fix unexpected polyfills in edge-runtime (#45601) This cuts the edge bundle sizes in half for app dir specifically and also reduces the size for pages. This also ensures we don't regress in the future as it stops allowing fallback polyfills from webpack with the edge runtime which is what let this slip through. ...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -1863,114 +1863,106 @@ export default async function getBaseWebpackConfig(\n },\n ]\n : []),\n- ...(isEdgeServer || isClient\n+ ...(isEdgeServer\n ? [\n {\n- ...
2023-02-06T19:33:38
nodejs/node
af68c554a5fd3b3595dedf64ed038fea2b761e66
661e7323ee7b53bc85688e397b06042b2f143671
test: fix argument order in asserts PR-URL: https://github.com/nodejs/node/pull/23499 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev...
[ { "path": "test/sequential/test-inspector-async-stack-traces-promise-then.js", "patch": "@@ -45,7 +45,7 @@ async function runTests() {\n 'break2', 'runTest:8');\n \n await session.runToCompletion();\n- assert.strictEqual(0, (await instance.expectShutdown()).exitCode);\n+ assert.strict...
2018-10-12T17:11:12
electron/electron
3dfc496243c600b4fa5848903771176dddd78399
506237f5d6fe49798cad01b9ebc2767d325a6737
Add support for --ignore-certificate-errors This makes it possible to test HTTPS related APIs.
[ { "path": "docs/api/chrome-command-line-switches.md", "patch": "@@ -57,3 +57,7 @@ Like `--host-rules` but these `rules` only apply to the host resolver.\n [app]: app.md\n [append-switch]: app.md#appcommandlineappendswitchswitch-value\n [ready]: app.md#event-ready\n+\n+## --ignore-certificate-errors\n+\n+Ign...
2015-01-07T04:52:28
huggingface/transformers
3d34b92116c26518f476be8c40250c4d89de3cc3
b8059e1f8f9ad245d71fbe2d18723d735ffccfec
Switch to use A10 progressively (#38936) * try * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/model_jobs.yml", "patch": "@@ -12,8 +12,8 @@ on:\n slice_id:\n required: true\n type: number\n- runner:\n- required: true\n+ runner_map:\n+ required: false\n type: string\n docker:\n required: true\n@@ -45,7 +45...
2025-06-20T16:10:35
golang/go
b27c7e30dc5d222766057e62c16cb765b636d244
a2e2b0362bb2e7b93de668007027d08888bc9a38
[dev.typeparams] cmd/compile: fix HasShape, add dottype test HasShape needs a TINTER case. Add a test for x.(T) in various situations. Needs the fix above. Also remove ONEW unshapify case. It is ok for ONEW to have a shape type, as it will just be passed to mallocgc, or possibly used as a stack object type, both of ...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1376,12 +1376,6 @@ func (subst *subster) node(n ir.Node) ir.Node {\n \t\tcase ir.ODOTTYPE, ir.ODOTTYPE2:\n \t\t\tm.SetType(subst.unshapifyTyp(m.Type()))\n \n-\t\tcase ir.ONEW:\n-\t\t\t// New needs to pass a concrete type to the runtime.\n-...
2021-07-24T21:11:27
vercel/next.js
c484b73e54e1d50dbfc09952631adcb650c69c41
c76380fa25cfa3124fb17aa9f929d6c6afe3dbcd
Update @next/font/google data (#45622) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md) ## Feature - [ ] Implements an existing feature request or...
[ { "path": "packages/font/src/google/font-data.json", "patch": "@@ -7712,10 +7712,10 @@\n \"styles\": [\"normal\"],\n \"subsets\": [\"myanmar\"]\n },\n- \"Noto Sans N Ko\": {\n+ \"Noto Sans NKo\": {\n \"weights\": [\"400\"],\n \"styles\": [\"normal\"],\n- \"subsets\": [\"nko\"]\n+ \...
2023-02-06T17:24:25
electron/electron
609e3ec3ffe97fc3c08924ca1c8f6c6fe9e6158c
640c8f88ffded0adfcc835d992de648aa23648dd
Don't allow duplicate object in a parsed array This feature was introduced to fix #874 but caused the converter to go through a deep nested object sometimes, which made program crash on Windows. So we have to revert the fix even though it makes a regression. Fixes atom/atom#4904.
[ { "path": "atom/common/native_mate_converters/v8_value_converter.cc", "patch": "@@ -294,10 +294,7 @@ base::Value* V8ValueConverter::FromV8Array(\n if (!val->HasRealIndexedProperty(i))\n continue;\n \n- // When parsing elements in an array, we use a new state so we can have the\n- // same obj...
2015-01-08T07:20:03
rust-lang/rust
a6bf524975c978dffad2ece4146e339bc88b5d9f
c4e05e53d19b550a358ee8b2e29ecd5a11075800
Update IDEs to use rustfmt 2024, fix Zed settings - Update IDE `rust-analyzer` settings to use 2024 rather than 2021. - Fix Zed settings by removing `${workspaceFolder}/` from paths.
[ { "path": "src/bootstrap/src/core/build_steps/setup.rs", "patch": "@@ -585,11 +585,13 @@ Select which editor you would like to set up [default: None]: \";\n \"d29af4d949bbe2371eac928a3c31cf9496b1701aa1c45f11cd6c759865ad5c45\",\n \"b5dd299b93dca3ceeb9b335f929293cb3d4bf4977866f...
2025-05-15T23:26:18
huggingface/transformers
b8059e1f8f9ad245d71fbe2d18723d735ffccfec
5ee60f970a332b12458b113a18cc74999f8c5880
Fix more flaky `test_initialization` (#38932) * try * try * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/blip/test_modeling_blip.py", "patch": "@@ -475,8 +475,19 @@ def test_initialization(self):\n msg=f\"Parameter {name} of model {model_class} seems not properly initialized\",\n )\n else:\n+ ...
2025-06-20T15:28:32
nodejs/node
5a30621d1620b2ef06e3c611b69ce6ad1fa58269
fd289959c8307e33da043cad3fc6b72aac802e82
doc: add info how to run single tests to BUILDING.md The information on how to run single tests was missing in BUILDING.md. PR-URL: https://github.com/nodejs/node/pull/23490 Fixes: https://github.com/nodejs/node/issues/23491 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Gireesh Punathil <gpunathi...
[ { "path": "BUILDING.md", "patch": "@@ -10,40 +10,42 @@ file a new issue.\n \n ## Table of Contents\n \n-* [Supported platforms](#supported-platforms)\n- * [Input](#input)\n- * [Strategy](#strategy)\n- * [Supported platforms](#supported-platforms-1)\n- * [Supported toolchains](#supported-toolchains)\n- ...
2018-10-12T18:06:32
golang/go
a2e2b0362bb2e7b93de668007027d08888bc9a38
3dc0a0a2c5a7d8959a43265d4f73d7e2e509de5e
[dev.typeparams] transformDot() should set Selection and tc flag for added ODOTs Fixes -G=3 issue with issue44688.go. Change-Id: Ie98c0cbd48683dedd115332043f14c8f3160f46c Reviewed-on: https://go-review.googlesource.com/c/go/+/337029 Run-TryBot: Dan Scales <danscales@google.com> TryBot-Result: Go Bot <gobot@golang.org...
[ { "path": "src/cmd/compile/internal/noder/transform.go", "patch": "@@ -591,6 +591,24 @@ func transformDot(n *ir.SelectorExpr, isCall bool) ir.Node {\n \tif n.Op() == ir.OXDOT {\n \t\tn = typecheck.AddImplicitDots(n)\n \t\tn.SetOp(ir.ODOT)\n+\n+\t\t// Set the Selection field and typecheck flag for any new OD...
2021-07-18T18:10:41
vercel/next.js
54770906a22f6ff99db39f1a24c6816f2bea8d75
30a6c51296ef280374dca922d23898d036f5cb1b
Emit plugin errors for metadata API in client entries (#45613) NEXT-461 <img width="720" alt="CleanShot-2023-02-06-snyeDfbt@2x" src="https://user-images.githubusercontent.com/3676859/216978751-9dbb1901-a38d-4ade-bc72-7c4f02e64b35.png"> ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests...
[ { "path": "packages/next/src/server/typescript/constant.ts", "patch": "@@ -6,6 +6,7 @@ export const NEXT_TS_ERRORS = {\n INVALID_PAGE_PROP: 71005,\n INVALID_CONFIG_OPTION: 71006,\n INVALID_CLIENT_ENTRY_PROP: 71007,\n+ INVALID_METADATA_EXPORT: 71008,\n }\n \n export const ALLOWED_EXPORTS = [", "ad...
2023-02-06T14:29:49
huggingface/transformers
5ee60f970a332b12458b113a18cc74999f8c5880
8ac2d75353f4c3eca90f5aba0ab65e31e3b20b1b
Correctly raise error for awq quantization (#38945) fix warning
[ { "path": "src/transformers/quantizers/quantizer_awq.py", "patch": "@@ -82,7 +82,9 @@ def validate_environment(self, device_map, **kwargs):\n \"your model on a GPU device in order to run your model.\"\n )\n elif device_map is not None:\n- if isi...
2025-06-20T15:18:06
electron/electron
0e0079956c27b7e7f7cfac634a15f7b9a7b59f71
1166a56ceb1491633d602a9e036deda297fb4703
Add support for --ignore-certificate-errors
[ { "path": "brightray/browser/url_request_context_getter.cc", "patch": "@@ -212,6 +212,10 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {\n network_session_params.http_auth_handler_factory =\n url_request_context_->http_auth_handler_factory();\n \n+ // --ignore-cer...
2015-01-07T04:36:20
nodejs/node
fd289959c8307e33da043cad3fc6b72aac802e82
61f5543e5ba202437ff9913e8141a0509cab14de
test: fix strictEqual argument order PR-URL: https://github.com/nodejs/node/pull/23490 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
[ { "path": "test/parallel/test-http-status-message.js", "patch": "@@ -33,18 +33,22 @@ const s = http.createServer(function(req, res) {\n \n s.listen(0, test);\n \n-\n function test() {\n const bufs = [];\n- const client = net.connect(this.address().port, function() {\n- client.write('GET / HTTP/1.1\\r\...
2018-10-12T16:33:41
golang/go
9f928f9318efb9e6a9d45e7ed959afaaee4b7315
6992dcdad9b94a2b33b957474ef0eb210d563a40
[dev.typeparams] go/types, types2: set tset when constructing interfaces in the universe As of CL 334894, type sets are lazily evaluated on interfaces. For the universe interfaces error and comparable, this can lead to data races when type checking concurrently. Fix this by computing their type set when they are defin...
[ { "path": "src/cmd/compile/internal/types2/universe.go", "patch": "@@ -88,7 +88,9 @@ func defPredeclaredTypes() {\n \t\tres := NewVar(nopos, nil, \"\", Typ[String])\n \t\tsig := NewSignature(nil, nil, NewTuple(res), false)\n \t\terr := NewFunc(nopos, nil, \"Error\", sig)\n-\t\ttyp := NewNamed(obj, NewInterf...
2021-07-23T14:00:10
huggingface/transformers
9120567b02a551d198337e21bee8c1465f389ab2
ff95974bc67aa0a843d1045e4d2379352e334e2d
Add kwargs for timm.create_model in TimmWrapper (#38860) * Add init kwargs for timm wrapper * model_init_kwargs -> model_args * add save-load test * fixup
[ { "path": "src/transformers/models/timm_wrapper/configuration_timm_wrapper.py", "patch": "@@ -15,7 +15,7 @@\n \n \"\"\"Configuration for TimmWrapper models\"\"\"\n \n-from typing import Any\n+from typing import Any, Optional\n \n from ...configuration_utils import PretrainedConfig\n from ...utils import is_...
2025-06-20T12:00:09
electron/electron
708e738521e017e5937197da9272957cfea78d82
8457090b18940a7469abb35825857f05039e2314
views: Fix showing icon in message dialog
[ { "path": "atom/browser/ui/message_box_views.cc", "patch": "@@ -79,6 +79,7 @@ class MessageDialog : public views::WidgetDelegate,\n base::string16 GetWindowTitle() const override;\n gfx::ImageSkia GetWindowAppIcon() override;\n gfx::ImageSkia GetWindowIcon() override;\n+ bool ShouldShowWindowIcon() c...
2015-01-05T23:26:35
rust-lang/rust
ae304db796b6897b6e68486750495898f2d5fec7
98b6ecd6a1b91213616fa510311a6da481e0451a
Improve asm support Including: - Infer `label {}` and `const` operands. - Correctly handle unsafe check inside `label {}`. - Fix an embarrassing parser typo that cause labels to never be part of the AST
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/expr_store.rs", "patch": "@@ -298,17 +298,16 @@ impl ExpressionStore {\n Expr::InlineAsm(it) => it.operands.iter().for_each(|(_, op)| match op {\n AsmOperand::In { expr, .. }\n | AsmOperand::Out { expr: Some(ex...
2025-05-15T20:36:00
nodejs/node
d5824f8552f1327f94f57a62111dff3098bab343
039965085dc24c4c47fb6816d4cf23ed915558f9
test: fix assertion argument order PR-URL: https://github.com/nodejs/node/pull/23489 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben...
[ { "path": "test/parallel/test-http-set-cookies.js", "patch": "@@ -47,8 +47,8 @@ server.on('listening', function() {\n http.get({ port: this.address().port, path: '/one' }, function(res) {\n // set-cookie headers are always return in an array.\n // even if there is only one.\n- assert.deepStrict...
2018-10-12T17:03:58
golang/go
6992dcdad9b94a2b33b957474ef0eb210d563a40
e6d956e1c521b948257dd20056436d133df176f6
[dev.typeparams] cmd/compile: fix some issues with cons.go Add a test to make sure there's no invalid OCONVIFACEs when stenciling is done. Use concrete types for the type of DOTTYPE and DOTTYPE2. MarkTypeUsedInInterface - should we allow types with shape types underneath? I think the itab CL will help with this (at ...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -994,6 +994,26 @@ func (g *irgen) genericSubst(newsym *types.Sym, nameNode *ir.Name, shapes, targs\n \tg.instTypeList = append(g.instTypeList, subst.unshapify.InstTypeList...)\n \tg.instTypeList = append(g.instTypeList, subst.concretify.Ins...
2021-07-23T22:23:57
vercel/next.js
30a6c51296ef280374dca922d23898d036f5cb1b
fd5a0cf9a2a478eb43f25272b6b33e452b349f1e
Refactor server-patch-reducer and refresh-reducer to use applyFlightData and handleMutable (#45608)Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Jan Kaifer <jan@kaifer.cz> Follow-up to #45555. This uses the same handling of mutable for serverPatchReducer and refreshRe...
[ { "path": "packages/next/src/client/components/router-reducer/reducers/navigate-reducer.ts", "patch": "@@ -25,30 +25,34 @@ import {\n ReducerState,\n } from '../router-reducer-types'\n \n-function handleMutable(\n+export function handleMutable(\n state: ReadonlyReducerState,\n mutable: Mutable\n ): Re...
2023-02-06T13:53:34
huggingface/transformers
ff95974bc67aa0a843d1045e4d2379352e334e2d
aa42987c1e3a0cf1c18a5783274f0d8cc8409b53
[static cache] fix device map per layer in VLMs (#38488) return lm as decoder
[ { "path": "src/transformers/models/aria/modeling_aria.py", "patch": "@@ -1056,6 +1056,12 @@ def get_input_embeddings(self):\n def set_input_embeddings(self, value):\n self.language_model.set_input_embeddings(value)\n \n+ def set_decoder(self, decoder):\n+ self.language_model = decoder\...
2025-06-20T11:49:29
electron/electron
d65919d89639e04a9444b3f6314ffae515de5bcd
895ccf69a7fb3ab3601bbb394a0d3ffcf20ba66b
Add --disable-http-cache switch, fixes #891
[ { "path": "atom/browser/atom_browser_context.cc", "patch": "@@ -8,6 +8,8 @@\n #include \"atom/browser/net/atom_url_request_job_factory.h\"\n #include \"atom/browser/net/asar/asar_protocol_handler.h\"\n #include \"atom/browser/web_view/web_view_manager.h\"\n+#include \"atom/common/options_switches.h\"\n+#inc...
2015-01-05T21:40:38
golang/go
02c01725002a73739cefbc9fcf2575469be6da13
12866bd8ea13e43bc5995f58cdeb67ffd64a1c8c
[dev.typeparams] cmd/compile: add dictionary entries for itab conversion This fix the case where a type param or derived type is converted to a non-empty interface. Previously, we were converting to an empty interface and then using DOTTYPE to convert to the correct non-empty interface. In that case, we can get the ne...
[ { "path": "src/cmd/compile/internal/noder/irgen.go", "patch": "@@ -104,6 +104,9 @@ type gfInfo struct {\n \t// method and function calls (OCALL), function values (OFUNCINST), method\n \t// values/expressions (OXDOT).\n \tsubDictCalls []ir.Node\n+\t// Nodes in generic functions that are a conversion from a t...
2021-07-13T02:34:15
nodejs/node
b2e133aeb7913bfbad15651f86d716425765f280
e096df374305c41195541d641eae745370c0aa1f
test: fix assertion order test-tls-server-verify PR-URL: https://github.com/nodejs/node/pull/23549 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgew...
[ { "path": "test/parallel/test-tls-server-verify.js", "patch": "@@ -226,14 +226,14 @@ function runClient(prefix, port, options, cb) {\n client.on('exit', function(code) {\n if (options.shouldReject) {\n assert.strictEqual(\n- true, rejected,\n+ rejected, true,\n `${prefix}${...
2018-10-12T17:41:15
vercel/next.js
fd5a0cf9a2a478eb43f25272b6b33e452b349f1e
a1c64d5b79f3e310b834f01f03c818060dde570f
Implement loader and entry creation for server (#45524) Implements the manifest and loader (NEXT-416), with entry creation (NEXT-415). ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/ne...
[ { "path": "packages/next/src/build/analysis/get-page-static-info.ts", "patch": "@@ -39,12 +39,21 @@ export interface PageStaticInfo {\n middleware?: Partial<MiddlewareConfig>\n }\n \n-const CLIENT_MODULE_LABEL = `/* __next_internal_client_entry_do_not_use__ */`\n+const CLIENT_MODULE_LABEL = '/* __next_int...
2023-02-06T13:42:43
huggingface/transformers
9bcdd5cde9411477cba66bc9e6d1c59e80b60b60
31d30b72245aacfdf70249165964b53790d9c4d8
Modernbert fixes (#38912) * Removed deprecated argument in modernbert RotaryEmbedding * Skip test_sdpa_can_dispatch_on_flash for modernbert --------- Co-authored-by: ivarflakstad <69173633+ivarflakstad@users.noreply.github.com> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/models/modernbert/modeling_modernbert.py", "patch": "@@ -154,7 +154,7 @@ def __init__(\n up to max_seqlen. If the max_seqlen, device, or dtype during training/inference differ,\n the cos_sin_cache will be recomputed during the forward pass.\n \"\"\...
2025-06-20T09:22:32
electron/electron
ff0afc688db39903f273866ce6711fba03a8371e
51ef072de5b2e30ace4f02a4e053f24434fab9fb
Fix devtools window can not minimize Closes atom/atom-shell#941.
[ { "path": "brightray/browser/views/inspectable_web_contents_view_views.cc", "patch": "@@ -38,6 +38,7 @@ class DevToolsWindowDelegate : public views::ClientView,\n views::View* GetInitiallyFocusedView() override { return view_; }\n bool CanResize() const override { return true; }\n bool CanMaximize() c...
2015-01-05T06:32:00
nodejs/node
98d1d53b2009b72ef85792977d3cf68e2118b381
3b1baf63722b34c75e75d2e9f0f21e867e113332
test: fix assertion order PR-URL: https://github.com/nodejs/node/pull/23533 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.i...
[ { "path": "test/parallel/test-utf8-scripts.js", "patch": "@@ -27,4 +27,4 @@ const assert = require('assert');\n \n console.log('Σὲ γνωρίζω ἀπὸ τὴν κόψη');\n \n-assert.strictEqual(true, /Hellö Wörld/.test('Hellö Wörld'));\n+assert.strictEqual(/Hellö Wörld/.test('Hellö Wörld'), true);", "additions": 1, ...
2018-10-12T16:53:48
golang/go
0914646ab91a3157666d845d74d8d9a4a2831e1e
052da5717e02659da49707873b3868fe36f2aaf0
doc/1.17: fix two dead rfc links Updates #44513 Change-Id: Ia0c6b48bde2719f3a99cb216b6166d82159198d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/336930 Trust: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
[ { "path": "doc/go1.17.html", "patch": "@@ -886,8 +886,8 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dd>\n <p><!-- CL 272668 -->\n The new method <a href=\"/pkg/net/#IP.IsPrivate\"><code>IP.IsPrivate</code></a> reports whether an address is\n- a private IPv4 addr...
2021-07-23T16:45:41
vercel/next.js
a1c64d5b79f3e310b834f01f03c818060dde570f
f01543a753cbdc2755c860a594309ef3ea5eb11a
Optimize size for the error component (#45586) I noticed that by default all pages will contain the error component, but the payload isn't optimized enough even for prod: <img width="848" alt="CleanShot-2023-02-05-NzKGPCDv@2x" src="https://user-images.githubusercontent.com/3676859/216833690-2b6a79d7-5a74-4c1d-a3b...
[ { "path": "packages/next/src/client/components/error-boundary.tsx", "patch": "@@ -4,8 +4,9 @@ import React from 'react'\n \n const styles = {\n error: {\n+ // https://github.com/sindresorhus/modern-normalize/blob/main/modern-normalize.css#L38-L52\n fontFamily:\n- '-apple-system, BlinkMacSystem...
2023-02-06T13:12:52
electron/electron
335cd79b37a768873cdc6feb9ee4d114ec25d77f
e3bad233e9fbb497f317c0b9d72fe1e2f4bb6a45
Don't call Screen functions until app is ready Fixes #907.
[ { "path": "atom/common/api/atom_api_screen.cc", "patch": "@@ -2,21 +2,41 @@\n // Use of this source code is governed by the MIT license that can be\n // found in the LICENSE file.\n \n+#include \"atom/browser/browser.h\"\n #include \"atom/common/native_mate_converters/gfx_converter.h\"\n #include \"atom/com...
2015-01-05T06:27:02
huggingface/transformers
89b35be618256d2a4a2458322a0653c57e8fa986
9a02e7602d01c98946d755c38b51930bf8b43901
Allow make-fixup on main branch, albeit slowly (#38892) * Allow make-fixup on main branch, albeit slowly * Make the other style checks work correctly on main too * More update * More makefile update
[ { "path": "Makefile", "patch": "@@ -8,13 +8,19 @@ check_dirs := examples tests src utils\n exclude_folders := \"\"\n \n modified_only_fixup:\n-\t$(eval modified_py_files := $(shell python utils/get_modified_files.py $(check_dirs)))\n-\t@if test -n \"$(modified_py_files)\"; then \\\n-\t\techo \"Checking/fix...
2025-06-19T14:22:59
nodejs/node
3b1baf63722b34c75e75d2e9f0f21e867e113332
0311fcc546e792c813f1c6644ff7e60e7a7b5158
doc: fix url example to match behavior Fixes one WHATWG URL example to match the actual behavior. PR-URL: https://github.com/nodejs/node/pull/23359 Fixes: https://github.com/nodejs/node/issues/22653 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-...
[ { "path": "doc/api/url.md", "patch": "@@ -1286,7 +1286,7 @@ const myURL = new URL('https://%CF%80.example.com/foo');\n console.log(myURL.href);\n // Prints https://xn--1xa.example.com/foo\n console.log(myURL.origin);\n-// Prints https://π.example.com\n+// Prints https://xn--1xa.example.com\n ```\n \n [`Erro...
2018-10-10T00:05:16
vercel/next.js
61c896cf76460eb1711068cea2d00b1d3eb610e6
7f89f68d305192af8174a1621287ae39bcb6e31c
fix glob parsing and improve error reporting (vercel/turbo#3644) Our glob parser was not able to parse alternatives that contain a slash: `{a/b}`
[ { "path": "crates/turbo-tasks-fs/src/glob.rs", "patch": "@@ -1,6 +1,6 @@\n use std::mem::take;\n \n-use anyhow::{bail, Result};\n+use anyhow::{anyhow, bail, Context, Result};\n use serde::{Deserialize, Serialize};\n use turbo_tasks::trace::TraceRawVcs;\n \n@@ -75,7 +75,8 @@ impl Glob {\n let mut exp...
2023-02-06T10:16:09
rust-lang/rust
e0fd8144c04cd385c044fafeb3ae93269c310ab6
73a19a0c6767d5a92ba70354534b5b16051c68a1
Fix tests
[ { "path": "tests/ui/crashes/ice-12491.fixed", "patch": "@@ -3,6 +3,6 @@\n fn main() {\n if (true) {\n // anything一些中文\n- //~^^ needless_return\n+ //~^ needless_return\n }\n }", "additions": 1, "deletions": 1, "language": "Unknown" }, { "path": "tests/ui/cras...
2025-05-15T20:23:28
electron/electron
e3bad233e9fbb497f317c0b9d72fe1e2f4bb6a45
7abb08cc255b0182b4d8720e28c081ee53a8609c
Upgrade native_mate to fix throwing exception from constructor
[ { "path": "vendor/native_mate", "patch": "@@ -1 +1 @@\n-Subproject commit be2934d9b5925cb017238c1b385340c2f9cfdcb7\n+Subproject commit 753d5675dd58aab3d3c429a233803ad4598802bc", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2015-01-05T06:13:46
huggingface/transformers
54a02160eb030da9be18231c77791f2eb3a52216
af6120b3eb2470b994c21421bb6eaa76576128b0
Fix ReDOS in tokenizer digit substitution (#38844) * Fix regexes vulnerable to ReDOS * Let's just use regex * Import regex/re correctly
[ { "path": "src/transformers/models/clvp/number_normalizer.py", "patch": "@@ -15,7 +15,14 @@\n \n \"\"\"English Normalizer class for CLVP.\"\"\"\n \n-import re\n+import sys\n+\n+\n+if sys.version_info >= (3, 11):\n+ # Atomic grouping support was only added to the core RE in Python 3.11\n+ import re\n+e...
2025-06-19T13:53:52
nodejs/node
4ba1ddb046ed79118f357a9d47458bdf158dfa06
8d29569368629bf6dfd549a69b80b678ab714e58
doc: fix pr-url in repl.md Now it points to the actual pr, not to /compare/. PR-URL: https://github.com/nodejs/node/pull/23359 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozh...
[ { "path": "doc/api/repl.md", "patch": "@@ -453,7 +453,7 @@ Returns `true` if `keyword` is a valid keyword, otherwise `false`.\n added: v0.1.91\n changes:\n - version: v10.0.0\n- pr-url: https://github.com/nodejs/node/pull/v10.0.0\n+ pr-url: https://github.com/nodejs/node/pull/19187\n description...
2018-09-02T11:37:12
vercel/next.js
f01543a753cbdc2755c860a594309ef3ea5eb11a
7cc1f33f69c31d074ea71cb2bcabe18174fd407c
Fix unsafe caching for isolated tests (#45602) Noticed while testing across CI environments that the `test-pack` handling is not-concurrent or cache safe so this removes it from being used by default and moves it behind a flag to allow further investigating later. In CI if `test-pack` is called at the same time due ...
[ { "path": ".github/actions/next-stats-action/src/prepare/repo-setup.js", "patch": "@@ -55,27 +55,131 @@ module.exports = (actionInfo) => {\n }\n },\n async linkPackages({ repoDir, nextSwcVersion }) {\n- execa.sync('pnpm', ['turbo', 'run', 'test-pack'], {\n- cwd: repoDir,\n- ...
2023-02-06T09:01:44
huggingface/transformers
5d26a387359d669d74f14effbdc859f907133647
a9ce8c69c946eae3431828871366bb4112d4ec1b
Fix `FalconMambaIntegrationTests` (#38566) * update * update * update * update * update * update * update * update * update * update * update * update * update * update --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/falcon_mamba/test_modeling_falcon_mamba.py", "patch": "@@ -19,9 +19,12 @@\n \n from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig, FalconMambaConfig, is_torch_available\n from transformers.testing_utils import (\n+ Expectations,\n+ cleanup,\n r...
2025-06-19T11:50:33
electron/electron
753d5675dd58aab3d3c429a233803ad4598802bc
be2934d9b5925cb017238c1b385340c2f9cfdcb7
Fix ignored exception thrown from constructor.
[ { "path": "native_mate/constructor.h", "patch": "@@ -156,7 +156,17 @@ class Constructor {\n MATE_METHOD_RETURN_UNDEFINED();\n }\n \n- Wrappable* object = internal::InvokeFactory(args, factory);\n+ Wrappable* object;\n+ {\n+ // Don't continue if the constructor throws an exception.\n+...
2015-01-05T06:13:19
nodejs/node
8d29569368629bf6dfd549a69b80b678ab714e58
98afca92a9d035a6191fd05e8013a6fc36a78539
doc: wrap links in <> This fixes links that were broken due to inclusion of the trailing dot. Also simplifies a pair of occurances of [](). PR-URL: https://github.com/nodejs/node/pull/23359 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin...
[ { "path": "doc/api/deprecations.md", "patch": "@@ -334,7 +334,7 @@ changes:\n Type: End-of-Life\n \n Calling an asynchronous function without a callback throws a `TypeError`\n-in Node.js 10.0.0 onwards. (See https://github.com/nodejs/node/pull/12562.)\n+in Node.js 10.0.0 onwards. (See <https://github.com/no...
2018-09-02T10:49:02
vercel/next.js
7cc1f33f69c31d074ea71cb2bcabe18174fd407c
cb7409a6ca4cfa08349a1621d93def146c075ce5
Fix invalid sourcemaps in taskfile-swc (#45604) While debugging locally the generated sourcemaps are incorrect as we aren't stripping `src` from the destination path making them unhelpful. Notice the `packages/src` instead of `packages/next/src`. <details> <summary>Before</summary> ![CleanShot 2023-02-05 at 22 58 ...
[ { "path": "packages/next/taskfile-swc.js", "patch": "@@ -99,7 +99,11 @@ module.exports = function (task) {\n \n const filePath = path.join(file.dir, file.base)\n const fullFilePath = path.join(__dirname, filePath)\n- const distFilePath = path.dirname(path.join(__dirname, 'dist', filePath))\...
2023-02-06T08:14:51
golang/go
052da5717e02659da49707873b3868fe36f2aaf0
798ec73519a7226d6d436e42498a54aed23b8468
cmd/compile: do not change field offset in ABI analysis Currently, the ABI analysis assigns parameter/result offsets to the fields of function *Type. In some cases, we may have an ABI0 function reference and an ABIInternal reference share the same function *Type. For example, for an ABI0 function F, "f := F" will make...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -446,35 +446,20 @@ func (config *ABIConfig) ABIAnalyze(t *types.Type, setNname bool) *ABIParamResul\n \treturn result\n }\n \n-// parameterUpdateMu protects the Offset field of function/method parameters (a subset of structure Fields)\n-var ...
2021-07-22T16:42:09
huggingface/transformers
a9ce8c69c946eae3431828871366bb4112d4ec1b
0a53df1a77a9978ddf958e1f8f7a257181f180cb
align xpu's autocast behavior w/ cuda by using device agnostic torch APIs (#38284) * siwtch to device agnostic autocast in nemotron to align xpu behavior w/ cuda Signed-off-by: Matrix Yao <matrix.yao@intel.com> * fix issue Signed-off-by: Matrix Yao <matrix.yao@intel.com> * fix style Signed-off-by: Matrix Yao <mat...
[ { "path": "src/transformers/models/chameleon/modeling_chameleon.py", "patch": "@@ -100,7 +100,7 @@ def forward(self, x, position_ids):\n # Force float32 since bfloat16 loses precision on long contexts\n # See https://github.com/huggingface/transformers/pull/29285\n device_type = x.de...
2025-06-19T11:48:23
electron/electron
7abb08cc255b0182b4d8720e28c081ee53a8609c
31bdfc22819b8c7956caac62522cbac32ee95678
docs: Document dialog.showErrorBox, fixes #909
[ { "path": "docs/api/dialog.md", "patch": "@@ -83,3 +83,10 @@ the index of the clicked button.\n \n If a `callback` is passed, the API call would be asynchronous and the result\n would be passed via `callback(response)`\n+\n+## dialog.showErrorBox(title, content)\n+\n+Runs a modal dialog that shows an error ...
2015-01-05T05:56:45
nodejs/node
446aadd2e23bb91709644c493f20f7c5ae103ff8
cb6c33e368d97c0c61a085e56b7196a676a09d85
test: fix argument order for assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/23485 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
[ { "path": "test/sequential/test-inspector-scriptparsed-context.js", "patch": "@@ -81,7 +81,7 @@ async function runTests() {\n await session.waitForBreakOnLine(0, 'evalmachine.<anonymous>');\n \n await session.runToCompletion();\n- assert.strictEqual(0, (await instance.expectShutdown()).exitCode);\n+ a...
2018-10-12T16:56:31
rust-lang/rust
12fda865f2f67081a96b116cae5194c791b20fb1
49553be30784711d7dc6976ef1335b74df7cbe44
Fix exe() to make rustc wrapper happy
[ { "path": "src/bootstrap/src/utils/shared_helpers.rs", "patch": "@@ -46,7 +46,7 @@ pub fn dylib_path() -> Vec<std::path::PathBuf> {\n /// Given an executable called `name`, return the filename for the\n /// executable for a particular target.\n pub fn exe(name: &str, target: &str) -> String {\n- if targe...
2025-05-09T16:17:09
vercel/next.js
cb7409a6ca4cfa08349a1621d93def146c075ce5
45d57323493e11fa30810d37a4bfee9a785077fe
Fix AsyncLocalStorage included in the client bundle (#45589) Fixes #45587. `bailout-to-client-rendering` imports `static-generation-async-storage` which creates `AsyncLocalStorage` in the module level. It should only be included in the server bundles, not client. ## Bug - [ ] Related issues linked using `fixes #numb...
[ { "path": "packages/next/src/client/components/navigation.ts", "patch": "@@ -12,7 +12,6 @@ import {\n PathnameContext,\n // LayoutSegmentsContext,\n } from '../../shared/lib/hooks-client-context'\n-import { bailoutToClientRendering } from './bailout-to-client-rendering'\n import { clientHookInServerComp...
2023-02-06T00:21:46
electron/electron
bf14f67cb80196041f0a58b0bcd40d819c1fa2ba
ef7a60807bae5b7e67f7c04f123613a5690afdad
win: Fix building
[ { "path": "atom/browser/ui/win/notify_icon.cc", "patch": "@@ -10,6 +10,7 @@\n #include \"base/win/windows_version.h\"\n #include \"third_party/skia/include/core/SkBitmap.h\"\n #include \"ui/gfx/icon_util.h\"\n+#include \"ui/gfx/image/image.h\"\n #include \"ui/gfx/point.h\"\n #include \"ui/gfx/rect.h\"\n #in...
2015-01-03T03:30:48
huggingface/transformers
0a53df1a77a9978ddf958e1f8f7a257181f180cb
b949747b54b6d81c5e4ab93c4d98ebc7a5901b31
Fix unnecessary super calls (#38897) Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "src/transformers/models/bit/modeling_bit.py", "patch": "@@ -135,7 +135,7 @@ class BitGroupNormActivation(nn.GroupNorm):\n \"\"\"\n \n def __init__(self, config, num_channels, eps=1e-5, affine=True, apply_activation=True):\n- super(BitGroupNormActivation, self).__init__(config.num_g...
2025-06-19T11:45:51
nodejs/node
cb6c33e368d97c0c61a085e56b7196a676a09d85
c19ab565ca888bace37980d2bc990b3e7936f716
test: fix assert.strictEqual params order PR-URL: https://github.com/nodejs/node/pull/23480 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat ...
[ { "path": "test/sequential/test-pipe.js", "patch": "@@ -75,7 +75,7 @@ const tcp = net.Server(common.mustCall((s) => {\n s.on('data', (d) => {\n tcpLengthSeen += d.length;\n for (let j = 0; j < d.length; j++) {\n- assert.strictEqual(buffer[i], d[j]);\n+ assert.strictEqual(d[j], buffer[i])...
2018-10-12T17:06:36
vercel/next.js
dc0aea5418459b1db4d2ebe0501dd9f373b3eee1
99166f8231d48f0dbe0a8849ab98a9c775c44b16
Fix SWC test (#45574) This PR fixes several test cases related to closure handling. Idents declared in the module scope shouldn't be included in the closure. NEXT-456 ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see [`con...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -7,17 +7,15 @@ use next_binding::swc::core::{\n },\n ecma::{\n ast::{\n- op, ArrayLit, AssignExpr, BlockStmt, CallExpr, ComputedPropName, Decl, ExportDecl,\n- Expr, ExprStmt, FnDecl, Function,...
2023-02-05T18:23:29
golang/go
798ec73519a7226d6d436e42498a54aed23b8468
fdb45acd1f062884c77ea6961fb638e004af1b8e
runtime: don't clear timerModifiedEarliest if adjustTimers is 0 This avoids a race when a new timerModifiedEarlier timer is created by a different goroutine. Fixes #47329 Change-Id: I6f6c87b4a9b5491b201c725c10bc98e23e0ed9d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/336432 Trust: Ian Lance Taylor <iant@g...
[ { "path": "src/runtime/runtime2.go", "patch": "@@ -681,7 +681,7 @@ type p struct {\n \t// timerModifiedEarlier status. Because the timer may have been\n \t// modified again, there need not be any timer with this value.\n \t// This is updated using atomic functions.\n-\t// This is 0 if the value is unknown.\...
2021-07-22T02:57:56
huggingface/transformers
b949747b54b6d81c5e4ab93c4d98ebc7a5901b31
11738f85377df4072e96c5842369c000c3bd46c0
Fix `fsmt` tests (#38904) * fix 1 * fix 2 * fix 3 * fix 4 * fix 5 --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/fsmt/test_modeling_fsmt.py", "patch": "@@ -474,7 +474,16 @@ def get_tokenizer(self, mname):\n \n def get_model(self, mname):\n if mname not in self.models_cache:\n- self.models_cache[mname] = FSMTForConditionalGeneration.from_pretrained(mname).to(torch_device)\...
2025-06-19T08:56:34
electron/electron
ef7a60807bae5b7e67f7c04f123613a5690afdad
f17673be9ccc136f12abf9bb21c903024569cb72
linux: Fix building
[ { "path": "atom/browser/ui/tray_icon_gtk.cc", "patch": "@@ -8,6 +8,7 @@\n #include \"base/strings/utf_string_conversions.h\"\n #include \"chrome/browser/ui/libgtk2ui/app_indicator_icon.h\"\n #include \"chrome/browser/ui/libgtk2ui/gtk2_status_icon.h\"\n+#include \"ui/gfx/image/image.h\"\n \n namespace atom {...
2015-01-03T03:17:02
rust-lang/rust
102cc2f8835c2ca73ca9a20172e3c6dda0e4d139
414482f6a0d4e7290f614300581a0b55442552a3
move expensive layout sanity check to debug assertions
[ { "path": "compiler/rustc_ty_utils/src/layout/invariant.rs", "patch": "@@ -8,15 +8,6 @@ use rustc_middle::ty::layout::{HasTyCtxt, LayoutCx, TyAndLayout};\n pub(super) fn layout_sanity_check<'tcx>(cx: &LayoutCx<'tcx>, layout: &TyAndLayout<'tcx>) {\n let tcx = cx.tcx();\n \n- // Type-level uninhabitedn...
2025-05-15T14:05:02
nodejs/node
20b3698ac14fdd9664654fa90302a5f8b6b58193
541367ac8e17619f4d11af836f41bc18a789623b
src: throw if functions used as constructors in node_crypto.cc Throw an error if verify_error_getter_templ or verify_error_getter_templ2 are used as constructors. PR-URL: https://github.com/nodejs/node/pull/23582 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-...
[ { "path": "src/node_crypto.cc", "patch": "@@ -3940,8 +3940,7 @@ void DiffieHellman::Initialize(Environment* env, Local<Object> target) {\n env->as_external(),\n Signature::New(env->isolate(), t),\n /* length */ 0,\n- ...
2018-10-12T18:20:55
vercel/next.js
8f5d41b12b9592fddedc8ab28fb2f4452a7c1452
50e305787136c71b50548c2b5f750861631a0c63
Fix enable_mdx short flag conflict with exact flag (vercel/turbo#3622)
[ { "path": "crates/node-file-trace/src/lib.rs", "patch": "@@ -127,7 +127,7 @@ pub struct CommonArgs {\n exact: bool,\n \n /// Whether to enable mdx parsing while tracing dependencies\n- #[cfg_attr(feature = \"cli\", clap(short, long))]\n+ #[cfg_attr(feature = \"cli\", clap(long))]\n #[cfg_a...
2023-02-04T14:57:14