max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,332
{"atlas_mist_7": "MIST atlas scale 7", "atlas_mist_36": "MIST atlas scale 36", "atlas_mist_12": "MIST atlas scale 12", "atlas_yeo17": "Yeo 17 network atlas", "atlas_harvard": "Harvard-Oxford atlas", "atlas_yeo7": "Yeo 7 network atlas", "atlas_mist_20": "MIST atlas scale 20", "atlas_mist_64": "MIST atlas scale 64"}
128
1,752
<reponame>chonty/napalm1 import json from lxml import etree def test_build_payload(mock_pynxos_device): """ Payload format should be as follows: [ { 'id': 1, 'jsonrpc': '2.0', 'method': 'cli', 'params': {'cmd': 'show hostname', 'version': 1.0} ...
1,655
1,293
/* * Copyright (c) 2020 - Manifold Systems LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
3,784
677
package org.caffinitas.ohc.linked; import org.caffinitas.ohc.Eviction; import org.caffinitas.ohc.HashAlgorithm; import org.caffinitas.ohc.OHCache; import org.caffinitas.ohc.OHCacheStats; import org.testng.Assert; import org.testng.annotations.Test; import java.io.IOException; import static org.testng.Assert.assertFa...
2,599
2,542
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #pragma once namespace Loggin...
323
2,219
// 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. #ifndef QUICHE_QUIC_PLATFORM_API_QUIC_MEM_SLICE_STORAGE_H_ #define QUICHE_QUIC_PLATFORM_API_QUIC_MEM_SLICE_STORAGE_H_ #include "quic/platform/api/quic_ex...
585
357
<reponame>sgravrock/cedar #import <Foundation/Foundation.h> #import "CDRNullabilityCompat.h" #import "CDRFake.h" #import "CedarDouble.h" NS_ASSUME_NONNULL_BEGIN #ifdef __cplusplus @interface CDRClassFake : CDRFake @end id CDR_fake_for(BOOL require_explicit_stubs, Class klass, ...); #endif // __cplusplus NS_ASSUM...
141
988
/* * The contents of this file are subject to the Interbase Public * License Version 1.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.Inprise.com/IPL.html * * Software distributed under the License is distributed on an * ...
2,869
3,702
/* * 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 * distribu...
996
1,016
package com.thinkbiganalytics.spark.dataprofiler.testcases; /*- * #%L * thinkbig-spark-job-profiler-app * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 ...
4,243
496
<filename>apm-agent-plugins/apm-okhttp-plugin/src/test/java/co/elastic/apm/agent/okhttp/OkHttp3ClientInstrumentationTest.java /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * owne...
715
325
package com.box.l10n.mojito.aspect; import com.google.common.base.Stopwatch; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Pointcut; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * S...
438
14,668
<gh_stars>1000+ // 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. #ifndef REMOTING_HOST_WIN_EVALUATE_D3D_H_ #define REMOTING_HOST_WIN_EVALUATE_D3D_H_ #include <string> #include <vector> namespace remoti...
368
388
/* * Copyright 2019 Amazon.com, Inc. or 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,872
634
<filename>modules/base/core-api/src/main/java/consulo/extensions/LocalizeValueConverter.java /* * Copyright 2013-2020 consulo.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * htt...
378
318
<reponame>kangzai228/learning-power<filename>inside/Task/Mitmdump/Intercept/Weekly.py #!/usr/bin/env python3 # -*- coding:utf-8 -*- # @Author : lisztomania # @Date : 2021/2/6 # @Software : Pycharm # @Version : Python 3.8.5 # @File : Weekly.py # @Function : import base64 import json import re from random impo...
1,193
2,151
<gh_stars>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 ASH_STICKY_KEYS_STICKY_KEYS_OVERLAY_H_ #define ASH_STICKY_KEYS_STICKY_KEYS_OVERLAY_H_ #include <memory> #include "ash/ash_export...
695
1,396
/* * 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 u...
677
562
<reponame>rockandsalt/conan-center-index #include <opengv/math/roots.hpp> #include <vector> #include <iostream> int main() { std::vector<double> poly {1.0, -2.0, -5.0, 6.0}; std::vector<double> computed_roots = opengv::math::o3_roots(poly); std::vector<double> expected_roots {-2.0, 3.0, 1.0}; std::c...
378
1,968
<gh_stars>1000+ // // Copyright (c) 2002-2011 The ANGLE 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. // #ifndef CROSSCOMPILERGLSL_OUTPUTGLSLBASE_H_ #define CROSSCOMPILERGLSL_OUTPUTGLSLBASE_H_ #include <set> #include "com...
1,003
524
#include "stdafx.h" #include "../../corelib/collection_helper.h" #include "../utils/utils.h" #include "LoadPixmapFromDataTask.h" namespace Utils { LoadPixmapFromDataTask::LoadPixmapFromDataTask(core::istream *stream, const QSize& _maxSize) : Stream_(stream) , maxSize_(_maxSize) ...
494
1,408
<gh_stars>1000+ /* SPDX-License-Identifier: BSD-3-Clause * * Copyright (c) 2020, Linaro Limited and Contributors. All rights reserved. */ #include <libfdt.h> #include <bl31/ehf.h> #include <common/debug.h> #include <common/fdt_fixup.h> #include <common/fdt_wrappers.h> #include <lib/xlat_tables/xlat_tables_compat.h...
2,109
1,331
<filename>java/meterpreter/stdapi/src/main/java/com/metasploit/meterpreter/stdapi/stdapi_sys_config_getenv.java package com.metasploit.meterpreter.stdapi; import com.metasploit.meterpreter.Meterpreter; import com.metasploit.meterpreter.TLVPacket; import com.metasploit.meterpreter.TLVType; import com.metasploit.meterpr...
938
357
<filename>vmidentity/idm/server/src/main/java/com/vmware/identity/idm/server/provider/BaseLdapSchemaMapping.java /* * * Copyright (c) 2012-2015 VMware, 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...
6,682
834
#using <System.Data.dll> #using <System.Windows.Forms.dll> #using <System.dll> #using <System.Drawing.dll> using namespace System; using namespace System::Drawing; using namespace System::Collections; using namespace System::ComponentModel; using namespace System::Windows::Forms; using namespace System::Data; /// <su...
1,713
439
<reponame>stoLem/GyverLibs #include <GyverBME280.h> /* ============ Utilities ============ */ float pressureToAltitude(float pressure) { if(!pressure) return 0; // If the pressure module has been disabled return '0' pressure /= 100.0F; // Convert [Pa] to [hPa] return 44330.0 * (1.0 - pow(press...
3,597
1,273
package org.broadinstitute.hellbender.utils; import htsjdk.tribble.util.ParsingUtils; import org.broadinstitute.hellbender.GATKBaseTest; import org.testng.annotations.Test; import java.util.*; import java.util.stream.Collectors; /** * A class to test the speed of different string.split implementations. * This test...
5,709
9,402
<gh_stars>1000+ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // // File: CORDB-ASSEMBLY.H // #ifndef __MONO_DEBUGGER_CORDB_ASSEMBLY_H__ #define __MONO_DEBUGGER_CORDB_ASSEMBLY_H__ #include <cordb.h> class CLiteWeightStgdbRW; ...
1,947
356
<reponame>majk1/netbeans-mmd-plugin /* * Copyright 2015-2018 <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 re...
4,128
13,566
<reponame>Priya098098/appsmith package com.appsmith.server.repositories; import com.appsmith.server.domains.Config; import org.springframework.data.mongodb.core.ReactiveMongoOperations; import org.springframework.data.mongodb.core.convert.MongoConverter; import org.springframework.stereotype.Component; @Component pub...
192
455
/* * 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 ...
10,327
937
<reponame>zmyer/cyclops-react package com.oath.cyclops.internal.react.exceptions; public class SimpleReactProcessingException extends RuntimeException { private static final long serialVersionUID = 1L; public SimpleReactProcessingException() { super(); } public SimpleReactProcessingException...
314
368
<gh_stars>100-1000 /* Plugin-SDK (Grand Theft Auto 3) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #pragma once #include "PluginBase.h" class PLUGIN_API CDate { PLUGIN_NO_DEFAULT_CONSTRUCTION(CDat...
1,385
5,169
<reponame>ftapp/cocoapods { "name": "SMIconLabel", "version": "0.3.0", "summary": "UILabel with image placed on the left or right side", "description": "UILabel with possibility to place small icon on the left or on the right side.\nTake a look at preview image or build smaple app to see how it works.", "home...
243
764
{"symbol": "EGCC","address": "0xAf8A215e81FAea7C180CE22b72483525121813BD","overview":{"en": ""},"email": "<EMAIL>","website": "https://www.egcchain.com/","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/enginechainegcc","telegram": "https://t.me/joinchat/IEbn1knC_iMb2cX16Dut3A","github": ""}}
128
435
<gh_stars>100-1000 { "description": "As we move towards more customised experiences for our users, why do we\nstill insist of using the black boxes of male and female when asking\nusers about their gender? And why are we asking for it in the first\nplace?\n\nBetween 1 and 5 percent of the UK population identifies as ...
310
3,469
<filename>QiChaCha/echarts_parks.py from pyecharts.charts import Geo from pyecharts import options as opts from pyecharts.globals import ChartType, SymbolType import pandas as pd import csv import json csv_data = pd.read_csv("./csv/全国工业园区信息_addr.csv") length = len(csv_data) data = [] locations = [] for i in range(leng...
885
1,056
/* * 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 ...
563
678
<reponame>bzxy/cydia /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport */ #import <OfficeImport/OfficeImport-Structs.h> #import <OfficeImport/STSStgObject.h> __attribute__((visibility("hidden"))) @interface STStream : STSStgObje...
833
335
{ "word": "Haphazard", "definitions": [ "Lacking any obvious principle of organization." ], "parts-of-speech": "Adjective" }
62
309
{"provider_arguments":[],"resources":{"cloudinit_config":{"arguments":[{"word":"base64_encode","kind":"Bool(O)"},{"word":"gzip","kind":"Bool(O)"},{"word":"part","kind":"List(R)(B)","subblock":[{"word":"content","kind":"String(R)"},{"word":"content_type","kind":"String(O)"},{"word":"filename","kind":"String(O)"},{"word"...
877
22,688
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
736
794
/****************************************************************************** * Author: <NAME> * * Contact: <EMAIL> * * License: Copyright (c) 2013 <NAME>, ANU. All rights reserved. * * ...
2,278
2,813
<filename>src/main/java/org/jabref/logic/pdf/search/indexing/IndexingTaskManager.java package org.jabref.logic.pdf.search.indexing; import java.util.List; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import org.jabref.gui.util.BackgroundTask; import org.jabref.gui.util.DefaultTaskExecuto...
1,506
1,346
<filename>app/src/main/java/com/huanchengfly/tieba/post/components/spans/RoundBackgroundColorSpan.java package com.huanchengfly.tieba.post.components.spans; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.RectF; import android.text.TextPaint; impor...
961
384
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2019,2020,2021, by the GROMACS development team, led by * <NAME>, <NAME>, <NAME>, and <NAME>, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at http://www.gromacs.org. * * GR...
2,034
596
<gh_stars>100-1000 /* * Yet Another UserAgent Analyzer * Copyright (C) 2013-2021 <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 * * https://www.apache.org/licenses/LICENSE-2.0...
886
335
{ "word": "Oleaginously", "definitions": [ "In an oleaginous manner; obsequiously." ], "parts-of-speech": "Adverb" }
66
697
<gh_stars>100-1000 // Copyright (C) 2012-2019 The VPaint Developers. // See the COPYRIGHT file at the top-level directory of this distribution // and at https://github.com/dalboris/vpaint/blob/master/COPYRIGHT // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in c...
2,431
451
<gh_stars>100-1000 """ Script to load and save data using numpy. """ # Copyright (c) 2016 University of Edinburgh. import recipy import sys import numpy as np def run_numpy(in_file, out_file): """ Load data from in_file and save new data into out_file, using numpy. :param in_file: input file with c...
267
5,250
/* 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 * distribut...
481
530
package org.carlspring.strongbox.storage.metadata; import org.carlspring.strongbox.storage.metadata.maven.versions.MetadataVersion; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import org.apache.maven.artifact.repository.metadata.Plugin; import org.apache.maven.artifact.repository.me...
692
1,861
// 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. #include "Encode.h" #include <spectrum/core/SpectrumEnforce.h> #include <sstream> namespace facebook { namespace spectrum { namespace r...
673
697
<reponame>catberry/catberry-watcher { "name": "another", "logic": "./index.js", "template": "test1.html", "errorTemplate": "error.html", "additional" : "some" }
70
9,724
<filename>tests/other/test_asan_strncpy.c #include <string.h> int main() { char from[] = "x"; char to[4]; strncpy(to, from, sizeof(to)); return 0; }
69
852
#ifndef DataFormats_TrackerCommon_PixelEndcapName_H #define DataFormats_TrackerCommon_PixelEndcapName_H /** \class PixelEndcapName * Endcap Module name (as in PixelDatabase) for endcaps */ #include "DataFormats/SiPixelDetId/interface/PixelModuleName.h" #include "DataFormats/SiPixelDetId/interface/PXFDetId.h" #inclu...
699
456
<reponame>pafri/DJV // SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2004-2020 <NAME> // All rights reserved. #include <djvUI/DialogSystem.h> #include <djvUI/IconSystem.h> #include <djvUI/IDialog.h> #include <djvUI/Label.h> #include <djvUI/PushButton.h> #include <djvUI/RowLayout.h> #include <djvUI/TextBlock....
6,593
6,098
package water.rapids.ast.prims.mungers; import org.junit.After; import org.junit.BeforeClass; import org.junit.Test; import water.TestUtil; import water.fvec.Frame; import water.fvec.TestFrameBuilder; import water.fvec.Vec; import water.rapids.Rapids; import water.rapids.Val; import static org.junit.Assert.assertEqua...
494
2,686
/* * Copyright 2010 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 applica...
330
2,659
/* * Copyright 2021 4Paradigm * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
1,891
405
{ "version": 2, "projects": { "integration": "apps/integration", "integration-e2e": "apps/integration-e2e", "until-destroy": "libs/until-destroy", "until-destroy-migration": "libs/until-destroy-migration" } }
96
1,383
<filename>src/chrono_models/vehicle/uaz/UAZBUS_SAEToeBarLeafspringAxle.cpp // ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-s...
5,584
3,765
/** * BSD-style license; for more info see http://pmd.sourceforge.net/license.html */ package net.sourceforge.pmd.lang; import java.util.List; import net.sourceforge.pmd.Rule; import net.sourceforge.pmd.annotation.InternalApi; /** * Represents a version of a {@link Language}. Language instances provide * a list...
1,587
672
<reponame>vancexu/velox<filename>velox/core/tests/TestQueryConfig.cpp<gh_stars>100-1000 /* * 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...
622
350
/* * Copyright (C) 2011 Google 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 agree...
535
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.elastic.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator; import jav...
361
442
<gh_stars>100-1000 #This file is part of ElectricEye. #SPDX-License-Identifier: Apache-2.0 #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 t...
10,829
1,056
/* * 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 ...
1,200
1,269
package com.chiclaim.ipc.bean; import android.os.Parcel; import android.os.Parcelable; public class Message implements Parcelable { private String content; private boolean isSendSuccess; public String getContent() { return content; } public void setContent(String content) { this...
572
577
package org.fluentlenium.adapter.sharedwebdriver; /** * Stores and handles a {@link SharedWebDriver} instance for the whole JVM. * * @see org.fluentlenium.configuration.ConfigurationProperties.DriverLifecycle#JVM * @see SharedWebdriverSingletonImpl */ public class JvmDriver implements FluentLeniumDriver { pr...
322
892
{ "schema_version": "1.2.0", "id": "GHSA-4pjg-hm2r-rj25", "modified": "2022-05-02T03:17:56Z", "published": "2022-05-02T03:17:56Z", "aliases": [ "CVE-2009-0742" ], "details": "The username command in Cisco ACE Application Control Engine Module for Catalyst 6500 Switches and 7600 Routers and Cisco ACE 4...
361
1,738
/* * 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 the License, * or, if provided, by the license below or t...
588
777
// 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. #include "chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.h" #include <string> #include <utility> #include "base/location.h" #include "base...
1,360
352
<filename>src/tiny_http/http_factory.h<gh_stars>100-1000 /* *Author:GeneralSandman *Code:https://github.com/GeneralSandman/TinyWeb *E-mail:<EMAIL> *Web:www.dissigil.cn */ /*---XXX--- * **************************************** * */ #ifndef HTTP_FACTORY_H #define HTTP_FACTORY_H #include <tiny_base/log.h> #inc...
208
667
<reponame>lsqtzj/TSeer /** * Tencent is pleased to support the open source community by making Tseer available. * * Copyright (C) 2018 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use this file except * in compliance with the Li...
3,561
1,056
<reponame>timfel/netbeans /* * 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....
1,320
777
// 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. #include "components/browsing_data/core/browsing_data_utils.h" #include <string> #include "base/message_loop/message_loop.h" #include "base/strings/stri...
1,050
1,899
#pragma once #include "BGModel.h" namespace bgslibrary { namespace algorithms { namespace lb { namespace BGModelGaussParams { const double THRESHGAUSS = 2.5; // Threshold const double ALPHAGAUSS = 0.0001; // Learning rate const double NOISEGAUSS = 50.0; // Minimum varianc...
353
14,668
<reponame>zealoussnow/chromium // 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 <limits.h> #include <stddef.h> #include <stdint.h> #include <iostream> #include <limits> #include <map> #include ...
2,515
578
<reponame>499689317/lordofpomelo<filename>web-server/public/animation_json/1074.json {"LeftAttack":{"height":123,"className":"LeftAttack","width":125,"id":"1074","totalFrames":26},"LeftDefend":{"height":115,"className":"LeftDefend","width":59,"id":"1074","totalFrames":2},"LeftDie":{"height":196,"className":"LeftDie","w...
417
389
<gh_stars>100-1000 package com.devskiller.jfairy.producer.payment; public class IBAN { private final String accountNumber; private final String identificationNumber; private final String branchCode; private final String checkDigit; private final String accountType; private final String bankCode; private final ...
534
32,544
package com.baeldung.service.locator; /** * Created by Gebruiker on 4/20/2018. */ public class InitialContext { public Object lookup(String serviceName) { if (serviceName.equalsIgnoreCase("EmailService")) { return new EmailService(); } else if (serviceName.equalsIgnoreCase("SMSServi...
166
937
package cyclops.typeclasses; import com.oath.cyclops.hkt.DataWitness.option; import cyclops.control.Option; import cyclops.data.Seq; import cyclops.function.Lambda; import cyclops.instances.control.OptionInstances; import cyclops.instances.data.SeqInstances; import org.junit.Test; import java.util.concurrent.atomic.A...
3,738
372
<gh_stars>100-1000 /* * 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 ...
2,744
3,897
<filename>targets/TARGET_Silicon_Labs/TARGET_SL_RAIL/efr32-rf-driver/rail/rail.h /**************************************************************************//** * @file rail.h * @brief The main header file for the RAIL library. It describes the external * APIs available to a RAIL user * @copyright Copyright ...
40,464
378
<filename>container/openejb-core/src/test/java/org/apache/openejb/assembler/classic/ApplicationResourceLifecycleTest.java /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding c...
984
332
<filename>spring-xd-tuple/src/main/java/org/springframework/xd/tuple/package-info.java /** * Base package for tuple classes. */ package org.springframework.xd.tuple;
57
966
# -*- coding: utf-8 -*- """Request/response schemas for ``gp_hyper_opt`` endpoints.""" import colander from moe.optimal_learning.python.constant import DEFAULT_MAX_NUM_THREADS, MAX_ALLOWED_NUM_THREADS, LIKELIHOOD_TYPES, LOG_MARGINAL_LIKELIHOOD from moe.views.schemas import base_schemas class GpHyperOptRequest(base_s...
3,372
2,042
<reponame>oguzturker8sdfep/imranvisualpath1<gh_stars>1000+ /* Copyright 2017 yangchong211(github.com/yangchong211) 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/LIC...
14,093
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Buzançais","circ":"1ère circonscription","dpt":"Indre","inscrits":3561,"abs":1973,"votants":1588,"blancs":100,"nuls":49,"exp":1439,"res":[{"nuance":"REM","nom":"<NAME>","voix":955},{"nuance":"FN","nom":"<NAME>","voix":484}]}
120
777
<gh_stars>100-1000 // Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_H_ #define IOS_CHROME_BROWSER_UI_ACTIVITY_SERVICES_SHARE_TO_DATA_H_ #imp...
385
5,788
<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...
492
427
<filename>SymbolExtractorAndRenamer/lldb/include/lldb/Core/Log.h<gh_stars>100-1000 //===-- Log.h ---------------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICEN...
2,141
2,921
{ "name": "wRipple", "website": "https://wripple.net", "description": "Do more something with your Ripple", "explorer": "https://bscscan.com/token/<KEY>", "symbol": "wXRP", "type": "BEP20", "decimals": 18, "status": "active", "id": "0xbbC9Fa4B395FeE68465C2Cd4a88cdE267a34ed2a" }
153
2,232
/* Copyright (c) 2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: <NAME> */ #include <string> #include <iostream> #include "util/exception.h" #include "util/bitap_fuzzy_search.h" namespace lean { bitap_fuzzy_search::bitap_fuzzy_search(std::st...
1,077
6,034
<gh_stars>1000+ package cn.iocoder.mall.managementweb.controller.pay; import cn.iocoder.common.framework.vo.CommonResult; import cn.iocoder.common.framework.vo.PageResult; import cn.iocoder.mall.managementweb.controller.pay.vo.transaction.PayTransactionPageReqVO; import cn.iocoder.mall.managementweb.controller.pay.vo....
538
560
<reponame>isayapin/cracking-the-coding-interview /* Chapter 01 - Problem 05 - One Away - CTCI 6th Edition page 91 Problem Statement: There are three types of edits that can be performed on strings: insert a character, remove a character, or replace a character. Given two strings, write a function to check if they are ...
1,117
488
<reponame>ouankou/rose float foo(int f, float a, float b) { float c; #pragma aitool fp_plus(1) fp_multiply(1) switch(f) { case 1: c = a+b; c = c*b; break; case 2: c = a-b; break; default: break; } return c; }
168
19,438
<filename>AK/Platform.h<gh_stars>1000+ /* * Copyright (c) 2018-2020, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #ifdef __i386__ # define AK_ARCH_I386 1 #endif #ifdef __x86_64__ # define AK_ARCH_X86_64 1 #endif #ifdef __aarch64__ # define AK_ARCH_AARCH64 1 #endif #if def...
1,135
879
package org.zstack.network.l2.vxlan.vxlanNetworkPool; import org.springframework.beans.factory.annotation.Autowired; import org.zstack.core.Platform; import org.zstack.core.db.DatabaseFacade; import org.zstack.core.db.Q; import org.zstack.core.errorcode.ErrorFacade; import org.zstack.header.errorcode.OperationFailureE...
985