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
61baae126f42c928642db5aedd6bbae522df78ba
eecd8dc146c746fe17905becee49df5019d54986
fix Next.rs API (#53456) ### What? * fixes problems in Next.rs API introduced by #52846 * adds test infrastructure for experimental turbo testing * adds two test cases to verify the infrastructure * add grouping of output logs in run-tests * simplify template loading ### Why? ### How?
[ { "path": ".github/workflows/build_and_test.yml", "patch": "@@ -125,6 +125,15 @@ jobs:\n afterBuild: turbo run rust-check\n secrets: inherit\n \n+ test-experimental-turbopack-dev:\n+ name: test experimental turbopack dev\n+ needs: ['build-native', 'build-next']\n+ uses: ./.github/workflo...
2023-08-02T12:31:52
nodejs/node
6265e4166aa7a7a7697d52f3a528f3372226b0c9
1e1285926f35558f8ad1dad5fad2040ce576f46e
src: fix ESM path resolution on Windows Windows has some reserved file names such as "con", "prn", "nul", etc. Such files can be accessed only if the path is prefixed with "\\.\" PR-URL: https://github.com/nodejs/node/pull/29574 Reviewed-By: Guy Bedford <guybedford@gmail.com>
[ { "path": "src/module_wrap.cc", "patch": "@@ -488,7 +488,12 @@ enum DescriptorType {\n // Nothing for the \"null\" cache entries.\n inline Maybe<uv_file> OpenDescriptor(const std::string& path) {\n uv_fs_t fs_req;\n+#ifdef _WIN32\n+ std::string pth = \"\\\\\\\\.\\\\\" + path;\n+ uv_file fd = uv_fs_open(...
2019-09-16T08:45:05
electron/electron
10a24549219c4fc70a2f8f03c293911695928f75
791cbc929a232d3deb2bbd25a16df2e7149b8d06
Remove unneeded atom:: prefix
[ { "path": "atom/browser/ui/views/menu_delegate.cc", "patch": "@@ -30,10 +30,10 @@ void MenuDelegate::RunMenu(AtomMenuModel* model, views::MenuButton* button) {\n button->height() - 1);\n \n id_ = button->tag();\n- adapter_.reset(new atom::MenuModelAdapter(model));\n+ adapter_.reset(ne...
2016-07-07T21:25:09
golang/go
3e7ffb862f550c38ce0611b970a4dce10a01226e
5a90270d7f5b384de31399133c7336d007fbd93d
all: consistently use US spelling of present participles It has been agreed that we should prefer the US spelling of words like "canceling" over "cancelling"; for example, see https://go.dev/cl/14526. Fix a few occurrences of the "canceling" inconsistency, as well as: * signaling * tunneling * marshaling Change-Id:...
[ { "path": "src/cmd/compile/internal/dwarfgen/dwarf.go", "patch": "@@ -547,7 +547,7 @@ func RecordFlags(flags ...string) {\n \t\tfmt.Fprintf(&cmd, \" -%s=%v\", f.Name, getter.Get())\n \t}\n \n-\t// Adds flag to producer string singalling whether regabi is turned on or\n+\t// Adds flag to producer string sign...
2022-04-07T06:13:47
rust-lang/rust
a1cfca3d074fda4ca475bbbf1fe0100b2464cada
ef82007ed7b7833e3efdec0d80712849048c5c1f
Fix clippy & rustdoc-json Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
[ { "path": "src/librustdoc/clean/types.rs", "patch": "@@ -796,6 +796,9 @@ impl Item {\n }\n Some(format!(\"#[target_feature({output})]\"))\n }\n+ hir::Attribute::Parsed(AttributeKind::AutomaticallyDerived(....
2025-07-11T10:01:26
nodejs/node
1e1285926f35558f8ad1dad5fad2040ce576f46e
cdf8f708cfa8819f2479d78e4f5ad0148f0418a7
tls: honor pauseOnConnect option `pauseOnConnect` is now passed along to the net.Socket constructor from the tls.Socket constructor. The `readable` flag must match the value of `pauseOnConnect`. Tests were added to cover all available net.Server options when used in the tls.Server constructor. Fixes: https://github.c...
[ { "path": "lib/_tls_wrap.js", "patch": "@@ -411,7 +411,9 @@ function TLSSocket(socket, opts) {\n net.Socket.call(this, {\n handle: this._wrapHandle(wrap),\n allowHalfOpen: socket ? socket.allowHalfOpen : tlsOptions.allowHalfOpen,\n- readable: false,\n+ pauseOnCreate: tlsOptions.pauseOnConnec...
2019-09-20T18:15:16
vercel/next.js
eecd8dc146c746fe17905becee49df5019d54986
b31b0ee0cceeb68c01363cb1adb95ea8041c9974
Docs: update caching docs (#53478) This PR: - Makes minor content and formatting improvements - Updates caching diagrams: - Adds missing static/dynamic diagram (fixes #53460) - Tweaks designs to explain things better - Increases font sizes Relies on: https://github.com/vercel/front/pull/24321
[ { "path": "docs/02-app/01-building-your-application/04-caching/index.mdx", "patch": "@@ -19,17 +19,17 @@ Here's a high-level overview of the different caching mechanisms and their purpo\n | [Full Route Cache](#full-route-cache) | HTML and RSC payload | Server | Reduce rendering cost and improve ...
2023-08-02T12:11:22
golang/go
5a90270d7f5b384de31399133c7336d007fbd93d
c451a02a6d3e95d279260bd8c1edae676d62997d
cmd/compile: fix deadlock on syntax error Fixes #52127 Change-Id: I6523c83350cb9263d23e3e8b472fe63a5cc99c2e Reviewed-on: https://go-review.googlesource.com/c/go/+/398014 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> Auto-Submit: Matthew Dempsky <mdempsky@google.c...
[ { "path": "src/cmd/compile/internal/noder/noder.go", "patch": "@@ -33,29 +33,34 @@ func LoadPackage(filenames []string) {\n \tsem := make(chan struct{}, runtime.GOMAXPROCS(0)+10)\n \n \tnoders := make([]*noder, len(filenames))\n-\tfor i, filename := range filenames {\n+\tfor i := range noders {\n \t\tp := n...
2022-04-04T15:01:16
rust-lang/rust
01f434675b2768ba4913e54ccbaf580bf25041ed
c4e8c34682653f8fa4829a576df74493c856cd9b
Fix assoc type where clause position
[ { "path": "src/tools/rust-analyzer/crates/ide-completion/src/completions/item_list/trait_impl.rs", "patch": "@@ -37,6 +37,7 @@ use ide_db::{\n SymbolKind, documentation::HasDocs, path_transform::PathTransform,\n syntax_helpers::prettify_macro_expansion, traits::get_missing_assoc_items,\n };\n+use sy...
2025-07-12T15:47:59
vercel/next.js
b31b0ee0cceeb68c01363cb1adb95ea8041c9974
b1bf7aeefaa3bec48b26530a3b131da86ab5b87a
Add list of aliased `lucide-react` icons to the transform rules (#53483) `lucide-react` follows the naming rule of `LucideName`, `NameIcon` and `Name` being exported from `/icons/{{ kebabCase Name }}`, but it has some special aliases such as `Stars` exported from `/icons/sparkles`. For now we have to add these rules m...
[ { "path": "packages/next/src/server/config.ts", "patch": "@@ -684,6 +684,36 @@ function assignDefaults(\n // instead of just resolving `lucide-react/esm/icons/{{kebabCase member}}` because this package\n // doesn't have proper `exports` fields for individual icons in its package.json.\n tr...
2023-08-02T11:38:40
golang/go
c451a02a6d3e95d279260bd8c1edae676d62997d
8d581f589eb9b9eac05c75f0dfe82a49c3afcd2f
strings, bytes: improve the description of simple case-folding in EqualFold This CL removes the problem description pointed out by @bjkail. Second, synchronously modify the comments of the bytes package. Updates #52022 Fixes #52204 Change-Id: I0aa52c774f40bb91f32bebdd2a62a11067a77be0 Reviewed-on: https://go-review.g...
[ { "path": "src/bytes/bytes.go", "patch": "@@ -1142,7 +1142,7 @@ func ReplaceAll(s, old, new []byte) []byte {\n }\n \n // EqualFold reports whether s and t, interpreted as UTF-8 strings,\n-// are equal under Unicode case-folding, which is a more general\n+// are equal under simple Unicode case-folding, which...
2022-04-07T15:53:12
huggingface/transformers
760eae30588036f09614ce09ec5d687faf1b595b
af496d74ca7d97e29defb3480cc831400e504387
[Trainer] Move optimizer cls init to trainer_optimizer.py (#43738) * update optimizer static method * fix * maybe this is a bit better ? * update tests * fix * fix * add api * update * let's remove for now * Apply repo consistency fixes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@user...
[ { "path": "src/transformers/trainer.py", "patch": "@@ -18,7 +18,6 @@\n import contextlib\n import functools\n import glob\n-import importlib.metadata\n import inspect\n import json\n import math\n@@ -71,7 +70,7 @@\n MODEL_FOR_CAUSAL_LM_MAPPING_NAMES,\n MODEL_MAPPING_NAMES,\n )\n-from .optimization i...
2026-02-10T14:26:43
electron/electron
34ed2c4da4a25c01e5776950c34b8bed3669166e
d23c1bf9173631a4425c5973f572149b45504182
Fix a hash of a link href in the remote.md :memo: web-contents.md#webcontentsexecutejavascriptcode-usergesture -> web-contents.md#webcontentsexecutejavascriptcode-usergesture-callback
[ { "path": "docs/api/remote.md", "patch": "@@ -21,7 +21,7 @@ win.loadURL('https://github.com');\n ```\n \n **Note:** for the reverse (access the renderer process from the main process),\n-you can use [webContents.executeJavascript](web-contents.md#webcontentsexecutejavascriptcode-usergesture).\n+you can use ...
2016-07-07T15:52:49
rust-lang/rust
1954034e3472d2c8c8229e029e92b81db5809f9c
0bb092a93fa32ac5d68fdeb4fc0482705a25247b
Comment test that cannot be fixed currently
[ { "path": "build_system/src/build.rs", "patch": "@@ -95,8 +95,6 @@ fn cleanup_sysroot_previous_build(library_dir: &Path) {\n &mut |_| Ok(()),\n false,\n );\n-\n- let _ = fs::remove_file(library_dir.join(\"Cargo.lock\"));\n }\n \n pub fn build_sysroot(env: &HashMap<String, String>, con...
2025-07-12T14:44:48
vercel/next.js
a88e3a8087ebdd69dd044da146315c12d9ea4de2
1b2e361e0dd0d25a9c10ccc1fcda1defe346a1aa
Enable additional webpack memory cache (#52540) This option was previously disabled because of test failures with HMR, re-enabling it as it helps with HMR speed (skips resolving on changes). <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possib...
[ { "path": "packages/next/src/build/webpack-config.ts", "patch": "@@ -726,6 +726,8 @@ export async function loadProjectInfo({\n }\n }\n \n+const UNSAFE_CACHE_REGEX = /[\\\\/]pages[\\\\/][^\\\\/]+(?:$|\\?|#)/\n+\n export default async function getBaseWebpackConfig(\n dir: string,\n {\n@@ -2803,6 +2805,1...
2023-08-02T09:43:39
huggingface/transformers
520fad98fe370c69807481e2cf2e2dce946f9374
44f92b63d8d5e704995533dae43d3cb7fe963a16
Remove unnecessary code or checks for PT 2.4+ (#43787) * Remove unnecessary code or checks for PT 2.4+ Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * More fixes Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * More fixes Signed-off-by: Yuanyuan Chen <cyyever@outlook.com> * Format code Signed-off-by: Y...
[ { "path": "src/transformers/activations.py", "patch": "@@ -257,7 +257,7 @@ def __init__(\n self._xielu_cuda_obj = torch.classes.xielu.XIELU()\n msg = \"Using experimental xIELU CUDA.\"\n try:\n- from torch._dynamo import allow_in_graph\n+ fro...
2026-02-10T13:30:23
golang/go
6f6942ef7afc34c6b7e1eea3031ed61acc458d2a
79619c3c7eb2ba3f3512410e1808c95cd1b6abf8
doc/go1.19: use the right package error.Is arguments They were swapped. Fixes #52205 Change-Id: Iea2626aa2204f3bc96d08c571a1aa669436a32ad Reviewed-on: https://go-review.googlesource.com/c/go/+/398895 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
[ { "path": "doc/go1.19.html", "patch": "@@ -106,9 +106,9 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <p><!-- CL 396877 -->\n When a net package function or method returns an \"I/O timeout\"\n error, the error will now satisfy <code>errors.Is(err,\n- context.Ca...
2022-04-07T20:02:35
rust-lang/rust
0bb092a93fa32ac5d68fdeb4fc0482705a25247b
312dcd77796d59743aab30720d8df897504284e6
Fix building the sysroot
[ { "path": "build_system/build_sysroot/Cargo.lock", "patch": "@@ -1,502 +0,0 @@\n-# This file is automatically @generated by Cargo.\n-# It is not intended for manual editing.\n-version = 4\n-\n-[[package]]\n-name = \"addr2line\"\n-version = \"0.24.2\"\n-source = \"registry+https://github.com/rust-lang/crates...
2025-07-12T14:28:44
golang/go
c0bbeb0982403db17bacb1533776fb638cb449ae
063f4032f5ea8820d265ee1196ef9b8eba02c63f
cmd/compile: adjust types2 shift check to match go/types (cleanup) With this change, the shift checking code matches the corresponding go/types code, but for the differences in the internal error reporting, and call of check.overflow. The change leads to the recording of an untyped int value if the RHS of a non-const...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -6,6 +6,7 @@ package noder\n \n import (\n \t\"fmt\"\n+\t\"go/constant\"\n \n \t\"cmd/compile/internal/base\"\n \t\"cmd/compile/internal/ir\"\n@@ -62,6 +63,14 @@ func (g *irgen) expr(expr syntax.Expr) ir.Node {\n \t\tcase types2.UntypedNil:\n ...
2022-04-02T00:02:28
huggingface/transformers
44f92b63d8d5e704995533dae43d3cb7fe963a16
6028dd2ba16f5bd51a7f0ca38099e7483821d8b7
Update TrainingArguments (#43806) * update test * update * update help * change to tmp_trainer like trainer * reorder * fix * fix * Apply suggestion from @qgallouedec Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com> --------- Co-authored-by: Quentin Gallouédec <45557362+qgal...
[ { "path": "src/transformers/training_args.py", "patch": "@@ -107,26 +107,6 @@\n smp.init()\n \n \n-def get_int_from_env(env_keys, default):\n- \"\"\"Returns the first positive env value found in the `env_keys` list or the default.\"\"\"\n- for e in env_keys:\n- val = int(os.environ.get(e, \...
2026-02-10T13:19:24
nodejs/node
03b7a5a4bf50672d7a2ebc87fd8a78f45f891df2
d742535184655a04aafbf266522231aa1b7430c2
doc: fix return type for crypto.createDiffieHellmanGroup() PR-URL: https://github.com/nodejs/node/pull/29696 Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/api/crypto.md", "patch": "@@ -1824,7 +1824,7 @@ added: v0.9.3\n -->\n \n * `name` {string}\n-* Returns: {DiffieHellman}\n+* Returns: {DiffieHellmanGroup}\n \n An alias for [`crypto.getDiffieHellman()`][]\n \n@@ -2194,9 +2194,9 @@ added: v0.7.5\n -->\n \n * `groupName` {string}\n-* Returns: {D...
2019-09-24T20:27:37
vercel/next.js
9bde7dcc0f8c73f5785ec6e0efd8e59e7a7c4c4b
079813c11c8afcbabc165dec144704f560613c82
Add warning logs for incorrect page exports (#53449) <!-- 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 Contri...
[ { "path": "packages/next/src/build/analysis/get-page-static-info.ts", "patch": "@@ -77,14 +77,36 @@ export function getRSCModuleInformation(\n return { type, actions, clientRefs, clientEntryType, isClientRef }\n }\n \n+const warnedInvalidValueMap = {\n+ runtime: new Map<string, boolean>(),\n+ preferredR...
2023-08-01T20:59:20
huggingface/transformers
6028dd2ba16f5bd51a7f0ca38099e7483821d8b7
6df88fab49ace487c105225a5859c9c21b69d68e
Fix old tech stack in doc (#43879)
[ { "path": "docs/source/en/installation.md", "patch": "@@ -20,7 +20,7 @@ rendered properly in your Markdown viewer.\n \n # Installation\n \n-Transformers works with [PyTorch](https://pytorch.org/get-started/locally/). It has been tested on Python 3.9+ and PyTorch 2.4+.\n+Transformers works with [PyTorch](htt...
2026-02-10T13:02:46
electron/electron
4a4a8528ea0287df9f8aa7e9b19356986d6e4ba1
ce4ef1ccb8bc2cb116db256d9a8754e42c2a0c04
Fix linter warnings
[ { "path": "atom/browser/api/atom_api_web_contents.cc", "patch": "@@ -1272,7 +1272,9 @@ void WebContents::CapturePage(mate::Arguments* args) {\n host->CopyFromBackingStore(\n gfx::Rect(rect.origin(), view_size),\n bitmap_size,\n- base::Bind(&WebContents::OnCapturePageDone, base::Unretained...
2016-07-06T00:30:48
golang/go
3a0cda43a49793429bc38bdcb1d2112179b02fe1
d3362fc1242f20c40f6d3986ddf4398019c8ea26
image/draw: have draw.Src preserve NRGBA colors This reverts a behavior change introduced in Go 1.18 (commit 9f69a443; CL 340049). In Go 1.17 and earlier, draw.Draw(etc, draw.Src) with image.NRGBA dst and src images would pass through a (heap allocated) color.Color interface value holding a color.NRGBA concrete value....
[ { "path": "doc/go1.19.html", "patch": "@@ -76,6 +76,19 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <p>\n TODO: complete this section\n </p>\n+\n+<dl id=\"image/draw\"><dt><a href=\"/pkg/image/draw/\">image/draw</a></dt>\n+ <dd>\n+ <p><!-- CL 396795 -->\n+ <code>Draw</c...
2022-03-31T03:16:49
huggingface/transformers
6df88fab49ace487c105225a5859c9c21b69d68e
9b4de431b63b935365bccddfd9efe53604b442ea
Fix SwanLab callback to forward resume init args (#43848) test: keep SwanLab env forwarding coverage
[ { "path": "tests/trainer/test_trainer_callback.py", "patch": "@@ -27,7 +27,8 @@\n import shutil\n import tempfile\n import unittest\n-from unittest.mock import patch\n+from types import SimpleNamespace\n+from unittest.mock import Mock, patch\n \n from transformers import (\n DefaultFlowCallback,\n@@ -41...
2026-02-10T12:57:07
vercel/next.js
f51978beae7dd070e622c7668c0325569c65efca
dc3936b11a9205b3fa6f8fb487e5aea1f56c23cb
fix(doc): Broken link formatting in draft-mode doc (app router) (#53446) ### What? Link to dynamic rendering is not appearing as such in the App router's draft-mode docs. ### Why? The formatting is wrong, it misses a parenthesis ### How? Added the missing parenthesis
[ { "path": "docs/02-app/01-building-your-application/07-configuring/11-draft-mode.mdx", "patch": "@@ -3,7 +3,7 @@ title: Draft Mode\n description: Next.js has draft mode to toggle between static and dynamic pages. You can learn how it works with App Router here.\n ---\n \n-Static rendering is useful when you...
2023-08-01T15:22:49
nodejs/node
1a25e901b7c380929f0d08599f49dd77897a627f
a71fb978a40b5251fdb012bab5e03598d5397a10
tools: support full-icu by default Instead of an English-only icudt64l.dat in the repo, we now have icudt64l.dat.gz with all locales. - updated READMEs and docs - shrinker now copies source, and compresses (bzip2) the ICU data file - configure expects deps/icu-small to be full ICU with a full compressed data file Fi...
[ { "path": "BUILDING.md", "patch": "@@ -35,21 +35,23 @@ file a new issue.\n * [Building Node.js](#building-nodejs-1)\n * [Android/Android-based devices (e.g. Firefox OS)](#androidandroid-based-devices-eg-firefox-os)\n * [`Intl` (ECMA-402) support](#intl-ecma-402-support)\n- * [Default: `small-icu` (En...
2019-09-30T18:17:49
golang/go
9a6acc83c853c17700c44e336e2d3e2c0fe9a72b
81ae993e54547415ba674082801b05961e3f2aa3
text/template: support delimiters that can be confused with actions In fields that start with the same character as the right delimiter, the whole delimiter needs to be checked. The first character alone is not sufficient. Fixes #52165 Change-Id: I1e4086048417693757f34d0e9ff3bf86aba0d35c Reviewed-on: https://go-revi...
[ { "path": "src/text/template/parse/lex.go", "patch": "@@ -541,13 +541,25 @@ func (l *lexer) atTerminator() bool {\n \tcase eof, '.', ',', '|', ':', ')', '(':\n \t\treturn true\n \t}\n-\t// Does r start the delimiter? This can be ambiguous (with delim==\"//\", $x/2 will\n-\t// succeed but should fail) but on...
2022-04-05T19:06:33
huggingface/transformers
9b4de431b63b935365bccddfd9efe53604b442ea
3b2abb8f7aab97efc51153478f02e86e2ea0e0dd
[`Jamba`] Fallback to slow path and warn instead of error out (#43889) * fix * style
[ { "path": "src/transformers/models/jamba/modeling_jamba.py", "patch": "@@ -328,8 +328,6 @@ def __init__(self, config: JambaConfig, layer_idx):\n self.activation = config.hidden_act\n self.act = ACT2FN[config.hidden_act]\n \n- self.use_fast_kernels = config.use_mamba_kernels\n-\n ...
2026-02-10T12:35:45
nodejs/node
a71fb978a40b5251fdb012bab5e03598d5397a10
d5882a95449b7970a9c928a3e6076e09c019212a
n-api,doc: clarify napi_finalize related APIs All these APIs have napi_finalize parameter but they don't behave exactly the same. Fixes: https://github.com/nodejs/node/issues/29750 PR-URL: https://github.com/nodejs/node/pull/29797 Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Rich Trott <rt...
[ { "path": "doc/api/n-api.md", "patch": "@@ -1809,9 +1809,15 @@ Returns `napi_ok` if the API succeeded.\n \n This API allocates a JavaScript value with external data attached to it. This\n is used to pass external data through JavaScript code, so it can be retrieved\n-later by native code. The API allows the...
2019-10-01T13:36:56
electron/electron
c2bf6c2460c87cc844482b1fdd034af3d9594edb
92b97d3576368acc5e78220094fe28e20002866e
Fix disordered definitions in webContents doc :memo: Swap `clearSelection` and `keepSelection` definitions for `webContents.stopFindInPage(action)` that seems to be in wrong order. [ci skip]
[ { "path": "docs/api/web-contents.md", "patch": "@@ -649,8 +649,8 @@ the request can be obtained by subscribing to\n \n * `action` String - Specifies the action to take place when ending\n [`webContents.findInPage`](web-contents.md#webcontentfindinpage) request.\n- * `clearSelection` - Translate the selec...
2016-07-06T15:58:50
huggingface/transformers
3b2abb8f7aab97efc51153478f02e86e2ea0e0dd
476600a9518bfe0ff07b471f334124a77836159c
[MistralCommonBackend] fix loading proc (#43887) custom repr
[ { "path": "src/transformers/tokenization_mistral_common.py", "patch": "@@ -1589,6 +1589,18 @@ def _get_validation_mode(mode: str | ValidationMode) -> ValidationMode:\n raise ValueError(_invalid_mode_msg)\n return mode\n \n+ def __repr__(self) -> str:\n+ # MistralCommonBackend d...
2026-02-10T12:32:22
golang/go
81ae993e54547415ba674082801b05961e3f2aa3
5bb2628c6f143be065776727cef03276c0e516f7
net/http: ignore ECONNRESET errors in TestTransportConcurrency on netbsd The source of these errors is undiagnosed, but they have only been observed on netbsd builders (on a variety of architectures). Tested manually by injecting this code into the test's handler: if mrand.Intn(4) == 0 { if conn, _, err := w.(H...
[ { "path": "src/net/http/transport_test.go", "patch": "@@ -2099,17 +2099,21 @@ func TestTransportConcurrency(t *testing.T) {\n \t\t\tfor req := range reqs {\n \t\t\t\tres, err := c.Get(ts.URL + \"/?echo=\" + req)\n \t\t\t\tif err != nil {\n-\t\t\t\t\tt.Errorf(\"error on req %s: %v\", req, err)\n+\t\t\t\t\tif...
2022-04-06T16:03:37
rust-lang/rust
2ecbf825bac8e19639aeeadce3993ed147d4e939
4e614bf683fb265079f79268408cd69e361efdcc
fix clippy_test_deps workspace handling
[ { "path": "clippy_test_deps/Cargo.lock", "patch": "@@ -0,0 +1,505 @@\n+# This file is automatically @generated by Cargo.\n+# It is not intended for manual editing.\n+version = 4\n+\n+[[package]]\n+name = \"addr2line\"\n+version = \"0.24.2\"\n+source = \"registry+https://github.com/rust-lang/crates.io-index\...
2025-07-12T08:37:55
vercel/next.js
b4d40f454e355c6bb623d06d165f86629a45e4dd
2aee3ef0d4017d7a8c469d336d132dee1abae956
Docs: Fix formatting issues in the caching docs (#53436)
[ { "path": "docs/02-app/01-building-your-application/02-data-fetching/01-fetching-caching-and-revalidating.mdx", "patch": "@@ -64,9 +64,9 @@ export default async function Page() {\n \n > **Good to know**:\n >\n-> Next.js provides helpful functions you may need when fetching data in Server Components such as ...
2023-08-01T13:34:25
nodejs/node
389969ea9247a7bb12d5e595879a7f0f05357dc5
500720f5781b96147422614b82c1f85e22d6a6e8
crypto: remove arbitrary UTF16 restriction Since 71f633a32f1f5617, this is no longer necessary. Refs: https://github.com/nodejs/node/pull/22622 Fixes: https://github.com/nodejs/node/issues/29793 PR-URL: https://github.com/nodejs/node/pull/29795 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ruben Br...
[ { "path": "doc/api/errors.md", "patch": "@@ -765,14 +765,6 @@ to enable or disable FIPS mode in the `crypto` module.\n An attempt was made to enable or disable FIPS mode, but FIPS mode was not\n available.\n \n-<a id=\"ERR_CRYPTO_HASH_DIGEST_NO_UTF16\"></a>\n-### ERR_CRYPTO_HASH_DIGEST_NO_UTF16\n-\n-The UTF...
2019-10-01T11:59:25
huggingface/transformers
476600a9518bfe0ff07b471f334124a77836159c
884749a1f7d84678b30e8a4ba5e402d19bed457f
Fix GlmMoeDsaConfig default mlp_layer_types in modular conversion (#43876) * Fix GlmMoeDsaConfig default mlp layer pattern * fix(glm-moe-dsa): dedupe config init and colocate test * Apply repo consistency fixes --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
[ { "path": "src/transformers/models/glm_moe_dsa/configuration_glm_moe_dsa.py", "patch": "@@ -181,80 +181,17 @@ def __init__(\n index_topk: int | None = 2048,\n **kwargs,\n ):\n- self.hidden_size = hidden_size\n- self.intermediate_size = intermediate_size\n- self.num_h...
2026-02-10T12:24:19
electron/electron
381689d3ed4e198966e481ee543556fa16451ad5
8d3e09747a778b54317c9446f9da6db2fa27c1bd
Fix building on Windows
[ { "path": "atom/app/atom_main.cc", "patch": "@@ -19,7 +19,6 @@\n #include \"base/win/windows_version.h\"\n #include \"content/public/app/sandbox_helper_win.h\"\n #include \"sandbox/win/src/sandbox_types.h\"\n-#include \"ui/gfx/win/dpi.h\"\n #elif defined(OS_LINUX) // defined(OS_WIN)\n #include \"atom/app/a...
2016-07-05T00:31:29
rust-lang/rust
a0a8e806041d08dc8877571ebd1bdab115a060ad
c629a450d650f478bde8fffca92a0da7b0701316
fix clippy_test_deps workspace handling
[ { "path": "Cargo.lock", "patch": "@@ -351,12 +351,6 @@ version = \"0.6.9\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n checksum = \"175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e\"\n \n-[[package]]\n-name = \"bytes\"\n-version = \"1.10.1\"\n-source = \"registry+h...
2025-07-12T08:37:55
golang/go
5bb2628c6f143be065776727cef03276c0e516f7
6c17529af785d14fd317e19f878327539ea6cd47
bytes: limit allocation in SplitN So that bytes.SplitN("", "T", int(144115188075855872)) does not panic. Change-Id: I7c068852bd708416164fc2ed8b84cf6b2d593666 GitHub-Last-Rev: f8df09d65e2bc889fbd0c736bfb5e9a9078dfced GitHub-Pull-Request: golang/go#52147 Reviewed-on: https://go-review.googlesource.com/c/go/+/398076 Run...
[ { "path": "src/bytes/bytes.go", "patch": "@@ -348,6 +348,9 @@ func genSplit(s, sep []byte, sepSave, n int) [][]byte {\n \tif n < 0 {\n \t\tn = Count(s, sep) + 1\n \t}\n+\tif n > len(s)+1 {\n+\t\tn = len(s) + 1\n+\t}\n \n \ta := make([][]byte, n)\n \tn--", "additions": 3, "deletions": 0, "languag...
2022-04-05T20:28:16
huggingface/transformers
884749a1f7d84678b30e8a4ba5e402d19bed457f
b7b9d25226d7b4e9ec2f6eac5f7839adc195fa43
Fix init weights in remote code (#43768) * init or tie weight in remote code * processing * config attr * maybe? the special token logic is breaking many tests * updates * oh c'mon * omg * try None and see if tests fail * oops
[ { "path": "src/transformers/feature_extraction_utils.py", "patch": "@@ -79,7 +79,8 @@ def __init__(\n skip_tensor_conversion: list[str] | set[str] | None = None,\n ):\n super().__init__(data)\n- self.convert_to_tensors(tensor_type=tensor_type, skip_tensor_conversion=skip_tensor_co...
2026-02-10T10:58:46
nodejs/node
500720f5781b96147422614b82c1f85e22d6a6e8
6ea51bc4918c05e293c30d5efc384a15ae6cfd7e
errors: make sure all Node.js errors show their properties This improves Node.js errors by always showing the attached properties when inspecting such an error. This applies especially to SystemError. It did often not show any properties but now all properties will be visible. This is done in a mainly backwards compa...
[ { "path": "lib/internal/errors.js", "patch": "@@ -12,8 +12,6 @@\n \n const { Object, Math } = primordials;\n \n-const kCode = Symbol('code');\n-const kInfo = Symbol('info');\n const messages = new Map();\n const codes = {};\n \n@@ -121,76 +119,86 @@ class SystemError extends Error {\n writable: true,\...
2019-09-23T15:22:10
rust-lang/rust
acbbc18599e5b14abb9ec1226b611fcfe4f85bb3
855e0fe46e68d94e9f6147531b75ac2d488c548e
fix span for deferred command execution
[ { "path": "src/bootstrap/src/utils/exec.rs", "patch": "@@ -593,6 +593,8 @@ enum CommandState<'a> {\n executed_at: &'a Location<'a>,\n fingerprint: CommandFingerprint,\n start_time: Instant,\n+ #[cfg(feature = \"tracing\")]\n+ _span_guard: tracing::span::EnteredSpan,\n ...
2025-07-12T09:22:34
electron/electron
d0719e9b4be1881d8d18a51073279fbf6f1b8c5e
6c2825c0c4c17855e7baa688157917725bfa2514
Fix cpplint warnings
[ { "path": "atom/browser/api/atom_api_session.cc", "patch": "@@ -354,7 +354,7 @@ template<Session::CacheAction action>\n void Session::DoCacheAction(const net::CompletionCallback& callback) {\n BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,\n base::Bind(&DoCacheActionInIO,\n- m...
2016-07-04T10:19:20
golang/go
2de2f6df64a8fff36fe9752f893a7cfff4590762
dbb52cc9f3e83a3040f46c2ae7650c15ab342179
crypto/x509: add new CRL parser, deprecate old one Adds a new, cryptobyte based, CRL parser, which returns a x509.RevocaitonList, rather than a pkix.CertificateList. This allows us to return much more detailed information, as well as leaving open the option of adding further information since RevocationList is not a d...
[ { "path": "api/next/50674.txt", "patch": "@@ -0,0 +1,9 @@\n+pkg crypto/x509, func ParseRevocationList([]uint8) (*RevocationList, error) #50674\n+pkg crypto/x509, method (*RevocationList) CheckSignatureFrom(*Certificate) error #50674\n+pkg crypto/x509, type RevocationList struct, AuthorityKeyId []uint8 #5067...
2022-03-08T19:18:44
huggingface/transformers
b7b9d25226d7b4e9ec2f6eac5f7839adc195fa43
b2028e775a52bf57ac2b6bd71b49ce61fa3adde6
Improve PR comment CI feedback (#43852) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/check_failed_tests.yml", "patch": "@@ -24,6 +24,10 @@ on:\n pr_number:\n required: false\n type: string\n+ outputs:\n+ is_check_failures_ok:\n+ description: \"Whether the failure checking infrastructure succeeded\"\n+ value: ${{ jobs.c...
2026-02-10T09:45:39
rust-lang/rust
0cc60617d766220df60749c141533b344ee5f7e7
0a64bfd6858606fae0b112673d4a28b2d6f149f8
clippy: fix test filtering when TESTNAME is empty
[ { "path": "tests/compile-test.rs", "patch": "@@ -144,8 +144,17 @@ impl TestContext {\n let target_dir = PathBuf::from(var_os(\"CARGO_TARGET_DIR\").unwrap_or_else(|| \"target\".into()));\n let mut config = Config {\n output_conflict_handling: error_on_output_conflict,\n+ ...
2025-07-12T09:08:30
nodejs/node
6ba9471f6fcaaf377f22621c4d193d30e3877566
83418b593f154aab704c7aa198b3c8cc1b974ed3
http2: use the latest settings Fixes: https://github.com/nodejs/node/issues/29764 PR-URL: https://github.com/nodejs/node/pull/29780 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.co...
[ { "path": "lib/internal/http2/core.js", "patch": "@@ -510,6 +510,7 @@ function onSettings() {\n return;\n session[kUpdateTimer]();\n debugSessionObj(session, 'new settings received');\n+ session[kRemoteSettings] = undefined;\n session.emit('remoteSettings', session.remoteSettings);\n }\n ", "...
2019-10-01T15:06:44
huggingface/transformers
a47a89a4557d07f7556b71440b6c1a321de94e60
82a5b3d7368c883baae89d49a3a777842c27b878
[xLSTM] Fix bugs preventing small model training (#43209) * Fix xLSTM bugs preventing small model training - Fix typo: vecM_k_combine should use .reshape() not () - Fix shape mismatch: use dqk // nc for correct head dimension - Fix return_last_states default to match docstring (bool | None = None) Fixes #43208 * Pr...
[ { "path": "src/transformers/models/xlstm/modeling_xlstm.py", "patch": "@@ -176,12 +176,13 @@ def mlstm_chunkwise_parallel_fw_H(\n _device = matQ.device\n nc = num_chunks\n batch_size, nh, dqk, dhv = matC_states.shape\n- matC_k_states = matC_states.view(batch_size, nh, nc, dqk ...
2026-02-09T18:05:43
golang/go
dbb52cc9f3e83a3040f46c2ae7650c15ab342179
69756b38f25bf72f1040dd7fd243febba89017e6
net/url: preserve a trailing slash in JoinPath Fixes #52074 Change-Id: I30897f32e70a6ca0c4e11aaf07088c27336efaba Reviewed-on: https://go-review.googlesource.com/c/go/+/397256 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewe...
[ { "path": "src/net/url/url.go", "patch": "@@ -1189,11 +1189,18 @@ func (u *URL) UnmarshalBinary(text []byte) error {\n \n // JoinPath returns a new URL with the provided path elements joined to\n // any existing path and the resulting path cleaned of any ./ or ../ elements.\n+// Any sequences of multiple / ...
2022-03-31T20:21:39
electron/electron
ea5c5d26802b5eaa51d96ff64bd39c5070376e9c
0a6bb9c36a61540189b3edd665b7e8c8b5129889
Fix building on Linux
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 7e64fc4f41d8dca161072063c1272fff6bac540f\n+Subproject commit ae9ee0c7bc7b38904f438ac63d3d18577e459ff4", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2016-07-04T07:41:18
nodejs/node
ddcd2359f4adc9fe34e793ad5c1ed33ce500eed7
7ec558cb243c7ffc3a120e29dc43ed9045a8b0a0
doc: fix nits in dgram.md * Make a section with a history remark a YAML section of the relevant method. Refs: https://github.com/nodejs/node/pull/29761#discussion_r329354848 * Make a bold line a real heading to be included in the TOC. * Add formal return types. * Reduce redundancy in a description. * Unify link fo...
[ { "path": "doc/api/dgram.md", "patch": "@@ -137,6 +137,11 @@ properties.\n ### socket.bind([port][, address][, callback])\n <!-- YAML\n added: v0.1.99\n+changes:\n+ - version: v0.10\n+ description: The method was changed to an asynchronous execution model.\n+ Legacy code would need to be...
2019-09-29T13:53:43
huggingface/transformers
82a5b3d7368c883baae89d49a3a777842c27b878
d7ac5cd00af1784cf23999b9a8f0e69b1bc11c01
docs: Add Switch Transformers docstring notes and update spectrogram comment (#43336) * fix: Correct Switch Transformers sparse layer logic and outdated spectrogram comment * docs: Add docstring notes for Switch Transformers sparse layer edge case
[ { "path": "src/transformers/audio_utils.py", "patch": "@@ -620,7 +620,7 @@ def window_function(\n return padded_window\n \n \n-# TODO This method does not support batching yet as we are mainly focused on inference.\n+# Note: This method processes a single waveform. For batch processing, use spectrogram_...
2026-02-09T17:33:44
electron/electron
0ae344e5cd7e8d4fc66524ec6b0ca9199440d4ca
4afa3f7206e64f4d4984e9c30da35a20cb355393
Fix building on Linux
[ { "path": "brightray/brightray.gypi", "patch": "@@ -35,15 +35,6 @@\n 'MACOSX_DEPLOYMENT_TARGET': '10.8',\n 'RUN_CLANG_STATIC_ANALYZER': 'YES',\n 'USE_HEADER_MAP': 'NO',\n- 'WARNING_CFLAGS': [\n- '-Wall',\n- '-Wextra',\n- '-Wno-unused-parameter',\n- '-Wno-mi...
2016-07-04T07:40:46
golang/go
69756b38f25bf72f1040dd7fd243febba89017e6
5a6a830c1ceafd551937876f11590fd60aea1799
cmd/dist: move more environment logic into cmd/dist from make and run scripts 'go tool dist env' outputs different (and fewer) environment variables than 'go env'. The 'go tool dist env' variables should be authoritative, whereas many printed by 'go env' are merely informational (and not intended to be overridden in t...
[ { "path": "src/cmd/dist/build.go", "patch": "@@ -26,7 +26,7 @@ import (\n // The usual variables.\n var (\n \tgoarch string\n-\tgobin string\n+\tgorootBin string\n \tgohostarch string\n \tgohostos string\n \tgoos string\n@@ -112,19 +112,14 @@ func xinit(...
2022-04-05T18:25:34
vercel/next.js
629c9db82388ca18708d337350fe890df0180344
ff5338ce03a3240a97a5c84f5ad5c31c0f53a6ce
Fix broken request handler (#51939) Hi! In previous versions (13.4.2 and earlier) in the custom server I could do the following: ``` const parsedUrl = parse(req.url, true); const { pathname } = parsedUrl; if (pathname === '/c') { await handle(req, res, parse('/b', true)); } else { await handle(req, re...
[ { "path": "packages/next/src/server/next.ts", "patch": "@@ -339,23 +339,31 @@ function createServer(options: NextServerOptions): NextServer {\n case 'getRequestHandler': {\n return () => {\n let handler: RequestHandler\n- return async (req: IncomingMe...
2023-08-01T11:51:05
huggingface/transformers
d7ac5cd00af1784cf23999b9a8f0e69b1bc11c01
9e4a8c44573340636ad6295fa153a944c005dc31
Fix cardinality error for DETR models without explicit background class (#43513) Fix cardinality error for DETR models without explicit background class (#42199) Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>
[ { "path": "src/transformers/loss/loss_deformable_detr.py", "patch": "@@ -64,6 +64,22 @@ def __init__(self, matcher, num_classes, focal_alpha, losses):\n self.focal_alpha = focal_alpha\n self.losses = losses\n \n+ @torch.no_grad()\n+ def loss_cardinality(self, outputs, targets, indices,...
2026-02-09T17:30:42
nodejs/node
7ec558cb243c7ffc3a120e29dc43ed9045a8b0a0
f3ae3c9e3d2837bdbb21839e53498149b482449c
build: do not link against librt on linux PR-URL: https://github.com/nodejs/node/pull/29727 Fixes: https://github.com/nodejs/node/issues/27377 Fixes: https://github.com/nodejs/node/issues/29718 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <ric...
[ { "path": "node.gypi", "patch": "@@ -290,6 +290,11 @@\n [ 'OS==\"sunos\"', {\n 'ldflags': [ '-Wl,-M,/usr/lib/ld/map.noexstk' ],\n }],\n+ [ 'OS==\"linux\"', {\n+ 'libraries!': [\n+ '-lrt'\n+ ],\n+ }],\n [ 'OS in \"freebsd linux\"', {\n 'ldflags': [ '-Wl,-z,relro...
2019-09-26T22:17:30
electron/electron
0a6bb9c36a61540189b3edd665b7e8c8b5129889
48f819f3371ea2a79a429b6548ff64288ae506d6
Fix crash when creating protocol module
[ { "path": "atom/browser/api/atom_api_protocol.cc", "patch": "@@ -27,7 +27,7 @@ namespace atom {\n namespace api {\n \n Protocol::Protocol(v8::Isolate* isolate, AtomBrowserContext* browser_context)\n- : request_context_getter_(browser_context->url_request_context_getter()),\n+ : request_context_getter_...
2016-07-04T06:32:02
golang/go
9e16cc1541d42cb081d359339e3f45b4b9b2a372
9839668b5619f45e293dd40339bf0ac614ea6bee
hash/maphash: add Bytes and String For very small inputs, h.Reset+h.Write+h.Sum64 is fundamentally slower than a single operation, by about a factor of two, because Write must copy the data into h's buffer, just in case there is another Write before the Sum64. A single function doing the whole sequence knows there is...
[ { "path": "api/next/42710.txt", "patch": "@@ -0,0 +1,2 @@\n+pkg hash/maphash, func Bytes(Seed, []uint8) uint64 #42710\n+pkg hash/maphash, func String(Seed, string) uint64 #42710", "additions": 2, "deletions": 0, "language": "Plain Text" }, { "path": "src/hash/maphash/maphash.go", "pa...
2022-03-14T16:31:33
vercel/next.js
a462a1583f393386c89fca8ce896d8baddff0f91
19c4eec0640735c35af295c8e74971087fb2d091
fix: update lost dependencies for examples (#53419) update lost dependencies for examples
[ { "path": "examples/with-ant-design/package.json", "patch": "@@ -6,6 +6,7 @@\n \"start\": \"next start\"\n },\n \"dependencies\": {\n+ \"@ant-design/cssinjs\": \"^1.16.1\",\n \"@ant-design/icons\": \"^5.1.4\",\n \"antd\": \"^5.0.0\",\n \"next\": \"latest\",", "additions": 1, "...
2023-08-01T04:06:07
nodejs/node
f3ae3c9e3d2837bdbb21839e53498149b482449c
a006465b438df26199687a4fdc5c7fd4e97eacc1
build: remove unused libatomic on ppc64, s390x The library is not necessary for ppc64 or s390x. It does no harm with some linkers, but devtoolset-6 creates runtime dependencies on all link libraries, even unused ones. Fixes: https://github.com/nodejs/node/issues/27377 Fixes: https://github.com/nodejs/node/issues/2971...
[ { "path": "tools/v8_gypfiles/v8.gyp", "patch": "@@ -795,7 +795,7 @@\n }],\n # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library\n # to implement atomic memory access\n- ['v8_current_cpu in [\"mips\", \"mipsel\", \"mips64\", \"mips64el\", \"pp...
2019-09-26T19:51:46
rust-lang/rust
73edfe7b7395aad2ee55c57cabc8cee9edfbf462
855e0fe46e68d94e9f6147531b75ac2d488c548e
clippy: fix test filtering when TESTNAME is empty
[ { "path": "src/bootstrap/src/core/build_steps/test.rs", "patch": "@@ -680,9 +680,9 @@ impl Step for CargoMiri {\n cargo.arg(\"--doc\");\n }\n }\n-\n- // Finally, pass test-args and run everything.\n cargo.arg(\"--\").args(builder.config.test_args());\n+\n+ ...
2025-07-12T09:08:30
golang/go
7c45dafdb2aae2afaf09aa90b3b5338c992f6912
65153e478e302eaf3556372ff257ebfc893943c1
cmd/internal/objabi: fix FuncID of runtime.rt0_go and runtime.systemstack_switch Fixes #52092 Change-Id: I774a6722c6e3ce6781e1d8bc16ac68efee6f9c70 Reviewed-on: https://go-review.googlesource.com/c/go/+/396797 Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cher...
[ { "path": "src/cmd/internal/objabi/funcid.go", "patch": "@@ -49,26 +49,26 @@ const (\n )\n \n var funcIDs = map[string]FuncID{\n-\t\"abort\": FuncID_abort,\n-\t\"asmcgocall\": FuncID_asmcgocall,\n-\t\"asyncPreempt\": FuncID_asyncPreempt,\n-\t\"cgocallback\": FuncID_cgocallback,\n-\...
2022-03-31T12:16:23
vercel/next.js
19c4eec0640735c35af295c8e74971087fb2d091
cdbea3e7da38952a9e706270d8548139bbfe192f
docs: fix broken diagram in caching docs (#53414) Follow up from https://github.com/vercel/next.js/pull/52514. We're still missing the static and dynamic diagram, it was missed in the PR to `front` to add the original diagrams. We'll need to get that in as well, could be here, or in a follow up.
[ { "path": "docs/02-app/01-building-your-application/04-caching/index.mdx", "patch": "@@ -164,7 +164,7 @@ Alternatively, you can use [Route Segment Config options](#segment-config-option\n <Image\n alt=\"Diagram showing how time-based revalidation works, after the revalidation period, stale data is returne...
2023-08-01T03:21:00
huggingface/transformers
4b8ba25aea69b6bd9912b0f335c861d2c8211b6b
7d5681b3cdcbcf20048c5a7a31136e551152fd2b
:rotating_light: [`Attn`] New attn mask interface everywhere (#42848) * fix * fix order * style * vision 3d rope get extra test for now * fix gpt2 * more gpt2 fixes * let's see... * fix * test * fix opt+biogpt * fix * fix * fix * fix opt * mask exchange test * style * several small fixes * shouldnt be...
[ { "path": "examples/modular-transformers/modeling_test_detr.py", "patch": "@@ -4,30 +4,93 @@\n # the file from the modular. If any change should be done, please apply the change to the\n # modular_test_detr.py file directly. One of our CI enforces this.\n # ...
2026-02-09T15:44:47
rust-lang/rust
33668c1b0e02c6c6f8d195bc6545ceef5297cc87
9535feebd5741a55fc24e84060e82d41a75dac6e
Remove outdated debugger version warning
[ { "path": "src/tools/compiletest/src/debuggers.rs", "patch": "@@ -51,17 +51,6 @@ pub(crate) fn configure_gdb(config: &Config) -> Option<Arc<Config>> {\n pub(crate) fn configure_lldb(config: &Config) -> Option<Arc<Config>> {\n config.lldb_python_dir.as_ref()?;\n \n- // FIXME: this is super old\n- i...
2025-07-05T07:35:26
nodejs/node
eef1b5aa0f90f8c595cf59cfe405d8f7eca642d9
8fd7184959449669fcf04a40c8dd2b887e53ed13
doc: make `AssertionError` a link This makes sure that `AssertionError` links to the correct place in the assert documentation. PR-URL: https://github.com/nodejs/node/pull/28263 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail....
[ { "path": "doc/api/assert.md", "patch": "@@ -214,8 +214,9 @@ are also recursively evaluated by the following rules.\n * [`Symbol`][] properties are not compared.\n * [`WeakMap`][] and [`WeakSet`][] comparison does not rely on their values.\n \n-The following example does not throw an `AssertionError` becaus...
2019-06-20T15:13:31
golang/go
65153e478e302eaf3556372ff257ebfc893943c1
1a955bcdb701d788b048a39d7273621729e257bc
crypto/x509: rework path building This change does four things: * removes the chain cache * during path building, equality is determined by checking if the subjects and public keys match, rather than checking if the entire certificates are equal * enforces EKU suitability during path building * enforce...
[ { "path": "src/crypto/x509/verify.go", "patch": "@@ -6,6 +6,7 @@ package x509\n \n import (\n \t\"bytes\"\n+\t\"crypto\"\n \t\"errors\"\n \t\"fmt\"\n \t\"net\"\n@@ -597,73 +598,101 @@ func (c *Certificate) isValid(certType int, currentChain []*Certificate, opts *V\n \t\tleaf = currentChain[0]\n \t}\n \n-\ti...
2022-03-02T21:20:02
huggingface/transformers
7d5681b3cdcbcf20048c5a7a31136e551152fd2b
018af00b00a122425a7f13bd736c63855219cb82
Fix video interpolation in pe_audio_video (#43811)
[ { "path": "src/transformers/models/pe_audio_video/modeling_pe_audio_video.py", "patch": "@@ -195,7 +195,9 @@ def _align_video_hidden_state(\n # note: when one of the above is true, we can expect the other to be true as there is no reason\n # to have masked audio without masked video ...
2026-02-09T12:51:50
vercel/next.js
975fb1f4663af22e0da6a29cc3a5708fea6f94a7
8c6da3f72dcc1bad36d49edda37cc75ad46f8cec
Fix windows unit tests (#53412) Fixes differences in tests to handle windows now that we've fixed them not being run. x-ref: https://github.com/vercel/next.js/pull/53408/checks?check_run_id=15501915673
[ { "path": "packages/next/src/build/webpack/plugins/next-types-plugin/index.test.ts", "patch": "@@ -1,5 +1,7 @@\n import { NextTypesPlugin } from '.'\n \n+const normalizeSlashes = (p: string) => p.replace(/\\\\/g, '/')\n+\n describe('next-types-plugin', () => {\n it('should generate correct base import pat...
2023-08-01T01:06:18
huggingface/transformers
018af00b00a122425a7f13bd736c63855219cb82
1f62d4ed3e64121bc6b9149ed87aacf9d8ccdf02
[docs] Remove pipeline() examples from summarization/translation tasks (#43831) Remove pipeline()-based inference examples from summarization and translation task documentation since SummarizationPipeline and TranslationPipeline were removed in transformers v5. The manual tokenize/generate/decode workflow remains as ...
[ { "path": "docs/source/en/tasks/summarization.md", "patch": "@@ -230,18 +230,6 @@ Come up with some text you'd like to summarize. For T5, you need to prefix your\n >>> text = \"summarize: The Inflation Reduction Act lowers prescription drug costs, health care costs, and energy costs. It's the most aggressiv...
2026-02-09T12:32:42
golang/go
62bceae32de7bad48fbdc1fe3fae14c81cd093d2
a5f801f39d8c9d4df2edfd6ffd9171b9216445d1
cmd/go: quote fragments in CGO_ env variables reported by 'go env' These fields have been parsed as quoted fields since CL 334732, but we missed the unparsing side in 'go env'. Certain scripts (notably make.ba{sh,t}) expect to be able to set the environment to exactly what 'go env' reports, so for round-trip purposes...
[ { "path": "src/cmd/go/internal/envcmd/env.go", "patch": "@@ -184,15 +184,23 @@ func ExtraEnvVarsCostly() []cfg.EnvVar {\n \t}\n \tcmd := b.GccCmd(\".\", \"\")\n \n+\tjoin := func(s []string) string {\n+\t\tq, err := quoted.Join(s)\n+\t\tif err != nil {\n+\t\t\treturn strings.Join(s, \" \")\n+\t\t}\n+\t\tret...
2022-04-01T18:54:39
vercel/next.js
3b1ccbf99620ea1d4b63a48cd37c60d020d89bd0
fc52e027876d640706df9da68e05cdaf5cc65b20
additional test runner refactoring (#53406) This relocates the regex patterns that were being used for `test-dev`, `test-prod`, and `test-integration` actions to be part of `run-tests`. Also fixes e2e tests since they were expected to be found in `e2e` rather than `test/e2e`, and updated it exit with a failure code in...
[ { "path": ".github/workflows/build_and_test.yml", "patch": "@@ -131,7 +131,7 @@ jobs:\n uses: ./.github/workflows/build_reusable.yml\n with:\n skipForDocsOnly: 'yes'\n- afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS=\"$(pwd)/packages/next-swc/crates/next-dev-tests/tests-manifest...
2023-08-01T00:04:45
nodejs/node
48d1ea5e7fc918ae9f74d8472785720a13a755e6
97c52ca5dc0b9c4df015dc36ef394ebe06ec00c6
assert: special handle identical error names in instance checks This makes sure that using `assert.throws()` or `assert.rejects()` in combination with Error classes log appropriate error messages in case the expected and received constructor name are identical but not part of the same prototype chain. PR-URL: https:/...
[ { "path": "lib/assert.js", "patch": "@@ -620,10 +620,14 @@ function expectedException(actual, expected, message, fn) {\n generatedMessage = true;\n message = 'The error is expected to be an instance of ' +\n `\"${expected.name}\". Received `;\n- // TODO: Special handle identical nam...
2019-06-15T11:54:50
rust-lang/rust
b0e4c3594f4d52ffde5281bae752e5ff05bd029c
855e0fe46e68d94e9f6147531b75ac2d488c548e
./x test miri: fix cleaning the miri_ui directory
[ { "path": "src/bootstrap/src/core/build_steps/test.rs", "patch": "@@ -556,8 +556,13 @@ impl Step for Miri {\n // Miri has its own \"target dir\" for ui test dependencies. Make sure it gets cleared when\n // the sysroot gets rebuilt, to avoid \"found possibly newer version of crate `std`\" er...
2025-07-12T07:39:29
golang/go
a041a752955d772a3b5e1080ee7951a66c2be12b
eec47d06c1bb7ae6156c3910bfec8a0b5244d157
crypto/elliptic: fix BenchmarkMarshalUnmarshal/Compressed Change-Id: Ifbf4a95e5f315a88633ec0170625cadb087167c0 Reviewed-on: https://go-review.googlesource.com/c/go/+/396934 Run-TryBot: Filippo Valsorda <filippo@golang.org> Trust: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Revi...
[ { "path": "src/crypto/elliptic/elliptic_test.go", "patch": "@@ -364,8 +364,8 @@ func BenchmarkMarshalUnmarshal(b *testing.B) {\n \t\tb.Run(\"Compressed\", func(b *testing.B) {\n \t\t\tb.ReportAllocs()\n \t\t\tfor i := 0; i < b.N; i++ {\n-\t\t\t\tbuf := Marshal(curve, x, y)\n-\t\t\t\txx, yy := Unmarshal(curv...
2022-03-29T22:18:48
electron/electron
9aa8807f83ac3eb16d82552ed0ebfe509838164c
768ff7af5afb18a53479c6b0be32f01c0316a1c0
add specs for app.launcher api fix linter errors
[ { "path": "spec/api-app-spec.js", "patch": "@@ -284,4 +284,37 @@ describe('app module', function () {\n })\n })\n })\n+\n+ describe('app.launcher API', function () {\n+ it('should be available on linux', function () {\n+ if (process.platform !== 'linux') {\n+ assert.equal(app.lau...
2016-06-29T17:47:20
huggingface/transformers
33a8e68d4955c13cf6d6c629e76f12fc81974fc5
3b4a064d4ec700a3d6432e783a61e3450d5d8acc
Add GlmMoeDsa (#43858) * draft * for review only * update ignore layers * add config * update * rename * fallback * update * 1 * update * fix attention and date * remove pretraining_tp and improve tests * style * remove pretraining_tp * fix config * fix compile * remove wrong integration test * fix *...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -565,6 +565,8 @@\n title: GLM-4.7-Flash\n - local: model_doc/glm_image\n title: GLM-Image\n+ - local: model_doc/glm_moe_dsa\n+ title: GlmMoeDsa\n - local: model_doc/openai-gpt\n title: GPT\n - local: ...
2026-02-09T12:06:23
vercel/next.js
fc52e027876d640706df9da68e05cdaf5cc65b20
7182d4dd2a680c0ab230e16966836098a6bf5c0a
chore: enable typescript-eslint's recommended and stylistic configs internally (#52948) Spinning out from #37151 and my draft PR #52845, this enables the two basic recommended rulesets from [typescript-eslint](https://typescript-eslint.io) for the Next.js monorepo source code: * [`plugin:@typescript-eslint/reco...
[ { "path": ".eslintrc.json", "patch": "@@ -43,36 +43,51 @@\n },\n { \"files\": [\"**/__tests__/**\"], \"env\": { \"jest\": true } },\n {\n+ \"extends\": [\n+ \"plugin:@typescript-eslint/recommended\",\n+ \"plugin:@typescript-eslint/stylistic\"\n+ ],\n \"files\": [\"*...
2023-07-31T23:32:54
golang/go
c18f398f32c45afe2e9a81a6d885a4e0183cd649
4aacb7ff0f103d95a724a91736823f44aa599634
crypto/rand: make Prime not deterministic for a fixed input stream rand.Prime does not guarantee the precise prime selection algorithm as part of its contract. For example, it changed slightly in CL 387554. We want to ensure that no tests come to rely on it staying the same, so just like other cryptographic functions ...
[ { "path": "src/crypto/rand/util.go", "patch": "@@ -5,6 +5,7 @@\n package rand\n \n import (\n+\t\"crypto/internal/randutil\"\n \t\"errors\"\n \t\"io\"\n \t\"math/big\"\n@@ -17,6 +18,8 @@ func Prime(rand io.Reader, bits int) (*big.Int, error) {\n \t\treturn nil, errors.New(\"crypto/rand: prime size must be a...
2022-03-10T16:43:43
electron/electron
768ff7af5afb18a53479c6b0be32f01c0316a1c0
8ac205685d2cf2323bb5b72fd4ad37c2dd95b5ef
Add additional method isUnityRunning, fix multiple typos in docs
[ { "path": "docs/api/app.md", "patch": "@@ -650,19 +650,23 @@ Sets the `image` associated with this dock icon.\n ### `app.launcher.setBadgeCount(count)` _Linux_\n * `count` Integer\n \n-Sets the number to be displayed next to the app icon in the unity launcher.\n-Setting count to `0` will hide the badge.\n+S...
2016-06-29T17:23:56
nodejs/node
97c52ca5dc0b9c4df015dc36ef394ebe06ec00c6
5700cd17dd167f6835131b42809476e5f30762ba
assert: add more information to AssertionErrors This adds information about the actual thrown error to the AssertionError's message property. It also improves the logged error instances error name by using the constructors name, if available. PR-URL: https://github.com/nodejs/node/pull/28263 Reviewed-By: Rich Trott ...
[ { "path": "lib/assert.js", "patch": "@@ -620,8 +620,13 @@ function expectedException(actual, expected, message, fn) {\n generatedMessage = true;\n message = 'The error is expected to be an instance of ' +\n `\"${expected.name}\". Received `;\n+ // TODO: Special handle identical name...
2019-06-15T11:27:21
huggingface/transformers
fc9137225880a9d03f130634c20f9dbe36a7b8bf
161c43032b818fcf4b0a42f42f93e0a408d98d2c
Adding Support for Qwen3.5 (#43830) * rebase main * remove redundant init * fix * remove qwen3vlmoe mapping since resolved * add auto image processor * fix * fix * update qwen3_next_style rmsnorm * update text config check * simplify vision model * simplify vision config * inherit pretrainedmodel and qwen3n...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -721,6 +721,10 @@\n title: Qwen2MoE\n - local: model_doc/qwen3\n title: Qwen3\n+ - local: model_doc/qwen3_5\n+ title: Qwen3.5\n+ - local: model_doc/qwen3_5_moe\n+ title: Qwen3.5 Moe\n - local: model_doc...
2026-02-09T11:21:25
vercel/next.js
7182d4dd2a680c0ab230e16966836098a6bf5c0a
caf5ee80be8df78b87f5bf55e8f65d43f0525363
Always add `?ts=` query for scripts during development (#53411) Safari caches scripts during the same browsing session no matter what cache headers are set. This makes it impossible to update our runtime bundles (e.g. Webpack's runtime) during development as the legacy bundle might be cached and still served. If an up...
[ { "path": "packages/next/src/server/app-render/app-render.tsx", "patch": "@@ -1583,14 +1583,20 @@ export async function renderToHTMLOrFlight(\n src:\n `${assetPrefix}/_next/` +\n src +\n- getAssetQueryString(false),...
2023-07-31T22:32:28
rust-lang/rust
093b6e5de9038371dd2aa6e990f9fb6fde970ccd
d964e55de2c43e2a5eb7ab3889ca73c8d4ce1370
Fix approx_const for some new cases Improved naming and comment
[ { "path": "clippy_lints/src/approx_const.rs", "patch": "@@ -92,9 +92,11 @@ impl LateLintPass<'_> for ApproxConstant {\n impl ApproxConstant {\n fn check_known_consts(&self, cx: &LateContext<'_>, span: Span, s: symbol::Symbol, module: &str) {\n let s = s.as_str();\n- if s.parse::<f64>().is...
2025-07-09T13:19:18
golang/go
4aacb7ff0f103d95a724a91736823f44aa599634
cd33b4089caf362203cd749ee1b3680b72a8c502
crypto/x509: add CertPool.Equal Fixes #46057 Change-Id: Id3af101c54108d6fd5b65946c4358872358eefcc Reviewed-on: https://go-review.googlesource.com/c/go/+/388915 Trust: Roland Shoemaker <roland@golang.org> Run-TryBot: Roland Shoemaker <roland@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damie...
[ { "path": "src/crypto/x509/cert_pool.go", "patch": "@@ -249,3 +249,16 @@ func (s *CertPool) Subjects() [][]byte {\n \t}\n \treturn res\n }\n+\n+// Equal reports whether s and other are equal.\n+func (s *CertPool) Equal(other *CertPool) bool {\n+\tif s.systemPool != other.systemPool || len(s.haveSum) != len(...
2022-03-02T19:01:18
huggingface/transformers
161c43032b818fcf4b0a42f42f93e0a408d98d2c
41833e3e8c3b8c842751561aab62e308f625fd6e
fix gptoss crash in tp (#43853) Signed-off-by: Wang, Yi <yi.a.wang@intel.com> Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com> Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
[ { "path": "src/transformers/integrations/mxfp4.py", "patch": "@@ -443,7 +443,7 @@ def mlp_forward(self, hidden_states):\n with on_device(router_logits.device):\n routing_data, gather_idx, scatter_idx = routing(router_logits, self.router.top_k)\n \n- routed_out = self.experts(hidden_states, ro...
2026-02-09T10:42:33
electron/electron
e3ba6818af8a649e868c1d604aef00f6cd0b4bd9
b22ce934775537c18a953f40efb7a9526df285fe
Fix linter errors
[ { "path": "atom/browser/browser.h", "patch": "@@ -149,14 +149,14 @@ class Browser : public WindowListObserver {\n // one from app's name.\n // The returned string managed by Browser, and should not be modified.\n PCWSTR GetAppUserModelID();\n-#endif // defined(OS_WIN)\n+#endif // defined(OS_WIN)\n \n...
2016-06-26T00:00:41
nodejs/node
d47b6786c91908e2601400f4e3e381143049beed
0b3242c3ce0ff2cdf9c740f45f3755a683073c32
assert: wrap validation function errors This makes sure that validation function used by `assert.throws` and `assert.rejects` always throw validatin errors instead of rethrowing the received error. That should improve the debugging experience for developers since they have a better context where the error is coming f...
[ { "path": "doc/api/assert.md", "patch": "@@ -1222,6 +1222,9 @@ assert.throws(\n \n Custom error validation:\n \n+The function must return `true` to indicate all internal validations passed.\n+It will otherwise fail with an AssertionError.\n+\n ```js\n assert.throws(\n () => {", "additions": 3, "de...
2019-06-14T14:14:50
vercel/next.js
a721a749d802dd7e89e40507a63c75f784b2f052
03a09ba1e65b47115ddfefb8f52a5a902370d9a2
router: apply server actions in a similar way to router.refresh() (#53373) ## What? I was investigating reports of server actions with `revalidatePath` / `revalidateTag` not invalidating the client-side router cache. Managed to reproduce the issue here: https://github.com/timneutkens/server-actions-test (require...
[ { "path": "packages/next/src/client/components/app-router.tsx", "patch": "@@ -132,24 +132,19 @@ const createEmptyCacheNode = () => ({\n parallelRoutes: new Map(),\n })\n \n-function useServerActionDispatcher(\n- changeByServerResponse: RouterChangeByServerResponse,\n- dispatch: React.Dispatch<ReducerAct...
2023-07-31T19:52:31
huggingface/transformers
41833e3e8c3b8c842751561aab62e308f625fd6e
ab830e2916e4c1bca0887fef8186d0f12a9239de
Add id and resume support to SwanLab integration (#43719) Fixes #43698 - Add SWANLAB_RUN_ID env var to pass experiment ID for resumption - Add SWANLAB_RESUME env var to control resume mode - Default to resume='allow' when resume_from_checkpoint is set" Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.c...
[ { "path": "src/transformers/integrations/integration_utils.py", "patch": "@@ -2236,6 +2236,12 @@ def setup(self, args, state, model, **kwargs):\n - **SWANLAB_API_HOST** (`str`, *optional*, defaults to `None`):\n API address for the SwanLab cloud environment for private version (its free)...
2026-02-09T10:41:03
golang/go
cd33b4089caf362203cd749ee1b3680b72a8c502
0b3cb1a56cde72066645a182c93bd710708c45f5
debug: define ELF relocation for loong64 Contributors to the loong64 port are: Weining Lu <luweining@loongson.cn> Lei Wang <wanglei@loongson.cn> Lingqin Gong <gonglingqin@loongson.cn> Xiaolin Zhao <zhaoxiaolin@loongson.cn> Meidan Li <limeidan@loongson.cn> Xiaojuan Zhai <zhaixiaojuan@loongson.cn> Qiyuan P...
[ { "path": "api/next/46229.txt", "patch": "@@ -0,0 +1,105 @@\n+pkg debug/elf, const EM_LOONGARCH = 258 #46229\n+pkg debug/elf, const EM_LOONGARCH Machine #46229\n+pkg debug/elf, const R_LARCH_32 = 1 #46229\n+pkg debug/elf, const R_LARCH_32 R_LARCH #46229\n+pkg debug/elf, const R_LARCH_64 = 2 #46229\n+pkg deb...
2022-03-30T08:52:59
nodejs/node
0b3242c3ce0ff2cdf9c740f45f3755a683073c32
ace3f169172d1f2d9e72707ec949b802f09d47d1
assert: fix generatedMessage property This makes sure the `generatedMessage` property is always set as expected. This was not the case some `assert.throws` and `assert.rejects` calls. PR-URL: https://github.com/nodejs/node/pull/28263 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamin...
[ { "path": "lib/assert.js", "patch": "@@ -571,14 +571,21 @@ function expectedException(actual, expected, message, fn) {\n if (expected.test(str))\n return;\n \n- throw new AssertionError({\n+ if (!message) {\n+ generatedMessage = true;\n+ message = 'The input did not mat...
2019-06-14T08:49:20
electron/electron
b22ce934775537c18a953f40efb7a9526df285fe
90ea0a365ca39eb5726b102cfd6afc3adfaff03c
Implement libunity launcher badge counter to be set via electron, fixes #4193
[ { "path": "atom/browser/api/atom_api_app.cc", "patch": "@@ -614,6 +614,16 @@ void Initialize(v8::Local<v8::Object> exports, v8::Local<v8::Value> unused,\n dict.SetMethod(\"dockSetMenu\", &DockSetMenu);\n dict.SetMethod(\"dockSetIcon\", base::Bind(&Browser::DockSetIcon, browser));\n #endif\n+\n+#if defin...
2016-06-25T23:55:24
rust-lang/rust
5d7db7e16ec5af85c39138dd7c669bc2219d1507
855e0fe46e68d94e9f6147531b75ac2d488c548e
Fixed a core crate compilation failure when enabling the `optimize_for_size` feature on some targets
[ { "path": "library/core/src/fmt/num.rs", "patch": "@@ -358,7 +358,7 @@ macro_rules! impl_Display {\n }\n #[cfg(feature = \"optimize_for_size\")]\n {\n- offset = _inner_slow_integer_to_str(self.unsigned_abs().$conv_fn(), &mut buf.buf);\n+ ...
2025-07-12T01:59:19
huggingface/transformers
2c3926ec921980ae4e9755cd2ffc3daad7a0514d
e0cb4d18cea52f1e0c573eb821f21f7ff33b922c
Fix incorrect timestamp calculation in Qwen3VL Processor (#43659) Fixes #43519 The Qwen3VL processor was incorrectly using 'merge_size' (spatial merging) instead of 'temporal_patch_size' (temporal grouping) when calculating video frame timestamps. When calculating timestamps: - 'temporal_patch_size' groups consecuti...
[ { "path": "src/transformers/models/qwen3_vl/modular_qwen3_vl.py", "patch": "@@ -1509,7 +1509,7 @@ def __call__(\n curr_timestamp = self._calculate_timestamps(\n metadata.frames_indices,\n metadata.fps,\n- self.video_p...
2026-02-09T09:54:09
vercel/next.js
03a09ba1e65b47115ddfefb8f52a5a902370d9a2
82e3d5126afa2c45e99b10984171eb9a0d9419f2
Shared Loaders for Webpack and Turbopack (#52846) This updates the Turbopack build code to provide the same `routeModule` export for App Pages as the Webpack loader does. This also adapts the Turbopack and Webpack loaders to use a shared loader file that is templated. Fixes NEXT-1469 The template supports the follow...
[ { "path": "packages/next-swc/crates/next-api/src/app.rs", "patch": "@@ -451,7 +451,6 @@ impl AppEndpoint {\n loader_tree,\n self.app_project.app_dir(),\n self.pathname.clone(),\n- self.original_name.clone(),\n self.app_project.project().project_path...
2023-07-31T19:20:04
golang/go
11ec59a60e0d18e805b7f0c3a2c5ee8c10481877
7fbabe8d57de184c75bc938fa619235711bc4229
unsafe: document that Sizeof includes field alignment Fixes #52018 Change-Id: I6d06d5b5279b9bdc899b0ad43488577d3c0b94be Reviewed-on: https://go-review.googlesource.com/c/go/+/397516 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Reviewed-by: Rob Pike <r@golang.org>
[ { "path": "src/unsafe/unsafe.go", "patch": "@@ -187,6 +187,7 @@ type Pointer *ArbitraryType\n // The size does not include any memory possibly referenced by x.\n // For instance, if x is a slice, Sizeof returns the size of the slice\n // descriptor, not the size of the memory referenced by the slice.\n+// F...
2022-04-01T03:41:12