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
huggingface/transformers
7fc80724dace3e27fd9d540228fa4d95fbf94970
9660e27cd0ada58b60d7e6ea0558c878c5e20580
Fix beam score calculation issue for JAX version (#27816) * Fix beam score calculation issue for JAX * Fix abstract tracer value errors
[ { "path": "src/transformers/generation/flax_utils.py", "patch": "@@ -809,6 +809,9 @@ def gather_fn(tensor):\n pad_token_id = jnp.array(pad_token_id, dtype=jnp.int32)\n cur_len = jnp.array(cur_len)\n \n+ # record the prompt length of decoder\n+ decoder_prompt_len = input_ids.sha...
2023-12-07T05:34:18
vuejs/vue
d7d9b002fd60d246b1ef65f71b55b45f46563b4d
6bc75cacb72c0cc7f3d1041b5d9ff447ac2f5f69
chore: fix typo (#7781)
[ { "path": "src/core/vdom/vnode.js", "patch": "@@ -26,7 +26,7 @@ export default class VNode {\n ssrContext: Object | void;\n fnContext: Component | void; // real context vm for functional nodes\n fnOptions: ?ComponentOptions; // for SSR caching\n- fnScopeId: ?string; // functioanl scope id support\n+ ...
2018-03-09T13:54:55
ggml-org/llama.cpp
5a6bc6b1a6cb665a944426c2055794950e524bf5
6b64f74b55628e4193f4fb00313f07dbd8556528
model-conversion : add model card template for embeddings [no ci] (#15557) * model-conversion: add model card template for embeddings [no ci] This commit adds a separate model card template (model repository README.md template) for embedding models. The motivation for this is that there server command for the embedd...
[ { "path": "examples/model-conversion/Makefile", "patch": "@@ -144,6 +144,15 @@ perplexity-run:\n hf-create-model:\n \t@./scripts/utils/hf-create-model.py -m \"${MODEL_NAME}\" -ns \"${NAMESPACE}\" -b \"${ORIGINAL_BASE_MODEL}\"\n \n+hf-create-model-dry-run:\n+\t@./scripts/utils/hf-create-model.py -m \"${MODEL...
2025-08-25T12:25:25
huggingface/transformers
9270ab082740a55344a851049a0b69673b6cbdc5
87714b3d11a8a1497afb9177c68f30a0176fbf21
[`Flash Attention 2`] Add flash attention 2 for GPT-Neo-X (#26463) * add flash-attn-2 support for GPT-neo-x * fixup * add comment * revert * fixes * update docs * comment * again * fix copies * add plot + fix copies * Update docs/source/en/model_doc/gpt_neox.md
[ { "path": "docs/source/en/model_doc/gpt_neox.md", "patch": "@@ -61,6 +61,40 @@ The `generate()` method can be used to generate text using GPT Neo model.\n >>> gen_text = tokenizer.batch_decode(gen_tokens)[0]\n ```\n \n+## Using Flash Attention 2\n+\n+Flash Attention 2 is an faster, optimized version of the ...
2023-12-06T16:22:32
nodejs/node
7f5a745e35bec2bde067c2922f6a9146beed99e6
8cccdd96f597a62ff1ef1c695211707cad1cddb8
tools: enable stricter linting in lib directory Enable ESLint 4.x linting and disable legacy linting in the lib directory. While doing this, some indentation in the .eslintrc.yaml file itself was noticed to be incorrect. Fixed that too. PR-URL: https://github.com/nodejs/node/pull/14403 Reviewed-By: Anna Henningsen <...
[ { "path": ".eslintrc.yaml", "patch": "@@ -102,17 +102,17 @@ rules:\n func-name-matching: error\n func-style: [error, declaration, {allowArrowFunctions: true}]\n # indent: [error, 2, {ArrayExpression: first,\n- # CallExpression: {arguments: first},\n- # FunctionDeclara...
2017-07-20T21:36:08
vuejs/vue
6bc75cacb72c0cc7f3d1041b5d9ff447ac2f5f69
db584931e20f9ad4b423cfc14d587f9d0240a565
fix(v-on): return handler value when using modifiers (#7704)
[ { "path": "src/compiler/codegen/events.js", "patch": "@@ -132,9 +132,9 @@ function genHandler (\n code += genModifierCode\n }\n const handlerCode = isMethodPath\n- ? handler.value + '($event)'\n+ ? `return ${handler.value}($event)`\n : isFunctionExpression\n- ? `(${handl...
2018-03-08T22:09:53
ggml-org/llama.cpp
6b64f74b55628e4193f4fb00313f07dbd8556528
0d5a470223fc90b6b6807921d68011ff06ae7f9e
batched-bench : fix unified KV cache handling + pp timing (#15562) * batched-bench : fix unified KV cache handling + pp timing * cont : run dummy token only with split KV cache
[ { "path": "tools/batched-bench/batched-bench.cpp", "patch": "@@ -124,7 +124,7 @@ int main(int argc, char ** argv) {\n const int tg = n_tg[i_tg];\n const int pl = n_pl[i_pl];\n \n- const int n_ctx_req = is_pp_shared ? pp + pl*tg : pl*(pp + tg);\n+ ...
2025-08-25T10:56:43
huggingface/transformers
87714b3d11a8a1497afb9177c68f30a0176fbf21
d6392482bd8af0d28903b5531ed04bd7273931a3
Avoid class attribute `_keep_in_fp32_modules` being modified (#27867) * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -14,6 +14,7 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n import collections\n+import copy\n import functools\n import gc\n import importlib.metadata\n@@ -1154,6 +1155,10 @@ def __i...
2023-12-06T16:19:44
nodejs/node
5c2d1af310349e5476c3ce92ba7e965d43f0e7c5
57a4cebbd50c7ee5fc4d7aea08bc56d612ebe34d
doc: update experimental status to reflect use * Update the experimental status to reflect actual common use. * Also make a few formatting fixes. Fixes: https://github.com/nodejs/node/issues/12701 PR-URL: https://github.com/nodejs/node/pull/12723 Fixes: https://github.com/nodejs/node/issues/12701 Reviewed-By: Refael...
[ { "path": "doc/api/documentation.md", "patch": "@@ -3,20 +3,20 @@\n <!-- type=misc -->\n \n The goal of this documentation is to comprehensively explain the Node.js\n-API, both from a reference as well as a conceptual point of view. Each\n+API, both from a reference as well as a conceptual point of view. E...
2017-04-28T14:24:19
vuejs/vue
db584931e20f9ad4b423cfc14d587f9d0240a565
550c3c0d14af5485bb7e507c504664a7136e9bf9
fix(v-model): handle trailing whitespaces in expression (#7737)
[ { "path": "src/compiler/directives/model.js", "patch": "@@ -15,8 +15,8 @@ export function genComponentModel (\n if (trim) {\n valueExpression =\n `(typeof ${baseValueExpression} === 'string'` +\n- `? ${baseValueExpression}.trim()` +\n- `: ${baseValueExpression})`\n+ `? ${baseV...
2018-03-08T22:01:38
ggml-org/llama.cpp
7da9fed0d6f1750a8783436f6f313b87e76e6378
c247d06f38fc09059c9607a28aa44f5ff6be208d
convert : support interns1-mini (#15412) * support interns1-mini * fix comment * update
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -1216,6 +1216,55 @@ def _try_set_pooling_type(self) -> None:\n raise NotImplementedError(\"Only MEAN, CLS, and LAST pooling types supported\")\n self.gguf_writer.add_pooling_type(pooling_type)\n \n+ def _set_vocab_interns1(self):...
2025-08-25T06:32:16
huggingface/transformers
da1d0d404f05523d37b37207a4c1ff419cc1f47f
788730c67055fb0805051c638be266f0d8f18188
Documentation: Spanish translation of perplexity.mdx (#27807) * Copy perplexity.md file to es/ folder * Adding perplexity to es/_toctree.yml * Translate first section * Calculating PPL section translate * Example section translate * fix translate of log-likehood * Fix title translate * Fix \ in se...
[ { "path": "docs/source/es/_toctree.yml", "patch": "@@ -77,4 +77,6 @@\n title: Filosofía\n - local: bertology\n title: BERTología\n+ - local: perplexity\n+ title: Perplejidad de los modelos de longitud fija\n title: Guías conceptuales", "additions": 2, "deletions": 0, "language": ...
2023-12-05T18:53:55
golang/go
2545323c633136a28aa57b000b81e95780cbac13
7242428509ba2d947ee2bed79f60bf0301720fef
cmd/link: fix spelling error Change-Id: I6e730a99342563a97c3b1556893c8daaf5b6ec90 Reviewed-on: https://go-review.googlesource.com/c/go/+/228097 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
[ { "path": "src/cmd/link/internal/ld/elf.go", "patch": "@@ -884,7 +884,7 @@ func elfwritenetbsdsig(out *OutBuf) int {\n }\n \n // The race detector can't handle ASLR (address space layout randomization).\n-// ASLR is on by default for NetBSD, so we turn the ASLR off eplicitly\n+// ASLR is on by default for N...
2020-04-13T01:57:26
rust-lang/rust
d2459e5c1ef0c24582f8b84ae150204d9ab2d1f8
9bd9bcf4964ee3eeed2bbb99567619c8fb3d70d6
fix target dir test
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/config.rs", "patch": "@@ -3798,8 +3798,10 @@ mod tests {\n (config, _, _) = config.apply_change(change);\n \n assert_eq!(config.cargo_targetDir(None), &Some(TargetDirectory::UseSubdirectory(true)));\n+ let target =\n+ ...
2025-02-09T19:12:21
vuejs/vue
550c3c0d14af5485bb7e507c504664a7136e9bf9
144bf5a99e2ebd644f80bc8ab61cd1bf0366961a
fix(model): fix array index binding for v-model checkbox (#7671) Closes #7670
[ { "path": "src/platforms/web/compiler/directives/model.js", "patch": "@@ -86,8 +86,8 @@ function genCheckboxModel (\n 'if(Array.isArray($$a)){' +\n `var $$v=${number ? '_n(' + valueBinding + ')' : valueBinding},` +\n '$$i=_i($$a,$$v);' +\n- `if($$el.checked){$$i<0&&(${value}=$$a.con...
2018-03-08T21:54:33
nodejs/node
c83d9bbffbe879f9d67f72c14213139616ec4302
355523fcfb3314f1ebc7e57342fb7b22c506f3fd
lib: include cached modules in module.children `module.children` is supposed to be the list of modules included by this module but lib/module.js failed to update the list when the included module was retrieved from `Module._cache`. Fixes: https://github.com/nodejs/node/issues/7131 PR-URL: https://github.com/nodejs/no...
[ { "path": "lib/module.js", "patch": "@@ -46,15 +46,17 @@ function stat(filename) {\n }\n stat.cache = null;\n \n+function updateChildren(parent, child, scan) {\n+ var children = parent && parent.children;\n+ if (children && !(scan && children.includes(child)))\n+ children.push(child);\n+}\n \n function...
2017-07-08T11:06:02
ggml-org/llama.cpp
043fb27d3808766d8ea8195bbd12359727264402
b730706a49e576fb882dc34d9966345778b3ab0b
vulkan: apply MUL_MAT_ID subgroup optimization to non-coopmat devices (#15524) * vulkan: use subgroup function for mul_mat_id shader even without coopmat * vulkan: fix compile warnings * vulkan: properly check for subgroup size control and require full subgroups for subgroup mul_mat_id * vulkan: disable subgroup mu...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -388,6 +388,7 @@ struct vk_device_struct {\n bool float_controls_rte_fp16;\n bool subgroup_add;\n bool subgroup_shuffle;\n+ bool subgroup_ballot;\n bool multi_add;\n \n bool add_rms_fusion;\n@@ -1044,7 +1045,7 @@ struct vk...
2025-08-24T17:36:36
huggingface/transformers
788730c67055fb0805051c638be266f0d8f18188
ac975074e69eccfb4cea3433f2041029d0f7be9f
fix(whisper): mutable generation config (#27833)
[ { "path": "src/transformers/models/whisper/modeling_whisper.py", "patch": "@@ -14,6 +14,7 @@\n # limitations under the License.\n \"\"\" PyTorch Whisper model.\"\"\"\n \n+import copy\n import math\n import warnings\n from typing import Optional, Tuple, Union\n@@ -1933,7 +1934,7 @@ def generate(\n )\...
2023-12-05T18:01:07
rust-lang/rust
b01c7f6b9c6ac837511e7bb75c15e9cd537fc974
25a16572a36321deae83546b63f5595d75361179
fix(libtest): Enable Instant on Emscripten targets `Instant::now()` works correctly on Emscripten since https://github.com/rust-lang/libc/pull/3962. All wasm-family targets with OS support can now handle instants.
[ { "path": "library/test/src/console.rs", "patch": "@@ -314,9 +314,10 @@ pub fn run_tests_console(opts: &TestOpts, tests: Vec<TestDescAndFn>) -> io::Resu\n let mut st = ConsoleTestState::new(opts)?;\n \n // Prevent the usage of `Instant` in some cases:\n- // - It's currently not supported for wasm...
2025-01-31T11:16:19
vuejs/vue
144bf5a99e2ebd644f80bc8ab61cd1bf0366961a
68b51f2620a8245398d7c95b8afd523d0917d10b
fix(types): prefer normal component over functional one (#7687)
[ { "path": "types/options.d.ts", "patch": "@@ -31,20 +31,21 @@ export type Accessors<T> = {\n [K in keyof T]: (() => T[K]) | ComputedOptions<T[K]>\n }\n \n+type DataDef<Data, Props, V> = Data | ((this: Readonly<Props> & V) => Data)\n /**\n * This type should be used when an array of strings is used for a ...
2018-03-08T18:55:52
golang/go
7242428509ba2d947ee2bed79f60bf0301720fef
c39439c53fe1344830446226201e9d96b3ee6a77
doc/debugging_with_gdb: fix the link of delve The repository of delve has already switched from the personal account github.com/derekparker/delve to the organization account github.com/go-delve/delve. According to go-delve/delve#1456. Change-Id: Ie64f72c2808a8aca5059a75e2c2f11d8691e66b3 GitHub-Last-Rev: f90120c3b33f2...
[ { "path": "doc/debugging_with_gdb.html", "patch": "@@ -18,13 +18,13 @@\n </p>\n <p>\n Note that \n-<a href=\"https://github.com/derekparker/delve\">Delve</a> is a better \n+<a href=\"https://github.com/go-delve/delve\">Delve</a> is a better\n alternative to GDB when debugging Go programs built with the stan...
2020-04-12T08:38:21
nodejs/node
355523fcfb3314f1ebc7e57342fb7b22c506f3fd
45b730ec42e5dc16ef4c76529a6ec0e979bfc83b
buffer: refactor module.exports, imports * Move to more efficient module.exports pattern * Refactor requires * Eliminate circular dependency on internal/buffer * Add names to some functions * Fix circular dependency error in assert.js PR-URL: https://github.com/nodejs/node/pull/13807 Reviewed-By: Refael Ackermann <re...
[ { "path": "lib/assert.js", "patch": "@@ -24,7 +24,6 @@ const { compare } = process.binding('buffer');\n const util = require('util');\n const { isSet, isMap } = process.binding('util');\n const { objectToString } = require('internal/util');\n-const { Buffer } = require('buffer');\n const errors = require('i...
2017-06-19T23:06:02
ggml-org/llama.cpp
a9c6ffcbfacee092bfaaa400306fceda18199737
e78cf0d4b1bdbbc2479f11d58ce0c8f51f755875
vulkan: enable Conv2D for Apple after MoltenVK fixed the bug (#15526)
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -11853,14 +11853,13 @@ static bool ggml_backend_vk_device_supports_op(ggml_backend_dev_t dev, const ggm\n // Op is disabled for Apple because it segfaults at pipeline create time on MoltenVK\n ggml_backend_vk_devi...
2025-08-24T08:48:53
huggingface/transformers
ac975074e69eccfb4cea3433f2041029d0f7be9f
28e2887a1ad47043dfb2040c020c89192af971c6
Update `VitDetModelTester.get_config` to use `pretrain_image_size` (#27831) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/vitdet/test_modeling_vitdet.py", "patch": "@@ -90,6 +90,7 @@ def prepare_config_and_inputs(self):\n def get_config(self):\n return VitDetConfig(\n image_size=self.image_size,\n+ pretrain_image_size=self.image_size,\n patch_size=self.patc...
2023-12-05T15:33:27
vuejs/vue
68b51f2620a8245398d7c95b8afd523d0917d10b
6931a47c5c5664d4df2a99dd5c1b275ccef625bc
chore: fix comment grammar mistake (#7739)
[ { "path": "src/core/observer/index.js", "patch": "@@ -27,10 +27,10 @@ export const observerState = {\n }\n \n /**\n- * Observer class that are attached to each observed\n- * object. Once attached, the observer converts target\n+ * Observer class that is attached to each observed\n+ * object. Once attached, ...
2018-03-08T17:21:57
rust-lang/rust
aea5595c8613425c74791586b4c7fcff017fc14e
18483434ae377d215fa87c890cbf26884f3fae5c
fix the error code document
[ { "path": "compiler/rustc_error_codes/src/error_codes/E0802.md", "patch": "@@ -6,6 +6,8 @@ Erroneous code examples:\n The target data is not a `struct`.\n \n ```compile_fail,E0802\n+#![feature(coerce_pointee)]\n+use std::marker::CoercePointee;\n #[derive(CoercePointee)]\n enum NotStruct<'a, T: ?Sized> {\n ...
2025-02-09T19:02:13
golang/go
3afa74115b1c458319e5a07fba5bdacc39ef7f88
83bfe3b1bf25021d0a33352bed12696f5abe420a
runtime/race: rebuild netbsd .syso Fixes #14481 Fixes #37355 Change-Id: Idfceaf0e64d340b7304ce9562549a82ebfc27e3c Reviewed-on: https://go-review.googlesource.com/c/go/+/227867 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
[ { "path": "src/runtime/race/README", "patch": "@@ -8,6 +8,6 @@ race_darwin_amd64.syso built with LLVM 0fb8a5356214c47bbb832e89fbb3da1c755eeb73\n race_freebsd_amd64.syso built with LLVM 0fb8a5356214c47bbb832e89fbb3da1c755eeb73 and Go 95773ab9b053edc43ba07a182f3d5e0e29775a45.\n race_linux_amd64.syso built wit...
2020-04-11T15:51:21
ggml-org/llama.cpp
710dfc465a68f7443b87d9f792cffba00ed739fe
611f419cff11e4952228162a1c44cb35dff2274a
CUDA: fix half2 -> half conversion for HIP (#15529)
[ { "path": "ggml/src/ggml-cuda/fattn-tile-f16.cu", "patch": "@@ -258,7 +258,7 @@ static __global__ void flash_attn_tile_ext_f16(\n const half val = hexp(sink - kqmax[j0/nwarps]);\n kqsum[j0/nwarps] = kqsum[j0/nwarps] * KQ_max_scale;\n if (threadIdx.x == 0) {\n- ...
2025-08-23T19:37:06
nodejs/node
9cb390d8991978ceeaee4c7a80289f56a030aa00
3566195196b81390d8dc1a7ccbca9a2c118df624
errors: migrate dns to use internal/errors PR-URL: https://github.com/nodejs/node/pull/14212 Refs: https://github.com/nodejs/node/issues/11273 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Matteo Collina <matteo.collina...
[ { "path": "doc/api/errors.md", "patch": "@@ -596,6 +596,10 @@ Used when `Console` is instantiated without `stdout` stream or when `stdout` or\n \n Used when the native call from `process.cpuUsage` cannot be processed properly.\n \n+<a id=\"ERR_DNS_SET_SERVERS_FAILED\"></a>\n+\n+Used when `c-ares` failed to ...
2017-07-12T23:58:59
huggingface/transformers
28e2887a1ad47043dfb2040c020c89192af971c6
b242d0f297aa87a0c8d99657a53691ece2dfe492
⚠️ [VitDet] Fix test (#27832) Address test
[ { "path": "src/transformers/models/vitdet/modeling_vitdet.py", "patch": "@@ -815,8 +815,8 @@ def get_input_embeddings(self) -> VitDetEmbeddings:\n def forward(\n self,\n pixel_values: torch.Tensor,\n- output_attentions: Optional[bool] = None,\n output_hidden_states: Option...
2023-12-05T15:32:43
vuejs/vue
6b8516b2dde52be643ee6855b45b253a17ed0461
2b0fc381fcc2888b05fbbdf314b8450d3f31d396
fix(types): fix wrong errorCaptured type (#7712)
[ { "path": "types/options.d.ts", "patch": "@@ -80,7 +80,7 @@ export interface ComponentOptions<\n updated?(): void;\n activated?(): void;\n deactivated?(): void;\n- errorCaptured?(): boolean | void;\n+ errorCaptured?(err: Error, vm: Vue, info: string): boolean | void;\n \n directives?: { [key: stri...
2018-03-08T17:05:03
rust-lang/rust
9bd9bcf4964ee3eeed2bbb99567619c8fb3d70d6
d4f7c7668fece15523ae6f38e437cad01ee5ded6
fix off-by-one error
[ { "path": "src/tools/rust-analyzer/.github/workflows/ci.yaml", "patch": "@@ -64,7 +64,11 @@ jobs:\n run: |\n rustup update --no-self-update ${{ env.RUST_CHANNEL }}\n rustup default ${{ env.RUST_CHANNEL }}\n- rustup component add --toolchain ${{ env.RUST_CHANNEL }} rustfm...
2025-02-09T19:12:00
golang/go
636fa3148fe149923839a86e648dd87dc4d1537a
84fb045763f5a8917b98b82ae08f919a922e8177
[dev.link] cmd/link: don't split container symbols when write blocks We split the output into blocks and write them in parallel. The block boundary is placed at symbol boundary. In the case of outer symbols and sub symbols, currently we may split an outer symbol into two blocks. This will be bad, as the two blocks wil...
[ { "path": "src/cmd/link/internal/ld/data.go", "patch": "@@ -820,6 +820,10 @@ func writeBlocks(out *OutBuf, sem chan int, syms []*sym.Symbol, addr, size int64\n \t\t// Find the last symbol we'd write.\n \t\tidx := -1\n \t\tfor i, s := range syms {\n+\t\t\tif s.Attr.SubSymbol() {\n+\t\t\t\tcontinue\n+\t\t\t}\...
2020-04-11T02:11:51
ggml-org/llama.cpp
611f419cff11e4952228162a1c44cb35dff2274a
b1afcab804e3281867a5471fbd701e32eb32e512
vulkan: optimize rms_norm, and allow the work to spread across multiple SMs (#15281) * vulkan: optimize rms_norm, and allow the work to spread across multiple SMs There are really two parts to this change: (1) Some optimizations similar to what we have in soft_max, to unroll with different numbers of iterations. (2) ...
[ { "path": "ggml/src/ggml-vulkan/ggml-vulkan.cpp", "patch": "@@ -102,9 +102,9 @@ static bool is_pow2(uint32_t x) { return x > 1 && (x & (x-1)) == 0; }\n \n struct ggml_backend_vk_context;\n \n-#define MAX_PARAMETER_COUNT 8\n+#define MAX_PARAMETER_COUNT 12\n // Max number of adds that can be fused without exc...
2025-08-23T18:16:17
vuejs/vue
b2092dbff9ab0ccfa8e59ed3ca540cca0715c683
ec9152f67ac6b910012059df7f3a67e5517e205f
fix(types): make render option in functional components to optional (#7663)
[ { "path": "types/options.d.ts", "patch": "@@ -110,7 +110,7 @@ export interface FunctionalComponentOptions<Props = DefaultProps, PropDefs = Pro\n props?: PropDefs;\n inject?: InjectOptions;\n functional: boolean;\n- render(this: undefined, createElement: CreateElement, context: RenderContext<Props>): ...
2018-03-08T16:55:27
nodejs/node
4d1e0862ced8134b1b4e57480bbd46ca14e61d0f
69f653dff902bf385dfa0ed0e89be3d0e1f57391
doc: fix some links PR-URL: https://github.com/nodejs/node/pull/14400 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "doc/api/dns.md", "patch": "@@ -191,7 +191,7 @@ added: v0.1.27\n - `rrtype` {string} Resource record type. Default: `'A'`.\n - `callback` {Function}\n - `err` {Error}\n- - `records` {string[] | Object[] | string[][] | Object}\n+ - `records` {string[] | Object[] | Object}\n \n Uses the DNS prot...
2017-07-20T18:01:51
huggingface/transformers
b242d0f297aa87a0c8d99657a53691ece2dfe492
e5c12c03b711aa2a31b562de3bce92431b4bf662
[Time series] Add PatchTSMixer (#26247) * patchtsmixer initial commit * x,y->context_values,target_values, unittest addded * cleanup code * minor * return hidden states * model tests, partial integration tests * ettm notebook temporary * minor * config mask bug fix, tests updated * final ETT...
[ { "path": "README.md", "patch": "@@ -440,6 +440,7 @@ Current number of checkpoints: ![](https://img.shields.io/endpoint?url=https://h\n 1. **[OPT](https://huggingface.co/docs/transformers/master/model_doc/opt)** (from Meta AI) released with the paper [OPT: Open Pre-trained Transformer Language Models](https...
2023-12-05T14:31:35
rust-lang/rust
9da96a65e1c20a99a644be70661bfdb7bfb5b23d
124cc92199ffa924f6b4c7cc819a85b65e0c3984
Disable DWARF in linker options for i686-unknown-uefi This fixes an lld warning: > warning: linker stderr: rust-lld: section name .debug_frame is longer > than 8 characters and will use a non-standard string table See https://reviews.llvm.org/D69594 for details of where the warning was added. This warning only occur...
[ { "path": "compiler/rustc_target/src/spec/targets/i686_unknown_uefi.rs", "patch": "@@ -5,7 +5,7 @@\n // The cdecl ABI is used. It differs from the stdcall or fastcall ABI.\n // \"i686-unknown-windows\" is used to get the minimal subset of windows-specific features.\n \n-use crate::spec::{RustcAbi, Target, b...
2025-02-09T20:04:38
ggml-org/llama.cpp
b1afcab804e3281867a5471fbd701e32eb32e512
9ef536907de1b50c30e0369284898d30472a755a
model : add support for Seed-OSS (#15490) * First draft * Fix linter errors * Added missing sinks nullptr * Don't forget the llama-arch! * We're through to the generation stage. * Fix post-attention norm * Apply suggestions from code review Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com> * Fix R...
[ { "path": "convert_hf_to_gguf.py", "patch": "@@ -5854,6 +5854,11 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter\n return [(self.map_tensor_name(name), data_torch)]\n \n \n+@ModelBase.register(\"SeedOssForCausalLM\")\n+class SeedOssModel(TextModel):\n+ model_ar...
2025-08-23T13:21:52
golang/go
b10849fbb97a2244c086991b4623ae9f32c212d0
64dcef3045161022d69f32b69d23f771b53c0922
strconv: add comment re extFloat errorscale Change-Id: I6f006ba72e1711ba2a24cd71552855ad88284eec Reviewed-on: https://go-review.googlesource.com/c/go/+/227797 Reviewed-by: Rémy Oudompheng <remyoudompheng@gmail.com> Reviewed-by: Nigel Tao <nigeltao@golang.org>
[ { "path": "src/strconv/extfloat.go", "patch": "@@ -231,8 +231,30 @@ var uint64pow10 = [...]uint64{\n // float32 depending on flt.\n func (f *extFloat) AssignDecimal(mantissa uint64, exp10 int, neg bool, trunc bool, flt *floatInfo) (ok bool) {\n \tconst uint64digits = 19\n+\n+\t// Errors (in the \"numerical ...
2020-04-10T01:01:14
vuejs/vue
db1b18ceec51761f1bcd6160c51e02b36b86a9c2
dc97a39c2f41ce57431d42d8b41811866f8e105c
fix(types): add missing `listeners` type on RenderContext (#7584)
[ { "path": "types/options.d.ts", "patch": "@@ -119,6 +119,7 @@ export interface RenderContext<Props=DefaultProps> {\n slots(): any;\n data: VNodeData;\n parent: Vue;\n+ listeners: { [key: string]: Function | Function[] };\n injections: any\n }\n ", "additions": 1, "deletions": 0, "langua...
2018-03-08T16:52:01
huggingface/transformers
b7e6d120c1c22384df285b06be9e63a81ddfe5c0
fdb85be40fa255c015819e711c15117c2aaa5101
Generate: Update VisionEncoderDecoder test value (#27850) update test result, due to bug fix in decoder-only beam search
[ { "path": "tests/models/vision_encoder_decoder/test_modeling_vision_encoder_decoder.py", "patch": "@@ -800,7 +800,7 @@ def generate_step(pixel_values):\n \n preds, scores = generate_step(pixel_values)\n \n- EXPECTED_SCORES = np.array([-0.59562886])\n+ EXPECTED_SCORES = np.array([-0.641...
2023-12-05T11:26:59
nodejs/node
e76c49de339747a1326369c772d7bf6de9158841
651fc55b6e35da544f3547f762a2076571336ac8
deps: cherry-pick 18ea996 from c-ares upstream Original commit message: ares_parse_naptr_reply: make buffer length check more accurate 9478908a490a6bf009ba58d81de8c1d06d50a117 introduced a length check for records parsed by `ares_parse_naptr_reply()`. However, that function is designed to parse repli...
[ { "path": "deps/cares/src/ares_parse_naptr_reply.c", "patch": "@@ -110,18 +110,19 @@ ares_parse_naptr_reply (const unsigned char *abuf, int alen,\n status = ARES_EBADRESP;\n break;\n }\n- /* RR must contain at least 7 bytes = 2 x int16 + 3 x name */\n- if (rr_len < 7)\n...
2017-07-15T06:55:06
ggml-org/llama.cpp
9ef536907de1b50c30e0369284898d30472a755a
21dc4ddaf21b8ed551d717e7606abd2cffbacdbf
scripts: fix compare-llama-bench.py (#15521)
[ { "path": "scripts/compare-llama-bench.py", "patch": "@@ -37,7 +37,6 @@\n \"TEXT\", \"INTEGER\", \"INTEGER\", \"INTEGER\", \"INTEGER\", \"INTEGER\",\n \"TEXT\", \"INTEGER\", \"INTEGER\", \"TEXT\", \"TEXT\", \"INTEGER\",\n \"TEXT\", \"INTEGER\", \"INTEGER\", \"INTEGER\", \"TEXT\", ...
2025-08-23T10:58:58
vuejs/vue
dc97a39c2f41ce57431d42d8b41811866f8e105c
013d98092868a0c6721831e91616c64f99119b74
fix(codegen): support filters with () in older browsers (#7545) Fix #7544 Make sure no extra , is added at the end of the call so it also work with older browsers
[ { "path": "src/compiler/parser/filter-parser.js", "patch": "@@ -92,6 +92,6 @@ function wrapFilter (exp: string, filter: string): string {\n } else {\n const name = filter.slice(0, i)\n const args = filter.slice(i + 1)\n- return `_f(\"${name}\")(${exp},${args}`\n+ return `_f(\"${name}\")(${ex...
2018-03-08T16:24:09
golang/go
df15eaedd0f48d774edf633a5ae31662f9480921
06314b620d782bf295a07745c7f14b4738e7109a
Revert "cmd/compile: make logopt test skip if cannot create scratch directory" This reverts commit 98534812bdcdd22b13469ea587e310187876b7d2. Reason for revert: The change does not really fixes issue #38251. CL 227497 is real fix. Change-Id: I9f556005baf1de968f059fb8dad89dae05330aa6 Reviewed-on: https://go-review.goo...
[ { "path": "src/cmd/compile/internal/logopt/logopt_test.go", "patch": "@@ -62,7 +62,7 @@ func TestLogOpt(t *testing.T) {\n \n \tdir, err := ioutil.TempDir(\"\", \"TestLogOpt\")\n \tif err != nil {\n-\t\tt.Skipf(\"Could not create work directory, assuming not allowed on this platform. Error was '%v'\", err)\...
2020-04-11T03:33:21
huggingface/transformers
fdb85be40fa255c015819e711c15117c2aaa5101
df40edfb00715880f7432899b7a854aad7ae39d9
Faster generation using AWQ + Fused modules (#27411) * v1 fusing modules * add fused mlp support * up * fix CI * block save_pretrained * fixup * small fix * add new condition * add v1 docs * add some comments * style * fix nit * adapt from suggestion * add check * change arg n...
[ { "path": "docker/transformers-all-latest-gpu/Dockerfile", "patch": "@@ -56,7 +56,7 @@ RUN python3 -m pip install --no-cache-dir auto-gptq --extra-index-url https://hu\n RUN python3 -m pip install --no-cache-dir einops\n \n # Add autoawq for quantization testing\n-RUN python3 -m pip install --no-cache-dir h...
2023-12-05T11:14:45
nodejs/node
095357e26efc366b1cca389306e0780cc1fa81d9
8979b4fc9face199099a53f32dfeb14a1203ad57
lib: tweak use of internal/errors In addition refactor common.throws to common.expectsError PR-URL: https://github.com/nodejs/node/pull/13829 Refs: https://github.com/nodejs/node/issues/11273 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Matteo C...
[ { "path": "lib/internal/child_process.js", "patch": "@@ -284,7 +284,7 @@ ChildProcess.prototype.spawn = function(options) {\n options.envPairs = [];\n else if (!Array.isArray(options.envPairs)) {\n throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'options.envPairs',\n- ...
2017-06-20T21:20:10
vuejs/vue
013d98092868a0c6721831e91616c64f99119b74
733c1be7f5983cdd9e8089a8088b235ba21a4dee
fix(show): prevent transitions from starting on change truthy values (#7524) Closes #7523
[ { "path": "src/platforms/web/runtime/directives/show.js", "patch": "@@ -27,7 +27,7 @@ export default {\n \n update (el: any, { value, oldValue }: VNodeDirective, vnode: VNodeWithData) {\n /* istanbul ignore if */\n- if (value === oldValue) return\n+ if (!value === !oldValue) return\n vnode =...
2018-03-08T16:19:08
ggml-org/llama.cpp
21dc4ddaf21b8ed551d717e7606abd2cffbacdbf
289bf4113ef5c02d8f5eb0cf2d86683d8b8bc4d9
chat : fix debug build assertion in trim function (#15520)
[ { "path": "src/llama-chat.cpp", "patch": "@@ -16,10 +16,10 @@\n static std::string trim(const std::string & str) {\n size_t start = 0;\n size_t end = str.size();\n- while (start < end && isspace(str[start])) {\n+ while (start < end && isspace(static_cast<unsigned char>(str[start]))) {\n ...
2025-08-23T08:38:30
golang/go
fced302aa15702056e0d4a264c80e74c462cdd22
83e288f3dbfdc83e4a016c60d54f928f69608d9a
cmd/compile: change gc logging to report inline failure instead of success I've been experimenting with this, success is the wrong thing to report even though it seems to log much less. Change-Id: I7c25a45d2f41e82b6c8dd8b0a56ba848c63fb21a Reviewed-on: https://go-review.googlesource.com/c/go/+/223298 Run-TryBot: David...
[ { "path": "src/cmd/compile/internal/gc/inl.go", "patch": "@@ -687,6 +687,10 @@ func inlnode(n *Node, maxCost int32, inlMap map[*Node]bool) *Node {\n \t\t\t\t\t\tif Debug['m'] > 1 {\n \t\t\t\t\t\t\tfmt.Printf(\"%v: cannot inline escaping closure variable %v\\n\", n.Line(), n.Left)\n \t\t\t\t\t\t}\n+\t\t\t\t\...
2020-03-04T21:33:54
huggingface/transformers
96f9caa10bb33774c76ac3cd8a41215224d82deb
235e5d4991e8a0984aa78db91087b49622c7740e
pin `ruff==0.1.5` (#27849) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "setup.py", "patch": "@@ -155,7 +155,7 @@\n \"rhoknp>=1.1.0,<1.3.1\",\n \"rjieba\",\n \"rouge-score!=0.0.7,!=0.0.8,!=0.1,!=0.1.1\",\n- \"ruff>=0.1.5,<=0.2\",\n+ \"ruff==0.1.5\",\n \"sacrebleu>=1.4.12,<2.0.0\",\n \"sacremoses\",\n \"safetensors>=0.3.1\",", "additio...
2023-12-05T09:17:23
nodejs/node
8979b4fc9face199099a53f32dfeb14a1203ad57
fc544d4c0075c645762682326aa10e9c890f8533
tools: skip workaround for newer llvm PR-URL: https://github.com/nodejs/node/pull/14077 Fixes: https://github.com/nodejs/node/issues/14076 Refs: https://svnweb.freebsd.org/ports/head/www/node/Makefile?revision=444555&view=markup Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmai...
[ { "path": "common.gypi", "patch": "@@ -407,9 +407,15 @@\n 'libraries': [ '-lelf' ],\n }],\n ['OS==\"freebsd\"', {\n- # Use this flag because on FreeBSD std::pairs copy constructor is non-trivial\n- # https://lists.freebsd.org/pipermail/freebsd-toolchain/2016-March/002094.ht...
2017-07-05T06:49:18
vuejs/vue
733c1be7f5983cdd9e8089a8088b235ba21a4dee
e98d12d232af49b8e127375b6237013e01b77dda
fix(inject): use hasOwn instead of 'in' for provideKey check (#7460) fix #7284 * fix(Injection with Symbol polyfill): hasOwn instead of 'in' Symbol polyfill adds a setter on the Object prototype so the 'in' check evaluated to true on every object * test(Injected properties): Ensures prototype properties aren...
[ { "path": "src/core/instance/inject.js", "patch": "@@ -3,6 +3,7 @@\n import { warn } from '../util/index'\n import { hasSymbol } from 'core/util/env'\n import { defineReactive, observerState } from '../observer/index'\n+import { hasOwn } from 'shared/util'\n \n export function initProvide (vm: Component) {\...
2018-03-08T16:15:35
ggml-org/llama.cpp
0a9b43e507a359ca392c037cf341f55137ad0b69
330c3d2d21b55bca5517db7d2eea2ea8f131df4a
vulkan : support ggml_mean (#15393) * vulkan : support ggml_mean * vulkan : support sum, sum_rows and mean with non-contiguous tensors * vulkan : fix subbuffer size not accounting for misalign offset * tests : add backend-op tests for non-contiguous sum_rows * cuda : require contiguous src for SUM_ROWS, MEAN suppo...
[ { "path": "ggml/src/ggml-cuda/ggml-cuda.cu", "patch": "@@ -3485,11 +3485,11 @@ static bool ggml_backend_cuda_device_supports_op(ggml_backend_dev_t dev, const g\n case GGML_OP_CONV_TRANSPOSE_2D:\n case GGML_OP_POOL_2D:\n case GGML_OP_SUM:\n- case GGML_OP_SUM_ROWS:\n- cas...
2025-08-23T06:35:21
golang/go
83e288f3dbfdc83e4a016c60d54f928f69608d9a
37470c06644ec916821ec82ed84abc2f0d0b876c
cmd/compile: prevent constant folding of +/- when result is NaN Missed as part of CL 221790. It isn't just * and / that can make NaNs. Update #36400 Fixes #38359 Change-Id: I3fa562f772fe03b510793a6dc0cf6189c0c3e652 Reviewed-on: https://go-review.googlesource.com/c/go/+/227860 Run-TryBot: Keith Randall <khr@golang.or...
[ { "path": "src/cmd/compile/internal/ssa/gen/generic.rules", "patch": "@@ -103,17 +103,17 @@\n (Add16 (Const16 [c]) (Const16 [d])) -> (Const16 [int64(int16(c+d))])\n (Add32 (Const32 [c]) (Const32 [d])) -> (Const32 [int64(int32(c+d))])\n (Add64 (Const64 [c]) (Const64 [d])) -> (Const64 [c+d])\n-(Add32...
2020-04-10T16:43:22
vuejs/vue
80e650cfdf9f8127405592d64ba5af1e6e13ce86
9b22d86ab315a3c6061a6a4776eab1964304f92e
chore: fix formatting
[ { "path": "test/unit/modules/compiler/compiler-options.spec.js", "patch": "@@ -9,17 +9,18 @@ describe('compile options', () => {\n <input type=\"text\" v-model=\"msg\" required max=\"8\" v-validate:field1.group1.group2>\n </div>\n `, {\n- directives: {\n- validate (el, dir)...
2018-03-08T14:52:27
huggingface/transformers
235e5d4991e8a0984aa78db91087b49622c7740e
a502b0d427e6ea217bb4d28b352297823385860a
Translate `en/tasks` folder docs to Japanese 🇯🇵 (#27098) * Create asr.md * Create audio_classification.md * Create document_question_answering.md * Update document_question_answering.md * add * add * ggg * gg * add masked_language_modeling.md * add monocular_depth estimation * new * ...
[ { "path": "docs/source/en/tasks/idefics.md", "patch": "@@ -109,7 +109,6 @@ on the fly while loading.\n Now that you have the model loaded in one of the suggested ways, let's move on to exploring tasks that you can use IDEFICS for.\n \n ## Image captioning\n-\n Image captioning is the task of predicting a ca...
2023-12-04T22:10:54
vuejs/vue
9b22d86ab315a3c6061a6a4776eab1964304f92e
3d431a5ddc62fac77a0d0466e13427dd7985901d
fix: install ssr helpers for functional context during SSR close #7443, ref nuxt/nuxt.js#2565
[ { "path": "flow/component.js", "patch": "@@ -16,6 +16,8 @@ declare interface Component {\n static directive: (id: string, def?: Function | Object) => Function | Object | void;\n static component: (id: string, def?: Class<Component> | Object) => Class<Component>;\n static filter: (id: string, def?: Fun...
2018-03-08T14:51:03
golang/go
84fb045763f5a8917b98b82ae08f919a922e8177
53a2a6a7fc5dc0ac5eb9db80af59485380fb0052
[dev.link] cmd/link: fix aux symbol handling in Funcdata If a Go symbol is cloned to external, we should preserve its Aux symbols for FuncInfo, etc.. We already do this in loader.FuncInfo, but not in FuncInfo.Funcdata. Do it in the latter as well. In fact, since FuncInfo and Funcdata should use the same set of auxs, j...
[ { "path": "src/cmd/link/internal/ld/pcln.go", "patch": "@@ -378,7 +378,7 @@ func (ctxt *Link) pclntab() {\n \t\t\tfor i := uint32(0); i < nfd; i++ {\n \t\t\t\tfuncdataoff = append(funcdataoff, fi.Funcdataoff(int(i)))\n \t\t\t}\n-\t\t\tfuncdata = fi.Funcdata(s, funcdata)\n+\t\t\tfuncdata = fi.Funcdata(funcda...
2020-04-10T18:12:44
nodejs/node
ac8126749cc643cf4ec73a41fddd8e10b55fd77c
6add5b31fcc4ae45a8603f886477c544a99e0188
doc: error message are still major PR-URL: https://github.com/nodejs/node/pull/14375 Refs: https://github.com/nodejs/node/issues/13937 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.c...
[ { "path": "doc/guides/using-internal-errors.md", "patch": "@@ -15,9 +15,7 @@ to be breaking changes. By providing a permanent identifier for a specific\n error, we reduce the need for userland code to inspect error messages.\n \n *Note*: Switching an existing error to use the `internal/errors` module must b...
2017-07-19T18:57:38
huggingface/transformers
1d63b0ec361e7a38f1339385e8a5a855085532ce
e0d2e695827594c6a95a68612f32c65b2686985e
Disallow `pickle.load` unless `TRUST_REMOTE_CODE=True` (#27776) * fix * fix * Use TRUST_REMOTE_CODE * fix doc * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docs/source/en/model_doc/transfo-xl.md", "patch": "@@ -22,11 +22,17 @@ This model is in maintenance mode only, so we won't accept any new PRs changing\n \n We recommend switching to more recent models for improved security.\n \n-In case you would still like to use `TransfoXL` in your experiments,...
2023-12-04T15:48:37
vuejs/vue
1c0b4af5fd2f9e8173b8f4718018ee80a6313872
f7ca21eab1e0d661945aa6070fc988028c90966f
fix: skip v-model & value binding collision check with dynamic type binding (#7406) * fix #7404
[ { "path": "src/platforms/web/compiler/directives/model.js", "patch": "@@ -130,9 +130,11 @@ function genDefaultModel (\n const type = el.attrsMap.type\n \n // warn if v-bind:value conflicts with v-model\n+ // except for inputs with v-bind:type\n if (process.env.NODE_ENV !== 'production') {\n const...
2018-03-07T22:44:55
golang/go
782fcb44b96753e6e763be91a72bcbfc3dff7ab9
245409ea86f20fd9f4167223c2339fb238f9e4b6
regexp: add (*Regexp).SubexpIndex SubexpIndex returns the index of the first subexpression with the given name, or -1 if there is no subexpression with that name. Fixes #32420 Change-Id: Ie1f9d22d50fb84e18added80a9d9a9f6dca8ffc4 Reviewed-on: https://go-review.googlesource.com/c/go/+/187919 Run-TryBot: Ian Lance Tayl...
[ { "path": "src/regexp/all_test.go", "patch": "@@ -418,24 +418,32 @@ func TestLiteralPrefix(t *testing.T) {\n \t}\n }\n \n+type subexpIndex struct {\n+\tname string\n+\tindex int\n+}\n+\n type subexpCase struct {\n-\tinput string\n-\tnum int\n-\tnames []string\n+\tinput string\n+\tnum int\n+\tnames ...
2019-07-29T01:15:36
huggingface/transformers
e0d2e695827594c6a95a68612f32c65b2686985e
e739a361bc19000f619cf248707914844456835f
restructure AMD scheduled CI (#27743) * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": ".github/workflows/self-scheduled-amd-caller.yml", "patch": "@@ -3,23 +3,12 @@ name: Self-hosted runner (AMD scheduled CI caller)\n on:\n schedule:\n - cron: \"17 2 * * *\"\n- push:\n- branches:\n- - run_amd_scheduled_ci_caller*\n \n jobs:\n- run_amd_ci_mi210:\n- name: AMD mi210...
2023-12-04T14:32:05
vuejs/vue
f7ca21eab1e0d661945aa6070fc988028c90966f
3eb37acf98e2d9737de897ebe7bdb7e9576bcc21
fix: always install composition event listeners Previously the installation was skipped on Android because it was not needed for Chinese IME - however some IMEs such as Japanese exhibits the same behavior as on other browers. So it is safer to always enable the check. Closes #7367
[ { "path": "src/platforms/web/runtime/directives/model.js", "patch": "@@ -6,7 +6,7 @@\n import { isTextInputType } from 'web/util/element'\n import { looseEqual, looseIndexOf } from 'shared/util'\n import { mergeVNodeHook } from 'core/vdom/helpers/index'\n-import { warn, isAndroid, isIE9, isIE, isEdge } from...
2018-03-07T21:50:38
rust-lang/rust
2d0f31ba886d7f9b1162f88612c2fd5741b51845
a26e97be8826d408309fffbd8168362365719f50
Fix mistake in x86_64-unknown-freebsd platform description
[ { "path": "src/doc/rustc/src/platform-support.md", "patch": "@@ -101,7 +101,7 @@ target | notes\n [`riscv64gc-unknown-linux-gnu`](platform-support/riscv64gc-unknown-linux-gnu.md) | RISC-V Linux (kernel 4.20, glibc 2.29)\n [`riscv64gc-unknown-linux-musl`](platform-support/riscv64gc-unknown-linux-musl.md) | R...
2025-02-09T17:53:16
ggml-org/llama.cpp
45363632cbd593537d541e81b600242e0b3d47fc
32732f2459a598606055f0403f0e4ec148d06d68
ggml WebGPU: add support for quantization types (#15440) * Begin work on set_rows * Work on set rows * Add error buffers for reporting unsupported SET_ROWS indices * Remove extra comments * Work on templating for different types in shaders * Work on shader type generation * Working q4_0 mul_mat and some templati...
[ { "path": "ggml/src/ggml-webgpu/CMakeLists.txt", "patch": "@@ -20,8 +20,8 @@ add_custom_command(\n COMMAND ${CMAKE_COMMAND} -E make_directory ${SHADER_OUTPUT_DIR}\n COMMAND ${CMAKE_COMMAND} -E env PYTHONIOENCODING=utf-8\n ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/wgsl-shaders/embed_w...
2025-08-22T18:28:03
golang/go
7c0ee1127bf41bf274b08170de3e42b171a903c0
b191c6095ececd77881be0644b333fc44e35774c
test: deflaking measures for runtime gdb test Tweak the runtime's GDB python test to try to reduce flake failures. Background: the intent of the testpoint in question is to make sure that python-supported commands like "info goroutines" or "goroutine 1 backtrace" work properly. The Go code being run under the debugge...
[ { "path": "src/runtime/runtime-gdb_test.go", "patch": "@@ -108,6 +108,7 @@ import \"fmt\"\n import \"runtime\"\n var gslice []string\n func main() {\n+\tgo func() { select{} }() // ensure a second goroutine is running\n \tmapvar := make(map[string]string, 13)\n \tmapvar[\"abc\"] = \"def\"\n \tmapvar[\"ghi\"...
2020-03-13T15:09:05
vuejs/vue
3eb37acf98e2d9737de897ebe7bdb7e9576bcc21
aeebf0de906e7030282d59734ad30d69548cb521
fix: fix ssr env detection in weex (#7375)
[ { "path": "src/core/util/env.js", "patch": "@@ -38,7 +38,7 @@ let _isServer\n export const isServerRendering = () => {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n- if (!inBrowser && typeof global !== 'undefined') {\n+ if (!inBrowser && !inWeex && typeof global !== 'undefined') ...
2018-03-07T20:37:14
huggingface/transformers
2b5d5ead53207963fc57fb26cb3e6c77dd95d01a
1da1302ec8832e58510801cbbfd506194d8ce7ea
[Hot-Fix][XLA] Re-enable broken _tpu_save for XLATensors (#27799) * [XLA] Re-enable broken _tpu_save for XLATensors, by explicitly moving to cpu * linter-fix
[ { "path": "src/transformers/trainer.py", "patch": "@@ -2834,18 +2834,20 @@ def _save_tpu(self, output_dir: Optional[str] = None):\n xm.rendezvous(\"saving_checkpoint\")\n if not isinstance(self.model, PreTrainedModel):\n if isinstance(unwrap_model(self.model), PreTrainedModel):\n...
2023-12-04T13:56:00
nodejs/node
bb294059040def8e8c0b1719cc17f6537ab5cb39
4f875222445b07016a8294fa5a5bf7418c735489
lib,src: fix consistent spacing inside braces PR-URL: https://github.com/nodejs/node/pull/14162 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "benchmark/_test-double-benchmarker.js", "patch": "@@ -3,5 +3,5 @@\n const http = require('http');\n \n http.get(process.env.path, function() {\n- console.log(JSON.stringify({throughput: 1}));\n+ console.log(JSON.stringify({ throughput: 1 }));\n });", "additions": 1, "deletions": 1, ...
2017-07-11T00:55:21
rust-lang/rust
4312d7b541cda5444c29b8bec12b72b46e33caff
a4e7f8f9bf10588cb5519ae09a15be155499901f
Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
[ { "path": "library/alloc/src/collections/btree/merge_iter.rs", "patch": "@@ -74,7 +74,7 @@ impl<I: Iterator> MergeIterInner<I> {\n b_next = self.b.next();\n }\n }\n- if let (Some(ref a1), Some(ref b1)) = (&a_next, &b_next) {\n+ if let (Some(a1), Some(b1)) = ...
2025-02-07T18:35:46
ggml-org/llama.cpp
ad5c975c2d0297124fad210776ef8eed6b90d578
4afb0a746f22abaa545b3ebdb76a400d7da3a713
ggml-cpu: Support Q5_0 and Q5_1 on s390x (#15486) * ggml-cpu: initial q5_0 impl for s390x Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * ggml-cpu: updated q5_0 code for better performance Signed-off-by: Aaron Teo <aaron.teo1@ibm.com> * ggml-cpu: use optimised hsum for better performance Signed-off-by: Aaron Teo ...
[ { "path": "docs/build-s390x.md", "patch": "@@ -265,8 +265,9 @@ IBM VXE/VXE2 SIMD acceleration depends on the BLAS implementation. It is strongl\n | BF16 | 🚫 | 🚫 | ❓ | ❓ |\n | Q4_0 | ✅ | ✅ | ❓ | ❓ |\n | Q4_1 | ✅ | ✅ | ❓ | ❓ |\n-| Q5_0 ...
2025-08-22T08:11:04
golang/go
98b6c6aca6fd4185f97dc40137707f4d8df8aa7c
346d7d273c864411022f809945627866f6bc4cc6
cmd/compile: do not allocate bucket for non-escaping map For map with hint larger than BUCKETSIZE, makemap ignore allocated bucket and allocate buckets itself. So do not allocate bucket in this case, save us the cost of zeroing+assignment to the bucket. name old time/op new time/op de...
[ { "path": "src/cmd/compile/internal/gc/walk.go", "patch": "@@ -1247,21 +1247,35 @@ opswitch:\n \t\t\t// are stored with an indirection. So max bucket size is 2048+eps.\n \t\t\tif !Isconst(hint, CTINT) ||\n \t\t\t\thint.Val().U.(*Mpint).CmpInt64(BUCKETSIZE) <= 0 {\n+\n+\t\t\t\t// In case hint is larger than ...
2020-04-07T20:08:21
vuejs/vue
7392dfcc1d5fd7b257df5ae134f9eb2f0cc0a51e
f7311c90b35da6ee680dacb0566a276bff907ccb
fix(observer): do not invoke getters on initial observation (#7302) fix #7280
[ { "path": "src/core/observer/index.js", "patch": "@@ -61,7 +61,7 @@ export class Observer {\n walk (obj: Object) {\n const keys = Object.keys(obj)\n for (let i = 0; i < keys.length; i++) {\n- defineReactive(obj, keys[i], obj[keys[i]])\n+ defineReactive(obj, keys[i])\n }\n }\n \n@@ ...
2018-03-07T19:58:12
rust-lang/rust
bf2f2c4d71915a9b98d64e75c31264665a0399a7
fcc796829e0cbd189af0e29f283fb433a148ad11
Fix clippy errors
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/expr_store/lower.rs", "patch": "@@ -1802,10 +1802,10 @@ impl ExprCollector<'_> {\n if ident.is_simple_ident() {\n return ident\n .name()\n- ...
2025-01-21T22:22:39
huggingface/transformers
1da1302ec8832e58510801cbbfd506194d8ce7ea
4d4febb7aa3f49c29d7f4fc29bbc1760edd583b6
Flash Attention 2 support for RoCm (#27611) * support FA2 * fix typo * fix broken tests * fix more test errors * left/right * fix bug * more test * typo * fix layout flash attention falcon * do not support this case * use allclose instead of equal * fix various bugs with flash attentio...
[ { "path": "docs/source/en/model_doc/gpt_neo.md", "patch": "@@ -56,13 +56,9 @@ The `generate()` method can be used to generate text using GPT Neo model.\n \n ## Combining GPT-Neo and Flash Attention 2\n \n-First, make sure to install the latest version of Flash Attention 2 to include the sliding window atten...
2023-12-04T12:52:17
nodejs/node
43bd47c352a368db6051b1017225abace015d3c9
27343cc051e05023f79db980fefb365fa29af37c
test: fix flaky test-net-write-after-close Replace 250ms timer with event-based logic to make test robust. PR-URL: https://github.com/nodejs/node/pull/14361 Fixes: https://github.com/nodejs/node/issues/13597 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Revi...
[ { "path": "test/parallel/test-net-write-after-close.js", "patch": "@@ -21,24 +21,31 @@\n \n 'use strict';\n const common = require('../common');\n+\n const net = require('net');\n \n+let serverSocket;\n+\n const server = net.createServer(common.mustCall(function(socket) {\n+ serverSocket = socket;\n+\n s...
2017-07-19T06:00:33
ggml-org/llama.cpp
a0f98dd604d34826eb5ea2560d1e23fe726921df
54a241f505d515d625767b993bfd573ecee306b9
CANN: Optimize RMS_NORM using cache (#15419) * [CANN] Optimize RMS_NORM using cache Signed-off-by: noemotiovon <757486878@qq.com> * fix typo Signed-off-by: noemotiovon <757486878@qq.com> * fix review comment Signed-off-by: noemotiovon <757486878@qq.com> * codestyle adjustment Signed-off-by: noemotiovon <7574868...
[ { "path": "ggml/src/ggml-cann/aclnn_ops.cpp", "patch": "@@ -867,6 +867,86 @@ static aclTensor* aclnn_values(ggml_backend_cann_context& ctx, void* buffer,\n return acl_tensor;\n }\n \n+/**\n+ * @brief Fills a tensor with a scalar value.\n+ *\n+ * This function fills the destination tensor `acl_dst` with ...
2025-08-22T06:12:07
vuejs/vue
1c8e2e88ed2d74a02178217b318564b73a096c18
50b711af43708426e63b4ea529436b49fafc3f2e
fix: support KeyboardEvent.key in built-in keyboard event modifiers (#7121) fix #6900
[ { "path": "src/core/instance/render-helpers/check-keycodes.js", "patch": "@@ -3,6 +3,26 @@\n import config from 'core/config'\n import { hyphenate } from 'shared/util'\n \n+const keyNames: { [key: string]: string | Array<string> } = {\n+ esc: 'Escape',\n+ tab: 'Tab',\n+ enter: 'Enter',\n+ space: ' ',\n+...
2018-03-07T19:38:41
golang/go
346d7d273c864411022f809945627866f6bc4cc6
0a18cbc2e61a124b8fa142c4be288ec0c45ccb5d
encoding/xml: fix reserved namespace check to be case-insensitive Fixes the check for the reserved namespace prefix "xml" to be case insensitive, so as to match all variants of: (('X'|'x')('M'|'m')('L'|'l')) as mandated by Section 2.3 of https://www.w3.org/TR/REC-xml/ Fixes #35151. Change-Id: Id5a98e5f9d69d374...
[ { "path": "src/encoding/xml/marshal.go", "patch": "@@ -345,8 +345,11 @@ func (p *printer) createAttrPrefix(url string) string {\n \tif prefix == \"\" || !isName([]byte(prefix)) || strings.Contains(prefix, \":\") {\n \t\tprefix = \"_\"\n \t}\n-\tif strings.HasPrefix(prefix, \"xml\") {\n-\t\t// xmlanything is...
2019-10-25T11:48:02
rust-lang/rust
fcc796829e0cbd189af0e29f283fb433a148ad11
0d544cf622f8bfcfc7c324a4ff5709e27604726b
Remove fixme and add a missing test attribute
[ { "path": "src/tools/rust-analyzer/crates/hir-def/src/expr_store/lower.rs", "patch": "@@ -1789,7 +1789,6 @@ impl ExprCollector<'_> {\n }\n None => Pat::Missing,\n },\n- // FIXME: implement in a way that also builds source map and calculates assoc resolu...
2025-01-21T20:14:16
huggingface/transformers
4d4febb7aa3f49c29d7f4fc29bbc1760edd583b6
a0f7c4a43dde89be8650fd123ccda0d481329289
Added test cases for rembert refering to albert and reformer test_tok… (#27637) * Added test cases for rembert refering to albert and reformer test_tokenization * removed CURL_CA_BUNDLE=' * Added flag test_sentencepiece_ignore_case and space_between_special_tokens to True * Overrided test_added_tokens_seriali...
[ { "path": "src/transformers/models/rembert/tokenization_rembert.py", "patch": "@@ -21,7 +21,7 @@\n \n import sentencepiece as spm\n \n-from ...tokenization_utils import PreTrainedTokenizer\n+from ...tokenization_utils import AddedToken, PreTrainedTokenizer\n from ...utils import logging\n \n \n@@ -111,6 +11...
2023-12-04T12:36:57
ggml-org/llama.cpp
54a241f505d515d625767b993bfd573ecee306b9
cd36b5e5c7fed2a3ac671dd542d579ca40b48b54
sched : fix possible use of wrong ids tensor when offloading moe prompt processing (#15488)
[ { "path": "common/arg.cpp", "patch": "@@ -1755,7 +1755,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex\n [](common_params & params) {\n params.warmup = false;\n }\n- ).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_E...
2025-08-21T21:09:32
vuejs/vue
50b711af43708426e63b4ea529436b49fafc3f2e
c57ffb768def2b8a409472eab2715579fc3f047d
fix: do not special case attributes for custom elements close #6864, close #6885
[ { "path": "src/platforms/web/runtime/modules/attrs.js", "patch": "@@ -59,7 +59,9 @@ function updateAttrs (oldVnode: VNodeWithData, vnode: VNodeWithData) {\n }\n \n function setAttr (el: Element, key: string, value: any) {\n- if (isBooleanAttr(key)) {\n+ if (el.tagName.indexOf('-') > -1) {\n+ baseSetAtt...
2018-03-07T17:03:31
rust-lang/rust
eea8ce5be4ca75e67d3b88d55f718e315c3d9d8b
8ad2c9724d983cfb116baab0bb800edd17f31644
Emit an error if `-Zdwarf-version=1` is requested DWARF 1 is very different than DWARF 2+ (see the commentary in https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#index-gdwarf) and LLVM does not really seem to support DWARF 1 as Clang does not offer a `-gdwarf-1` flag and `llc` will just generate DWARF 2 with ...
[ { "path": "compiler/rustc_session/messages.ftl", "patch": "@@ -133,7 +133,8 @@ session_unstable_virtual_function_elimination = `-Zvirtual-function-elimination`\n session_unsupported_crate_type_for_target =\n dropping unsupported crate type `{$crate_type}` for target `{$target_triple}`\n \n-session_unsup...
2025-02-08T19:11:49
huggingface/transformers
a0f7c4a43dde89be8650fd123ccda0d481329289
ede09d671debdaecfd9eaa86d63d8a92d6182d81
[Whisper] Fix doctest in timestamp logits processor (#27795)
[ { "path": "src/transformers/generation/logits_process.py", "patch": "@@ -1503,7 +1503,7 @@ class WhisperTimeStampLogitsProcessor(LogitsProcessor):\n \n >>> #Displaying timestamps\n >>> generated_ids = model.generate(inputs=input_features, return_timestamps=True)\n- >>> transcription = processor.b...
2023-12-04T11:48:21
golang/go
ade0811dc8b7a57091019e148c094c4da9689184
b4bb47d88fa95a587b73c936eeb373348dab9f15
cmd/compile: handle some additional phis in shortcircuit Prior to this change, the shortcircuit pass could only handle blocks containing only a single phi control value, possibly wrapped in some OpNot and OpCopy values. This change partially lifts this limitation. It handles some cases in which the block contains oth...
[ { "path": "src/cmd/compile/internal/ssa/shortcircuit.go", "patch": "@@ -74,28 +74,49 @@ func shortcircuit(f *Func) {\n \t}\n }\n \n-// shortcircuitBlock checks for a CFG of the form\n+// shortcircuitBlock checks for a CFG in which an If block\n+// has as its control value a Phi that has a ConstBool arg.\n+/...
2020-03-11T12:39:08
nodejs/node
a03d8cee1f0cf7a95af01932b5c4356918476e60
d8eb30ac1068664491de0a5a462e3e37163dab45
errors: migrate socket_list to internal/errors PR-URL: https://github.com/nodejs/node/pull/11356 Refs: https://github.com/nodejs/node/issues/11273 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -580,6 +580,11 @@ by the `assert` module.\n \n Used when attempting to perform an operation outside the bounds of a `Buffer`.\n \n+<a id=\"ERR_CHILD_CLOSED_BEFORE_REPLY\"></a>\n+### ERR_CHILD_CLOSED_BEFORE_REPLY\n+\n+Used when a child process is closed before the ...
2017-02-13T21:03:35
ggml-org/llama.cpp
9ad5e60dba38a6718366b7ac43e7d8e8abdc36c9
715a6db02ccb16284837885f2c6fab05d8f7a6ee
examples : fix some typos in examples/model-conversion/README.md (#15477) Signed-off-by: Jie Fu <jiefu@tencent.com>
[ { "path": "examples/model-conversion/README.md", "patch": "@@ -6,7 +6,7 @@ The motivation for having this is that the conversion process can often be an\n iterative process, where the original model is inspected, converted, updates\n made to llama.cpp, converted again, etc. Once the model has been converted...
2025-08-21T14:53:13
vuejs/vue
c57ffb768def2b8a409472eab2715579fc3f047d
d6200d70261c4a8943190900e0721ede1c4a4f2b
chore: fix README.md vulnerable target="_blank" links (#7689) * README: add rel noopener and noreferrer Add to all "_blank" links rel noopener and noreferrer to prevent vulnerability * Update README.md
[ { "path": "README.md", "patch": "@@ -1,4 +1,4 @@\n-<p align=\"center\"><a href=\"https://vuejs.org\" target=\"_blank\"><img width=\"100\" src=\"https://vuejs.org/images/logo.png\" alt=\"Vue logo\"></a></p>\n+<p align=\"center\"><a href=\"https://vuejs.org\" target=\"_blank\" rel=\"noopener noreferrer\"><img...
2018-03-07T14:03:07
huggingface/transformers
facc66457ef79879cf63e5c02d6989ce98ac023d
73893df864db6df0734e1b836f085d340ad3d66e
Keypoints 0.0 are confusing ../transformers/models/detr/image_processing_detr.py which are fixed (#26250) * Keypoints 0.0 is fixed * fixed keypoints for image_processing_yolos * fixed keypoints for image_processing_deta * fixed keypoints for image_processing_deformable_detr * fixed keypoints for image_proc...
[ { "path": "src/transformers/models/conditional_detr/image_processing_conditional_detr.py", "patch": "@@ -332,10 +332,13 @@ def prepare_coco_detection_annotation(\n \n if annotations and \"keypoints\" in annotations[0]:\n keypoints = [obj[\"keypoints\"] for obj in annotations]\n+ # Convert...
2023-12-04T09:29:12
golang/go
e3323f57df1f4a44093a2d25fee33513325cbb86
b2790a2838fc4c15c3663e35efeb0ca5331840f3
net/url: add URL.Redacted to return a password scrubbed string Returning an URL.String() without the password is very useful for situations where the URL is supposed to be logged and the password is not useful to be shown. This method re-uses URL.String() but with the password scrubbed and substituted for a "xxxxx" i...
[ { "path": "src/net/url/url.go", "patch": "@@ -821,6 +821,20 @@ func (u *URL) String() string {\n \treturn buf.String()\n }\n \n+// Redacted is like String but replaces any password with \"xxxxx\".\n+// Only the password in u.URL is redacted.\n+func (u *URL) Redacted() string {\n+\tif u == nil {\n+\t\treturn...
2020-04-08T10:21:40
nodejs/node
4d5ae3022c96d6e3f23788fe0ad4cb1333763bcf
6a5bdfb97e5316f39ffdfc38ac0fd5837b10e570
doc: fix typo in stream.md PR-URL: https://github.com/nodejs/node/pull/14364 Fixes: https://github.com/nodejs/node/issues/14362 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.co...
[ { "path": "doc/api/stream.md", "patch": "@@ -2035,7 +2035,7 @@ user programs.\n \n `transform._transform()` is never called in parallel; streams implement a\n queue mechanism, and to receive the next chunk, `callback` must be\n-called, either synchronously or asychronously.\n+called, either synchronously o...
2017-07-19T11:49:26
vuejs/vue
d6200d70261c4a8943190900e0721ede1c4a4f2b
990374bacbaa75ae2535370583714f1032e768a1
feat(weex): update weex recycle-list compiler (#7610) + Support v-once + Generate @templateId on the root element of each component + Add binding-expression attribute on recycle-list + Fix the compile result of v-else-if and v-else
[ { "path": "src/platforms/weex/compiler/modules/recycle-list/component-root.js", "patch": "@@ -10,6 +10,7 @@ export function postTransformComponentRoot (\n if (!el.parent) {\n // component root\n addAttr(el, '@isComponentRoot', 'true')\n+ addAttr(el, '@templateId', '_uid')\n addAttr(el, '@co...
2018-03-05T03:59:21
ggml-org/llama.cpp
715a6db02ccb16284837885f2c6fab05d8f7a6ee
ad294df03ff2dccd227c3fee653166f3d78b23a4
kv-cache : drop the "unified" prefix (#15467) * kv-cache : drop the "unified" prefix ggml-ci * cont : fix comment [no ci]
[ { "path": "include/llama.h", "patch": "@@ -64,8 +64,6 @@ extern \"C\" {\n \n typedef struct llama_memory_i * llama_memory_t;\n \n- struct llama_kv_cache; // DEPRECATED (use llama_memory instead)\n-\n typedef int32_t llama_pos;\n typedef int32_t llama_token;\n typedef int32_t llama_seq_id;...
2025-08-21T14:00:33
huggingface/transformers
73893df864db6df0734e1b836f085d340ad3d66e
5a551df92bcb9c8cdcd706a4458764eabc1e0fe8
Fix `Owlv2ModelIntegrationTest::test_inference_object_detection` (#27793) * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/owlv2/test_modeling_owlv2.py", "patch": "@@ -840,10 +840,12 @@ def test_inference_object_detection(self):\n num_queries = int((model.config.vision_config.image_size / model.config.vision_config.patch_size) ** 2)\n self.assertEqual(outputs.pred_boxes.shape, torch.Size(...
2023-12-04T08:45:22
rust-lang/rust
ace6bb9869747b50d7d4bfaacc65d0592ec94aef
43ca9d18e333797f0aa3b525501a7cec8d61a96b
Fix unwrap error in overflowing int literal
[ { "path": "compiler/rustc_lint/src/types.rs", "patch": "@@ -543,7 +543,11 @@ impl<'tcx> LateLintPass<'tcx> for TypeLimits {\n lit: &'tcx hir::Lit,\n negated: bool,\n ) {\n- lint_literal(cx, self, hir_id, lit.span, lit, negated)\n+ if negated {\n+ self.negated_exp...
2025-02-09T04:20:39
golang/go
ac1fd419b6d2af8b0e69b13fa5c794705095db0a
a59465b545cd66e0796b5c7649a87a6f1b657cb4
math/big: correct off-by-one access in divBasic The divBasic function computes the quotient of big nats u/v word by word. It estimates each word qhat by performing a long division (top 2 words of u divided by top word of v), looks at the next word to correct the estimate, then perform a full multiplication (qhat*v) to...
[ { "path": "src/math/big/nat.go", "patch": "@@ -740,7 +740,8 @@ func (z nat) divLarge(u, uIn, vIn nat) (q, r nat) {\n // The remainder overwrites input u.\n //\n // Precondition:\n-// - len(q) >= len(u)-len(v)\n+// - q is large enough to hold the quotient u / v\n+// which has a maximum length of len(u)-len...
2020-03-05T06:59:00