max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
1,473 | <filename>web/src/test/java/com/navercorp/pinpoint/web/task/RequestContextPropagatingTaskDecoratorTest.java
/*
* Copyright 2018 NAVER Corp.
*
* 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 a... | 1,029 |
679 | <filename>main/connectivity/inc/connectivity/TTableHelper.hxx<gh_stars>100-1000
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional i... | 2,578 |
1,590 | <filename>specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersGetPublicEncryptionKey.json
{
"parameters": {
"subscriptionId": "d3ebfe71-b7a9-4c57-92b9-68a2afde4de5",
"resourceGroupName": "ResourceGroupForSDKTest",
"managerName": "ManagerForSDKTest1",... | 238 |
473 | <reponame>ProjectVault/orp<filename>third-party/qemu-orp/include/exec/ram_addr.h
/*
* Declarations for cpu physical memory functions
*
* Copyright 2011 Red Hat, Inc. and/or its affiliates
*
* Authors:
* <NAME> <<EMAIL>>
*
* This work is licensed under the terms of the GNU GPL, version 2 or
* later. See the C... | 3,071 |
2,453 | <reponame>haozhiyu1990/XVim2
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
//
// Copyright (C) 1997-2019 <NAME>.
//
#import <DVTFoundation/DVTDiffContextOperation.h>
@class DVTDiffDataSource;
@interface DVTDiffContextThreeWayOperation : DVTDiffContextOperation
{
B... | 418 |
348 | {"nom":"Jouy-le-Moutier","circ":"10ème circonscription","dpt":"Val-d'Oise","inscrits":10976,"abs":6883,"votants":4093,"blancs":240,"nuls":57,"exp":3796,"res":[{"nuance":"REM","nom":"<NAME>","voix":2091},{"nuance":"FI","nom":"Mme <NAME>","voix":1705}]} | 106 |
374 | /*
* Copyright (C) 2021 by Intel Corporation
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES O... | 994 |
319 | <reponame>SonNguyenMinh123/MinYoutube
package com.shapps.mintubeapp;
import android.content.Context;
import android.os.Build;
import android.view.MotionEvent;
import android.view.View;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import java.util.Map;
/**... | 1,084 |
4,268 | <filename>src-input/duk_heap_alloc.c
/*
* duk_heap allocation and freeing.
*/
#include "duk_internal.h"
#if defined(DUK_USE_ROM_STRINGS)
/* Fixed seed value used with ROM strings. */
#define DUK__FIXED_HASH_SEED 0xabcd1234
#endif
/*
* Free a heap object.
*
* Free heap object and its internal (non-heap) point... | 16,431 |
828 | /*
* Copyright 2002-2010 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... | 429 |
1,623 | #include <fstream>
#include <memory>
#include <pangolin/image/typed_image.h>
namespace pangolin {
#pragma pack(push, 1)
struct packed12bit_image_header
{
char magic[4];
char fmt[16];
size_t w, h;
};
#pragma pack(pop)
void SavePacked12bit(const Image<uint8_t>& image, const pangolin::PixelFormat& fmt, std... | 1,283 |
1,062 | //
// Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57).
//
// Copyright (C) 1997-2019 <NAME>.
//
#import "NSObject-Protocol.h"
@class CALayer, StackController;
@protocol StackDelegate <NSObject>
@optional
- (void)stackController:(StackController *)arg1 willRemoveLayerForItem... | 297 |
2,539 | <filename>CPP/7zip/UI/FileManager/SettingsPageRes.h
#define IDD_SETTINGS 2500
#define IDD_SETTINGS_2 12500
#define IDX_SETTINGS_SHOW_DOTS 2501
#define IDX_SETTINGS_SHOW_REAL_FILE_ICONS 2502
#define IDX_SETTINGS_SHOW_SYSTEM_MENU 2503
#define IDX_SETTINGS_FULL_ROW 2504
#define IDX... | 391 |
323 | /*
* Copyright (c) 2011-2021 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
* which is available at https:... | 2,058 |
619 | {
"Library": "led",
"Description": "LED library",
"Sensor Class":
{
"Led":
{
"Name": "Light-emitting Diode (LED)",
"Description": "UPM module for the LED (or other similar light-emitting diodes). An LED is a p-n junction semiconductor which emits light in response... | 675 |
623 | <gh_stars>100-1000
////////////////////////////////////////////////////////////////////////////////////////////////////////
// Part of Injectable Generic Camera System
// Copyright(c) 2017, <NAME>
// All rights reserved.
// https://github.com/FransBouma/InjectableGenericCameraSystem
//
// Redistribution and use in sour... | 4,678 |
384 | <reponame>xuzhao9/benchmark<gh_stars>100-1000
"""
Compute the benchmark score given a frozen score configuration and current benchmark data.
"""
import argparse
import json
import math
import yaml
import sys
import os
from torchbenchmark.score.compute_score import TorchBenchScore
if __name__ == "__main__":
parse... | 1,099 |
9,724 | #if __EMSCRIPTEN__
#include <stdint.h>
#endif
#include <string.h>
int memcmp(const void *vl, const void *vr, size_t n)
{
const unsigned char *l=vl, *r=vr;
// XXX EMSCRIPTEN: add an optimized version.
#if !defined(EMSCRIPTEN_OPTIMIZE_FOR_OZ) && !__has_feature(address_sanitizer)
// If we have enough bytes, and everyt... | 349 |
14,668 | <filename>chromeos/services/bluetooth_config/device_conversion_util.cc
// Copyright 2021 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.
#include "chromeos/services/bluetooth_config/device_conversion_util.h"
#include <b... | 2,021 |
3,145 | //
// ViewController.h
// macOS
//
// Created by <NAME> on 23/06/2016.
// Copyright © 2012-2016, JSONModel contributors. MIT licensed.
//
@import Cocoa;
@interface ViewController : NSViewController
@end
| 69 |
6,989 | <filename>linux-4.14.90-dev/linux-4.14.90/include/uapi/linux/atm_eni.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/* atm_eni.h - Driver-specific declarations of the ENI driver (for use by
driver-specific utilities) */
/* Written 1995-2000 by <NAME>, EPFL LRC/ICA */
#ifndef LINUX_ATM_ENI_H... | 328 |
309 | # Copyright (c) 2014 Hewlett-Packard Development Company, L.P.
#
# 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 applica... | 5,306 |
488 | <reponame>maurizioabba/rose
/*
*
* Copyright (c) International Business Machines Corp., 2001
*
* 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 2 of the License, or... | 2,253 |
937 | <reponame>HaoZhang95/PythonAndMachineLearning<gh_stars>100-1000
"""
服务器端包含服务器程序+框架
服务器程序比如flask中的GunXX和django使用的uwsgi这两个斗志服务器程序,用来通过WSGI协议链接不同的Web框架
框架就是符合WSGI协议的web代码,通过服务器程序来对外提供高性能的web服务
默认的flask和django中的app.run只是简单的服务器程序,性能只是用来开发测试,线上的产品则需要专业的服务器软件来支持
"""
"""
序列化是指将计算机中的数据结构转换为可用于传输的格式:xml,jso... | 1,216 |
372 | /*
* 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 law or agreed to in writing, software distributed under t... | 1,085 |
4,036 | // src1.cpp
template<class A>
class template_class;
template_class<char> *x;
| 30 |
315 | <reponame>g-r-a-n-t/py-libp2p
from libp2p.crypto.keys import KeyPair, PrivateKey
from libp2p.network.connection.raw_connection_interface import IRawConnection
from libp2p.peer.id import ID
from libp2p.security.secure_conn_interface import ISecureConn
from libp2p.security.secure_transport_interface import ISecureTranspo... | 876 |
2,329 | package iri;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
public class JLCGetConstructors2 extends FormattingHelper {
public JLCGetConstructors2() {
}
// not in original
public JLCGetConstructors2(String s) {
}
@SuppressWarnings("rawtypes")
public String run() throws Exception {
... | 234 |
1,716 | <reponame>hlemorvan/jimfs
/*
* Copyright 2013 Google Inc.
*
* 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... | 2,286 |
15,577 | <filename>src/Functions/MultiMatchAllIndicesImpl.h
#pragma once
#include <base/types.h>
#include <Columns/ColumnString.h>
#include <DataTypes/DataTypesNumber.h>
#include "Regexps.h"
#if !defined(ARCADIA_BUILD)
# include "config_functions.h"
# include <Common/config.h>
#endif
#if USE_HYPERSCAN
# include <hs.... | 1,847 |
22,688 | <filename>modules/planning/scenarios/stop_sign/unprotected/stop_sign_unprotected_scenario.cc
/******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use... | 2,530 |
5,169 | {
"name": "SomeFramework",
"version": "0.1.3",
"summary": "SomeFramework. Private pod to add this framework to any project.",
"description": "This is a private cocoapod framework for Sample Purpose.",
"homepage": "https://github.com",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {... | 319 |
30,023 | """deCONZ number platform tests."""
from unittest.mock import patch
import pytest
from homeassistant.components.number import (
ATTR_VALUE,
DOMAIN as NUMBER_DOMAIN,
SERVICE_SET_VALUE,
)
from homeassistant.const import ATTR_ENTITY_ID, STATE_UNAVAILABLE
from homeassistant.helpers import device_registry as ... | 2,290 |
709 | <gh_stars>100-1000
package com.olacabs.jackhammer.service;
import com.google.inject.Inject;
import com.google.inject.name.Named;
import com.olacabs.jackhammer.common.Constants;
import com.olacabs.jackhammer.db.*;
import com.olacabs.jackhammer.enums.Severities;
import com.olacabs.jackhammer.models.*;
import lombok.exte... | 2,865 |
1,350 | <filename>sdk/dataprotection/azure-resourcemanager-dataprotection/src/samples/java/com/azure/resourcemanager/dataprotection/generated/BackupInstancesTriggerRestoreSamples.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code... | 4,520 |
323 | <filename>dreamplace/ops/place_io/src/BinMap.cpp<gh_stars>100-1000
/*************************************************************************
> File Name: BinMap.cpp
> Author: <NAME>
> Mail: <EMAIL>
> Created Time: Tue 23 Jun 2015 08:57:40 PM CDT
********************************************************... | 626 |
568 | package com.fincatto.documentofiscal.cte300.classes.nota;
import com.fincatto.documentofiscal.DFBase;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Namespace;
import org.simpleframework.xml.Root;
import java.util.List;
/**
* @author Cai... | 664 |
765 | <gh_stars>100-1000
/*
* Copyright (c) 2021 <NAME>
* Copyright (c) 2019 Arm Limited
* All rights reserved.
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property rela... | 2,598 |
511 | <gh_stars>100-1000
/****************************************************************************
*
* Copyright 2019 Samsung Electronics All Rights Reserved.
*
* 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 cop... | 605 |
1,144 | <gh_stars>1000+
/*
* (C) Copyright 2016
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* 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 2 of
* the License, or (at your opti... | 1,469 |
348 | <filename>docs/data/leg-t2/067/06706492.json<gh_stars>100-1000
{"nom":"Traenheim","circ":"6ème circonscription","dpt":"Bas-Rhin","inscrits":556,"abs":277,"votants":279,"blancs":11,"nuls":5,"exp":263,"res":[{"nuance":"LR","nom":"<NAME>","voix":164},{"nuance":"MDM","nom":"<NAME>","voix":99}]} | 121 |
334 | <filename>Telespot/Telespot/Library/EChart/EColumnDataModel.h<gh_stars>100-1000
//
// EColumnDataModel.h
// EChart
//
// Created by <NAME> on 13-12-12.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface EColumnDataModel : NSObject
@property (strong, nonatomic) NSSt... | 237 |
457 | <filename>TestScripts/C Tests/DataTests.h
//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the
//National Aeronautics and Space Administration. All Rights Reserved.
#ifndef DATATESTS_H
#define DATATESTS_H
#include "Test.h"
#include "xplaneConnect.h"
int testDATA()
{
// Initia... | 494 |
627 | <filename>include/mock/fpsensor_detect_mock.h
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __MOCK_FPSENSOR_DETECT_MOCK_H
#define __MOCK_FPSENSOR_DETECT_MOCK_H
#include "fpsensor_detec... | 308 |
2,461 | /*
* Copyright 2013-2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,135 |
827 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | 1,702 |
394 | <reponame>CoeOmnichannel/LaunchNavigator-OS
/*
* LN_LaunchNavigator Library
*
* Copyright (c) 2018 <NAME> (http://github.com/dpa99c)
* Copyright (c) 2018 Working Edge Ltd. (http://www.workingedge.co.uk)
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and assoc... | 1,252 |
890 | /*
*
* Copyright 2019 Asylo 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 law or agree... | 6,948 |
2,890 | package com.bilibili.boxing.ui;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.widget.Toast;
import com.bilibili.boxing.demo.R;
import com.bilibili.boxing.model.BoxingManager;
import com.bilibil... | 840 |
12,278 | <gh_stars>1000+
#ifndef BOOST_METAPARSE_V1_CPP11_IMPL_SIZE_HPP
#define BOOST_METAPARSE_V1_CPP11_IMPL_SIZE_HPP
// Copyright <NAME> (<EMAIL>) 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#in... | 327 |
4,901 | /*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... | 4,700 |
478 | <filename>tests/unit/transforms/test_html.py
# -*- coding: utf-8 -*-
from bs4 import BeautifulSoup
from .helpers import run_transform, HTML
def test_tag_selector():
ok, content = run_transform('tag', 'a', HTML)
assert ok is True
assert content == '<a href="page.html" id="page-link">Page</a>'
def test_c... | 534 |
825 | <filename>QmlPlugin/QmlPluginTest/QmlPluginTest.h
/*!
*@file QmlPluginTest.h
*@brief Qml调用插件
*@version 1.0
*@section LICENSE Copyright (C) 2003-2103 CamelSoft Corporation
*@author zhengtianzuo
*/
#pragma once
#include <QObject>
class QmlPluginTest : public QObject
{
Q_OBJECT
public:
QmlPluginTest();
... | 150 |
715 | /*
* Copyright 2019 Lightbend Inc.
*
* 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 law or agreed ... | 1,575 |
451 | /*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : <NAME>
Contributors : <NAME>, <NAME>.
[1] <NAME>, <NAME>.
... | 14,242 |
311 | #pragma once
// License: MIT http://opensource.org/licenses/MIT
// Author: dustpg mailto:<EMAIL>
#include <stdint.h>
//#define SFC_SMF_DEFINED
// 目前使用16.16定点小数, 可以换成6.10~8.8的16bit
typedef uint32_t sfc_fixed_t;
#define SFC_FIXED(x) (x << 16)
// 创建
static inline sfc_fixed_t sfc_fixed_make(uint32_t a, uint32_t b)... | 6,360 |
6,058 | # -*- coding: utf-8 -*-
# Copyright (c) 2013, <NAME>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and ... | 586 |
892 | <filename>advisories/github-reviewed/2022/05/GHSA-pjch-4g28-fxx7/GHSA-pjch-4g28-fxx7.json
{
"schema_version": "1.2.0",
"id": "GHSA-pjch-4g28-fxx7",
"modified": "2022-05-24T20:58:43Z",
"published": "2022-05-07T00:00:31Z",
"aliases": [
"CVE-2021-23792"
],
"summary": "External Entity Reference in TwelveM... | 940 |
3,710 | #pragma once
#ifndef COLUMNFAN_INCLUDED
#define COLUMNFAN_INCLUDED
#include "tcommon.h"
#undef DVAPI
#undef DVVAR
#ifdef TOONZLIB_EXPORTS
#define DVAPI DV_EXPORT_API
#define DVVAR DV_EXPORT_VAR
#else
#define DVAPI DV_IMPORT_API
#define DVVAR DV_IMPORT_VAR
#endif
class TOStream;
class TIStream;
//==================... | 750 |
631 | /*****************************************************************************
* *
* OpenNI 1.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
... | 3,827 |
679 | <reponame>Grosskopf/openoffice<gh_stars>100-1000
/**************************************************************
*
* 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 copyrig... | 19,035 |
436 | /**
* The MIT License
* Copyright (c) 2019- Nordic Institute for Interoperability Solutions (NIIS)
* Copyright (c) 2018 Estonian Information System Authority (RIA),
* Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK)
* Copyright (c) 2015-2017 Estonian Information System Autho... | 4,072 |
313 | <filename>titus-common/src/main/java/com/netflix/titus/common/framework/simplereconciler/internal/ChangeActionHolder.java
/*
* Copyright 2019 Netflix, Inc.
*
* 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 ... | 1,145 |
675 | #pragma once
#include <QProcess>
#include "ui_About.h"
#include <engine/core/util/StringUtil.h>
namespace Studio
{
class AboutWindow : public QMainWindow, public Ui_AboutWindow
{
public:
AboutWindow(QWidget* parent=0);
~AboutWindow();
private:
};
} | 99 |
8,148 | <gh_stars>1000+
#pragma once
#include "d3d9_adapter.h"
#include "../dxvk/dxvk_instance.h"
namespace dxvk {
/**
* \brief D3D9 interface implementation
*
* Implements the IDirect3DDevice9Ex interfaces
* which provides the way to get adapters and create other objects such as \ref IDirect3DDevice9Ex.
* simi... | 2,438 |
398 | <gh_stars>100-1000
package io.joyrpc.util;
/*-
* #%L
* joyrpc
* %%
* Copyright (C) 2019 joyrpc.io
* %%
* 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/l... | 604 |
396 | package me.everything.providers.android.media;
import android.net.Uri;
import android.provider.BaseColumns;
import android.provider.MediaStore;
import me.everything.providers.core.Entity;
import me.everything.providers.core.FieldMapping;
import me.everything.providers.core.IgnoreMapping;
/**
* Created by sromku
*/... | 1,471 |
390 | /* Copyright 2013-present Barefoot Networks, Inc.
*
* 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 la... | 1,573 |
372 | /*
* $Header$
*
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is the responsibility of any person or organization contemplating
* export to obt... | 8,792 |
711 | package com.java110.store.bmo.contractAttr;
import com.java110.dto.contractAttr.ContractAttrDto;
import org.springframework.http.ResponseEntity;
public interface IGetContractAttrBMO {
/**
* 查询合同属性
* add by wuxw
*
* @param contractAttrDto
* @return
*/
ResponseEntity<String> get(... | 156 |
307 | from typing import List, Union
from tdw.controller import Controller
from tdw.output_data import OutputData, Keyboard
class KeyboardController(Controller):
"""
Listen for keyboard input to send commands.
Keyboard input is registered _from the build, not the controller._ For this controller to wo... | 2,338 |
346 | <filename>Chapter 05/dir-brute.py
import urllib
import urllib2
import threading
import Queue
threads = 50 # Be aware that a large number of threads can cause a denial of service!!!
target_url = "http://www.example.com"
wordlist_file = "directory-list.txt"
user_agent = "Mozilla/5.0 (X11... | 1,177 |
460 | <reponame>dyzmapl/BumpTop
#include "../../../tools/assistant/lib/qhelpcollectionhandler_p.h"
| 38 |
852 | #ifndef DataFormats_Provenance_History_h
#define DataFormats_Provenance_History_h
//----------------------------------------------------------------------
//
// Class History represents the processing history of a single Event.
// It includes ordered sequences of elements, each of which contains
// information about a... | 719 |
3,267 | <reponame>Becavalier/playground-weex
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.alibaba.weex.appframework;
public final class R {
public static final class attr {
... | 16,118 |
7,353 |
#include "crypto_kdf.h"
#include "randombytes.h"
const char *
crypto_kdf_primitive(void)
{
return crypto_kdf_PRIMITIVE;
}
size_t
crypto_kdf_bytes_min(void)
{
return crypto_kdf_BYTES_MIN;
}
size_t
crypto_kdf_bytes_max(void)
{
return crypto_kdf_BYTES_MAX;
}
size_t
crypto_kdf_contextbytes(void)
{
retu... | 504 |
712 | <reponame>alionurdemetoglu/gearmand
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Gearmand client and server library.
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
* Copyright (C) 2008 <NAME>, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary f... | 6,097 |
647 | # Copyright (C) 2007 Google Inc.
#
# 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 law or agreed to in writ... | 14,713 |
2,542 | <gh_stars>1000+
{
"Default": {
},
"Tests": [
{
"Name": "Mgmt_SetupEntryPoint_XCopy",
"Type": "V2_DllTest",
"Owners": "maburlik,vaishnav,vipulm",
"Environment": "Iaas",
"ResourcesRequired": "Server:5",
"TestExecutionParameters": {
"SetupTimeout": "900",
"Conf... | 799 |
631 | <reponame>767248371/octo-rpc<filename>dorado/dorado-core/src/main/java/com/meituan/dorado/transport/http/AbstractHttpServer.java
/*
* Copyright 2018 <NAME>. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | 2,349 |
5,267 | <filename>modules/swagger-maven-plugin/src/test/java/io/swagger/v3/plugin/maven/resources/model/ModelWithJsonIdentityCyclic.java
package io.swagger.v3.plugin.maven.resources.model;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIdentityReference;
import com.faster... | 372 |
2,859 | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package advanced.platformer;
import com.almasb.fxgl.app.GameApplication;
import com.almasb.fxgl.app.GameSettings;
import com.almasb.fxgl.entity.state.StateComponent;
import com.almasb.fxgl.input... | 1,897 |
1,199 | # coding=utf-8
# Copyright 2018 The Google AI Language Team 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 ... | 3,023 |
3,603 | <gh_stars>1000+
/*
* 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 law or agreed to in writing, softw... | 4,957 |
859 | # -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
import os
import pytest
import pymorphy2
from pymorphy2.opencorpora_dict.compile import (
_to_paradigm,
convert_to_pymorphy2
)
from pymorphy2.opencorpora_dict.parse import parse_opencorpora_xml
from pymorphy2.dawg import assert_c... | 2,786 |
1,687 | <filename>12-Backtracking-And-DFS/Type-3-FloodFill/0130-surrounded-regions/src/Solution2.java<gh_stars>1000+
import java.util.LinkedList;
import java.util.Queue;
public class Solution2 {
// 方法二:广度优先遍历
public void solve(char[][] board) {
int rows = board.length;
if (rows == 0) {
re... | 1,260 |
464 | <filename>mplleaflet/utils.py
import json
from json.encoder import JSONEncoder
def iter_rings(data, pathcodes):
ring = []
# TODO: Do this smartly by finding when pathcodes changes value and do
# smart indexing on data, instead of iterating over each coordinate
for point, code in zip(data, pathcodes):
... | 1,417 |
751 | <filename>rx-java/rxgrpc-stub/src/main/java/com/salesforce/rxgrpc/stub/FusionAwareQueueSubscriptionAdapter.java
/*
* Copyright (c) 2019, Salesforce.com, Inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.or... | 797 |
575 | <reponame>Ron423c/chromium<gh_stars>100-1000
// Copyright 2020 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.
#include "services/network/trust_tokens/trust_token_key_commitment_parser.h"
#include "base/base64.h"
#inclu... | 4,290 |
306 | <gh_stars>100-1000
import numpy as __np__
from numpy import sqrt as __sqrt__
from numpy import cos as __cos__
from numpy import sin as __sin__
import matplotlib.pyplot as __plt__
from matplotlib import cm as __cm__
from matplotlib.ticker import LinearLocator as __LinearLocator__
from matplotlib.ticker import FormatStrF... | 1,252 |
1,239 | <filename>prog/fuzzing/recog_basic_fuzzer.cc<gh_stars>1000+
#include "leptfuzz.h"
#include <sys/types.h>
#include <unistd.h>
extern "C" int
LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
{
leptSetStdNullHandler();
L_RECOG *recog;
char filename[256];
sprintf(filename, "/tmp/libfuzzer.%d", ge... | 260 |
411 | /*
* 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,108 |
970 | <reponame>octopuserectus/nx-hbmenu<gh_stars>100-1000
#pragma once
typedef struct
{
uint32_t width;
uint32_t height;
color_t *bg;
char *text;
} MessageBox;
void menuCreateMsgBox(int width, int height, const char *text);
void menuCloseMsgBox();
bool menuIsMsgBoxOpen();
void menuDrawMsgBox(void);
Message... | 161 |
543 | package com.riiablo.excel;
import org.junit.Test;
public class SerializerGeneratorTest {
@Test
public void test() {
}
}
| 47 |
2,151 | package org.mockito.internal.matchers.text;
import java.util.Iterator;
import static java.lang.String.valueOf;
/**
* Prints a Java object value in a way humans can read it neatly.
* Inspired on hamcrest. Used for printing arguments in verification errors.
*/
public class ValuePrinter {
/**
* Prints give... | 1,357 |
433 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | 5,890 |
544 |
# from . import COCO_data_pipeline
# from . import heatmap
# from . import ImageAugmentation
# from . import paf
# from . import preprocessing
| 44 |
2,151 | <reponame>zipated/src<filename>native_client/tests/pnacl_dynamic_loading/test_pll.c
/*
* Copyright (c) 2015 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* This is an example library, for testing the Convert... | 683 |
1,338 | #include <../private/support/DataPositionIOWrapper.h>
| 18 |
732 | <gh_stars>100-1000
/* Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved.
This software is licensed as OpenSource, under the Apache License, Version 2.0.
This license is available at: http://opensource.org/licenses/Apache-2.0. */
/*
* Shared TrueType Open format definitions.
... | 1,529 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.