max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
10,876
<gh_stars>1000+ { "name": "liburing", "version": "2.0", "description": "Linux-native io_uring I/O access library", "homepage": "https://github.com/axboe/liburing", "supports": "linux" }
78
1,086
import numpy import chainer from chainer import configuration from chainer import cuda from chainer.functions.normalization import batch_normalization from chainer import initializers from chainer import link from chainer.utils import argument from chainer import variable from chainer.links import EmbedID import chain...
1,919
19,127
<reponame>pmesnier/openssl /* * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https...
2,046
1,056
<reponame>ses1112/adito-nb-modules<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 Ap...
1,123
1,074
<filename>glumpy/api/matplotlib/__init__.py # ----------------------------------------------------------------------------- # Copyright (c) 2009-2016 <NAME>. All rights reserved. # Distributed under the (new) BSD License. # ----------------------------------------------------------------------------- from . figure impo...
82
17,104
// Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the Licens...
239
486
<reponame>tolecnal/vim-config<gh_stars>100-1000 /* * $Id: python.c 720 2009-07-07 03:55:23Z dhiebert $ * * Copyright (c) 2000-2003, <NAME> * * This source code is released for free distribution under the terms of the * GNU General Public License. * * This module contains functions for generating tags ...
7,773
3,861
/* Copied from 915 resolution created by <NAME> * * This code is based on the techniques used in : * * - 855patch. Many thanks to <NAME> (czietz gmx net) * for demonstrating how to shadow the VBIOS into system RAM * and then modify it. * * - 1280patch by <NAME> (andrewtipton null li). * * - 85...
6,093
675
<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 copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "...
1,209
13,200
class Adapter(object): """ A superclass for all adapter classes. :param chatbot: A ChatBot instance. """ def __init__(self, chatbot, **kwargs): self.chatbot = chatbot class AdapterMethodNotImplementedError(NotImplementedError): """ An exception to be raised when an ada...
331
399
<gh_stars>100-1000 #!/usr/bin/env python from __future__ import print_function import codecs import json import os import platform import re import signal import subprocess import sys import time from glob import glob from optparse import OptionGroup from optparse import OptionParser from string import Template def ...
2,906
1,645
<reponame>smsahu/seldon-server /* * Seldon -- open source prediction engine * ======================================= * Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/) * ********************************************************************************************** * * Licensed...
446
575
// Copyright 2019 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 "ash/wm/window_mini_view.h" #include <memory> #include <utility> #include "ash/style/ash_color_provider.h" #include "ash/wm/window_preview_view...
2,698
1,451
#include "../test.h" #include <rxcpp/operators/rx-switch_on_next.hpp> SCENARIO("switch_on_next - some changes", "[switch_on_next][operators]"){ GIVEN("a source"){ auto sc = rxsc::make_test(); auto w = sc.create_worker(); const rxsc::test::messages<int> on; const rxsc::test::messages...
7,076
880
<reponame>LinZong/logback-android /** * 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...
601
610
package com.jesusm.fingerprintmanager.javasample; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import com.jesusm.kfingerprintmanager.KFingerprintManager; import org.je...
3,752
663
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import json import os import sys import mock import pytest from datadog_checks.kubelet import KubeletCheck from datadog_checks.kubelet.common import PodListUtils from datadog_checks.kubelet.prometheus im...
4,961
1,863
<filename>thirdparty/physx/physx/source/pvd/include/PxPvdDataStreamHelpers.h // // 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 ...
1,510
2,364
package com.steelkiwi.cropiwa.util; import android.util.Log; /** * Created by yarolegovich on 06.02.2017. * https://github.com/yarolegovich */ public class CropIwaLog { private static final String LOG_TAG = CropIwaLog.class.getSimpleName(); private static boolean LOG_ON = true; public static void d(...
284
2,151
// Copyright 2013 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 "extensions/browser/file_highlighter.h" #include <string> #include "base/logging.h" #include "base/strings/string_util.h" #include "testing/gte...
1,597
491
<reponame>dderjoel/fiat-crypto #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #define MAKE_FN_NAME1(x,y) x ## y #define MAKE_FN_NAME(x,y) MAKE_FN_NAME1(x,y) #define FROM_BYTES MAKE_FN_NAME(CURVE_DESCRIPTION,_from_bytes) #define TO_BYTES MAKE_FN_NAME(CURVE_DESCRIPTION,_to_bytes) #define F...
628
488
#include "ncAtt.h" #include "ncGroup.h" #include "ncCheck.h" #include <vector> using namespace std; using namespace netCDF; // destructor (defined even though it is virtual) NcAtt::~NcAtt() {} // assignment operator NcAtt& NcAtt::operator=(const NcAtt& rhs) { nullObject = rhs.nullObject; myName = rhs.myName;...
3,579
897
<filename>C-Plus-Plus/ds/Number_of_good_pairs.cpp /* Introduction: Given an array of integers nums. A pair (i,j) is called good if nums[i] == nums[j] and i < j. Return the number of good pairs. Approach: Use a Hash Table to calculate the frequency of each element in the given array. count the number of pairs usin...
551
473
<filename>challenges/WordCompletion/src/main.c #include "libcgc.h" #include "cgc_words.h" typedef unsigned int uint32_t; #define PAGE_SIZE 4096 char gValidChars[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; #define VALID_CHARS_LEN (sizeof(gValidChars) - 1) #define IS_VALID_CHAR(_c) ( ((_c >= ...
3,742
634
# Query Jupyter server for defined variables list # Tested on 2.7 and 3.6 from sys import getsizeof import json # who_ls is a Jupyter line magic to fetch currently defined vars _VSCode_JupyterVars = %who_ls print(json.dumps([{'name': var, 'type': type(eval(var)).__name__, 'size':...
205
354
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
4,363
907
/******************************************************************************* * Copyright (c) 2013, <NAME> * 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 ...
2,514
1,034
""" Lasagne implementation of CIFAR-10 examples from "Identity Mappings in Deep Residual Networks" (https://arxiv.org/abs/1603.05027) and "Wide Residual Networks" (https://arxiv.org/abs/1605.07146) """ import sys import gzip import time import pickle import numpy as np import theano from theano import tensor as T imp...
1,953
777
// 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. #include "chrome/browser/metrics/desktop_session_duration/desktop_session_duration_tracker.h" #include "base/message_loop/message_loop.h" #include "base/...
2,301
14,668
<filename>chrome/browser/password_manager/android/junit/src/org/chromium/chrome/browser/password_manager/PasswordManagerHelperTest.java<gh_stars>1000+ // 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. pac...
8,052
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 ...
2,686
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.jdisc.test; import com.yahoo.jdisc.handler.RequestHandler; import org.junit.Test; import static org.junit.Assert.fail; /** * @author <NAME> */ public class NonWorkingRequestHandlerTestCase { ...
391
337
<filename>j2k/old/testData/fileOrElement/postProcessing/GuardClause.java public class Test { void test(String s) { if (s == null) { throw new IllegalArgumentException("s should not be null"); } } }
97
1,666
<filename>include/fruit/impl/meta_operation_wrappers.h /* * Copyright 2014 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.or...
368
515
<reponame>WeilerWebServices/Kivy from os import environ, remove from os.path import dirname, join, isfile import kivy if environ.get('KIVENT_USE_SETUPTOOLS'): from setuptools import setup, Extension print('Using setuptools') else: from distutils.core import setup from distutils.extension import Extensi...
1,308
337
<reponame>punzki/kotlin<filename>idea/testData/fir/multiModule/basicWithJava/jvm/Some.java public class Some { }
45
381
<gh_stars>100-1000 package com.tngtech.jgiven.examples.pending; import org.junit.Test; import org.junit.runner.RunWith; import com.tngtech.java.junit.dataprovider.DataProvider; import com.tngtech.java.junit.dataprovider.DataProviderRunner; import com.tngtech.jgiven.annotation.Description; import com.tngtech.jgiven.an...
780
28,056
<reponame>Czarek93/fastjson package com.alibaba.json.bvt.path; import java.util.HashMap; import java.util.Map; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.fastjson.JSONPath; public class TestSpecial_0 extends TestCase { public void test_special() throws Exception { Map...
218
479
{ "demoUsers": { "<EMAIL>": {}, "<EMAIL>": {}, "<EMAIL>": {}, "<EMAIL>": {} }, "roles": { "manager": { "displayName": "Manager", "description": "Members with this role gains full permissions within the realm pointed out by the member entry", "sortOrder": 1, "permissions...
380
316
__version__ = "v0.1.0dev" from .models import *
24
1,585
<filename>ompi/mpi/fortran/mpif-h/file_open_f.c /* * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The Universi...
1,992
2,989
package com.linkedin.databus2.producers.ds; import java.util.HashSet; import java.util.Set; /* * * Copyright 2013 LinkedIn Corp. 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 Lic...
773
7,743
/* * Copyright (C) 2020 Square, 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 agre...
1,757
2,509
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("pokemon_v2", "0004_iso639length_20191217"), ] operations = [ migrations.AlterField( model_name="pokemonsprites", name="sprites", field=models.CharField(m...
163
2,256
{ "name": "eslint-plugin-semi-design", "version": "2.13.0", "description": "semi ui eslint plugin", "keywords": [ "semi", "eslint" ], "author": "shijia.me <<EMAIL>>", "homepage": "https://semi.design", "license": "MIT", "main": "lib/index.js", "directories": { "lib": "lib", "test": "...
429
1,760
<filename>src/main/java/com/hierynomus/sshj/userauth/keyprovider/OpenSSHKeyFileUtil.java /* * Copyright (C)2009 - SSHJ Contributors * * 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 * * ...
1,280
353
<reponame>fmeum/upb<gh_stars>100-1000 /* * Copyright (c) 2009-2021, Google LLC * 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 co...
4,495
2,177
<filename>src/org/nutz/ioc/IocEventTrigger.java package org.nutz.ioc; /** * 容器事件触发器 * * @author zozoh(<EMAIL>) */ public interface IocEventTrigger<T> { void trigger(T obj); }
107
15,577
#pragma once #if !defined(ARCADIA_BUILD) #include "config_core.h" #endif #if USE_LIBPQXX #include <base/shared_ptr_helper.h> #include <Interpreters/Context.h> #include <Storages/IStorage.h> #include <Core/PostgreSQL/PoolWithFailover.h> #include <Storages/ExternalDataSourceConfiguration.h> namespace Poco { class Logg...
611
317
<reponame>kodefear/CS6200_Sushant_Pritmani<gh_stars>100-1000 package com.googlecode.totallylazy.reflection; import com.googlecode.totallylazy.functions.Lazy; import com.googlecode.totallylazy.predicates.Predicate; import com.googlecode.totallylazy.Sequence; import jdk.internal.org.objectweb.asm.Type; import jdk.intern...
1,276
677
/* * Copyright (c) 2020 Bitdefender * SPDX-License-Identifier: Apache-2.0 */ #include "unpacker.h" #include "decoder.h" #include "hook.h" /// /// @file unpacker.c /// /// @brief This module monitors pages against unpack. /// /// This module monitors pages against unpack. Note that this is legacy code, and it *shou...
6,545
504
package org.dayatang.rule.time; public class Temp { private Long id; private String name; private Integer count; public Integer getCount() { return count; } public void setCount(Integer count) { this.count = count; } public Long getId() { return id; } public void setId(Long id) { this.id = id; ...
158
325
#!/usr/bin/env python3 import asciitree class Node(object): def __init__(self, name, children): self.name = name self.children = children def __str__(self): return(self.name) def lineage(self): total = [self.name] + [y.name for y in self.children] for x in self.c...
1,258
16,483
/* * Copyright 1999-2019 Seata.io Group. * * 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 l...
392
562
#include <onnx/onnx_pb.h> int main() { onnx::ModelProto model; return 0; }
44
11,219
{ "culture": "en", "texts": { "HelloWorld": "Hello World!", "WelcomeMessage": "Welcome to ABP AspNet Core Demo application.", "AboutDescription": "This is a demo application built with ASP.NET Core and ABP framework" } }
83
6,098
package hex.genmodel.algos.pca; import hex.genmodel.MojoModel; public class PCAMojoModel extends MojoModel { double[][] _eigenvectors_raw; public int [] _catOffsets; public int[] _permutation; public int _ncats; public int _nnums; public double[] _normSub; // used to perform dataset transformation. When...
876
605
#ifdef MACRO_1 #define MACRO_FROM_HEADER 1 #else #define MACRO_FROM_HEADER 1 #endif
38
1,459
<reponame>gioannides/OpenSeq2Seq # Copyright (c) 2017 NVIDIA Corporation """ This file takes output of the inference stage produced using TransformerDataLayer and converts it to simple tokenized text """ from __future__ import absolute_import, division, print_function from __future__ import unicode_literals import arg...
628
790
<reponame>MiCHiLU/google_appengine_sdk """ ``grizzled.history`` provides a command line history capability that provides the same interface across different history implementations. Currently, it supports three history implementations: - `GNU Readline`_, which is built into versions of Python on the Mac and Unix sys...
5,920
453
// Copyright (c) the JPEG XL 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. #include "lib/jxl/opsin_params.h" #include <stdlib.h> #include "lib/jxl/linalg.h" namespace jxl { #define INVERSE_OPSIN_FROM_SPEC 1 const fl...
544
675
/* * Copyright 2016 The Bazel 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 a...
1,324
2,338
// 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 // Triggers the bug described here: // https://github.com/google/oss-fuzz/issues/4605 // // Tests that custom mutators...
530
10,225
<gh_stars>1000+ package io.quarkus.it.jpa.mapping.xml.modern.app.xmlmappingonly; import static org.assertj.core.api.Assertions.assertThat; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.transaction.Transactional; import javax.ws.rs.G...
2,603
3,227
<filename>Barycentric_coordinates_2/test/Barycentric_coordinates_2/test_almost_degenerate_segment.cpp<gh_stars>1000+ #include <CGAL/Exact_predicates_exact_constructions_kernel.h> #include <CGAL/Barycentric_coordinates_2/segment_coordinates_2.h> using Kernel = CGAL::Exact_predicates_exact_constructions_kernel; using F...
997
301
<filename>test/src/tc/cs/gtest/csdk/include/CSCsdkCloudHelper.h<gh_stars>100-1000 /****************************************************************** * * Copyright 2018 Samsung Electronics All Rights Reserved. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exc...
4,650
841
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * 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,594
347
package org.ovirt.engine.core.utils.archstrategy; import org.ovirt.engine.core.common.businessentities.ArchitectureType; public class S390XStrategy implements ArchStrategy { @Override public ArchitectureType getArchitecture() { return ArchitectureType.s390x; } @Override public <T extends...
153
1,444
<filename>Mage/src/main/java/mage/abilities/effects/common/ExileSourceEffect.java package mage.abilities.effects.common; import java.util.UUID; import mage.MageObject; import mage.abilities.Ability; import mage.abilities.effects.OneShotEffect; import mage.cards.Card; import mage.constants.Outcome; import mage.game.Ga...
977
1,306
<reponame>zyj1609wz/RecyclerView package com.jiang.android.indexrecyclerview.widget; /** * @author 陈治谋 (<EMAIL>) * @since 16/8/16 */ public interface IndexAdapter { Indexable getItem(int position); }
83
305
<filename>viewer/Saba/Viewer/Grid.h // // Copyright(c) 2016-2017 benikabocha. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // #ifndef SABA_VIEWER_GRID_H_ #define SABA_VIEWER_GRID_H_ #include "ViewerContext.h" #include "../GL/GLObject.h" #include "../GL/GLVertexUtil.h" namespace saba { ...
411
386
<reponame>ccoderJava/bus /********************************************************************************* * * * The MIT License (MIT) * * ...
2,081
1,184
<reponame>Mynogs/Algorithm-Implementations public class ThreeWayQuicksort { private static int charAt(String s, int i) { if (i < s.length()) return s.charAt(i); else return -1; } private static void exch(String[] a, int i, int j) { String tmp = a[i]; a[i] = a[j]; a[j] = tmp...
508
808
// Copyright (c) 2022 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...
1,742
922
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.internal.constraintvalidators.hv.pl; import java.util.List; import o...
294
1,963
#ifndef __STM32U5xx_HAL_CONF_H #define __STM32U5xx_HAL_CONF_H #include "variant.h" /* STM32U5xx specific HAL configuration options. */ #if __has_include("hal_conf_custom.h") #include "hal_conf_custom.h" #else #if __has_include("hal_conf_extra.h") #include "hal_conf_extra.h" #endif #include "stm32u5xx_hal_conf_default...
167
679
<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 copyright ownership. The ASF license...
8,804
3,212
/* * 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 ...
947
2,338
<filename>compiler-rt/lib/gwp_asan/stack_trace_compressor.cpp //===-- stack_trace_compressor.cpp ------------------------------*- 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: Apac...
1,215
986
<reponame>DicksYang/iqiyi-parser import wx def format_byte(bytes, format='%.2f%s'): if bytes > 1024 * 1024 * 1024: return format % (bytes / 1024.0 / 1024 / 1024, 'GB') elif bytes > 1024 * 1024: return format % (bytes / 1024.0 / 1024, 'MB') elif bytes > 1024: return format % (bytes...
1,468
655
#if !GOOGLE_CUDA #error This file must only be included when building with Cuda support #endif #ifndef TENSORFLOW_USER_OPS_PROJECTING_OP_GPU_H_ #define TENSORFLOW_USER_OPS_PROJECTING_OP_GPU_H_ #define EIGEN_USE_GPU #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/platform/types.h" names...
337
595
/****************************************************************************** * Copyright (C) 2017 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /****************************************************************...
598
5,277
# Copyright 2021 Google Research. 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 applicable law...
5,153
909
<reponame>khamutov/intellij-scala package org.jetbrains.plugins.scala.testingSupport.util.scalatest; import com.intellij.execution.filters.ExceptionFilterFactory; import com.intellij.execution.filters.Filter; import com.intellij.psi.search.GlobalSearchScope; import org.jetbrains.annotations.NotNull; /** * @author Ro...
188
707
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <functional> #include <vector> #include <wpi/sendable/Sendable.h> #include <wpi/sendable/Sendabl...
504
1,338
/* * Copyright 2009 Haiku Inc. * All rights reserved. Distributed under the terms of the MIT License. */ #ifndef _KERNEL_ARCH_MIPSEL_CPU_H #define _KERNEL_ARCH_MIPSEL_CPU_H #warning IMPLEMENT arch_cpu.h #include <arch/mipsel/arch_thread_types.h> #include <kernel.h> struct iframe { #warning struct iframe uint3...
630
348
{"nom":"Challement","circ":"2ème circonscription","dpt":"Nièvre","inscrits":62,"abs":31,"votants":31,"blancs":4,"nuls":2,"exp":25,"res":[{"nuance":"SOC","nom":"<NAME>","voix":14},{"nuance":"REM","nom":"M. <NAME>","voix":11}]}
92
531
<gh_stars>100-1000 /* * Copyright (c) 2015-2020, www.dibo.ltd (<EMAIL>). * <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 * <p> * https://www.apache.org/licenses/LICENSE-2.0 * <p> ...
433
943
<filename>radon/__main__.py """Module allowing for ``python -m radon ...``.""" from radon import main main()
37
698
<filename>src/java/nginx/clojure/wave/InstrumentMethod.java /* * Copyright (c) 2008-2013, <NAME> * Copyright (C) 2014 Zhang,Yuexiang (xfeep) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
13,145
10,351
import unittest from mlflow.entities import RunStatus class TestRunStatus(unittest.TestCase): def test_all_status_covered(self): # ensure that all known status are returned. Test will fail if new status are added to PB all_statuses = set( [ RunStatus.RUNNING, ...
934
992
<gh_stars>100-1000 /* Copyright (C) 2020 IBM Corp. * This program is 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 appli...
1,847
335
<reponame>Safal08/Hacktoberfest-1<filename>R/Renaissance_noun.json { "word": "Renaissance", "definitions": [ "The revival of European art and literature under the influence of classical models in the 14th\u201316th centuries.", "The culture and style of art and architecture developed during the ...
147
348
{"nom":"Saint-Georges","circ":"4ème circonscription","dpt":"Moselle","inscrits":172,"abs":102,"votants":70,"blancs":8,"nuls":3,"exp":59,"res":[{"nuance":"REM","nom":"<NAME>","voix":39},{"nuance":"LR","nom":"<NAME>","voix":20}]}
91
5,169
<filename>Specs/0/4/8/SwiftEventBus/5.0.0/SwiftEventBus.podspec.json { "name": "SwiftEventBus", "version": "5.0.0", "license": "MIT", "summary": "Publish/subscribe event bus optimized for iOS", "homepage": "https://github.com/cesarferreira/SwiftEventBus", "social_media_url": "http://twitter.com/cesarmcferre...
267
4,538
<reponame>ekmixon/AliOS-Things<gh_stars>1000+ /* * Copyright (C) 2015-2020 Alibaba Group Holding Limited */ #ifndef __SPEECH_MICS_CALIBRATION_H__ #define __SPEECH_MICS_CALIBRATION_H__ #include <stdint.h> #ifdef __cplusplus extern "C" { #endif // #define SPEECH_MICS_CALIBRATION_SET_MODE (0) // #define SP...
1,301
1,025
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file gdResumeDebuggingAfterMemoryLeakCheckEvent.cpp /// //=========================================================...
1,053
2,151
<filename>test/std/containers/sequences/array/array.tuple/get.pass.cpp<gh_stars>1000+ //===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source L...
673
3,212
<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 * (the "Lic...
4,521
737
<gh_stars>100-1000 /* connection_handler.h -*- C++ -*- <NAME>, 27 February 2011 Copyright (c) 2011 Datacratic. All rights reserved. Connection handler logic. */ #ifndef __rtb__connection_handler_h__ #define __rtb__connection_handler_h__ #include "transport.h" #inc...
3,032