max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
970
{"id":14,"description":"Build packages","ref":"master","cron":"0 1 * * 5","cron_timezone":"UTC","next_run_at":"2017-05-26T01:00:00.000Z","active":true,"created_at":"2017-05-19T13:43:08.169Z","updated_at":"2017-05-19T13:43:08.169Z","last_pipeline":null,"owner":{"name":"Administrator","username":"root","id":1,"state":"ac...
185
369
/* * Copyright © 2015 <NAME>, 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 to i...
6,984
305
{ "name": "ember-engines-workspace", "version": "0.8.22", "private": true, "description": "Workspace for ember-engines project", "repository": { "type": "git", "url": "git+https://github.com/ember-engines/ember-engines.git" }, "license": "MIT", "workspaces": [ "packages/*" ], "scripts": ...
680
10,225
package io.quarkus.reactivemessaging.utils; import org.jboss.logging.Logger; import io.quarkus.reactivemessaging.http.runtime.serializers.Serializer; import io.vertx.core.buffer.Buffer; public class ToUpperCaseSerializer implements Serializer<String> { private static final Logger log = Logger.getLogger(ToUpperCa...
245
1,540
package org.testng.internal.junit; import org.testng.AssertJUnit; public class ExactComparisonCriteria extends ComparisonCriteria { @Override protected void assertElementsEqual(Object expected, Object actual) { AssertJUnit.assertEquals(expected, actual); } }
83
145,614
"""For more information about the Binomial Distribution - https://en.wikipedia.org/wiki/Binomial_distribution""" from math import factorial def binomial_distribution(successes: int, trials: int, prob: float) -> float: """ Return probability of k successes out of n tries, with p probability for one ...
547
335
<reponame>Safal08/Hacktoberfest-1 { "word": "Prototype", "definitions": [ "A first or preliminary version of a device or vehicle from which other forms are developed.", "The first, original, or typical form of something; an archetype.", "A basic filter network with specified cut-off freq...
153
66,635
# coding: utf-8 from __future__ import unicode_literals from .common import InfoExtractor from ..utils import ( ExtractorError, NO_DEFAULT, remove_start ) class OdaTVIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?odatv\.com/(?:mob|vid)_video\.php\?.*\bid=(?P<id>[^&]+)' _TESTS = [{ '...
763
471
<gh_stars>100-1000 /////////////////////////////////////////////////////////////////////////////// // Name: src/common/modalhook.cpp // Purpose: wxModalDialogHook implementation // Author: <NAME> // Created: 2013-05-19 // Copyright: (c) 2013 <NAME> <<EMAIL>> // Licence: wxWindows licence /////...
1,129
347
package org.ovirt.engine.ui.webadmin.section.main.view; import org.ovirt.engine.ui.webadmin.section.main.presenter.DynamicUrlContentPresenter; public class DynamicUrlContentView extends AbstractDynamicUrlContentView implements DynamicUrlContentPresenter.ViewDef { }
74
3,102
// RUN: %clang_cc1 -fsyntax-only -fblocks -Wformat -verify %s -Wno-error=non-pod-varargs // RUN: %clang_cc1 -fsyntax-only -fblocks -Wformat -verify %s -Wno-error=non-pod-varargs -std=c++98 // RUN: %clang_cc1 -fsyntax-only -fblocks -Wformat -verify %s -Wno-error=non-pod-varargs -std=c++11 int (^block) (int, const char ...
442
980
<filename>src/test/java/org/jcodec/codecs/h264/encode/IntraPredEstimatorTest.java package org.jcodec.codecs.h264.encode; import static org.jcodec.codecs.h264.H264Const.BLK_DISP_MAP; import org.jcodec.codecs.h264.decode.Intra4x4PredictionBuilder; import org.jcodec.common.model.ColorSpace; import org.jcodec.common.mode...
2,554
852
<filename>FWCore/ServiceRegistry/interface/ActivityRegistry.h #ifndef FWCore_ServiceRegistry_ActivityRegistry_h #define FWCore_ServiceRegistry_ActivityRegistry_h // -*- C++ -*- // // Package: ServiceRegistry // Class : ActivityRegistry // /**\class ActivityRegistry ActivityRegistry.h FWCore/ServiceRegistry/int...
16,694
4,538
<filename>sdk/include/alibabacloud/oss/model/ListObjectVersionsResult.h /* * Copyright 2009-2017 Alibaba Cloud 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 ...
1,835
2,706
/* Copyright (c) 2013-2016 <NAME> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef GB_H #define GB_H #include <mgba-util/common.h> CXX_GUARD_START #in...
1,687
4,054
<reponame>Anlon-Burke/vespa // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.config.server; import com.yahoo.vespa.config.ConfigCacheKey; import com.yahoo.vespa.config.ConfigDefinitionKey; import com.yahoo.vespa.config.ConfigKey; import co...
1,486
369
#!/usr/bin/python # coding: UTF-8 import sys from itertools import product from multiprocessing.dummy import Pool as ThreadPool import util.fuzz as fuzz from util import cmd, pprint, execute from const import PARSERS, REQUESTERS DEBUG = 'debug' in sys.argv INS_COUNT = [0, 3, 0] WHITELIST = ['127.0.0.1', '127.1.1.1'...
1,293
3,145
// // BuiltInConversionsModel.h // JSONModelDemo // // Created by <NAME> on 02/12/2012. // Copyright (c) 2012 Underplot ltd. All rights reserved. // @import JSONModel; @interface BuiltInConversionsModel : JSONModel /* BOOL automatically converted from a number */ @property (assign, nonatomic) BOOL isItYesOrNo; ...
315
1,001
# Copyright 2019 Alibaba Cloud 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 la...
791
1,542
<reponame>uaomer/psdash from psdash.run import main main()
24
2,338
#ifndef CONTAINERS_H #define CONTAINERS_H namespace std { template <typename T> class iterator { public: iterator() {} iterator(const iterator<T> &iter) : ptr(iter.ptr) {} typedef T value_type; typedef T *pointer; typedef T &reference; reference operator*() const { return *ptr; } pointer operator->() ...
1,940
403
#include <gtest/gtest.h> #include <rv/ParameterListIterator.h> #include <rv/PrimitiveParameters.h> #include <rv/CompositeParameter.h> #include <rv/RangeParameter.h> using namespace rv; namespace { } class ParameterListIteratorTest: public ::testing::Test { }; //void ParameterListIteratorTestCase::testCopy() //{ //...
2,979
590
<filename>MyGUIEngine/include/MyGUI_ScrollBar.h /* * This source file is part of MyGUI. For the latest info, see http://mygui.info/ * Distributed under the MIT License * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) */ #ifndef MYGUI_SCROLL_BAR_H_ #define MYGUI_SCROLL_BAR_H_ #in...
1,939
488
<gh_stars>100-1000 #include "main.h" extern "C" { EXPORT btVehicleRaycaster_btVehicleRaycasterResult* btVehicleRaycaster_btVehicleRaycasterResult_new(); EXPORT btScalar btVehicleRaycaster_btVehicleRaycasterResult_getDistFraction(btVehicleRaycaster_btVehicleRaycasterResult* obj); EXPORT void btVehicleRaycaster_btVeh...
461
370
/* * Copyright (C) 2015-2019 Dubalu LLC * Copyright (C) 2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019 <NAME> * Copyright (C) 2006,2007,2009,2010 Lemur Consulting Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
19,473
453
/* (C) Copyright 2001,2006, International Business Machines Corporation, Sony Computer Entertainment, Incorporated, Toshiba Corporation, 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,094
5,597
package com.intuit.karate.shell; import java.io.File; import static org.junit.jupiter.api.Assertions.*; import org.junit.jupiter.api.Test; import com.intuit.karate.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * * @author pthomas3 */ class CommandTest { static final Logger logger = ...
773
25,073
package cc.mrbird.sso; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.security.oauth2.client.EnableOAuth2Sso; import org.springframework.boot.builder.SpringApplicationBuilder; /** * @author MrBird */ @EnableOAuth2Sso @SpringBootApplication public c...
152
2,219
<reponame>km2m/nasm<gh_stars>1000+ /* hash.h Routines to calculate a CRC32 hash value * * These routines donated to the NASM effort by <NAME>. * * The Netwide Assembler is copyright (C) 1996 <NAME> and * <NAME>. All rights reserved. The software is * redistributable under the license given in the file "LICE...
158
381
package org.apache.helix.zookeeper.util; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Lic...
984
377
<gh_stars>100-1000 package com.impetus.kundera.datatypes.datagenerator; import java.util.UUID; public class UUIDDataGenerator implements DataGenerator<UUID> { private static final UUID RANDOM_UUID = UUID.randomUUID(); private static final UUID MAX_UUID = UUID.randomUUID(); private static final UUID MIN...
284
375
<reponame>jangalda-nsc/git-plugin<filename>src/main/java/jenkins/plugins/git/GitToolChooser.java<gh_stars>100-1000 package jenkins.plugins.git; import edu.umd.cs.findbugs.annotations.NonNull; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import hudson.EnvVars; import hudson.ExtensionList; import hudson.Ex...
7,922
338
package io.grpc.grpcswagger.store; import com.google.common.collect.ImmutableMap; /** * @author <NAME> * @date 2019-08-24 */ public interface BaseStorage<K, V> { void put(K key, V value); V get(K key); void remove(K key); boolean exists(K key); ImmutableMap<K, V> getAll(); }
121
929
// // HWInputTableViewCell.h // HWPanModal_Example // // Created by <NAME> on 2019/6/19. // Copyright © 2019 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface HWInputTableViewCell : UITableViewCell @property (nonatomic, readonly) UITextField *textField; @end NS_ASSUME_...
129
1,068
from __future__ import print_function import numpy as np import falconn import timeit import math if __name__ == '__main__': dataset_file = 'dataset/glove.840B.300d.npy' number_of_queries = 1000 # we build only 50 tables, increasing this quantity will improve the query time # at a cost of slower prepro...
1,795
740
<filename>src/main/com/ggstar/example/JPMMLModelServing.java package com.ggstar.example; import com.ggstar.serving.jpmml.load.JavaModelServer; import org.dmg.pmml.FieldName; import java.util.HashMap; import java.util.Map; public class JPMMLModelServing { public static void main(String[] args){ JavaModel...
572
3,285
/* Copyright 2020 The OneFlow 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 agre...
678
14,668
// 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. #ifndef CHROME_CHROME_CLEANER_ENGINES_BROKER_CLEANER_SANDBOX_INTERFACE_H_ #define CHROME_CHROME_CLEANER_ENGINES_BROKER_CLEANER_SANDBOX_INTERFACE_H_ #incl...
641
734
<filename>app/src/main/java/com/cheikh/lazywaimai/model/event/OrderStatusChangedEvent.java package com.cheikh.lazywaimai.model.event; /** * author:cheikh.wang on 16/7/18 14:21 * email:<EMAIL> */ public class OrderStatusChangedEvent extends BaseArgumentEvent<String> { public OrderStatusChangedEvent(int callingI...
168
645
// Copyright 2012 Viewfinder. All rights reserved. // Author: <NAME>. #ifdef TESTING #include "Diff.h" #include "Testing.h" #include "Utils.h" namespace { string DiffStringsDebug(Slice from, Slice to) { vector<DiffOp> out; DiffStrings(from, to, &out, DIFF_CHARACTERS); string r; for (int i = 0; i < out.size(...
4,000
496
<gh_stars>100-1000 package me.j360.dubbo.batch.listener; import org.springframework.batch.core.ExitStatus; import org.springframework.batch.core.StepExecution; import org.springframework.batch.core.StepExecutionListener; /** * Package: me.j360.dubbo.batch.listener * User: min_xu * Date: 2017/11/1 下午7:56 * 说明: */...
270
337
<gh_stars>100-1000 package testing; import testing.rename.C; class JavaClient { public void foo() { new C().second(); } }
58
3,372
/* * 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 * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
5,344
872
package com.github.glomadrian.mvpcleanarchitecture.ui.view; import com.github.glomadrian.mvpcleanarchitecture.ui.viewmodel.CharacterInfoViewModel; /** * @author glomadrian */ public interface ModelInfoView extends View { void showCharacterInfo(CharacterInfoViewModel characterInfoViewModel); }
93
522
# 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/LICENSE-2.0 # # Unless required by applica...
401
336
package me.saket.dank.data; import androidx.annotation.StringRes; import com.google.auto.value.AutoValue; @AutoValue public abstract class EmptyState { @StringRes public abstract int emojiRes(); @StringRes public abstract int messageRes(); public static EmptyState create(@StringRes int emojisRes, @Strin...
127
439
import java.lang.reflect.Array; import java.util.NoSuchElementException; import java.util.Objects; class SimpleLinkedList<T> { private static class Element<T> { final T value; Element<T> next; Element(T value) { this.value = value; } } private Element<T> hea...
914
25,151
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
1,323
886
<reponame>sbrown-uhd/hazelcast-cpp-client<gh_stars>100-1000 #ifndef BOOST_ARCHIVE_ITERATORS_MB_FROM_WCHAR_HPP #define BOOST_ARCHIVE_ITERATORS_MB_FROM_WCHAR_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) # pragma once #endif /////////1/////////2/////////3/////////4/////////5/////////6///////...
1,738
1,345
"""Evented dictionary""" import sys from typing import ( Any, Dict, Iterator, Mapping, MutableMapping, Sequence, Type, TypeVar, Union, ) _K = TypeVar("_K") _T = TypeVar("_T") class TypedMutableMapping(MutableMapping[_K, _T]): """Dictionary mixin that enforces item type.""" ...
1,044
313
{"status_id":8748557077053440,"text":"Ofa nab mi alo avatewce zaeto ud focu jef fu jo fu gaocauga bospeb sapbonbo repbu fadpi. #moko","user":{"user_id":874677912207360,"name":"<NAME>","screen_name":"@dead","created_at":826410191,"followers_count":59,"friends_count":23,"favourites_count":13},"created_at":213585489,"fav...
173
2,261
#ifndef CTRE__STARTS_WITH_ANCHOR__HPP #define CTRE__STARTS_WITH_ANCHOR__HPP #include "flags_and_modes.hpp" namespace ctre { template <typename... Content> constexpr bool starts_with_anchor(const flags &, ctll::list<Content...>) noexcept { return false; } template <typename... Content> constexpr bool starts_with_...
1,388
589
package rocks.inspectit.shared.cs.ci.assignment.impl; import javax.xml.bind.annotation.XmlTransient; import rocks.inspectit.shared.cs.ci.sensor.method.special.AbstractSpecialMethodSensorConfig; /** * Special {@link MethodSensorAssignment} that server for defining special instrumentation points * with the already e...
761
1,338
/* Copyright (c) 2002/03, <NAME> Part of Radeon accelerant Programming of internal TV-out unit */ #include "radeon_interface.h" #include "radeon_accelerant.h" #include "tv_out_regs.h" #include "pll_access.h" #include "mmio.h" #include "utils.h" #include "set_mode.h" #include <stdlib.h> // mapping of offse...
3,737
603
"""Test QtConsoleApp""" # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. import os import sys from subprocess import check_output from jupyter_core import paths import pytest from traitlets.tests.utils import check_help_all_output from . import no_display @pytes...
387
1,047
#import tensorflow as tf import jinja2 import os import pickle from collections import namedtuple import re import numpy as np TFLM_Tensor = namedtuple('TFLM_Tensor', ['tensor', 'quantization']) test_name = "3_fully_connected" output_file = "test_quantized_fully_connected.cpp" const_file = "constants_quantized_fully_...
3,513
1,444
package mage.cards.t; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.ContinuousEffectImpl; import mage.abilities.effects.common.AttachEffect; import mage.abilities.effects.common.continuous.BoostEnchantedEffect; import mage.abilities.keyword.EnchantAbilit...
1,097
403
<gh_stars>100-1000 package org.camunda.bpm.demo.invoice.ui.servlet; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; import javax.inject.Inject; import javax.servlet.ServletExc...
1,182
379
def data_bars(df, column): n_bins = 100 bounds = [i * (1.0 / n_bins) for i in range(n_bins + 1)] ranges = [ ((df[column].max() - df[column].min()) * i) + df[column].min() for i in bounds ] styles = [] for i in range(1, len(bounds)): min_bound = ranges[i - 1] max_b...
1,903
684
<filename>src/src/glApp.h<gh_stars>100-1000 //------------------------------------------------------------------------------ // Copyright (c) 2018-2020 <NAME> // All rights reserved. // // https://michelemorrone.eu - https://BrutPitt.com // // twitter: https://twitter.com/BrutPitt - github: https://github.com...
6,349
407
/** * Copyright 2010 The Apache Software Foundation * * 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...
637
983
package org.xm.classification; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.Collection; import java.util.HashMap; import java.util.Map; /** * 分类的类别 */ public class Variable { /** * 类别信息 */ Map<String, CategoryInfo> categoryMap = new HashMap<>()...
1,927
322
/* * 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 ...
1,712
609
<reponame>0xflotus/token-core-android package org.consenlabs.tokencore.wallet.transaction; import java.util.List; public class TxMultiSignResult { public TxMultiSignResult(String txHash, List<String> signed) { this.txHash = txHash; this.signed = signed; } String txHash; List<String> signed; publi...
212
2,305
""" Code snippet card, used in index page. """ from docutils.parsers.rst import Directive, directives from docutils.statemachine import StringList from docutils import nodes from sphinx.addnodes import pending_xref CARD_TEMPLATE_HEADER = """ .. raw:: html <div class="codesnippet-card admonition"> <div cla...
1,438
2,415
<filename>tools/c7n_azure/c7n_azure/resources/traffic_manager.py # Copyright The Cloud Custodian Authors. # SPDX-License-Identifier: Apache-2.0 from c7n_azure.resources.arm import ArmResourceManager from c7n_azure.provider import resources @resources.register('traffic-manager-profile') class TrafficManagerProfile(Ar...
394
468
{ "name": "powerlevel9k", "author": "toish", "license": "CC-BY-SA", "raster": "http://hexb.in/hexagons/powerlevel9k.png", "vector": "http://hexb.in/vector/powerlevel9k.ai", "description": "Sticker for the PowerLevel9K ZSH theme! https://github.com/bhilburn/powerlevel9k" }
115
575
// 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 THIRD_PARTY_BLINK_RENDERER_CORE_FETCH_BODY_STREAM_BUFFER_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_FETCH_BODY_STREAM_BUFFER_H_ #include <memory>...
2,152
389
<filename>Vesper/Classes/VSMenuButton.h // // VSMenuButton.h // Vesper // // Created by <NAME> on 5/6/13. // Copyright (c) 2013 Q Branch LLC. All rights reserved. // #import <UIKit/UIKit.h> typedef struct { CGFloat cornerRadius; CGFloat borderWidth; VSTextCaseTransform textCaseTransform; } VSMenuButtonLayoutB...
310
892
{ "schema_version": "1.2.0", "id": "GHSA-gqcf-83rq-gpfr", "modified": "2021-09-14T18:35:35Z", "published": "2021-09-14T20:24:44Z", "aliases": [ ], "summary": "Any storage file can be downloaded from p.sh if full server path is known", "details": "The default configuration for platform.sh (.platform.app...
768
854
/* * This file is part of Kintinuous. * * Copyright (C) 2015 The National University of Ireland Maynooth and * Massachusetts Institute of Technology * * The use of the code within this file and all code within files that * make up the software that is Kintinuous is permitted for * non-commercial purposes onl...
502
864
/********************************************************************************************************************** This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich. Licensed under the BSD-2 license (see LICENSE file in main directory) ****************...
2,942
322
<gh_stars>100-1000 from json import dump from steampy.client import SteamClient, InvalidCredentials from steampy.models import GameOptions #Your steam username username = '' #Path to steam guard file steam_guard_path = '' #Your steam password password = '' #Your steam api key (http://steamcommunity.com/dev/apikey) ...
585
450
/* * 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 ...
749
2,542
<gh_stars>1000+ // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stda...
515
5,169
{ "name": "OSWebViewPreCache", "version": "1.0", "summary": "Offline cache ready-to-go solution for web sites like 'Terms and Conditions' and 'Privacy policy'", "description": "99% of business projects require to have 'Terms and Conditions' and 'Privacy policy' pages. Moreover, in most cases it is legal obligat...
380
777
<gh_stars>100-1000 /* * Copyright (C) 2004, 2005, 2006, 2007 <NAME> <<EMAIL>> * Copyright (C) 2004, 2005 <NAME> <<EMAIL>> * Copyright (C) 2005 <NAME> <<EMAIL>> * Copyright (C) 2009 <NAME> <<EMAIL>> * Copyright (C) Research In Motion Limited 2010. All rights reserved. * * This library is free software; you can re...
1,221
315
<gh_stars>100-1000 #include <utility> #include <sstream> #include <cmath> #include "Tools/Exception/exception.hpp" #include "Tools/Documentation/documentation.h" #include "Module/Decoder/RS/Standard/Decoder_RS_std.hpp" #include "Module/Decoder/RS/Genius/Decoder_RS_genius.hpp" #include "Factory/Module/Decoder/RS/Decode...
1,633
742
#ifndef ARENA_FONT_NAME_H #define ARENA_FONT_NAME_H #include <array> namespace ArenaFontName { // Can't be std::string due to global initialization order issues. constexpr const char *A = "FONT_A.DAT"; constexpr const char *Arena = "ARENAFNT.DAT"; constexpr const char *B = "FONT_B.DAT"; constexpr const char *C =...
341
995
//Copyright (c) 2008-2016 <NAME> and <NAME>, Inc. //Distributed under the Boost Software License, Version 1.0. (See accompanying //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef UUID_49C5A1042AEF11DF9603880056D89593 #define UUID_49C5A1042AEF11DF9603880056D89593 #include <boost/...
1,074
407
package com.alibaba.sreworks.appcenter.server.params; import com.alibaba.sreworks.domain.DO.AppInstance; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @NoArgsConstructor @AllArgsConstructor public class AppInstanceUpdateParam { priva...
198
418
# type: ignore from setuptools import setup setup()
15
828
/* * Copyright 2008-2009 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
3,812
327
<filename>projects/testable-project/src/org/lsp/runnable/test/Testable.java<gh_stars>100-1000 package org.lsp.runnable.test; import junit.framework.TestCase; public class Testable extends TestCase { public void test1() { try { Thread.sleep(2000); } catch (Exception e) { e.printStackTrace(); } } ...
179
5,079
<reponame>fmadrid-ana/jaeger-client-python<filename>tests/test_local_agent_net.py # Copyright (c) 2016 Uber Technologies, 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.a...
973
10,225
<gh_stars>1000+ package io.quarkus.it.vertx; import java.net.URL; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.event.Observes; import org.apache.commons.lang3.exception.ExceptionUtils; import ...
2,085
312
<filename>3rd_party/occa/src/occa/internal/lang/expr/typeNode.cpp #include <occa/internal/lang/expr/typeNode.hpp> namespace occa { namespace lang { typeNode::typeNode(token_t *token_, type_t &value_) : exprNode(token_), value(value_) {} typeNode::typeNode(const typeNode &n...
445
5,169
{ "name": "InfiniteScrolling", "version": "1.0.2", "summary": "Add infinite scrolling to collection view.", "description": "'This pod adds infinite scrolling ability in UICollectionView'.", "homepage": "https://github.com/Vishal-Singh-Panwar/InfiniteScrolling", "license": { "type": "MIT", "file": "L...
252
303
<filename>XRTCDemo_iOS/XrtcDemo/NMCBasicModuleFramework.framework/Headers/NMC_Reachability.h // // NMC_Reachability.h // NMCBasicModule // // Created by taojinliang on 2018/4/25. // Copyright © 2018年 taojinliang. All rights reserved. // #import <Foundation/Foundation.h> #import <SystemConfiguration/SystemConfigura...
1,058
13,648
<gh_stars>1000+ # Test uasyncio TCP stream closing then writing try: import uasyncio as asyncio except ImportError: try: import asyncio except ImportError: print("SKIP") raise SystemExit PORT = 8000 async def handle_connection(reader, writer): # Write data to ensure connectio...
561
82,043
{ "name": "dart", "displayName": "%displayName%", "description": "%description%", "version": "1.0.0", "publisher": "vscode", "license": "MIT", "engines": { "vscode": "0.10.x" }, "scripts": { "update-grammar": "node ../node_modules/vscode-grammar-updater/bin dart-lang/dart-syntax-highlight grammars/dart....
350
523
<filename>UAlbertaBot/Source/research/visualizer/ReplayVisualizer.cpp #include "ReplayVisualizer.h" #ifdef USING_VISUALIZATION_LIBRARIES /* ReplayVisualizer::ReplayVisualizer() : map(BWAPI::Broodwar) { } void ReplayVisualizer::launchSimulation(const BWAPI::Position & center, const int & radius) { // set up the ...
1,753
1,043
/* * Copyright (c) 1993-2014, NVIDIA CORPORATION. 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 ...
9,033
560
<reponame>Jan-Shing/facebooc #include <signal.h> #include <sqlite3.h> #include <stdio.h> #include <string.h> #include <time.h> #include "bs.h" #include "kv.h" #include "server.h" #include "template.h" #include "models/account.h" #include "models/connection.h" #include "models/like.h" #include "models/post.h" #include...
8,912
572
import time, pytest, inspect from utils import * PORT_FROM_CONFIG_FILE = 12345 PORT_FROM_COMMAND_LINE = 12346 def test_running_two_braves_on_different_ports(run_brave, create_config_file): launch_brave_setting_port_in_config_file(run_brave, create_config_file) launch_brave_setting_port_in_environment_variable...
358
1,355
// Copyright (c) 2018 <NAME> // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <jet/cell_centered_scalar_grid3.h> #include <jet/grid_forward_euler_diffusion_solver3.h> #include ...
493
892
{ "schema_version": "1.2.0", "id": "GHSA-f684-4cqg-v8mf", "modified": "2022-05-13T01:35:26Z", "published": "2022-05-13T01:35:26Z", "aliases": [ "CVE-2018-0305" ], "details": "A vulnerability in the Cisco Fabric Services component of Cisco FXOS Software and Cisco NX-OS Software could allow an unauthent...
739
435
<filename>northbaypython-2017/videos/stumbling-through-django-and-how-not-to.json { "description": "If you\u2019re a beginner about to embark on a new Django project adventure, this talk is for you.\n\nWhen I started my first Django project, I took the \u201cSure, I think I can figure that out\u201d approach, which i...
480
351
package org.antlr.intellij.plugin.psi; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.TextRange; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiFile; import com.intellij.psi.PsiReferenceBase; import com.intellij.psi.util.PsiTreeUtil; import com.intellij.util.IncorrectOper...
1,014
634
/**************************************************************** * 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...
3,244