max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,132
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE package org.bytedeco.hdf5; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.hdf5.global.hdf5.*; /** <!-- [H5O_token_t_snip] --> <p>...
856
3,288
<reponame>AndroidKotlinID/objectbox-java<gh_stars>1000+ /* * Copyright 2021 ObjectBox 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.apach...
360
388
/* Copyright 2018 The TensorFlow 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 applicable law or a...
1,372
1,062
<reponame>icarazob/mr4c<filename>java/test/java/com/google/mr4c/keys/KeyspaceDimensionTest.java /** * 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 ...
963
852
<filename>Utilities/StaticAnalyzers/src/ConstCastChecker.h //== ConstCastChecker.h - Checks for const_cast<> --------------*- C++ -*--==// // // by <NAME> [ <EMAIL> ] // //===----------------------------------------------------------------------===// #ifndef Utilities_StaticAnalyzers_ConstCastChecker_h #define Utiliti...
345
836
// CoreBitcoin by <NAME> <<EMAIL>>, WTFPL. #import <Foundation/Foundation.h> #import "BTCUnitsAndLimits.h" typedef NS_ENUM(NSInteger, BTCNumberFormatterUnit) { BTCNumberFormatterUnitSatoshi = 0, // satoshis = 0.00000001 BTC BTCNumberFormatterUnitBit = 2, // bits = 0.000001 BTC BTCNumberFormatter...
939
4,772
<filename>jpa/deferred/src/main/java/example/repo/Customer696Repository.java<gh_stars>1000+ package example.repo; import example.model.Customer696; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer696Repository extends CrudRepository<Customer696, Long> { L...
117
393
package com.marverenic.music.data.store; import com.marverenic.music.model.Song; import rx.Observable; public interface PlayCountStore { Observable<Void> refresh(); void save(); int getPlayCount(Song song); int getSkipCount(Song song); long getPlayDate(Song song); void incrementPlayCount(S...
194
4,816
<reponame>mehrdad-shokri/retdec /** * @file include/retdec/unpacker/decompression/nrv/nrv2b_data.h * @brief Declaration of class for NRV2B compressed data. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #ifndef RETDEC_UNPACKER_DECOMPRESSION_NRV_NRV2B_DATA_H #define RETDEC_UNPACKER_DECOMPRE...
355
19,046
/* * Copyright (c) Facebook, Inc. and 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 applic...
1,711
8,969
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. // A slimmed down version of runtime/vm/unit_test.h that only runs C++ // non-DartVM unit tests. #ifnd...
1,304
668
/** * 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 m...
1,140
603
""" Copyright (c) 2018 <NAME> 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, publish, distribute, sublic...
20,463
1,363
package com.github.liaochong.myexcel.core.templatehandler; import com.github.liaochong.myexcel.core.parser.ParseConfig; import com.github.liaochong.myexcel.core.parser.Table; import java.util.List; import java.util.Map; /** * @author liaochong * @version 1.0 */ public interface TemplateHandler { /** * 类路...
471
381
# import the option --viewloops from the JIT def pytest_addoption(parser): from rpython.jit.conftest import pytest_addoption pytest_addoption(parser)
55
709
<gh_stars>100-1000 //----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2021 <NAME> // Copyright (c) 2016-2021 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <Siv3D/...
178
8,240
from __future__ import absolute_import, print_function from tweepy.streaming import StreamListener from tweepy import OAuthHandler from tweepy import Stream import os import json import time from flask import Flask, render_template, Response from flask.ext.cors import CORS app = Flask(__name__) CORS(app) @app.route(...
971
32,544
package com.baeldung.regexp.datepattern.gregorian; import com.baeldung.regexp.datepattern.DateMatcher; import java.util.regex.Pattern; public class February29thMatcher implements DateMatcher { private static final Pattern DATE_PATTERN = Pattern.compile( "^((2000|2400|2800|(19|2[0-9](0[48]|[2468][048...
193
713
package org.infinispan.persistence.jdbc.common.configuration; import static org.infinispan.persistence.jdbc.common.configuration.AbstractUnmanagedConnectionFactoryConfiguration.CONNECTION_URL; import static org.infinispan.persistence.jdbc.common.configuration.AbstractUnmanagedConnectionFactoryConfiguration.DRIVER_CLAS...
975
1,338
/* * ES1370 Haiku Driver for ES1370 audio * * Copyright 2002-2007, Haiku, Inc. * Distributed under the terms of the MIT License. * * Authors: * <NAME>, <EMAIL> * <NAME>, <EMAIL> */ #include <KernelExport.h> #include <OS.h> #include "io.h" #include "es1370reg.h" #include "debug.h" #include <PCI.h> extern pci...
852
675
<gh_stars>100-1000 /* * Copyright 2012-2014 eBay Software Foundation and selendroid committers. * * 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/LICENS...
832
622
public class Main { public static void main(String[] args) { Menu exactum = new Menu(); exactum.addMeal("Fish fingers with sour cream sauce"); exactum.addMeal("Vegetable casserole with salad cheese"); exactum.addMeal("Chicken and nacho salad"); exactum.printMeals(); ...
154
903
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (<EMAIL>) ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser...
1,709
2,151
// 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. #include "chromeos/network/dhcp_pac_file_fetcher_factory_chromeos.h" #include <memory> #include "chromeos/network/dhcp_pac_file_fetcher_chromeos.h" nam...
268
1,840
<filename>controller/src/main/java/io/pravega/controller/server/ControllerServiceMain.java<gh_stars>1000+ /** * Copyright Pravega 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...
4,217
1,056
<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 * ...
661
407
{ "name": "table-radium-table", "version": "1.0.0", "private": true, "scripts": { "start": "devServer --package radium", "build": "devBuild --package radium" }, "license": "MIT", "dependencies": { "benchmarks-utils": "1.0.0", "radium": "0.18.2" }, "devDependencies": { "dev-tasks": ...
210
415
# Copyright 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 the License. A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "LICENSE.txt" file accom...
438
421
<gh_stars>100-1000 // <Snippet1> using namespace System; void main() { // Creates and initializes two new Array instances. Array^ mySourceArray = Array::CreateInstance(String::typeid, 6); mySourceArray->SetValue("three", 0); mySourceArray->SetValue("napping", 1); mySourceArray->SetValue("cats...
756
5,766
<gh_stars>1000+ // // HTTPNTLMCredentials.cpp // // Library: Net // Package: HTTP // Module: HTTPNTLMCredentials // // Copyright (c) 2019, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/Net/HTTPNTLMCredentials.h" #include "Poco/Net/NTLMCred...
1,788
521
import io from mock import MagicMock from tests.helper.voctomix_test import VoctomixTest from gi.repository import Gst from lib.sources import TCPAVSource from lib.config import Config # noinspection PyUnusedLocal class AudiomixMultipleSources(VoctomixTest): def setUp(self): super().setUp() Con...
884
2,436
package com.ss.android.ugc.bytex.example.closeable; import android.os.Build; import android.text.TextUtils; import android.util.Log; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.EOFException; import java.io.File; impo...
7,177
332
<filename>spring-xd-integration-test/src/test/java/org/springframework/xd/integration/test/IntegrationTestConfig.java /* * Copyright 2014 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 ...
763
9,734
<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...
1,765
376
#include <Nazara/Math/Algorithm.hpp> #include <Nazara/Math/Angle.hpp> #include <catch2/catch.hpp> #include <limits> TEST_CASE("Approach", "[MATH][ALGORITHM]") { SECTION("Approach 8 with 5 by 2") { REQUIRE(Nz::Approach(5, 8, 2) == 7); } SECTION("Approach 5 with 8 by 2") { REQUIRE(Nz::Approach(8, 5, 2) == 6); ...
3,232
348
{"nom":"Laurière","circ":"3ème circonscription","dpt":"Haute-Vienne","inscrits":436,"abs":194,"votants":242,"blancs":20,"nuls":17,"exp":205,"res":[{"nuance":"REM","nom":"<NAME>","voix":113},{"nuance":"LR","nom":"<NAME>","voix":92}]}
91
13,648
<gh_stars>1000+ /* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2018-2019 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal...
9,610
32,544
<filename>spring-boot-modules/spring-boot/src/test/java/com/baeldung/boot/DemoApplicationIntegrationTest.java<gh_stars>1000+ package com.baeldung.boot; import com.baeldung.demo.DemoApplication; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import o...
225
649
{ "title": "Output validation of credit account", "name": "Output validation of credit account", "result": "PENDING", "steps": "1", "successful": "0", "failures": "0", "skipped": "0", "ignored": "0", "pending": "1", "duration": "13", "timestamp": "2013-08-03T18:25:37.216+10:00", "user-story": { ...
472
438
<reponame>Pocoyo-dev/Discord-Bot<filename>src/languages/en-upside/plugins/set-plugin.json { "DESCRIPTION": "ɟɟo puɐ uo suᴉƃnld ǝlƃƃo┴", "USAGE": "set-plugin <uoᴉʇdo>", "ADDED": "˙suᴉƃnld s,plᴉnפ oʇ {{PLUGINS}} pǝpp∀", "REMOVED": "˙suᴉƃnld s,plᴉnפ oʇ {{PLUGINS}} pǝʌoɯǝɹ", "INVALID": "uᴉƃnld pǝʇɹoddns ɐ ʇoN" }
221
2,059
#include <stdlib.h> #include <math.h> #include "fab/tree/node/node.h" #include "fab/tree/math/math_g.h" void fill_results(Node* n, float value) { n->results.f = value; n->results.i = (Interval) { .lower=value, .upper=value}; // Fill the region cache for (int q = 0; q < MIN_VOLUME; ++q) n->res...
314
2,504
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3...
8,594
734
package com.cheikh.lazywaimai.ui.activity; import android.content.Intent; import com.cheikh.lazywaimai.R; import com.cheikh.lazywaimai.base.BaseActivity; import com.cheikh.lazywaimai.base.BaseController; import com.cheikh.lazywaimai.context.AppContext; import com.cheikh.lazywaimai.controller.UserController; import com...
349
679
<reponame>Grosskopf/openoffice<filename>main/ucb/source/ucp/odma/odma_contentprops.hxx /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for addit...
1,173
496
/* * Copyright (C) 2018 <NAME> * * Author: <NAME> <<EMAIL>> */ /* * Caution! * This file generated by the script "utils/lexbor/tag_ns/tags.py"! * Do not change this file! */ #ifndef LXB_TAG_RES_H #define LXB_TAG_RES_H #endif /* LXB_TAG_RES_H */ #ifdef LXB_TAG_CONST_VERSION #ifndef LXB_TAG_CONST_VERSION_A16...
21,869
341
package travel2.init; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import travel2.entity.TravelInfo; import travel2.service.Travel2Service; import java.util.Date; /** * @author fdse */ @Component pu...
1,341
1,657
<gh_stars>1000+ from autoPyTorch.pipeline.base.pipeline_node import PipelineNode from autoPyTorch.utils.config.config_option import ConfigOption import json, os, csv, traceback class GetAdditionalTrajectories(PipelineNode): def fit(self, pipeline_config, trajectories, optimize_metrics, instance): for addi...
2,173
3,386
<reponame>pjvm742/sc-im /* dumb ui */ #include <unistd.h> #include <termios.h> #include <stdio.h> #include <string.h> #include "main.h" #include "conf.h" #include "input.h" #include "tui.h" #include "range.h" #include "sc.h" #include "cmds.h" #include "cmds_visual.h" #include "conf.h" #include "version.h" #include "fi...
1,900
393
<gh_stars>100-1000 /******************************************************************************* * Copyright 2011 <NAME> * <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> * ...
3,633
4,050
package azkaban.execapp.event; import azkaban.execapp.FlowRunner; import azkaban.executor.ExecutableFlow; import azkaban.executor.ExecutableNode; import azkaban.executor.Status; import org.junit.Assert; public class FlowWatcherTestUtil { public static void assertPipelineLevel1(final FlowRunner runner1, final...
1,589
308
try: from pylons.templating import render_mako # noqa # Pylons > 0.9.7 legacy_pylons = False except ImportError: # Pylons <= 0.9.7 legacy_pylons = True
79
3,934
<reponame>Jasha10/pyright # This sample tests that a class that derives from Any can be used # to satisfy a TypeVar. from typing import Any, TypeVar T = TypeVar("T") def foo(self, obj: T, foo: Any) -> T: # NotImplemented is an instance of a class that derives from Any. return NotImplemented
100
2,151
<reponame>zipated/src // 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. // This file has been auto-generated from the Jinja2 template // third_party/blink/renderer/bindings/templates/dictionary_v8.h.tmpl ...
726
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...
6,353
575
/***************************************************************************** *作者:evilbinary on 2017-09-17 13:52:31. *邮箱:<EMAIL> ******************************************************************************/ #include "c.h" // //long a64l(const char* ) // long c_a64l (const char* arg0){ // return a64l(arg0); // } ...
9,076
2,860
"""RoboMaker component for creating a simulation application.""" # 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...
2,379
308
#include <mav_planning_common/utils.h> #include <mav_trajectory_generation/timing.h> #include "voxblox_skeleton_planner/skeleton_graph_planner.h" namespace mav_planning { SkeletonGraphPlanner::SkeletonGraphPlanner(const ros::NodeHandle& nh, const ros::NodeHandle& nh_private...
1,692
310
<filename>deslib/des/des_mi.py # coding=utf-8 # Author: <NAME> <<EMAIL>> # # License: BSD 3 clause import numpy as np from sklearn.preprocessing import normalize from deslib.base import BaseDS from deslib.util.aggregation import sum_votes_per_class class DESMI(BaseDS): """Dynamic ensemble Selection for multi-c...
5,467
368
/* Plugin-SDK (Grand Theft Auto San Andreas) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "PluginBase.h" namespace plugin { META_BEGIN(CGangWars::InitAtStartOfGame) static int address; ...
11,813
335
{ "word": "Sentimentalize", "definitions": [ "Treat, regard, or portray in a sentimental way." ], "parts-of-speech": "Verb" }
65
8,451
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
11,018
680
<filename>tensorflow/core/framework/bfloat16.h /* Copyright 2015 The TensorFlow 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/LICE...
942
313
// // Copyright 2018 The Simons Foundation, 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 re...
1,640
413
<reponame>ktts16/mini-caffe<filename>example/deeplandmark/main.cpp #include <cassert> #include <chrono> #include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <caffe/profiler.hpp> #include "landmark.hpp" using namespace cv; using name...
700
1,428
def make_burger(f): def new_f(): print('/-----\\') f() print('\-----/') return new_f @make_burger def chop(): print("-------") chop()
87
454
{ "title": "破狼博客", "question": { "url": "https://api.github.com/repos/greengerong/rebirth-question/issues?callback=JSONP_CALLBACK&access_token=[set token]" }, "article": { "pageSize": 10 } }
93
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...
826
2,360
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class XcursorThemes(Package, XorgPackage): """This is a default set of cursor themes for use wit...
436
32,544
<filename>spring-4/src/main/java/com/baeldung/flips/model/Foo.java package com.baeldung.flips.model; import lombok.Data; import lombok.NonNull; import lombok.RequiredArgsConstructor; @Data @RequiredArgsConstructor public class Foo { @NonNull private final String name; @NonNull private final int id; }
114
310
{ "name": "Dance Dance Revolution", "description": "A ridiculous dancing game.", "url": "https://en.wikipedia.org/wiki/Dance_Dance_Revolution" }
49
777
<gh_stars>100-1000 // 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 EXTENSIONS_RENDERER_API_TEST_BASE_H_ #define EXTENSIONS_RENDERER_API_TEST_BASE_H_ #include <map> #include <string> #include <u...
1,348
434
<gh_stars>100-1000 #!/usr/bin/python3 # EMACS settings: -*- tab-width: 2; indent-tabs-mode: t; python-indent-offset: 2 -*- # vim: tabstop=2:shiftwidth=2:noexpandtab # kate: tab-width 2; replace-tabs off; indent-width 2; # # ============================================================================== # Authors: ...
936
12,347
<filename>poetry/plugins/__init__.py from .application_plugin import ApplicationPlugin from .plugin import Plugin __all__ = ["ApplicationPlugin", "Plugin"]
42
1,576
<reponame>embix/WindowsInternals<filename>CPUSTRES/AffinityDlg.h<gh_stars>1000+ #pragma once class CThread; // CAffinityDlg dialog class CAffinityDlg : public CDialogEx { DECLARE_DYNAMIC(CAffinityDlg) public: CAffinityDlg(bool affinity, CThread* pThread, const CString& title, CWnd* pParent = nullptr); CAffini...
450
395
<reponame>jabader97/backpack """BatchGrad extension for Embedding.""" from backpack.core.derivatives.embedding import EmbeddingDerivatives from backpack.extensions.firstorder.batch_grad.batch_grad_base import BatchGradBase class BatchGradEmbedding(BatchGradBase): """BatchGrad extension for Embedding.""" def ...
152
2,937
<reponame>Mu-L/ogre<filename>Components/Volume/src/OgreVolumeTextureSource.cpp /* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org Copyright (c) 2000-2014 <NAME> Ltd ...
1,309
358
<filename>messages/profile_retrieve.json<gh_stars>100-1000 { "commandDescription": "Retrieve profiles from the salesforce org with all its associated permissions. Common use case for this command is to migrate profile changes from a integration environment to other higher environments [overcomes SFDX CLI Profile ret...
192
4,408
/* * Copyright 2016 WebAssembly Community Group participants * * 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...
386
649
package net.serenitybdd.screenplay.actions; import net.serenitybdd.core.pages.WebElementFacade; import net.serenitybdd.screenplay.Actor; import net.serenitybdd.screenplay.Interaction; import net.serenitybdd.screenplay.abilities.BrowseTheWeb; import net.thucydides.core.annotations.Step; public class JSClickOnElement i...
236
4,812
//===-- BPFRegisterInfo.h - BPF Register Information Impl -------*- 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 // //===---------------------------...
402
14,668
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_DNS_PUBLIC_SECURE_DNS_MODE_H_ #define NET_DNS_PUBLIC_SECURE_DNS_MODE_H_ #include "base/containers/fixed_flat_map.h" #include "base/strings/st...
435
8,027
<reponame>Unknoob/buck void D(); void static_func_C(); void prebuilt_func_C(); void C() { D(); static_func_C(); prebuilt_func_C(); }
61
2,151
/* * Copyright (C) 2014 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 ...
1,196
2,313
/* * Copyright (c) 2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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,555
5,547
/** ****************************************************************************** * @file flash.h * @author YANDLD * @version V3.0.0 * @date 2015.8.28 * @brief www.beyondcore.net http://upcmcu.taobao.com ****************************************************************************** */ #ifnd...
428
816
<gh_stars>100-1000 package com.jxtech.app.autokey; import com.jxtech.jbo.Jbo; import com.jxtech.jbo.JboSetIFace; import com.jxtech.jbo.util.JxException; /** * * * @author <EMAIL> * @date 2014.05 */ public class AutoKey extends Jbo implements AutoKeyIFace { /** * */ private static final long...
198
942
<reponame>KatsutoshiOtogawa/treefrog-framework #include "mongoc.h" #include "mongoc-read-concern-private.h" #include "mongoc-util-private.h" #include "TestSuite.h" #include "test-conveniences.h" #include "test-libmongoc.h" static void test_read_concern_append (void) { mongoc_read_concern_t *rc; bson_t *cmd; ...
1,614
362
<reponame>yzqzss/reddit-android-appstore package subreddit.android.appstore.backend.github; import java.util.List; import io.reactivex.Observable; public interface GithubRepository { Observable<GithubApi.Release> getLatestRelease(); Observable<List<GithubApi.Contributor>> getContributors(); }
103
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,193
4,200
<reponame>kbens/rundeck /* * 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....
1,696
1,217
<filename>Modules/ego_planner/ego-planner-swarm/src/uav_simulator/so3_quadrotor_simulator/include/ode/libs/numeric/odeint/performance/phase_lattice.hpp /* * Copyright 2009-2012 <NAME> * Copyright 2009-2012 <NAME> * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.tx...
562
680
package org.ff4j.property.multi; /* * #%L * ff4j-core * %% * Copyright (C) 2013 - 2016 FF4J * %% * 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...
1,106
634
<reponame>halotroop2288/consulo<filename>modules/base/platform-impl/src/main/java/consulo/actionSystem/impl/UnifiedActionPopupMenuImpl.java /* * 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. * Yo...
836
1,775
package com.threedr3am.bug.compile.javac; import java.nio.charset.Charset; import java.util.List; import java.util.Locale; import javax.tools.Diagnostic; import javax.tools.DiagnosticCollector; import javax.tools.JavaCompiler; import javax.tools.JavaCompiler.CompilationTask; import javax.tools.JavaFileObject; import j...
634
1,085
<gh_stars>1000+ /* * Copyright (C) 2020 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...
5,451
4,392
<filename>kernel/x86_64/saxpy_microk_skylakex-2.c /*************************************************************************** Copyright (c) 2014, The OpenBLAS Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditio...
1,163
777
// Copyright 2015 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 "components/proximity_auth/remote_device_loader.h" #include <algorithm> #include <utility> #include "base/base64url.h" #include "base/bind.h" #...
1,365
3,093
import webview import pytest from .util import run_test def test_bg_color(): window = webview.create_window('Background color test', 'https://www.example.org', background_color='#0000FF') run_test(webview, window) def test_invalid_bg_color(): with pytest.raises(ValueError): webview.create_window...
337
403
<gh_stars>100-1000 /* * Camunda Platform REST API * OpenApi Spec for Camunda Platform REST API. * * The version of the OpenAPI document: 7.16.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */...
1,893
5,169
<filename>Specs/0/6/8/TFImageBrowser/0.1.0/TFImageBrowser.podspec.json { "name": "TFImageBrowser", "version": "0.1.0", "summary": "图片大图浏览器", "description": "图片浏览器,字符串、PHAsset等多种图片来源,双击缩放、过场动画、图片缓存.", "homepage": "https://github.com/ToFind1991/TFImageBrowser", "license": "MIT", "authors": { "shiwei": "...
383