max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
648 | <reponame>swrobel/fhir
{"resourceType":"OperationDefinition","id":"CapabilityStatement-versions","meta":{"lastUpdated":"2019-11-01T09:29:23.356+11:00"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":5},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinit... | 445 |
606 | <gh_stars>100-1000
/******************************************************************************
* Copyright 2017-2018 Baidu Robotic Vision Authors. 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 ma... | 2,145 |
5,813 | /*
* 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 ... | 570 |
448 | #include "hls_adaptive_manager.h"
#include "general.h"
#ifdef __APPLE__
#include <ifaddrs.h>
#include <arpa/inet.h>
#include <net/if.h>
#else
#include "TrafficStats.h"
#endif
#define LOWER_SWITCH_VALUE (10*1000*1000)
#define UPPER_SWITCH_VALUE (30*1000*1000)
#include <utils/frame_work_log.h>
names... | 4,095 |
1,609 | <filename>src/main/java/com/mossle/humantask/engine/HumanTask.java
package com.mossle.humantask.engine;
public class HumanTask {
}
| 49 |
2,325 | <reponame>dyoshioka-555/texar
# Copyright 2018 The Texar Authors. 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 copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | 3,656 |
4,879 | <reponame>EdwardPrentice/wrongo
/*
*******************************************************************************
* Copyright (C) 1997-2015, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*
* File NUMFMT.CPP... | 18,856 |
4,611 | #sshcrack 1.0
#author: k8gege
#https://www.cnblogs.com/k8gege
#https://github.com/k8gege
import paramiko
import sys
import logging
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
logging.raiseExceptions=False
def checkSSH(host,port,user,pwd):
try:
ssh.connect(host,p... | 723 |
568 | <filename>docassemble_webapp/docassemble/webapp/cleanup_sessions.py<gh_stars>100-1000
import sys
from docassemble.base.config import daconfig
from docassemble.webapp.app_object import app
from docassemblekvsession import KVSessionExtension
from simplekv.memory.redisstore import RedisStore
import docassemble.base.config... | 203 |
348 | {"nom":"Franclens","circ":"4ème circonscription","dpt":"Haute-Savoie","inscrits":341,"abs":184,"votants":157,"blancs":1,"nuls":14,"exp":142,"res":[{"nuance":"LR","nom":"Mme <NAME>","voix":87},{"nuance":"REM","nom":"<NAME>","voix":55}]} | 94 |
25,151 | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | 500 |
2,067 | KILOBYTE = 1024
MEGABYTE = 1024 * KILOBYTE
MAX_FILE_SIZE = 16 * MEGABYTE
SUPPORTED_FILE_MAGIC = {b"MZ"}
DEFAULT_MIN_LENGTH = 4
MAX_STRING_LENGTH = 2048
| 72 |
2,059 | #pragma once
#include <QObject>
#include <QHash>
#include "graph/watchers.h"
struct Script;
class NodeProxy;
class ScriptWindow;
class InspectorScriptButton;
class ScriptProxy : public QObject, public ScriptWatcher
{
Q_OBJECT
public:
ScriptProxy(Script* s, NodeProxy* parent);
/*
* On script state ch... | 281 |
5,535 | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2008 - 2010 Greenplum, Inc.
//
// @filename:
// CTask.cpp
//
// @doc:
// Task implementation
//---------------------------------------------------------------------------
#include "gpos/task/CTask.h"
... | 1,859 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Brain-sur-Allonnes","circ":"3ème circonscription","dpt":"Maine-et-Loire","inscrits":1486,"abs":861,"votants":625,"blancs":41,"nuls":17,"exp":567,"res":[{"nuance":"LR","nom":"<NAME>","voix":313},{"nuance":"REM","nom":"<NAME>","voix":254}]} | 119 |
377 | <reponame>gburd/Kundera<gh_stars>100-1000
/*******************************************************************************
* * Copyright 2013 Impetus Infotech.
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You ma... | 3,429 |
12,278 | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
******************************************************************************
* Copyright (C) 2015, International Business Machines
* Corporation and others. All Rights Reserved.
************************... | 641 |
435 | <reponame>amaajemyfren/data<filename>pycon-ar-2018/videos/import-genero-diversidad-panel.json
{
"copyright_text": "Creative Commons Attribution license (reuse allowed)",
"description": "Debate sobre g\u00e9nero y diversidad. \n\nHablemos del avance del movimiento de mujeres e identidades disidentes, de violencias, ... | 687 |
1,056 | /*
* 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 ... | 849 |
2,177 | <gh_stars>1000+
package org.nutz.ioc.meta.issue1232;
import org.nutz.ioc.loader.annotation.IocBean;
@IocBean(name="c")
public class Issue1232ClassC {
}
| 69 |
320 | from math import tanh
import gym
RAW_SCORE_SUMMARY_KEY_SUFFIX = 'dmlab_raw_score'
class DmlabRewardShapingWrapper(gym.Wrapper):
def __init__(self, env):
super().__init__(env)
self.raw_episode_return = self.episode_length = 0
def reset(self):
obs = self.env.reset()
self.raw_e... | 584 |
14,668 | // 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.
#ifndef CHROME_BROWSER_ENTERPRISE_CONNECTORS_DEVICE_TRUST_BROWSER_BROWSER_DEVICE_TRUST_CONNECTOR_SERVICE_H_
#define CHROME_BROWSER_ENTERPRISE_CONNECTORS_D... | 476 |
388 | <filename>loadgen/tests/loadgen_test_main.cc
/* Copyright 2019 The MLPerf Authors. 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 copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
... | 439 |
369 | // Copyright (c) 2017-2021, Mudit<NAME>.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <endpoints/DBHelper.hpp>
#include <CalllogRecord.hpp>
#include <json11.hpp>
namespace sdesktop::endpoints
{
class CalllogHelper : public DBHelper
{
... | 689 |
2,180 | package com.xiaojukeji.kafka.manager.service.service;
import com.xiaojukeji.kafka.manager.common.entity.ResultStatus;
import com.xiaojukeji.kafka.manager.common.entity.ao.BrokerBasicDTO;
import com.xiaojukeji.kafka.manager.common.entity.ao.TopicDiskLocation;
import com.xiaojukeji.kafka.manager.common.entity.ao.cluster... | 968 |
923 | <gh_stars>100-1000
// Ouzel by <NAME>
#ifndef OUZEL_AUDIO_SOUND_HPP
#define OUZEL_AUDIO_SOUND_HPP
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
namespace ouzel::audio
{
class Audio;
class Sound
{
friend Audio;
public:
enum class Format
{
... | 406 |
599 | <reponame>laodiu/bk-bcs<gh_stars>100-1000
#!/usr/bin/env python
#-*- coding:utf8 -*-
# Tencent is pleased to support the open source community by making Blueking Container Service available.
# Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
# Licensed under the MIT License (the "License"); ... | 987 |
1,792 | <reponame>javahongxi/whatsmars-mars001
package org.hongxi.whatsmars.boot.sample.swagger.model;
import lombok.Data;
/**
* Created by shenhongxi on 2020/8/16.
*/
@Data
public class User {
private String name;
private Integer age;
}
| 98 |
21,382 | // Copyright 2017 The Ray 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 agreed to i... | 924 |
1,664 | <reponame>likenamehaojie/Apache-Ambari-ZH
/*
* 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 Lic... | 971 |
480 | /*
* Copyright [2013-2021], Alibaba Group Holding Limited
*
* 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... | 956 |
3,799 | <filename>camera/camera-video/src/main/java/androidx/camera/video/internal/workaround/CorrectVideoTimeByTimebase.java
/*
* Copyright 2021 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 ... | 1,164 |
1,914 | {
"$class": "org.acme.sample.SampleParticipant",
"participantId": "CONGA",
"firstName": "Conga",
"lastName": "Block"
} | 50 |
666 | package com.didispace.scca.rest.dto;
import com.didispace.scca.rest.domain.Permission;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@NoArgsConstructor
public class PermissionParamDto {
/**
* 用户 ID
*/
private Long userId;
/**
* 权限列表
*/
List<Pe... | 155 |
401 | <filename>src/test/java/org/jf/smalidea/SmaliClassTypeElementTest.java
/*
* Copyright 2014, 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:
*
* * Redistributions of sourc... | 3,070 |
568 | <reponame>arthurrib/nfe<gh_stars>100-1000
package com.fincatto.documentofiscal.nfe.classes.distribuicao;
import com.fincatto.documentofiscal.DFAmbiente;
import com.fincatto.documentofiscal.DFUnidadeFederativa;
import org.junit.Assert;
import org.junit.Test;
public class NFDistribuicaoIntTest {
@Test
public v... | 963 |
765 | // Copyright 2016 Google Inc, NYU.
//
// 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... | 2,772 |
2,150 | package org.javaee7.cdi.alternatives.priority;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Test;
import or... | 442 |
4,822 | <reponame>gaiksaya/OpenSearch<gh_stars>1000+
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* licen... | 5,523 |
7,892 | /* cmupvdbg.h -- cmupv debug function declarations */
/* Normally, this function(s) are not called and the corresponding
* cmupvdbg.c need not be linked
*/
/* See comments in cmupvdbg.c and definitions of MAX_FILES and MAX_SAVE */
/* write_pv_frame -- saves an array of floats as a sound file so you
* can see what... | 137 |
892 | <gh_stars>100-1000
{
"schema_version": "1.2.0",
"id": "GHSA-9h86-j86m-7fx3",
"modified": "2022-04-30T18:10:29Z",
"published": "2022-04-30T18:10:29Z",
"aliases": [
"CVE-1999-0382"
],
"details": "The screen saver in Windows NT does not verify that its security context has been changed properly, allowing... | 341 |
5,169 | <reponame>Gantios/Specs
{
"name": "HJ_MLeaksFinder",
"version": "1.0.0",
"summary": "Find memory leaks in your iOS app at develop time.",
"homepage": "https://github.com/whhaijun/HJ_MLeaksFinder.git",
"license": "MIT",
"authors": {
"HJ": "<EMAIL>"
},
"source": {
"git": "https://github.com/whhaij... | 203 |
435 | <reponame>amaajemyfren/data
import argparse
from collections import defaultdict
import json
import sys
from tools.utils import get_json_files
def check_ids_unique(data_root, verbose=False):
_, video_paths = get_json_files(data_root)
paths_by_id = defaultdict(list)
for file_path in video_paths:
w... | 620 |
2,757 | <reponame>CEOALT1/RefindPlusUDK
#
# Copyright (c) 2011-2013, ARM Limited. All rights reserved.
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at... | 5,117 |
879 | package com.bookstore.repository;
import com.bookstore.dto.BookstoreDto;
import com.bookstore.entity.Author;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import org.springfram... | 282 |
402 |
import tensorflow as tf
import numpy as np
import os
import urllib.request as urlopen
from io import BytesIO
from PIL import Image
import matplotlib
matplotlib.use('TkAgg')
import matplotlib.image as mpimg
import matplotlib.pyplot as plt
import matplotlib.patches as patches
import matplotlib.ticker as ticker
clas... | 2,959 |
390 | <reponame>kevind-wgu/tinylog
/*
* Copyright 2019 <NAME>
*
* 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 ... | 544 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Isle","circ":"3ème circonscription","dpt":"Haute-Vienne","inscrits":6266,"abs":2942,"votants":3324,"blancs":307,"nuls":165,"exp":2852,"res":[{"nuance":"REM","nom":"<NAME>","voix":2020},{"nuance":"LR","nom":"M. <NAME>","voix":832}]} | 116 |
2,875 | <reponame>makelove/OpenCV-Python-Tutorial
# -*- coding: utf-8 -*-
'''
Canny 边缘检测是一种 常流 的 缘检测算法 是 <NAME> 在
1986 年提出的。它是一个有很多步构成的算法
由于 缘检测很容易受到噪声影响 所以第一步是使用 5x5 的 斯滤波器 去 噪声
对平滑后的图像使用 Sobel 算子 算水平方向和竖直方向的一 导数 图 像梯度 Gx 和 Gy
梯度的方向一般总是与边界垂直。
梯度方向 归为四类: 垂直 水平 和 两个对角线。
非极大值抑制
滞后阈值
现在 确定 些 界才是真正的边界。 时我们 置两个阈值 minVal 和 max... | 1,146 |
7,510 | <filename>.changes/1.16.41.json
[
{
"category": "``config``",
"description": "[``botocore``] Update config client to latest version",
"type": "api-change"
},
{
"category": "``ec2``",
"description": "[``botocore``] Update ec2 client to latest version",
"type": "api-change"
},
{
... | 822 |
879 | <filename>sdk/src/main/java/org/zstack/sdk/GetEcsInstanceVncUrlResult.java
package org.zstack.sdk;
public class GetEcsInstanceVncUrlResult {
public java.lang.String ecsId;
public void setEcsId(java.lang.String ecsId) {
this.ecsId = ecsId;
}
public java.lang.String getEcsId() {
return ... | 246 |
4,041 | /*
* Copyright 2019 Web3 Labs Ltd.
*
* 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 w... | 1,296 |
1,968 | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: <EMAIL>
//
///////////////////////////////////////... | 195 |
2,482 | # Copyright 2021 The TensorFlow Ranking 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 ag... | 4,973 |
12,718 | <gh_stars>1000+
#include "pthread_impl.h"
int __pthread_rwlock_rdlock(pthread_rwlock_t *rw)
{
return __pthread_rwlock_timedrdlock(rw, 0);
}
weak_alias(__pthread_rwlock_rdlock, pthread_rwlock_rdlock);
| 90 |
451 | <gh_stars>100-1000
/*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>... | 3,329 |
3,428 | {"id":"01014","group":"easy-ham-2","checksum":{"type":"MD5","value":"d86f7cf4bda937a58e7af5aef3f71649"},"text":"From <EMAIL> Mon Aug 12 11:11:29 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP... | 1,594 |
2,338 | //===-- Thumb2SizeReduction.cpp - Thumb2 code size reduction pass -*- C++ -*-=//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 18,487 |
476 | <reponame>tejasvinu/hetu-core
/*
* Copyright (C) 2018-2021. Huawei Technologies Co., Ltd. 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 copy of the License at
*
* http://www.apache.or... | 1,874 |
2,757 | <reponame>CEOALT1/RefindPlusUDK
/** @file
Constants and declarations for the Echo function.
Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies... | 490 |
11,868 | from copy import deepcopy
import unittest
from petstore_api.model.mammal import Mammal
from petstore_api.model.triangle import Triangle
class TestCopy(unittest.TestCase):
"""TestCopy unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def testDeepCopyOneOf(self):
... | 386 |
1,318 | /*
* Copyright 2016 LinkedIn 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 at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 3,906 |
777 | // Copyright (c) 2012 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.
#ifndef GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
#define GPU_COMMAND_BUFFER_SERVICE_TEST_HELPER_H_
#include <stddef.h>
#include <string>
#include <... | 4,177 |
3,182 | <reponame>1337c0der/lombok-intellij-plugin
import lombok.extern.java.Log;
@Log
public class LogTest {
public void logSomething(){
log.info("Hello World!");
}
public static void main(String[] args) {
new LogTest().logSomething();
}
}
| 110 |
2,443 | // Copyright (c) 2015-2019 The HomeKit ADK Contributors
//
// Licensed under the Apache License, Version 2.0 (the “License”);
// you may not use this file except in compliance with the License.
// See [CONTRIBUTORS.md] for the list of HomeKit ADK project authors.
#ifndef HAP_PLATFORM_RUN_LOOP_H
#define HAP_PLATFORM_RU... | 761 |
311 | package org.javacs.rewrite;
import com.sun.source.util.Trees;
import java.io.IOException;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.logging.Logger;
import org.javacs.Comp... | 2,294 |
853 | <filename>crypto/uint32_pack.c
#include "uint32_pack.h"
/*
The 'uint32_pack' function converts 32-bit unsigned
integer into 4 bytes stored in little-endian format
*/
void uint32_pack(unsigned char *y, crypto_uint32 x) {
long long i;
for (i = 0; i < 4; ++i) { y[i] = x; x >>= 8; }
}
| 115 |
5,169 | {
"name": "JsWebRtc",
"version": "0.0.1",
"summary": "WebRTC.framework",
"description": "WebRTC.framework just for jsrtc-ios-sdk",
"homepage": "https://gitee.com/GikkiAres/js-web-rtc",
"license": "MIT",
"authors": {
"<NAME>": "<EMAIL>"
},
"platforms": {
"ios": "9.0"
},
"source": {
"git... | 317 |
1,130 | /*
Copyright (c) 2014, <NAME>
2-clause BSD license.
*/
#include <string.h>
int strcoll(char* s1, char* s2)
{
return strcmp(s1, s2);
}
| 65 |
809 | <gh_stars>100-1000
/**
* @file traps_core.h
* @brief
* @author <NAME> <<EMAIL>>
* @version 0.1
* @date 2015-08-17
*/
#ifndef ASM_HAL_ENV_TRAPS_CORE_H_
#define ASM_HAL_ENV_TRAPS_CORE_H_
#include <stdint.h>
/** Defines handler for traps_dispatcher in Aarch64 archecture */
typedef int (*__trap_handler)(uint32_t n... | 205 |
6,224 | <filename>tests/subsys/logging/log_benchmark/src/test_helpers.h<gh_stars>1000+
/*
* Copyright (c) 2021 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef SRC_TEST_HELPERS_H__
#define SRC_TEST_HELPERS_H__
#include <zephyr.h>
__syscall void test_helpers_log_setup(void);
__syscall int test_h... | 198 |
2,813 | package org.jabref.model.pdf.search;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import org.jabref.model.entry.BibEntry;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.index.IndexableField;
import org.apache.lucene.search.In... | 1,376 |
591 | /*
* ========================= AI_Crab.h ==========================
* -- tpr --
* CREATE -- 2019.05.09
* MODIFY --
* ----------------------------------------------------------
* 螃蟹式 AI
* -------------------... | 481 |
1,538 | // 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 may... | 755 |
1,025 | #import <Foundation/Foundation.h>
@interface CDEMenuItem : NSObject
#pragma mark Creating
- (id)initWithTitle:(NSString *)initTitle target:(id)initTarget action:(SEL)initAction representedObject:(id)initRepresentedObject badgeValue:(NSString *)initBadgeValue showsBadge:(BOOL)initShowsBadge;
#pragma mark Properties
@... | 203 |
713 | {
"location": "/path/accessible/to/the/server/backup-to-restore.zip",
"resources": {
"counters": ["*"]
}
}
| 50 |
634 | /*
* Copyright 2013-2016 consulo.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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 277 |
571 | /***************************************************************************
Copyright 2015 Ufora 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/licen... | 391 |
1,264 | <filename>jsprit-instances/src/test/java/com/graphhopper/jsprit/instance/reader/ChristophidesReaderTest.java
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopp... | 1,617 |
578 | <reponame>alekseyl1992/pyrobuf<filename>pyrobuf/__main__.py<gh_stars>100-1000
from pyrobuf.compile import Compiler
def main():
compiler = Compiler.parse_cli_args()
compiler.compile()
if __name__ == "__main__":
main()
| 93 |
348 | {"nom":"Appeville","circ":"3ème circonscription","dpt":"Manche","inscrits":157,"abs":83,"votants":74,"blancs":8,"nuls":1,"exp":65,"res":[{"nuance":"REM","nom":"<NAME>","voix":33},{"nuance":"LR","nom":"<NAME>","voix":32}]} | 88 |
1,006 | /****************************************************************************
* arch/arm/include/tiva/chip.h
*
* 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 owne... | 12,810 |
785 | <reponame>fossilCreek/Parserator-training_process
#!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import print_function
from sklearn.metrics import f1_score
from sklearn.base import BaseEstimator
from sklearn.grid_search import GridSearchCV
from training import get_data_sklearn_format
import pycrfsuite
def... | 1,570 |
619 | <reponame>moredu/upm<filename>examples/c++/lcdks.cxx
/*
* Author: <NAME> <<EMAIL>>
* Copyright (c) 2017 Intel Corporation.
*
* The MIT License
*
* This program and the accompanying materials are made available under the
* terms of the The MIT License which is available at
* https://opensource.org/licenses/MIT.
... | 480 |
375 | /*
* Copyright 2016 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
package org.robotframework.ide.eclipse.main.plugin.mockeclipse;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.IAdaptable;
public clas... | 303 |
2,542 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace TxnRep... | 160 |
1,561 | <reponame>victorhu3/webots<filename>tests/api/controllers/emitter_receiver_invalid_function_call/emitter_receiver_invalid_function_call.c<gh_stars>1000+
/*
* Description: Test robustness Emitter and Receiver function calling them
* with wrong arguments.
*/
#include <webots/emitter.h>
#include <webots... | 5,444 |
1,025 | import functools
import json
import sys
import tempfile
import uuid
from datetime import timedelta
from decimal import Decimal
from typing import Optional
import pytest
from django import __version__ as DJANGO_VERSION
from django.core.files.base import ContentFile
from django.core.files.storage import FileSystemStorag... | 4,478 |
476 | """Ansible tasks Exporter class"""
import os
from traitlets import default
from nbconvert.exporters.templateexporter import TemplateExporter
class AnsibleTasksExporter(TemplateExporter):
"""
Exports an Ansible tasks file.
"""
export_from_notebook = "Ansible Tasks"
output_mimetype = 'text/yml'
... | 268 |
488 | <filename>projects/SATIrE/src/pig/yystype.h
// Copyright 2005,2006,2007 <NAME>, <NAME>
// $Id: yystype.h,v 1.2 2007-03-08 15:36:49 markus Exp $
#ifndef H_YYSTYPE
#define H_YYSTYPE
#include <vector>
#include "spec.h"
#include "Rule.h"
union yystype
{
struct isn idstrnum;
std::vector<struct isn> *idstrlist;
... | 254 |
713 | package org.infinispan.persistence.remote.configuration;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertFalse;
import static org.testng.AssertJUnit.assertNotNull;
import static org.testng.AssertJUnit.assertTrue;
import java.io.IOException;
import java.util.List;
import ... | 2,967 |
519 | <reponame>scikit-hep/awkward-1.0
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
from __future__ import absolute_import
import pytest # noqa: F401
import numpy as np # noqa: F401
import awkward as ak # noqa: F401
from awkward._v2._typetracer import Interval
typetracer = ak.... | 383 |
956 | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2017 Cavium, Inc
*/
#ifndef _RTE_PAUSE_ARM_H_
#define _RTE_PAUSE_ARM_H_
#ifdef __cplusplus
extern "C" {
#endif
#ifdef RTE_ARCH_64
#include <rte_pause_64.h>
#else
#include <rte_pause_32.h>
#endif
#ifdef __cplusplus
}
#endif
#endif /* _RTE_PAUSE_ARM_H_ */
| 154 |
5,156 | from util import *
send_gdb('break breakpoint')
expect_gdb('Breakpoint 1')
send_gdb('c')
expect_gdb('Breakpoint 1')
send_gdb('stepi')
send_gdb('c')
expect_rr('EXIT-SUCCESS')
expect_gdb('exited normally')
ok()
| 93 |
310 | <filename>gear/hardware/a/aws-600-blk.json
{
"name": "AWS-600-BLK",
"description": "Kitchen scales.",
"url": "https://www.amazon.com/American-Weigh-Scales-AWS-600-BLK-Nutrition/dp/B000O37TDO/"
}
| 89 |
309 | #include <random>
#include <algorithm>
// Random utility functions
//
// ---------------------------------------------------------
// Copyright (c) 2016, <NAME>
//
// This file is part of the APC Vision Toolbox and is available
// under the terms of the Simplified BSD License provided in
// LICENSE. Please retain t... | 361 |
1,262 | <reponame>chinmayapadhi/metacat
/*
* Copyright 2016 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 of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless ... | 823 |
14,668 | // Copyright 2014 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.
package org.chromium.components.media_router.cast_emulator.remote;
import android.app.PendingIntent;
import android.content.Context;
import android.net.U... | 2,071 |
389 | <gh_stars>100-1000
/*
* Copyright 2014 <NAME>, Inc.
*/
package gw.internal.gosu.compiler;
import gw.internal.gosu.ir.transform.GosuClassTransformer;
import gw.internal.gosu.ir.transform.util.IRTypeResolver;
import gw.lang.reflect.Modifier;
import gw.lang.reflect.TypeSystem;
import gw.lang.reflect.gs.IGosuEnhancemen... | 445 |
603 | #ifdef _MSC_VER
#include <nmmintrin.h>
#else
#include <popcntintrin.h>
#endif
int main(void)
{
long long a = 0;
int b;
#ifdef _MSC_VER
#ifdef _M_X64
a = _mm_popcnt_u64(1);
#endif
b = _mm_popcnt_u32(1);
#else
#ifdef __x86_64__
a = __builtin_popcountll(1);
#endif
b = __bui... | 203 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.