text stringlengths 24 1.04M | metadata stringlengths 233 497 |
|---|---|
### File: src/main/webapp/static/js/plugins/flot/curvedLines.js
/* The MIT License
Copyright (c) 2011 by Michael Zinsmaier and nergal.dev
Copyright (c) 2012 by Thomas Ritou
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Softwa... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/flot/curvedLines.js", "license": "apache-2.0", "size": 12370} |
### File: src/main/webapp/static/js/plugins/flot/jquery.flot.js
/*! Javascript plotting library for jQuery, v. 0.7.
*
* Released under the MIT license by IOLA, December 2007.
*
*/
// first an inline dependency, jquery.colorhelpers.js, we inline it here
// for convenience
/* Plugin for jQuery for working with colo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/flot/jquery.flot.js", "license": "apache-2.0", "size": 104627} |
### File: src/main/webapp/static/js/plugins/flot/jquery.flot.pie.js
/*
Flot plugin for rendering pie charts. The plugin assumes the data is
coming is as a single data value for each series, and each of those
values is a positive value or zero (negative numbers don't make
any sense and will cause strange effects). The d... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/flot/jquery.flot.pie.js", "license": "apache-2.0", "size": 21501} |
### File: src/main/webapp/static/js/plugins/flot/jquery.flot.resize.js
/* Flot plugin for automatically redrawing plots as the placeholder resizes.
Copyright (c) 2007-2013 IOLA and Ole Laursen.
Licensed under the MIT license.
It works by listening for changes on the placeholder div (through the jQuery
resize event pl... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/flot/jquery.flot.resize.js", "license": "apache-2.0", "size": 2484} |
### File: src/main/webapp/static/js/plugins/flot/jquery.flot.spline.js
/**
* Flot plugin that provides spline interpolation for line graphs
* author: Alex Bardas < alex.bardas@gmail.com >
* modified by: Avi Kohn https://github.com/AMKohn
* based on the spline interpolation described at:
* http://scaledinnovation... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/flot/jquery.flot.spline.js", "license": "apache-2.0", "size": 6252} |
### File: src/main/webapp/static/js/plugins/flot/jquery.flot.symbol.js
/* Flot plugin that adds some extra symbols for plotting points.
Copyright (c) 2007-2014 IOLA and Ole Laursen.
Licensed under the MIT license.
The symbols are accessed as strings through the standard symbol options:
series: {
points: {
symb... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/flot/jquery.flot.symbol.js", "license": "apache-2.0", "size": 2497} |
### File: src/main/webapp/static/js/plugins/gritter/jquery.gritter.css
/* the norm */
#gritter-notice-wrapper {
position:fixed;
top:40px;
right:20px;
width:301px;
z-index:9999;
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/gritter/jquery.gritter.css", "license": "apache-2.0", "size": 2578} |
### File: src/main/webapp/static/js/plugins/jeditable/jquery.jeditable.js
/*
* Jeditable - jQuery in place edit plugin
*
* Copyright (c) 2006-2009 Mika Tuupola, Dylan Verheul
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Project home:
* http://www.appelsiini.n... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/jeditable/jquery.jeditable.js", "license": "apache-2.0", "size": 23547} |
### File: src/main/webapp/static/js/plugins/jqgrid/i18n/grid.locale-cn.js
/**
* jqGrid Chinese Translation
* 咖啡兔 yanhonglei@gmail.com
* http://www.kafeitu.me
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
/*global jQu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/jqgrid/i18n/grid.locale-cn.js", "license": "apache-2.0", "size": 9043} |
### File: src/main/webapp/static/js/plugins/jquery-treegrid/extension/jquery.treegrid.extension.js
(function($) {
"use strict";
$.fn.bootstrapTreeTable = function(options, param) {
// 如果是调用方法
if (typeof options == 'string') {
return $.fn.bootstrapTreeTable.methods[options](this, param);
}
// 如果是初始化组件
o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/jquery-treegrid/extension/jquery.treegrid.extension.js", "license": "apache-2.0"... |
### File: src/main/webapp/static/js/plugins/jquery-treegrid/js/jquery.treegrid.bootstrap3.js
$.extend($.fn.treegrid.defaults, {
expanderExpandedClass: 'glyphicon glyphicon-chevron-down',
expanderCollapsedClass: 'glyphicon glyphicon-chevron-right'
});
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/jquery-treegrid/js/jquery.treegrid.bootstrap3.js", "license": "apache-2.0", "siz... |
### File: src/main/webapp/static/js/plugins/jsKnob/jquery.knob.js
/*!jQuery Knob*/
/**
* Downward compatible, touchable dial
*
* Version: 1.2.8
* Requires: jQuery v1.7+
*
* Copyright (c) 2012 Anthony Terrien
* Under MIT License (http://www.opensource.org/licenses/mit-license.php)
*
* Thanks to vor, eskimoblood... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/jsKnob/jquery.knob.js", "license": "apache-2.0", "size": 25040} |
### File: src/main/webapp/static/js/plugins/jsTree/jstree.js
/*globals jQuery, define, module, exports, require, window, document, postMessage */
(function (factory) {
"use strict";
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
}
else if(typeof module !== 'undefined' && module.exp... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/jsTree/jstree.js", "license": "apache-2.0", "size": 277810} |
### File: src/main/webapp/static/js/plugins/layer/laydate/need/laydate.css
/**
@Name: laydate 核心样式
@Author:贤心
@Site:http://sentsin.com/layui/laydate
**/
html{_background-image:url(about:blank); _background-attachment:fixed;}
.layer-date{display: inline-block!important;vertical-align:text-top;}
.laydate_body .layd... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/layer/laydate/need/laydate.css", "license": "apache-2.0", "size": 6018} |
### File: src/main/webapp/static/js/plugins/layer/laydate/skins/default/laydate.css
/**
@Name: laydate皮肤:墨绿
@Author:贤心
@Site:http://sentsin.com/layui/laydate
**/
.laydate-icon{border:1px solid #ccc; background-image:url(icon.png)}
.laydate_body .laydate_bottom #laydate_hms,
.laydate_body .laydate_time{border:1px... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/layer/laydate/skins/default/laydate.css", "license": "apache-2.0", "size": 3482} |
### File: src/main/webapp/static/js/plugins/layer/layim/layim.css
/*
@Name: layim WebIM 1.0.0
@Author:贤心(子涵修改)
@Date: 2014-04-25
@Blog: http://sentsin.com
*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,input,button,textarea,p,blockquote,th,td,form{margin:0; padding:0;}
input,button,textarea,select,optgroup,opti... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/layer/layim/layim.css", "license": "apache-2.0", "size": 11287} |
### File: src/main/webapp/static/js/plugins/layer/layim/layim.js
/*
@Name: layui WebIM 1.0.0
@Author:贤心
@Date: 2014-04-25
@Blog: http://sentsin.com
*/
;!function(win, undefined){
var config = {
msgurl: 'mailbox.html?msg=',
chatlogurl: 'mailbox.html?user=',
aniTime: 200,
right: -232,
api: {
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/layer/layim/layim.js", "license": "apache-2.0", "size": 23682} |
### File: src/main/webapp/static/js/plugins/layer/skin/moon/style.css
/*
* layer皮肤
* 作者:一☆隐☆一
* QQ:9073194
* 请保留这里的信息 谢谢!虽然你不保留我也不能把你怎么样!
*/
html #layui_layer_skinmoonstylecss {
display: none;
position: absolute;
width: 1989px;
}
body .layer-ext-moon[type="dialog"] {
min-width: 320px;
}
body .layer-ext-moon-m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/layer/skin/moon/style.css", "license": "apache-2.0", "size": 3685} |
### File: src/main/webapp/static/js/plugins/markdown/markdown.js
// Released under MIT license
// Copyright (c) 2009-2010 Dominic Baggott
// Copyright (c) 2009-2010 Ash Berlin
// Copyright (c) 2011 Christoph Dorn <christoph@christophdorn.com> (http://www.christophdorn.com)
(function( expose ) {
/**
* class Markdown... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/markdown/markdown.js", "license": "apache-2.0", "size": 47153} |
### File: src/main/webapp/static/js/plugins/markdown/to-markdown.js
/*
* to-markdown - an HTML to Markdown converter
*
* Copyright 2011, Dom Christie
* Licenced under the MIT licence
*
*/
var toMarkdown = function(string) {
var ELEMENTS = [
{
patterns: 'p',
replacement: function(str, attrs, in... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/markdown/to-markdown.js", "license": "apache-2.0", "size": 5891} |
### File: src/main/webapp/static/js/plugins/metisMenu/jquery.metisMenu.js
/*
* metismenu - v1.1.3
* Easy menu jQuery plugin for Twitter Bootstrap 3
* https://github.com/onokumus/metisMenu
*
* Made by Osman Nuri Okumus
* Under MIT License
*/
;(function($, window, document, undefined) {
var pluginName = "meti... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/metisMenu/jquery.metisMenu.js", "license": "apache-2.0", "size": 3985} |
### File: src/main/webapp/static/js/plugins/morris/morris.js
(function() {
var $, Morris, minutesSpecHelper, secondsSpecHelper,
__slice = [].slice,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/morris/morris.js", "license": "apache-2.0", "size": 65747} |
### File: src/main/webapp/static/js/plugins/nestable/jquery.nestable.js
/*!
* Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/
* Dual-licensed under the BSD or MIT licenses
*/
;(function($, window, document, undefined)
{
var hasTouch = 'ontouchstart' in document;
/**
* D... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/nestable/jquery.nestable.js", "license": "apache-2.0", "size": 17462} |
### File: src/main/webapp/static/js/plugins/plyr/plyr.js
// ==========================================================================
// Plyr
// plyr.js v1.3.6
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================
// Credits: htt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/plyr/plyr.js", "license": "apache-2.0", "size": 75430} |
### File: src/main/webapp/static/js/plugins/simditor/hotkeys.js
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define('simple-hotkeys', ["jquery",
"simple-module"], function ($, SimpleModule) {
return (root.returnExportsGlobal... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/simditor/hotkeys.js", "license": "apache-2.0", "size": 5237} |
### File: src/main/webapp/static/js/plugins/simditor/module.js
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define('simple-module', ["jquery"], function ($) {
return (root.returnExportsGlobal = factory($));
});
} else if (ty... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/simditor/module.js", "license": "apache-2.0", "size": 4746} |
### File: src/main/webapp/static/js/plugins/simditor/simditor.js
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define('simditor', ["jquery",
"simple-module",
"simple-hotkeys",
"simple-uploader"], function ($, SimpleModu... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/simditor/simditor.js", "license": "apache-2.0", "size": 161505} |
### File: src/main/webapp/static/js/plugins/simditor/uploader.js
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define('simple-uploader', ["jquery",
"simple-module"], function ($, SimpleModule) {
return (root.returnExportsGlob... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/simditor/uploader.js", "license": "apache-2.0", "size": 7193} |
### File: src/main/webapp/static/js/plugins/summernote/summernote-zh-CN.js
(function ($) {
$.extend($.summernote.lang, {
'zh-CN': {
font: {
bold: '粗体',
italic: '斜体',
underline: '下划线',
strikethrough: '删除线',
clear: '清除格式',
height: '行高',
name: '字体',
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/summernote/summernote-zh-CN.js", "license": "apache-2.0", "size": 2589} |
### File: src/main/webapp/static/js/plugins/webuploader/webuploader.css
.webuploader-container {
position: relative;
}
.webuploader-element-invisible {
position: absolute !important;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px,1px,1px,1px);
}
.webuploader-pick {
position: relative;
display: inli... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CSS", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/webuploader/webuploader.css", "license": "apache-2.0", "size": 515} |
### File: src/main/webapp/static/js/plugins/webuploader/webuploader.custom.js
/*! WebUploader 0.1.5 */
/**
* @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。
*
* AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。
*/
(function( root, factory ) {
var modules = {},
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/webuploader/webuploader.custom.js", "license": "apache-2.0", "size": 225650} |
### File: src/main/webapp/static/js/plugins/webuploader/webuploader.fis.js
/*! WebUploader 0.1.5 */
var jQuery = require('example:widget/ui/jquery/jquery.js')
return (function( root, factory ) {
var modules = {},
// 内部require, 简单不完全实现。
// https://github.com/amdjs/amdjs-api/wiki/require
_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/webuploader/webuploader.fis.js", "license": "apache-2.0", "size": 273474} |
### File: src/main/webapp/static/js/plugins/webuploader/webuploader.flashonly.js
/*! WebUploader 0.1.5 */
/**
* @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。
*
* AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。
*/
(function( root, factory ) {
var modules = {},
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/webuploader/webuploader.flashonly.js", "license": "apache-2.0", "size": 152230} |
### File: src/main/webapp/static/js/plugins/webuploader/webuploader.html5only.js
/*! WebUploader 0.1.5 */
/**
* @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。
*
* AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。
*/
(function( root, factory ) {
var modules = {},
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/webuploader/webuploader.html5only.js", "license": "apache-2.0", "size": 199894} |
### File: src/main/webapp/static/js/plugins/webuploader/webuploader.js
/*! WebUploader 0.1.5 */
/**
* @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。
*
* AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。
*/
(function( root, factory ) {
var modules = {},
//... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/webuploader/webuploader.js", "license": "apache-2.0", "size": 274451} |
### File: src/main/webapp/static/js/plugins/webuploader/webuploader.noimage.js
/*! WebUploader 0.1.5 */
/**
* @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。
*
* AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。
*/
(function( root, factory ) {
var modules = {},
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/webuploader/webuploader.noimage.js", "license": "apache-2.0", "size": 164117} |
### File: src/main/webapp/static/js/plugins/webuploader/webuploader.nolog.js
/*! WebUploader 0.1.5 */
/**
* @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。
*
* AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。
*/
(function( root, factory ) {
var modules = {},
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/webuploader/webuploader.nolog.js", "license": "apache-2.0", "size": 271707} |
### File: src/main/webapp/static/js/plugins/webuploader/webuploader.withoutimage.js
/*! WebUploader 0.1.5 */
/**
* @fileOverview 让内部各个部件的代码可以用[amd](https://github.com/amdjs/amdjs-api/wiki/AMD)模块定义方式组织起来。
*
* AMD API 内部的简单不完全实现,请忽略。只有当WebUploader被合并成一个文件的时候才会引入。
*/
(function( root, factory ) {
var modules = {}... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/plugins/webuploader/webuploader.withoutimage.js", "license": "apache-2.0", "size": 16310... |
### File: src/main/webapp/static/js/welcome.js
//欢迎信息
layer.config({
extend: ['extend/layer.ext.js', 'skin/moon/style.css'],
skin: 'layer-ext-moon'
});
layer.ready(function () {
var html = $('#welcome-template').html();
$('a.viewlog').click(function () {
logs();
return false;
});
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/js/welcome.js", "license": "apache-2.0", "size": 951} |
### File: src/main/webapp/static/modular/system/code/code.js
/**
* 代码生成管理初始化
*/
var Code = {
};
/**
* 提交代码生成
*/
Code.generate = function () {
var baseAjax = Feng.baseAjax("/code/generate","生成代码");
baseAjax.set("bizChName");
baseAjax.set("bizEnName");
baseAjax.set("path");
baseAjax.set("moduleN... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/code/code.js", "license": "apache-2.0", "size": 329} |
### File: src/main/webapp/static/modular/system/dept/dept.js
/**
* 部门管理初始化
*/
var Dept = {
id: "DeptTable", //表格id
seItem: null, //选中的条目
table: null,
layerIndex: -1
};
/**
* 初始化表格的列
*/
Dept.initColumn = function () {
return [
{field: 'selectItem', radio: true},
{title: 'id', fi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/dept/dept.js", "license": "apache-2.0", "size": 2901} |
### File: src/main/webapp/static/modular/system/dept/dept_info.js
/**
* 初始化部门详情对话框
*/
var DeptInfoDlg = {
deptInfoData : {},
zTreeInstance : null
};
/**
* 清除数据
*/
DeptInfoDlg.clearData = function() {
this.deptInfoData = {};
}
/**
* 设置对话框中的数据
*
* @param key 数据的名称
* @param val 数据的具体值
*/
DeptInfoDlg... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/dept/dept_info.js", "license": "apache-2.0", "size": 3155} |
### File: src/main/webapp/static/modular/system/dict/dict.js
/**
* 字典管理初始化
*/
var Dict = {
id: "DictTable", //表格id
seItem: null, //选中的条目
table: null,
layerIndex: -1
};
/**
* 初始化表格的列
*/
Dict.initColumn = function () {
return [
{field: 'selectItem', radio: true},
{title: 'id', fi... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/dict/dict.js", "license": "apache-2.0", "size": 2686} |
### File: src/main/webapp/static/modular/system/dict/dict_info.js
/**
* 初始化字典详情对话框
*/
var DictInfoDlg = {
count: $("#itemSize").val(),
dictName: '', //字典的名称
mutiString: '', //拼接字符串内容(拼接字典条目)
itemTemplate: $("#itemTemplate").html()
};
/**
* item获取新的id
*/
DictInfoDlg.newId = function () {
if(t... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/dict/dict_info.js", "license": "apache-2.0", "size": 2665} |
### File: src/main/webapp/static/modular/system/log/log.js
/**
* 日志管理初始化
*/
var OptLog = {
id: "OptLogTable", //表格id
seItem: null, //选中的条目
table: null,
layerIndex: -1
};
/**
* 初始化表格的列
*/
OptLog.initColumn = function () {
return [
{field: 'selectItem', radio: true},
{title: 'id'... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/log/log.js", "license": "apache-2.0", "size": 2653} |
### File: src/main/webapp/static/modular/system/log/login_log.js
/**
* 日志管理初始化
*/
var LoginLog = {
id: "LoginLogTable", //表格id
seItem: null, //选中的条目
table: null,
layerIndex: -1
};
/**
* 初始化表格的列
*/
LoginLog.initColumn = function () {
return [
{field: 'selectItem', radio: true},
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/log/login_log.js", "license": "apache-2.0", "size": 3524} |
### File: src/main/webapp/static/modular/system/menu/menu.js
/**
* 角色管理的单例
*/
var Menu = {
id: "menuTable", //表格id
seItem: null, //选中的条目
table: null,
layerIndex: -1
};
/**
* 初始化表格的列
*/
Menu.initColumn = function () {
var columns = [
{field: 'selectItem', radio: true},
{title: '... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/menu/menu.js", "license": "apache-2.0", "size": 3405} |
### File: src/main/webapp/static/modular/system/menu/menu_info.js
/**
* 菜单详情对话框
*/
var MenuInfoDlg = {
menuInfoData: {},
ztreeInstance: null
};
/**
* 清除数据
*/
MenuInfoDlg.clearData = function () {
this.roleInfoData = {};
}
/**
* 设置对话框中的数据
*
* @param key 数据的名称
* @param val 数据的具体值
*/
MenuInfoDlg.set... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/menu/menu_info.js", "license": "apache-2.0", "size": 2531} |
### File: src/main/webapp/static/modular/system/notice/notice.js
/**
* 通知管理初始化
*/
var Notice = {
id: "NoticeTable", //表格id
seItem: null, //选中的条目
table: null,
layerIndex: -1
};
/**
* 初始化表格的列
*/
Notice.initColumn = function () {
return [
{field: 'selectItem', radio: true},
{title... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/notice/notice.js", "license": "apache-2.0", "size": 2863} |
### File: src/main/webapp/static/modular/system/notice/notice_info.js
/**
* 初始化通知详情对话框
*/
var NoticeInfoDlg = {
noticeInfoData : {}
};
/**
* 清除数据
*/
NoticeInfoDlg.clearData = function() {
this.noticeInfoData = {};
}
/**
* 设置对话框中的数据
*
* @param key 数据的名称
* @param val 数据的具体值
*/
NoticeInfoDlg.set = funct... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/notice/notice_info.js", "license": "apache-2.0", "size": 1829} |
### File: src/main/webapp/static/modular/system/role/role.js
/**
* 角色管理的单例
*/
var Role = {
id: "roleTable", //表格id
seItem: null, //选中的条目
table: null,
layerIndex: -1
};
/**
* 初始化表格的列
*/
Role.initColumn = function () {
var columns = [
{field: 'selectItem', radio: true},
{title: '... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/role/role.js", "license": "apache-2.0", "size": 3222} |
### File: src/main/webapp/static/modular/system/role/role_info.js
/**
* 角色详情对话框(可用于添加和修改对话框)
*/
var RolInfoDlg = {
roleInfoData : {},
deptZtree : null,
pNameZtree : null
};
/**
* 清除数据
*/
RolInfoDlg.clearData = function() {
this.roleInfoData = {};
}
/**
* 设置对话框中的数据
*
* @param key 数据的名称
* @param val 数据的具体值... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/role/role_info.js", "license": "apache-2.0", "size": 2932} |
### File: src/main/webapp/static/modular/system/user/user.js
/**
* 系统管理--用户管理的单例对象
*/
var MgrUser = {
id: "managerTable",//表格id
seItem: null, //选中的条目
table: null,
layerIndex: -1,
deptid:0
};
/**
* 初始化表格的列
*/
MgrUser.initColumn = function () {
var columns = [
{field: 'selectItem', r... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/user/user.js", "license": "apache-2.0", "size": 5912} |
### File: src/main/webapp/static/modular/system/user/user_info.js
/**
* 用户详情对话框(可用于添加和修改对话框)
*/
var UserInfoDlg = {
userInfoData: {}
};
/**
* 清除数据
*/
UserInfoDlg.clearData = function () {
this.userInfoData = {};
};
/**
* 设置对话框中的数据
*
* @param key 数据的名称
* @param val 数据的具体值
*/
UserInfoDlg.set = function... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "JavaScript", "repo_name": "vincent_pk/guns", "path": "src/main/webapp/static/modular/system/user/user_info.js", "license": "apache-2.0", "size": 4592} |
### File: src/test/java/com/stylefeng/guns/base/BaseJunit.java
package com.stylefeng.guns.base;
import com.stylefeng.guns.GunsApplication;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_pk/guns", "path": "src/test/java/com/stylefeng/guns/base/BaseJunit.java", "license": "apache-2.0", "size": 1120} |
### File: src/test/java/com/stylefeng/guns/template/TemplateGenerator.java
package com.stylefeng.guns.template;
import com.stylefeng.guns.core.template.config.ContextConfig;
import com.stylefeng.guns.core.template.engine.SimpleTemplateEngine;
import com.stylefeng.guns.core.template.engine.base.GunsTemplateEngine;
imp... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Java", "repo_name": "vincent_pk/guns", "path": "src/test/java/com/stylefeng/guns/template/TemplateGenerator.java", "license": "apache-2.0", "size": 984} |
### File: CMakeLists.txt
cmake_minimum_required(VERSION 3.15)
project(fast_io)
INSTALL (DIRECTORY ${CMAKE_SOURCE_DIR}/include/ DESTINATION include)
INSTALL (DIRECTORY ${CMAKE_SOURCE_DIR}/man/ DESTINATION man/man3)
option(BUILD_I18N_DLLS "build i18n runtime dlls" OFF)
if(BUILD_I18N_DLLS)
set(CMAKE_CXX_STANDARD 20)
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "vincent_personan/fast_io", "path": "CMakeLists.txt", "license": "mit", "size": 3518} |
### File: benchmark/0001.refterm/Makefile
CXX = clang++
FASTIOINCLUDEPATH = -I../../include
CXXFLAGS = -Ofast -march=native -std=c++20 $(FASTIOINCLUDEPATH)
CXXEXTRAFLAGS = -flto
LDFLAGS = -fuse-ld=lld -s
all: out_buf.exe fpipe.exe stdio.exe stdio_hack.exe iostream.exe fstream.exe filebuf_file.exe
out_buf.exe:pch.hpp.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/Makefile", "license": "mit", "size": 1690} |
### File: benchmark/0001.refterm/filebuf_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_legacy.h>
#include<fast_io_driver/timer.h>
using namespace fast_io::io;
inline void test()
{
fast_io::nt_file wf(fast_io::io_dup,fast_io::nt_stdout());
fast_io::filebuf_file fbf(std::move(wf),fast_io::op... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/filebuf_file.cc", "license": "mit", "size": 577} |
### File: benchmark/0001.refterm/filebufpch.hpp
#include<fast_io_legacy.h>
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/filebufpch.hpp", "license": "mit", "size": 30} |
### File: benchmark/0001.refterm/fpipe.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/refterm.h>
using namespace fast_io::io;
inline void test()
{
fast_io::u8obuf_file obf(fast_io::win32_refterm_fast_pipe());
for(std::size_t i{};i!=1000000;++i)
println(obf,i);
}
int main()
{
fast_io::... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/fpipe.cc", "license": "mit", "size": 481} |
### File: benchmark/0001.refterm/fstream.cc
#include<fast_io.h>
#include<fast_io_legacy.h>
#include<fast_io_driver/timer.h>
#include<fast_io_device.h>
using namespace fast_io::io;
inline void test()
{
fast_io::nt_file wf(fast_io::io_dup,fast_io::nt_stdout());
fast_io::filebuf_file fbf(std::move(wf),fast_io::open_mo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/fstream.cc", "license": "mit", "size": 627} |
### File: benchmark/0001.refterm/iostream.cc
#include<fast_io.h>
#include<fast_io_driver/timer.h>
#include<fast_io_device.h>
#include<iostream>
using namespace fast_io::io;
inline void test()
{
for(std::size_t i{};i!=1000000;++i)
std::cout<<i<<'\n';
}
int main()
{
std::ios::sync_with_stdio(false);
fast_io::u8ob... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/iostream.cc", "license": "mit", "size": 477} |
### File: benchmark/0001.refterm/iostreampch.hpp
#include<iostream>
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/iostreampch.hpp", "license": "mit", "size": 22} |
### File: benchmark/0001.refterm/out_buf.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
using namespace fast_io::io;
inline void test()
{
fast_io::out_buf_type obf{fast_io::out()};
for(std::size_t i{};i!=1000000;++i)
println(obf,i);
}
//STDOUT_HANDLE
int main()
{
fast_io::u8o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/out_buf.cc", "license": "mit", "size": 478} |
### File: benchmark/0001.refterm/pch.hpp
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/refterm.h>
| {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/pch.hpp", "license": "mit", "size": 85} |
### File: benchmark/0001.refterm/stdio.cc
#include<fast_io.h>
#include<fast_io_device.h>
using namespace fast_io::io;
inline void test()
{
for(std::size_t i{};i!=1000000;++i)
printf("%zu\n",i);
}
int main()
{
fast_io::u8obuf_file timer_obf(u"stdio.txt");
auto t0{posix_clock_gettime(fast_io::posix_clock_id::mono... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/stdio.cc", "license": "mit", "size": 386} |
### File: benchmark/0001.refterm/stdio_hack.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
using namespace fast_io::io;
inline void test()
{
for(std::size_t i{};i!=1000000;++i)
println(i);
}
int main()
{
fast_io::u8obuf_file timer_obf(u"stdio_hack.txt");
auto t0{posix_clock_g... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0001.refterm/stdio_hack.cc", "license": "mit", "size": 417} |
### File: benchmark/0002.file_io_tsc/c_file_unlocked_tsc.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/tsc_timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::tsc_timer t(u8"output");
fast_io::u8c_file_unlocked obf(u8"c_file... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/c_file_unlocked_tsc.cc", "license": "mit", "size": 571} |
### File: benchmark/0002.file_io_tsc/iobuf_file_tsc.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/tsc_timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::tsc_timer t(u8"output");
fast_io::obuf_file obf("iobuf_file_tsc.txt");... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/iobuf_file_tsc.cc", "license": "mit", "size": 494} |
### File: benchmark/0002.file_io_tsc/longspaces/fstream.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_legacy.h>
#include<fast_io_driver/timer.h>
#include<vector>
#include"longspaces.h"
int main()
{
{
fast_io::timer t(u8"output");
fast_io::filebuf_file obf(u8"fstream.txt",fast_io::open_mode::ou... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/longspaces/fstream.cc", "license": "mit", "size": 658} |
### File: benchmark/0002.file_io_tsc/longspaces/iobuf_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
#include"longspaces.h"
using namespace fast_io::io;
int main()
{
{
fast_io::timer t(u8"output");
fast_io::obuf_file obf("iobuf_file.txt");
for(std::size_t ... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/longspaces/iobuf_file.cc", "license": "mit", "size": 528} |
### File: benchmark/0002.file_io_tsc/longspaces/iobuf_file_verify.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
#include"longspaces.h"
using namespace fast_io::io;
int main()
{
{
fast_io::timer t(u8"output");
fast_io::obuf_file obf("iobuf_file.txt");
for(std::... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/longspaces/iobuf_file_verify.cc", "license": "mit", "size": 674} |
### File: benchmark/0002.file_io_tsc/longspaces/longspaces.h
#pragma once
#include<array>
inline constexpr std::size_t space_size{1024};
inline constexpr std::size_t N(100000);
template<std::integral char_type>
inline constexpr auto generate_filled_chars() noexcept
{
std::array<char_type,space_size> arr;
if conste... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/longspaces/longspaces.h", "license": "mit", "size": 549} |
### File: benchmark/0002.file_io_tsc/longspaces/stdio.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
#include"longspaces.h"
int main()
{
{
fast_io::timer t(u8"output");
fast_io::c_file obf(u8"stdio.txt",fast_io::open_mode::out);
using char_type = typename declt... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/longspaces/stdio.cc", "license": "mit", "size": 651} |
### File: benchmark/0002.file_io_tsc/longspaces/u32iobuf_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
#include"longspaces.h"
using namespace fast_io::io;
int main()
{
{
fast_io::timer t(u8"output");
fast_io::u32obuf_file obf("u32iobuf_file.txt");
for(std... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/longspaces/u32iobuf_file.cc", "license": "mit", "size": 540} |
### File: benchmark/0002.file_io_tsc/longspaces/u32utf8_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
#include"longspaces.h"
using namespace fast_io::io;
int main()
{
{
fast_io::timer t(u8"output");
fast_io::u32outf8_file obf("u32utf8_file.txt");
for(std:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/longspaces/u32utf8_file.cc", "license": "mit", "size": 540} |
### File: benchmark/0002.file_io_tsc/random/c_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include"generate.h"
using namespace fast_io::io;
int main()
{
auto tb{generate_random_data()};
{
fast_io::timer t(u8"output");
fast_io::c_file cf(u8"c_file.txt",::fast_io::open_mod... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/random/c_file.cc", "license": "mit", "size": 511} |
### File: benchmark/0002.file_io_tsc/random/filebuf_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_legacy.h>
#include<fast_io_driver/timer.h>
#include"generate.h"
using namespace fast_io::io;
int main()
{
auto tb{generate_random_data()};
{
fast_io::timer t(u8"output");
fast_io::filebuf_fil... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/random/filebuf_file.cc", "license": "mit", "size": 571} |
### File: benchmark/0002.file_io_tsc/random/generate.h
#include<random>
#include<fast_io_dsal/vector.h>
inline constexpr auto generate_vals() noexcept
{
::fast_io::freestanding::array<::std::uint_least64_t,
::std::numeric_limits<::std::uint_least64_t>::digits10+2> tb;
::std::uint_least64_t v{1};
tb[0]=0;
for(::s... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/random/generate.h", "license": "mit", "size": 915} |
### File: benchmark/0002.file_io_tsc/random/iobuf_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include"generate.h"
using namespace fast_io::io;
int main()
{
auto tb{generate_random_data()};
{
fast_io::timer t(u8"output");
fast_io::u8obuf_file obf(u8"iobuf_file.txt");
fo... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/random/iobuf_file.cc", "license": "mit", "size": 475} |
### File: benchmark/0002.file_io_tsc/random/stdio.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include"generate.h"
int main()
{
auto tb{generate_random_data()};
{
fast_io::timer t(u8"output");
fast_io::c_file cf(u8"stdio.txt",::fast_io::open_mode::out);
for(auto& e : tb)
f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/random/stdio.cc", "license": "mit", "size": 501} |
### File: benchmark/0002.file_io_tsc/random/stream.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_legacy.h>
#include<fast_io_driver/timer.h>
#include"generate.h"
int main()
{
auto tb{generate_random_data()};
{
fast_io::timer t(u8"output");
fast_io::filebuf_file fbf(u8"stream.txt",::fast_io::ope... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/random/stream.cc", "license": "mit", "size": 573} |
### File: benchmark/0002.file_io_tsc/stdio_tsc.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/tsc_timer.h>
#include<vector>
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::tsc_timer t(u8"output");
fast_io::c_file obf(u8"stdio_tsc.txt",fast_io::open_mode::out);
for(std::size_... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/stdio_tsc.cc", "license": "mit", "size": 522} |
### File: benchmark/0002.file_io_tsc/time/c_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::u8c_file obf(u8"c_file.txt",fast_io::open_mode:... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/c_file.cc", "license": "mit", "size": 515} |
### File: benchmark/0002.file_io_tsc/time/c_file_unlocked.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::u8c_file_unlocked obf(u8"c_file_unlock... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/c_file_unlocked.cc", "license": "mit", "size": 551} |
### File: benchmark/0002.file_io_tsc/time/fast_io_llvm_raw_fd_ostream_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/llvm.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/fast_io_llvm_raw_fd_ostream_file.cc", "license": "mit", "size": 408} |
### File: benchmark/0002.file_io_tsc/time/fast_io_llvm_raw_fd_ostream_file_l10n.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/llvm.h>
#include<fast_io_driver/timer.h>
#include<fast_io_i18n.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/fast_io_llvm_raw_fd_ostream_file_l10n.cc", "license": "mit", "size": 482} |
### File: benchmark/0002.file_io_tsc/time/filebuf_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_legacy.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::filebuf_file o... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/filebuf_file.cc", "license": "mit", "size": 562} |
### File: benchmark/0002.file_io_tsc/time/fstream.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_legacy.h>
#include<fast_io_driver/timer.h>
#include<vector>
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::filebuf_file obf(u8"fstream.txt",fast_io::open_m... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/fstream.cc", "license": "mit", "size": 595} |
### File: benchmark/0002.file_io_tsc/time/fstream_std_format.cc
#include<string>
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
#include<format>
#include<fstream>
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
std::ofstream fout("f... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/fstream_std_format.cc", "license": "mit", "size": 356} |
### File: benchmark/0002.file_io_tsc/time/iobuf_file.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::obuf_file obf("iobuf_file.txt");
for(std::... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/iobuf_file.cc", "license": "mit", "size": 474} |
### File: benchmark/0002.file_io_tsc/time/iobuf_file_be32.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::obuf_file obf(u8"iobuf_file_be32.txt")... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/iobuf_file_be32.cc", "license": "mit", "size": 569} |
### File: benchmark/0002.file_io_tsc/time/iobuf_file_bin.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::obuf_file obf(u8"iobuf_file_bin.txt");
for(std::size_t i{};i!=N;++i... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/iobuf_file_bin.cc", "license": "mit", "size": 551} |
### File: benchmark/0002.file_io_tsc/time/iobuf_file_concatln.cc
#include<string>
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::obuf_file obf("io... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/iobuf_file_concatln.cc", "license": "mit", "size": 353} |
### File: benchmark/0002.file_io_tsc/time/iobuf_file_l10n.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
#include<fast_io_i18n.h>
using namespace fast_io::io;
int main()
{
fast_io::native_l10n loc("");
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"ou... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/iobuf_file_l10n.cc", "license": "mit", "size": 382} |
### File: benchmark/0002.file_io_tsc/time/iobuf_file_le32.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::obuf_file obf(u8"iobuf_file_le32.txt")... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/iobuf_file_le32.cc", "license": "mit", "size": 569} |
### File: benchmark/0002.file_io_tsc/time/iobuf_file_leb128.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::u8obuf_file obf(u8"iobuf_file_leb128.... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/iobuf_file_leb128.cc", "license": "mit", "size": 570} |
### File: benchmark/0002.file_io_tsc/time/iobuf_file_mutex.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::obuf_file_mutex obf(u8"iobuf_file_mut... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/iobuf_file_mutex.cc", "license": "mit", "size": 502} |
### File: benchmark/0002.file_io_tsc/time/iobuf_file_mutex_big.cc
#include<fast_io.h>
#include<fast_io_device.h>
#include<fast_io_driver/timer.h>
#include<vector>
using namespace fast_io::io;
int main()
{
constexpr std::size_t N(10000000);
{
fast_io::timer t(u8"output");
fast_io::obuf_file_mutex obf(u8"iobuf_file... | {"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/fast_io", "path": "benchmark/0002.file_io_tsc/time/iobuf_file_mutex_big.cc", "license": "mit", "size": 618} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.