source stringclasses 40
values | date int32 2.02k 2.02k | text stringlengths 61 2.1M | token_count int32 50 1.16M | category stringclasses 38
values |
|---|---|---|---|---|
common_corpus_Github Open Source | 2,021 | from typing import Optional
import uvicorn
from fastapi import FastAPI
from pydantic import BaseModel
from response_json import to_json, to_json_tip
app = FastAPI()
class Item(BaseModel):
id: Optional[int] = None
name: str
price: float
is_offer: Optional[bool] = None
@app.get('/', summary="数据为 di... | 226 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | std::string deleteWhitespaces(std::string inputStr) {
std::string buf;
std::stringstream ss(inputStr);
std::vector<std::string> nonWhitespaces;
while (ss >> buf) {
nonWhitespaces.push_back(buf);
}
std::string answer = "";
for (int i = 0; i < nonWhitespaces.size(); i++) {
answer += nonWhitespaces[i... | 103 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | use tide::{Request, Response, StatusCode};
pub async fn ping(mut _req: Request<()>) -> tide::Result {
let mut resp = Response::new(StatusCode::Ok);
resp.set_body("PONG");
Ok(resp)
}
| 52 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 山东省淄博市周村区人民法院执 行 裁 定 书(2021)鲁0306执705号申请执行人:林宇,女,1990年7月21日出生,汉族,现住淄博市周村区。被执行人:林剑萍,女,1958年8月6日出生,汉族,现住淄博市周村区。被执行人:林刚,女,1960年10月17日出生,汉族,现住淄博市周村区。被执行人:林丽华,女1962年12月10日出生,汉族,现住淄博市周村区。本院依据已经发生法律效力的淄博市周村区人民法院(2020)鲁0306民初2624号民事调解书,于2021年5月7日立案执行。在本案执行过程中,被执行人未能协助申请执行人办理房屋产权转移登记。依照《中华人民共和国民事诉讼法》第一百五十四条、第二百五十一条、第二百五十二条规定,裁定... | 619 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | @extends('admin.layouts.single')
@section('emp')
<div class="container">
<h1 class="mt-4">Dashboard</h1>
<ol class="breadcrumb mb-4">
<li class="breadcrumb-item"><a href="{{URL::to('dashboard')}}">Dashboard</a></li>
<li class="breadcrumb-item active"><a>Manage Se... | 525 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /* -------------------------------------------------------------------------
*
* stringinfo.cpp
*
* StringInfo provides an indefinitely-extensible string data type.
* It can be used to buffer either ordinary C strings (null-terminated text)
* or arbitrary binary data. All storage is allocated with palloc().
*
... | 2,705 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | # -*- coding: utf-8 -*-
# Copyright (c) 2019, ElasticRun and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
from latte.utils import export_to_files
from six import string_types
import json
class View(Docum... | 372 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1,018 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | <template>
<div class="chaiListAdmin">
<van-nav-bar left-text="差旅费列表" left-arrow fixed @click-left="leftBack">
<template #right>
<van-icon name="down" size="18" @click="dateShowDown=true" />
</template>
</van-nav-bar>
<van-overlay :show="dateShowDown" @click="dateShowDown=false" />
... | 3,151 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 四川省绵阳市游仙区人民法院执 行 裁 定 书(2021)川0704执1062号申请执行人秦瑞霞被执行人中国核工业二四建设有限公司本院依据已发生法律效力的四川省绵阳市中级人民法院作出的(2021)川07民终90号民事判决书,责令被执行人中国核工业二四建设有限公司履行生效法律文书确定的义务,但被执行人至今未履行生效法律文书确定的义务,依照《中华人民共和国民事诉讼法》第二百四十二条、第二百四十三条、第二百四十四条的规定,裁定如下:冻结、划拨、提取被执行人中国核工业二四建设有限公司在金融机构、其他单位的存款、收入77473元(执行费1046元)或查封、扣押、拍卖同等价值的财产。本裁定送达后即发生法律效力。执行员 胡贵二〇二一年五月二十日书... | 365 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | import * as TypeGraphQL from "type-graphql";
import * as GraphQLScalars from "graphql-scalars";
import { Prisma } from "@prisma/client";
import { DecimalJSScalar } from "../../scalars";
import { SoldItemScalarWhereInput } from "../inputs/SoldItemScalarWhereInput";
import { SoldItemUpdateManyMutationInput } from "../inp... | 173 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | #include <parrlib/Matrix2f.h>
#include <parrlib/OtherUtil.h>
#define PI 3.141592
Matrix2f::Matrix2f(){
}
Matrix2f::Matrix2f(float m[2][2]) {
for (int i = 0; i < 2; i++) {
for (int j = 0; j < 2; j++) {
this->m[i][j] = m[i][j];
}
}
}
Matrix2f::Matrix2f(float f) {
for (int i = 0; i < 2; i++) {
for (int j... | 651 | cc:Github Open Source |
common_corpus_USPTO | 2,021 | The localizing circuit may be defined by inputs from one or more of the sensors 270A-270H of the mobile robot 200, which may be used by the controller 220 to perform localization in the operating environment 10. More particularly, one or more of the localizing sensors 270A-2701-1 are configured to detect sensor reading... | 8,697 | formal_gov |
common_corpus_Github Open Source | 2,021 | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Rebasing.xyz ReBot
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the r... | 1,222 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 四川省自贡市沿滩区人民法院 民 事 裁 定 书 (2020)川0311民初1945号 原告:深圳市彩生活物业管理有限公司,住所地广东省深圳市龙华新区民治街道留仙大道边综合楼****。 法定代表人:昌荣,董事长。 委托诉讼代理人:胡翔,四川熙然律师事务所律师。 被告:余涛,男,1993年12月2日出生,汉族,住四川省自贡市沿滩区。 本院在审理原告深圳市彩生活物业管理有限公司诉被告余涛物业服务合同纠纷一案中,原告深圳市彩生活物业管理有限公司在本院依法送达交纳诉讼费用通知后,未在七日内预交案件受理费,也未提出缓交申请。 依照《中华人民共和国民事诉讼法》第一百一十八条第一款,最高人民法院关于适用《中华人民共和国民事诉讼法》的解释第二百一十三... | 484 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from flask import Flask, abort, request, send_file
from flask_script import Manager
from flask_cors import CORS
import os
import requests
import ipfshttpclient
import logging
from logdna import LogDNAHandler
app = Flask(__name__)
CORS(app)
app.config.from_pyfile('config.... | 906 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /**
* Copyright © 2014-2021 The SiteWhere Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 536 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | <template>
<v-footer absolute style="background-color: transparent;">
<router-link to="/about">关于作业互评</router-link>
<span v-html="` `" />
©2020 - {{ new Date().getFullYear() }}
Created by <a href="https://vuetifyjs.com/" target="... | 187 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | extends Node2D
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
var dialogue = [
#<<<<<<< HEAD
#=======
". . . IT'S GROWN OVER MY EYES AGAIN.",
"THE LAST TIME I GOT IT CUT . . .",
"IT WAS BECAUSE SHE TOLD ME TO.",
"SHE ALWAYS SAID SHE DIDN'T LIKE IT WHEN I COVERED MY EYES.",
"SHE WANT... | 558 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import { objectTitle } from './DetailsStore';
import { actObject, objectTypes } from '../../../core/testHelper';
it('can make objectTitle', () => {
const threatActor = actObject({ id: 'a', type: objectTypes.threatActor });
expect(objectTitle(threatActor, 'name', [], { threatActor: '#606' })).toEqual({
title: ... | 105 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /* global document, window */
import * as React from "react";
import ReactDOM from "react-dom";
import { ColorResult } from "react-color";
import { Code, ColorPicker, LoaderItem, SpeedMultiplierInput } from "./components";
import * as Spinners from "../src";
import { LoaderSizeMarginProps, LoaderHeightWidthRadiusProps... | 752 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | @extends('layouts.app')
@section('content')
<div id="detail">
<div class="main">
<article>
<div class="show-content">
<p></p>
<p></p>
<h2 style="margin-left: 0cm; text-align: center;">问答细则及责任声明</h2>
... | 3,744 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | //***********************************************************************************************
//
//***********************************************************************************************
// Usage:
// 1) Inherit Observee / Observer
// 2) Register the Observer with the Observee by passing an SObserver struct.... | 506 | cc:Github Open Source |
common_corpus_USPTO | 2,021 | Context and rule based dynamic communication channels for collaboration between users
ABSTRACT
Providing expert help to a user comprises providing an application for execution on a mobile device of the user associated with an entity. A computer receives entity rules from the entity, the entity rules include a definit... | 8,487 | formal_gov |
common_corpus_Github Open Source | 2,021 | import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:flutter_typeahead/flutter_typeahead.dart';
import 'package:http/http.dart' as http;
import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';
import 'package:monk/src/bars/MonkScaffold.dart';
import '... | 2,671 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | // Copyright (c) 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import * as Common from '../../../../core/common/common.js';
import * as TextUtils from '../../../../models/text_utils/text_utils.js';
import * as UI ... | 9,269 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | require 'grape_entity'
module Grape::App::Helpers::RespondWith
class Errors < Grape::Entity
expose :errors
end
# @param [ActiveRecord::Base] record validated record
def respond_with(record, opts = {})
unless record.errors.empty?
opts[:with] = Errors
status 400
end
present record, o... | 88 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 山东省聊城市东昌府区人民法院执 行 裁 定 书(2021)鲁1502执906号之一申请执行人:岳某,男,2009年2月24日出生,汉族,住山东省聊城市东昌府区。法定代理人:刘某,女,1978年2月12日出生,汉族,住山东省聊城市东昌府区。被执行人:岳增鹏,男,1978年6月7日出生,汉族,住山东省聊城市东昌府区。本院在执行申请执行人岳某与被执行人岳增鹏离婚纠纷一案过程中,向被执行人邮寄送达执行通知书等,限期自动履行生效法律文书确定的义务,本案在执行过程中,申请执行人向本院提出撤回执行申请,依照《中华人民共和国民事诉讼法》第二百五十七条之规定,裁定如下:终结(2021)鲁1502执906号案件的执行。本裁定送达后立即生效。审 判 长 ... | 425 | cc:Chinese-Court-Decisions |
common_corpus_Chinese-Court-Decisions | 2,021 | 湖南省长沙市芙蓉区人民法院案 件 执 行 结 案 通 知 书(2021)湘0102执恢1145号申请执行人兴业银行股份有限公司长沙分行和被执行人彭晓艳金融借款合同纠纷一案,本院已经审理终结。申请执行人于2021年5月13日向本院申请执行长沙市芙蓉区人民法院已生效(2017)湘0102民初5808号民事判决书,2021年5月17日,申请执行人申请结案。依照《最高人民法院关于人民法院执行工作若干问题的规定(试行)》第64条第(1)项的规定,通知如下:本案的执行结案方式为执行完毕,生效法律文书确定的内容全部执行完毕。本案执行程序宣告结束。审判员 朱阿军二〇二一年五月十七日书记员 袁 璐 关注微信公众号“马克数据网” | 325 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | /*!
* @author electricessence / https://github.com/electricessence/
* Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
*/
System.register(["./IteratorResult"], function (exports_1, context_1) {
"use strict";
var IteratorResult_1, VOID0, SimpleEnumerableBase;
var __m... | 659 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 成都市成华区人民法院 民 事 判 决 书 (2021)川0108民初3906号 原告:伍小丽,女,汉族,1971年6月24日出生,住成都市成华区。 委托诉讼代理人:赖慧敏,四川浩典律师事务所律师,特别授权。 被告:吴顺光,男,汉族,1977年2月15日出生,住四川省罗江县。 委托诉讼代理人:李龙平,四川超宇律师事务所律师,一般授权。 委托诉讼代理人:肖清,四川超宇律师事务所律师,一般授权。 被告:谢斌,男,汉族,1981年4月4日出生,住四川省罗江县。 原告伍小丽与被告吴顺光、谢斌民间借贷纠纷一案,本院于2021年3月10日受理后,依法适用简易程序,于2021年4月21日、5月19日公开开庭进行了审理。原告伍小丽及其委托诉讼代理人赖... | 3,308 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | namespace StarCitizen_API_Wrapper.Models.Starmap.StarSystem
{
/// <summary>
/// Represents the planet size part of the shader data response object.
/// </summary>
public class ShaderDataPlanetSize
{
/// <summary>
/// This objects k-factor.
/// </summary>
public doubl... | 145 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import { Alert, AlertIcon, Flex } from "@chakra-ui/core";
import React from "react";
interface ErrorProps {}
export const Error: React.FC<ErrorProps> = () => {
return (
<Flex
h="100%"
borderRadius="10px"
justifyContent="center"
alignItems="center"
>
<Alert status="error" border... | 107 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 上海金融法院民 事 裁 定 书(2021)沪74民辖终22号上诉人(原审被告):江苏鸿轩生态农业有限公司,住所地江苏省南通市。法定代表人:徐鸿飞。被上诉人(原审原告):南京银行股份有限公司上海分行,营业场所上海市静安区。负责人:陈晓江,该行行长。委托诉讼代理人:周玮,上海虹桥正瀚律师事务所律师。委托诉讼代理人:方标,上海虹桥正瀚律师事务所律师。上诉人江苏鸿轩生态农业有限公司因金融借款合同纠纷一案,不服上海市静安区人民法院(2020)沪0106民初42451号之一民事裁定,向本院提起上诉。江苏鸿轩生态农业有限公司上诉称,对公民提起的民事诉讼,由被告住所地人民法院管辖;被告住所地与经常居住地不一致的,由经常居住地人民法院管辖。江苏鸿轩生... | 1,200 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | import cv2
import numpy as np
def visualize_rect(img, roi_dict, color=(0, 255, 0)):
for index, roi in roi_dict['roi'].items():
tl_x = roi['tl_x']
tl_y = roi['tl_y']
br_x = roi['br_x']
br_y = roi['br_y']
cv2.rectangle(img, (tl_x, tl_y), (br_x, br_y), color, 2)
return im... | 821 | cc:Github Open Source |
common_corpus_StackExchange | 2,021 | Erlang Binary Input Example
Below erlang code fails with bad argument error in
** exception error: bad argument in function re:split/3.
What should be the input for build_keyword_set ? I have tried giving binary input, string input, list of strings and list of binary objects, but it fails for all.
-module(keywords).
-... | 252 | misc_reference |
common_corpus_Github Open Source | 2,021 | using BotApp.Extensions.Common.Consul.Domain;
using Consul;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Hosting.Server.Features;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Linq;
using System.Net;
using... | 632 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class Cladogram : MonoBehaviour
{
public static System.Random RANDOM = new System.Random();
public static float NODE_WIDTH = 1;
public static float NODE_HEIGHT = 1;
public static float BUFFER_FACTOR ... | 1,198 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | package com.doublechain.idgen.snowflake;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteCache;
import org.apache.ignite.Ignition;
import org.apache.ignite.cluster.ClusterNode;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.internal.managers.discovery.IgniteDiscove... | 382 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | #!/usr/bin/env python
# Copyright 2008, Google Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of... | 548 | cc:Github Open Source |
common_corpus_USPTO | 2,021 | FIG. 12 depicts a schematic of a logical database structure for performing multi-resolution tag identification. Authentication database 205 can be configured with the schema depicted in FIG. 12, in some embodiments. Authentication database 1205 can be configured to store hashes generated using secure tags. These hashes... | 8,567 | formal_gov |
common_corpus_Chinese-Court-Decisions | 2,021 | 安徽省全椒县人民法院民 事 裁 定 书(2021)皖1124财保11号申请人:何其英,女,1970年3月29日出生,汉族,住安徽省全椒县。被申请人:晋元刚,男,1969年8月24日出生,汉族,现羁押于全椒县看守所。被申请人:范兴梅,女,1970年4月30日出生,汉族,住安徽省全椒县。申请人何其英于2021年4月20日向本院申请诉前财产保全,请求保全被申请人晋元刚、范兴梅名下银行存款24万元或查封其名下位于安徽省全椒县47号的房产(不动产权证号为:全房字第Jxxxxxxx号)。申请人何其英以保单提供担保。本院经审查认为,申请人何其英的申请符合法律规定,应予准许。依照《中华人民共和国民事诉讼法》第一百零一条、第一百零二条、第一百零三条第... | 631 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | import React, {
useState, useEffect, useRef, createContext, useReducer, memo,
} from 'react';
import {
IconPlayerPlay,
IconRefresh
} from '@tabler/icons';
import classNames from 'classnames';
import { setPositionFalse, setPositionTrue } from '@/reducers/inset/slice';
import { useDispatch } from 'react-redux';
imp... | 1,141 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | <template>
<div>
<label class="custom-file-upload primary-custome"> {{ $t('label.select-file') }}
<input ref="file" class="input-multiple" type="file" accept=".pdf, .doc, .docx, .ppt, .pptx, image/*" @change="handleFileUpload">
</label>
<span v-if="fileAccept !== null" class="file-name">
{{ fi... | 556 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | Public Class Build_crypt
'########################################################################################################
'################## تحياتى للى داخلين مجال البرمجة و هم كل اللى يعرفوه نقطة فى داحل بحر من مبرمج صغير داخل شركة برمجة صغيرة
'############################################# تحيت... | 1,424 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import * as React from "react";
import { JSX } from "react-jsx";
import { IFluentIconsProps } from '../IFluentIconsProps.types';
const News24Filled = (iconProps: IFluentIconsProps, props: React.HTMLAttributes<HTMLElement>): JSX.Element => {
const {
primaryFill,
className
} = iconProps;
return <svg {...pr... | 550 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | package com.willowtreeapps.hyperion.attr.support.v4;
import android.support.annotation.NonNull;
import android.support.v4.widget.NestedScrollView;
import com.google.auto.service.AutoService;
import com.willowtreeapps.hyperion.attr.ViewAttribute;
import com.willowtreeapps.hyperion.attr.collectors.TypedAttributeCollect... | 181 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import styled from 'styled-components';
export default styled.span<{ size: 'medium' | 'large' }>`
font-size: ${(props) => (props.size === 'large' ? '8rem' : '5rem')};
font-style: italic;
font-weight: bolder;
@media (max-width: 700px) {
font-size: ${(props) => (props.size === 'large' ? '5rem' : '4rem')};
}
@m... | 138 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | "use strict";
import tap from "tap";
import { sha1 } from "../../src/common/sha1.js";
tap.equal("92cfceb39d57d914ed8b14d0e37643de0797ae56", sha1(42));
tap.equal("21d90aad4d34f48f4aad9b5fa3c37c118af16df9", sha1("Value to be hashed"));
tap.equal("d5d4cd07616a542891b7ec2d0257b3a24b69856e", sha1()); // undefined
tap.equ... | 1,109 | cc:Github Open Source |
common_corpus_Eurlex | 2,021 | —
– vara sakausējumi:
7403 21 00
– – vara un cinka sakausējumi (misiņš)
bez nod.
—
7403 22 00
– – vara un alvas sakausējumi (bronza)
bez nod.
—
7403 29 00
– – citādi vara sakausējumi (izņemot pozīcijā 7405 minētās ligatūras)
bez nod.
—
7404 00
Vara atgr... | 25,697 | cc:Eurlex |
common_corpus_Chinese-Court-Decisions | 2,021 | 广东省东莞市第二人民法院 执 行 裁 定 书 (2021)粤1972执802号 申请执行人:招商银行股份有限公司信用卡中心。住所地:上海市浦东新区来安路686号,统一社会信用代码为9130000786713482M。 负责人:刘加隆,该中心总经理。 委托诉讼代理人:王巍恒,广东凡立(东莞)律师事务所律师。 被执行人:曾四未,男,1984年10月26日出生,汉族,住湖南省临武县。 执行申请 执行依据:本院作出已经发生法律效力的(2019)粤1972民初11809事判决书。 案由:银行卡纠纷 立案日期:2021年1月5日。 执行内容:根据上述执行依据,被执行人应向申请执行人支付信用卡欠款本金59636.05元、利息9136.76元、分期... | 1,096 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | using System;
using System.IO;
using Grpc.Core;
using NeoFS.Crypto;
using NeoFS.Utils;
using NeoFS.API.Service;
using System.Threading.Tasks;
using NeoFS.API.State;
using Google.Protobuf;
using NeoFS.API.Session;
using NeoFS.API.Object;
namespace cmd
{
partial class Program
{
static async Task ObjectD... | 1,195 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | #!/bin/sh
#SBATCH --account=rpp-bengioy
#SBATCH --gres=gpu:1
#SBATCH --mem=32G
#SBATCH -c 8
#SBATCH -n 1
#SBATCH --tmp=256G
#SBATCH --time=3:00:00
ssh -N -R 9611:localhost:9611 beluga2 &
module load python/3.6
mkdir -p $SLURM_TMPDIR/env/temp
mkdir -p $SLURM_TMPDIR/data
cp -r ~/Venv/temp/* $SLURM_TMPDIR/env/temp
cp -r... | 459 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | # System tests.
module TestSystem
using DataFrames
using RDatasets
#using DelimitedFiles
import CombineML
using InteractiveUtils
using CombineML.Types
using CombineML.System
using CombineML.Transformers
if LIB_SKL_AVAILABLE
using CombineML.Transformers.ScikitLearnWrapper
end
if LIB_CRT_AVAILABLE
using CombineML.T... | 788 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | # -*- coding: utf-8 -*-
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and contributors
# For license information, please see license.txt
from __future__ import unicode_literals
import frappe
from frappe.model.document import Document
class BinSetup(Document):
def validate(self):
self.before_save()
def befo... | 159 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 295 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import { Injectable } from '@angular/core';
import { ApiService } from './api.service';
@Injectable({
providedIn: 'root'
})
export class SkillService {
constructor(private apiService: ApiService) { }
async GetAll(skip: number = 0) {
return await this.apiService.get(`/api/v1/Skill?RequireTotalCount=true&Ski... | 253 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | #include<stdio.h>
int a; //global variable unintialized
int b = 10; //global variable initialized
int add(int x, int y)
{
int sum = 0; //local variable to add
sum = x+y;
return (sum);
}
int main(int argc, char const *argv[])
{
int c = 20; //local variable to main
printf("Add = %d\n", add... | 112 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | use std::time::{
Instant,
Duration
};
use std::fmt;
#[derive(Clone)]
pub struct Deltatime {
value: Duration,
last_update: Instant
}
impl Deltatime {
pub fn new() -> Self {
Self {
value: Duration::new(0, 0),
last_update: Instant::now()
}
}
/// Returns the current deltatim... | 371 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | #import <Cocoa/Cocoa.h>
// vim: set filetype=objcpp
extern NSString *kChromaprintAPIKey;
int ChromaprintFingerprint(NSString *url, NSString **fingerprint, int *duration);
NSDictionary *AcoustIDLookup(NSString *apiKey, NSString *fingerprint, int duration, NSArray *fields);
int ChromaprintGetAcoustID(NSString *apiKey, ... | 97 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | package com.thunderpunch.sample.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.util.TypedValue;
import ... | 841 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | #!/bin/bash
#
# Version: 1.0.2
# Date: 2021-01-21
usage() {
echo
echo "USAGE: ${0} <source_storage_account>:<container>:<file> <destination_storage_account>:<container>[:<file>]"
echo
}
display_help() {
echo
echo "This command enables you to easily copy an file (blob) from one Azure Storage Container to ano... | 1,550 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | //
//
// UIView.swift
// PhobosSwiftCore
//
// Copyright (c) 2021 Restless Codes Team (https://github.com/restlesscode/)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | 3,666 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | -------------------------------------------------
--- *** SHA-1 algorithm for Lua *** ---
-------------------------------------------------
--- Author: Martin Huesser ---
--- Date: 2008-06-16 ---
--- License: You may use this code in your ---
--- project... | 1,519 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using System.Linq;
using System.Threading.Tasks;
using Npgsql;
using Normal.UnitTests.Fixtures;
using Xunit;
namespace Normal.UnitTests
{
public class SelectBuilderTests
{
private static readonly string _postgresConnection = "Host=localhost;Database=wide_world_importers_pg;Username=normal;Password=nor... | 1,264 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import { Arbitrary as JSCArbitrary, random as jscRandom } from "jsverify";
import {
Arbitrary as FCArbitrary,
Shrinkable as FCShrinkable,
Random as FCRandom,
Stream as FCStream
} from "fast-check";
import { buildRngState } from "./build-rng-state";
/** @hidden */
class WrappedArbitrary<T> extends FCArbitrary<T... | 397 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 河南省永城市人民法院执 行 裁 定 书(2021)豫1481执1388号之一申请执行人:江加云,男,1963年1月16日出生,汉族,住湖南省平江县。申请执行人:余杰,男,1976年10月20日出生,汉族,住湖南省平江县。被执行人:永城市华茂置业有限公司,住所地:河南省永城市东城区光明路南中原路西金瀚美食城E13号,统一社会信用代码:91411481MA46XJK68N。法定代表人:平建华,经理。被执行人:平建华,男,1967年1月20日出生,汉族,住江苏省昆山市。被执行人:张立波,男,1966年7月6日出生,汉族,住湖南省岳阳市岳阳楼区。本院在执行江加云、余杰与永城市华茂置业有限公司、平建华、张立波建设工程合同纠纷一案中,经查,被执... | 646 | cc:Chinese-Court-Decisions |
common_corpus_Chinese-Court-Decisions | 2,021 | 陕西省西安市新城区人民法院 民 事 判 决 书 (2021)陕0102民初5924号 原告:平安银行股份有限公司西安分行,住所地西安市新城区一至三层,统一社会信用代码:XXXXXXXXXXXXXX0076。 负责人:吴雷鸣,该行行长。 委托诉讼代理人:姜培培,陕西海普睿诚律师事务所律师。 被告:杜聪,男,1990年1月24日出生,汉族,住西安市未央区,身份证号码:612XXXXXXXXXXXXXXX。 原告平安银行股份有限公司西安分行与被告杜聪借款合同纠纷一案,本院受理后,依法适用简易程序,公开开庭进行了审理。原告平安银行股份有限公司西安分行的委托诉讼代理人姜培培到庭参加了诉讼,被告经合法传唤无正当理由未到庭参加诉讼。本案现已缺席审... | 1,523 | cc:Chinese-Court-Decisions |
common_corpus_OpenAlex | 2,021 | Regulation of Subsoiling Tillage on the Grain Filling
Characteristics of Maize Varieties From Different
Eras Li-qing WANG
Inner Mongolia Agricultural University
Xiao-Fang YU ( nmyuxiaofang@imau.edu.cn )
Inner Mongolia Agricultural University
Ju-Lin GAO
Inner Mongolia Agricultural University
Da-Ling MA
Inner Mongo... | 22,211 | academic |
common_corpus_Github Open Source | 2,021 | """The tests for the Switch component."""
# pylint: disable=protected-access
import unittest
from openpeerpower import core
from openpeerpower.components import switch
from openpeerpower.const import CONF_PLATFORM
from openpeerpower.setup import async_setup_component, setup_component
from tests.common import get_test... | 792 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | // Purgatory , a ban system for servers of Minecraft
// Copyright (C) 2020 Deiutz
//
// 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 version 3 of the License, or
// ... | 1,184 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | export const lightTheme = {
title: "Light",
colors: {
bgPrimary: "#F8F8F8",
bgSecundary: "#FEFEFE",
bgTertiary: "#F4F0FF",
bgContrast: "#835AFD",
bgHeader: "#E2E2E2",
buttonBgPrimary: "#835AFD",
buttonHoverBgPrimary: "#9572FE",
buttonBgSecundary: "#E73F5D",
buttonBgTertiary: "#D... | 502 | cc:Github Open Source |
common_corpus_Eurlex | 2,021 | C_2021098SL.01003602.xml
22.3.2021
SL
Uradni list Evropske unije
C 98/36
Sklep Splošnega sodišča z dne 28. januarja 2021 – MS/Komisija
(Zadeva T-602/20) (1)
(2021/C 98/42)
Jezik postopka: nemščina
Predsednik prvega senata je odredil izbris zadeve.
(1) UL C 404, 30.11.2020.
| 142 | cc:Eurlex |
common_corpus_USPTO | 2,021 | In some non-limiting examples, the patterning coating 420 may be formed concurrently with the at least one semiconducting layer(s) 1930. By way of non-limiting example, at least one material used to form the patterning coating 420 may also be used to form the at least one semiconducting layer(s) 1930. In such non-limit... | 10,308 | formal_gov |
common_corpus_Github Open Source | 2,021 | package com.wllfengshu.car.service;
import com.wllfengshu.car.model.entity.TbCustomerEntity;
import com.wllfengshu.car.exception.CustomException;
import java.util.Map;
public interface TbCustomerService {
Map<String, Object> insert(TbCustomerEntity entity, String sessionId) throws CustomException;
Map<Stri... | 153 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 杭州市西湖区人民法院 结 案 通 知 书 (2021)浙0106执1190号 申请执行人徐岩 被执行人浙江家嘉通电子商务有限公司 本院在执行申请执行人徐岩与被执行人浙江家嘉通电子商务有限公司劳动争议仲裁一案中,经被执行人自动履行,本案已执行完毕。 特此通知。 二〇二一年五月六日 来源:百度“马 克 数据网” | 165 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | /**
* Copyright (C) 2015 Etaia AS (oss@hubrick.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 1,290 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | <template>
<svg class="spinner" viewBox="0 0 50 50">
<circle
class="path"
cx="25"
cy="25"
r="20"
fill="none"
stroke-width="5"
></circle>
</svg>
</template>
<style lang="postcss" scoped>
.spinner {
-webkit-animation: rotate 2s linear infinite;
animation: rotate 2s lin... | 336 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | //
// @author raver119@gmail.com
//
#include <helpers/EnumUtils.h>
#include <graph/Variable.h>
#include <array/DataTypeUtils.h>
#include <array/ByteOrderUtils.h>
#include <array/DataTypeConversions.h>
#include <graph/FlatUtils.h>
namespace nd4j {
namespace graph {
template <typename T>
template <... | 2,393 | cc:Github Open Source |
common_corpus_Eurlex | 2,021 | L_2021086RO.01001401.xml
12.3.2021
RO
Jurnalul Oficial al Uniunii Europene
L 86/14
DECIZIA (UE) 2021/432 A BĂNCII CENTRALE EUROPENE
din 1 martie 2021
de modificare a Deciziei (UE) 2017/1198 privind raportarea de către autoritățile naționale competente a planurilor de finanțare ale instituțiilo... | 3,169 | cc:Eurlex |
common_corpus_Github Open Source | 2,021 | #ifndef QCREFRESHER_H
#define QCREFRESHER_H
#include <QObject>
#include <QJSValue>
#include <QMap>
#include <QPointer>
#include <QTime>
class QCRefresher : public QObject
{
Q_OBJECT
Q_PROPERTY(int frameRate READ frameRate WRITE setFrameRate NOTIFY frameRateChanged)
public:
QCRefresher(QObject* parent = 0)... | 206 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
/// <summary>
/// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcrelassignstogroupbyfactor.htm"/>
/// </summary>
public partial class IfcR... | 545 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | # coding=utf-8
"""
pygame-menu
https://github.com/ppizarror/pygame-menu
SCROLLAREA
ScrollArea class to manage scrolling in menu.
License:
-------------------------------------------------------------------------------
The MIT License (MIT)
Copyright 2017-2020 Pablo Pizarro R. @ppizarror
Permission is hereby granted,... | 4,708 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /**
* See:
* - https://github.com/graphql/graphiql
*/
import '../../styles';
import * as React from 'react';
import { Subject } from 'rxjs';
import { share, map, takeUntil, filter } from 'rxjs/operators';
import { constants, css, CssValue, hjson, t, graphqlFetcher } from '../../common';
import { GraphqlEditorEven... | 1,457 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 西藏自治区谢通门县人民法院 民 事 判 决 书 (2020)藏0227民初101号 原告:张志明,男,1963年1月30日出生,汉族,住甘肃省玉门市新市区。 被告:加参,男,1971年8月15日出生,藏族,住日喀则市桑珠孜区。 被告:江西康鑫建设工程有限公司,住所地江西省抚州市临川区孝桥镇人民政府院内。 法定代表人:陈新慧,该公司总经理。 原告张志明与被告加参、江西康鑫建设工程有限公司劳动争议纠纷一案,本院于2020年12月2日立案后,依法适用简易程序于2021年1月25日公开开庭进行了审理。原告张志明到庭参加诉讼。被告加参、江西康鑫建设工程有限公司经本院合法传唤,无正当理由未到庭。本案现已审理终结。 原告张志明诉称:2015年原告... | 2,664 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | .design
&,
& *
font-family: $font-design
.style
&,
& *
font-family: $font-style
font-size: 1.5em
code,
pre,
.code
&,
& *
font-family: $font-code
.glow
color: $text-l
text-shadow: 0 0 4px rgba($color: $text-l, $alpha: 0.2)
.cursor
height: 3vh
width: 3vh
min-height: 20px
min-wi... | 1,441 | cc:Github Open Source |
common_corpus_StackExchange | 2,021 | Markdown + LaTeX + Jekyll (Github Pages) = HTML?
I'm trying to use Github pages to both host my source files (strictly markdown with LaTeX equations) and manage the equation rendering when hosting the actual webpage. If I understand this process correctly, github uses Jekyll to statically generate the website, I guess ... | 382 | misc_reference |
common_corpus_Chinese-Court-Decisions | 2,021 | 北京市高级人民法院民 事 裁 定 书(2021)京民申3635号再审申请人(一审原告、二审上诉人):王某1,女,1980年5月19日出生,汉族,住北京市昌平区。被申请人(一审被告、二审被上诉人):王某2,女,1952年4月21日出生,汉族,住北京市昌平区。被申请人(一审被告、二审被上诉人):王某3,男,1982年7月3日出生,汉族,住北京市昌平区。被申请人(一审被告、二审被上诉人):王某4,女,1977年7月25日出生,住北京市昌平区。被申请人(一审被告、二审被上诉人):张某1,男,1972年6月9日出生,汉族,住北京市昌平区。被申请人(一审被告、二审被上诉人):张某2,男,1999年2月20日出生,汉族,住北京市昌平区。被申请人(... | 1,975 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | import { createStyles, StyleRulesCallback, WithStyles } from '@material-ui/core';
import withStyles from '@material-ui/core/styles/withStyles';
import MuiTableBody from '@material-ui/core/TableBody';
import Typography from '@material-ui/core/Typography';
import React from 'react';
import MUITableUtils from '../../const... | 809 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | import React from 'react'
interface IconProps {
color?: string;
size?: Number;
}
export const DAI: React.FC<IconProps> = ({ color, size, ...rest}: IconProps) => (
<svg xmlns="http://www.w3.org/2000/svg" width={`${size}`} height={`${size}`} viewBox="0 0 32 32" fill={color} {...rest} ><path d="M16 0c8.837 ... | 441 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 辽宁省沈阳市皇姑区人民法院民 事 裁 定 书(2021)辽0105民初3264号本院于2020年4月26日对原告赵丽伟诉被告沈阳泰和房地产开发有限公司商品房销售合同纠纷一案作出的(2020)辽0105民初3264号民事判决书中,判决书案号书写有误,应予补正,现裁定如下:(2020)辽0105民初3264号民事判决书中“(2020)辽0105民初3264号”应更正为“(2021)辽0105民初3264号”。审判员 姜育红二〇二一年四月二十六日书记员 李宝月 搜索“马 克 数 据 网” | 250 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | // data index for "en"
import multiples = require('./lexicon/multiples');
import nounsInflect = require('./nouns/inflect');
import nouns = require('./nouns/index');
import verbsSpecial = require('./verbs/special');
import verbsConjugate = require('./verbs/conjugate');
import verbs = require('./verbs/index');
import adj... | 560 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | using System;
using System.Collections.Generic;
using System.Linq;
using Grasshopper;
using Grasshopper.Kernel;
using Rhino.Geometry;
using g3gh.Core;
using g3;
using g3gh.Core.Goos;
using g3gh.Components.Params;
namespace g3gh.Components.ImplicitBoolean
{
public class ImplicitUnion : GH_Component
{
... | 601 | cc:Github Open Source |
common_corpus_French-Science-Pile | 2,021 | The Enlarged Nonnegative Greedy (ENG) algorithm with projection on an extended
cone of positive functions: We now present our novel model reduction method, which
is of interest in itself as it allows reduced models that preserve positivity and even
other types of bounds to be built. The method stems from the observatio... | 13,077 | cc:French-Science-Pile |
common_corpus_Github Open Source | 2,021 | import { ConfigService } from '@nestjs/config';
import { GeolocationService } from './geolocation.service';
const geolocationService = new GeolocationService(new ConfigService());
describe('GeolocationService', () => {
describe('getLocation', () => {
it('gets geolocation', async () => {
const geolocation ... | 261 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | <template>
<div>
<div class="breadcrumb">
<router-link to="/">{{ $t("label.breadcrumb.dashboard") }}</router-link>
<router-link to="/departments" class="active">{{
$t("label.breadcrumb.departments")
}}</router-link>
</div>
<v-card class="mx-auto default ">
<v-progress-circu... | 1,714 | cc:Github Open Source |
common_corpus_Chinese-Court-Decisions | 2,021 | 贵州省锦屏县人民法院 民 事 裁 定 书 (2021)黔2628民初743号 原告:袁再桥,男,1978年09月05日出生,侗族,贵州省锦屏县人,住锦屏县。 被告:林建,男,1975年06月29日出生,侗族,贵州省锦屏县人,住锦屏县。 原告袁再桥与被告林建民间借贷纠纷一案,本院于2021年8月16日立案。原告袁再桥于2021年8月16日向本院提出撤诉申请。 本院认为,原告以双方已达成还款协议,并已履行完毕为由,向本院提出撤诉申请,是在法律允许的范围内对自己民事权利所作的处分,并且没有损害国家、集体和他人利益,其撤诉申请符合法律的规定。 依照《中华人民共和国民事诉讼法》第一百四十五条第一款的规定,裁定如下: 准许原告袁再桥撤回起诉。 ... | 466 | cc:Chinese-Court-Decisions |
common_corpus_Github Open Source | 2,021 | import Title from 'components/Title'
/**
* 収入と支出の各合計を計算する。
* 値の計算はそれぞれの incomeItems と expenseItems の配列から、
* amount を取り出して計算する。
*/
type TotalAmountType = {
incomeTotal: number
expenseTotal: number
}
export const TotalAmount = ({ incomeTotal, expenseTotal }: TotalAmountType) => {
const percentage = () => {
... | 277 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | # Franz the Owner (2010002) | Orbis Plastic Surgery (200000201)
# Male: 23000 - 23099 (Vibrant Explorer to He Who Awakened)
# Female: 24000 - 24099 (Sugar to Alicia)
from net.swordie.ms.loaders import StringData
options = []
al = chr.getAvatarData().getAvatarLook()
faceColour = al.getFace() % 1000 - al.getFace() % 1... | 198 | cc:Github Open Source |
common_corpus_Github Open Source | 2,021 | /*
* Copyright 2004-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | 678 | cc:Github Open Source |