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 |
|---|---|---|---|---|---|
nodejs/node | 871e4d0280178ce1ec2955f9b3f71b528077f6fd | c6f074f737e3d63001c09724397598733177dc5e | test: add regression test for 13557
Fixes: https://github.com/nodejs/node/issues/13557
PR-URL: https://github.com/nodejs/node/pull/13560
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@g... | [
{
"path": "test/parallel/test-readline-reopen.js",
"patch": "@@ -0,0 +1,44 @@\n+'use strict';\n+\n+// Regression test for https://github.com/nodejs/node/issues/13557\n+// Tests that multiple subsequent readline instances can re-use an input stream.\n+\n+const common = require('../common');\n+const assert = ... | 2017-06-08T21:12:54 |
vuejs/vue | be076173d059e52517b8e079d6948c22e49b9a2d | 8a518c1efdcf48576135bf8fd2f8aa1950e8ec76 | fix a typo (#5284) | [
{
"path": "src/core/vdom/create-component.js",
"patch": "@@ -296,7 +296,7 @@ function extractProps (data: VNodeData, Ctor: Class<Component>, tag?: string): ?\n ) {\n tip(\n `Prop \"${keyInLowerCase}\" is passed to component ` +\n- `${formatComponentName(tag || Ctor)}... | 2017-03-25T14:36:00 |
ggml-org/llama.cpp | d7da8dc83a03b30e1ec10317080082ea76840c38 | cd355eda7df1898d25d433b4bdaa4b4b479e0bad | model : Add support for Arcee AI's upcoming AFM model (#14185)
* Add Arcee AFM support
* Add draft update code
* Fix linter and update URL, may still not be final
* Update src/llama-model.cpp
Co-authored-by: Xuan-Son Nguyen <thichthat@gmail.com>
* Remote accidental blank line
---------
Co-authored-by: Xuan-Son ... | [
{
"path": "convert_hf_to_gguf.py",
"patch": "@@ -2020,6 +2020,20 @@ def prepare_tensors(self):\n raise ValueError(f\"Unprocessed experts: {experts}\")\n \n \n+@ModelBase.register(\"ArceeForCausalLM\")\n+class ArceeModel(LlamaModel):\n+ model_arch = gguf.MODEL_ARCH.ARCEE\n+\n+ def set_g... | 2025-06-15T23:04:06 |
golang/go | 529988d62c1ffc3e5332231fc3e977858e5a2351 | a4f7b0879c8d5d67e8e186dc210d3c8e76589e78 | os: seek should invalidate any cached directory reads
When we seek on the underlying FD, discard any directory entries
we've already read and cached. This makes sure we won't return
the same entry twice.
We already fixed this for Darwin in CL 209961.
Fixes #37161
Change-Id: I20e1ac8d751443135e67fb4c43c18d69befb643b... | [
{
"path": "src/os/dir_darwin.go",
"patch": "@@ -24,16 +24,6 @@ func (d *dirInfo) close() {\n \td.dir = 0\n }\n \n-func (f *File) seekInvalidate() {\n-\tif f.dirinfo == nil {\n-\t\treturn\n-\t}\n-\t// Free cached dirinfo, so we allocate a new one if we\n-\t// access this file as a directory again. See #35767... | 2020-02-12T01:49:52 |
rust-lang/rust | 788a38953f11cef41663cb912d51126cb595fef4 | 8239a37f9c0951a037cfc51763ea52a20e71e6bd | miri: improve error when offset_from preconditions are violated | [
{
"path": "compiler/rustc_const_eval/messages.ftl",
"patch": "@@ -280,7 +280,9 @@ const_eval_nullary_intrinsic_fail =\n could not evaluate nullary intrinsic\n \n const_eval_offset_from_different_allocations =\n- `{$name}` called on pointers into different allocations\n+ `{$name}` called on two dif... | 2025-02-02T13:23:59 |
huggingface/transformers | b91cff5a3eface63f64ff291fa2811cd2789b064 | a5f5568d757e94c64f298e7003bb477742d71502 | fix resume_from_checkpoint bug (#26739)
* fix resume_from_checkpoint bug
* update code | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -2862,7 +2862,10 @@ def _sorted_checkpoints(\n checkpoints_sorted = sorted(ordering_and_checkpoint_path)\n checkpoints_sorted = [checkpoint[1] for checkpoint in checkpoints_sorted]\n # Make sure we don't delete the best model.\n- ... | 2023-10-16T13:29:47 |
vuejs/vue | f4630d0105a80473d48dcfe35a7eaefe6f1a9b36 | 5222f06a2ce537d3ad19ba70f27770aceb5d8c69 | treat <input> with different types as different nodes (fix #5266) | [
{
"path": "src/core/vdom/patch.js",
"patch": "@@ -34,15 +34,26 @@ function isTrue (v) {\n return v === true\n }\n \n-function sameVnode (vnode1, vnode2) {\n+function sameVnode (a, b) {\n return (\n- vnode1.key === vnode2.key &&\n- vnode1.tag === vnode2.tag &&\n- vnode1.isComment === vnode2.isCo... | 2017-03-24T03:54:52 |
nodejs/node | 252911968002d840c82552b6337bd9430adeb231 | 390fa0380e60684c1416afd85773241e3a0d56ff | doc: fix napi_create_*_error signatures in n-api
PR-URL: https://github.com/nodejs/node/pull/13544
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna M. Kedzierska <anna.m.kedzierska@gmail.com>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Jason Ginchereau <jasongin@micros... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -407,7 +407,9 @@ This API queries a `napi_value` to check if it represents an error object.\n added: v8.0.0\n -->\n ```C\n-NODE_EXTERN napi_status napi_create_error(napi_env env, const char* msg);\n+NODE_EXTERN napi_status napi_create_error(napi_env env,\n+ ... | 2017-06-08T10:05:19 |
ggml-org/llama.cpp | e54b394082de242be4ee2e692b11fcc8d4eba371 | 2c2caa444341d99c87ff153f142c2d4762a776a2 | CUDA/HIP: fix ssm_scan on devices where warp size is not 32 (#14196) | [
{
"path": "ggml/src/ggml-cuda/ssm-scan.cu",
"patch": "@@ -10,6 +10,8 @@ __global__ void __launch_bounds__(splitD, 2)\n float * __restrict__ dst, const int64_t L) {\n GGML_UNUSED(src1_nb0);\n GGML_UNUSED(src2_nb0);\n+\n+ constexpr int warp_size = ggml_cuda_get_physical_warp_size()... | 2025-06-15T15:30:13 |
golang/go | a4f7b0879c8d5d67e8e186dc210d3c8e76589e78 | e44cda3aa97ba0870806e65fc66641eb2cf6682a | syscall/js: improve documentation of js.FuncOf
The existing documentation is improved to be more
explicit about the lifecycle and its consequences.
Fixes #34324
Change-Id: I9969afc69f6eeb7812c11fe821a842794df5aa5b
GitHub-Last-Rev: 246a4991660927f88f48290580e96b15c16663c1
GitHub-Pull-Request: golang/go#34551
Reviewed... | [
{
"path": "src/syscall/js/func.go",
"patch": "@@ -22,17 +22,22 @@ type Func struct {\n \tid uint32\n }\n \n-// FuncOf returns a wrapped function.\n+// FuncOf returns a function to be used by JavaScript.\n //\n-// Invoking the JavaScript function will synchronously call the Go function fn with the value o... | 2020-03-01T20:07:46 |
huggingface/transformers | 5c081e29930466ecf9a478727039d980131076d9 | 69a26c7ecda2d9bff42a601e45a57cdb22150a98 | [docstring] Fix docstring for `CodeLlamaTokenizerFast` (#26666)
* remove from OBJECTS_TO_IGNORE
* run check_docstrings.py
* fill in information
* ignore CodeLlamaTokenizer | [
{
"path": "src/transformers/models/code_llama/tokenization_code_llama_fast.py",
"patch": "@@ -75,37 +75,39 @@ class CodeLlamaTokenizerFast(PreTrainedTokenizerFast):\n which supports prompt infilling.\n \n Args:\n- vocab_file (`str`):\n+ vocab_file (`str`, *optional*):\n [Se... | 2023-10-16T08:11:45 |
vuejs/vue | 70db229a49e0d541a66caa1eccba41768d0b486a | 23a058ed13e7faa667ada2b96e242eb7488b601c | handle v-model on password input field on ie9 (fix #5250) (#5253) | [
{
"path": "src/platforms/web/runtime/directives/model.js",
"patch": "@@ -28,7 +28,7 @@ export default {\n if (isIE || isEdge) {\n setTimeout(cb, 0)\n }\n- } else if (vnode.tag === 'textarea' || el.type === 'text') {\n+ } else if (vnode.tag === 'textarea' || el.type === 'text' || el... | 2017-03-23T04:00:44 |
nodejs/node | 390fa0380e60684c1416afd85773241e3a0d56ff | a2fdb76677f704783da167cbcc9128e75e01daa8 | cluster, dns, repl, tls, util: fix RegExp nits
* Take RegExp creation out of cycles.
* Use test(), not match() in boolean context.
* Remove redundant RegExp parts.
PR-URL: https://github.com/nodejs/node/pull/13536
Reviewed-By: Anna Henningsen <anna@addaleax.net> | [
{
"path": "lib/_tls_wrap.js",
"patch": "@@ -963,7 +963,7 @@ function SNICallback(servername, callback) {\n var ctx;\n \n this.server._contexts.some(function(elem) {\n- if (servername.match(elem[0]) !== null) {\n+ if (elem[0].test(servername)) {\n ctx = elem[1];\n return true;\n }",... | 2017-06-07T23:00:33 |
ggml-org/llama.cpp | 5fce5f948df8f189a5401a8ecaa9753106e75abb | 9ae4143bc6ecb4c2f0f0301578f619f6c201b857 | kv-cache : fix use-after-move of defrag info (#14189)
ggml-ci | [
{
"path": "src/llama-kv-cache-unified.cpp",
"patch": "@@ -1739,7 +1739,7 @@ llama_kv_cache_unified_state::llama_kv_cache_unified_state(\n llama_context * lctx,\n bool do_shift,\n defrag_info dinfo) : status(LLAMA_MEMORY_STATUS_SUCCESS), kv(kv), lctx(lctx), do_shift(do_shift), dinfo(s... | 2025-06-15T07:52:11 |
huggingface/transformers | 0e52af4d7bedfd2b64b260c4d797912e88f512de | 0dd58d96a03621fca9cfdf799f7444d2ca477837 | [docstring] Fix docstring for `CanineConfig` (#26771)
* Remove CanineConfig from check_docstrings
* Run fix_and_overwrite for CanineConfig
* Replace <fill_type> and <fill_docstring> in configuration_canine.py with type and docstring values
---------
Co-authored-by: vignesh-raghunathan <vignesh_raghunathan@... | [
{
"path": "src/transformers/models/canine/configuration_canine.py",
"patch": "@@ -61,6 +61,12 @@ class CanineConfig(PretrainedConfig):\n The standard deviation of the truncated_normal_initializer for initializing all weight matrices.\n layer_norm_eps (`float`, *optional*, defaults to 1e-... | 2023-10-16T08:08:44 |
golang/go | e44cda3aa97ba0870806e65fc66641eb2cf6682a | 7913f7dfcf2c281b99c6ddd278aa851de47ada9d | syscall: fix Fchdir on js/wasm
NodeJS does not support fchdir so it has to be emulated with chdir by
saving the path when opening a directory.
However, if the path opened is relative, saving this path is not
sufficient, because after changing the working directory the path
does not resolve correctly any more, thus a ... | [
{
"path": "src/os/os_test.go",
"patch": "@@ -1242,6 +1242,41 @@ func testChtimes(t *testing.T, name string) {\n \t}\n }\n \n+func TestFileChdir(t *testing.T) {\n+\t// TODO(brainman): file.Chdir() is not implemented on windows.\n+\tif runtime.GOOS == \"windows\" {\n+\t\treturn\n+\t}\n+\n+\twd, err := Getwd()... | 2020-03-01T16:01:58 |
vuejs/vue | 23a058ed13e7faa667ada2b96e242eb7488b601c | 7dea9f1eb266a3c3ef4d55adb1ff74ea0db70a36 | fix(inject): change warn message when trying to mutate an injected value (#5243) | [
{
"path": "src/core/instance/inject.js",
"patch": "@@ -34,9 +34,9 @@ export function initInjections (vm: Component) {\n if (process.env.NODE_ENV !== 'production') {\n defineReactive(vm, key, source._provided[provideKey], () => {\n warn(\n- `Avoid mutating a... | 2017-03-21T12:26:22 |
ggml-org/llama.cpp | b9912ac570de8945ae9383c9ca8291027bf287dd | 00ba7726100d7e1941d9f5a06f56a7559945b33c | batch : auto-gen positions + verify multi-sequence input (#14177)
* batch : verify multi-sequence input batches
ggml-ci
* cont : auto-gen positions + verify multi-seq input
ggml-ci
* cont : first print debug info, then perform validation
ggml-ci
* cont : fix position auto-gen + add comments
ggml-ci | [
{
"path": "include/llama.h",
"patch": "@@ -243,14 +243,14 @@ extern \"C\" {\n \n typedef bool (*llama_progress_callback)(float progress, void * user_data);\n \n- // Input data for llama_decode\n+ // Input data for llama_encode/llama_decode\n // A llama_batch object can contain input about one ... | 2025-06-15T06:18:37 |
nodejs/node | dde4f0f1bfa0471daf8001f97f21ddb2b21db047 | c9d45c4505a35e974c1c4b56f2ed699f2694aa14 | test: fix flaky test-tls-socket-close
Add error listener to ignore `ECONNRESET`. Makes test reliable while it
still segfaults (as expected) on Node.js 7.7.3. It might not be possible
to eliminate the probable race causing `ECONNRESET` without also
eliminating the required segfault-inducing part of the test. (Or maybe
... | [
{
"path": "test/parallel/test-tls-socket-close.js",
"patch": "@@ -32,12 +32,17 @@ const netServer = net.createServer((socket) => {\n \n netSocket = socket;\n }).listen(0, common.mustCall(function() {\n- // connect client\n- tls.connect({\n+ connectClient(netServer);\n+}));\n+\n+function connectClient(s... | 2017-06-07T19:43:22 |
huggingface/transformers | 0dd58d96a03621fca9cfdf799f7444d2ca477837 | 21dc5859421cf0d7d82d374b10f533611745a8c5 | Fixed typos (#26810)
Update feature_extractor.md | [
{
"path": "docs/source/en/main_classes/feature_extractor.md",
"patch": "@@ -16,10 +16,7 @@ rendered properly in your Markdown viewer.\n \n # Feature Extractor\n \n-A feature extractor is in charge of preparing input features for audio or vision models. This includes feature extraction\n-from sequences, *e.g... | 2023-10-16T07:52:29 |
vuejs/vue | 7dea9f1eb266a3c3ef4d55adb1ff74ea0db70a36 | 4c4a2ab65f6dde0802c7d0ee7fd3200c45316488 | fix provide isn't reactive with a single array (#5229)
* fix provide isn't reactive with a single array - Fix #5223
* add warning when injections has been modified | [
{
"path": "src/core/instance/inject.js",
"patch": "@@ -1,6 +1,8 @@\n /* @flow */\n \n import { hasSymbol } from 'core/util/env'\n+import { warn } from '../util/index'\n+import { defineReactive } from '../observer/index'\n \n export function initProvide (vm: Component) {\n const provide = vm.$options.provi... | 2017-03-21T07:22:32 |
golang/go | 1e9665da8fd8e2e095eb0e99a3b83118f600dc0b | 95f382139043059a2a0780ba577b53893408f7e4 | cmd/compile: add a dark mode to ssa html generation which can be toggled
add a tag that when clicked, toggles a dark mode. It keeps intact
the grayed out dead values/blocks, all the highlight colors, and ensures
text is always readable.
Fixes #34325
Change-Id: I4af1e4b5f4a5b63e54c992e90f8474cc51c63465
Reviewed-on: h... | [
{
"path": "src/cmd/compile/internal/ssa/html.go",
"patch": "@@ -93,7 +93,7 @@ td > h2 {\n td.collapsed {\n font-size: 12px;\n width: 12px;\n- border: 0px;\n+ border: 1px solid white;\n padding: 0;\n cursor: pointer;\n background: #fafafa;\n@@ -247,18 +247,61 @@ svg {\n outline:... | 2020-02-20T16:07:48 |
ggml-org/llama.cpp | 3cb203c89f60483e349f841684173446ed23c28f | 2e42be42bd6bf1dcc643d6ac4e77419bfe5dd24f | llama-chat : Do not throw when tool parsing fails (#14012)
Currently when a model generates output which looks like a tool call,
but is invalid an exception is thrown and not handled, causing the cli
or llama-server to bail. Instead, handle the chat parser exception and
simply return the generated text in such cases.
... | [
{
"path": "common/chat-parser.cpp",
"patch": "@@ -49,6 +49,7 @@ bool common_chat_msg_parser::add_tool_call(const std::string & name, const std::\n \n // LOG_DBG(\"Tool call arguments:\\n\\traw: %s\\n\\tresult: %s\\n\", arguments.c_str(), tool_call.arguments.c_str());\n result_.tool_calls.emplace_bac... | 2025-06-14T16:25:15 |
huggingface/transformers | d6e5b02ef3e0bc207b174860202a6847f86c0b57 | 7cc6f822a30e65e4f639d9e48f389cbf526da2c6 | Add CLIP resources (#26534)
* docs: feat: model resources for CLIP
* fix: resolve suggestion
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
* fix: resolve suggestion
* fix: resolve suggestion
* fix: resolve suggestion
Co-authored-by: Steven Liu <59462357+stevhliu@users.norepl... | [
{
"path": "docs/source/en/model_doc/clip.md",
"patch": "@@ -83,9 +83,23 @@ This model was contributed by [valhalla](https://huggingface.co/valhalla). The o\n \n A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with CLIP.\n \n-- A blog post on [How to fine-tun... | 2023-10-13T18:12:59 |
vuejs/vue | 4c4a2ab65f6dde0802c7d0ee7fd3200c45316488 | e733e5cee8585fdf4a0c0e5e77e7816befa24ad4 | trigger event after reassigned state - Fix #5191 (#5233) | [
{
"path": "src/core/observer/scheduler.js",
"patch": "@@ -69,10 +69,14 @@ function flushSchedulerQueue () {\n }\n }\n \n+ // reset scheduler before updated hook called\n+ const oldQueue = queue.slice()\n+ resetSchedulerState()\n+\n // call updated hooks\n- index = queue.length\n+ index = oldQue... | 2017-03-21T07:20:57 |
nodejs/node | 8d7f07f3799d5b4ec541eb606e785d7ce17e82d0 | 55f9c85a0511adbb110e1521015244d8686c548b | child_process: promisify includes stdio in error
This converts the initial implementation of a promised exec that used
the customPromisifyArgs support in util.promisify with a custom
implementation. This is because exec and execFile, when there is an
error, still supply the stdout and stderr of the process, and yet
th... | [
{
"path": "doc/api/child_process.md",
"patch": "@@ -215,7 +215,9 @@ child runs longer than `timeout` milliseconds.\n replace the existing process and uses a shell to execute the command.\n \n If this method is invoked as its [`util.promisify()`][]ed version, it returns\n-a Promise for an object with `stdout... | 2017-06-02T08:46:46 |
golang/go | 95f382139043059a2a0780ba577b53893408f7e4 | 91bc75b4870308b668d497ff22eada75219c3c2e | cmd/go, cmd/link: implement -buildmode=pie on windows
This CL implements windows version of -buildmode=pie code in both
cmd/go and cmd/link.
Windows executables built with -buildmode=pie set (unlike the one
built with -buildmode=exe) will have extra .reloc PE section, and
will have no IMAGE_FILE_RELOCS_STRIPPED flag ... | [
{
"path": "src/cmd/dist/test.go",
"patch": "@@ -941,6 +941,8 @@ func (t *tester) internalLinkPIE() bool {\n \tcase \"linux-amd64\", \"linux-arm64\",\n \t\t\"android-arm64\":\n \t\treturn true\n+\tcase \"windows-amd64\", \"windows-386\", \"windows-arm\":\n+\t\treturn true\n \t}\n \treturn false\n }\n@@ -997,... | 2020-02-25T07:42:24 |
ggml-org/llama.cpp | 2e42be42bd6bf1dcc643d6ac4e77419bfe5dd24f | fb85a288d72abbd5e5daa8de96e6f8bfa7b5ab46 | compare-llama-bench: add option to plot (#14169)
* compare llama-bench: add option to plot
* Address review comments: convert case + add type hints
* Add matplotlib to requirements
* fix tests
* Improve comment and fix assert condition for test
* Add back default test_name, add --plot_log_scale
* use log_scale r... | [
{
"path": "requirements/requirements-compare-llama-bench.txt",
"patch": "@@ -1,2 +1,3 @@\n tabulate~=0.9.0\n GitPython~=3.1.43\n+matplotlib~=3.10.0",
"additions": 1,
"deletions": 0,
"language": "Plain Text"
},
{
"path": "scripts/compare-llama-bench.py",
"patch": "@@ -19,6 +19,7 @@\n ... | 2025-06-14T08:34:20 |
vuejs/vue | e733e5cee8585fdf4a0c0e5e77e7816befa24ad4 | 84856a3a767084fa5b93a85ea5e75720f84d370e | fix SSR v-show render. (#5224)
* fix SSR v-show bug. v-show info needs to be merged from parent to child component
* improve variable name
* update test case
* update test case | [
{
"path": "src/server/render.js",
"patch": "@@ -144,6 +144,22 @@ function hasAncestorData (node: VNode) {\n return parentNode && (parentNode.data || hasAncestorData(parentNode))\n }\n \n+function getVShowDirectiveInfo (node: VNode): ?VNodeDirective {\n+ let dir: VNodeDirective\n+ let tmp\n+\n+ while (n... | 2017-03-21T01:50:26 |
huggingface/transformers | 7cc6f822a30e65e4f639d9e48f389cbf526da2c6 | 8e05ad326b82801dacb56ff39aedba4165c47df8 | [`Flava`] Fix flava doc (#26789)
* fix flava doctest
* add shape
* adapt | [
{
"path": "src/transformers/models/flava/modeling_flava.py",
"patch": "@@ -1371,8 +1371,19 @@ def forward(\n >>> inputs = processor(text=[\"a photo of a cat\"], images=image, return_tensors=\"pt\", padding=True)\n \n >>> outputs = model(**inputs)\n- >>> logits_per_image = outputs.cont... | 2023-10-13T16:38:36 |
nodejs/node | 27de36926bc8c4c6937a371257039cf17f16fb0e | c4a61b3ee55988b59888e96fae63dba60662bb98 | dns: add resolveAny support
`dns.resolveAny` and `dns.resolve` with `"ANY"` has the similar behavior
like `$ dig <domain> any` and returns an array with several types of
records.
`dns.resolveAny` parses the result packet by several rules in turn.
Supported types:
* A
* AAAA
* CNAME
* MX
* NAPTR
* NS
* PTR
* SOA
* S... | [
{
"path": "doc/api/dns.md",
"patch": "@@ -197,6 +197,7 @@ records. The type and structure of individual results varies based on `rrtype`:\n | `'SOA'` | start of authority records | {Object} | [`dns.resolveSoa()`][] |\n | `'SRV'` | service records | {Object} | [`dns.resolveSrv(... | 2017-05-21T10:02:33 |
golang/go | 91bc75b4870308b668d497ff22eada75219c3c2e | 2172b229b95f483324825806f692303a0a132762 | time: optimize Time.ISOWeek
name old time/op new time/op delta
ISOWeek-4 57.7ns ± 5% 27.9ns ±10% -51.54% (p=0.000 n=48+49)
Fixes #37534
Change-Id: Ic4673ced44a4b0190018e87207743ed9500fb1e0
GitHub-Last-Rev: a376c57e83a99f8e8fde297335caa85215e7aead
GitHub-Pull-Request: golang/go#36316
Reviewed-on: https://... | [
{
"path": "src/time/time.go",
"patch": "@@ -535,58 +535,26 @@ func absWeekday(abs uint64) Weekday {\n // week 52 or 53 of year n-1, and Dec 29 to Dec 31 might belong to week 1\n // of year n+1.\n func (t Time) ISOWeek() (year, week int) {\n-\tyear, month, day, yday := t.date(true)\n-\twday := int(t.Weekday(... | 2020-03-01T02:32:32 |
ggml-org/llama.cpp | fb85a288d72abbd5e5daa8de96e6f8bfa7b5ab46 | 40643edb86eb10b471b0f57d4f3f7eb0e06a0df7 | vocab : fix build (#14175)
ggml-ci | [
{
"path": "src/llama-vocab.cpp",
"patch": "@@ -9,17 +9,16 @@\n \n #include <algorithm>\n #include <cassert>\n+#include <cctype>\n #include <cfloat>\n-#include <climits>\n #include <cstdarg>\n #include <cstring>\n #include <forward_list>\n+#include <limits>\n #include <map>\n #include <queue>\n #include <set... | 2025-06-13T17:03:05 |
vuejs/vue | 59a372229b014de8cd610973f9428da63e2d72cc | 26f196780cf4846522dd48db512389c8840f8366 | also catch error in data() (close #5198) | [
{
"path": "src/core/instance/state.js",
"patch": "@@ -7,18 +7,19 @@ import {\n set,\n del,\n observe,\n- defineReactive,\n- observerState\n+ observerState,\n+ defineReactive\n } from '../observer/index'\n \n import {\n warn,\n+ bind,\n+ noop,\n hasOwn,\n isReserved,\n- isPlainObject,\n- ... | 2017-03-17T03:46:37 |
huggingface/transformers | 8e05ad326b82801dacb56ff39aedba4165c47df8 | 762af3e3c7b2151adde24971fcaaf310b4d39027 | Fixed KeyError for Mistral (#26682)
* Fixed KeyError for Mistral
* Removed try block
* Removed whitespace | [
{
"path": "src/transformers/models/mistral/convert_mistral_weights_to_hf.py",
"patch": "@@ -89,7 +89,7 @@ def write_model(model_path, input_base_path, model_size, tokenizer_path=None, sa\n num_shards = NUM_SHARDS[model_size]\n \n # For some reason this is a string in the params.json\n- sliding_wi... | 2023-10-13T15:20:26 |
nodejs/node | c4a61b3ee55988b59888e96fae63dba60662bb98 | 01f4d9af5e100da22c2d6fc22e06033bfd32f7f9 | src: check whether inspector is doing io
Inspector start means that it exists, but doesn't mean it is listening
on a port, that only happens if it is doing I/O (i.e. has an io object).
PR-URL: https://github.com/nodejs/node/pull/13504
Fixes: https://github.com/nodejs/node/issues/13499
Reviewed-By: Refael Ackermann <r... | [
{
"path": "src/node.cc",
"patch": "@@ -3059,8 +3059,8 @@ static void DebugPortGetter(Local<Name> property,\n #if HAVE_INSPECTOR\n if (port == 0) {\n Environment* env = Environment::GetCurrent(info);\n- if (env->inspector_agent()->IsStarted())\n- port = env->inspector_agent()->io()->port();\n+ ... | 2017-06-06T18:21:22 |
golang/go | 2172b229b95f483324825806f692303a0a132762 | c1abd5ab70e1e8ac59a2960d41fe6d83d68ea69b | runtime/pprof/internal/profile: make error message readable
The error message for an unrecognized type in decodeField was using
string(i) for an int type i. It was recently changed (by me) to
string(rune(i)), but that just avoided a vet warning without fixing
the problem. This CL fixes the problem by using fmt.Errorf... | [
{
"path": "src/runtime/pprof/internal/profile/proto.go",
"patch": "@@ -21,7 +21,10 @@\n \n package profile\n \n-import \"errors\"\n+import (\n+\t\"errors\"\n+\t\"fmt\"\n+)\n \n type buffer struct {\n \tfield int\n@@ -232,7 +235,7 @@ func decodeField(b *buffer, data []byte) ([]byte, error) {\n \t\tb.u64 = ui... | 2020-02-27T19:24:24 |
ggml-org/llama.cpp | 40643edb86eb10b471b0f57d4f3f7eb0e06a0df7 | 3cfbbdb44e08fd19429fed6cc85b982a91f0efd5 | sycl: fix docker image (#14144) | [
{
"path": ".devops/intel.Dockerfile",
"patch": "@@ -49,19 +49,23 @@ COPY --from=build /app/full /app\n \n WORKDIR /app\n \n-RUN apt-get update \\\n- && apt-get install -y \\\n- git \\\n- python3 \\\n- python3-pip \\\n- && pip install --upgrade pip setuptools wheel \\\n- && pip install -r r... | 2025-06-13T16:32:56 |
vuejs/vue | 26f196780cf4846522dd48db512389c8840f8366 | 29445153e37a3bf973ce10594fcc7cced4707686 | always use uid when calling performance.mark (fix #5209) | [
{
"path": "src/core/instance/init.js",
"patch": "@@ -14,14 +14,18 @@ let uid = 0\n \n export function initMixin (Vue: Class<Component>) {\n Vue.prototype._init = function (options?: Object) {\n+ const vm: Component = this\n+ // a uid\n+ vm._uid = uid++\n+\n /* istanbul ignore if */\n+ let ... | 2017-03-17T03:37:17 |
nodejs/node | c28418a9e580ff1f1200c4d682395bb8be884eab | 9991e27ac8f0560fecb507e6ce6e52b1e36dcdd0 | doc: fix out of date sections in n-api doc
PR-URL: https://github.com/nodejs/node/pull/13508
Fixes: https://github.com/nodejs/node/issues/13469
Fixes: https://github.com/nodejs/node/issues/13458
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jason Ginchereau ... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -1560,25 +1560,6 @@ is passed in it returns `napi_number_expected`.\n This API returns the C int64 primitive equivalent of the given\n JavaScript Number\n \n-#### *napi_get_value_string_length*\n-<!-- YAML\n-added: v8.0.0\n--->\n-```C\n-napi_status napi_get_value_s... | 2017-06-06T19:27:16 |
vuejs/vue | 45e273fa02623de480aa8a92f4d002f500d8c09d | d185dd294c99fc01fd6521201f3362ba41e75060 | fix perf measure regression for nested components of the same name (fix #5181) | [
{
"path": "src/core/instance/init.js",
"patch": "@@ -16,7 +16,7 @@ export function initMixin (Vue: Class<Component>) {\n Vue.prototype._init = function (options?: Object) {\n /* istanbul ignore if */\n if (process.env.NODE_ENV !== 'production' && config.performance && mark) {\n- mark('init')\... | 2017-03-13T15:06:03 |
ggml-org/llama.cpp | 80709b70a2f87c13ccaf1480b799393109996789 | 26ff3685bfbaa4c8838d7afd988b17dd5eb99f92 | batch : add LLAMA_BATCH_DEBUG environment variable (#14172)
* batch : add LLAMA_BATCH_DEBUG environment variable
ggml-ci
* cont : improve seq_id display | [
{
"path": "src/llama-batch.cpp",
"patch": "@@ -7,6 +7,7 @@\n #include <cassert>\n #include <cstring>\n #include <algorithm>\n+#include <sstream>\n \n llama_ubatch llama_sbatch::reserve_ubatch(size_t n_ubatch, bool has_embd) {\n // clear empty sequences\n@@ -283,7 +284,10 @@ llama_sbatch::llama_sbatch(co... | 2025-06-13T15:35:00 |
golang/go | 33e98326a25d54cef19e94ca73c45eaed8847f56 | 2962c96c9f24b685c86133cdd7612026827278d8 | net/textproto: pass missing argument to fmt.Sprintf
The vet tool didn't catch this because the fmt.Sprintf format argument
was written as an expression.
Fixes #37467
Change-Id: I72c20ba45e3f42c195fa5e68adcdb9837c7d7ad5
Reviewed-on: https://go-review.googlesource.com/c/go/+/221297
Run-TryBot: Ian Lance Taylor <iant@g... | [
{
"path": "src/net/textproto/reader.go",
"patch": "@@ -557,7 +557,7 @@ func noValidation(_ []byte) error { return nil }\n // contain a colon.\n func mustHaveFieldNameColon(line []byte) error {\n \tif bytes.IndexByte(line, ':') < 0 {\n-\t\treturn ProtocolError(fmt.Sprintf(\"malformed MIME header: missing col... | 2020-02-27T02:34:25 |
vuejs/vue | c6ab2e06d418d171cda27bedf6864cffdaa7cac0 | 025e76312409b5e29f2023847b68ab03ce070625 | warn when template contains text outside root element (#5164)
* warn when template contains text outside root element
* fix warned flag
* make warn once a function | [
{
"path": "src/compiler/parser/index.js",
"patch": "@@ -63,6 +63,13 @@ export function parse (\n let inPre = false\n let warned = false\n \n+ function warnOnce (msg) {\n+ if (!warned) {\n+ warned = true\n+ warn(msg)\n+ }\n+ }\n+\n function endPre (element) {\n // check pre state\... | 2017-03-13T07:42:46 |
huggingface/transformers | 762af3e3c7b2151adde24971fcaaf310b4d39027 | bdb391e9c638800aad6c98bae3436d22c5e7f090 | Add OWLv2, bis (#26668)
* First draft
* Update conversion script
* Update copied from statements
* Fix style
* Add copied from to config
* Add copied from to processor
* Run make fixup
* Add docstring
* Update docstrings
* Add method
* Improve docstrings
* Fix docstrings
* Improve d... | [
{
"path": "README.md",
"patch": "@@ -433,6 +433,7 @@ Current number of checkpoints: ** (from [s-JoL](https://huggingface.co/s-JoL)) released in [Open-Llama](https://github.com/s... | 2023-10-13T14:41:24 |
ggml-org/llama.cpp | ffad04397399ea1650fda6560c7c753059804876 | 0889eba570126f8a2f5a0e88fde776bbc91cca66 | server : fix SWA condition for full context reprocess (#14163)
ggml-ci | [
{
"path": "tools/server/server.cpp",
"patch": "@@ -3217,7 +3217,7 @@ struct server_context {\n }\n \n const auto n_swa = llama_model_n_swa(model);\n- if (pos_min > slot.n_past - n_swa) {\n+ ... | 2025-06-13T08:18:25 |
nodejs/node | 9991e27ac8f0560fecb507e6ce6e52b1e36dcdd0 | 8208fdae2be11ff3c1126dc669ca63b6d08b0cb1 | inspector: fix crash on exception
Fixes: https://github.com/nodejs/node/issues/13438
PR-URL: https://github.com/nodejs/node/pull/13455
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmai... | [
{
"path": "src/inspector_agent.cc",
"patch": "@@ -371,7 +371,9 @@ void CallAndPauseOnStart(\n v8::MaybeLocal<v8::Value> retval =\n args[0].As<v8::Function>()->Call(env->context(), args[1],\n call_args.size(), call_args.data());\n- args.GetReturnValue().Set(ret... | 2017-06-04T17:15:27 |
golang/go | d889f0cb1090a043786157f059c29269065626f4 | 5756808ce8eb6f6af99aa8d3e5a125ce7d1b8544 | cmd/compile: use correct types in phiopt
We try to preserve type correctness of generic ops.
phiopt modified a bool to be an int without a conversion.
Add a conversion. There are a few random fluctations in the
generated code as a result, but nothing noteworthy or systematic.
no binary size changes
file ... | [
{
"path": "src/cmd/compile/internal/ssa/gen/386.rules",
"patch": "@@ -92,6 +92,8 @@\n (Round32F ...) -> (Copy ...)\n (Round64F ...) -> (Copy ...)\n \n+(CvtBoolToUint8 ...) -> (Copy ...)\n+\n // Lowering shifts\n // Unsigned shifts need to return 0 if shift amount is >= width of shifted value.\n // result ... | 2020-02-29T01:04:16 |
vuejs/vue | 4d227b98d054aa64d361b957d8c4cdeaea18031a | a6e1ae0aac4ebf2c22d39cf6fe2d28623a373de1 | turn off perf timeline measuring by default + reduce its impact on dev time perf (fix #5174) | [
{
"path": "src/core/config.js",
"patch": "@@ -48,7 +48,7 @@ const config: Config = {\n /**\n * Whether to record perf\n */\n- performance: process.env.NODE_ENV !== 'production',\n+ performance: false,\n \n /**\n * Error handler for watcher errors",
"additions": 1,
"deletions": 1,
... | 2017-03-13T07:37:57 |
huggingface/transformers | bdb391e9c638800aad6c98bae3436d22c5e7f090 | c9785d956bb686e06be4c1af3a98dc4c1b9e89ee | Fix Falcon generation test (#26770) | [
{
"path": "tests/models/falcon/test_modeling_falcon.py",
"patch": "@@ -521,13 +521,11 @@ def test_batched_generation(self):\n test_text = \"A sequence: 1, 2\" # should generate the rest of the sequence\n \n unpadded_inputs = tokenizer([test_text], return_tensors=\"pt\").to(\"cuda:0\")\n- ... | 2023-10-13T14:10:27 |
ggml-org/llama.cpp | c61285e7396c8e526fe7794c19e8d4f1c99bfc51 | 09cf2c7c655c90e53e100f29b830a788bab0653d | SYCL: Bump oneMath commit (#14152)
Update oneMath commit to merged PR https://github.com/uxlfoundation/oneMath/pull/669
which adds SYCL-Graph support for recording CUDA BLAS commands.
With this change the `MUL_MAT` tests now pass on DPC++ CUDA backends with SYCL-Graph
enabled. Prior to this change, an error would be ... | [
{
"path": "ggml/src/ggml-sycl/CMakeLists.txt",
"patch": "@@ -142,7 +142,7 @@ else()\n FetchContent_Declare(\n ONEMATH\n GIT_REPOSITORY https://github.com/uxlfoundation/oneMath.git\n- GIT_TAG c255b1b4c41e2ee3059455c1f96a965d6a62568a\n+ GIT_TAG 8efe85f5aae... | 2025-06-13T07:45:37 |
nodejs/node | 02aea0690deaa1a79fe8f5c7c8b8119a45347a4d | 7fbeebac9679f16b20e2fa9933e1c71410afe30f | async_hooks: minor refactor to callback invocation
Re-use the `init` function wherever possible, and move
`try { … } catch` blocks that result in fatal errors to a larger
scope.
Also make the argument order for `init()` consistent in the codebase.
PR-URL: https://github.com/nodejs/node/pull/13419
Reviewed-By: Trevor... | [
{
"path": "lib/async_hooks.js",
"patch": "@@ -214,17 +214,7 @@ class AsyncResource {\n if (async_hook_fields[kInit] === 0)\n return;\n \n- processing_hook = true;\n- for (var i = 0; i < active_hooks_array.length; i++) {\n- if (typeof active_hooks_array[i][init_symbol] === 'function') {\... | 2017-06-02T22:08:23 |
vuejs/vue | a6e1ae0aac4ebf2c22d39cf6fe2d28623a373de1 | e7dfcc334d6f6513d2ed1cddfa28a08796e07df7 | v-bind object should have lower priority than explicit bindings (fix #5150) | [
{
"path": "src/core/instance/render-helpers/bind-object-props.js",
"patch": "@@ -22,14 +22,17 @@ export function bindObjectProps (\n if (Array.isArray(value)) {\n value = toObject(value)\n }\n+ let hash\n for (const key in value) {\n if (key === 'class' || key === 'sty... | 2017-03-10T08:04:43 |
golang/go | 5756808ce8eb6f6af99aa8d3e5a125ce7d1b8544 | e48a83f077e47bd015d4b57e63e9b6fb5e77dc8b | runtime: do not exit(2) if a Go built DLL receives a signal
Fixes #35965
Change-Id: I172501fc0b29595e59b058f6e30f31efe5f6d1f9
Reviewed-on: https://go-review.googlesource.com/c/go/+/211139
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.br... | [
{
"path": "src/runtime/os_windows.go",
"patch": "@@ -1031,7 +1031,11 @@ func ctrlhandler1(_type uint32) uint32 {\n \tif sigsend(s) {\n \t\treturn 1\n \t}\n-\texit(2) // SIGINT, SIGTERM, etc\n+\tif !islibrary && !isarchive {\n+\t\t// Only exit the program if we don't have a DLL.\n+\t\t// See https://golang.o... | 2019-12-13T00:03:04 |
huggingface/transformers | 6df9179c1c5b19674ce0a4b82d311ef833c02447 | 5bfda28dd36b47912da1cdd0e2e83ab32c7408e4 | [`core`] Fix fa-2 import (#26785)
* fix fa-2 import
* nit | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -70,7 +70,7 @@\n is_accelerate_available,\n is_auto_gptq_available,\n is_bitsandbytes_available,\n- is_flash_attn_available,\n+ is_flash_attn_2_available,\n is_offline_mode,\n is_optimum_available,\n is_peft_available... | 2023-10-13T10:56:50 |
rust-lang/rust | ad2be68b490180012d7775a2ae3e0fd8e9cabda4 | 2e0595bc695054445c544f916ee5d2d5dbaebe8b | Make globals always have 2+ chars as suffix
As discussed on chat, there currently is the bug where certain suffixes are interpreted by the (m68k) assembler.
Example: `move.l #global.w,-44(%fp)`
`.w` is interpreted by the assembler as a size hint for `#global`. | [
{
"path": "src/context.rs",
"patch": "@@ -606,7 +606,10 @@ impl<'b, 'tcx> CodegenCx<'b, 'tcx> {\n let mut name = String::with_capacity(prefix.len() + 6);\n name.push_str(prefix);\n name.push('.');\n- name.push_str(&(idx as u64).to_base(ALPHANUMERIC_ONLY));\n+ // Offset ... | 2025-01-27T18:05:14 |
nodejs/node | 7fbeebac9679f16b20e2fa9933e1c71410afe30f | 6318078d2cb9980c4dc218d7fbe658cb77454165 | test: refactor test-fs-read-*
* Use `common.mustNotCall()` in place of `common.noop` where appropriate
* Increase specificity of regular expressions (that is, make them match
the whole error string rather than part of the error string) in
`assert.throws()` calls
PR-URL: https://github.com/nodejs/node/pull/13501
R... | [
{
"path": "test/parallel/test-fs-read-file-assert-encoding.js",
"patch": "@@ -8,6 +8,6 @@ const encoding = 'foo-8';\n const filename = 'bar.txt';\n \n assert.throws(\n- fs.readFile.bind(fs, filename, { encoding }, common.noop),\n- new RegExp(`Error: Unknown encoding: ${encoding}$`)\n+ fs.readFile.bind(fs... | 2017-06-06T16:53:32 |
vuejs/vue | e7dfcc334d6f6513d2ed1cddfa28a08796e07df7 | 0b964c844034d12e20b367df4263f22b77ce93a8 | fix custom directive arg fall through (fix #5162) | [
{
"path": "src/compiler/parser/index.js",
"patch": "@@ -427,7 +427,7 @@ function processComponent (el) {\n \n function processAttrs (el) {\n const list = el.attrsList\n- let i, l, name, rawName, value, arg, modifiers, isProp\n+ let i, l, name, rawName, value, modifiers, isProp\n for (i = 0, l = list.l... | 2017-03-10T07:55:31 |
golang/go | 618126b9895db7f29a861caa4e330d149858ff56 | 964fac3ee74fe4df5423dad18f78322d88aae84a | cmd/go: avoid matching wildcards rooted outside of available modules
To avoid confusion, also distinguish between packages and dirs in
search.Match results.
No test because this is technically only a performance optimization:
it would be very difficult to write such a test so that it would not
be flaky. (However, tes... | [
{
"path": "src/cmd/go/internal/get/get.go",
"patch": "@@ -286,11 +286,12 @@ func download(arg string, parent *load.Package, stk *load.ImportStack, mode int)\n \t\tif wildcardOkay && strings.Contains(arg, \"...\") {\n \t\t\tmatch := search.NewMatch(arg)\n \t\t\tif match.IsLocal() {\n-\t\t\t\tmatch.MatchPacka... | 2020-02-28T20:03:54 |
huggingface/transformers | 5bfda28dd36b47912da1cdd0e2e83ab32c7408e4 | 288bf5c1d2844e89a2a87aeee90033532335e2e6 | [docstring] fix docstring `DPRConfig` (#26674)
* fix docstring dpr config
* fix style
* Update descp
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
---------
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/models/dpr/configuration_dpr.py",
"patch": "@@ -83,6 +83,8 @@ class DPRConfig(PretrainedConfig):\n The standard deviation of the truncated_normal_initializer for initializing all weight matrices.\n layer_norm_eps (`float`, *optional*, defaults to 1e-12):\n ... | 2023-10-13T10:13:43 |
rust-lang/rust | c75e601543ebefb14796041a521b7a5c2ae917de | 7f36543a48e52912ac6664a70c0a5b9d86509eaf | Highlight clarifying information in "expected/found" error
When the expected and found types have the same textual representation, we add clarifying in parentheses. We now visually highlight it in the output.
Detect a corner case where the clarifying information would be the same for both types and skip it, as it doe... | [
{
"path": "compiler/rustc_errors/src/diagnostic.rs",
"patch": "@@ -641,7 +641,14 @@ impl<'a, G: EmissionGuarantee> Diag<'a, G> {\n found_label: &dyn fmt::Display,\n found: DiagStyledString,\n ) -> &mut Self {\n- self.note_expected_found_extra(expected_label, expected, found_label,... | 2025-02-02T01:04:21 |
vuejs/vue | 4964b253d0dac29578458b8f1fd9dced4828be0c | f9706dc288c33db168e91dc1f61310ede4a5ee66 | fix wrong order of generate modifier code (#5147)
* fix wrong order of generate modifier code
* add unit test of #5146
* Update events.js | [
{
"path": "src/compiler/codegen/events.js",
"patch": "@@ -63,10 +63,11 @@ function genHandler (\n : `function($event){${handler.value}}` // inline statement\n } else {\n let code = ''\n+ let genModifierCode = ''\n const keys = []\n for (const key in handler.modifiers) {\n if (mo... | 2017-03-10T01:42:14 |
nodejs/node | d0571a926adbed4cc4e8be4329464f3c639ac929 | d958bf88b81aeae9262b2221b6233b7201116713 | https: support rejectUnauthorized for unix sockets
This commit allows self signed certificates to work with
unix sockets by forwarding the rejectUnauthorized option.
Fixes: https://github.com/nodejs/node/issues/13470
PR-URL: https://github.com/nodejs/node/pull/13505
Reviewed-By: Refael Ackermann <refack@gmail.com>
Re... | [
{
"path": "lib/_http_client.js",
"patch": "@@ -247,7 +247,8 @@ function ClientRequest(options, cb) {\n this.shouldKeepAlive = false;\n var optionsPath = {\n path: this.socketPath,\n- timeout: this.timeout\n+ timeout: this.timeout,\n+ rejectUnauthorized: !!options.rejectUnauthori... | 2017-06-06T19:06:45 |
huggingface/transformers | 288bf5c1d2844e89a2a87aeee90033532335e2e6 | d085662c596066bad82942b1e15819f675cbd15e | Fix num. of minimal calls to the Hub with peft for pipeline (#26385)
* fix
* [skip-ci] fix
* [skip-ci] fix
* [skip-ci] fix
* [skip-ci] fix
* fix
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/pipelines/__init__.py",
"patch": "@@ -33,7 +33,10 @@\n from ..models.auto.tokenization_auto import TOKENIZER_MAPPING, AutoTokenizer\n from ..tokenization_utils import PreTrainedTokenizer\n from ..utils import (\n+ CONFIG_NAME,\n HUGGINGFACE_CO_RESOLVE_ENDPOINT,\n+ cache... | 2023-10-13T09:03:14 |
golang/go | 964fac3ee74fe4df5423dad18f78322d88aae84a | 5a61de3fe160cc8b327ee893cd74c4d0ce9dc13d | doc: update Effective Go with 1.14 language changes
Fixes #37560
Change-Id: Iccb8e53254c45d203c1b42ea9b4d8509b93dd7a9
GitHub-Last-Rev: 5972b67e5d7b3b36ce1854ee9365197e78f654cd
GitHub-Pull-Request: golang/go#37563
Reviewed-on: https://go-review.googlesource.com/c/go/+/221429
Reviewed-by: Rob Pike <r@golang.org> | [
{
"path": "doc/effective_go.html",
"patch": "@@ -2695,8 +2695,7 @@ <h2 id=\"embedding\">Embedding</h2>\n <p>\n This says just what it looks like: A <code>ReadWriter</code> can do\n what a <code>Reader</code> does <em>and</em> what a <code>Writer</code>\n-does; it is a union of the embedded interfaces (which... | 2020-02-28T20:15:02 |
rust-lang/rust | 199ef412c5ab80f4b1b5316de70b8f1e721c9648 | 7f36543a48e52912ac6664a70c0a5b9d86509eaf | test compile time fixes | [
{
"path": "compiler/rustc_codegen_ssa/src/back/write.rs",
"patch": "@@ -403,7 +403,7 @@ fn generate_lto_work<B: ExtraBackendMethods>(\n assert!(needs_thin_lto.is_empty());\n let mut module =\n B::run_fat_lto(cgcx, needs_fat_lto, import_only_modules).unwrap_or_else(|e| e.raise());... | 2025-02-02T01:27:14 |
vuejs/vue | f9706dc288c33db168e91dc1f61310ede4a5ee66 | 8fca83d6b6e5b74a507c0b631ed5c09a36131ab1 | fix v-on unit test (#5144) | [
{
"path": "test/unit/features/directives/on.spec.js",
"patch": "@@ -1,11 +1,10 @@\n import Vue from 'vue'\n \n describe('Directive v-on', () => {\n- let vm, spy, spy2, el\n+ let vm, spy, el\n \n beforeEach(() => {\n spy = jasmine.createSpy()\n- spy2 = jasmine.createSpy()\n el = document.creat... | 2017-03-10T01:40:04 |
huggingface/transformers | d085662c596066bad82942b1e15819f675cbd15e | 21da3b246136f2ef652ce8b7ec9d45630675689d | [docstring] Fix docstring for `RwkvConfig` (#26782)
* update check_docstrings
* update docstring | [
{
"path": "src/transformers/models/rwkv/configuration_rwkv.py",
"patch": "@@ -61,15 +61,15 @@ class RwkvConfig(PretrainedConfig):\n Dimensionality of the attention hidden states. Will default to `hidden_size` if unset.\n intermediate_size (`int`, *optional*):\n Dimensionality... | 2023-10-13T08:20:30 |
ggml-org/llama.cpp | f6e1a7aa8787b5c00acba6370cb70a0beff48b1e | c3ee46fab49a765d2e32e171e9ed7a5fa121dd9c | context : simplify output counting logic during decode (#14142)
* batch : remove logits_all flag
ggml-ci
* context : simplify output counting logic during decode
ggml-ci
* cont : fix comments | [
{
"path": "src/llama-batch.cpp",
"patch": "@@ -306,9 +306,10 @@ llama_batch_allocr::llama_batch_allocr(struct llama_batch in_batch, llama_pos p0\n batch.seq_id = seq_id.data();\n }\n if (!batch.logits) {\n- logits.resize(batch.n_tokens);\n- logits[logits.size() - 1] = true;\n- ... | 2025-06-12T08:50:01 |
nodejs/node | 597ba1580a1942aff78b79f613ed272b7e92ce02 | d7f69192283b8483cd2a503ad0d3708ea85ee69c | doc: corrects reference to tlsClientError
After the renaming of `clientError` in TLS to `tlsClientError` in
https://github.com/nodejs/node/commit/1ab6b21360d97719b3101153fb164c0c3eddf08,
the docs inconsistently referred the error as `clientError`, which is now
corrected.
Fixes: https://github.com/nodejs/node/issues/1... | [
{
"path": "doc/api/tls.md",
"patch": "@@ -1025,8 +1025,8 @@ changes:\n * `options` {Object}\n * `handshakeTimeout` {number} Abort the connection if the SSL/TLS handshake\n does not finish in the specified number of milliseconds. Defaults to `120`\n- seconds. A `'clientError'` is emitted on the `tls... | 2017-06-07T21:30:35 |
rust-lang/rust | 9ebbba4ad92ad800d5029fdae34f53aa1e57df5a | 7f36543a48e52912ac6664a70c0a5b9d86509eaf | Shorten error message for callable with wrong return type
```
error: expected `{closure@...}` to return `Ret`, but it returns `Other`
```
instead of
```
error: expected `{closure@...}` to be a closure that returns `Ret`, but it returns `Other`
``` | [
{
"path": "compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs",
"patch": "@@ -1518,7 +1518,6 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {\n \n with_forced_trimmed_paths! {\n if self.tcx.is_lang_item(projection_term.def_id, LangItem::FnOnceOutput) {\n- ... | 2025-02-02T01:00:12 |
vuejs/vue | 8fca83d6b6e5b74a507c0b631ed5c09a36131ab1 | 82bc8b7429d58efd517d1b064fbbf78eb888d85d | fix #5121: parse content in textarea as plaintext (#5143)
* fix #5121: parse content in textarea as plaintext
* update comment | [
{
"path": "src/compiler/parser/html-parser.js",
"patch": "@@ -46,7 +46,7 @@ let IS_REGEX_CAPTURING_BROKEN = false\n })\n \n // Special Elements (can contain anything)\n-const isScriptOrStyle = makeMap('script,style', true)\n+const isPlainTextElement = makeMap('script,style,textarea', true)\n const reCache =... | 2017-03-10T01:39:38 |
golang/go | 5a61de3fe160cc8b327ee893cd74c4d0ce9dc13d | d11e1f92fc578c5d2e604acfe9ea60d7afb84a0c | cmd/go: rationalize errors in internal/load and internal/modload
This change is a non-minimal fix for #32917, but incidentally fixes
several other bugs and makes the error messages much more ergonomic.
Updates #32917
Updates #27122
Updates #28459
Updates #29280
Updates #30590
Updates #37214
Updates #36173
Updates #36... | [
{
"path": "src/cmd/go/internal/clean/clean.go",
"patch": "@@ -232,7 +232,7 @@ func clean(p *load.Package) {\n \tcleaned[p] = true\n \n \tif p.Dir == \"\" {\n-\t\tbase.Errorf(\"can't load package: %v\", p.Error)\n+\t\tbase.Errorf(\"%v\", p.Error)\n \t\treturn\n \t}\n \tdirs, err := ioutil.ReadDir(p.Dir)",
... | 2019-07-08T22:13:23 |
huggingface/transformers | 21da3b246136f2ef652ce8b7ec9d45630675689d | 7790943c91411f4234d11dfbf4c2f21ce7caf088 | Update expect outputs of `IdeficsProcessorTest.test_tokenizer_padding` (#26779)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/idefics/test_processor_idefics.py",
"patch": "@@ -148,10 +148,9 @@ def test_tokenizer_padding(self):\n processor = IdeficsProcessor(tokenizer=tokenizer, image_processor=image_processor)\n \n predicted_tokens = [\n- \"<s>Describe this image.\\nAssistant:<unk... | 2023-10-13T07:52:10 |
ggml-org/llama.cpp | e2c0b6e46a5596665569ae765f0993cea2619af6 | 9596506965f65be5d802ecef6a315fe43d2391a8 | cmake : handle whitepsaces in path during metal build (#14126)
* cmake : handle whitepsaces in path during metal build
ggml-ci
* cont : proper fix
ggml-ci
---------
Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com> | [
{
"path": "ggml/src/ggml-metal/CMakeLists.txt",
"patch": "@@ -44,21 +44,22 @@ if (GGML_METAL_EMBED_LIBRARY)\n set(METALLIB_SOURCE_EMBED_TMP \"${CMAKE_BINARY_DIR}/autogenerated/ggml-metal-embed.metal.tmp\")\n \n add_custom_command(\n- OUTPUT ${METALLIB_EMBED_ASM}\n+ OUTPUT \"${METALLIB_... | 2025-06-12T07:14:24 |
nodejs/node | d7f69192283b8483cd2a503ad0d3708ea85ee69c | f38302d92e7a80bbf2f53f48dac09b910dba391e | 2017-05-07, Version 8.1.0 (Current)
* **Async Hooks**
* When one `Promise` leads to the creation of a new `Promise`, the parent
`Promise` will be identified as the trigger
[[`135f4e6643`](https://github.com/nodejs/node/commit/135f4e6643)]
[#13367](https://github.com/nodejs/node/pull/13367).
* **Dependenc... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -27,7 +27,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.0.0\">8.0.0</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.1.0\">8.1.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V8.md#8.0.0\">8.0.0</... | 2017-06-05T20:26:03 |
vuejs/vue | e6f89c0e2d950729cbab601afb31032427600c5b | fc6f1810522a4bf8a9959e405274b02d71ec290c | error-detector code style tweak | [
{
"path": "src/compiler/error-detector.js",
"patch": "@@ -2,17 +2,22 @@\n \n import { dirRE, onRE } from './parser/index'\n \n-// operators like typeof, instanceof and in are allowed\n+// these keywords should not appear inside expressions, but operators like\n+// typeof, instanceof and in are allowed\n con... | 2017-03-09T02:27:03 |
rust-lang/rust | 028a920c5310afc918c617e50074348976332a08 | 7f36543a48e52912ac6664a70c0a5b9d86509eaf | Tweak fn pointer suggestion span
Use a more targeted span when suggesting casting an `fn` item to an `fn` pointer.
```
error[E0308]: cannot coerce functions which must be inlined to function pointers
--> $DIR/cast.rs:10:33
|
LL | let _: fn(isize) -> usize = callee;
| ------------------ ^^^^^^... | [
{
"path": "compiler/rustc_trait_selection/src/error_reporting/infer/suggest.rs",
"patch": "@@ -418,15 +418,17 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {\n };\n \n let sugg = match (expected.is_ref(), found.is_ref()) {\n- (true, false) => FunctionPointerSuggestio... | 2025-02-02T00:45:40 |
huggingface/transformers | 7790943c91411f4234d11dfbf4c2f21ce7caf088 | 3e93dd295b5343557a83bc07b0b2ea64c926f9b4 | 🌐 [i18n-KO] Translated `big_models.md` to Korean (#26245)
* docs: ko: big_models.md
* feat: chatgpt draft
* fix: manual edits
* fix: resolve suggestions
Co-Authored-By: SeongWooChoi <46990061+nuatmochoi@users.noreply.github.com>
Co-Authored-By: heuristicwave <31366038+heuristicwave@users.noreply.github.c... | [
{
"path": "docs/source/ko/_toctree.yml",
"patch": "@@ -139,8 +139,8 @@\n title: (번역중) Inference on Specialized Hardware\n - local: perf_hardware\n title: 훈련용 사용자 맞춤형 하드웨어\n- - local: in_translation\n- title: (번역중) Instantiating a big model\n+ - local: big_models\n+ title: 대형 ... | 2023-10-12T22:00:12 |
golang/go | 156c60709e7775a6f1baa9685155b5974fefdea9 | d464c7ce29faa90ef2d35d5072c3e7c07606c525 | cmd/go/internal/search: record errors in the Match struct
Previously, we would either invoke base.Fatalf (which is too aggressive),
or log.Print (which is too passive).
Updates #32917
Change-Id: I5475e873e76948de7df65dca08bc0ce67a7fc827
Reviewed-on: https://go-review.googlesource.com/c/go/+/185344
Run-TryBot: Bryan ... | [
{
"path": "src/cmd/go/internal/get/get.go",
"patch": "@@ -285,10 +285,15 @@ func download(arg string, parent *load.Package, stk *load.ImportStack, mode int)\n \t\t// We delay this until after reloadPackage so that the old entry\n \t\t// for p has been replaced in the package cache.\n \t\tif wildcardOkay && ... | 2019-07-08T22:11:23 |
ggml-org/llama.cpp | 9596506965f65be5d802ecef6a315fe43d2391a8 | a20b2b05bce6622c585459ebf46f142f113d021c | kv-cache : fix split_equal handling in unified implementation (#14130)
ggml-ci | [
{
"path": "src/llama-context.cpp",
"patch": "@@ -877,6 +877,8 @@ int llama_context::encode(llama_batch & inp_batch) {\n memcpy(cross.v_embd.data(), embd, ggml_nbytes(t_embd));\n \n // remember the sequence ids used during the encoding - needed for cross attention later\n+ // TODO: the... | 2025-06-12T07:02:15 |
vuejs/vue | fc6f1810522a4bf8a9959e405274b02d71ec290c | 9d3ceba25148b35838908ef6523e16f0be881b25 | fix weex model test | [
{
"path": "test/weex/compiler/v-model.spec.js",
"patch": "@@ -14,7 +14,7 @@ describe('compile v-model', () => {\n it('should compile other component with whole $event as the value', () => {\n const { render, staticRenderFns, errors } = compile(`<div><foo v-model=\"x\" /></div>`)\n expect(render).n... | 2017-03-08T08:00:35 |
nodejs/node | b4da30f26cf4ca4623f44d221bec2310841f0183 | c20c57028211797b5ff5b3bc05d6eb05ab81ef9f | test: refactor domain tests
* Check that noop callback is or isn't invoked as appropriate using
common.mustCall() and common.mustNotCall()
* Fix typo in array literal
PR-URL: https://github.com/nodejs/node/pull/13480
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Rev... | [
{
"path": "test/parallel/test-domain-crypto.js",
"patch": "@@ -37,9 +37,9 @@ global.domain = require('domain');\n \n // should not throw a 'TypeError: undefined is not a function' exception\n crypto.randomBytes(8);\n-crypto.randomBytes(8, common.noop);\n+crypto.randomBytes(8, common.mustCall());\n const buf... | 2017-06-05T18:22:26 |
huggingface/transformers | 3e93dd295b5343557a83bc07b0b2ea64c926f9b4 | 883ed4b34400758630033f5728e1cd71e30fe566 | Skip `TrainerIntegrationFSDP::test_basic_run_with_cpu_offload` if `torch < 2.1` (#26764)
* fix
* fix
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "src/transformers/pytorch_utils.py",
"patch": "@@ -28,6 +28,7 @@\n \n parsed_torch_version_base = version.parse(version.parse(torch.__version__).base_version)\n \n+is_torch_greater_or_equal_than_2_1 = parsed_torch_version_base >= version.parse(\"2.1\")\n is_torch_greater_or_equal_than_2_0 = parsed... | 2023-10-12T16:22:09 |
ggml-org/llama.cpp | a20b2b05bce6622c585459ebf46f142f113d021c | 2e89f76b7af2c0b827be785e445f2e2b3e52e1ca | context : round n_tokens to next multiple of n_seqs when reserving (#14140)
This fixes RWKV inference which otherwise failed
when the worst case ubatch.n_seq_tokens rounded to 0. | [
{
"path": "src/llama-context.cpp",
"patch": "@@ -1332,7 +1332,7 @@ ggml_cgraph * llama_context::graph_reserve(uint32_t n_tokens, uint32_t n_seqs, u\n LLAMA_LOG_DEBUG(\"%s: reserving a graph for ubatch with n_tokens = %4u, n_seqs = %2u, n_outputs = %4u\\n\", __func__, n_tokens, n_seqs, n_outputs);\n \n ... | 2025-06-12T06:56:04 |
golang/go | d464c7ce29faa90ef2d35d5072c3e7c07606c525 | 719b1ba27822e01cbef0d418d26a321a25948313 | cmd/go/internal/modload: make AmbiguousImportError an ImportPathError
AmbiguousImportErrors will now be formatted like other ImportPathErrors:
this means that now the ambiguously imported package won't be printed
twice. Whereas the error message looked like the following:
can't load package: package example.com/m/im... | [
{
"path": "src/cmd/go/internal/modload/import.go",
"patch": "@@ -62,19 +62,23 @@ func (e *ImportMissingError) ImportPath() string {\n // modules in the build list, or found in both the main module and its vendor\n // directory.\n type AmbiguousImportError struct {\n-\tImportPath string\n+\timportPath string... | 2020-02-27T21:18:56 |
vuejs/vue | 2e1e809467cb7f05173ab81fb4134fcec554c4a7 | 303824ea9c7614167ee6c5bd26c33b35ad6bf474 | fix prevent default unit test (#5127) | [
{
"path": "test/unit/features/directives/on.spec.js",
"patch": "@@ -86,15 +86,14 @@ describe('Directive v-on', () => {\n vm = new Vue({\n el,\n template: `\n- <div @click=\"bar\">\n- <div @click.stop=\"foo\"></div>\n- </div>\n+ <input type=\"checkbox\" ref=\"inp... | 2017-03-08T05:47:39 |
rust-lang/rust | ecb2d5c43dc0f8bed05e23b6d84396457a376d4e | e08cd3cf05e5bfa3323cc21ea8f81f4a15a2f969 | diagnostics: fix borrowck suggestions for if/while let conditionals
This code detects the case where one of the borrows is inside the
let init expr while the other end is not. If that happens, we don't
want to suggest adding a semicolon, because it won't work. | [
{
"path": "compiler/rustc_borrowck/src/diagnostics/explain_borrow.rs",
"patch": "@@ -248,7 +248,98 @@ impl<'tcx> BorrowExplanation<'tcx> {\n );\n err.span_label(body.source_info(drop_loc).span, message);\n \n- if let LocalInfo::BlockTail... | 2025-02-01T21:35:18 |
nodejs/node | c20c57028211797b5ff5b3bc05d6eb05ab81ef9f | 8d2bd5fa88c9ebb9b1416d819b4a29b01c712424 | test: check callback not invoked on lookup error
Use `common.mustNotCall()` to confirm that callback is not invoked when
`dns.lookup()` throws.
PR-URL: https://github.com/nodejs/node/pull/13456
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Refael Ackermann... | [
{
"path": "test/parallel/test-dns-lookup.js",
"patch": "@@ -24,15 +24,15 @@ assert.throws(() => {\n hints: 100,\n family: 0,\n all: false\n- }, common.noop);\n+ }, common.mustNotCall());\n }, /^TypeError: Invalid argument: hints must use valid flags$/);\n \n assert.throws(() => {\n dns.looku... | 2017-06-04T18:19:05 |
huggingface/transformers | 883ed4b34400758630033f5728e1cd71e30fe566 | a243cdca2a593ec5c547d67601d645e569963712 | chore: fix typos (#26756) | [
{
"path": "docs/source/en/main_classes/quantization.md",
"patch": "@@ -20,7 +20,7 @@ rendered properly in your Markdown viewer.\n \n 🤗 Transformers has integrated `optimum` API to perform GPTQ quantization on language models. You can load and quantize your model in 8, 4, 3 or even 2 bits without a big drop... | 2023-10-12T16:00:27 |
ggml-org/llama.cpp | 2e89f76b7af2c0b827be785e445f2e2b3e52e1ca | 532802f938c6a18cc6a704057ab571f253fd77ed | common: fix issue with regex_escape routine on windows (#14133) | [
{
"path": "common/common.cpp",
"patch": "@@ -466,7 +466,7 @@ size_t string_find_partial_stop(const std::string_view & str, const std::string_\n \n std::string regex_escape(const std::string & s) {\n static const std::regex special_chars(\"[.^$|()*+?\\\\[\\\\]{}\\\\\\\\]\");\n- return std::regex_repla... | 2025-06-11T20:19:44 |
vuejs/vue | 303824ea9c7614167ee6c5bd26c33b35ad6bf474 | 41ef650f9db5143a39019f4f56441b24a61c2efc | default slot should use fallback content when it contains all whitespace nodes (fix #5097) | [
{
"path": "src/core/instance/render-helpers/resolve-slots.js",
"patch": "@@ -29,16 +29,17 @@ export function resolveSlots (\n defaultSlot.push(child)\n }\n }\n- // ignore single whitespace\n- if (defaultSlot.length && !(\n- defaultSlot.length === 1 &&\n- (defaultSlot[0].text === ' ' || d... | 2017-03-08T04:28:34 |
rust-lang/rust | 43b729db2f248e3cd6daa113813c5bd2ef43e84f | 01a26c026ddd9f0da0307468b07b003b8759fc4a | Fix two malformed error annotations in a UI test | [
{
"path": "tests/ui/typeck/path-to-method-sugg-unresolved-expr.rs",
"patch": "@@ -5,6 +5,6 @@ fn main() {\n let page_size = page_size::get();\n //~^ ERROR failed to resolve: use of unresolved module or unlinked crate `page_size`\n //~| NOTE use of unresolved module or unlinked crate `page_size`\... | 2025-02-01T21:26:07 |
huggingface/transformers | a243cdca2a593ec5c547d67601d645e569963712 | 33df09e71a6431721113a41a3d66dea3df940ae2 | Fix `PerceiverModelIntegrationTest::test_inference_masked_lm` (#26760)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "tests/models/perceiver/test_modeling_perceiver.py",
"patch": "@@ -888,7 +888,7 @@ def test_inference_masked_lm(self):\n logits = outputs.logits\n \n # verify logits\n- expected_shape = torch.Size((1, tokenizer.model_max_length, tokenizer.vocab_size))\n+ expected_shap... | 2023-10-12T15:43:06 |
nodejs/node | 47b9772f52aba7693eed4df535b35de65ac22c49 | 324f1115b3a3c28d19261772442ea52bd191ed85 | fs: expose Stats times as Numbers
PR-URL: https://github.com/nodejs/node/pull/13173
Fixes: https://github.com/nodejs/node/issues/8276
Refs: https://github.com/nodejs/node/pull/12607
Refs: https://github.com/nodejs/node/pull/12818
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Brian White <mscdex@mscdex.... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -301,10 +301,14 @@ argument to `fs.createReadStream()`. If `path` is passed as a string, then\n ## Class: fs.Stats\n <!-- YAML\n added: v0.1.21\n+changes:\n+ - version: REPLACEME\n+ pr-url: https://github.com/nodejs/node/pull/13173\n+ description: Added times a... | 2017-05-23T16:15:56 |
ggml-org/llama.cpp | 532802f938c6a18cc6a704057ab571f253fd77ed | d4e0d95cf581f50c9a21d06eaecae2dd580076bd | Implement GGML_CPU_ALL_VARIANTS for ARM (#14080)
* ggml-cpu: Factor out feature detection build from x86
* ggml-cpu: Add ARM feature detection and scoring
This is analogous to cpu-feats-x86.cpp. However, to detect compile-time
activation of features, we rely on GGML_USE_<FEAT> which need to be set
in cmake, instead ... | [
{
"path": "ggml/src/CMakeLists.txt",
"patch": "@@ -270,17 +270,23 @@ endfunction()\n function(ggml_add_cpu_backend_variant tag_name)\n set(GGML_CPU_TAG_NAME ${tag_name})\n # other: OPENMP LLAMAFILE CPU_HBM\n- foreach (feat NATIVE\n- SSE42\n- AVX AVX2 BMI2 AVX_VNN... | 2025-06-11T19:07:44 |
golang/go | 719b1ba27822e01cbef0d418d26a321a25948313 | 2cf3ebaf3db5b23a56e2ee62ecd76748dfbb5b8e | net: report port number correctly in Plan 9 error
The code was incorrectly using a string conversion of a numeric port
to display the port number.
No test because as far as I can tell this code is only executed if
there is some error in a /net file.
Updates #32479
Change-Id: I0b8deebbf3c0b7cb1e1eee0fd059505f3f4c162... | [
{
"path": "src/net/ipsock_plan9.go",
"patch": "@@ -57,12 +57,12 @@ func parsePlan9Addr(s string) (ip IP, iport int, err error) {\n \t\t\treturn nil, 0, &ParseError{Type: \"IP address\", Text: s}\n \t\t}\n \t}\n-\tp, _, ok := dtoi(s[i+1:])\n+\tp, plen, ok := dtoi(s[i+1:])\n \tif !ok {\n \t\treturn nil, 0, &P... | 2020-02-27T15:36:39 |
vuejs/vue | a524919d21eb1473b1ac0f61df112ae0f2aa5b29 | 2afaac2b397b4b04713488aeb62e5e222e5dc121 | fix v-on inline function expression with modifiers (fix #5120) | [
{
"path": "src/compiler/codegen/events.js",
"patch": "@@ -48,12 +48,19 @@ function genHandler (\n ): string {\n if (!handler) {\n return 'function(){}'\n- } else if (Array.isArray(handler)) {\n+ }\n+\n+ if (Array.isArray(handler)) {\n return `[${handler.map(handler => genHandler(name, handler))... | 2017-03-08T03:27:43 |
rust-lang/rust | 3155dabeaa295692fb7664fafcccc161effa2fe1 | 88a00a87fa99ef934430b73a6327e0211c79e8a0 | add autofix for `cmp_null` | [
{
"path": "clippy_lints/src/ptr.rs",
"patch": "@@ -1,5 +1,6 @@\n-use clippy_utils::diagnostics::{span_lint, span_lint_and_sugg, span_lint_and_then, span_lint_hir_and_then};\n+use clippy_utils::diagnostics::{span_lint_and_sugg, span_lint_and_then, span_lint_hir_and_then};\n use clippy_utils::source::SpanRang... | 2025-01-31T01:39:33 |
ggml-org/llama.cpp | 7ae2932116a4de3141cbc8c488f7f6e4e06d8171 | 1f7d50b2936023b26eb218e944e62834b80a2ce0 | kv-cache : add LLAMA_KV_CACHE_DEBUG environment variable (#14121) | [
{
"path": "src/llama-kv-cache-unified.cpp",
"patch": "@@ -127,6 +127,9 @@ llama_kv_cache_unified::llama_kv_cache_unified(\n ggml_type_name(type_k), (float)memory_size_k / (1024.0f * 1024.0f),\n ggml_type_name(type_v), (float)memory_size_v / (1024.0f * 1024.0f));\n }\n+\n+... | 2025-06-11T09:52:45 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.