max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
852
import FWCore.ParameterSet.Config as cms from RecoBTag.Skimming.btagDijet_EventContent_cff import * btagDijetOutputModuleAODSIM = cms.OutputModule("PoolOutputModule", AODSIMbtagDijetEventContent, btagDijetEventSelection, dataset = cms.untracked.PSet( filterName = cms.untracked.string('btagDijetAODS...
188
1,640
<gh_stars>1000+ package com.gitblit.wicket.pages; import java.io.Serializable; public class Language implements Serializable { private static final long serialVersionUID = 1L; final String name; final String code; public Language(String name, String code) { this.name = name; this.code = code; } @Overrid...
128
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...
604
336
package com.github.rawls238.scientist4j.metrics; import io.dropwizard.metrics5.MetricRegistry; import io.dropwizard.metrics5.Timer.Context; import java.util.Arrays; public class DropwizardMetricsProvider implements MetricsProvider<MetricRegistry> { private MetricRegistry registry; public DropwizardMetricsP...
795
552
<filename>parlai/crowdsourcing/tasks/model_chat/utils.py #!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import base64 import datetime import json import os import rand...
7,988
3,787
<gh_stars>1000+ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: statistic-meta.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbo...
1,403
2,151
/* * Copyright (c) 2014 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
2,461
11,750
import _plotly_utils.basevalidators class ChoroplethmapboxValidator(_plotly_utils.basevalidators.CompoundArrayValidator): def __init__( self, plotly_name="choroplethmapbox", parent_name="layout.template.data", **kwargs ): super(ChoroplethmapboxValidator, self).__init__(...
314
17,703
<filename>test/common/buffer/zero_copy_input_stream_test.cc<gh_stars>1000+ #include "source/common/buffer/buffer_impl.h" #include "source/common/buffer/zero_copy_input_stream_impl.h" #include "test/common/buffer/utility.h" #include "gmock/gmock.h" #include "gtest/gtest.h" namespace Envoy { namespace Buffer { namespa...
2,891
575
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_MARKER_MARKER_CONTROLLER_H_ #define ASH_MARKER_MARKER_CONTROLLER_H_ #include "ash/ash_export.h" #include "ash/fast_ink/fast_ink_pointer_contr...
847
3,017
<filename>sagan-site/src/main/java/sagan/site/webapi/repository/RepositoryMetadataController.java package sagan.site.webapi.repository; import java.util.Arrays; import sagan.site.projects.Repository; import sagan.site.support.ResourceNotFoundException; import org.springframework.hateoas.CollectionModel; import org.s...
525
15,577
#include <Access/SettingsProfilesCache.h> #include <Access/AccessControlManager.h> #include <Access/SettingsProfile.h> #include <Access/SettingsProfilesInfo.h> #include <Common/quoteString.h> namespace DB { namespace ErrorCodes { extern const int THERE_IS_NO_PROFILE; } SettingsProfilesCache::SettingsProfilesCach...
2,937
460
#include "../../../tools/designer/src/lib/shared/gridpanel_p.h"
26
672
<reponame>DogeCoding/iOSCompiledRuntime<filename>xnu-4903.241.1/osfmk/arm/machine_routines_common.c /* * Copyright (c) 2007-2013 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subj...
8,960
473
#ifndef DIFFER_H_ #define DIFFER_H_ void cgc_compare_files(SFILE *lfile, SFILE *rfile, int ignore_ws, int treat_as_ascii); void cgc_clear_cache(int file_num); #endif
75
3,102
<gh_stars>1000+ //===-- DiagnosticsYaml.h -- Serialiazation for Diagnosticss ---*- 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 // //===------------...
1,348
348
<filename>docs/data/leg-t2/050/05003184.json {"nom":"Flamanville","circ":"3ème circonscription","dpt":"Manche","inscrits":1255,"abs":800,"votants":455,"blancs":51,"nuls":15,"exp":389,"res":[{"nuance":"REM","nom":"<NAME>","voix":252},{"nuance":"LR","nom":"<NAME>","voix":137}]}
110
314
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "CDStructures.h" #import "DVTPageControllerDots-Protocol.h" @class DVTPagingDotView, NSString; @interface DVTPageController : NSPageController <DVTPageControllerDots> { DVT...
300
1,511
<gh_stars>1000+ package com.privatecompany.somepackage; import java.io.File; import java.io.FilenameFilter; import javax.swing.filechooser.FileFilter; /** * <p>Title: CustomFileFilter</p> * * <p>Description: </p> * * <p>Copyright: Copyright (c) 2006</p> * * <p>Company: Private Company</p> * * ...
241
1,443
{ "copyright": "TehBrian", "url": "https://tehbrian.xyz", "email": "<EMAIL>", "format": "html", "license": "mit", "theme": "default", "gravatar": false }
72
314
<filename>Multiplex/IDEHeaders/IDEHeaders/DVTFoundation/DVTSourceFileLineCoverageData.h // // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "CDStructures.h" @class NSArray; @interface DVTSourceFileLineCoverageData : NSObject <NS...
358
771
"""Benchmarks the file handler""" from logbook import Logger, FileHandler from tempfile import NamedTemporaryFile log = Logger('Test logger') def run(): f = NamedTemporaryFile() with FileHandler(f.name) as handler: for x in xrange(500): log.warning('this is handled')
104
967
<filename>Mac/Echo/Template/Outline/ECOTemplateOutlineViewController.h // // ECOTemplateOutlineViewController.h // Echo // // Created by 陈爱彬 on 2019/6/21. Maintain by 陈爱彬 // Description // #import <Cocoa/Cocoa.h> #import "ECOPluginUIProtocol.h" NS_ASSUME_NONNULL_BEGIN @interface ECOTemplateOutlineViewController...
188
487
<filename>common/analysis/matcher/inner_match_handlers.h<gh_stars>100-1000 // Copyright 2017-2020 The Verible 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://ww...
1,031
1,144
from app.flask_app import celery from lib.celery.task_decorator import throttled_task @throttled_task(countdown=10) @celery.task(bind=True) def poll_engine_status(self, checker_name, engine_id): from lib.engine_status_checker import get_engine_checker_class get_engine_checker_class(checker_name).get_server_s...
124
3,218
// // WeiBoMineController.h // CodeDemo // // Created by wangrui on 2017/4/11. // Copyright © 2017年 wangrui. All rights reserved. // // Github地址:https://github.com/wangrui460/WRNavigationBar #import <UIKit/UIKit.h> @interface AllTransparent : UIViewController @end
110
3,012
<filename>MdePkg/Library/PeiIoLibCpuIo/IoHighLevel.c /** @file High-level Io/Mmio functions. All assertions for bit field operations are handled bit field functions in the Base Library. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent...
30,634
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 app...
2,785
1,998
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import datetime import asyncio import warnings from typing import List, Callable from botbuilder.schema import ( Activity, ActivityTypes, ChannelAccount, ConversationAccount, ResourceResponse, Convers...
2,989
666
<gh_stars>100-1000 package com.orhanobut.wasp.http; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Make a POST request to a RES...
159
1,350
<filename>sdk/security/azure-resourcemanager-security/src/main/java/com/azure/resourcemanager/security/models/ScanningFunctionality.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resource...
434
335
<reponame>Safal08/Hacktoberfest-1 { "word": "Naturopathy", "definitions": [ "A system of alternative medicine based on the theory that diseases can be successfully treated or prevented without the use of drugs, by techniques such as control of diet, exercise, and massage." ], "parts-of-speech": ...
106
2,137
package com.publiccms.common.handler; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.context.annotation.AnnotationBeanNameGenerator; import org.springframework.util.Assert; public class FullBeanNameGenerator extends AnnotationBeanNameGenerator { protected Strin...
179
303
<reponame>rgacogne/bgpq3 #ifndef SX_SLENTRY_H_ #define SX_SLENTRY_H_ #if HAVE_SYS_QUEUE_H && HAVE_STAILQ_IN_SYS_QUEUE #include <sys/queue.h> #else #include "sys_queue.h" #endif #if HAVE_SYS_TREE_H #include <sys/tree.h> #else #include "sys_tree.h" #endif struct sx_slentry { STAILQ_ENTRY(sx_slentry) next; char* tex...
248
12,278
//---------------------------------------------------------------------------// // Copyright (c) 2013-2014 <NAME> <<EMAIL>> // // 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 // // See http://boostorg.github.com/com...
1,620
543
<filename>tests/test_functional.py import json import os from unittest.mock import call, patch import pandas as pd import pytest from mlblocks import MLPipeline from mlblocks.discovery import load_pipeline from orion import functional from orion.core import Orion class TestLoadData: @classmethod def setup_...
5,023
6,240
{ "schema-version": "0.2", "changes": [ { "category": "packaging", "description": "Fix packaging multiple local directories as dependencies\n(`#1047 <https://github.com/aws/chalice/pull/1047>`__)", "type": "bugfix" }, { "category": "event-source", "description": "Add suppor...
434
831
/* * 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 required by app...
1,104
389
<filename>gosu-core-api/src/main/java/gw/lang/reflect/ITypeRefFactory.java /* * Copyright 2014 <NAME>, Inc. */ package gw.lang.reflect; import java.util.List; public interface ITypeRefFactory { public static final String SYSTEM_PROXY_SUFFIX = "_Proxy"; public static final String USER_PROXY_SUFFIX = "_TypeProxy...
200
1,398
# -*- coding: utf-8 -*- import mock import completor import re from completers.common import Omni # noqa from completor.compat import to_unicode def test_has_omnifunc(vim_mod): vim_mod.vars = { 'completor_css_omni_trigger': br'([\w-]+|@[\w-]*|[\w-]+:\s*[\w-]*)$' } vim_mod.current.buffer.options...
783
462
<gh_stars>100-1000 #include <stdint.h> #include <gb/drawing.h> /* Print a long number in any radix */ extern char *digits; void gprintln(int16_t number, int8_t radix, int8_t signed_value) NONBANKED { uint16_t l; if(number < 0 && signed_value) { wrtchr('-'); number = -number; } if((l = (uint16_t)numb...
196
2,279
<filename>ime/addons/src/main/java/com/anysoftkeyboard/addons/Support.java package com.anysoftkeyboard.addons; import android.content.Context; import android.content.res.Resources; import android.util.SparseIntArray; import androidx.annotation.NonNull; import com.anysoftkeyboard.base.utils.Logger; import java.util.Arr...
1,506
2,729
#pragma once #include "arithmetics.hpp" namespace msdfgen { typedef unsigned char byte; inline byte pixelFloatToByte(float x) { return byte(clamp(256.f*x, 255.f)); } inline float pixelByteToFloat(byte x) { return 1.f/255.f*float(x); } }
106
1,338
/* * EncryptionUtils.h * Copyright (C) 2019 <NAME> <<EMAIL>> * * Distributed under terms of the MIT license. */ #ifndef ENCRYPTIONUTILS_H #define ENCRYPTIONUTILS_H const char* EncryptionType(const char* path); #endif /* !ENCRYPTIONUTILS_H */
96
333
<filename>src/main/java/com/alipay/api/domain/OuterTargetingItem.java<gh_stars>100-1000 package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 单元定向 * * @author ...
515
1,389
<reponame>zbmain/PGL #-*- coding: utf-8 -*- from .dataset import Dataset, StreamDataset, HadoopDataset from .dataloader import Dataloader
59
377
<reponame>platschi/trustroots<filename>public/locales/id/contacts.json { "Cancel": "Batal", "(additional {{count}} pending)": "(tambahan {{count}} menunggu keputusan)", "{{count}} contacts in common": "{{count}} kontak yang serupa", "{{count}} contacts": "{{count}} kontak", "You received a contact r...
668
391
package com.sparrowwallet.sparrow.io; import com.sparrowwallet.drongo.wallet.WalletModel; public interface Export { String getName(); WalletModel getWalletModel(); }
59
777
<filename>cc/output/begin_frame_args_unittest.cc // 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. #include <string> #include "cc/output/begin_frame_args.h" #include "cc/test/begin_frame_args_test.h" #in...
2,182
337
package com.edotassi.amazmod.update; import java.io.File; public interface Updater { void updateCheckFailed(); void updateAvailable(int version); void updateDownloadProgress(String filename, int progress); void updateDownloadFailed(); void updateDownloadCompleted(File updateFile, String filename);...
94
446
<gh_stars>100-1000 /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the...
625
512
import responses from binance.spot import Spot as Client from tests.util import mock_http_response from tests.util import random_str from binance.error import ParameterRequiredError mock_item = {"key_1": "value_1", "key_2": "value_2"} key = random_str() secret = random_str() def test_subscribe_blvt_without_tokenName...
383
1,010
/* * The Shadow Simulator * See LICENSE for licensing information */ #ifndef SRC_MAIN_HOST_STATUS_LISTENER_H_ #define SRC_MAIN_HOST_STATUS_LISTENER_H_ #include "main/host/status.h" /* Opaque object to store the state needed to implement the module. */ typedef struct _StatusListener StatusListener; /* Indicates w...
810
359
<gh_stars>100-1000 /* Copyright 2018 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
451
36,552
// Copyright 2020 gRPC 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 ...
1,049
435
{ "description": "Blueshoe was founded in 2014. Since the beginning of our company we used Python and the web framework Django to build web pages and applications. With respect to technology, there have been many ups and downs in the past 2 \u00bd years. This is an experience report about building a startup with Djan...
289
791
#include "editing_system.h" #include <core/graphics/texture.h> #include <core/system/subsystem.h> #include <runtime/assets/asset_manager.h> #include <runtime/ecs/components/audio_listener_component.h> #include <runtime/ecs/components/camera_component.h> #include <runtime/ecs/components/transform_component.h> #include...
1,301
1,253
#include <bits/stdc++.h> using namespace std; const int MAX_NODES = 1000000;//maximum nodes in the trie (the sum of lengths of our dictiory words is a common upperbound) const int ALPHABET_SIZE = 26;//Implementation works for english lowercase letters int cntNodes = 1;//the root counts as one node (the node 1). The ...
990
3,651
/** * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * <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>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required ...
858
589
<filename>inspectit.shared.cs/src/main/java/rocks/inspectit/shared/cs/ci/sensor/method/impl/ExecutorClientSensorConfig.java package rocks.inspectit.shared.cs.ci.sensor.method.impl; import javax.xml.bind.annotation.XmlRootElement; import rocks.inspectit.shared.cs.ci.sensor.method.AbstractRemoteSensorConfig; /** * Co...
373
645
<reponame>morenn520/TonY # # Copyright 2019 LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license. # See LICENSE in the project root for license information. # import os tb_port = None if 'TB_PORT' in os.environ: tb_port = os.environ['TB_PORT'] job_name = os.environ['JOB_NAME'] prin...
160
737
from . import functions def aggregation(input, weight, kernel_size=3, stride=1, padding=0, dilation=1, pad_mode=1): assert input.shape[0] == weight.shape[0] and (input.shape[1] % weight.shape[1] == 0) and pad_mode in [0, 1] if input.is_cuda: if pad_mode == 0: out = functions.aggregation_ze...
646
2,137
<filename>publiccms-parent/publiccms-trade/src/main/java/com/publiccms/logic/component/paymentgateway/AccountGatewayComponent.java package com.publiccms.logic.component.paymentgateway; import java.io.IOException; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation...
1,381
324
<gh_stars>100-1000 import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt import argparse import numpy as np import os import copy import time import math import torch import torch.utils import torch.utils.data import torch.nn as nn import torch.nn.functional as F import torch.optim as ...
22,791
335
<filename>P/Parallel.json { "word": "Parallel", "definitions": [ "(of lines, planes, surfaces, or objects) side by side and having the same distance continuously between them." ], "parts-of-speech": "Adjective" }
87
1,531
/* * ==================================================================== * 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 ...
971
369
// Copyright (c) 2017-2021, Mudita <NAME>.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <stdbool.h> #include <sys/types.h> #include <sys/stat.h>...
4,235
1,056
<reponame>timfel/netbeans<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 Lice...
1,791
1,998
<reponame>keeper121/onnx-tensorrt /* * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include <NvInfer.h> #include <string> #include <vector> #include "TensorOrWeights.hpp" #include "ImporterContext.hpp" namespace onnx2trt { nvinfer1::ITensor* addRNNInput(IImporterContext* ctx, const ::ONNX_NAMESPACE::Node...
690
1,319
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 帮助类 """ import hashlib def read_by_lines(path, encoding="utf-8"): """read the data by line""" result = list() with open(path, "r") as infile: for line in infile: result.append(line.strip().decode(encoding)) return result def write...
284
514
<filename>litedram/gen-src/sdram_init/libc/src/strstr.c<gh_stars>100-1000 /****************************************************************************** * Copyright (c) 2004, 2008 IBM Corporation * All rights reserved. * This program and the accompanying materials * are made available under the terms of the BSD Li...
359
2,500
/* * Copyright 2016 DiffPlug * * 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 ...
278
5,238
<gh_stars>1000+ # Create an array for the points of the line line_points = [ {"x":5, "y":5}, {"x":70, "y":70}, {"x":120, "y":10}, {"x":180, "y":60}, {"x":240, "y":10}] # Create style style_line = lv.style_t() style_line.init() style_line.set_line_widt...
291
848
<filename>tensorflow/lite/delegates/gpu/cl/texture2d.h /* Copyright 2019 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/licen...
1,564
8,027
/* * 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...
4,881
348
{"nom":"Macheren","circ":"7ème circonscription","dpt":"Moselle","inscrits":2435,"abs":1530,"votants":905,"blancs":56,"nuls":18,"exp":831,"res":[{"nuance":"REM","nom":"<NAME>","voix":477},{"nuance":"FN","nom":"<NAME>","voix":354}]}
93
1,884
package com.dinuscxj.example.demo; import android.content.Context; import android.support.annotation.NonNull; import android.support.v4.app.Fragment; import com.dinuscxj.example.R; public class OpenProjectTabPagerFragment extends TabPagerFragment { public static OpenProjectTabPagerFragment newInstance() { ...
590
529
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. ///////////////////////////////////////////////////////...
125
342
<reponame>gspu/bitkeeper<gh_stars>100-1000 /* * tkTreeMarquee.c -- * * This module implements the selection rectangle for treectrl widgets. * * Copyright (c) 2002-2011 <NAME> */ #include "tkTreeCtrl.h" typedef struct TreeMarquee_ TreeMarquee_; /* * The following structure holds info about the selection rectan...
7,361
3,799
<filename>car/app/app/src/main/java/androidx/car/app/annotations/CarProtocol.java<gh_stars>1000+ /* * Copyright 2021 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 ...
400
1,442
#include <quiz.h> #include "execution_environment.h" QUIZ_CASE(python_math) { TestExecutionEnvironment env = init_environement(); assert_command_execution_succeeds(env, "from math import *"); assert_command_execution_succeeds(env, "e", "2.718281828459045\n"); assert_command_execution_succeeds(env, "gamma(3)", ...
230
6,270
<reponame>speakerbug/voterbot<filename>node_modules/claudia-bot-builder/node_modules/aws-sdk/.changes/2.187.0.json [ { "type": "feature", "category": "AlexaForBusiness", "description": "Supports new field for DeviceStatusInfo which provides details about the DeviceStatus following a DeviceSy...
422
1,144
<reponame>dram/metasfresh<gh_stars>1000+ package org.eevolution.process; import java.util.concurrent.atomic.AtomicInteger; import de.metas.product.IProductBL; import org.adempiere.ad.dao.IQueryBL; import org.adempiere.ad.dao.IQueryBuilder; import org.adempiere.ad.trx.api.ITrxManager; import org.adempiere.exceptions.A...
1,993
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...
9,621
1,224
# Gravitational Attraction (3D) # <NAME> <http://www.shiffman.net> # A class for(object): an orbiting Planet class Planet(object): # Basic physics model (location, velocity, acceleration, mass) def __init__(self, m, x, y, z): self.mass = m self.location = PVector(x, y, z) self.velocit...
441
362
<gh_stars>100-1000 package net.ripe.db.whois.update.autokey; import net.ripe.db.whois.common.domain.CIString; import net.ripe.db.whois.common.rpsl.AttributeType; import net.ripe.db.whois.common.rpsl.RpslObject; import net.ripe.db.whois.common.rpsl.ValidationMessages; import net.ripe.db.whois.update.autokey.dao.NicHand...
2,089
1,351
<gh_stars>1000+ /** @file SSL SNI test plugin. Somewhat nonsensically exercise some scenarios of proxying and blind tunneling from the SNI callback plugin @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file di...
1,467
429
<reponame>SteveJobs91/ToaruOS #pragma once #include <_cheader.h> _Begin_C_Header extern int fswait(int count, int * fds); extern int fswait2(int count, int * fds, int timeout); extern int fswait3(int count, int * fds, int timeout, int * out); _End_C_Header
106
2,151
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/download/download_url_loader_factory_getter_impl.h" namespace content { DownloadURLLoaderFactoryGetterImpl::DownloadURLLoaderF...
299
302
/** * Copyright 2013-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.amazonaws.services.dynamodbv2.transactions; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Queue; import java.util.Set; import com.amaz...
1,080
1,405
package com.lenovo.lps.sus.control; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.widget.Button; import android.widget.TextView; import com.lenovo.lps.sus.c.a; import com.lenovo.lps.sus.c.b; /* loaded from...
2,003
1,571
# Copyright 2020 Magic Leap, 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 in writing...
8,039
1,199
# coding=utf-8 # Copyright 2018 The Google AI Language Team 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 ...
985
5,169
{ "name": "DTPickerPresenter", "version": "0.1.0", "license": "MIT", "summary": "Modern wrapper for UIDatePicker and UIPickerView presentation.", "homepage": "https://github.com/DenHeadless/DTPickerPresenter", "authors": { "<NAME>": "<EMAIL>" }, "source": { "git": "https://github.com/DenHeadless...
257
1,541
<gh_stars>1000+ package com.bwssystems.HABridge; import java.util.Map; import com.bwssystems.HABridge.api.hue.WhitelistEntry; public class BridgeSecurityDescriptor { private Map<String, User> users; private boolean useLinkButton; private String execGarden; private boolean secureHueApi; private Map<Stri...
868
5,300
package hellowicket.plaintext; import java.nio.charset.Charset; import org.apache.wicket.request.http.WebResponse; import org.apache.wicket.request.resource.IResource; /** * A resource that implements the requirements for * <a href="http://www.techempower.com/benchmarks/#section=code">Test type 6: Plaintext</a> *...
257
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...
421
9,711
/* * Copyright 2014 <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 to in wr...
1,459
523
// Copyright <NAME> 2015 - 2016. // 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) #include "sample_functions.h" #include <cnl/cmath.h> #include <benchmark/benchmark.h> using cnl::nume...
3,304
326
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2014-2020, Oracle and/or its affiliates. // Contributed and/or modified by <NAME>, on behalf of Oracle // Contributed and/or modified by <NAME>, on behalf of Oracle // Licensed under the Boost Software License version 1.0. // http://www.boost.org...
1,407