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展示了整个程序的运行流程。

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>
 != "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 |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 22