max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
535
/* * 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,550
1,096
<reponame>mostafa-yasen/evillimiter import os import subprocess from evillimiter.console.io import IO DEVNULL = open(os.devnull, 'w') def execute(command, root=True): return subprocess.call('sudo ' + command if root else command, shell=True) def execute_suppressed(command, root=True): return subprocess.cal...
311
1,743
<filename>tests/resources/apiritif/test_nfc.py # coding=utf-8 import logging import random import string import sys import unittest from time import time, sleep import apiritif log = logging.getLogger('apiritif.http') log.addHandler(logging.StreamHandler(sys.stdout)) log.setLevel(logging.DEBUG) class TestSc1(unittest...
1,051
3,799
<reponame>chris-horner/androidx /* * Copyright 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 ...
3,398
488
<filename>tests/roseTests/astInterfaceTests/typeEquivalenceTests/inputFiles/types_016.cpp<gh_stars>100-1000 //0 // array types equal const int v = 10; int a[v]; int b[10];
65
636
package cn.org.atool.fluent.mybatis.segment; import cn.org.atool.fluent.mybatis.base.crud.IQuery; import cn.org.atool.fluent.mybatis.base.model.ISqlOp; import cn.org.atool.fluent.mybatis.functions.IAggregate; import cn.org.atool.fluent.mybatis.segment.fragment.BracketFrag; import cn.org.atool.fluent.mybatis.segment.fr...
955
6,989
<reponame>henrytien/tcmalloc // Copyright 2019 The TCMalloc 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
719
617
<filename>oceanus-all/oceanus-core/src/main/java/com/bj58/oceanus/core/timetracker/Tracker.java<gh_stars>100-1000 /* * Copyright Beijing 58 Information Technology Co.,Ltd. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distri...
1,345
326
from typing import Dict from typing import List import numpy as np import pandas as pd from ruptures.base import BaseEstimator from ruptures.costs import CostLinear from etna.datasets import TSDataset def _prepare_signal(series: pd.Series, model: BaseEstimator) -> np.ndarray: """Prepare series for change point ...
789
14,668
{ "name": "chrome.runtime.sendMessage test", "version": "0.1", "manifest_version": 3, "description": "end-to-end browser test for chrome.runtime.sendMessage API", "background": { "service_worker": "worker.js" } }
83
3,269
<reponame>Akhil-Kashyap/LeetCode-Solutions // Time: O(logn) // Space: O(1) class Solution { public: int getIndex(ArrayReader &reader) { int left = 0, right = reader.length() - 1; while (left < right) { const auto& mid = left + (right - left) / 2; if (reader.compareSub(left,...
269
320
package com.jme3.gde.textureeditor.filters; import java.awt.image.BufferedImage; public interface BufferedImageFilter { BufferedImage filter(BufferedImage source, Object... args); }
60
1,602
/* * Copyright (c) 2014-2019, Cisco Systems, Inc. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this ...
8,997
596
<reponame>RomeroLaura/Axelrod<gh_stars>100-1000 import inspect import re from typing import Callable, Set, Text, Type, Union from axelrod.player import Player def method_makes_use_of(method: Callable) -> Set[Text]: result = set() method_code = inspect.getsource(method) attr_string = r".match_attributes\[...
569
2,112
<reponame>laohubuzaijia/fbthrift<gh_stars>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 at * * http://www.apache.org/lice...
1,188
571
<reponame>ufora/ufora /*************************************************************************** Copyright 2015 Ufora 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:...
449
852
/******************************************************************************* * * * <NAME> * * Warsaw University 2004 * * ...
3,291
3,181
<reponame>Doomsdayrs/android_packages_apps_GmsCore /* * SPDX-FileCopyrightText: 2020, microG Project Team * SPDX-License-Identifier: Apache-2.0 */ package com.google.firebase.auth.api.internal; import org.microg.safeparcel.AutoSafeParcelable; public class ProviderUserInfo extends AutoSafeParcelable { @Field(2...
259
711
<filename>examples/http/PlatformHttpsServer.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 ownership. * The ASF licenses this file to You under the Apache ...
689
1,993
/* * Copyright 2013-2019 The OpenZipkin 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 a...
488
373
<reponame>vusec/revanc<gh_stars>100-1000 /* 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/. */ #pragma once #include <limits.h> #include <stdint.h> #include <stdio.h>...
458
778
// KRATOS___ // // ) ) // // ___ ___ // // ____ //___) ) // ) ) // // / / // // / / // ((____/ / ((____ ((___/ / MECHANICS // // License: geo_mechanics_application/license.txt // // Main authors: <NAME> // #if !defined(KRATOS_GEO_U_PW_SMALL_STRAIN_AXISYMMETRIC_EL...
2,026
5,169
<gh_stars>1000+ { "name": "ContentProviders", "summary": "A collection of useful content providers used for accessing and modifying iOS applications data.", "version": "1.2.0", "platforms": { "ios": "9.0" }, "swift_version": "4.0", "cocoapods_version": ">= 1.4.0", "static_framework": true, "homepa...
337
514
/**************************************************************************** ** ** Copyright (c) 2008-2020 <NAME>. All rights reserved. ** $Id: //main/2019/qhull/src/libqhullcpp/QhullFacet.h#4 $$Change: 2963 $ ** $DateTime: 2020/06/03 19:31:01 $$Author: bbarber $ ** ****************************************************...
3,542
2,939
#ifndef LUMEN_EIR_CONVERSION_BUILTIN_OP_CONVERSION #define LUMEN_EIR_CONVERSION_BUILTIN_OP_CONVERSION #include "lumen/EIR/Conversion/ConversionSupport.h" namespace lumen { namespace eir { class IncrementReductionsOpConversion; class IsTypeOpConversion; class IsTupleOpConversion; class IsFunctionOpConversion; class Pr...
352
3,200
<reponame>GuoSuiming/mindspore /** * Copyright 2020 Huawei Technologies Co., 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 * * Un...
1,107
6,989
<filename>contrib/tools/python/src/Lib/plat-irix5/ERRNO.py # Generated by h2py from /usr/include/errno.h from warnings import warnpy3k warnpy3k("the ERRNO module has been removed in Python 3.0", stacklevel=2) del warnpy3k # Included from sys/errno.h __KBASE = 1000 __IRIXBASE = 1000 EPERM = 1 ENOENT = 2 ESRCH = 3 EINTR...
1,119
646
{ Identifier: "tutorial-navigation" Name: "Orbital navigation tutorial" Description: "Learn how to navigate between orbital sectors" Ended Description: "" Category: TUTORIAL Resettable: true Triggers: [ { Type: QUEST_SUCCESFUL } ] Steps: [ { Identifier: "travel" Step Description: "Start travel...
586
882
<filename>vendor/pyexcel/plugins/sources/__init__.py """ pyexcel.plugins.sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A list of built-in sources :copyright: (c) 2015-2017 by Onni Software Ltd. :license: New BSD License """ from pyexcel.internal import PARSER, RENDERER from pyexcel.plugins import PyexcelP...
1,376
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-qv83-77rj-635j", "modified": "2022-05-13T01:19:10Z", "published": "2022-05-13T01:19:10Z", "aliases": [ "CVE-2018-15471" ], "details": "An issue was discovered in xenvif_set_hash_mapping in drivers/net/xen-netback/hash.c in the Linux kernel th...
898
338
#ifndef HADOUKEN_VERSION_HPP #define HADOUKEN_VERSION_HPP #include <string> namespace hadouken { struct version { static std::string GIT_BRANCH(); static std::string GIT_COMMIT_HASH(); static std::string VERSION(); }; } #endif
135
6,449
<filename>motan-extension/filter-extension/filter-opentracing/src/test/java/com/weibo/api/motan/filter/opentracing/zipkin/demo/HelloServer.java /* * Copyright 2009-2016 Weibo, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
407
488
<gh_stars>100-1000 template < class charT > struct basic_string { basic_string (const charT * s) {} }; typedef basic_string <char> string; struct Geometry { //ERROR(1): Geometry (std::string geometry_); void f(); }; void Geometry::f() { const char *geometry; // this line used to cause a segfault; now it...
141
7,158
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef _OPENCV_SLIC_HPP_ #define _OPENCV_SLIC_HPP_ #include "../or_utils/or_types.hpp" #include "opencv2/core.hpp" //------...
5,937
640
<filename>libsrc/_DEVELOPMENT/EXAMPLES/sms/SpaceHawks/screens/_screen_basic.c #include <stdbool.h> //for true/false #include <stddef.h> //for null #include <arch/sms/SMSlib.h> #include "../s8/joy.h" #include "../s8/vdp.h" #include "../resource.h" #include "screenManager.h" #define FONT_TILE 0 static bool paused = fal...
604
316
#pragma once #include "../probe.h" #include "../tga.h" void TestMaterials(Scene* scene, Camera* camera, Options* options) { // add primitives const int rowSize = 6; float r = 0.5f; float y = r; float dx = r*2.2f; float x = (rowSize-1)*r*2.2f*0.5f; for (int i=0; i < rowSize; ++i) { Primi...
4,416
14,425
<reponame>bzhaoopenstack/hadoop /** * 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, Ver...
1,447
428
package org.loon.framework.javase.game.action.sprite.j2me; import java.util.Vector; import org.loon.framework.javase.game.core.graphics.device.LGraphics; /** * Copyright 2008 - 2009 * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the Lice...
939
371
#!/usr/bin/env python3 # encoding: utf-8 from typing import Dict, List import numpy as np import torch as th import torch.distributions as td from rls.algorithms.base.sarl_on_policy import SarlOnPolicy from rls.common.data import Data from rls.common.decorator import iton from rls.nn.models import (Actor...
10,370
361
<reponame>khotyn/sofa-registry /* * 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...
659
393
<filename>OtrosLogViewer-app/src/main/java/pl/otros/logview/exceptionshandler/errrorreport/ExceptionERDC.java package pl.otros.logview.exceptionshandler.errrorreport; import com.google.common.base.Throwables; import java.util.HashMap; import java.util.Map; public class ExceptionERDC implements ErrorReportDa...
414
5,169
{ "name": "GSKStretchyHeaderView", "version": "0.12.2", "summary": "A generic, easy to use stretchy header view for UITableView and UICollectionView", "description": "GSKStretchyHeaderView allows you to add a stretchy header view (like Twitter's or Spotify's) to any existing UITableView and UICollectionView. Th...
434
7,409
<reponame>FarazPatankar/posthog<filename>posthog/migrations/0114_fix_team_event_names.py # Generated by Django 3.0.11 on 2021-01-12 19:18 from django.db import migrations def fix_team_event_names(apps, schema_editor): Team = apps.get_model("posthog", "Team") for team in Team.objects.all(): old_event_...
377
1,285
<filename>src/main/java/net/minestom/server/entity/metadata/animal/tameable/ParrotMeta.java package net.minestom.server.entity.metadata.animal.tameable; import net.minestom.server.entity.Entity; import net.minestom.server.entity.Metadata; import org.jetbrains.annotations.NotNull; public class ParrotMeta extends Tamea...
389
369
// Copyright (c) 2017-2022, Mudit<NAME>.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "EditQuotesWindow.hpp" #include <application-settings/windows/WindowNames.hpp> #include <OptionSetting.hpp> namespace gui { EditQuotesWindow::EditQuotesWindow(app::Appli...
902
338
<filename>ezyfox-server-core/src/main/java/com/tvd12/ezyfoxserver/controller/EzyMessageController.java package com.tvd12.ezyfoxserver.controller; import com.tvd12.ezyfox.util.EzyEntityBuilders; public class EzyMessageController extends EzyEntityBuilders { }
90
423
{ "culture": "cs-CZ", "translations": { "Choose file": "Vyberte soubor", "Choose files": "Vyberte soubory" } }
65
1,172
// Copyright (C) 2012 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 t...
4,959
445
///////////////////////////////////////////////////////////////////////// // $Id: soundwin.cc,v 1.22 2008/08/24 17:28:42 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. // // MandrakeSoft S.A. // 43, rue d'Aboukir // 75002 Pa...
6,007
419
#include "WorldSystem_AIManager.h" #include "Game/Core/AI/Components/Component_AISpawn.h" #include "Game/Core/AI/Components/Component_AI.h" #include "Engine/Core/Entity/Entity.h" #include "Engine/Core/Entity/EntityWorldUpdateContext.h" #include "Engine/Core/Entity/EntityMap.h" #include "System/TypeSystem/TypeRegistry.h...
938
1,217
<reponame>473867143/Prometheus<filename>Modules/common/include/message_utils.h /*************************************************************************************************************************** * message_utils.h * * Author: Jario * * Update Time: 2020.4.29 *****************************************************...
565
429
/* * Copyright (c) 2009-2017, <NAME>. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * 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:/...
955
1,515
<reponame>zyl409214686/Qigsaw<filename>qigsaw-android/playcorelibrary/src/main/java/com/google/android/play/core/remote/UnbindServiceTask.java<gh_stars>1000+ package com.google.android.play.core.remote; final class UnbindServiceTask extends RemoteTask { private final RemoteManager mRemoteManager; UnbindServi...
295
4,020
package me.coley.recaf.ui.controls.text.selection; import java.util.Map; /** * Wrapper for selected switch instruction. * * @author Matt */ public class SwitchSelection { public final Map<String, String> mappings; public final String dflt; /** * @param mappings * Map of destinations and their key values...
167
777
<reponame>google-ar/chromium<filename>chrome/android/junit/src/org/chromium/chrome/browser/ChromeBackupAgentTest.java // 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;...
6,426
611
"""Keras layer types for padding ops.""" import tensorflow as tf from tensorflow_gnn.graph import padding_ops from tensorflow_gnn.graph import preprocessing_common @tf.keras.utils.register_keras_serializable(package="GNN") class PadToTotalSizes(tf.keras.layers.Layer): """Applies tfgnn.pad_to_total_sizes() to a Gr...
663
583
<filename>resources/sublimetext/flower/env.py<gh_stars>100-1000 import os from collections import ChainMap from sublime import expand_variables import flower # ----------------------------------------------- # ENV # ----------------------------------------------- def expandStr(value): """Expand ${name}s and $NA...
516
323
package com.li.springbootasync.test; import com.li.springbootasync.task.Task; import lombok.SneakyThrows; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest;...
995
737
<reponame>etnrlz/rtbkit #define BOOST_TEST_MAIN #define BOOST_TEST_DYN_LINK #include <string> #include <boost/test/unit_test.hpp> #include "soa/service/http_header.h" using namespace std; /* Ensure that long long/int64 header content-length are supported */ BOOST_AUTO_TEST_CASE(test_http_header_long_long) { Data...
1,756
621
<reponame>haohaoxiao/Deep-Reinforcement-Learning-Hands-On-Second-Edition from ._env import CubeEnv, get, names from . import cube3x3 from . import cube2x2 __all__ = ('CubeEnv', 'get', 'names')
73
2,151
<reponame>zipated/src // 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. #ifndef COMPONENTS_VIZ_COMMON_GL_HELPER_H_ #define COMPONENTS_VIZ_COMMON_GL_HELPER_H_ #include <memory> #include "base/atomico...
9,309
5,169
{ "name": "NSString_stripHtml", "version": "0.1.0", "summary": "A NSString category that adds a `stripHtml` method to all NSStrings.", "description": " A podified version of Leigh McCulloch's NSString_stripHtml category.\n", "homepage": "http://www.codeilove.com/2011/09/ios-dev-strip-ht...
260
16,461
// Copyright 2019-present 650 Industries. All rights reserved. #import <ABI42_0_0UMCore/ABI42_0_0UMModuleRegistry.h> #import <ABI42_0_0UMCore/ABI42_0_0UMModuleRegistryConsumer.h> #import <UIKit/UIKit.h> @interface ABI42_0_0EXAdsAdMob : ABI42_0_0UMExportedModule <ABI42_0_0UMModuleRegistryConsumer> @end
130
1,511
<gh_stars>1000+ * * Basic Linux Telephony Interface * * (c) Copyright 1999-2001 Quicknet Technologies, Inc. * * This program is free software; you can redistribute it and/or
57
1,909
package org.knowm.xchange.ftx.service; import java.nio.charset.StandardCharsets; import javax.crypto.Mac; import javax.ws.rs.HeaderParam; import org.knowm.xchange.exceptions.ExchangeException; import org.knowm.xchange.service.BaseParamsDigest; import org.knowm.xchange.utils.DigestUtils; import si.mazi.rescu.RestInvoca...
600
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Boinville-en-Woëvre","dpt":"Meuse","inscrits":60,"abs":16,"votants":44,"blancs":1,"nuls":0,"exp":43,"res":[{"panneau":"2","voix":22},{"panneau":"1","voix":21}]}
100
480
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * 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,211
852
<reponame>ckamtsikis/cmssw #include "FWCore/PluginManager/interface/ModuleDef.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "SimG4Core/Watcher/interface/SimWatcherFactory.h" #include "SimG4Core/Physics/interface/PhysicsListFactory.h" #include "SimG4Core/CustomPhysics/interface/CustomPhysics.h" #incl...
202
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. /** * \class storage::VisitorMessageSession */ #pragma once #include <vespa/messagebus/result.h> namespace documentapi { class DocumentMessage; } namespace storage { struct VisitorMessageSession { type...
188
5,852
// // ScrollZoomViewController.h // JXCategoryView // // Created by jiaxin on 2019/2/14. // Copyright © 2019 jiaxin. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface ScrollZoomViewController : UIViewController @end NS_ASSUME_NONNULL_END
110
1,085
<reponame>weltam/dremio-oss /* * Copyright (C) 2017-2019 Dremio Corporation * * 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...
710
310
<filename>integration-test-java/src/test/java/org/seasar/doma/it/domain/WeightTest.java /* * Copyright 2004-2010 the Seasar Foundation and the Others. * * 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 th...
674
1,602
<gh_stars>1000+ //#include "../../hadoop-1.1.2/src/c++/libhdfs/hdfs.h" //#include "hdfs.h" #include <stdlib.h> #include <stdio.h> #include <hdfs.h> #include <assert.h> #define IS_NULL_TRUE 1 #define IS_NULL_FALSE 0 //typedef struct __hdfsString { // int length; // const char* buffer; //} _hdfsString, *hdfsString; ty...
590
589
#!/usr/bin/env python """ * ******************************************************* * Copyright (c) VMware, Inc. 2020. All Rights Reserved. * SPDX-License-Identifier: MIT * ******************************************************* * * DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT * WARRANTIES OR COND...
413
777
// Copyright 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 CC_DEBUG_UNITTEST_ONLY_BENCHMARK_IMPL_H_ #define CC_DEBUG_UNITTEST_ONLY_BENCHMARK_IMPL_H_ #include "base/memory/weak_ptr.h" #include "cc/debug/mi...
308
32,544
<reponame>DBatOWL/tutorials package com.baeldung.mockito; import com.baeldung.mockito.repository.UserRepository; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.junit.MockitoJUnitRunner; @RunWith(MockitoJUnitRunne...
454
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. #ifndef SparseHeapBitmap_h #define SparseHeapBitmap_h #include "platform/heap/BlinkGC.h" #include "platform/heap/HeapPage.h" #include "wtf/Alignment.h" #...
1,740
407
<filename>packages/benchmarks/merge-styles/package.json { "name": "table-merge-styles-table", "version": "1.0.0", "private": true, "scripts": { "start": "devServer --package merge-styles", "build": "devBuild --package merge-styles" }, "license": "MIT", "dependencies": { "benchmarks-utils": "1....
248
7,737
extern zend_class_entry *phalcon_mvc_model_transaction_exception_ce; ZEPHIR_INIT_CLASS(Phalcon_Mvc_Model_Transaction_Exception);
52
3,084
<gh_stars>1000+ /* Copyright (c) Microsoft Corporation All Rights Reserved Contoso voice activation driver definitions Hardware manufacturers define identifiers and data structures specific to their detection technology to pass voice models, keyword data, speaker data, or any other data rel...
825
376
<reponame>gogo2464/NazaraEngine // Copyright (C) 2020 <NAME> // This file is part of the "Nazara Engine - Vulkan Renderer" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/VulkanRenderer/VulkanUploadPool.hpp> #include <Nazara/VulkanRenderer/Debug.hpp> namespace Nz { inli...
189
841
/* * Copyright 2021 Red Hat, Inc. and/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 app...
1,025
325
""" This package contains implementations of initialization methods for matrix factorization. """ from .nndsvd import * from .random import * from .fixed import * from .random_c import * from .random_vcol import * methods = {"random": Random, "fixed": Fixed, "nndsvd": Nndsvd, ...
170
521
<reponame>Fimbure/icebox-1 /* xf86DDC.h * * This file contains all information to interpret a standard EDIC block * transmitted by a display device via DDC (Display Data Channel). So far * there is no information to deal with optional EDID blocks. * DDC is a Trademark of VESA (Video Electronics Standard Assoc...
580
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. /** * This conformance test class has been created in order to run the same tests * on multiple implementations of the persistence SPI. * * To run conformance tests on a given implementation, just add a little w...
2,567
421
<filename>samples/snippets/cpp/VS_Snippets_CLR_Classic/classic Debug.Listeners Example/CPP/source.cpp #using <System.dll> using namespace System; using namespace System::Diagnostics; int main( void ) { //<Snippet1> // Create a listener that outputs to the console screen // and add it to the debu...
198
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-5fq8-p5p9-5g3g", "modified": "2022-04-10T00:01:13Z", "published": "2022-04-02T00:00:16Z", "aliases": [ "CVE-2021-35103" ], "details": "Possible out of bound write due to improper validation of number of timer val...
467
528
/****************************************************************************** Copyright 2019-2020 <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/LICENS...
1,413
577
<reponame>sgycup/aparapi /** * Copyright (c) 2016 - 2018 Syncleus, 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 ...
2,760
452
/*------------------------------------------------------------------------- * * pg_replication_origin_d.h * Macro definitions for pg_replication_origin * * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * NOTES *...
250
66,985
<gh_stars>1000+ /* * Copyright 2012-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unle...
709
1,587
/** * */ package io.pratik.dynamodbspring.models; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey; import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTable; /** * @author pratikdas * */ @DynamoDBTable(table...
361
32,544
<filename>spring-cloud/spring-cloud-bootstrap/customer-service/src/main/java/com/baeldung/customerservice/CustomerService.java package com.baeldung.customerservice; import com.baeldung.orderservice.client.OrderClient; import com.baeldung.orderservice.client.OrderDTO; import com.baeldung.orderservice.client.OrderRespon...
654
1,401
<filename>v1/code/java/example/src/main/java/jvmgo/book/ch08/MultianewarrayDemo.java package jvmgo.book.ch08; public class MultianewarrayDemo { public static void main(String[] args) { new MultianewarrayDemo().test(); } public void test() { int[][][] x = new int[3][4][5]; } }
136
2,479
<filename>tools/third_party/websockets/example/unix_server.py #!/usr/bin/env python # WS server example listening on a Unix socket import asyncio import os.path import websockets async def hello(websocket, path): name = await websocket.recv() print(f"< {name}") greeting = f"Hello {name}!" await web...
220
318
<filename>src/main/resources/data/techreborn/recipes/chemical_reactor/synthetic_redstone_crystal.json { "type": "techreborn:chemical_reactor", "power": 50, "time": 1200, "ingredients": [ { "item": "minecraft:redstone", "count": 32 }, { "item": "minecraft:diamond" } ], "results": [ { "item": ...
167
351
/** * > Author: UncP * > Github: www.github.com/UncP/Mushroom * > License: BSD-3 * > Time: 2016-11-20 12:37:41 **/ #include <cassert> #include <chrono> #include <fcntl.h> #include <unistd.h> #include "../src/blink/slice.hpp" #include "../src/blink/db.hpp" #include "../src/blink/task.hpp"...
1,096
1,088
# Copyright 2021 Alibaba Group Holding Limited. 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 ...
2,101
1,056
<filename>php/php.atoum/src/org/netbeans/modules/php/atoum/run/TapParser.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 ownership. The ASF licenses this...
4,459
656
#define LIBRG_IMPL #include "librg.h" #if !defined(LIBRG_LIBRARY_NOMAIN) && !defined(LIBRG_EMSCRIPTEN) int main() {return 0;} #endif
59