repo_id
stringlengths
6
101
file_path
stringlengths
2
269
content
stringlengths
367
5.14M
size
int64
367
5.14M
filename
stringlengths
1
248
ext
stringlengths
0
87
lang
stringclasses
88 values
program_lang
stringclasses
232 values
doc_type
stringclasses
5 values
quality_signal
stringlengths
2
1.9k
effective
stringclasses
2 values
hit_map
stringlengths
2
1.4k
0015/esp_rlottie
rlottie/src/vector/velapsedtimer.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
1,615
velapsedtimer
h
en
c
code
{"qsc_code_num_words": 221, "qsc_code_num_chars": 1615.0, "qsc_code_mean_word_length": 5.23076923, "qsc_code_frac_words_unique": 0.58823529, "qsc_code_frac_chars_top_2grams": 0.07612457, "qsc_code_frac_chars_top_3grams": 0.02249135, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_cod...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vdrawable.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
3,895
vdrawable
cpp
en
cpp
code
{"qsc_code_num_words": 425, "qsc_code_num_chars": 3895.0, "qsc_code_mean_word_length": 5.84705882, "qsc_code_frac_words_unique": 0.40470588, "qsc_code_frac_chars_top_2grams": 0.03541247, "qsc_code_frac_chars_top_3grams": 0.0305835, "qsc_code_frac_chars_top_4grams": 0.04708249, "qsc_code_frac_chars_dupe_5grams": 0.13199...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vdrawhelper_sse2.cpp
#if defined(__SSE2__) #include <cstring> #include <emmintrin.h> /* for SSE2 intrinsics */ #include <xmmintrin.h> /* for _mm_shuffle_pi16 and _MM_SHUFFLE */ #include "vdrawhelper.h" // Each 32bits components of alphaChannel must be in the form 0x00AA00AA inline static __m128i v4_byte_mul_sse2(__m128i c, __m128i a) { ...
8,117
vdrawhelper_sse2
cpp
en
cpp
code
{"qsc_code_num_words": 1003, "qsc_code_num_chars": 8117.0, "qsc_code_mean_word_length": 3.72781655, "qsc_code_frac_words_unique": 0.1445663, "qsc_code_frac_chars_top_2grams": 0.05883926, "qsc_code_frac_chars_top_3grams": 0.07114202, "qsc_code_frac_chars_top_4grams": 0.07729339, "qsc_code_frac_chars_dupe_5grams": 0.3760...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vbitmap.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
5,772
vbitmap
cpp
en
cpp
code
{"qsc_code_num_words": 739, "qsc_code_num_chars": 5772.0, "qsc_code_mean_word_length": 4.77537212, "qsc_code_frac_words_unique": 0.30446549, "qsc_code_frac_chars_top_2grams": 0.02691981, "qsc_code_frac_chars_top_3grams": 0.04080476, "qsc_code_frac_chars_top_4grams": 0.04760555, "qsc_code_frac_chars_dupe_5grams": 0.2091...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vbrush.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
2,981
vbrush
h
en
c
code
{"qsc_code_num_words": 389, "qsc_code_num_chars": 2981.0, "qsc_code_mean_word_length": 5.24678663, "qsc_code_frac_words_unique": 0.4781491, "qsc_code_frac_chars_top_2grams": 0.04311612, "qsc_code_frac_chars_top_3grams": 0.02792749, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_code...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/T-Glass-Applications
image_capture_app/t_glass_ble_app/README.md
# Flutter Desktop BLE & Screen Capture App For T-Glass ## 📌 Overview This Flutter desktop application provides **BLE scanning and connection** using `flutter_blue_plus`, **screen capturing**, and a system tray integration. The application supports **Windows and macOS**, featuring a **theme toggle**, **image processi...
3,506
README
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.13207547, "qsc_doc_num_sentences": 64.0, "qsc_doc_num_words": 437, "qsc_doc_num_chars": 3506.0, "qsc_doc_num_lines": 93.0, "qsc_doc_mean_word_length": 5.23112128, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmor...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
0015/esp_rlottie
rlottie/src/vector/vpath.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
22,546
vpath
cpp
en
cpp
code
{"qsc_code_num_words": 2716, "qsc_code_num_chars": 22546.0, "qsc_code_mean_word_length": 4.42488954, "qsc_code_frac_words_unique": 0.13365243, "qsc_code_frac_chars_top_2grams": 0.01689133, "qsc_code_frac_chars_top_3grams": 0.02546181, "qsc_code_frac_chars_top_4grams": 0.00698952, "qsc_code_frac_chars_dupe_5grams": 0.43...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vsharedptr.h
#ifndef VSHAREDPTR_H #define VSHAREDPTR_H #include <cassert> #include <memory> #include <atomic> template <typename T, typename Rc> class vshared_ptr { struct model { Rc mRef{1}; model() = default; template <class... Args> explicit model(Args&&... args) : mValue(std::forward<Args...
2,396
vsharedptr
h
en
c
code
{"qsc_code_num_words": 255, "qsc_code_num_chars": 2396.0, "qsc_code_mean_word_length": 5.04705882, "qsc_code_frac_words_unique": 0.23137255, "qsc_code_frac_chars_top_2grams": 0.12432012, "qsc_code_frac_chars_top_3grams": 0.06060606, "qsc_code_frac_chars_top_4grams": 0.05905206, "qsc_code_frac_chars_dupe_5grams": 0.4296...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/varenaalloc.h
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef VARENAALLOC_H #define VARENAALLOC_H #include <cassert> #include <cstddef> #include <cstdint> #include <cstdlib> #include <cstring> #include <limits> #include <new> #in...
8,807
varenaalloc
h
en
c
code
{"qsc_code_num_words": 1035, "qsc_code_num_chars": 8807.0, "qsc_code_mean_word_length": 5.43864734, "qsc_code_frac_words_unique": 0.28309179, "qsc_code_frac_chars_top_2grams": 0.04103748, "qsc_code_frac_chars_top_3grams": 0.00852727, "qsc_code_frac_chars_top_4grams": 0.00746136, "qsc_code_frac_chars_dupe_5grams": 0.177...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vpoint.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
6,289
vpoint
h
en
c
code
{"qsc_code_num_words": 869, "qsc_code_num_chars": 6289.0, "qsc_code_mean_word_length": 4.57997699, "qsc_code_frac_words_unique": 0.17376295, "qsc_code_frac_chars_top_2grams": 0.09949749, "qsc_code_frac_chars_top_3grams": 0.05527638, "qsc_code_frac_chars_top_4grams": 0.07462312, "qsc_code_frac_chars_dupe_5grams": 0.5876...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/T-Glass-Applications
image_capture_app/main/ble_server.c
#include <stdio.h> #include <string.h> #include "esp_log.h" #include "nvs_flash.h" #include "esp_bt.h" #include "esp_gap_ble_api.h" #include "esp_gatts_api.h" #include "esp_bt_defs.h" #include "esp_bt_main.h" #include "t_glass.h" #define TAG "[BLE_SERVER]" #define DEVICE_NAME "T-Glass" #define SERVICE_UUID 0x0...
4,902
ble_server
c
en
c
code
{"qsc_code_num_words": 721, "qsc_code_num_chars": 4902.0, "qsc_code_mean_word_length": 4.25797503, "qsc_code_frac_words_unique": 0.23023578, "qsc_code_frac_chars_top_2grams": 0.03517915, "qsc_code_frac_chars_top_3grams": 0.02605863, "qsc_code_frac_chars_top_4grams": 0.02964169, "qsc_code_frac_chars_dupe_5grams": 0.3035...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/T-Glass-Applications
image_capture_app/main/battery_measurement.c
#include "battery_measurement.h" #include "esp_adc/adc_oneshot.h" #include "esp_adc/adc_cali.h" #include "esp_adc/adc_cali_scheme.h" #define ADC_CHANNEL ADC_CHANNEL_2 #define ADC_UNIT ADC_UNIT_2 #define ADC_ATTEN ADC_ATTEN_DB_12 #define ADC_BITWIDTH ADC_BITWIDTH_12 #define REF_VOLT...
4,449
battery_measurement
c
en
c
code
{"qsc_code_num_words": 592, "qsc_code_num_chars": 4449.0, "qsc_code_mean_word_length": 4.68412162, "qsc_code_frac_words_unique": 0.27027027, "qsc_code_frac_chars_top_2grams": 0.04760188, "qsc_code_frac_chars_top_3grams": 0.02812838, "qsc_code_frac_chars_top_4grams": 0.01514605, "qsc_code_frac_chars_dupe_5grams": 0.1503...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vrect.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
5,642
vrect
h
en
c
code
{"qsc_code_num_words": 815, "qsc_code_num_chars": 5642.0, "qsc_code_mean_word_length": 4.09202454, "qsc_code_frac_words_unique": 0.21472393, "qsc_code_frac_chars_top_2grams": 0.08245877, "qsc_code_frac_chars_top_3grams": 0.03118441, "qsc_code_frac_chars_top_4grams": 0.0167916, "qsc_code_frac_chars_dupe_5grams": 0.41529...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vrle.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
20,545
vrle
cpp
en
cpp
code
{"qsc_code_num_words": 2636, "qsc_code_num_chars": 20545.0, "qsc_code_mean_word_length": 4.13125948, "qsc_code_frac_words_unique": 0.13467375, "qsc_code_frac_chars_top_2grams": 0.01285583, "qsc_code_frac_chars_top_3grams": 0.01322314, "qsc_code_frac_chars_top_4grams": 0.00734619, "qsc_code_frac_chars_dupe_5grams": 0.46...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vdrawable.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
3,014
vdrawable
h
en
c
code
{"qsc_code_num_words": 357, "qsc_code_num_chars": 3014.0, "qsc_code_mean_word_length": 5.43417367, "qsc_code_frac_words_unique": 0.50140056, "qsc_code_frac_chars_top_2grams": 0.04536082, "qsc_code_frac_chars_top_3grams": 0.01340206, "qsc_code_frac_chars_top_4grams": 0.0, "qsc_code_frac_chars_dupe_5grams": 0.0, "qsc_cod...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vline.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
2,996
vline
h
en
c
code
{"qsc_code_num_words": 457, "qsc_code_num_chars": 2996.0, "qsc_code_mean_word_length": 4.29102845, "qsc_code_frac_words_unique": 0.38293217, "qsc_code_frac_chars_top_2grams": 0.04487506, "qsc_code_frac_chars_top_3grams": 0.01835798, "qsc_code_frac_chars_top_4grams": 0.02141764, "qsc_code_frac_chars_dupe_5grams": 0.0734...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000linlin/ConsisLoRA
pipeline_demo.py
from typing import Any, Callable, Dict, List, Optional, Tuple, Union import torch from diffusers import StableDiffusionXLPipeline from diffusers.pipelines.stable_diffusion_xl import StableDiffusionXLPipelineOutput from diffusers.image_processor import PipelineImageInput from diffusers.callbacks import PipelineCallback...
44,336
pipeline_demo
py
en
python
code
{"qsc_code_num_words": 5095, "qsc_code_num_chars": 44336.0, "qsc_code_mean_word_length": 5.02139352, "qsc_code_frac_words_unique": 0.11736997, "qsc_code_frac_chars_top_2grams": 0.03330206, "qsc_code_frac_chars_top_3grams": 0.00879456, "qsc_code_frac_chars_top_4grams": 0.01266417, "qsc_code_frac_chars_dupe_5grams": 0.49...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/vs2019/rlottie.vcxproj.filters
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <Filter Include="inc"> <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> <Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions> <...
14,830
rlottie.vcxproj
filters
en
xml
data
{"qsc_code_num_words": 1586, "qsc_code_num_chars": 14830.0, "qsc_code_mean_word_length": 6.20428752, "qsc_code_frac_words_unique": 0.12925599, "qsc_code_frac_chars_top_2grams": 0.12093496, "qsc_code_frac_chars_top_3grams": 0.13902439, "qsc_code_frac_chars_top_4grams": 0.23628049, "qsc_code_frac_chars_dupe_5grams": 0.80...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code...
0015/esp_rlottie
rlottie/inc/rlottie_capi.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
11,630
rlottie_capi
h
en
c
code
{"qsc_code_num_words": 1589, "qsc_code_num_chars": 11630.0, "qsc_code_mean_word_length": 5.21019509, "qsc_code_frac_words_unique": 0.20704846, "qsc_code_frac_chars_top_2grams": 0.13226235, "qsc_code_frac_chars_top_3grams": 0.05000604, "qsc_code_frac_chars_top_4grams": 0.05797802, "qsc_code_frac_chars_dupe_5grams": 0.48...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/inc/rlottiecommon.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
5,193
rlottiecommon
h
en
c
code
{"qsc_code_num_words": 584, "qsc_code_num_chars": 5193.0, "qsc_code_mean_word_length": 5.70034247, "qsc_code_frac_words_unique": 0.48630137, "qsc_code_frac_chars_top_2grams": 0.02252929, "qsc_code_frac_chars_top_3grams": 0.01922499, "qsc_code_frac_chars_top_4grams": 0.01441874, "qsc_code_frac_chars_dupe_5grams": 0.0874...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/inc/rlottie.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
17,630
rlottie
h
en
c
code
{"qsc_code_num_words": 2158, "qsc_code_num_chars": 17630.0, "qsc_code_mean_word_length": 5.19230769, "qsc_code_frac_words_unique": 0.2034291, "qsc_code_frac_chars_top_2grams": 0.01383311, "qsc_code_frac_chars_top_3grams": 0.01499331, "qsc_code_frac_chars_top_4grams": 0.02552432, "qsc_code_frac_chars_dupe_5grams": 0.371...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/example/gif.h
// // gif.h // by Charlie Tangora // Public domain. // Email me : ctangora -at- gmail -dot- com // // This file offers a simple, very limited way to create animated GIFs directly in code. // // Those looking for particular cleverness are likely to be disappointed; it's pretty // much a straight-ahead implementation of ...
27,441
gif
h
en
c
code
{"qsc_code_num_words": 3629, "qsc_code_num_chars": 27441.0, "qsc_code_mean_word_length": 4.37475889, "qsc_code_frac_words_unique": 0.17635712, "qsc_code_frac_chars_top_2grams": 0.02078609, "qsc_code_frac_chars_top_3grams": 0.00655077, "qsc_code_frac_chars_top_4grams": 0.00900731, "qsc_code_frac_chars_dupe_5grams": 0.19...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/example/lottieperf.cpp
#include <memory> #include <vector> #include <dirent.h> #include <algorithm> #include <chrono> #include <iostream> #include <cstring> #include <rlottie.h> static bool isJsonFile(const char *filename) { const char *dot = strrchr(filename, '.'); if(!dot || dot == filename) return false; return !strcmp(dot + 1, "j...
4,938
lottieperf
cpp
en
cpp
code
{"qsc_code_num_words": 548, "qsc_code_num_chars": 4938.0, "qsc_code_mean_word_length": 4.80656934, "qsc_code_frac_words_unique": 0.25547445, "qsc_code_frac_chars_top_2grams": 0.03720577, "qsc_code_frac_chars_top_3grams": 0.03340926, "qsc_code_frac_chars_top_4grams": 0.02733485, "qsc_code_frac_chars_dupe_5grams": 0.1548...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/example/uxsampletest.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
3,952
uxsampletest
cpp
en
cpp
code
{"qsc_code_num_words": 454, "qsc_code_num_chars": 3952.0, "qsc_code_mean_word_length": 5.58590308, "qsc_code_frac_words_unique": 0.40748899, "qsc_code_frac_chars_top_2grams": 0.03470032, "qsc_code_frac_chars_top_3grams": 0.0488959, "qsc_code_frac_chars_top_4grams": 0.04495268, "qsc_code_frac_chars_dupe_5grams": 0.15181...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/StickiNote
sdkconfig
# # Automatically generated file. DO NOT EDIT. # Espressif IoT Development Framework (ESP-IDF) 5.4.0 Project Configuration # CONFIG_SOC_ADC_SUPPORTED=y CONFIG_SOC_ANA_CMPR_SUPPORTED=y CONFIG_SOC_DEDICATED_GPIO_SUPPORTED=y CONFIG_SOC_UART_SUPPORTED=y CONFIG_SOC_GDMA_SUPPORTED=y CONFIG_SOC_AHB_GDMA_SUPPORTED=y CONFIG_SOC...
82,172
sdkconfig
en
unknown
unknown
{}
0
{}
0015/StickiNote
Readme.md
## **StickiNote – ESP32-P4 Digital Sticky Notes App** <div align="center"> ![StickiNote Logo](./misc/logo.png) </div> **StickiNote** is a **modern, e-paper-styled digital sticky note app** designed specifically for high-performance **ESP32-P4-based embedded systems**. This project leverages the **fast clock speed ...
4,136
Readme
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.11604096, "qsc_doc_num_sentences": 55.0, "qsc_doc_num_words": 577, "qsc_doc_num_chars": 4136.0, "qsc_doc_num_lines": 117.0, "qsc_doc_mean_word_length": 4.88388215, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmo...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
0015/StickiNote
sdkconfig.defaults
# This file was generated using idf.py save-defconfig. It can be edited manually. # Espressif IoT Development Framework (ESP-IDF) 5.4.0 Project Minimal Configuration # CONFIG_IDF_TARGET="esp32p4" CONFIG_ESPTOOLPY_FLASHMODE_QIO=y CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_COMPILER_OPTIMIZAT...
1,523
sdkconfig
defaults
en
unknown
unknown
{}
0
{}
000haoji/deep-student
src/components/SubjectConfig.tsx
import React, { useState, useEffect } from 'react'; import { TauriAPI } from '../utils/tauriApi'; import { useSubject } from '../contexts/SubjectContext'; import { Target, Plus, RefreshCcw, Edit, Trash2, CheckCircle, XCircle, Lightbulb, FileText, Tag, X } from 'lucide-react'; interface SubjectConfig { id: string; ...
16,878
SubjectConfig
tsx
en
tsx
code
{"qsc_code_num_words": 1346, "qsc_code_num_chars": 16878.0, "qsc_code_mean_word_length": 6.08989599, "qsc_code_frac_words_unique": 0.23476969, "qsc_code_frac_chars_top_2grams": 0.04684641, "qsc_code_frac_chars_top_3grams": 0.03110894, "qsc_code_frac_chars_top_4grams": 0.03330487, "qsc_code_frac_chars_dupe_5grams": 0.40...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0000cd/wolf-set
content/achrive/2024-12.md
--- author: 逊狼 title: 2024-12 date: 2024-12-26 draft: false --- ```yaml - title: Button Stealer hex: "#ff5100" tags: - 网页 - 有趣 - 开源 date: "2024/12" description: 从路过的每个网页“窃取”按钮,欣赏你的按钮藏品。 links: - name: 官网 url: https://anatolyzenkov.com/stolen-buttons/button-stealer - name: GitHub url: https...
2,646
2024-12
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.05278174, "qsc_doc_num_sentences": 47.0, "qsc_doc_num_words": 354, "qsc_doc_num_chars": 2646.0, "qsc_doc_num_lines": 147.0, "qsc_doc_mean_word_length": 4.67514124, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmo...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
0000cd/wolf-set
content/achrive/legacy.md
--- author: 逊狼 title: Legacy date: 2024-04-04 draft: false --- ```yaml - title: Unsplash hex: "#000000" tags: - 推荐 - 网页 - 图片 date: "2024/04" description: 全球摄影师 300万 高清免费图片。 links: - name: 官网 url: https://unsplash.com - name: 背景 url: https://unsplash.com/backgrounds - name: 壁纸 url: htt...
2,449
legacy
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.04702194, "qsc_doc_num_sentences": 46.0, "qsc_doc_num_words": 320, "qsc_doc_num_chars": 2449.0, "qsc_doc_num_lines": 145.0, "qsc_doc_mean_word_length": 4.746875, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
000haoji/deep-student
src/components/ReviewAnalysis.tsx
/** * DEPRECATED COMPONENT - 已废弃的组件 * * 废弃日期: 2024年6月5日 * 废弃原因: 单次回顾功能已被统一回顾模块替代,为简化用户体验而停用 * 替代方案: 请使用 ReviewAnalysisDashboard 和相关的统一回顾功能 * * 注意: 此组件已从主界面隐藏,但保留代码以供将来可能的恢复需要 * 如需重新启用,请修改 App.tsx 中的相关注释 */ import { useState, useEffect } from 'react'; import { TauriAPI, MistakeItem } from '../utils/tau...
18,869
ReviewAnalysis
tsx
zh
tsx
code
{"qsc_code_num_words": 1731, "qsc_code_num_chars": 18869.0, "qsc_code_mean_word_length": 5.65049105, "qsc_code_frac_words_unique": 0.22414789, "qsc_code_frac_chars_top_2grams": 0.02821797, "qsc_code_frac_chars_top_3grams": 0.01717616, "qsc_code_frac_chars_top_4grams": 0.00899704, "qsc_code_frac_chars_dupe_5grams": 0.30...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/StickiNote
sdkconfig.esp32-p4-nano
# # Automatically generated file. DO NOT EDIT. # Espressif IoT Development Framework (ESP-IDF) 5.4.0 Project Configuration # CONFIG_SOC_ADC_SUPPORTED=y CONFIG_SOC_ANA_CMPR_SUPPORTED=y CONFIG_SOC_DEDICATED_GPIO_SUPPORTED=y CONFIG_SOC_UART_SUPPORTED=y CONFIG_SOC_GDMA_SUPPORTED=y CONFIG_SOC_AHB_GDMA_SUPPORTED=y CONFIG_SOC...
82,172
sdkconfig
esp32-p4-nano
en
unknown
unknown
{}
0
{}
0015/esp_rlottie
rlottie/src/lottie/rapidjson/internal/ieee754.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
2,994
ieee754
h
en
c
code
{"qsc_code_num_words": 345, "qsc_code_num_chars": 2994.0, "qsc_code_mean_word_length": 5.81449275, "qsc_code_frac_words_unique": 0.4115942, "qsc_code_frac_chars_top_2grams": 0.07128614, "qsc_code_frac_chars_top_3grams": 0.05383848, "qsc_code_frac_chars_top_4grams": 0.06231306, "qsc_code_frac_chars_dupe_5grams": 0.10069...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/lottie/rapidjson/internal/stack.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
7,184
stack
h
en
c
code
{"qsc_code_num_words": 784, "qsc_code_num_chars": 7184.0, "qsc_code_mean_word_length": 5.5127551, "qsc_code_frac_words_unique": 0.26785714, "qsc_code_frac_chars_top_2grams": 0.01735308, "qsc_code_frac_chars_top_3grams": 0.04326701, "qsc_code_frac_chars_top_4grams": 0.03563165, "qsc_code_frac_chars_dupe_5grams": 0.29754...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/lottie/rapidjson/internal/diyfp.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obta...
11,509
diyfp
h
en
c
code
{"qsc_code_num_words": 1352, "qsc_code_num_chars": 11509.0, "qsc_code_mean_word_length": 5.47189349, "qsc_code_frac_words_unique": 0.38091716, "qsc_code_frac_chars_top_2grams": 0.18248175, "qsc_code_frac_chars_top_3grams": 0.20681265, "qsc_code_frac_chars_top_4grams": 0.00973236, "qsc_code_frac_chars_dupe_5grams": 0.08...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/lottie/rapidjson/internal/pow10.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
3,595
pow10
h
en
c
code
{"qsc_code_num_words": 805, "qsc_code_num_chars": 3595.0, "qsc_code_mean_word_length": 2.92546584, "qsc_code_frac_words_unique": 0.52795031, "qsc_code_frac_chars_top_2grams": 0.02547771, "qsc_code_frac_chars_top_3grams": 0.01104034, "qsc_code_frac_chars_top_4grams": 0.01358811, "qsc_code_frac_chars_dupe_5grams": 0.0, "...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/lottie/rapidjson/internal/strfunc.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
2,199
strfunc
h
en
c
code
{"qsc_code_num_words": 298, "qsc_code_num_chars": 2199.0, "qsc_code_mean_word_length": 5.18791946, "qsc_code_frac_words_unique": 0.5033557, "qsc_code_frac_chars_top_2grams": 0.03880983, "qsc_code_frac_chars_top_3grams": 0.0465718, "qsc_code_frac_chars_top_4grams": 0.04851229, "qsc_code_frac_chars_dupe_5grams": 0.043984...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/lottie/rapidjson/internal/strtod.h
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obt...
8,994
strtod
h
en
c
code
{"qsc_code_num_words": 1114, "qsc_code_num_chars": 8994.0, "qsc_code_mean_word_length": 4.86535009, "qsc_code_frac_words_unique": 0.26570916, "qsc_code_frac_chars_top_2grams": 0.02398524, "qsc_code_frac_chars_top_3grams": 0.03653137, "qsc_code_frac_chars_top_4grams": 0.02841328, "qsc_code_frac_chars_dupe_5grams": 0.083...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/TP_Arduino_DigitalRain_Anim
examples/Demo_ArduinoGFX_Basic/Demo_ArduinoGFX_Basic.ino
#include <Arduino_GFX_Library.h> #include <DigitalRainAnimation.hpp> #define TFT_BL 45 Arduino_ESP32RGBPanel *bus = new Arduino_ESP32RGBPanel( GFX_NOT_DEFINED /* CS */, GFX_NOT_DEFINED /* SCK */, GFX_NOT_DEFINED /* SDA */, 40 /* DE */, 48 /* VSYNC */, 47 /* HSYNC */, 14 /* PCLK */, 4 /* R0 */, 5 /* R1 */, 6 /* R...
1,231
Demo_ArduinoGFX_Basic
ino
en
cpp
code
{"qsc_code_num_words": 168, "qsc_code_num_chars": 1231.0, "qsc_code_mean_word_length": 4.23214286, "qsc_code_frac_words_unique": 0.5952381, "qsc_code_frac_chars_top_2grams": 0.05625879, "qsc_code_frac_chars_top_3grams": 0.05485232, "qsc_code_frac_chars_top_4grams": 0.05907173, "qsc_code_frac_chars_dupe_5grams": 0.0, "q...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
001SPARTaN/aggressor_scripts
http.cna
# http.cna # utilities for http requests from Aggressor scripts # 001SPARTaN sub http_get { local('$output'); $url = [new java.net.URL: $1]; $stream = [$url openStream]; $handle = [SleepUtils getIOHandle: $stream, $null]; @content = readAll($handle); foreach $line (@content) { $output...
1,094
http
cna
en
unknown
unknown
{}
0
{}
000haoji/deep-student
src/utils/dataManager.ts
// 数据管理模块 - 模拟本地数据存储 export interface MistakeItem { id: string; subject: string; created_at: string; question_images: string[]; analysis_images: string[]; user_question: string; ocr_text: string; tags: string[]; mistake_type: string; status: string; chat_history?: ChatMessage[]; } export interfac...
14,377
dataManager
ts
en
typescript
code
{"qsc_code_num_words": 1491, "qsc_code_num_chars": 14377.0, "qsc_code_mean_word_length": 5.86921529, "qsc_code_frac_words_unique": 0.28504359, "qsc_code_frac_chars_top_2grams": 0.02388298, "qsc_code_frac_chars_top_3grams": 0.0267398, "qsc_code_frac_chars_top_4grams": 0.03085362, "qsc_code_frac_chars_dupe_5grams": 0.276...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/unifiedStreamManager.ts
/** * 统一流式处理管理器 * * 替代项目中的多种流式处理实现,提供统一、一致的流式数据处理方案 * 支持所有现有的流式场景:分析、对话、回顾分析等 */ import { listen } from '@tauri-apps/api/event'; import React from 'react'; export interface StreamChunk { content: string; is_complete: boolean; chunk_id: string; } export interface StreamMessage { id: string; role: 'use...
10,969
unifiedStreamManager
ts
en
typescript
code
{"qsc_code_num_words": 866, "qsc_code_num_chars": 10969.0, "qsc_code_mean_word_length": 7.18937644, "qsc_code_frac_words_unique": 0.22863741, "qsc_code_frac_chars_top_2grams": 0.03340829, "qsc_code_frac_chars_top_3grams": 0.0258593, "qsc_code_frac_chars_top_4grams": 0.02601992, "qsc_code_frac_chars_dupe_5grams": 0.3302...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/tauriStreamAdapter.ts
/** * Tauri Stream Adapter * * Focused adapter for converting Tauri backend streaming to standard streaming protocols. * Single responsibility: Stream protocol conversion. */ import { invoke } from '@tauri-apps/api/core'; import { listen } from '@tauri-apps/api/event'; export interface StreamControllerManager {...
6,043
tauriStreamAdapter
ts
en
typescript
code
{"qsc_code_num_words": 542, "qsc_code_num_chars": 6043.0, "qsc_code_mean_word_length": 7.2601476, "qsc_code_frac_words_unique": 0.2601476, "qsc_code_frac_chars_top_2grams": 0.04320203, "qsc_code_frac_chars_top_3grams": 0.03456163, "qsc_code_frac_chars_top_4grams": 0.04726811, "qsc_code_frac_chars_dupe_5grams": 0.665311...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/unifiedStreamHandler.ts
/** * Unified Streaming Handler * * Consolidates all streaming approaches in the project into a single, * consistent implementation that can be used across all components. */ import { listen } from '@tauri-apps/api/event'; import { invoke } from '@tauri-apps/api/core'; export interface StreamChunk { content:...
13,011
unifiedStreamHandler
ts
en
typescript
code
{"qsc_code_num_words": 1178, "qsc_code_num_chars": 13011.0, "qsc_code_mean_word_length": 6.72665535, "qsc_code_frac_words_unique": 0.21052632, "qsc_code_frac_chars_top_2grams": 0.0113579, "qsc_code_frac_chars_top_3grams": 0.01590106, "qsc_code_frac_chars_top_4grams": 0.01703685, "qsc_code_frac_chars_dupe_5grams": 0.320...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/tauriApiClient.ts
/** * Tauri API Client * * Simple client for direct Tauri API calls without streaming. * Single responsibility: Non-streaming API communication. */ import { invoke } from '@tauri-apps/api/core'; export interface ChatMessage { id: string; role: 'user' | 'assistant' | 'system'; content: string; thinking_c...
2,908
tauriApiClient
ts
en
typescript
code
{"qsc_code_num_words": 292, "qsc_code_num_chars": 2908.0, "qsc_code_mean_word_length": 6.38356164, "qsc_code_frac_words_unique": 0.34589041, "qsc_code_frac_chars_top_2grams": 0.07725322, "qsc_code_frac_chars_top_3grams": 0.0944206, "qsc_code_frac_chars_top_4grams": 0.12982833, "qsc_code_frac_chars_dupe_5grams": 0.23497...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/data/ankiTemplates.ts
import { AnkiCardTemplate, CustomAnkiTemplate, FieldExtractionRule, FieldType } from '../types'; // 将预置模板转换为CustomAnkiTemplate格式,实现统一管理 const createBuiltInTemplate = (template: AnkiCardTemplate): CustomAnkiTemplate => { // 生成字段提取规则 const fieldExtractionRules: Record<string, FieldExtractionRule> = {}; template.fi...
23,133
ankiTemplates
ts
en
typescript
code
{"qsc_code_num_words": 2634, "qsc_code_num_chars": 23133.0, "qsc_code_mean_word_length": 5.60820046, "qsc_code_frac_words_unique": 0.21488231, "qsc_code_frac_chars_top_2grams": 0.04007582, "qsc_code_frac_chars_top_3grams": 0.02308421, "qsc_code_frac_chars_top_4grams": 0.01611156, "qsc_code_frac_chars_dupe_5grams": 0.33...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/chat-core/index.ts
/** * Chat Core Module - 聊天核心模块 * * 统一导出所有聊天相关的组件、工具函数、类型定义和样式 * 便于独立开发和迭代 */ // 导出所有组件 export * from './components'; // 导出工具函数(避免重复导出) export { // 统一API api, simplifiedApi, directApi, // 流式处理 streamHandler, unifiedStreamManager, useUnifiedStream, // 消息转换 convertToBackendFormat, conv...
1,265
index
ts
zh
typescript
code
{"qsc_code_num_words": 155, "qsc_code_num_chars": 1265.0, "qsc_code_mean_word_length": 5.64516129, "qsc_code_frac_words_unique": 0.56774194, "qsc_code_frac_chars_top_2grams": 0.03657143, "qsc_code_frac_chars_top_3grams": 0.02514286, "qsc_code_frac_chars_top_4grams": 0.04342857, "qsc_code_frac_chars_dupe_5grams": 0.0, "...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/contexts/SubjectContext.tsx
import React, { createContext, useContext, useState, useEffect, ReactNode } from 'react'; import { TauriAPI } from '../utils/tauriApi'; interface SubjectConfig { id: string; subject_name: string; display_name: string; description: string; is_enabled: boolean; prompts: any; mistake_types: string[]; defa...
3,344
SubjectContext
tsx
en
tsx
code
{"qsc_code_num_words": 267, "qsc_code_num_chars": 3344.0, "qsc_code_mean_word_length": 8.43445693, "qsc_code_frac_words_unique": 0.4082397, "qsc_code_frac_chars_top_2grams": 0.01465364, "qsc_code_frac_chars_top_3grams": 0.01687389, "qsc_code_frac_chars_top_4grams": 0.01776199, "qsc_code_frac_chars_dupe_5grams": 0.02397...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0011001011/vizuka
vizuka/plugins/dimension_reduction/How_to_add_dimension_reduction_plugin.py
############################################# # # How to add a dimension reduction algorithm ? # ################## # # Below is a working example. You should simply inherits # vizuka.dimension_reduction.projector.Projector and implements # a contructor and a project method. # # Typically in the __init__ you instancia...
1,859
How_to_add_dimension_reduction_plugin
py
en
python
code
{"qsc_code_num_words": 183, "qsc_code_num_chars": 1859.0, "qsc_code_mean_word_length": 5.46448087, "qsc_code_frac_words_unique": 0.43715847, "qsc_code_frac_chars_top_2grams": 0.06, "qsc_code_frac_chars_top_3grams": 0.066, "qsc_code_frac_chars_top_4grams": 0.051, "qsc_code_frac_chars_dupe_5grams": 0.042, "qsc_code_frac_...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0011001011/vizuka
vizuka/plugins/cluster_viewer/How_to_add_cluster_vizualization.py
# HOW TO ADD A CLUSTER VIZUALIZATION ? ###################################### # # If you want to add another tool toi visualize the inner observations inside a selected cluster # you can add here an new tool. # # You should inherits vizuka.cluster_viewer.plotter.Plotter, and define a callable, # cf the simple the exa...
2,007
How_to_add_cluster_vizualization
py
en
python
code
{"qsc_code_num_words": 253, "qsc_code_num_chars": 2007.0, "qsc_code_mean_word_length": 4.16205534, "qsc_code_frac_words_unique": 0.45849802, "qsc_code_frac_chars_top_2grams": 0.01994302, "qsc_code_frac_chars_top_3grams": 0.01424501, "qsc_code_frac_chars_top_4grams": 0.01994302, "qsc_code_frac_chars_dupe_5grams": 0.0607...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
fix_database_schema.py
#!/usr/bin/env python3 """ 数据库修复脚本 - 添加缺失的总结字段 """ import sqlite3 import os import sys DB_PATH = "/mnt/h/NEW-DS2/NEW-DS/ai-mistake-manager/src-tauri/app_data/ai-mistake-manager/mistakes.db" def check_db_exists(): if not os.path.exists(DB_PATH): print(f"❌ 数据库文件不存在: {DB_PATH}") return False prin...
4,582
fix_database_schema
py
en
python
code
{"qsc_code_num_words": 560, "qsc_code_num_chars": 4582.0, "qsc_code_mean_word_length": 4.48928571, "qsc_code_frac_words_unique": 0.28928571, "qsc_code_frac_chars_top_2grams": 0.04295943, "qsc_code_frac_chars_top_3grams": 0.06762132, "qsc_code_frac_chars_top_4grams": 0.05568815, "qsc_code_frac_chars_dupe_5grams": 0.1984...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
temp_app_before_cleanup.tsx
import { useState, useEffect, useCallback } from 'react'; import { MistakeLibrary } from './components/MistakeLibrary'; import { Settings } from './components/Settings'; import { BatchAnalysis } from './components/BatchAnalysis'; import { ReviewAnalysis } from './components/ReviewAnalysis'; import { Dashboard } from '....
57,191
temp_app_before_cleanup
tsx
en
tsx
code
{"qsc_code_num_words": 4038, "qsc_code_num_chars": 57191.0, "qsc_code_mean_word_length": 7.18573551, "qsc_code_frac_words_unique": 0.19514611, "qsc_code_frac_chars_top_2grams": 0.02315964, "qsc_code_frac_chars_top_3grams": 0.0165426, "qsc_code_frac_chars_top_4grams": 0.01137304, "qsc_code_frac_chars_dupe_5grams": 0.370...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
COGNI-GRAPH-README.md
# CogniGraph 知识图谱模块 ## 概述 CogniGraph 是集成到 AI 错题管理器中的个性化知识网络系统,基于 Neo4j 图数据库实现。该模块允许用户将学习过程中的问题、灵感和解题方法结构化存储,并通过 AI 实现智能检索、关联推荐和深度洞察。 ## 核心功能 ### 🎯 主要特性 1. **问题卡片管理** - 创建和存储数学问题及解题洞察 - 自动生成向量嵌入用于语义搜索 - 支持标签分类和状态管理 2. **智能搜索** - 多路召回:向量搜索 + 全文检索 - 融合排序:综合相似度、访问频次、时间因子 - 语义理解:基于 AI 的内容理解 3. **AI...
4,436
COGNI-GRAPH-README
md
zh
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.003156, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 68.0, "qsc_doc_num_words": 964, "qsc_doc_num_chars": 4436.0, "qsc_doc_num_lines": 326.0, "qsc_doc_mean_word_length": 2.90145228, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmor...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
000haoji/deep-student
compile.ps1
# 设置环境变量以使用MSVC $vsPath = "${env:ProgramFiles}\Microsoft Visual Studio\2022\BuildTools" if (!(Test-Path $vsPath)) { $vsPath = "${env:ProgramFiles}\Microsoft Visual Studio\2022\Community" } if (!(Test-Path $vsPath)) { $vsPath = "${env:ProgramFiles}\Microsoft Visual Studio\2022\Professional" } if (!(Test-Path $vs...
1,055
compile
ps1
en
powershell
code
{"qsc_code_num_words": 125, "qsc_code_num_chars": 1055.0, "qsc_code_mean_word_length": 5.36, "qsc_code_frac_words_unique": 0.488, "qsc_code_frac_chars_top_2grams": 0.08955224, "qsc_code_frac_chars_top_3grams": 0.12537313, "qsc_code_frac_chars_top_4grams": 0.17910448, "qsc_code_frac_chars_dupe_5grams": 0.34626866, "qsc_...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
README.md
# Deep Student 官网 www.deepstudent.com 当前正在进行公开测试中,此为尚未完善的版本。 该项目前身使用flask + python开发,现已完全重构。 **Deep Student** 是一个功能强大、集多种 AI 能力于一体的现代化桌面学习平台。它不仅仅是一个错题本,更是一个完整的知识获取、管理、复习和创造的智能中心。 该应用基于 **Tauri** 构建,结合了 **Rust** 的高性能后端和 **React** 的现代化前端,旨在为学生、研究者和终身学习者提供无缝、高效的学习体验。 ![应用截图](https://www.deepstudent.com/QQ20250615-184...
3,907
README
md
zh
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 79.0, "qsc_doc_num_words": 1132, "qsc_doc_num_chars": 3907.0, "qsc_doc_num_lines": 134.0, "qsc_doc_mean_word_length": 2.10512367, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": ...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
000haoji/deep-student
COGNI-GRAPH-SETUP.md
# CogniGraph Neo4j Setup Guide ## Quick Setup Options ### Option 1: Docker (Recommended) ```bash # Run Neo4j with default credentials docker run \ --name neo4j-cogni \ --publish=7474:7474 \ --publish=7687:7687 \ --env=NEO4J_AUTH=neo4j/password \ neo4j:latest ``` Then use these settings in the CogniGraph in...
1,782
COGNI-GRAPH-SETUP
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.10840108, "qsc_doc_num_sentences": 18.0, "qsc_doc_num_words": 238, "qsc_doc_num_chars": 1782.0, "qsc_doc_num_lines": 72.0, "qsc_doc_mean_word_length": 5.58403361, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmor...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
000haoji/deep-student
src/types/index.ts
/** * Unified Type Definitions * * Consolidates all TypeScript interfaces and types used throughout the application * to improve maintainability and consistency. */ // ============================================================================ // Core Data Models (matching backend Rust structs) // =============...
24,458
index
ts
en
typescript
code
{"qsc_code_num_words": 2078, "qsc_code_num_chars": 24458.0, "qsc_code_mean_word_length": 7.15736285, "qsc_code_frac_words_unique": 0.28488932, "qsc_code_frac_chars_top_2grams": 0.08471727, "qsc_code_frac_chars_top_3grams": 0.03247495, "qsc_code_frac_chars_top_4grams": 0.01129564, "qsc_code_frac_chars_dupe_5grams": 0.21...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/streamHandler.ts
import { listen } from '@tauri-apps/api/event'; export interface StreamChunk { content: string; is_complete: boolean; chunk_id: string; } export class StreamHandler { private listeners: Map<string, (chunk: StreamChunk) => void> = new Map(); private unlistenFunctions: Map<string, () => void> = new Map(); ...
2,365
streamHandler
ts
en
typescript
code
{"qsc_code_num_words": 229, "qsc_code_num_chars": 2365.0, "qsc_code_mean_word_length": 6.22707424, "qsc_code_frac_words_unique": 0.38864629, "qsc_code_frac_chars_top_2grams": 0.05610098, "qsc_code_frac_chars_top_3grams": 0.05049088, "qsc_code_frac_chars_top_4grams": 0.04628331, "qsc_code_frac_chars_dupe_5grams": 0.0981...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/chatMessageConverter.ts
/** * Chat Message Converter * * Utilities for converting between different chat message formats. * Single responsibility: Message format conversion. */ export interface ChatMessage { id: string; role: 'user' | 'assistant' | 'system'; content: string; thinking_content?: string; timestamp?: string; } e...
1,983
chatMessageConverter
ts
en
typescript
code
{"qsc_code_num_words": 198, "qsc_code_num_chars": 1983.0, "qsc_code_mean_word_length": 6.7979798, "qsc_code_frac_words_unique": 0.30808081, "qsc_code_frac_chars_top_2grams": 0.12258544, "qsc_code_frac_chars_top_3grams": 0.0423477, "qsc_code_frac_chars_top_4grams": 0.05794948, "qsc_code_frac_chars_dupe_5grams": 0.264487...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/simplifiedApiAdapter.ts
/** * Simplified API Adapter * * Replaces the complex aiSdkAdapter.ts with a simpler implementation * that leverages the unified stream handler. */ import { invoke } from '@tauri-apps/api/core'; import { unifiedStreamHandler, StreamRequest, StreamOptions, StreamMessage as _StreamMessage } from './unifiedStreamHa...
5,384
simplifiedApiAdapter
ts
en
typescript
code
{"qsc_code_num_words": 478, "qsc_code_num_chars": 5384.0, "qsc_code_mean_word_length": 7.5083682, "qsc_code_frac_words_unique": 0.29288703, "qsc_code_frac_chars_top_2grams": 0.03761493, "qsc_code_frac_chars_top_3grams": 0.01225968, "qsc_code_frac_chars_top_4grams": 0.02786291, "qsc_code_frac_chars_dupe_5grams": 0.32906...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/debugLogger.ts
/** * 调试日志记录模块 * 用于追踪RAG内容显示、聊天记录保存、聊天记录串号等关键问题 */ import { invoke } from '@tauri-apps/api/core'; export type LogLevel = 'DEBUG' | 'INFO' | 'WARN' | 'ERROR' | 'TRACE'; export interface LogEntry { timestamp: string; level: LogLevel; module: string; operation: string; data: any; context?: { userId?:...
11,423
debugLogger
ts
en
typescript
code
{"qsc_code_num_words": 976, "qsc_code_num_chars": 11423.0, "qsc_code_mean_word_length": 6.88729508, "qsc_code_frac_words_unique": 0.25614754, "qsc_code_frac_chars_top_2grams": 0.01472776, "qsc_code_frac_chars_top_3grams": 0.01874442, "qsc_code_frac_chars_top_4grams": 0.02677774, "qsc_code_frac_chars_dupe_5grams": 0.199...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/aiSdkAdapter.ts
/** * AI SDK Adapter for Tauri Backend * * Simplified adapter focused on AI SDK integration. * Uses separated modules for stream handling and API communication. */ import { createAnalysisStream, createChatStream } from './tauriStreamAdapter'; import { tauriApiClient } from './tauriApiClient'; import { convertToT...
3,037
aiSdkAdapter
ts
en
typescript
code
{"qsc_code_num_words": 273, "qsc_code_num_chars": 3037.0, "qsc_code_mean_word_length": 7.91575092, "qsc_code_frac_words_unique": 0.41758242, "qsc_code_frac_chars_top_2grams": 0.05552985, "qsc_code_frac_chars_top_3grams": 0.01943545, "qsc_code_frac_chars_top_4grams": 0.02776492, "qsc_code_frac_chars_dupe_5grams": 0.0157...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/tauriApi.ts
// Tauri API调用模块 - 真实的后端API调用 import { invoke } from '@tauri-apps/api/core'; import { MistakeItem, ChatMessage, RagSourceInfo } from '../types'; // 重新导出类型以保持兼容性 export type { MistakeItem, ChatMessage, RagSourceInfo }; // 回顾分析相关类型 - 复用错题分析结构 export interface ReviewAnalysisItem { id: string; name: string; subject...
41,446
tauriApi
ts
en
typescript
code
{"qsc_code_num_words": 3867, "qsc_code_num_chars": 41446.0, "qsc_code_mean_word_length": 6.28342384, "qsc_code_frac_words_unique": 0.14067753, "qsc_code_frac_chars_top_2grams": 0.03045518, "qsc_code_frac_chars_top_3grams": 0.05177381, "qsc_code_frac_chars_top_4grams": 0.06519055, "qsc_code_frac_chars_dupe_5grams": 0.53...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/utils/dataConsolidationEngine.ts
/** * 数据整合引擎 - 回顾分析功能的核心数据处理模块 * * 负责将多个错题的信息整合成统一的文本格式,供AI分析使用 */ import { MistakeItem, MistakeConsolidationData, ConsolidatedMistakeData, ChatMessage } from '../types/index'; export class DataConsolidationEngine { /** * 从错题对象中提取关键信息用于整合 */ static extractMistakeData(mistake: MistakeItem): MistakeConso...
8,373
dataConsolidationEngine
ts
zh
typescript
code
{"qsc_code_num_words": 864, "qsc_code_num_chars": 8373.0, "qsc_code_mean_word_length": 5.96296296, "qsc_code_frac_words_unique": 0.31365741, "qsc_code_frac_chars_top_2grams": 0.01630435, "qsc_code_frac_chars_top_3grams": 0.02096273, "qsc_code_frac_chars_top_4grams": 0.01863354, "qsc_code_frac_chars_dupe_5grams": 0.1535...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vdasher.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
2,352
vdasher
h
en
c
code
{"qsc_code_num_words": 308, "qsc_code_num_chars": 2352.0, "qsc_code_mean_word_length": 5.13311688, "qsc_code_frac_words_unique": 0.50649351, "qsc_code_frac_chars_top_2grams": 0.0683112, "qsc_code_frac_chars_top_3grams": 0.02656546, "qsc_code_frac_chars_top_4grams": 0.03225806, "qsc_code_frac_chars_dupe_5grams": 0.09108...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vdrawhelper.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
7,837
vdrawhelper
h
en
c
code
{"qsc_code_num_words": 904, "qsc_code_num_chars": 7837.0, "qsc_code_mean_word_length": 5.23451327, "qsc_code_frac_words_unique": 0.33960177, "qsc_code_frac_chars_top_2grams": 0.04733728, "qsc_code_frac_chars_top_3grams": 0.00929839, "qsc_code_frac_chars_top_4grams": 0.01183432, "qsc_code_frac_chars_dupe_5grams": 0.0695...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vglobal.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
8,411
vglobal
h
en
c
code
{"qsc_code_num_words": 1100, "qsc_code_num_chars": 8411.0, "qsc_code_mean_word_length": 4.78363636, "qsc_code_frac_words_unique": 0.23545455, "qsc_code_frac_chars_top_2grams": 0.05416192, "qsc_code_frac_chars_top_3grams": 0.05777271, "qsc_code_frac_chars_top_4grams": 0.04256937, "qsc_code_frac_chars_dupe_5grams": 0.305...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/T-Glass-Applications
ancs_app/main/t_glass.c
#include "t_glass.h" #include "touch_element/touch_button.h" #include "battery_measurement.h" #include "esp_timer.h" // For getting timestamps #include "esp_log.h" #include "ancs_app.h" #define TOUCH_BUTTON_NUM 1 #define DOUBLE_TAP_THRESHOLD_MS 300 // Define a threshold for double-tap detection (e.g., 300 ms) #define ...
17,673
t_glass
c
en
c
code
{"qsc_code_num_words": 2603, "qsc_code_num_chars": 17673.0, "qsc_code_mean_word_length": 4.17134076, "qsc_code_frac_words_unique": 0.1625048, "qsc_code_frac_chars_top_2grams": 0.03039234, "qsc_code_frac_chars_top_3grams": 0.02505065, "qsc_code_frac_chars_top_4grams": 0.0227482, "qsc_code_frac_chars_dupe_5grams": 0.3438...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/T-Glass-Applications
ancs_app/main/jd9613.c
#include "esp_check.h" #include "esp_lcd_panel_interface.h" #include "esp_lcd_panel_io.h" #include "esp_lcd_panel_vendor.h" #include "esp_lcd_panel_ops.h" #include "esp_lcd_panel_commands.h" #include "driver/gpio.h" #include "jd9613.h" #define TAG "jd9613" typedef struct { esp_lcd_panel_t base; esp_lcd_panel_...
11,454
jd9613
c
en
c
code
{"qsc_code_num_words": 1536, "qsc_code_num_chars": 11454.0, "qsc_code_mean_word_length": 4.0625, "qsc_code_frac_words_unique": 0.16471354, "qsc_code_frac_chars_top_2grams": 0.03076923, "qsc_code_frac_chars_top_3grams": 0.05464744, "qsc_code_frac_chars_top_4grams": 0.03333333, "qsc_code_frac_chars_dupe_5grams": 0.391185...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/T-Glass-Applications
ancs_app/main/nvs_manager.c
#include "nvs_manager.h" #include <esp_log.h> #include <string.h> #define TAG "[NVS Manager]" esp_err_t nvs_manager_init(void) { esp_err_t err = nvs_flash_init(); if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) { ESP_LOGW(TAG, "NVS partition truncated, erasing..."); ...
2,931
nvs_manager
c
en
c
code
{"qsc_code_num_words": 419, "qsc_code_num_chars": 2931.0, "qsc_code_mean_word_length": 3.76133652, "qsc_code_frac_words_unique": 0.1575179, "qsc_code_frac_chars_top_2grams": 0.07614213, "qsc_code_frac_chars_top_3grams": 0.04441624, "qsc_code_frac_chars_top_4grams": 0.05076142, "qsc_code_frac_chars_dupe_5grams": 0.66307...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vdasher.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
7,123
vdasher
cpp
en
cpp
code
{"qsc_code_num_words": 764, "qsc_code_num_chars": 7123.0, "qsc_code_mean_word_length": 5.5104712, "qsc_code_frac_words_unique": 0.29842932, "qsc_code_frac_chars_top_2grams": 0.02612827, "qsc_code_frac_chars_top_3grams": 0.02019002, "qsc_code_frac_chars_top_4grams": 0.0064133, "qsc_code_frac_chars_dupe_5grams": 0.185748...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vmatrix.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
4,041
vmatrix
h
en
c
code
{"qsc_code_num_words": 526, "qsc_code_num_chars": 4041.0, "qsc_code_mean_word_length": 4.76806084, "qsc_code_frac_words_unique": 0.3973384, "qsc_code_frac_chars_top_2grams": 0.04385965, "qsc_code_frac_chars_top_3grams": 0.03189793, "qsc_code_frac_chars_top_4grams": 0.01116427, "qsc_code_frac_chars_dupe_5grams": 0.10845...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vpainter.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
2,422
vpainter
h
en
c
code
{"qsc_code_num_words": 332, "qsc_code_num_chars": 2422.0, "qsc_code_mean_word_length": 5.30421687, "qsc_code_frac_words_unique": 0.46385542, "qsc_code_frac_chars_top_2grams": 0.04997161, "qsc_code_frac_chars_top_3grams": 0.05110733, "qsc_code_frac_chars_top_4grams": 0.04542873, "qsc_code_frac_chars_dupe_5grams": 0.2044...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/varenaalloc.cpp
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "varenaalloc.h" #include <algorithm> #include <new> static char* end_chain(char*) { return nullptr; } static uint32_t first_allocated_block(uint32_t blockSize, uint...
5,584
varenaalloc
cpp
en
cpp
code
{"qsc_code_num_words": 598, "qsc_code_num_chars": 5584.0, "qsc_code_mean_word_length": 6.2173913, "qsc_code_frac_words_unique": 0.29598662, "qsc_code_frac_chars_top_2grams": 0.04895105, "qsc_code_frac_chars_top_3grams": 0.02420656, "qsc_code_frac_chars_top_4grams": 0.02178591, "qsc_code_frac_chars_dupe_5grams": 0.05755...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/vector/vpathmesure.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
2,413
vpathmesure
cpp
en
cpp
code
{"qsc_code_num_words": 324, "qsc_code_num_chars": 2413.0, "qsc_code_mean_word_length": 4.92283951, "qsc_code_frac_words_unique": 0.44444444, "qsc_code_frac_chars_top_2grams": 0.05517241, "qsc_code_frac_chars_top_3grams": 0.01630094, "qsc_code_frac_chars_top_4grams": 0.02758621, "qsc_code_frac_chars_dupe_5grams": 0.1442...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/T-Glass-Applications
ancs_app/main/main.c
#include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/semphr.h" #include "esp_log.h" #include "nvs_manager.h" #include "t_glass.h" #include "ancs_app.h" #define TAG "[Glass Main]" void notification_received_callback(NotificationAttributes *notification) { ESP_LOGI(TAG, "N...
1,170
main
c
en
c
code
{"qsc_code_num_words": 149, "qsc_code_num_chars": 1170.0, "qsc_code_mean_word_length": 5.00671141, "qsc_code_frac_words_unique": 0.34228188, "qsc_code_frac_chars_top_2grams": 0.07506702, "qsc_code_frac_chars_top_3grams": 0.10723861, "qsc_code_frac_chars_top_4grams": 0.03217158, "qsc_code_frac_chars_dupe_5grams": 0.0482...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/T-Glass-Applications
ancs_app/main/include/jd9613.h
#pragma once #include "esp_lcd_panel_interface.h" #include "esp_lcd_panel_vendor.h" #define AMOLED_DEFAULT_BRIGHTNESS 175 typedef struct { uint32_t addr; uint8_t param[20]; uint32_t len; } lcd_cmd_t; #define JD9613_INIT_SEQUENCE_LENGTH 88 #define JD9613_WIDTH 126 #define JD9613_HEIGHT 294 #define LCD_CMD...
7,450
jd9613
h
en
c
code
{"qsc_code_num_words": 1033, "qsc_code_num_chars": 7450.0, "qsc_code_mean_word_length": 4.12100678, "qsc_code_frac_words_unique": 0.2875121, "qsc_code_frac_chars_top_2grams": 0.02818887, "qsc_code_frac_chars_top_3grams": 0.02536998, "qsc_code_frac_chars_top_4grams": 0.01879258, "qsc_code_frac_chars_dupe_5grams": 0.2055...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/T-Glass-Applications
ancs_app/main/include/ble_ancs.h
/* * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Unlicense OR CC0-1.0 */ #pragma once #include <stdio.h> #include <stdlib.h> #include <string.h> // EventID values typedef enum { EventIDNotificationAdded = 0, EventIDNotificationModified = 1, EventIDNotific...
3,736
ble_ancs
h
en
c
code
{"qsc_code_num_words": 432, "qsc_code_num_chars": 3736.0, "qsc_code_mean_word_length": 6.375, "qsc_code_frac_words_unique": 0.40972222, "qsc_code_frac_chars_top_2grams": 0.03594771, "qsc_code_frac_chars_top_3grams": 0.01525054, "qsc_code_frac_chars_top_4grams": 0.01851852, "qsc_code_frac_chars_dupe_5grams": 0.12490922,...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0015/esp_rlottie
rlottie/src/wasm/rlottiewasm.cpp
#include <stdlib.h> #include <string> #include "rlottie.h" #include <emscripten/bind.h> using namespace emscripten; const char *resource = "{\"v\":\"5.1.8\",\"fr\":60,\"ip\":3,\"op\":140,\"w\":500,\"h\":500,\"nm\":\"ANUB\",\"ddd\":0,\"assets\":[],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":4,\"nm\":\"a\",\"sr\":1,\"ks\...
55,577
rlottiewasm
cpp
ru
cpp
code
{"qsc_code_num_words": 10357, "qsc_code_num_chars": 55577.0, "qsc_code_mean_word_length": 2.15786425, "qsc_code_frac_words_unique": 0.04953172, "qsc_code_frac_chars_top_2grams": 0.02192492, "qsc_code_frac_chars_top_3grams": 0.03288738, "qsc_code_frac_chars_top_4grams": 0.01789789, "qsc_code_frac_chars_dupe_5grams": 0.8...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc...
0015/esp_rlottie
rlottie/src/lottie/lottiefiltermodel.h
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
12,847
lottiefiltermodel
h
en
c
code
{"qsc_code_num_words": 1329, "qsc_code_num_chars": 12847.0, "qsc_code_mean_word_length": 5.61775771, "qsc_code_frac_words_unique": 0.20316027, "qsc_code_frac_chars_top_2grams": 0.06830967, "qsc_code_frac_chars_top_3grams": 0.04071792, "qsc_code_frac_chars_top_4grams": 0.0310742, "qsc_code_frac_chars_dupe_5grams": 0.358...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000JustMe/PewCrypt
Encryptor/src/main/Crypto.java
package main; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.security.InvalidKeyException; import java.security.Key; import java.security.KeyFactory; import java.security.NoSuchAlgorithmException; import java.security.PublicKey; import java.security.SecureRandom; import java....
5,370
Crypto
java
en
java
code
{"qsc_code_num_words": 769, "qsc_code_num_chars": 5370.0, "qsc_code_mean_word_length": 4.4603381, "qsc_code_frac_words_unique": 0.36671001, "qsc_code_frac_chars_top_2grams": 0.03206997, "qsc_code_frac_chars_top_3grams": 0.04198251, "qsc_code_frac_chars_top_4grams": 0.01282799, "qsc_code_frac_chars_dupe_5grams": 0.01049...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
0001lizhubo/XUnity.AutoTranslator-deepseek
README.md
# XUnity.AutoTranslator-deepseek 本项目通过调用腾讯的DeepSeek V3 API,实现Unity游戏中日文文本的自动翻译。 ## 准备工作 ### 1. 获取API密钥 - 访问[腾讯云API控制台](https://console.cloud.tencent.com/lkeap/api)申请DeepSeek的API密钥(限时免费)。 - 也可以使用其他平台提供的DeepSeek API。 ### 2. 安装依赖 确保已安装以下软件和库: - **XUnity.AutoTranslator** - **Python 3.x** 安装必要的Python库: ```bash pip inst...
1,147
README
md
zh
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": null, "qsc_doc_num_sentences": 35.0, "qsc_doc_num_words": 249, "qsc_doc_num_chars": 1147.0, "qsc_doc_num_lines": 61.0, "qsc_doc_mean_word_length": 3.34538153, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0....
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
0001lizhubo/XUnity.AutoTranslator-deepseek
deepseekv3.py
import os import re import json import time from flask import Flask, request # 导入 Flask 库,用于创建 Web 应用,需要安装:pip install Flask from gevent.pywsgi import WSGIServer # 导入 gevent 的 WSGIServer,用于提供高性能的异步服务器,需要安装:pip install gevent from urllib.parse import unquote # 导入 unquote 函数,用于 URL 解码 from threading import Thread # 导...
14,868
deepseekv3
py
zh
python
code
{"qsc_code_num_words": 3222, "qsc_code_num_chars": 14868.0, "qsc_code_mean_word_length": 2.88981999, "qsc_code_frac_words_unique": 0.23277467, "qsc_code_frac_chars_top_2grams": 0.01460638, "qsc_code_frac_chars_top_3grams": 0.02105037, "qsc_code_frac_chars_top_4grams": 0.01546558, "qsc_code_frac_chars_dupe_5grams": 0.17...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000pp/Pinkerton
CHANGELOG.md
# 1.7 - 10/05/2025 - Removed "banner.txt" file - Removed ASCII art from banner - Changed color and print scheme - Changed "rich.print" to "rich.console.print" - Improved the code - Add -H option, now you can specify custom headers, for example: ``` python3 main.py -u https://webhook.site/793d267f-c86a-48e6-94e6...
3,190
CHANGELOG
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.06469761, "qsc_doc_num_sentences": 27.0, "qsc_doc_num_words": 463, "qsc_doc_num_chars": 3190.0, "qsc_doc_num_lines": 139.0, "qsc_doc_mean_word_length": 4.72354212, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmo...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
000JustMe/PewCrypt
Encryptor/src/main/UI.java
package main; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JTextField; import java.awt.Color; import java.awt.Desktop; import javax.swing.SwingConstants; import javax.swing.JTextArea; import java.awt.Font; import javax.swing.JProgressBar; import javax.imageio.ImageIO; import javax.swi...
67,303
UI
java
en
java
code
{"qsc_code_num_words": 2723, "qsc_code_num_chars": 67303.0, "qsc_code_mean_word_length": 23.35769372, "qsc_code_frac_words_unique": 0.82666177, "qsc_code_frac_chars_top_2grams": 0.0018867, "qsc_code_frac_chars_top_3grams": 0.00163514, "qsc_code_frac_chars_top_4grams": 0.00056601, "qsc_code_frac_chars_dupe_5grams": 0.00...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000pp/Pinkerton
README.md
# 🕵️ Pinkerton > Investigating JavaScript files since 1850 <div align="center"> <img src="https://i.imgur.com/qQXb2ha.png" width=700> </div> <br> <p align="center"> <img src="https://img.shields.io/github/license/000pp/Pinkerton?color=yellow&logo=github&style=for-the-badge"> <img src="https://img.shield...
2,175
README
md
en
markdown
text
{"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.14920071, "qsc_doc_num_sentences": 44.0, "qsc_doc_num_words": 340, "qsc_doc_num_chars": 2175.0, "qsc_doc_num_lines": 78.0, "qsc_doc_mean_word_length": 4.67058824, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmor...
1
{"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_...
00000O00000/ask-ai-screenshot
screenshot_overlay.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ AI截图分析 - 高级截图覆盖层 提供流畅的截图体验,包括区域选择、确认/取消等功能 """ import logging from PIL import ImageGrab, Image from PyQt6.QtCore import Qt, QRect, QPoint, pyqtSignal from PyQt6.QtGui import ( QPainter, QPen, QColor, QFont, QFontMetrics, QKeySequence, QShortcut ) from PyQt6.Q...
17,898
screenshot_overlay
py
en
python
code
{"qsc_code_num_words": 1809, "qsc_code_num_chars": 17898.0, "qsc_code_mean_word_length": 5.1448314, "qsc_code_frac_words_unique": 0.21227197, "qsc_code_frac_chars_top_2grams": 0.04254862, "qsc_code_frac_chars_top_3grams": 0.05802084, "qsc_code_frac_chars_top_4grams": 0.01160417, "qsc_code_frac_chars_dupe_5grams": 0.353...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000pp/Pinkerton
src/pinkerton/main.py
import re from requests import get, exceptions from urllib3 import disable_warnings from rich.console import Console console = Console() from src.pinkerton.settings import get_user_agent from src.pinkerton.modules.secret import scan disable_warnings() def perform_checks(args) -> None: " Check if target is acces...
2,175
main
py
en
python
code
{"qsc_code_num_words": 268, "qsc_code_num_chars": 2175.0, "qsc_code_mean_word_length": 5.05597015, "qsc_code_frac_words_unique": 0.32835821, "qsc_code_frac_chars_top_2grams": 0.07084871, "qsc_code_frac_chars_top_3grams": 0.07675277, "qsc_code_frac_chars_top_4grams": 0.03542435, "qsc_code_frac_chars_dupe_5grams": 0.2354...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/chat-core/components/MessageWithThinking.tsx
import React, { useState } from 'react'; import { MarkdownRenderer } from './MarkdownRenderer'; import { StreamingMarkdownRenderer } from './StreamingMarkdownRenderer'; import { SummaryBox } from '../../components/SummaryBox'; import { ChatMessageContentPart } from '../types/chat'; import { ChatMessage } from '../../ty...
8,593
MessageWithThinking
tsx
en
tsx
code
{"qsc_code_num_words": 568, "qsc_code_num_chars": 8593.0, "qsc_code_mean_word_length": 7.14964789, "qsc_code_frac_words_unique": 0.32394366, "qsc_code_frac_chars_top_2grams": 0.02954937, "qsc_code_frac_chars_top_3grams": 0.01181975, "qsc_code_frac_chars_top_4grams": 0.0280719, "qsc_code_frac_chars_dupe_5grams": 0.02265...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/chat-core/components/SimplifiedChatInterface.tsx
/** * Simplified Chat Interface * * Replaces the complex AI SDK implementation with a simpler approach * that uses the unified stream handler directly. */ import React, { useState, useRef, useEffect } from 'react'; import { useUnifiedStream, StreamMessage } from '../utils/unifiedStreamHandler'; import { Markdown...
9,488
SimplifiedChatInterface
tsx
en
tsx
code
{"qsc_code_num_words": 699, "qsc_code_num_chars": 9488.0, "qsc_code_mean_word_length": 7.15307582, "qsc_code_frac_words_unique": 0.30615165, "qsc_code_frac_chars_top_2grams": 0.0264, "qsc_code_frac_chars_top_3grams": 0.024, "qsc_code_frac_chars_top_4grams": 0.0252, "qsc_code_frac_chars_dupe_5grams": 0.1268, "qsc_code_f...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/chat-core/components/MarkdownRenderer.tsx
import React from 'react'; import ReactMarkdown from 'react-markdown'; import remarkGfm from 'remark-gfm'; import remarkMath from 'remark-math'; import rehypeKatex from 'rehype-katex'; interface MarkdownRendererProps { content: string; className?: string; } // 预处理函数:处理LaTeX和空行 const preprocessContent = (content: ...
3,085
MarkdownRenderer
tsx
en
tsx
code
{"qsc_code_num_words": 265, "qsc_code_num_chars": 3085.0, "qsc_code_mean_word_length": 5.95849057, "qsc_code_frac_words_unique": 0.43773585, "qsc_code_frac_chars_top_2grams": 0.00759975, "qsc_code_frac_chars_top_3grams": 0.00569981, "qsc_code_frac_chars_top_4grams": 0.01266624, "qsc_code_frac_chars_dupe_5grams": 0.0164...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/chat-core/components/AIChatInterface.tsx
/** * AI Chat Interface using Vercel AI SDK * * This component replaces the custom streaming implementation with * Vercel AI SDK's useChat hook for better performance and reliability. */ import React, { useState, useMemo } from 'react'; import { useChat } from '@ai-sdk/react'; import { createAISdkFetch } from '....
8,234
AIChatInterface
tsx
en
tsx
code
{"qsc_code_num_words": 658, "qsc_code_num_chars": 8234.0, "qsc_code_mean_word_length": 6.58510638, "qsc_code_frac_words_unique": 0.32826748, "qsc_code_frac_chars_top_2grams": 0.0443111, "qsc_code_frac_chars_top_3grams": 0.02192476, "qsc_code_frac_chars_top_4grams": 0.02007847, "qsc_code_frac_chars_dupe_5grams": 0.10154...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/chat-core/components/StreamingChatInterface.tsx
/** * Streaming Chat Interface for AI SDK Analysis * * A simplified chat interface optimized for handling Tauri streaming events * with proper thinking chain support and real-time rendering. */ import React, { useState, useImperativeHandle, useEffect, useRef } from 'react'; import { MessageWithThinking } from '....
10,206
StreamingChatInterface
tsx
en
tsx
code
{"qsc_code_num_words": 786, "qsc_code_num_chars": 10206.0, "qsc_code_mean_word_length": 7.34860051, "qsc_code_frac_words_unique": 0.32188295, "qsc_code_frac_chars_top_2grams": 0.02493075, "qsc_code_frac_chars_top_3grams": 0.02908587, "qsc_code_frac_chars_top_4grams": 0.02285319, "qsc_code_frac_chars_dupe_5grams": 0.081...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/chat-core/components/StreamingMarkdownRenderer.tsx
import React, { useState, useEffect, useMemo } from 'react'; import { MarkdownRenderer } from './MarkdownRenderer'; interface StreamingMarkdownRendererProps { content: string; isStreaming: boolean; chainOfThought?: { enabled: boolean; details?: any; }; } type ParsedContent = { thinkingContent: strin...
4,446
StreamingMarkdownRenderer
tsx
zh
tsx
code
{"qsc_code_num_words": 415, "qsc_code_num_chars": 4446.0, "qsc_code_mean_word_length": 6.16626506, "qsc_code_frac_words_unique": 0.39759036, "qsc_code_frac_chars_top_2grams": 0.00937866, "qsc_code_frac_chars_top_3grams": 0.00781555, "qsc_code_frac_chars_top_4grams": 0.02422821, "qsc_code_frac_chars_dupe_5grams": 0.1492...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000linlin/ConsisLoRA
inference.py
import os from pipeline_demo import StableDiffusionXLPipelineLoraGuidance def inference( pipeline: StableDiffusionXLPipelineLoraGuidance, prompt: str, content_image_lora_path: str = None, style_image_lora_path: str = None, add_positive_content_prompt: str = None, add_negative_content_prompt: ...
5,801
inference
py
en
python
code
{"qsc_code_num_words": 680, "qsc_code_num_chars": 5801.0, "qsc_code_mean_word_length": 5.33676471, "qsc_code_frac_words_unique": 0.17352941, "qsc_code_frac_chars_top_2grams": 0.08955635, "qsc_code_frac_chars_top_3grams": 0.07026729, "qsc_code_frac_chars_top_4grams": 0.03968035, "qsc_code_frac_chars_dupe_5grams": 0.4397...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/chat-core/types/chat.ts
/** * Chat Core Type Definitions * * 聊天核心模块的类型定义 */ // RAG知识库来源信息 export interface RagSourceInfo { document_id: string; file_name: string; chunk_text: string; score: number; chunk_index: number; } // 多模态内容块类型 export type ChatMessageContentPart = | { type: 'text'; text: string } | { type: 'image_ur...
1,929
chat
ts
zh
typescript
code
{"qsc_code_num_words": 237, "qsc_code_num_chars": 1929.0, "qsc_code_mean_word_length": 5.72151899, "qsc_code_frac_words_unique": 0.53586498, "qsc_code_frac_chars_top_2grams": 0.09955752, "qsc_code_frac_chars_top_3grams": 0.06268437, "qsc_code_frac_chars_top_4grams": 0.0280236, "qsc_code_frac_chars_dupe_5grams": 0.0, "q...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/styles/modern-sidebar.css
/* Modern Sidebar Styles */ /* 导入现代字体 */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); /* CSS 变量定义 */ :root { --sidebar-bg: #ffffff; --sidebar-border: rgba(226, 232, 240, 0.8); --sidebar-shadow: 0 0 30px rgba(0, 0, 0, 0.08), 0 0 60px rgba(59, 130, 246, 0.03); ...
13,210
modern-sidebar
css
zh
css
data
{"qsc_code_num_words": 1920, "qsc_code_num_chars": 13210.0, "qsc_code_mean_word_length": 4.4984375, "qsc_code_frac_words_unique": 0.15520833, "qsc_code_frac_chars_top_2grams": 0.00856779, "qsc_code_frac_chars_top_3grams": 0.02605071, "qsc_code_frac_chars_top_4grams": 0.03473428, "qsc_code_frac_chars_dupe_5grams": 0.598...
0
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code...
000haoji/deep-student
src/components/settings/ApiConfigSection.tsx
/** * API Configuration Section Component * Split from the large Settings component */ import React, { useState } from 'react'; import { useApiConfig, ApiConfig } from '../../hooks/useApiConfig'; import { useNotification } from '../../hooks/useNotification'; import { ApiConfigModal } from './ApiConfigModal'; expor...
9,847
ApiConfigSection
tsx
en
tsx
code
{"qsc_code_num_words": 743, "qsc_code_num_chars": 9847.0, "qsc_code_mean_word_length": 6.57604307, "qsc_code_frac_words_unique": 0.26379542, "qsc_code_frac_chars_top_2grams": 0.03929595, "qsc_code_frac_chars_top_3grams": 0.01350798, "qsc_code_frac_chars_top_4grams": 0.02660663, "qsc_code_frac_chars_dupe_5grams": 0.3205...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/components/settings/SystemSettingsSection.tsx
/** * System Settings Section Component * Split from the large Settings component */ import React from 'react'; import { useSystemSettings } from '../../hooks/useSystemSettings'; import { useNotification } from '../../hooks/useNotification'; import { Settings as SettingsIcon, CheckCircle, XCircle } from 'lucide-rea...
6,776
SystemSettingsSection
tsx
en
tsx
code
{"qsc_code_num_words": 559, "qsc_code_num_chars": 6776.0, "qsc_code_mean_word_length": 6.20751342, "qsc_code_frac_words_unique": 0.33273703, "qsc_code_frac_chars_top_2grams": 0.07608069, "qsc_code_frac_chars_top_3grams": 0.03458213, "qsc_code_frac_chars_top_4grams": 0.03976945, "qsc_code_frac_chars_dupe_5grams": 0.2247...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...
000haoji/deep-student
src/components/settings/ApiConfigModal.tsx
/** * API Configuration Modal Component * Split from the large Settings component for better maintainability */ import React, { useState, useEffect } from 'react'; import { ApiConfig } from '../../hooks/useApiConfig'; interface ApiConfigModalProps { config: ApiConfig | null; // null for new config onSave: (con...
8,918
ApiConfigModal
tsx
en
tsx
code
{"qsc_code_num_words": 759, "qsc_code_num_chars": 8918.0, "qsc_code_mean_word_length": 5.87615283, "qsc_code_frac_words_unique": 0.256917, "qsc_code_frac_chars_top_2grams": 0.04035874, "qsc_code_frac_chars_top_3grams": 0.04663677, "qsc_code_frac_chars_top_4grams": 0.03295964, "qsc_code_frac_chars_dupe_5grams": 0.264125...
1
{"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc...