max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
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...
2,342
9,680
<filename>nni/algorithms/hpo/metis_tuner/lib_constraint_summation.py # Copyright (c) Microsoft Corporation. # Licensed under the MIT license. """ lib_constraint_summation.py """ import math import random from operator import itemgetter def check_feasibility(x_bounds, lowerbound, upperbound): ''' This can h...
2,739
402
# ------------------------------------------------------------------------------------------ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. # -------------------------------------------------------------------...
1,043
321
import os import torch import torchvision import cnn_models.conv_forward_model as convForwModel import cnn_models.help_fun as cnn_hf import datasets import model_manager cuda_devices = os.environ['CUDA_VISIBLE_DEVICES'].split(',') print('CUDA_VISIBLE_DEVICES: {} for a total of {} GPUs'.format(cuda_devices, len(cuda_de...
2,428
852
import FWCore.ParameterSet.Config as cms import RecoTracker.FinalTrackSelectors.trackListMerger_cfi hiGeneralTracksNoRegitMu = RecoTracker.FinalTrackSelectors.trackListMerger_cfi.trackListMerger.clone( TrackProducers = ['hiGlobalPrimTracks', 'hiDetachedTripletStepTracks', ...
3,315
335
<filename>R/Rudimentary_adjective.json<gh_stars>100-1000 { "word": "Rudimentary", "definitions": [ "Involving or limited to basic principles.", "Relating to an immature, undeveloped, or basic form." ], "parts-of-speech": "Adjective" }
109
634
<reponame>billyfrost418/james-project /**************************************************************** * 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 copyr...
1,641
831
#include "interface.h" char func1(char c) { return 2+func2(c); }
30
1,079
/** * Copyright (C) 2016, Canonical Ltd. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * Author: <NAME> <...
2,522
1,247
VERSION = '1.1.6' default_app_config = 'jet_django.apps.JetDjangoConfig'
31
5,169
{ "name": "SynqObjC", "version": "0.4.0", "summary": "SynqObjC is an Objective-C SDK that lets you easily add SYNQ video functionality to your mobile app", "description": "This SDK contains what you need to make your app interact with the SYNQ video API. The SDK contains functionality for accessing the videos o...
629
1,738
<filename>dev/Gems/QtForPython/Editor/Scripts/az_qt_helpers.py """ All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or its licensors. For complete copyright and license terms please see the LICENSE at the root of this distribution (the "License"). All use of this software is governed by th...
946
936
/* * Copyright 2019, Yahoo Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package com.yahoo.elide.datastores.aggregation.metadata.enums; /** * Format of a value field, e.g. decimal for numbers */ public enum Format { NONE }
91
5,169
{ "name": "TIoTLinkKit_TPNS", "version": "1.0.1", "summary": "该仓库为方便个人仓库构建使用,如有其他需求还请从官网下载原SDK", "description": "在CI构建中,有些SDK没有提供供方便pod集成使用,在此仓库提供个聚合SDK以便更好的支持CI。", "homepage": "https://github.com/tencentyun/iot-thirdparty-ios", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "...
656
577
from ...utils.url_helpers import urljoin_keep_path BASE_URL = 'http://example.com/foo/' def test_urljoin_keep_path(): assert urljoin_keep_path(BASE_URL, '') == BASE_URL assert urljoin_keep_path('', BASE_URL) == BASE_URL assert urljoin_keep_path(BASE_URL, 'bar') == 'http://example.com/foo/bar' assert ...
151
1,511
<reponame>s4-2/scancode-toolkit /* * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2010 ST-Ericsson SA * Copyright (C) 2011 Tieto Poland * * Author: <NAME> <<EMAIL>>
70
348
{"nom":"Saint-Savinien","circ":"3ème circonscription","dpt":"Charente-Maritime","inscrits":1879,"abs":1032,"votants":847,"blancs":87,"nuls":39,"exp":721,"res":[{"nuance":"REM","nom":"<NAME>","voix":439},{"nuance":"LR","nom":"M. <NAME>","voix":282}]}
100
526
/* SPDX-License-Identifier: Apache 2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.viewservices.dino.api.properties; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotati...
962
687
package io.kestra.repository.memory; import io.micronaut.test.extensions.junit5.annotation.MicronautTest; import io.kestra.core.repositories.AbstractTemplateRepositoryTest; import javax.inject.Inject; @MicronautTest public class MemoryTemplateRepositoryTest extends AbstractTemplateRepositoryTest { @Inject M...
118
915
/* * (C) Copyright 2017 TheOtherP (<EMAIL>) * * 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...
596
407
<gh_stars>100-1000 #!/usr/bin/env python # encoding: utf-8 """ """ __author__ = 'adonis' class orm(object): _select = None _where = None _insert = None _inserts = None _update = None _table = None _joins = None _prefix = "" _db = None def __init__(self, table, prefix="", db=N...
3,678
190,993
/* 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 applicable law or a...
8,653
348
{"nom":"Ossun-ez-Angles","dpt":"Hautes-Pyrénées","inscrits":39,"abs":6,"votants":33,"blancs":4,"nuls":1,"exp":28,"res":[{"panneau":"1","voix":20},{"panneau":"2","voix":8}]}
78
475
<gh_stars>100-1000 #include "../../utils/test_utils.hpp" using namespace vrm::core; TEST_MAIN() { std::atomic<int> x{0}; ecst::thread_pool pool; pool.post([&x] { x = 100; }); while(x != 100) { ecst::this_thread::sleep_for(std::chrono::milliseconds(1)); } ...
181
2,110
<filename>history/migrations/0008_auto_20160416_1920.py # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('history', '0007_socialnetworkmention_sentiment_polarity'), ] operations = [ ...
304
3,102
<reponame>medismailben/llvm-project // RUN: %clang -target mipsel-unknown-linux -mnan=2008 -march=mips2 -emit-llvm -S %s -o - 2>%t | FileCheck -check-prefix=CHECK-NANLEGACY %s // RUN: FileCheck -check-prefix=CHECK-MIPS2 %s < %t // // RUN: %clang -target mips64el-unknown-linux -mnan=2008 -march=mips3 -emit-llvm -S %s -o...
1,210
6,034
<reponame>ssSlowDown/onemall<filename>moved/product/product-biz/src/main/java/cn/iocoder/mall/product/biz/convert/sku/ProductSpuConvert.java package cn.iocoder.mall.product.biz.convert.sku; import cn.iocoder.common.framework.util.StringUtil; import cn.iocoder.mall.product.biz.bo.product.*; import cn.iocoder.mall.produ...
2,808
852
<filename>Geometry/VeryForwardGeometryBuilder/src/module.cc /**************************************************************************** * * This is a part of TOTEM offline software. * Authors: * <NAME> (<EMAIL>) * ****************************************************************************/ #include "FWCore/Utilit...
180
2,342
#include "WindowsResourceService.h" namespace vl { namespace presentation { namespace windows { /*********************************************************************** WindowsCursor ***********************************************************************/ WindowsCursor::WindowsCursor(HCURSOR _handle) :h...
1,452
576
#!/usr/bin/env python # ========================================================================= # # Copyright NumFOCUS # # 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:/...
1,126
713
<reponame>t-gergely/infinispan package org.infinispan.remoting.transport.impl; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicLong; import java.util.function.Consumer; import org.infinispan.remoting.responses.Response; import org.infinispan.remoting.transport.Address; import o...
681
335
<reponame>Safal08/Hacktoberfest-1<filename>B/Bake_noun.json { "word": "Bake", "definitions": [ "A dish consisting of a mixture of ingredients cooked in an oven.", "A social gathering at which baked food of a specified kind is eaten." ], "parts-of-speech": "Noun" }
117
8,194
<filename>app/src/main/java/com/hippo/ehviewer/preference/SignInRequiredActivityPreference.java /* * Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
842
4,036
<filename>java/ql/test/library-tests/arrays/arrays/B.java package arrays; public class B { public void m(A a) { A[] aa = new A[] { a }; A[][] aaa = new A[][] { { a } }; A[][][] aaaa = new A[][][] { { { a } } }; } }
107
928
<filename>source/scripts/python/s2/depends/__init__.py #!/usr/bin/env python3 import s2
36
1,780
<filename>core/src/platform/Linux/GFontCacheLinux.cpp /** * Created by G-Canvas Open Source Team. * Copyright (c) 2017, Alibaba, Inc. All rights reserved. * * This source code is licensed under the Apache Licence 2.0. * For the full copyright and license information, please view * the LICENSE file in the root dir...
1,168
316
<gh_stars>100-1000 #ifndef SINGLE_BAND_IMAGE_POLICY_HXX #define SINGLE_BAND_IMAGE_POLICY_HXX #include "vigra/imagehierarchy.hxx" #include <unittest.hxx> template<class IMAGEPOLICY> // Bei der IMAGEPOLICY handelt es sich bis jetzt nur um GrayImage, spaeter soll SelectBandImage folgen cl...
1,196
14,668
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser; import static org.junit.Assert.assertEquals; import org.junit.Test; import org.junit.runner.RunWith; import org.rob...
1,278
5,169
{ "name": "PPAlertViewController", "version": "0.1.0", "summary": "An easy to use UIAlertController replacement", "description": "A modern implementation of a highly customizable alert view using UIStackViews", "homepage": "https://github.com/PhonePe/PPAlertViewController", "license": { "type": "MIT", ...
238
32,544
package com.baeldung.ecommerce.service; import com.baeldung.ecommerce.model.Product; import org.springframework.validation.annotation.Validated; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; @Validated public interface ProductService { @NotNull Iterable<Product> getAllPro...
146
301
<filename>src/main/java/com/pavelfatin/typometer/statistics/Range.java /* * Copyright 2017 <NAME>, https://pavelfatin.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...
841
937
<filename>cyclops-pure/src/main/java/cyclops/typeclasses/monad/Monad.java package cyclops.typeclasses.monad; import com.oath.cyclops.hkt.Higher; import cyclops.typeclasses.Pure; import cyclops.typeclasses.functor.Functor; import java.util.function.BiFunction; import java.util.function.BinaryOperator; import java.util...
767
466
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2011 EMC Corp. // // @filename: // CPhysicalStreamAgg.cpp // // @doc: // Implementation of stream aggregation operator //--------------------------------------------------------------------------- #in...
2,521
665
import board import busio import adafruit_ssd1306 from simpleio import map_range from analogio import AnalogIn from digitalio import DigitalInOut # Create the I2C bus i2c = busio.I2C(board.SCL, board.SDA) # Define display dimensions and I2C address WIDTH = 128 HEIGHT = 64 ADDR = 0x3d # Create the digital out used fo...
311
1,399
// // BOSetting+Private.h // Bohr // // Created by <NAME> on 4/6/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import "BOSetting.h" @interface BOSetting () @property (nonatomic, copy) void(^valueDidChangeBlock)(void); @end
94
892
{ "schema_version": "1.2.0", "id": "GHSA-5vgc-7m2q-792q", "modified": "2022-02-11T00:01:11Z", "published": "2022-02-08T00:00:31Z", "aliases": [ "CVE-2022-22833" ], "details": "An issue was discovered in Servisnet Tessa 0.0.2. An attacker can obtain sensitive information via a /js/app.js request.", "...
514
460
<filename>trunk/win/Source/BT_Pile.cpp // Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LI...
31,880
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...
18,512
907
<reponame>Izooack/Comp-225jbox2d /******************************************************************************* * Copyright (c) 2013, <NAME> All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * ...
1,109
330
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('rapidsms', '0001_initial'), ] operations = [ migrations.CreateModel( name='Message', fields=[ ...
456
2,759
<filename>src/yb/util/delayer.h // Copyright (c) YugaByte, 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 app...
407
590
#!/usr/bin/python # -*- coding: utf-8 -*- __author__ = '<NAME>' from emchat.utils.http_utils import http_get, http_post, file_upload, get_file_stream, http_put from emchat.utils.file_utils import write from emchat.utils.loggers import Logger class EMIMUsersService(object): logger = Logger.get_logger('EMChatIMU...
1,742
473
<gh_stars>100-1000 /* Copyright (c) 2009-2016, <NAME> All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #ifndef EL_HESS_SCHUR_SINGLE_SHIFT_SWEEP_HPP...
8,046
8,633
<reponame>concreted/prefect<filename>src/prefect/serialization/result.py from marshmallow import fields, post_load from typing import Any from prefect.engine import result, results from prefect.tasks.secrets import SecretBase from prefect.utilities.serialization import ( ObjectSchema, OneOfSchema, to_quali...
1,442
1,695
<filename>core/trino-spi/src/main/java/io/trino/spi/eventlistener/ColumnDetail.java /* * 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 *...
920
1,590
<reponame>libc16/azure-rest-api-specs { "parameters": { "subscriptionId": "mySubscriptionId", "resourceGroupName": "myResourceGroupName", "machineName": "myMachineName", "guestConfigurationAssignmentName": "SecureProtocol", "api-version": "2018-11-20" }, "responses": { "200": { "head...
770
361
/** * @file source.h * * Convenience header that includes all signal source-related headers. * * This file is part of the Aquila DSP library. * Aquila is free software, licensed under the MIT/X11 License. A copy of * the license is provided with the library in the LICENSE file. * * @package Aquila * @version ...
455
897
import java.util.*; public class Binary_search { //binary search algorithm explanation in its readme file in wiki section //this can performed recursively also //The average and worst case time complexity is O(log n) //The space complexity is O(1). static int binSearch(int[] a, int l, int h, int key) { while (l...
514
785
<gh_stars>100-1000 /* * Copyright © 2021 Apple Inc. and the ServiceTalk project 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...
2,089
305
<filename>aat/__init__.py from .common import AATException # noqa: F401 from .config import * # noqa: F401, F403 from .core import ( # noqa: F401 EventHandler, Instrument, ExchangeType, Data, Event, Order, Account, Position, Trade, OrderBook, ) from .engine import TradingEngin...
152
320
<reponame>grtamm/3RVX<gh_stars>100-1000 // Copyright (c) 2015, <NAME>. // Distributed under the BSD 2-Clause License (see LICENSE.txt for details) #pragma once #include "../Meter.h" class StaticImage : public Meter { public: StaticImage(std::wstring bitmapName, int x, int y); virtual void Draw(Gdiplus::Bitma...
150
3,263
<gh_stars>1000+ /* * Copyright 2019 Immutables Authors and Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
857
1,109
/******************************************************************************* * Copyright 2016 Intuit * <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.o...
996
892
{ "schema_version": "1.2.0", "id": "GHSA-p3cp-6rhm-5v8g", "modified": "2022-05-13T01:25:41Z", "published": "2022-05-13T01:25:41Z", "aliases": [ "CVE-2015-6152" ], "details": "Microsoft Internet Explorer 10 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruptio...
465
1,179
/* SPDX-License-Identifier: BSD-2-Clause */ /* * Copyright 2020 NXP */ #ifndef __IMX6_DCP_H__ #define __IMX6_DCP_H__ /* DCP base address */ #ifdef CFG_MX6ULL #define DCP_BASE 0x2280000 #endif #if defined(CFG_MX6SL) || defined(CFG_MX6SLL) #define DCP_BASE 0x20FC000 #endif /* DCP registers address offset */ #define ...
1,794
746
<reponame>xizi/mmdeploy # Copyright (c) OpenMMLab. All rights reserved. from mmdeploy.core import FUNCTION_REWRITER @FUNCTION_REWRITER.register_rewriter( 'mmdet3d.models.detectors.base.Base3DDetector.forward_test') def base3ddetector__forward_test(ctx, self, ...
498
460
<gh_stars>100-1000 #include "../../../src/xmlpatterns/type/qlocalnametest_p.h"
35
2,494
/* 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/. */ /* * pkix_validate.c * * Top level validateChain function * */ #include "pkix_validate.h" #include "pkix_pl_c...
28,683
471
<filename>examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/tests/controls/togglebuttontest.cpp /////////////////////////////////////////////////////////////////////////////// // Name: tests/controls/togglebuttontest.cpp // Purpose: wxToggleButton unit test // Author: <NAME> // Created: 2010...
973
310
{ "name": "<NAME>", "description": "Mac firewall software for apps.", "url": "https://www.obdev.at/products/littlesnitch/index.html" }
51
307
<gh_stars>100-1000 #version 120 varying vec3 TexCoord0; $ void main() { TexCoord0 = gl_MultiTexCoord0.xyz; gl_Position = gl_Vertex; } $ void main() { gl_FragData[0] = vec4(TexCoord0.xyz,0.0); }
101
3,428
{"id":"00701","group":"easy-ham-2","checksum":{"type":"MD5","value":"8b14364405ca52ffd1de36203f35eac2"},"text":"From <EMAIL> Wed Jul 24 02:47:25 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP...
1,072
778
<filename>applications/ConstitutiveModelsApplication/custom_models/plasticity_models/hardening_rules/simo_exponential_hardening_rule.hpp // // Project Name: KratosConstitutiveModelsApplication $ // Created by: $Author: JMCarbonell $ // Last modified by: $Co-Author: ...
2,114
872
package cn.zealon.readingcloud.book.vo; import lombok.Data; /** * 章节阅读VO * @author: zealon * @since: 2020/5/6 */ @Data public class BookChapterReadVO { private BookChapterVO current; private BookChapterVO pre; private BookChapterVO next; }
103
1,540
package test.github1417; import org.testng.Assert; import org.testng.annotations.BeforeClass; import org.testng.annotations.Parameters; import org.testng.annotations.Test; public class TestClassSample { private String browsername; @Parameters({"browsername"}) @BeforeClass public void beforeClass(String brows...
153
2,111
#!/usr/bin/env python # Example ROS node for publishing AirSim images. # AirSim Python API import airsim import rospy # ROS Image message from sensor_msgs.msg import Image def airpub(): pub_left = rospy.Publisher("/gi/simulation/left/image_raw", Image, queue_size=1) pub_right=rospy.Publishe...
1,072
746
<reponame>grimoire/mmdeploy<gh_stars>100-1000 # Copyright (c) OpenMMLab. All rights reserved. import argparse import cv2 import numpy as np from mmdeploy_python import Segmentor def parse_args(): parser = argparse.ArgumentParser( description='show how to use sdk python api') parser.add_argument( ...
582
337
package test2; import test.pack.Foo; public class J { Foo foo = new Foo(); }
33
892
<reponame>westonsteimel/advisory-database-github<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-35f3-jq7q-h55j", "modified": "2022-02-01T00:00:49Z", "published": "2022-01-25T00:00:47Z", "aliases": [ "CVE-2021-42168" ], "details": "Cross Site Scripting (XSS) in Sourcecodester Try My Recipe ...
416
3,227
<reponame>ffteja/cgal #include <CGAL/Simple_cartesian.h> #include <CGAL/Kernel/global_functions_3.h> #include <iostream> #include <utility> using K = CGAL::Simple_cartesian<double>; using Point_3 = K::Point_3; struct query { Point_3 p; double expected_angle; }; int main() { Point_3 a = {0, 0, 0}; Point_3 b = ...
429
1,617
<reponame>xymoc/BoAT-X-Framework #include "stdio.h" #include "stdlib.h" #include "string.h" #include "onemo_main.h" #include "boatiotsdk.h" #include "api_platone.h" osThreadId OC_Main_TaskHandle; osMutexDef( VIR_AT_Mutex ); osMutexId vir_at_mutex; #define PERSIST_WALLET_NAME "/nvm/platone.cfg" #define BOATDE...
4,997
352
<gh_stars>100-1000 import base64 import hashlib import os import re import requests import rsa class cloud189(object): def __init__(self, uname, upsw): self.RSA_KEY = """-----<KEY> """ self.b64map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" self.BI_RM = li...
4,518
1,042
<reponame>HugoPeters1024/reactphysics3d /******************************************************************************** * ReactPhysics3D physics library, http://www.reactphysics3d.com * * Copyright (c) 2010-2020 <NAME> * *******************************************...
10,286
372
/* * 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, software distributed under t...
1,337
3,372
<filename>aws-java-sdk-finspacedata/src/main/java/com/amazonaws/services/finspacedata/model/CreateChangesetRequest.java /* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance...
9,628
742
<filename>ros/pluginlib/include/pluginlib/class_desc.h /********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2008, <NAME>, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification...
1,131
713
<reponame>ihtiandr9/AMQP-CPP<filename>src/confirmframe.h /** * Class describing an AMQP confirm frame * * @author <NAME> <<EMAIL>> * @copyright 2017 Copernica BV */ /** * Set up namespace */ namespace AMQP { /** * Class implementation */ class ConfirmFrame : public MethodFrame { protected: /** ...
396
336
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mailer', '0003_auto_20170703_1535'), ] operations = [ migrations.AlterField( model_name='usermailer', name='default', field=models.BooleanField( ...
248
510
<gh_stars>100-1000 from os.path import abspath import tabledata from ...error import EmptyValueError from ._interface import AbstractBinaryTableWriter class SqliteTableWriter(AbstractBinaryTableWriter): """ A table writer class for `SQLite <https://www.sqlite.org/index.html>`__ database. .. py:method::...
1,285
2,670
<gh_stars>1000+ /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-----------------------------------------------...
711
372
<filename>clients/google-api-services-cloudbuild/v1/1.31.0/com/google/api/services/cloudbuild/v1/model/BuildStep.java /* * 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....
5,464
14,668
<gh_stars>1000+ #!/usr/bin/env python3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. '''Unit tests for grit.node.message''' from __future__ import print_function import os import sys import unittes...
5,363
3,269
<filename>C++/champagne-tower.cpp // Time: O(n^2) = O(1), since n is at most 99 // Space: O(n) = O(1) class Solution { public: double champagneTower(int poured, int query_row, int query_glass) { vector<double> result(1 + query_row); result[0] = poured; for (int i = 1; i <= query_row; ++i) ...
300
1,511
* @file daemon/opd_ibs_trans.c * AMD Instruction Based Sampling (IBS) translation. * * @remark Copyright 2008 - 2010 OProfile authors * @remark Read the file COPYING * * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * Copyright (c) 2008 Advanced Micro Devices, Inc. */
102
529
{ "en-US": "Placement of quotation marks in texts", "ru": "Расстановка кавычек правильного вида" }
68
1,057
<reponame>MuKnIO/ckb #include "ckb_syscalls.h" int current_cycles() { return syscall(2042, 0, 0, 0, 0, 0, 0); } int main() { int prev = current_cycles(); int curr; for (int i=0; i<4096; i++) { curr = current_cycles(); if (curr <= prev) { return -1; } prev = ...
191
348
{"nom":"Locoal-Mendon","circ":"2ème circonscription","dpt":"Morbihan","inscrits":2764,"abs":1318,"votants":1446,"blancs":37,"nuls":20,"exp":1389,"res":[{"nuance":"DIV","nom":"M. <NAME>","voix":380},{"nuance":"LR","nom":"<NAME>","voix":377},{"nuance":"FI","nom":"<NAME>","voix":131},{"nuance":"SOC","nom":"Mme <NAME>","vo...
311
1,060
/* * Copyright 2016 LinkedIn, 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...
1,451
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_BROWSER_CHROMEOS_PRINTING_TEST_CUPS_PRINT_JOB_MANAGER_H_ #define CHROME_BROWSER_CHROMEOS_PRINTING_TEST_CUPS_PRINT_JOB_MANAGER_H_ #include ...
605
335
<filename>U/Uplift_noun.json<gh_stars>100-1000 { "word": "Uplift", "definitions": [ "An act of uplifting something.", "An upward movement of part of the earth's surface.", "Support from a garment, especially for a woman's bust.", "A morally or spiritually elevating influence." ...
140