max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
326
package com.bihell.dice.framework.core.validator.constraints; import com.bihell.dice.framework.common.enums.BaseEnum; import com.bihell.dice.framework.core.validator.EnumTypeValidator; import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.Documented; import java.lang.annotat...
319
1,233
<filename>mantis-common/src/main/java/io/mantisrx/common/metrics/measurement/Measurements.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 of the License at * * ...
946
358
///////////////////////////////////////////////////////////////////////// ///@system Level2行情API ///@company 上海期货信息技术有限公司 ///@file ThostFtdcUserApiStruct.h ///@brief 定义了客户端接口使用的业务数据结构 ///@history ///20060106 赵鸿昊 创建该文件 ///////////////////////////////////////////////////////////////////////// #ifndef THOST_FTDCLEVEL2ST...
8,846
923
<filename>src/core/userDefinedTask/internals/SharedVariablesEvent.java package core.userDefinedTask.internals; public class SharedVariablesEvent { private String namespace; private String name; private SharedVariablesEvent(String namespace, String name) { this.namespace = namespace; this.name = name; } publ...
165
2,249
<gh_stars>1000+ # Copyright 2021 The Flax 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 ...
1,564
3,138
# Lint as: python3 # Copyright 2020 Google LLC # # 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 applicable law or agr...
3,307
1,475
/* * 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 not ...
1,042
679
/************************************************************** * * 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 y...
1,813
469
/******************************************************************************* * Copyright 2021 See AUTHORS file * * 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.apac...
1,186
1,831
/** * 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. */ #pragma once #include "logdevice/common/Request.h" #include "logdevice/common/protocol...
1,243
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 ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_BASE_H_ #define ANDROID_WEBVIEW_BROWSER_AW_HTTP_AUTH_HANDLER_BASE_H_ namespace content { class W...
437
565
from typing import Sequence import numpy as np class StackedObservation: """StackedObservation class. This class is used to stack images to handle temporal features. References: * `Mnih et al., Human-level control through deep reinforcement learning. <https://www.nature.com/articles/n...
1,554
9,402
<reponame>pyracanda/runtime // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. //***************************************************************************** // File: x86walker.cpp // // // x86 instruction decoding/stepping logic //...
6,678
1,615
<filename>MLN-Android/mmui/src/main/java/com/immomo/mmui/databinding/utils/ViewModelUtil.java /** * Created by MomoLuaNative. * Copyright (c) 2020, Momo Group. All rights reserved. * * This source code is licensed under the MIT. * For the full copyright and license information,please view the LICENSE file in the r...
559
579
<filename>trident-installer/sample-input/backends-samples/ontap-san/backend-ontap-san-chap.json { "version": 1, "storageDriverName": "ontap-san", "managementLIF": "10.0.0.1", "dataLIF": "10.0.0.2", "svm": "trident_svm", "backendName": "ontap-san-chap", "useCHAP": true, "chapInitiatorSecr...
251
5,926
import hashlib m = hashlib.md5() m.update(b"hashlib test") assert m.hexdigest() == "c8fead1ad6206097c6073cdf20f49f93" m.update(b"another test") assert m.hexdigest() == "175a023e6f75d81e2ecdcdc75d96e6fe" assert hashlib.md5(b"hashlib test").hexdigest() == "c8fead1ad6206097c6073cdf20f49f93" s = hashlib.sha1() s.upda...
1,211
1,240
// TCMBEEPMessage.h // TCMBEEP // #import <Foundation/Foundation.h> @interface TCMBEEPMessage : NSObject { NSMutableData *_payload; } @property (nonatomic, copy) NSString *messageTypeString; @property (nonatomic, copy) NSData *payload; @property (nonatomic) int32_t messageNumber; @property (nonatomic) int32_t...
411
702
/* * Copyright ConsenSys AG. * * 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...
600
777
<reponame>google-ar/chromium // 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. #ifndef CONTENT_CHILD_PUSH_MESSAGING_PUSH_DISPATCHER_H_ #define CONTENT_CHILD_PUSH_MESSAGING_PUSH_DISPATCHER_H_ #include <ma...
531
337
<reponame>shyamjangid07/Reverse-Engineering<gh_stars>100-1000 # uncompyle6 version 3.7.3 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.16 (default, Oct 10 2019, 22:02:15) # [GCC 8.3.0] # Embedded file name: <script> # Compiled at: 2020-08-30 16:42:03 import os, json from base64 import * import sys, rando...
8,369
335
<filename>src/ext-tls-server.h<gh_stars>100-1000 #ifndef _EXT_TLS_SERVER_H_ #define _EXT_TLS_SERVER_H_ #include "searches.h" // Add domain via cert and key file int tls_server_add_sni(const char crt_file[], const char key_file[]); int tls_server_setup(void); void tls_server_free(void); #endif /* _EXT_TLS_SERVER_H...
141
1,144
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * ...
1,747
777
// 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. #ifndef CC_DEBUG_LAP_TIMER_H_ #define CC_DEBUG_LAP_TIMER_H_ #include "base/macros.h" #include "base/time/time.h" #include "cc/base/cc_export.h" namespac...
715
590
"""Test readability.py on sample articles""" from .checks import (check_extract_article, check_extract_paragraphs_as_plain_text) # Test end-to-end article extraction def test_extract_article_full_page(): check_extract_article( "addictinginfo.com-1_full_page.html", "addictingin...
1,332
373
/** @file This file contains SKL specific GPIO information Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Base.h> #include <Uefi/UefiBaseType.h> #include <Library/IoLib.h> #include <Library/DebugLib.h> #include <Library/BaseMemor...
4,239
589
<gh_stars>100-1000 #!/usr/bin/env python3 '''Note that this script will only function for headless licenses at this time.''' import json import os import requests import sys import urllib import zipfile import logging from pathlib import Path class DownloadException(Exception): pass url='https://master.binary.nin...
1,439
892
{ "schema_version": "1.2.0", "id": "GHSA-q323-hhw8-233j", "modified": "2022-05-13T01:15:35Z", "published": "2022-05-13T01:15:35Z", "aliases": [ "CVE-2011-2013" ], "details": "Integer overflow in the TCP/IP implementation in Microsoft Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Wind...
488
14,668
<filename>components/download/public/common/download_create_info.h // 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 COMPONENTS_DOWNLOAD_PUBLIC_COMMON_DOWNLOAD_CREATE_INFO_H_ #define COMPONENT...
1,917
852
<reponame>ckamtsikis/cmssw import FWCore.ParameterSet.Config as cms process =cms.Process("FILE") process.source = cms.Source("EmptySource") process.a = cms.EDProducer("IntProducer", ivalue = cms.int32(10)) process.b = cms.EDProducer("IntProducer", ivalue = cms.int32(3)) process.o = cms.OutputModule("PoolOutputModul...
216
370
<gh_stars>100-1000 [ "projects/k8s-staging-etcdadm/logs/cloudaudit.googleapis.com%2Factivity", "projects/k8s-staging-etcdadm/logs/cloudbuild" ]
70
432
/* dfa.c - deterministic extended regexp routines for GNU Copyright (C) 1988, 1998, 2000, 2002, 2004-2005, 2007-2020 Free Software Foundation, Inc. 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 ...
66,277
302
<reponame>sesu089/stackoverflow<filename>questions/49536899/mainwindow.cpp #include "mainwindow.h" #include "block.h" #include "ui_mainwindow.h" #include "graphicsscene.h" #include <QGraphicsSceneMouseEvent> #include <QGraphicsView> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi...
257
583
<filename>resources/kate/flow/debug/MiParser.cpp<gh_stars>100-1000 #include "debug/MiParser.hpp" #include <QTextStream> #include <vector> #include "peglib/peglib.h" #include "common.hpp" namespace flow { /* MI Output grammar: result → variable "=" value variable → string value → const | tuple | list const → c-stri...
1,388
343
// 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 applicable...
1,586
1,056
<filename>java/java.api.common/src/org/netbeans/modules/java/api/common/queries/BinaryForSourceQueryImpl.java /* * 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 o...
2,893
360
/* ------------------------------------------------------------------------ * * geqo_ox2.cpp * * order crossover [OX] routines; * OX2 operator according to Syswerda * (The Genetic Algorithms Handbook, ed L Davis) * * src/gausskernel/optimizer/geqo/geqo_ox2.cpp * * ------------------------------------------...
1,307
2,705
<filename>crabageprediction/venv/Lib/site-packages/fontTools/ttLib/tables/S_V_G_.py """Compiles/decompiles SVG table. https://docs.microsoft.com/en-us/typography/opentype/spec/svg The XML format is: .. code-block:: xml <SVG> <svgDoc endGlyphID="1" startGlyphID="1"> <![CDATA[ <complete SVG doc> ]] </svgDoc> ...
2,052
965
// MyString.h class AFX_EXT_CLASS CMyString : public CString { // Your implementation code };
31
1,043
<filename>micro-core/src/main/java/com/oath/micro/server/servers/AccessLogConfig.java package com.oath.micro.server.servers; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public...
168
3,372
<filename>aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/CandidateProperties.java /* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * ...
2,879
315
<filename>include/native/windows/windows.h #pragma once #include "windows_base.h" #include "unknwn.h"
39
471
///////////////////////////////////////////////////////////////////////////// // Name: wx/os2/mimetype.h // Purpose: classes and functions to manage MIME types // Author: <NAME> // Modified by: // Created: 01.21.99 // Copyright: adopted from msw port -- (c) 1998 <NAME> <<EMAIL>> // Licence: wx...
1,296
574
<filename>collect_app/src/test/java/org/odk/collect/android/fragments/dialogs/CopticDatePickerDialogTest.java<gh_stars>100-1000 package org.odk.collect.android.fragments.dialogs; import android.content.DialogInterface; import androidx.fragment.app.FragmentManager; import androidx.test.ext.junit.runners.AndroidJUnit4;...
1,497
1,175
package com.example.scoop.basics.ui.wizardsample.module; import com.example.scoop.basics.ui.wizardsample.controller.EnterLastNameController; import dagger.Module; @Module( injects = EnterLastNameController.class, addsTo = EnterFirstNameModule.class, library = true ) public class EnterLastNameM...
117
966
<filename>moe/optimal_learning/python/python_version/domain.py # -*- coding: utf-8 -*- """Various python implementations of interfaces.domain_interface.DomainInterface (e.g., TensorProduct). These are currently used to describe domain limits for optimizers (i.e., implementations of :mod:`moe.optimal_learning.python.in...
3,396
480
<filename>polardbx-gms/src/main/java/com/alibaba/polardbx/gms/util/MetaDbUtil.java<gh_stars>100-1000 /* * 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 co...
5,585
2,025
<filename>src/utils/timer.h<gh_stars>1000+ /* Tencent is pleased to support the open source community by making PhxPaxos available. Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in compliance with...
761
724
# -*- coding:utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the ...
747
1,853
void foo() { []() { // (void)X{1, 2, 3}; // => X(std::initializer_list<int>{1, 2, 3}) // (void)X{nullptr, 0}; // => X(nullptr, 0) // takes_y({1, 2}); // => Y _tmp = {1, 2}; takes_y(_tmp); }(); }
97
473
######################################################################################################## # AI人工智障写作 - https://github.com/BlinkDL/AI-Writer ######################################################################################################## import random import numpy as np import torch import torch....
723
1,847
<filename>third_party/libunwindstack/GlobalDebugImpl.h /* * 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.apach...
6,172
1,081
#include <vector> #include "caffe/filler.hpp" #include "caffe/layers/black_augmentation_layer.hpp" #include "caffe/util/math_functions.hpp" namespace caffe { template <typename Dtype> void BlackAugmentationLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) { CHECK...
605
2,151
// 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 CHROME_BROWSER_UI_TAB_MODAL_CONFIRM_DIALOG_BROWSERTEST_H_ #define CHROME_BROWSER_UI_TAB_MODAL_CONFIRM_DIALOG_BROWSERTEST_H_ #include "base/co...
729
435
{ "copyright_text": "CC-BY-NC-SA 4.0", "description": "(<NAME>) JAX provides an elegant interface to XLA with automatic differentiation allowing extremely high performance machine learning on modern accelerators; all from within Python. In this talk we'll give an overview to fundamentals of JAX and an intro to some...
720
460
/* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ #ifndef FILEUTILS_H #define FILEUTILS_H /* Removes '.' and '..' references from a path. Collapses '//' to '/'. Does NOT care whether the file actually exists. Does NOT resolve symlinks. Assumes '/' ...
187
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. package edu.wpi.first.hal; @SuppressWarnings("AbbreviationAsWordInName") public class PWMJNI extends DIOJNI { public ...
553
2,113
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, 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 restrictio...
1,305
3,084
<gh_stars>1000+ //////////////////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014 Microsoft Corporation. All Rights Reserved. // // Module Name: // HelperFunctions_ExposedCallouts.h // // Abstract: // // Author: // <NAME> (DHa...
43,247
302
<gh_stars>100-1000 #ifndef USER_H #define USER_H #include <QMetaType> #include <QString> class User { QString mID; QString mUsername; QString mPassword; QString mName; QString mStatus; public: User() { User("", "", "", "", ""); } User(const QString &ID, const QString &username, const QString &password,...
280
1,673
<gh_stars>1000+ /*****************************************************************************/ /* */ /* _gtia.h */ /* ...
5,607
1,143
<reponame>DotModus/pinball # Copyright 2015, Pinterest, 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 applicab...
13,378
688
# Copyright 2022 The Scenic 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 in w...
1,046
1,806
# Copyright 2018 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import os from contextlib import contextmanager from typing import Iterator, cast from pants.fs.fs import safe_filename_from_path from pants.init.util import init_workdir from pants.optio...
682
1,337
<gh_stars>1000+ /* * Copyright 2017 <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 law or agreed...
1,202
6,098
package water.util; import hex.KeyValue; import hex.Model; import org.junit.Test; import water.Key; import water.api.schemas3.KeyV3; import water.api.schemas3.KeyValueV3; import water.fvec.Frame; import java.util.HashMap; import java.util.Map; import static org.junit.Assert.*; public class JSONValueTest { @Tes...
1,948
634
/* * Copyright 2013-2021 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 ...
577
852
<reponame>ckamtsikis/cmssw #ifndef __PFClusterEnergyCorrectorBase_H__ #define __PFClusterEnergyCorrectorBase_H__ #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DataFormats/ParticleFlowReco/interface/PFCluster.h" #include "DataFormats/ParticleFlowReco/interface/PFClusterFwd.h" #include <string> nam...
451
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Sequedin","circ":"11ème circonscription","dpt":"Nord","inscrits":3170,"abs":1531,"votants":1639,"blancs":20,"nuls":9,"exp":1610,"res":[{"nuance":"REM","nom":"<NAME>","voix":533},{"nuance":"FN","nom":"Mme <NAME>","voix":322},{"nuance":"LR","nom":"Mme <NA...
408
335
<gh_stars>100-1000 /* Copyright (C) 2020 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the M...
746
5,766
// // BinaryReaderWriter.cpp // // This sample demonstrates the BinaryWriter and BinaryReader classes. // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/BinaryWriter.h" #include "Poco/BinaryReader.h" #include <ss...
438
345
{ "extends": "@shopify/typescript-configs/library.json", "compilerOptions": { "composite": true, "emitDeclarationOnly": true, "jsx": "react-jsx", "typeRoots": ["../../node_modules/@types", "./typings"] } }
98
3,031
# encoding: utf-8 """ General-purpose step implementations """ import os from behave import given, when from docx import Document from helpers import saved_docx_path # given =================================================== @given('a document') def given_a_document(context): context.document = Document() ...
169
460
<filename>norminette/tests/rules/ok_struct_data.c int main(void) { int i; i = i.c; v = v->v; while (v->c) if (c.v != 0) i->c->i += 1; i->c = i->c * i->(*d); }
99
799
<filename>Packs/LogsignSiem/Integrations/LogsignSiem/LogsignSiem.py<gh_stars>100-1000 from typing import Dict, List, Tuple import requests from CommonServerPython import * from CommonServerUserPython import * import demistomock as demisto from datetime import datetime, timedelta # Disable insecure warnings requests.p...
4,935
2,970
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: frontEndGRPC.proto package com.intel.analytics.zoo.serving.grpc.service.generated; public interface ClusterServingGRPCMetaDataOrBuilder extends // @@protoc_insertion_point(interface_extends:grpc.ClusterServingGRPCMetaData) com.google.proto...
956
679
<reponame>Grosskopf/openoffice /************************************************************** * * 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...
3,510
530
<reponame>MicroWorldwide/bladecoder-adventure-engine package com.bladecoder.engine.model; import java.io.FileNotFoundException; import com.badlogic.gdx.Application.ApplicationType; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Music; import com.badlogic.gdx.utils.Json; import com.badlogic.gdx.utils.Json....
2,605
435
{ "description": "We introduce a methodology for efficient monitoring of processes running on hosts in a corporate network. The methodology is based on collecting streams of system calls produced by all or selected processes on the hosts, and sending them over the network to an analytics server, where machine learnin...
464
1,686
<reponame>sarthak-saxena/cef_node_webkit<filename>libcef_dll/ctocpp/extension_handler_ctocpp.h // Copyright (c) 2021 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // -------------------------------...
1,429
460
/////////////////////////////////////////////////////////////////////////////// /// \file construct_funop.hpp /// Overloads of construct_\<\>::operator(). // // Copyright 2008 <NAME>. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0...
1,311
1,540
package test.inheritance.github980; import org.testng.Assert; import org.testng.annotations.Test; public class ParentClassSample { @Test public void a() { Assert.assertTrue(true); } @Test public void b() { Assert.assertTrue(true); } }
96
339
<reponame>Razakhel/RaZ #pragma once #ifndef RAZ_WAVFORMAT_HPP #define RAZ_WAVFORMAT_HPP namespace Raz { class FilePath; class Sound; namespace WavFormat { /// Loads a [WAV](https://en.wikipedia.org/wiki/WAV) audio from a file. /// \param filePath File from which to load the audio. /// \return Imported sound. Sound...
162
1,144
package de.metas.handlingunits.model.validator; /* * #%L * de.metas.handlingunits.base * %% * Copyright (C) 2015 metas GmbH * %% * 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 v...
3,096
4,816
<filename>tests/llvmir2hll/ir/void_type_tests.cpp /** * @file tests/llvmir2hll/ir/void_type_tests.cpp * @brief Tests for the @c void_type module. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include <gtest/gtest.h> #include "retdec/llvmir2hll/ir/void_type.h" using namespace ::testing; na...
250
1,716
////////////////////////////////////////////////////////////////////////////////// // // // StyleAsCode exporter v1.2 - Style data exported as a values array // // ...
9,491
348
{"nom":"Saint-Loup","circ":"3ème circonscription","dpt":"Charente-Maritime","inscrits":257,"abs":155,"votants":102,"blancs":6,"nuls":3,"exp":93,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":51},{"nuance":"REM","nom":"<NAME>","voix":42}]}
95
17,318
<gh_stars>1000+ /* * Copyright (c) 2011-2018, <NAME>. All Rights Reserved. * * 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 fil...
2,675
354
<reponame>iabernikhin/VK-GL-CTS #ifndef _GL4CMULTIBINDTESTS_HPP #define _GL4CMULTIBINDTESTS_HPP /*------------------------------------------------------------------------- * OpenGL Conformance Test Suite * ----------------------------- * * Copyright (c) 2015-2016 The Khronos Group Inc. * * Licensed under the Apac...
5,693
778
<reponame>KlausBSautter/Kratos # Import Kratos import KratosMultiphysics # Import CPP tests import run_cpp_unit_tests # Import kratos_utilities import KratosMultiphysics.kratos_utilities as kratos_utilities has_CL_application = kratos_utilities.CheckIfApplicationsAvailable("ConstitutiveLawsApplication") # Import Kra...
13,429
762
// // CalendarHeaderView.h // Calendar // // Copyright © 2016 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @class MGCDayPlannerView; @interface MGCCalendarHeaderView : UICollectionView <UICollectionViewDataSource, UICollectionViewDelegate, UIScrollViewDelegate> /*! @abstract The current selected date...
316
304
{ "runtimeModule": true, "group": "de.dytanic.cloudnet.modules", "name": "CloudNet-CloudFlare", "version": "1.1", "author": "CloudNetService", "website": "https://cloudnetservice.eu", "description": "Node extension for the https://cloudflare.com REST-API", "main": "de.dytanic.cloudnet.ext.cloudflare.Clo...
135
559
<gh_stars>100-1000 #include "inc/mc_usr_def.h" #include "my_struct_2_json.inc" #include "my_struct_2_json.h" #ifdef __cplusplus extern "C" { #endif #if 0 typedef struct McUsrInfoS { int *pInt; int *pIntArray[2]; fun_ptr_CbT fun; fun_ptr_CbT funArray[2]; enum WEEK_DAY day1; enumWEEK_DAY_T day2; enumWEEK_DA...
3,459
558
<filename>sandbox/stoptag-abundance-hist.py #! /usr/bin/env python # This file is part of khmer, https://github.com/dib-lab/khmer/, and is # Copyright (C) 2011-2015, Michigan State University. # Copyright (C) 2015, The Regents of the University of California. # # Redistribution and use in source and binary forms, with ...
1,006
1,702
/* * Copyright 2019-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,751
921
package sqlancer.cockroachdb.ast; import sqlancer.common.visitor.UnaryOperation; public class CockroachDBOrderingTerm implements UnaryOperation<CockroachDBExpression>, CockroachDBExpression { private final CockroachDBExpression expr; private final boolean asc; public CockroachDBOrderingTerm(CockroachDBE...
291
310
<gh_stars>100-1000 { "name": "Elevation", "description": "A GPS route visualiser.", "url": "http://exnihilo.mezzoblue.com/elevation/" }
57
3,850
/** * Copyright (C) 2010-2016 eBusiness Information, Excilys 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 ...
546
312
/* atomic/fallback.h * Copyright (C) 2006, Parrot Foundation. * Overview: * This header provides an implementation of atomic * operations in terms of threading primitives. * Data Structure and Algorithms: * History: * Notes: * References: */ #ifndef PARROT_ATOMIC_FALLBACK_H_GUARD #define PARROT_...
1,411
4,036
<reponame>timoles/codeql from unique_name import foo print(foo)
23
353
package org.nutz.plugins.wkcache; import org.nutz.aop.InterceptorChain; import org.nutz.el.El; import org.nutz.ioc.loader.annotation.IocBean; import org.nutz.lang.Lang; import org.nutz.lang.Streams; import org.nutz.lang.Strings; import org.nutz.lang.segment.CharSegment; import org.nutz.lang.util.Context; import org.nu...
2,934