max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
3,103
<reponame>fairhopeweb/warehouse # 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, sof...
713
1,517
/* * Copyright 2015, Yahoo Inc. * Copyrights licensed under the Apache 2.0 License. * See the accompanying LICENSE file for terms. */ package com.yahoo.squidb.processor.writers; import com.yahoo.aptutils.utils.AptUtils; import com.yahoo.aptutils.writer.expressions.Expressions; import com.yahoo.squidb.processor.Typ...
862
884
<reponame>slyoldfox/blaze-persistence /* * Copyright 2014 - 2021 Blazebit. * * 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 * * Unl...
1,281
511
//****************************************************************** // // Copyright 2016 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance...
6,062
1,835
<gh_stars>1000+ import difflib import logging import os import sys import discord import discord_components import pyimgur import config_discordbot as cfg # Logging logger = logging.getLogger("discord") logging.basicConfig(level=logging.INFO) # DEBUG/INFO/WARNING/ERROR/CRITICAL handler = logging.StreamHandler(sys.s...
1,356
631
<gh_stars>100-1000 package com.open.androidtvwidget.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; /** * 一些网络常用的接口.<br> * 记得要添加权限哈.<br> * <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> * * @author hailongqiu * */ public...
379
2,354
/** * 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,340
388
<filename>DeleteKeyBeep/src/java/example/MainPanel.java // -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.awt.event.ActionEvent; import java.util.Objects; import javax.swing.*; import javax.swing.text.AbstractDocument; import javax.swing....
2,121
1,403
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function import numpy as np import tensorflow as tf from niftynet.layer.loss_classification_multi import LossFunction, variability from tests.niftynet_testcase import NiftyNetTestCase class VariabilityTests(NiftyNetTestCase): def test_variabil...
1,925
1,939
<gh_stars>1000+ /* * Copyright (C) 2019 e Foundation * * 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...
516
310
<reponame>dreeves/usesthis { "name": "Casiotone MT-100", "description": "A 49 key keyboard.", "url": "https://en.wikipedia.org/wiki/Casio_MT-100" }
63
407
/* * Copyright 1999-2018 Alibaba Group Holding 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 applica...
536
655
from discovery import googlesearch from extractors import * import urllib import os import downloader import processor import sys import getopt import warnings import htmlExport warnings.filterwarnings("ignore") # To prevent errors from hachoir deprecated functions, need to fix. print "\n*****************************...
4,703
4,054
<gh_stars>1000+ /* * Copyright (c) 2019 BestSolution.at and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * *...
211
324
<reponame>tormath1/jclouds /* * 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 ...
7,419
354
<filename>external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingTraceRaysTests.cpp /*------------------------------------------------------------------------ * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2020 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 ...
12,913
30,023
"""Diagnostics support for the Mazda integration.""" from __future__ import annotations from typing import Any from homeassistant.components.diagnostics.util import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.const import CONF_EMAIL, CONF_PASSWORD from homeassistant.core ...
661
832
<gh_stars>100-1000 package com.litesuits.http.request; import com.litesuits.http.parser.DataParser; import com.litesuits.http.parser.impl.JsonParser; import com.litesuits.http.request.param.HttpParamModel; import com.litesuits.http.request.param.NonHttpParam; import java.lang.reflect.ParameterizedType; import java.la...
488
376
#pragma once #include <Chip/Unknown/SiliconLabs/SIM3U1x6_SVD/SARADC_0.hpp> #include <Chip/Unknown/SiliconLabs/SIM3U1x6_SVD/SARADC_1.hpp> #include <Chip/Unknown/SiliconLabs/SIM3U1x6_SVD/AES_0.hpp> #include <Chip/Unknown/SiliconLabs/SIM3U1x6_SVD/CRC_0.hpp> #include <Chip/Unknown/SiliconLabs/SIM3U1x6_SVD/CAPSENSE_0.hpp> ...
1,678
32,544
package com.baeldung.classgraph; @TestAnnotation public class ClassWithAnnotation { }
27
1,801
<filename>async_detector/Queue.h #pragma once #include <queue> #include <deque> #include <list> #include <vector> #include <algorithm> #include <mutex> #include <condition_variable> #include <atomic> #define SHOW_QUE_LOG 0 #if SHOW_QUE_LOG /// /// \brief currTime /// \return /// inline std::string Cu...
3,712
2,107
#!/usr/bin/env python3 import sys import json import base64 import struct buf = sys.stdin.readlines() json = json.loads(" ".join(buf)) histogram = base64.b64decode(json["histogram"]) bucket_shift = json["bucket_shift"] tsc_rate = json["tsc_rate"] print("Latency histogram") print("====================================...
569
1,738
<filename>dev/Code/Framework/AzCore/AzCore/IO/Streamer/Statistics.cpp /* * 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...
1,970
3,897
/***************************************************************************//** * \file cy_sysclk.h * \version 3.20 * * Provides an API declaration of the sysclk driver. * ******************************************************************************** * \copyright * Copyright 2016-2021 Cypress Semiconductor Corporati...
60,838
322
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2020-2021, University of Duisburg-Essen, University of Edinburgh, INRIA // Copyright note valid unless otherwise stated in individual files. // All rights reserved. ///////////////////////////////...
2,104
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iWorkImport.framework/iWorkImport */ #import <iWorkImport/GQDWPTextList.h> @class GQDSStyle; __attribute__((visibility("hidden"))) @interface GQDWPSpan : GQDWPTextList { @private GQDSStyle *mCharStyle; // 8 = 0x8 ...
155
1,144
package de.metas.dataentry; import static de.metas.util.Check.assumeGreaterThanZero; import javax.annotation.Nullable; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import de.metas.util.lang.RepoIdAware; import lombok.Value; /* * #%L * de.metas.adempiere....
638
8,747
/* * EAP-PEAP common routines * Copyright (c) 2008-2011, <NAME> <<EMAIL>> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #ifdef EAP_PEAP #include "utils/common.h" #include "crypto/sha1.h" #include "eap_peer/eap_peap_common....
942
1,220
<filename>lib/countries/cache/locales/ms.json {"AW":"Aruba","AF":"Afghanistan","AO":"Angola","AI":"Anguilla","AX":"Kepulauan Åland","AL":"Albania","AD":"Andorra","AE":"Emiriah Arab Bersatu","AR":"Argentina","AM":"Armenia","AS":"Samoa Amerika","AQ":"Antartika","TF":"French Southern Territories","AG":"Antigua dan Barbuda...
1,708
924
<gh_stars>100-1000 /* * This file is generated by jOOQ. */ package de.vorb.npmstat.persistence.jooq.routines; import de.vorb.npmstat.persistence.jooq.Public; import javax.annotation.Generated; import org.jooq.Parameter; import org.jooq.impl.AbstractRoutine; /** * This class is generated by jOOQ. */ @Generated(...
998
415
<filename>cli/src/pcluster/models/imagebuilder.py # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance # with the License. A copy of the License is located at # # http://aws.amazon.com...
15,561
4,071
/* Copyright 2018 Alibaba Group. 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 agreed to ...
2,161
5,169
{ "name": "Swiiift", "version": "0.1.0", "summary": "A IIIF library for Swift", "description": "A IIIF library for Swift.", "homepage": "https://github.com/mejackreed/Swiiift", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "<NAME>": "<EMAIL>" }, "source": { "git": "ht...
316
1,567
#include "tiny_rpc/tiny_client.h" #include "tiny_rpc/tiny_rpc.h" #include "utils/memory.h" namespace certain { void TinyChannel::CallMethod(const google::protobuf::MethodDescriptor* method, google::protobuf::RpcController* base_controller, const google::proto...
595
1,821
include <linux/socket.h>
9
27,296
import sys,os,re nw_version_h = os.path.join(os.path.dirname(__file__), '..', 'src', 'nw_version.h') f = open(nw_version_h) for line in f: if re.match('#define NW_VERSION_IS_RELEASE', line): release = int(line.split()[2]) #print release if re.match('[ ]*NW_STRINGIFY\(NW_PATCH_VERSION\)[ ]', line): ...
156
6,304
/* * Copyright 2019 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/dawn/GrDawnRingBuffer.h" #include "src/gpu/dawn/GrDawnGpu.h" #include "src/gpu/dawn/GrDawnUtil.h" namespace { const int kDefaultSize = 64 * 1024; } Gr...
382
1,444
<reponame>FateRevoked/mage<filename>Mage/src/main/java/mage/game/permanent/token/PorgToken.java package mage.game.permanent.token; import mage.MageInt; import mage.abilities.keyword.MonstrosityAbility; import mage.constants.CardType; import mage.constants.SubType; import java.util.Collections; /** * * @author Ni...
383
364
package com.jslsolucoes.nginx.admin.agent.model.response; public class NginxCommandLineInterfaceResponse implements NginxResponse { private String output; private Boolean success; public NginxCommandLineInterfaceResponse() { } public NginxCommandLineInterfaceResponse(String output, Boolean success)...
224
778
<filename>tuplex/test/core/VariableTest.cc //--------------------------------------------------------------------------------------------------------------------// // // // ...
13,610
862
<gh_stars>100-1000 #pragma once #if CPPAD_CG_SYSTEM_WIN #include <windows.h> #endif #include "cuda_model.hpp" #include "cuda_library_processor.hpp" namespace tds { template <typename Scalar> class CudaLibrary { protected: using ModelInfoFunctionPtr = void (*)(char const *const **names, int *count); void *lib_ha...
1,205
32,544
<reponame>DBatOWL/tutorials /** * Spring Data JPA repositories. */ package com.baeldung.jhipster.gateway.repository;
46
6,931
""" Tests for CFA simulation smoothing Author: <NAME> License: BSD-3 """ import os import numpy as np from numpy.testing import assert_allclose import pandas as pd from scipy.linalg import cho_solve_banded from statsmodels import datasets from statsmodels.tsa.statespace import (sarimax, structural, dynamic_factor, ...
3,140
347
package org.ovirt.engine.ui.uicommonweb.models.vms; import java.util.ArrayList; import java.util.List; public class SpiceMenu { private List<SpiceMenuItem> items; public List<SpiceMenuItem> getItems() { if (items == null) { items = new ArrayList<>(); } return items; }...
1,416
5,766
<reponame>YKYou/poco // // Parser.h // // Copyright (c) 2020, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #ifndef ActiveRecordCompiler_Parser_INCLUDED #define ActiveRecordCompiler_Parser_INCLUDED #include "Types.h" #include "Poco/SAX/DefaultHandler.h...
632
2,360
<filename>var/spack/repos/builtin/packages/r-xnomial/package.py # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) # See the Spack documentation for more information on packa...
319
839
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
679
9,182
<filename>Fw/Cfg/ConfigCheck.cpp /** * \file * \author <NAME> * \brief Configuration checks for ISF configuration macros * * \copyright * Copyright 2009-2016, by the California Institute of Technology. * ALL RIGHTS RESERVED. United States Government Sponsorship * acknowledged. * */ #include <FpConfig.hpp> #...
446
315
<filename>inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/utils/FileUtil.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 copyright ow...
1,092
852
/* * See header file for a description of this class. * * \author <NAME> - INFN Torino */ #include "DTOccupancyClusterBuilder.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "TCanvas.h" #include "TH2F.h" #include <algorithm> #include <sstream> #include <iostream> using namespace std; us...
2,643
338
__all__ = ['vol', 'vol_fold'] import os import numpy as np from tempfile import mktemp import scipy.misc import time from tempfile import mktemp import numpy as np import scipy.misc from .. import core from .. import utils from ..core import ants_image as iio from ..core import ants_image_io as iio2 _view_map = {...
12,506
678
<reponame>bzxy/cydia<filename>iOSOpenDev/frameworks/DataDetectorsUI.framework/Headers/DDCallAction.h /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/DataDetectorsUI.framework/DataDetectorsUI */ #import <DataDetectorsUI/DDTelephoneNumberAction.h> __attribute__((v...
163
530
{ "manufacturer": "Climax Technology, Ltd.", "manufacturerId": "0x018e", "label": "SD-16ZW", "description": "Smoke Detector", "devices": [ { "productType": "0x0003", "productId": "0x0004", "zwaveAllianceId": 1621 } ], "firmwareVersion": { "min": "0.0", "max": "255.255" }, "associations": { "...
712
357
<reponame>lifetime403/coinapi-sdk import org.junit.Assert; import org.junit.Test; import java.io.IOException; import java.util.concurrent.atomic.AtomicReference; public class VolumeTest extends CoinAPISDKTest { @Test public void getVolumeMessages() throws IOException, InterruptedException { AtomicRe...
290
379
<filename>src/qft.h #ifndef QFTASM_RAMSTDIN_BUF_STARTPOSITION #define QFTASM_RAMSTDIN_BUF_STARTPOSITION 290 #endif #ifndef QFTASM_STACK_SIZE #define QFTASM_STACK_SIZE 233 #endif #define QFTASM_RAM_SIZE 1024 #define QFTASM_STDOUT 2 #define NULL 0 #define EOF -1 #define isEOF(x) (x == EOF) #define isNotEOF(x) ...
895
2,151
<filename>chrome/test/base/testing_browser_process_platform_part.h // Copyright (c) 2013 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_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_ #define CHROME_TE...
294
604
/* * Serposcope - SEO rank checker https://serposcope.serphacker.com/ * * Copyright (c) 2016 SERP Hacker * @author <NAME> <<EMAIL>> * @license https://opensource.org/licenses/MIT MIT License */ package serposcope.controllers.admin; import com.google.common.base.Optional; import com.google.inject.Inject; import...
2,462
7,137
<gh_stars>1000+ package io.onedev.server.web.page.project.blob.render.folder; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.apache.wicket.Component; import org.apache.wicket.ajax.AbstractDefaultAjaxB...
4,336
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,002
721
package crazypants.enderio.base.recipe.lookup; import javax.annotation.Nonnull; import com.enderio.core.common.util.NNList; public interface IRecipeNode<REC, LOB, LID> { @Nonnull NNList<REC> getRecipes(@Nonnull LOB key); }
90
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. package org.chromium.chromecast.base; /** * Interface for Observable state. * * Observables can have some data associated with them, which is provided...
3,436
2,210
#ifndef CMARK_VERSION_H #define CMARK_VERSION_H #define CMARK_VERSION ((0 << 24) | (28 << 16) | (3 << 8) | 11) #define CMARK_VERSION_STRING "0.28.3.gfm.11" #define CMARK_GFM_VERSION 11 #endif
85
782
<reponame>YunLemon/BoofCV<filename>main/boofcv-recognition/src/main/java/boofcv/factory/tracker/FactoryTrackerObjectQuad.java<gh_stars>100-1000 /* * Copyright (c) 2021, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License...
2,310
2,406
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <cstddef> #include <vector> namespace ngraph { namespace builder { namespace subgraph { class Transpose { public: Transpose(); Transpose(const std::vector<size_t>& values); bool empty() const noe...
164
679
<reponame>Grosskopf/openoffice<filename>main/cui/source/inc/showcols.hxx<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 a...
634
14,668
// 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. #include "base/process/internal_aix.h" #include <sys/procfs.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <unistd.h> #inclu...
1,702
1,738
<gh_stars>1000+ /* * 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 li...
639
912
# Copyright 2017 The Bazel 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 ...
1,618
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.messaging.eventhubs; import com.azure.core.amqp.exception.AmqpException; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; import com.azure.core.annotation.Servi...
5,279
2,528
<reponame>gregko/tray<filename>library/src/androidTest/java/net/grandcentrix/tray/core/TrayLogTest.java package net.grandcentrix.tray.core; import junit.framework.TestCase; /** * Created by pascalwelsch on 9/24/15. */ public class TrayLogTest extends TestCase { public void testConstructor() throws Exception { ...
632
386
<gh_stars>100-1000 ########################################################################## # # Copyright (c) 2008, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: #...
961
567
/* (c) Copyright 2021 Xilinx, 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 ...
469
1,117
<gh_stars>1000+ package com.pgmmers.radar.model; import java.util.Date; import javax.persistence.*; @Table(name = "engine_rule_history") public class RuleHistoryPO { /** * 主键 */ @Id @Column(name = "ID") @GeneratedValue(generator = "JDBC") private Long id; /** * 模型ID */ ...
2,240
3,055
/* Fontname: -FreeType-Logisoso-Medium-R-Normal--45-450-72-72-P-55-ISO10646-1 Copyright: Created by <NAME> with FontForge 2.0 (http://fontforge.sf.net) - Brussels - 2009 Glyphs: 96/527 BBX Build Mode: 0 */ const uint8_t u8g2_font_logisoso32_tr[3096] U8G2_FONT_SECTION("u8g2_font_logisoso32_tr") = "`\0\4\4\5\6...
5,416
674
// // KeyboardMachine.cpp // Clock Signal // // Created by <NAME> on 10/10/2017. // Copyright 2017 <NAME>. All rights reserved. // #include "KeyboardMachine.hpp" using namespace MachineTypes; MachineTypes::MappedKeyboardMachine::MappedKeyboardMachine(const std::set<Inputs::Keyboard::Key> &essential_modifiers) : ...
360
1,099
/* * This source file is part of RmlUi, the HTML/CSS Interface Middleware * * For the latest information, see http://github.com/mikke89/RmlUi * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * Copyright (c) 2019 The RmlUi Team, and contributors * * Permission is hereby granted, free of charge, to...
828
350
'''Script used to train agents.''' import argparse import os import tonic def train( header, agent, environment, trainer, before_training, after_training, parallel, sequential, seed, name ): '''Trains an agent on an environment.''' # Capture the arguments to save them, e.g. to play with the trained...
898
549
/*************************************************************************** * Copyright (c) <NAME>, <NAME>, <NAME> and * * <NAME> * * Copyright (c) QuantStack * * Copyright (c) <NAME> ...
715
2,633
/* * Copyright (C) <NAME> * Copyright (C) NGINX, Inc. */ #include <nxt_main.h> #include "nxt_tests.h" nxt_int_t nxt_mp_test(nxt_thread_t *thr, nxt_uint_t runs, nxt_uint_t nblocks, size_t max_size) { void **blocks; size_t total; uint32_t value, size; nxt_mp_t *mp; ...
1,108
302
# system from __future__ import print_function # python lib import math from copy import deepcopy import numpy as np # tf_render import tensorflow as tf # self from rotation import RotationMtxBatch, ExtMtxBatch from camera import IntrinsicMtxBatch, CameraMtxBatch from camera_render import CameraRender """ param num...
4,067
1,875
<reponame>wiltonlazary/teavm<gh_stars>1000+ /* * Copyright 2017 <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 * * ...
1,861
1,858
<gh_stars>1000+ fave_beer = {"Julian": "White Rabbit Dark Ale", "Bob": "Some sort of light beer I assume", "Mike": "Oregano Beer", "Cornelius": "Ekim Afterbattle Pale Ale", "Dan": "Coopers"}
114
332
package io.github.quickmsg.core.http.model; import lombok.Data; /** * @author luxurong */ @Data public class LoginDo { private String username; private String password; }
63
2,144
import os import sys import math from neuralprophet.df_utils import join_dataframes import numpy as np import pandas as pd import torch from collections import OrderedDict from neuralprophet import hdays as hdays_part2 import holidays as pyholidays import warnings import logging log = logging.getLogger("NP.utils") d...
7,262
381
<gh_stars>100-1000 package org.apache.helix.rest.server.json.cluster; /* * 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 ...
590
456
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2019-2020 <NAME> // All rights reserved. #include <djvMathTest/RangeTest.h> #include <djvMath/Range.h> using namespace djv::Core; using namespace djv::Math; namespace djv { namespace MathTest { RangeTest::RangeTest( const System::...
1,943
573
/* This file is part of the mp project. * Copyright (c) 2017 MerryMage * SPDX-License-Identifier: 0BSD */ #pragma once namespace mp { namespace detail { template<class... L> struct prepend_impl; template<template<class...> class LT, class... E1s, class... E2s> struct prepend_impl<LT<E1s...>, E2s...> { using...
189
512
<filename>app/src/main/java/org/xbmc/kore/ui/sections/audio/MusicVideoInfoFragment.java /* * Copyright 2015 Synced Synapse. 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 Lice...
6,569
1,229
<gh_stars>1000+ import os import tensorflow as tf from smart_compose.utils import parsing_utils from smart_compose.utils.parsing_utils import InputFtrType from smart_compose.utils.testing.test_case import TestCase class TestParsingUtils(TestCase): """Unit test for parsing_utils.py""" atol = 1e-3 def te...
752
9,367
// // MIKMIDITransmittable.h // MIKMIDI // // Created by <NAME> on 2/7/18. // Copyright © 2018 Mixed In Key. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @protocol MIKMIDITransmittable <NSObject> @optional /* Some MIDI commands, e.g. 14-bit MIKMIDIControlChangeCommands, nee...
195
365
#pragma once // CGhostWnd class CGhostWnd : public CWnd { DECLARE_DYNAMIC(CGhostWnd) public: class CRLoginView *m_pView; class CRLoginDoc *m_pDoc; int m_Timer; CGhostWnd(); virtual ~CGhostWnd(); protected: DECLARE_MESSAGE_MAP() virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual v...
229
1,756
<filename>example/mac/macExample/macExample/MCTMsgListViewController.h // // MCTMsgListViewController.h // testUI // // Created by <NAME> on 1/20/13. // Copyright (c) 2013 MailCore. All rights reserved. // #import <Cocoa/Cocoa.h> #include <MailCore/MailCore.h> @class MCTMsgViewController; @interface MCTMsgListVi...
311
347
<reponame>flyou/MousePaint package com.cjj.mousepaint.events; import com.cjj.MaterialRefreshLayout; /** * Created by Administrator on 2015/11/6. */ public class RefreshEvent { public String category ; public MaterialRefreshLayout mMaterialRefreshLayout; public RefreshEvent(String category) { ...
186
2,568
{ "Passwarden": { "domain": "keepsolid.com", "url": "https://www.keepsolid.com/passwarden/", "tfa": [ "totp", "email" ], "documentation": "https://www.keepsolid.com/passwarden/security/tfa", "keywords": [ "identity" ] } }
134
344
package com.clickhouse.client.config; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.security.KeyFactory; import java.security.KeyManagementException; import java.security.KeyStore; import java.security.KeyStoreException; import java...
3,148
634
<reponame>arubdesu/zentral<gh_stars>100-1000 default_app_config = "zentral.contrib.monolith.apps.ZentralMonolithAppConfig"
50
4,339
<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...
21,248
11,750
<filename>env/lib/python3.8/site-packages/plotly/validators/layout/scene/camera/__init__.py import sys if sys.version_info < (3, 7): from ._up import UpValidator from ._projection import ProjectionValidator from ._eye import EyeValidator from ._center import CenterValidator else: from _plotly_utils...
266
839
/* * Copyright 2013 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 agreed to in writ...
651
2,921
{ "name": "MoonStar", "website": "https://moonstartoken.com/", "description": "MOONSTAR is a stealth launched, community driven, DeFi Token programmed to reward holders through its frictionless yield and liquidity generation protocol.", "explorer": "https://bscscan.com/token/0xce5814efff15d53efd8025b9f2...
411