content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
/* ESP32_OV5640_AF.cpp - Library for OV5640 Auto Focus (ESP32 Camera) Created by Eric Nam, December 08, 2021. Released into the public domain. */ #include "ESP32_OV5640_AF.h" OV5640::OV5640() { isOV5640 = false; } bool OV5640::start(sensor_t* _sensor) { sensor = _sensor; uint8_t vid, pid; vid = sensor-...
__label__POS
0.822215
package main; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; public class Scraper { public Scraper() { } public int getPewdiepieCount() { try { return this.parseJson(this.getJson("https://www.googleapis.com/youtube/v3/channels?part=s...
__label__POS
0.99484
个性化知识网络系统:最终设计报告 (Neo4j版) 项目代号: Project CogniGraph 版本: 9.0 (Final - Neo4j Architecture) 日期: 2025年6月17日 核心: 一个以Neo4j为统一知识库,融合了多模态输入、AI推荐和高级检索的智能学习系统。 1. 绪论 (Introduction) 1.1 项目愿景与目标 构建一个智能的学习伴侣,将用户在解题过程中的思考(疑问、灵感、方法)结构化、网络化,并通过AI赋能,实现知识的智能检索、主动关联与深度洞察。 1.2 设计哲学与原则 极简核心,智慧涌现: 采用最简化的基础设施(单体Rust后端 + 单一Neo4j数据库),通过设计精良的数据...
__label__POS
0.667344
#pragma once #include <stdint.h> #include <stdbool.h> #include "lvgl.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Map tiles component for LVGL 9.x * * This component provides functionality to load and display map tiles with GPS coordinate conversion. * Tiles are assumed to be 256x256 pixels in RGB565 ...
__label__POS
0.833101
#include <gtest/gtest.h> #include "vrect.h" class VRectFTest : public ::testing::Test { public: void SetUp() { conersionRect = rect; } void TearDown() { } public: VRectF Empty; VRectF illigal{0, 0, -100, 200}; VRectF conersionRect; VRect rect{0, 0, 100, 100}; }; class VRectTe...
__label__POS
0.728238
#ifndef G_CALENDAR_HPP #define G_CALENDAR_HPP #include <string> #include <vector> #include "esp_err.h" // Structure to hold calendar event details struct CalendarEvent { std::string summary; std::string description; std::string creatorEmail; // To store the creator's email std::string organizer...
__label__POS
0.69078
#include "lottiekeypath.h" #include <sstream> LOTKeyPath::LOTKeyPath(const std::string &keyPath) { std::stringstream ss(keyPath); std::string item; while (getline(ss, item, '.')) { mKeys.push_back(item); } } bool LOTKeyPath::matches(const std::string &key, uint32_t depth) { if (ski...
__label__POS
0.869169
// // UIViewController+CustomNavigationBar.h // LoveTourGuide // // Created by 002 on 16/1/5. // Copyright © 2016年 fhhe. All rights reserved. // #import <UIKit/UIKit.h> @interface UIViewController (CustomNavigationBar) @property (nonatomic, strong) UIView *navigationBar; // 自定义navigationBar @property (nonatomic...
__label__POS
0.99255
package main import ( "log" "github.com/006lp/akashchat-api-go/internal/config" "github.com/006lp/akashchat-api-go/internal/handler" "github.com/006lp/akashchat-api-go/internal/service" "github.com/gin-contrib/cors" "github.com/gin-gonic/gin" ) func main() { // Load configuration cfg := config.Load() // In...
__label__POS
0.611084
# FFmpeg-QT实现摄像头rtsp实时显示 1. 程序运行平台:(1)win10 64bit (2)Qt Creator 4.3.1 2. 程序需要的库:(1)Qt 5.9.1(MSVC 2015,32bit) (2)FFmpeg 2.5.2 3. 程序流程图: 程序流程图如图1所示,图中所示的主函数部分主要完成界面的构建、播放线程的建立以及参考坐标系的建立。图1展示了整个程序的运行流程。 ![图1 程序流程图](https://git.oschina.net/uploads/images/2017/0905/143250_0efc807a_1477507.jpeg "视频播放流程图.jpg") 4. ...
__label__POS
0.985536
"use strict"; const formatNumber = n => { n = n.toString() return n[1] ? n : '0' + n } const Time = function (hour = 0, minute = 0, second = 0) { this.hour = hour this.minute = minute this.second = second this.string = function (num = 2) { let ret = [] if (num > 0) { ret.push(this.hour) } ...
__label__POS
0.665434
var Crc32Tab = new Array( /* CRC polynomial 0xEDB88320 */ 0x00000000,0x77073096,0xEE0E612C,0x990951BA,0x076DC419,0x706AF48F,0xE963A535,0x9E6495A3, 0x0EDB8832,0x79DCB8A4,0xE0D5E91E,0x97D2D988,0x09B64C2B,0x7EB17CBD,0xE7B82D07,0x90BF1D91, 0x1DB71064,0x6AB020F2,0xF3B97148,0x84BE41DE,0x1ADAD47D,0x6DDDE4EB,0xF4D4B551,0x83D38...
__label__POS
0.990569
"use strict"; // pages/meeting/detail.js const app = getApp() Page({ /** * 页面的初始数据 */ data: { meeting_id: 0, owner: false, joined: false, attendees_show: false, no_icon_attendee_num: 0, info: {} }, refresh: function () { if (this.data.meeting_id <= 0) { return } ...
__label__POS
0.726817
# Seagate Low Current Spinup <a href="https://github.com/007revad/Seagate_lowCurrentSpinup/releases"><img src="https://img.shields.io/github/release/007revad/Seagate_lowCurrentSpinup.svg"></a> ![Badge](https://hitscounter.dev/api/hit?url=https%3A%2F%2Fgithub.com%2F007revad%2FSeagate_lowCurrentSpinup&label=Visitors&ico...
__label__POS
0.791348
# Synology docker cleanup <a href="https://github.com/007revad/Synology_docker_cleanup/releases"><img src="https://img.shields.io/github/release/007revad/Synology_docker_cleanup.svg"></a> ![Badge](https://hitscounter.dev/api/hit?url=https%3A%2F%2Fgithub.com%2F007revad%2FSynology_docker_cleanup&label=Visitors&icon=gith...
__label__POS
0.651221
var IS_SAFARI = (typeof (safari) != "undefined"); var IS_CHROME = (typeof (chrome) != "undefined"); var IS_OPERA = navigator.vendor.indexOf("Opera") != -1; var DONATION_URL = "http://www.download-station-extension.com/donate"; var SAFARI_UPDATE_MANIFEST = "https://www.download-station-extension.com/downloads/safari-ext...
__label__POS
0.732965
package com.vistrav.ask; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.ActivityCompat; import android.support...
__label__POS
0.830486
package com.vistrav.example; import android.Manifest; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import com.vistrav.ask.Ask; import com.vistrav.ask.annotations.AskDenied; import com.vistrav.ask.annotations.AskGranted; @SuppressWarnings("unused") public class A...
__label__POS
0.878212
package com.cl.interpolatordebugger; import android.animation.TimeInterpolator; import android.animation.ValueAnimator; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.PointF; import android.util.AttributeSet; import ...
__label__POS
0.67583
<script lang="ts"> import { DocsCode, DocsNote, DocsPage } from '$lib/components/page/docs'; </script> <DocsPage title="Analytics" subtitle="What you don't track, you can't improve - analytics is key, even in rapid prototyping."> <p class="mb-8"> This boilerplate offers 2 analytics components: Google Ana...
__label__POS
0.8224
<script lang="ts"> import { DocsCode, DocsPage } from '$lib/components/page/docs'; </script> <DocsPage title="Blog" subtitle="This page will give you everything you need to create your own blog posts and put them on your website."> <p class="mb-8"> The authentication flow in this boilerplate is powered b...
__label__POS
0.830681
<script lang="ts"> import { DocsCode, DocsPage } from '$lib/components/page/docs'; </script> <DocsPage title="Authentication" subtitle="This page will give you everything you need to get started with the authentication flow in this boilerplate."> <p class="mb-8"> The authentication flow in this boilerpla...
__label__POS
0.602483
local api = vim.api local Vdbg = require("visual.debugging") ---Shortcut for `nvim_replace_termcodes`. ---@param keys string ---@return string local function termcodes(keys) return api.nvim_replace_termcodes(keys, true, true, true) --[[@as string]] end ---Returns if two key sequence are equal or not. ---@param a str...
__label__POS
0.703941
// // UITextView+Extras.h // RichText // // Created by Steven Grace on 2/7/13. // Copyright (c) 2013 Steven Grace. All rights reserved. // // UITextView catagories assume // :UITextStorageDirectionForward // :UITextWritingDirectionLeftToRight // // #import <UIKit/UIKit.h> @interface UITextView (Extras) //...
__label__POS
0.660964
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.970073
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.615188
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.721415
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.851438
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.611125
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
1
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.920586
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.992723
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.986911
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.981239
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.999771
package zero.extensions; using zero.extensions.ArrayExt; using zero.extensions.FloatExt; using zero.extensions.StringExt; using Math; /** * A collection of extension methods for strings * * **Usage:** * * - use this extension by adding this where you normally import modules: `using zero.extensions.StringExt;`...
__label__POS
0.623118
package zero.extensions; import zero.utilities.IntPoint; using zero.extensions.FloatExt; using zero.extensions.ArrayExt; using Math; /** * A collection of extension methods for Arrays (some of these are only usable on arrays containing specific types) * * **Usage:** * * - use this extension by adding this wh...
__label__POS
0.972418
package zero.utilities; using Math; /** * A simple Vector class * * **Usage:** * * - Initialize using Vec4.get() `var vec = Vec4.get(0, 1, 0, 1);` * - Or with an array `var vec:Vec4 = [0, 1, 0, 1];` * - Recycle vectors when you're done with them: `my_vector.put()` */ abstract Vec4(Array<Float>) { // Utili...
__label__POS
0.976203
package zero.utilities; import zero.utilities.IntPoint; using Math; /** * A* Pathfinding algorithm with methods to simplify the output. * * **Usage** * * - Get a set of path nodes to traverse a 2D Int Array * * ```haxe * AStar.get_path(my_2D_array, { * start: [1, 1], * end: [10, 10], * passable:...
__label__POS
0.637767
package zero.utilities; using Math; /** * A simple Vector class * * **Usage:** * * - Initialize using Vec3.get() `var vec = Vec3.get(0, 1, 2);` * - Or with an array `var vec:Vec3 = [0, 1, 2];` * - Recycle vectors when you're done with them: `my_vector.put()` */ abstract Vec3(Array<Float>) { // Utility st...
__label__POS
0.927754
package zero.utilities; /** * An extremely simple Entity-Component-System implementation! * * **Usage:** * * - Entities are just integers, but you register and look them up using Strings: `ECS.register_entity('player');` * - Components are just sets of data tied to an entity: `ECS.register_component('player'...
__label__POS
0.851414
package zero.utilities; /** * A Timer that will execute a function once a specified time limit runs out * * **Usage** * * - Import into your project. `import zero.utilities.Timer;` * - Create a new timer! `Timer.get(1, () -> trace('hiya world'), 10);` <- traces "hiya world" every 1 second 10 times * - Make su...
__label__POS
0.916248
package zero.utilities; using Std; /** * Simple EventBus * * **Usage:** * * - Assume `MyClass.listener = (?data:Dynamic) -> trace(data.text)` * - Register listener `EventBus.listen(MyClass.listener, 'hello');` * - Dispatch data `EventBus.dispatch('hello', { text: 'hello world' });` this will trace: `hello wo...
__label__POS
0.954563
package zero.utilities; using Math; using StringTools; /** * A color abstract of Vec4 * * **Usage:** * * - Initialize using Color.get() `var color = Color.get(1, 0, 0, 1); // red` * - Or with an array `var color:Color = [0, 1, 0, 1]; // green` * - Or using a 32 bit Integer `var color = Color.get().from_int32...
__label__POS
0.865705
package zero.utilities; /** * A Simple Pseudo-Random Number Generator * * **Usage:** * * - get a random number using either `int()` or `float()` * - or get a random number within a specific range using `int_range(min, max)` or `float_range(min, max)` * - set a unique seed using `set_seed()` or `set_seed_from_...
__label__POS
0.977202
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.808743
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.936218
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.788275
package com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard; import com.shatteredpixel.shatteredpixeldungeon.levels.Level; import com.shatteredpixel.shatteredpixeldungeon.levels.Terrain; import com.shatteredpixel.shatteredpixeldungeon.levels.painters.Painter; import com.shatteredpixel.shatteredpixeldungeon....
__label__POS
0.853702
package com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard; import com.shatteredpixel.shatteredpixeldungeon.levels.Level; import com.shatteredpixel.shatteredpixeldungeon.levels.Terrain; import com.shatteredpixel.shatteredpixeldungeon.levels.painters.Painter; import com.watabou.utils.Point; import com.watab...
__label__POS
0.741816
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.73325
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2019 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
__label__POS
0.725508
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.973009
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.976968
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.930459
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.98706
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.992732
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.973009
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.976968
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.930459
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.98706
#ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATT...
__label__POS
0.992732
--- title: 工具 (Tools) description: 理解工具 - 赋予智能体采取行动能力的功能 --- 工具是使智能体能够与文本生成之外的世界交互的**行动能力**。它们将智能体从对话实体转变为能够读取文件、搜索网络、执行计算并与外部系统集成的实用执行者。 ## 什么是工具? 在langcrew中,工具是智能体可以调用的函数或服务,用于: - **收集信息** - 搜索引擎、数据库、API - **处理数据** - 计算器、解析器、分析器 - **执行操作** - 文件操作、发送邮件、API调用 - **与用户交互** - 输入收集、审批工作流 ```python from langcrew import ...
__label__POS
0.938807
--- title: 链路追踪 (Tracing) description: 了解如何使用 Langtrace 来追踪您的 LangCrew 执行过程,以实现更好的可观测性和调试。 sidebar: label: 链路追踪 (Tracing) order: 7 --- 在任何复杂的人工智能代理系统中,深入了解其内部运作对于调试、优化和确保可靠性至关重要。链路追踪(Tracing)为您的代理执行路径提供了详细的可视化日志,包括工具使用、代理交互和性能指标。LangCrew 与 [Langtrace](https://langtrace.ai/) 集成,提供开箱即用的强大可观测性。 ## 快速入门:5 步追踪一个 Crew ...
__label__POS
0.768149
#!/bin/bash source pakuri.conf YMDHM=$(date +%F-%H-%M) outDir="${WDIR}/result" thisHost=$(echo $1 | awk -F "," '{print $1}') thisPort=$(echo $1 | awk -F "," '{print $2}') thisServName=$(echo $1 | awk -F "," '{print $3}') if [[ ${thisPort} = "13/tcp" ]]; then thisServName="Daytime" printf "%(%F %T)T [%s] [%...
__label__POS
0.727955
plan_route_task: description: > As a route planning expert, you need to conduct in-depth analysis and planning based on user route requirements. Please comprehensively consider the following factors: - Distance optimization: Analyze the shortest distance routes - Time efficiency: Evaluate traffic conditio...
__label__POS
0.823927
import * as path from "path"; import { getWasmInstanceSync } from "./utils/utils"; test('it should create an array', () => { const instance: WebAssembly.Instance = getWasmInstanceSync( path.join(__dirname, 'data-array.tbs') ); const HEAPF32 = new Float32Array(instance.exports.memory.buffer); le...
__label__POS
0.752593
"use strict";(self.webpackChunkExcalidrawLib=self.webpackChunkExcalidrawLib||[]).push([[9551],{228:function(e){e.exports=JSON.parse('{"labels":{"paste":"Senṭeḍ","pasteAsPlaintext":"","pasteCharts":"Senṭeḍ udlifen","selectAll":"Fren akk","multiSelect":"Rnu aferdis ɣer tefrayt","moveCanvas":"Smutti taɣzut n usuneɣ","cut"...
__label__POS
0.989756
// Package goarabic contains utility functions for working with Arabic strings. package goarabic // Reverse returns its argument string reversed rune-wise left to right. func Reverse(s string) string { r := []rune(s) for i, j := 0, len(r)-1; i < len(r)/2; i, j = i+1, j-1 { r[i], r[j] = r[j], r[i] } return string...
__label__POS
0.976898
// Package goarabic contains utility functions for working with strings. package goarabic import "testing" // Reverse returns its argument string reversed rune-wise left to right. func TestReverse(t *testing.T) { cases := []struct { in, want string }{ {"Hello, world", "dlrow ,olleH"}, {"Crowdbotics", "scitobd...
__label__POS
0.992768
function TurboWrapper(exports, buffer) { var HEAP8 = new Int8Array(buffer); var HEAP16 = new Int16Array(buffer); var HEAP32 = new Int32Array(buffer); var HEAPU8 = new Uint8Array(buffer); var HEAPU16 = new Uint16Array(buffer); var HEAPU32 = new Uint32Array(buffer); var HEAPF32 = new Float32A...
__label__POS
0.637705
declare class boolean { toString(): string; } declare class int8 { toString(): string; } declare class uint8 { toString(): string; } declare class int16 { toString(): string; } declare class uint16 { toString(): string; } declare class int32 { toString(): string; } declare class uint32 { ...
__label__POS
0.999341
// Native types const NaN: float64 = 0.0 / 0.0; const Infinity: float64 = 1.0 / 0.0; function isNaN(value: float32): boolean { return value != value; } function isFinite(value: float32): boolean { return !isNaN(value) && value != Infinity && value != -Infinity; } declare class boolean { toString(): ...
__label__POS
0.96359
// WebAssembly builtin functions declare function rotl(value: int64, shift: int64): int64; declare function rotl32(value: int32, shift: int32): int32; declare function rotr(value: int64, shift: int64): int64; declare function rotr32(value: int32, shift: int32): int32; declare function clz(value: int64): int64; declare ...
__label__POS
0.999907
import {Type} from "./type"; import {isType, Symbol, SYMBOL_FLAG_IS_TEMPLATE, SymbolKind} from "./symbol"; import {SourceRange} from "../../utils/log"; import {Scope} from "./scope"; import {addScopeToSymbol, CheckContext, linkSymbolToNode} from "../analyzer/type-checker"; import {assert} from "../../utils/assert"; /*...
__label__POS
0.803471
import { WasmSectionBinary } from "../wasm-binary-section"; import { WasmSection } from "../../core/wasm-section"; import { ByteArray } from "../../../../utils/bytearray"; import { WasmFunction } from "../../core/wasm-function"; import { WasmOpcode } from "../../opcode" /** * Created by 01 on 2017-06-17. */ export cl...
__label__POS
0.68355
<?xml version='1.0' encoding='utf-8'?> <doc><id>731</id><url>http://www.chinanews.com/gn/2020/03-31/9142857.shtml</url><title>未受疫情影响 各地5G建设加速跑</title><datetime>2020-3-31 11:06:00</datetime><body> 作者:陈曦金凤叶青雍黎王延斌 经常往返禄口机场和城区的张先生最近发现,在机场高速公路上他新买的5G手机全程信号满格不说,地图导航用起来也更顺畅。不止南京,全国不少城市实现了主城区5G基本连续覆盖。 3月24日,工信部发布关于推动5G加快发展的通...
__label__POS
0.999238
package com.dong; import java.lang.invoke.VarHandle; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.ReentrantLock; public class ProduceConsumerTest { private int count = 0; private int maxNum = 3; ReentrantLock lock = new ReentrantLock(); Condition producerCondition =...
__label__POS
0.81168
package com.dong.drpc; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioSocketChanne...
__label__POS
0.94795
package com.dong.drpc; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketChannel; import io.netty.channel.socket.nio.NioServerSocketChannel; import java.net.I...
__label__POS
0.985981
<?php namespace O21\LaravelWallet\Casts; use Illuminate\Contracts\Database\Eloquent\CastsAttributes; class TrimZero implements CastsAttributes { private const WITHOUT_DIGITS_REGEX = '#\.0*$#'; private const HAS_DIGITS_REGEX = '#(\..*?)(0*$)#'; /** * Cast the given value. * * @param \Ill...
__label__POS
0.999451
<?php namespace O21\LaravelWallet\Contracts; use Illuminate\Database\Eloquent\Casts\Attribute; use Illuminate\Database\Eloquent\Relations\MorphTo; /** * @property-read ?\O21\LaravelWallet\Contracts\Payable $from * @property-read ?\O21\LaravelWallet\Contracts\Payable $to * @property-read ?\O21\LaravelWallet\Contra...
__label__POS
0.999473
<?php namespace O21\LaravelWallet\Contracts; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Query\Builder; use Illuminate\Support\Collection; use O21\Numeric\Numeric; interface Converter { /** * @return \Illuminate\Support\Collection<\O21\LaravelWallet\Contracts\Transaction> */ pub...
__label__POS
0.96398
<?php namespace O21\LaravelWallet\Contracts; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Query\Builder; use O21\Numeric\Numeric; interface TransactionCreator { public function commit(): Transaction; public function model(): Transaction; public function amount(string|float|int|Numeri...
__label__POS
0.978413
# 低功耗蓝牙模块(BLE Module) 说明:模块厂商 WeBee,型号:TLS-02,购买链接:https://item.taobao.com/item.htm?id=543235124257 出厂参数:广播名称:BLE SPS; 波特率:9600; 广播间隔:100ms ![WeBee TLS-02](https://github.com/01studio-lab/MicroPython-Examples/blob/master/1.pyBoard%20v1.1(STM32)/4.%E7%89%A9%E8%81%94%E7%BD%91%E6%A8%A1%E5%9D%97/1.%E8%93%9D%E7%89%99(BLE...
__label__POS
0.97819
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
__label__POS
0.610475
Arial_14 = { 'width' :0x0D, 'height':0x0E, 32:(0x4000,), 33:(0x4BFC,), 34:(0x403c,0x4000,0x403c), 35:(0x4120,0x4f20,0x41f0,0x412c,0x4f20,0x41f0,0x412c,0x4120), 36:(0x4430,0x4848,0x4844,0x5ffe,0x4884,0x4484,0x4308), 37:(0x4038,0x4044,0x4844,0x4638,0x4180,0x4060,0x4718,0x4884,0x4880,0x4700), 38:(0x4700,0x48b8,0x4844,0x48...
__label__POS
0.717436
#include <avr/io.h> #include <util/delay.h> #define BUTTON_PIN PD4 void setup(void) { DDRB |= _BV(PB1); // Set PB0 as output, ignore the rest DDRC |= _BV(PC3); DDRD |= _BV(PD0); DDRD |= _BV(PD1); DDRD |= _BV(PD6); DDRD |= _BV(PD7); DDRE |= _BV(PE3); PORTB &= ~(1 << PB1); PORTC |= (1 << PC3); POR...
__label__POS
0.724213
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
__label__POS
0.963093
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
__label__POS
0.816676
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Shattered Pixel Dungeon * Copyright (C) 2014-2025 Evan Debenham * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either vers...
__label__POS
0.981326
COMPONENT NAME=74CBTLV3257BQ_115 VALUE=74CBTLV3257BQ_115 PREFIX=IC SYMBOLS=1 PACKAGE=35 PROPERTIES=11 MANUFACTURER=Nexperia COMPONENT_NAME=74CBTLV3257BQ,115 Mouser Part Number=771-74CBTLV3257BQ115 Mouser Price/Stock=https://www.mouser.co.uk/ProductDetail/Nexperia/74CBTLV3257BQ115?qs=jquClx72t9Cqv7jLVFQulg%3D%3D Arrow P...
__label__POS
0.75721
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"provenance":[],"authorship_tag":"ABX9TyORfgxDEFPG125uYS1AUVbE"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"}},"cells":[{"cell_type":"markdown","source":["## Function Calling\n","\n","大模型使用Function Calling的主要用途是扩展模型的功能,...
__label__POS
0.999891
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"provenance":[],"authorship_tag":"ABX9TyPi5Ho7I9ICMU0Jnn+/aVjA"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"}},"cells":[{"cell_type":"markdown","source":["## Function Calling\n","\n","大模型使用Function Calling的主要用途是扩展模型的功能,...
__label__POS
0.999959
COMPONENT NAME=EVQ-P7A01P VALUE=EVQ-P7A01P PREFIX=S SYMBOLS=1 PACKAGE=16 PROPERTIES=11 MANUFACTURER=Panasonic COMPONENT_NAME=EVQ-P7A01P Mouser Part Number=667-EVQP7A01P Mouser Price/Stock=https://www.mouser.co.uk/ProductDetail/Panasonic/EVQ-P7A01P?qs=rJ%252BziJWpysz7n3C20u6WAw%3D%3D Arrow Part Number=EVQ-P7A01P Arrow P...
__label__POS
0.716999
package main import ( "github.com/030/n3dr/internal/app/n3dr/artifactsv2/count" "github.com/030/n3dr/internal/app/n3dr/connection" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) var ( csv string sort bool ) // repositoriesCmd represents the repositories command. var countCmd = &cobra.Command{ Us...
__label__POS
0.93288
<h2><center>南师大相关知识库问答助手</center></h2> **本项目为自己实践动手的RAG小项目,是基于阿里云服务器构建的。相对来说比较简单,很适合新手入门即时获得成就感。** [阿里云人工智能平台PAI](https://www.aliyun.com/product/bigdata/learn?spm=5176.28536895.J_kUfM_yzYYqU72woCZLHoY.2.4af7586cCxYRdk) 免费试用官方镜像为:py310-cu121-ubuntu22.04, 选择显卡驱动时尽量选较新的支持torch>2.0的 ### 环境配置 ```python pip install -r re...
__label__POS
0.793285
import {getPossibleBanks, isBankAccountValid} from "../src/nuban_util"; describe('isBankAccountValid', () => { it('should throw an error if account number is not 10 digits long', () => { expect(() => isBankAccountValid('123456789', '123')).toThrow('Invalid account number, account number must be 10 digits l...
__label__POS
0.696184
// 处理身份证校验码 #include "easyprint.hpp" #include <iostream> #include <string> #include <string_view> // 1,2 省市自治区 // 3,4 所在地级市 // 5,6 所在区,县,自治县,县级市 // 7-14 出生日期 // 15,16 所在地派出所代码 // 17 性别 // 18 校验码 static constexpr int _id_weight[] = {7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2}; static constexpr char _id_check_...
__label__POS
0.97691
#include <cstring> #include <cwchar> #include <iostream> #include <string> #include <windows.h> std::string utf8_to_ansi(const std::string &u8s) { int wcs_len = MultiByteToWideChar(CP_UTF8, 0, u8s.c_str(), u8s.size(), nullptr, 0); std::wstring wcs(wcs_len, L'\0'); MultiByteToWideChar(CP_UTF8, 0, u8s.c_str(...
__label__POS
0.736015