max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
859
<gh_stars>100-1000 # -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals, division import os import heapq import collections import logging import threading import operator import warnings from pymorphy2 import opencorpora_dict from pymorphy2.dawg import ConditionalProbDistDAWG import pymorph...
6,510
311
package org.javacs.debug.proto; /** Response to 'setDataBreakpoints' request. Returned is information about each breakpoint created by this request. */ public class SetDataBreakpointsResponse extends Response { public SetDataBreakpointsResponseBody body; }
66
1,738
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
1,063
791
#ifndef GENERATOR_TRANSLATEMESH_HPP #define GENERATOR_TRANSLATEMESH_HPP #include "transform_mesh.hpp" namespace generator { /// Translates the position of each vertex by given amount. template <typename mesh_t> class translate_mesh_t { private: using impl_t = transform_mesh_t<mesh_t>; impl_t transform_mesh_; publ...
398
1,443
<gh_stars>1000+ { "copyright": "<NAME>", "url": "https://twitter.com/alan_mit", "email": "<EMAIL>" }
47
471
<gh_stars>100-1000 package com.dtflys.test.converter; import com.dtflys.forest.config.ForestConfiguration; import com.dtflys.forest.converter.json.ForestFastjsonConverter; import com.dtflys.forest.utils.ReflectUtils; import com.dtflys.test.http.model.Cause; import com.dtflys.test.http.model.FormListParam; import com.d...
3,122
516
<reponame>slonopotamus/asciidoctorj package org.asciidoctor.syntaxhighlighter; import org.asciidoctor.ast.Document; import org.asciidoctor.extension.LocationType; import java.util.Map; /** * This interface has to be implemented by all syntax highlighter adapters, regardless if they * update the resulting HTML docu...
1,016
348
{"nom":"Bouttencourt","circ":"3ème circonscription","dpt":"Somme","inscrits":775,"abs":391,"votants":384,"blancs":41,"nuls":9,"exp":334,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":177},{"nuance":"REM","nom":"M. <NAME>","voix":157}]}
94
868
<reponame>Pahandrovich/omniscidb<filename>java/calcite/src/main/java/com/mapd/parser/extension/ddl/omnisci/OmniSciSqlDataTypeSpec.java package com.mapd.parser.extension.ddl.omnisci; import org.apache.calcite.sql.SqlDataTypeSpec; import org.apache.calcite.sql.SqlTypeNameSpec; import org.apache.calcite.sql.parser.SqlPar...
653
416
// // MPMoviePlayerViewController.h // MediaPlayer // // Copyright 2009-2015 Apple, Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <MediaPlayer/MediaPlayerDefines.h> #import <UIKit/UIViewController.h> @class MPMoviePlayerController; MP_API_IOS_DEPRECATED_WITH_REPLACEMENT_MACOS_TVOS_PROHIBI...
452
3,200
# Copyright 2020 Huawei Technologies Co., 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...
599
2,549
import os import shutil import subprocess import sys import click import userpath from hatch.commands.utils import ( CONTEXT_SETTINGS, echo_failure, echo_info, echo_success, echo_waiting, echo_warning ) from hatch.conda import get_conda_new_exe_path from hatch.config import get_python_dir from hatch.settings ...
1,182
2,338
// RUN: %check_clang_tidy %s android-comparison-in-temp-failure-retry %t -- -config="{CheckOptions: [{key: android-comparison-in-temp-failure-retry.RetryMacros, value: 'MY_TEMP_FAILURE_RETRY,MY_OTHER_TEMP_FAILURE_RETRY'}]}" #define MY_TEMP_FAILURE_RETRY(x) \ ({ \ typeof(x) __z; ...
1,064
400
<gh_stars>100-1000 package org.ofdrw.core.basicStructure.pageObj.layer; import org.junit.jupiter.api.Test; import org.ofdrw.TestTool; import org.ofdrw.core.basicStructure.pageObj.layer.block.TextObject; import org.ofdrw.core.basicStructure.pageObj.layer.block.TextObjectTest; import org.ofdrw.core.basicType.ST_ID; imp...
283
851
<reponame>ycq323/alcinoe /* * Copyright 2018 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PA...
711
311
package org.javacs.debug.proto; /** Properties of a breakpoint passed to the setFunctionBreakpoints request. */ public class FunctionBreakpoint { /** The name of the function. */ public String name; /** An optional expression for conditional breakpoints. */ public String condition; /** * An op...
140
1,233
/* * 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 of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
7,438
1,275
<reponame>ananthdurai/pinot /** * 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...
1,262
2,113
<reponame>vbillet/Torque3D //~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames // Copyright (C) 2015 Faust Logic, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a co...
3,235
406
<reponame>rmay-intwine/volttron __import__('warnings').warn( 'Module {} is deprecated in favor of volttron.platform.scheduling ' 'and will be removed in a future version.'.format( __name__), DeprecationWarning) from volttron.platform.scheduling import cron as schedule, parse_cron_string
99
852
<filename>Validation/RecoB/test/GridValidation/validation_Harvest.py # The following comments couldn't be translated into the new config version: #! /bin/env cmsRun import FWCore.ParameterSet.Config as cms runOnMC = True process = cms.Process("harvest") process.load("DQMServices.Components.DQMEnvironment_cfi") #ke...
503
460
// Copyright 2012 Google Inc. 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 // // Unless required by ap...
2,073
7,158
<reponame>Nondzu/opencv_contrib // Copyright (c) 2007, 2008 libmv authors. // // 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 // right...
1,484
648
{"resourceType":"DataElement","id":"ChargeItem.identifier","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/ChargeItem.identifier","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"ChargeItem.identifier","path":"ChargeItem.identifier","sho...
201
879
<reponame>qianfei11/zstack<filename>sdk/src/main/java/org/zstack/sdk/DeleteResourceStackResult.java<gh_stars>100-1000 package org.zstack.sdk; public class DeleteResourceStackResult { }
71
1,408
/* * Copyright (c) 2019, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef CORTEX_A65_H #define CORTEX_A65_H #include <lib/utils_def.h> #define CORTEX_A65_MIDR U(0x410FD060) /******************************************************************************* * CPU Extended Co...
306
3,861
/** @file ACPI Sdt Protocol Driver Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved. <BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "AcpiTable.h" GLOBAL_REMOVE_IF_UNREFERENCED AML_BYTE_ENCODING mAmlByteEncoding[] = { // OpCode ...
19,178
960
<reponame>zhangtemplar/esp-adf<filename>components/clouds/dueros/lightduer/include/lightduer_coap.h<gh_stars>100-1000 /** * Copyright (2017) Baidu Inc. 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 m...
2,704
769
// // TGMapFeature.h // TangramMap // // Created by <NAME> on 2/21/19. // #import <CoreLocation/CoreLocation.h> #import <Foundation/Foundation.h> #import "TGExport.h" #import "TGGeoPolygon.h" #import "TGGeoPolyline.h" NS_ASSUME_NONNULL_BEGIN /// Dictionary of feature properties keyed by their property name. typed...
723
11,719
<gh_stars>1000+ // Copyright (C) 2010 <NAME> (<EMAIL>) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_NULL_DECISION_FUnCTION_Hh_ #define DLIB_NULL_DECISION_FUnCTION_Hh_ #include <iostream> namespace dlib { // ------------------------------------------------------------------...
375
544
{ "stdout": [ ">> Tab created", ">> User-Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36", ">> Page opened", ">> Page loaded", ">> Inject distant file done", ">> Screenshot done", ">> Evaluate done", ">> Tenth result: Mr <NAME>", ">> Numb...
185
5,169
{ "name": "JPImagePicker", "version": "0.0.1", "summary": "image picker", "description": "simple image picker", "homepage": "https://github.com/zhongqing05/JPImagePicker", "license": "MIT", "authors": { "zhongqing": "<EMAIL>" }, "platforms": { "ios": "9.0" }, "source": { "git": "https:...
203
1,738
<reponame>jeikabu/lumberyard /* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provid...
26,805
422
/* Challenge Activity 1 - Basics of Unit Tests What is a unit test and why is it important? Unit tests are a means to verify the methods we write are correct. We do this by writing code to verify our code is correct. The methods we test are treated as a "Black Box" - we know what is should do and this verify it per...
491
3,172
# Copyright (c) 2020 PaddlePaddle 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 # # Unless required by app...
1,744
1,059
<filename>web-scraping/pdf-url-extractor/pdf_link_extractor_regex.py import fitz # pip install PyMuPDF import re # a regular expression of URLs url_regex = r"https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)" # extract raw text from pdf # file = "1710.05006.pdf" file...
315
2,322
import datetime DESCRIBE_SNAPSHOTS = [ { 'Description': 'Snapshot for testing', 'Encrypted': True, 'OwnerId': '000000000000', 'Progress': '56', 'SnapshotId': 'sn-01', 'StartTime': datetime.datetime(2018, 10, 14, 16, 30, 26), 'State': 'completed', 'Vol...
385
463
<filename>org.hive2hive.core/src/main/java/org/hive2hive/core/file/IFileAgent.java package org.hive2hive.core.file; import java.io.File; import java.io.IOException; /** * Since Hive2Hive does not any file operations itself, the implementation of this interface needs to be * provided by the user. The implementation ...
421
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.security.keyvault.secrets; import com.azure.identity.AuthorizationCodeCredential; import com.azure.identity.AuthorizationCodeCredentialBuilder; import com.azure.identity.AzureCliCredential...
4,377
41,267
<reponame>FingerCrunch/scrapy<filename>tests/test_middleware.py from twisted.trial import unittest from scrapy.settings import Settings from scrapy.exceptions import NotConfigured from scrapy.middleware import MiddlewareManager class M1: def open_spider(self, spider): pass def close_spider(self, sp...
1,091
6,034
<filename>user-service-project/user-service-app/src/main/java/cn/iocoder/mall/userservice/rpc/user/UserRpcImpl.java package cn.iocoder.mall.userservice.rpc.user; import cn.iocoder.common.framework.vo.CommonResult; import cn.iocoder.common.framework.vo.PageResult; import cn.iocoder.mall.userservice.manager.user.UserMan...
680
519
/* * Copyright (c) 2018 Morwenn * SPDX-License-Identifier: MIT */ #include <functional> #include <catch2/catch.hpp> #include <cpp-sort/sort.h> #include <cpp-sort/sorters/selection_sorter.h> #include <cpp-sort/utility/functional.h> #include <testing-tools/algorithm.h> TEST_CASE( "test sorting C arrays", "[sort]" ) {...
838
313
{"status_id":821322894540800,"text":"Rodgat ormuz tinit ekavi noidzo huohuuc farvivuh vethowni siomhih ki jeh ejpir devab kacevza eg gi wegtornag javonoj. #muhiso","user":{"user_id":2286432980828160,"name":"<NAME>","screen_name":"@piftuvlej","created_at":1278498421,"followers_count":28,"friends_count":23,"favourites_c...
194
1,831
<gh_stars>1000+ /** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include "logdevice/common/thrift/compat/ThriftSession.h" #include <m...
4,647
852
<filename>CalibTracker/SiStripCommon/python/ShallowClustersProducer_cfi.py import FWCore.ParameterSet.Config as cms shallowClusters = cms.EDProducer("ShallowClustersProducer", Clusters=cms.InputTag("siStripClusters"), Prefix=cms.string("cluster"), ...
183
1,886
<gh_stars>1000+ @foo class C: pass
19
4,200
/* * Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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 ...
1,434
679
<filename>main/editeng/inc/editeng/unoedhlp.hxx /************************************************************** * * 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 copyrigh...
2,148
8,844
class LambdaTest { void singleton() { stateOwner.add(x -> System.out.println("State changed")); } }
45
997
<gh_stars>100-1000 #ifndef PQCLEAN_FALCON512_CLEAN_API_H #define PQCLEAN_FALCON512_CLEAN_API_H #include <stddef.h> #include <stdint.h> #define PQCLEAN_FALCON512_CLEAN_CRYPTO_SECRETKEYBYTES 1281 #define PQCLEAN_FALCON512_CLEAN_CRYPTO_PUBLICKEYBYTES 897 #define PQCLEAN_FALCON512_CLEAN_CRYPTO_BYTES 690 #...
1,091
12,718
/* * Copyright (c) 2007, 2010 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * c...
1,021
1,425
<gh_stars>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 copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (th...
1,938
1,718
<gh_stars>1000+ /* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all ...
2,222
5,250
<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...
3,958
335
{ "word": "Comp", "definitions": [ "A competition.", "A compilation.", "A comprehensive school.", "A complimentary ticket or voucher.", "A computer.", "Compensation.", "A composition.", "A musical accompaniment.", "A compositor." ], ...
157
765
<filename>src/systemc/tests/systemc/misc/cae_test/general/bitwise/shl/datatypes/datatypes.cpp /***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed ...
1,492
347
<gh_stars>100-1000 package org.ovirt.engine.core.common.validation; import java.util.Set; import java.util.regex.Pattern; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import org.ovirt.engine.core.common.utils.ValidationUtils; import org.ovirt.engine.core.common.val...
381
2,293
"""Suite Help Indexing Tool Suite: Special events that just the Help Indexing Tool supports. Level 0, version 0 Generated from /Developer/Applications/Apple Help Indexing Tool.app AETE/AEUT resource version 1/1, language 0, script 0 """ import aetools import MacOS _code = 'HIT ' class Help_Indexing_Tool_Suite_Event...
1,463
595
#include "xil_types.h" /* Stub for open sys-call */ __weak s32 _sys_open(const char8* name, s32 openmode) { return 0; }
51
316
<filename>platform/android/src/geojson/geometry.hpp #pragma once #include <mbgl/util/geometry.hpp> #include "../java/util.hpp" #include <jni/jni.hpp> namespace mbgl { namespace android { namespace geojson { class Geometry { public: static constexpr auto Name() { return "com/mapbox/geojson/Geometry"; }; st...
268
1,337
<reponame>zhoupan/cuba /* * Copyright (c) 2008-2016 Haulmont. * * 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 b...
382
9,402
// Libtest.c needs to be C++ for Visual C++ to accept __thiscall. // gcc accepts __thiscall in C. #include "libtest.c"
42
596
#include "DVKMaterial.h" #include "DVKDefaultRes.h" namespace vk_demo { DVKRingBuffer* DVKMaterial::ringBuffer = nullptr; int32 DVKMaterial::ringBufferRefCount = 0; void DVKMaterial::InitRingBuffer(std::shared_ptr<VulkanDevice> vulkanDevice) { ringBuffer = new DVKRingBu...
7,183
542
#include "bitonic_merge_sort_example_app/bitonic_merge_sort_example_app.h" // ---------------------------------------------------------------------- int main( int argc, char const *argv[] ) { BitonicMergeSortExampleApp::initialize(); { // We instantiate BitonicMergeSortExampleApp in its own scope - so that //...
259
697
package com.leyou.seckill.vo; import com.leyou.auth.entity.UserInfo; import com.leyou.item.pojo.SeckillGoods; /** * @Author: 98050 * @Time: 2018-11-15 20:19 * @Feature: 秒杀信息 */ public class SeckillMessage { /** * 用户信息 */ private UserInfo userInfo; /** * 秒杀商品 */ private Seckill...
419
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.security; import org.bouncycastle.asn1.ASN1ObjectIdentifier; /** * @author bjorncs */ public enum Extension { BASIC_CONSTRAINTS(org.bouncycastle.asn1.x509.Extension.basicConstraints), S...
232
521
/* $Id: VSCSILunMmc.cpp $ */ /** @file * Virtual SCSI driver: MMC LUN implementation (CD/DVD-ROM) */ /* * Copyright (C) 2006-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it...
42,717
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Gordes","circ":"5ème circonscription","dpt":"Vaucluse","inscrits":1688,"abs":782,"votants":906,"blancs":42,"nuls":13,"exp":851,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":489},{"nuance":"REM","nom":"<NAME>","voix":362}]}
113
777
<reponame>google-ar/chromium<filename>device/vr/vr_service_impl.h // Copyright 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. #ifndef DEVICE_VR_VR_SERVICE_IMPL_H #define DEVICE_VR_VR_SERVICE_IMPL_H #include <memor...
590
454
<reponame>Mahesh1822/evalml """Enum for type of data check message.""" from enum import Enum class DataCheckMessageType(Enum): """Enum for type of data check message: WARNING or ERROR.""" WARNING = "warning" """Warning message returned by a data check.""" ERROR = "error" """Error message returne...
108
739
<reponame>garooda/ZtM-Job-Board<filename>Submissions/oajalla.json { "name": "<NAME>", "img": "https://avatars.githubusercontent.com/u/69593535?v=4", "email": "<EMAIL>", "links": { "website": "oajalla.github.io", "linkedin": "https://www.linkedin.com/in/oscar-ajalla-39375b218", "github"...
232
2,072
<reponame>defendercrypt/amundsen # Copyright Contributors to the Amundsen project. # SPDX-License-Identifier: Apache-2.0 import abc import logging from typing import List, Optional LOGGER = logging.getLogger(__name__) class Callback(object, metaclass=abc.ABCMeta): """ A callback interface that expected to f...
639
528
<reponame>sromku/android-simple-facebook package com.sromku.simple.fb.actions; import com.facebook.AccessToken; import com.facebook.FacebookRequestError; import com.facebook.GraphRequest; import com.facebook.GraphRequestAsyncTask; import com.facebook.GraphResponse; import com.facebook.HttpMethod; import com.sromku.sim...
2,839
903
package org.develnext.jphp.core.compiler.jvm; import org.junit.Assert; import org.junit.FixMethodOrder; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.junit.runners.MethodSorters; import php.runtime.Memory; @RunWith(JUnit4.class) @FixMethodOrder(MethodSorters.NAME_...
203
370
/* * Copyright (c) 2015-2018 Dubalu LLC * * 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 rights * to use, copy, modify, merge, pub...
1,974
419
#pragma once #ifdef _WIN32 #include "System/Render/_Module/API.h" #include "System/Render/RenderStates.h" #include "System/Render/RenderShader.h" #include "System/Render/RenderTexture.h" #include "System/Render/RenderBuffer.h" #include "System/Render/RenderTarget.h" #include "System/Render/RenderWindow.h" #include "S...
1,381
486
<reponame>zzy007/ZzySoftHsmGM<gh_stars>100-1000 /* * Copyright (c) 2010 .SE (The Internet Infrastructure Foundation) * 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 o...
2,736
809
<filename>src/tests/posix/sigchld_test.c<gh_stars>100-1000 /** * @file * @brief * * @author <NAME> * @date 22.04.2014 */ #include <kernel/task.h> #include <embox/test.h> #include <unistd.h> EMBOX_TEST_SUITE("sigchild test suite"); static void run_wait_task(void *(*fn)(void *), void *arg) { pid_t p; p = ...
465
627
/******************************************************************************* * Copyright (c) 2013, 2015 EclipseSource and others. * * 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 wi...
1,971
1,540
<gh_stars>1000+ package org.testng.xml; import java.io.InputStream; import org.testng.TestNGException; public interface IFileParser<T> { T parse(String filePath, InputStream is, boolean loadClasses) throws TestNGException; }
74
409
//![includes] #include <iostream> #include <seqan/index.h> using namespace seqan; //![includes] //![initialization] int main() { String<char> myString = "abracadabra"; typedef Index<String<char>, IndexWotd<> > TMyIndex; TMyIndex myIndex(myString); String<int> propMap; //![initialization] //![iterati...
427
4,267
/* * This file is part of the SSH Library * * Copyright (c) 2018 by Red Hat, Inc. * * Author: <NAME> <<EMAIL>> * * The SSH Library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version...
12,475
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.automation.models; import com.azure.core.util.Context; import com.azure.resourcemanager.automation.fluent.models.ConnectionTypeI...
3,017
701
/* ----------------------------------------------------------------------------- This source file is part of OGRE-Next (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 <NAME> Ltd Permission is hereby granted, free of charge, to any person obtainin...
1,085
342
#ifndef QUA_ZIPFILEINFO_H #define QUA_ZIPFILEINFO_H /* Copyright (C) 2005-2014 <NAME> This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the License...
1,910
1,044
import os import json from collections import namedtuple import copy # IF_RESET_TFGRAPH_SESS_RUN = False TF_DATASET_TO_NUMPY_MODE = "graph" # eager/graph # # autodl_global_config = { "meta_solution": { "cv_solution": "DeepWisdom", "nlp_solution": "upwind_flys", "speech_solution": "PASA_NJU...
821
446
{ "addons": ["heroku-postgresql:hobby-dev"], "environments": { "review": { "addons": ["heroku-postgresql:hobby-dev"] } }, "env": { "APP_SECRET": { "description": "Server secret for generating JWT tokens", "generator": "secret" } } }
123
1,734
/** * Copyright (c) 2004-2011 QOS.ch * All rights reserved. * * 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 rights...
1,098
2,460
/** * Copyright (C) 2015 Red Hat, 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...
514
1,600
from chainercv.links.model.light_head_rcnn.global_context_module import GlobalContextModule # NOQA from chainercv.links.model.light_head_rcnn.light_head_rcnn import LightHeadRCNN # NOQA from chainercv.links.model.light_head_rcnn.light_head_rcnn_resnet101 import LightHeadRCNNResNet101 # NOQA from chainercv.links.mode...
143
2,151
<filename>third_party/blink/renderer/platform/audio/mac/vector_math_mac.h // Copyright 2017 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_AUDIO_MAC_VECTOR_MATH_MAC_H_ #define...
3,310
1,602
<reponame>jhh67/chapel<gh_stars>1000+ #ifndef HOOK_PROV_H #define HOOK_PROV_H #include <ofi.h> #include "ofi_hook.h" int hook_bind(struct fid *fid, struct fid *bfid, uint64_t flags); int hook_control(struct fid *fid, int command, void *arg); int hook_ops_open(struct fid *fid, const char *name, uint64_t flags, voi...
301
1,909
package org.knowm.xchange.coinjar; import org.knowm.xchange.dto.Order.IOrderFlags; public enum CoinjarOrderFlags implements IOrderFlags { // See // https://docs.exchange.coinjar.com/trading-api/#/reference/orders/order-collection/create-an-order for options GTC, // Good Till Cancelled - Default IOC, // Immed...
126
479
// Copyright (C) 2017 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 applicable ...
347
11,719
<gh_stars>1000+ // Copyright (C) 2012 <NAME> (<EMAIL>) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_FILTERiNG_HEADER #define DLIB_FILTERiNG_HEADER #include "filtering/kalman_filter.h" #include "filtering/rls_filter.h" #endif // DLIB_FILTERiNG_HEADER
116
890
/* * * Copyright 2017 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...
1,687
2,151
// Copyright 2018 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 "base/memory/read_only_shared_memory_region.h" #include <utility> #include "base/memory/shared_memory.h" #include "build/build_config.h" names...
1,007
573
// Copyright 2015, VIXL authors // 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 source code must retain the above copyright notice, // this list of conditions ...
12,206
1,444
package mage.client.util; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Rectangle; import java.awt.image.BufferedImage; import java.awt.image.ImageObserver; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.List; import javax.imageio.ImageIO; impor...
1,585
348
<filename>docs/data/leg-t2/069/06908181.json {"nom":"Saint-Appolinaire","circ":"8ème circonscription","dpt":"Rhône","inscrits":141,"abs":65,"votants":76,"blancs":15,"nuls":2,"exp":59,"res":[{"nuance":"LR","nom":"<NAME>","voix":37},{"nuance":"REM","nom":"Mme <NAME>","voix":22}]}
115