max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,160
from pyglet.media import instrumentation as ins def test_no_unknown_state_fields_in_mp_events(): all_fields = ins.MediaPlayerStateIterator.fields.keys() ok = True for evname in ins.mp_events: if evname == "version": continue for name in ins.mp_events[evname]["update_names"]: ...
627
324
<filename>scriptbuilder/src/main/java/org/jclouds/scriptbuilder/statements/ruby/InstallRubyGems.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. *...
1,790
381
/* * Copyright 2014 OpenMarket Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
605
433
package com.wuxiaolong.wewin.ui.juzimi; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.os.Build; import android.support.v4.app.ActivityCompat; import android.support.v4.app.ActivityOptionsCompat; import android...
2,374
324
<gh_stars>100-1000 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "...
726
18,396
<reponame>vanga-top/mediasoup /* * ekt.h * * interface to Encrypted Key Transport for SRTP * * <NAME> * Cisco Systems, Inc. */ /* * * Copyright (c) 2001-2017 Cisco Systems, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provi...
2,653
8,054
#ifndef EDITORMARKDOWNVIEWERADAPTER_H #define EDITORMARKDOWNVIEWERADAPTER_H #include "markdownvieweradapter.h" namespace vnotex { class Buffer; class EditorMarkdownViewerAdapter : public MarkdownViewerAdapter { Q_OBJECT public: EditorMarkdownViewerAdapter(Buffer *p_buffer, QObject *p_...
203
892
{ "schema_version": "1.2.0", "id": "GHSA-cr8c-972v-rmp3", "modified": "2022-03-29T00:01:39Z", "published": "2022-03-17T00:00:24Z", "aliases": [ "CVE-2022-0959" ], "details": "When run in server mode, pgAdmin 4 allows users to store files on the server under individual storage directories. Files such a...
499
30,023
{ "domain": "geocaching", "name": "Geocaching", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/geocaching", "requirements": ["geocachingapi==0.2.1"], "dependencies": ["application_credentials"], "codeowners": ["@Sholofly", "@reinder83"], "iot_class": "cloud_polling" }
120
480
<reponame>raakasf/Cpp17-STL-Cookbook #include <iostream> #include <iomanip> #include <random> #include <map> #include <string> #include <algorithm> using namespace std; template <typename T> void print_distro(T distro, size_t samples) { default_random_engine e; map<int, size_t> m; for (size_t i {0};...
1,326
361
<gh_stars>100-1000 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "...
1,037
728
/** * Copyright (c) 2011, University of Konstanz, Distributed Systems Group * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyrigh...
3,438
679
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
1,378
480
<filename>polardbx-calcite/src/main/java/org/apache/calcite/sql/SqlAlterTableExpireLocalPartition.java package org.apache.calcite.sql; import org.apache.calcite.sql.parser.SqlParserPos; import org.apache.calcite.sql.util.SqlString; import java.util.List; /** * see com/alibaba/polardbx/druid/sql/dialect/mysql/parser...
617
981
/******************************************************************* * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * *******************************************************************/ #ifndef __wrappedxineramaUNDEFS_H_ #define __wrappedxineramaUNDEFS_H_ #endif // __wrappedxineramaUNDEFS_H_
82
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. // ------------------------------------------------------------ #define NDP4_AUTO_VERSION_ROLL...
13,517
839
<gh_stars>100-1000 /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the ...
889
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/DataDetectorsUI.framework/DataDetectorsUI */ #import <DataDetectorsUI/EKEventEditViewDelegate.h> #import <DataDetectorsUI/XXUnknownSuperclass.h> #import <DataDetectorsUI/DataDetectorsUI-Structs.h> @class UILabel, UI...
401
763
package org.batfish.representation.arista; import com.google.common.collect.ImmutableSet; import java.io.Serializable; import java.util.Set; import javax.annotation.Nonnull; import javax.annotation.ParametersAreNonnullByDefault; import org.batfish.datamodel.LineAction; import org.batfish.datamodel.bgp.community.Standa...
260
1,091
<filename>apps/dhcprelay/app/src/main/java/org/onosproject/dhcprelay/store/DhcpFpmPrefixStore.java /* * Copyright 2017-present Open Networking 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...
503
1,077
#import <Foundation/Foundation.h> @interface QSRankCell : NSCell @property CGFloat score; @property NSInteger order; @end
45
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Mornant","circ":"11ème circonscription","dpt":"Rhône","inscrits":4479,"abs":2159,"votants":2320,"blancs":135,"nuls":22,"exp":2163,"res":[{"nuance":"REM","nom":"<NAME>","voix":1143},{"nuance":"LR","nom":"<NAME>","voix":1020}]}
114
303
<reponame>henlo-birb/lovepotion #pragma once #include "objects/random/randomgenerator.h" #include "common/lmath.h" #include "common/module.h" #include "common/vector.h" #include "noise1234/noise1234.h" #include "noise1234/simplexnoise1234.h" #include <list> namespace love { float GammaToLinear(float c); f...
1,628
4,038
<gh_stars>1000+ /* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 <NAME> <<EMAIL>> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Sof...
16,949
328
<reponame>junka007/springBoot-demos<gh_stars>100-1000 package com.ctg.test.api; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ImportResource; @SpringBootApplication @ImportResource(locations= {"class...
176
2,151
<reponame>mxzeng/gestures<gh_stars>1000+ // Copyright (c) 2014 The Chromium OS 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 GESTURES_COMPILER_SPECIFIC_H_ #define GESTURES_COMPILER_SPECIFIC_H_ // Compiler detection. #if de...
359
606
<reponame>H07000223/FlycoBanner_Master package com.flyco.bannersamples.utils; import android.support.v4.view.ViewPager; import com.flyco.banner.transform.DepthTransformer; import com.flyco.banner.transform.FadeSlideTransformer; import com.flyco.banner.transform.FlowTransformer; import com.flyco.banner.transform.Rotat...
1,339
3,459
// // Copyright (c) 2004 <NAME> // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from // the use of this software. // // Permission is granted to anyone to use this software for any purpose, // including commercial a...
1,598
348
{"nom":"Novella","circ":"2ème circonscription","dpt":"Haute-Corse","inscrits":109,"abs":48,"votants":61,"blancs":3,"nuls":3,"exp":55,"res":[{"nuance":"REM","nom":"<NAME>","voix":29},{"nuance":"REG","nom":"<NAME>","voix":26}]}
91
2,707
<reponame>ronaldocan/jetlinks-community package org.jetlinks.community.network.tcp.parser.strateies; import io.vertx.core.buffer.Buffer; import org.jetlinks.community.ValueObject; import org.jetlinks.community.network.tcp.parser.PayloadParser; import org.jetlinks.core.Values; import org.junit.Assert; import org.junit....
758
1,350
<reponame>Manny27nyc/azure-sdk-for-java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.mediaservices.models; import com.azure.core.annotation.Fluent; import com.azure.core.uti...
579
353
#pragma once #include <c10/core/DeviceType.h> #include <c10/core/DispatchKey.h> #include <c10/util/Exception.h> namespace c10 { /** * QEngine is an enum that is used to select the engine to run quantized ops. * Keep this enum in sync with get_qengine_id() in * torch/backends/quantized/__init__.py */ ...
415
575
<reponame>yxlao/webrtc-cpp-sample<filename>webrtc/include/third_party/blink/renderer/core/layout/ng/ng_outline_type.h // 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. #ifndef THIRD_PARTY_BLINK_RENDERER_C...
231
1,513
<gh_stars>1000+ /* *Copyright (c) 2013-2013, yinqiwen <<EMAIL>> *All rights reserved. * *Redistribution and use in source and binary forms, with or without *modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice,...
822
892
{ "schema_version": "1.2.0", "id": "GHSA-whwq-93f8-2jg6", "modified": "2022-05-01T06:37:04Z", "published": "2022-05-01T06:37:04Z", "aliases": [ "CVE-2006-0014" ], "details": "Buffer overflow in Microsoft Outlook Express 5.5 and 6 allows remote attackers to execute arbitrary code via a crafted Windows ...
1,314
7,353
/** * @file OTPCalculator.h * @author <NAME> <<EMAIL>> * * @section LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, thi...
1,066
2,270
<gh_stars>1000+ //------------------------------------------------------------------------ // Project : VST SDK // // Category : Interfaces // Filename : pluginterfaces/vst/ivstparameterfunctionname.h // Created by : Steinberg, 03/2020 // Description : VST Parameter Function Name Interface // //-------------...
1,679
303
<filename>include/objects/box2d/fixture/wrap_fixture.h #pragma once #include "common/luax.h" #include "fixture.h" namespace Wrap_Fixture { int GetType(lua_State* L); int SetFriction(lua_State* L); int SetRestitution(lua_State* L); int SetDensity(lua_State* L); int SetSensor(lua_State* L); ...
495
5,169
{ "name": "KNBannerView", "version": "2.0.1", "summary": "A lightweight and beautiful banner for recycle and adapt rotate screen", "description": "A lightweight and beautiful banner for recycle and adapt rotate screen", "homepage": "https://github.com/LuKane/KNBannerView", "license": "MIT", "authors": { ...
260
13,006
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
17,425
553
/** * Copyright (C) <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
1,715
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...
2,061
679
<reponame>Grosskopf/openoffice<filename>main/xmlsecurity/source/framework/elementcollector.hxx<gh_stars>100-1000 /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distribute...
1,096
559
/** * Copyright (c) 2016-2017 Netflix, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
3,406
8,232
<filename>tests/std/tests/Dev10_391723_bind_result_type/test.cpp // Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #define _HAS_DEPRECATED_ADAPTOR_TYPEDEFS 1 #define _SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING #include <functional> #include <type_traits>...
507
4,168
<filename>scripts/save_tag.py import argparse from git import git_command if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("--tag", type=str, help="tag name", required=True) parser.add_argument("--commit", type=str, help="commit hash", required=True) args = parser.par...
171
1,405
<reponame>jarekankowski/pegasus_spyware package com.lenovo.safecenter.shortcut; import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetProvider; import android.content.Context; import android.content.Intent; import android.util.Log; public class WidgetProvider extends AppWidgetProvider { pub...
428
2,392
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2013 <NAME> <<EMAIL>> // // 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....
446
402
package javax0.license3j.io; /** * License can be stored in files in three different format: * * <ol> * <li>BINARY is as the name suggests binary format</li> * <li>BASE64 is the same as binary but encoded to be ascii using the Base64 encoding</li> * <li>STRING is a textual, human readable format that...
148
381
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_MEVHorizontalContacts_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_MEVHorizontalContacts_ExampleVersionString[];
60
320
<filename>Settings/Controls/TabPage.h // Copyright (c) 2015, <NAME>. // Distributed under the BSD 2-Clause License (see LICENSE.txt for details) #pragma once #include <Windows.h> #include <string> #include <unordered_map> #include "Dialog.h" class Control; class TabPage : public Dialog { public: TabPage(HINSTA...
242
879
package org.zstack.test.deployer; import org.zstack.header.zone.ZoneInventory; import org.zstack.test.ApiSenderException; import org.zstack.test.deployer.schema.DeployerConfig; import org.zstack.test.deployer.schema.ZoneConfig; import org.zstack.utils.Utils; import org.zstack.utils.logging.CLogger; import java.util.L...
527
752
import os import re import sys from mtm.ioc.Inject import Inject import mtm.util.Util as Util from mtm.log.Logger import LogType import shutil from mtm.util.Assert import * import mtm.log.ColorConsole as ColorConsole class AnsiiCodes: BLACK = "\033[1;30m" DARKBLACK = "\033[0;30m" RED = "\033[1;31m" D...
1,756
1,647
<gh_stars>1000+ #ifndef PYTHONIC_BUILTIN_NOTIMPLEMENTEDERROR_HPP #define PYTHONIC_BUILTIN_NOTIMPLEMENTEDERROR_HPP #include "pythonic/include/builtins/NotImplementedError.hpp" #include "pythonic/types/exceptions.hpp" PYTHONIC_NS_BEGIN namespace builtins { PYTHONIC_EXCEPTION_IMPL(NotImplementedError) } PYTHONIC_NS...
151
746
#import <Foundation/Foundation.h> #import <CommonCrypto/CommonDigest.h> /** * This extension contains several a helper * for creating a sha1 hash from instances of NSString */ @interface NSString (Sha1) /** * Creates a SHA1 (hash) representation of NSString. * * @return NSString */ - (NSString *)sha1; @end
105
892
{ "schema_version": "1.2.0", "id": "GHSA-wvpv-ffcv-r6cw", "modified": "2021-01-08T20:22:38Z", "published": "2020-04-14T23:09:13Z", "aliases": [ "CVE-2020-11005" ], "summary": "Internal NCryptDecrypt method could be used externally from WindowsHello library.", "details": "### Impact\nEvery user of th...
849
4,124
/** * 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...
913
3,102
<reponame>medismailben/llvm-project // RUN: %clang_cc1 -E %s | FileCheck %s --match-full-lines --strict-whitespace // CHECK: # define X 3 #define H # #define D define #define DEFINE(a, b) H D a b DEFINE(X, 3)
97
4,812
//===---------------------- MicroOpQueueStage.cpp ---------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
702
1,062
{ "name" : "<NAME>", "type" : "NATIVEC, JAVA" "artifact" : "lib or class name", "inputs" : [ "dataset1"], "outputs" : [ "dataset1", "dataset2" ] "optionalInputs" : [ "dataset2" ] "extras" : [ "libname1", "libname2" ] "dimensions" : [ { "name" : "dim1", "canSplit" : true or false, defaults to true "o...
221
388
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from .teams_task_module_bot import TaskModuleBot __all__ = ["TaskModuleBot"]
54
435
<reponame>amaajemyfren/data { "copyright_text": "Creative Commons Attribution license (reuse allowed)", "description": "One of the core concepts of Application Development, (not just in\npython), is the separation between the Business Logic and the User\nInterface. However there is a strong temptation to start with...
515
502
<filename>tracer-core/src/main/java/com/alipay/common/tracer/core/reporter/stat/SofaTracerStatisticReporter.java<gh_stars>100-1000 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information reg...
815
1,444
package mage.cards.v; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.ColoredManaCost; import mage.abilities.effects.common.ReturnToHandTargetEffect; impor...
556
1,426
<filename>extensions/robospice-ui-spicelist-parent/robospice-ui-spicelist/src/main/java/com/octo/android/robospice/spicelist/simple/BitmapSpiceManager.java package com.octo.android.robospice.spicelist.simple; import com.octo.android.robospice.SpiceManager; public class BitmapSpiceManager extends SpiceManager { p...
256
14,668
<gh_stars>1000+ // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are...
9,995
895
<filename>source/core/slang-command-line.h // slang-command-line.h #ifndef SLANG_COMMAND_LINE_H #define SLANG_COMMAND_LINE_H #include "slang-string.h" #include "slang-list.h" namespace Slang { struct ExecutableLocation { typedef ExecutableLocation ThisType; enum Type { Unknown, ...
1,330
852
#include "CondFormats/HcalObjects/interface/HcalRespCorrs.h" #include "FWCore/Utilities/interface/typelookup.h" TYPELOOKUP_DATA_REG(HcalRespCorrs);
60
335
<gh_stars>100-1000 /* Copyright (C) 2020 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the M...
742
2,151
// 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.tab; /** * A delegate to determine visibility of the browser controls. */ public interface BrowserControlsVisibilit...
186
16,989
<reponame>jobechoi/bazel<gh_stars>1000+ // 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/L...
462
21,684
// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef CLUSTERING_ADMINISTRATION_TABLES_TABLE_CONFIG_HPP_ #define CLUSTERING_ADMINISTRATION_TABLES_TABLE_CONFIG_HPP_ #include <memory> #include <string> #include <vector> #include "clustering/administration/servers/config_client.hpp" #include "clustering/adminis...
1,555
1,060
#ifndef __g_undo_h_ #define __g_undo_h_ /* Infinite undo by <NAME> <<EMAIL>> Dec. 2011 Modified for Pd-vanilla by <NAME> <<EMAIL>> Jun. 2018 This is the home of infinite undo queue. Each root canvas has one of these. Only canvas that is root will instantiate the pointer to t_undo_action struct. All sub-canvases (inc...
2,081
1,127
<filename>src/common/transformations/src/ngraph_ops/multiclass_nms_ie_internal.cpp // Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ngraph_ops/multiclass_nms_ie_internal.hpp" #include "../../core/shape_inference/include/multiclass_nms_shape_inference.hpp" #include "itt....
1,387
770
<gh_stars>100-1000 #include "tommath_private.h" #ifdef BN_MP_GET_LL_C /* LibTomMath, multiple-precision integer library -- <NAME> */ /* SPDX-License-Identifier: Unlicense */ MP_GET_SIGNED(mp_get_ll, mp_get_mag_ull, long long, unsigned long long) #endif
98
892
{ "schema_version": "1.2.0", "id": "GHSA-3wh5-4rmj-5jxh", "modified": "2022-05-02T03:36:56Z", "published": "2022-05-02T03:36:56Z", "aliases": [ "CVE-2009-2602" ], "details": "R2 Newsletter Lite, Pro, and Stats stores sensitive information under the web root with insufficient access control, which allo...
382
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 belo...
391
1,338
<gh_stars>1000+ /*------------------------------------------------------------------------ Junction: Concurrent data structures in C++ Copyright (c) 2016 <NAME> Distributed under the Simplified BSD License. Original location: https://github.com/preshing/junction This software is distributed WITHOUT ANY WARR...
1,159
419
""" pygame-menu https://github.com/ppizarror/pygame-menu EXAMPLE - WINDOW RESIZE Resize the menu when the window is resized. License: ------------------------------------------------------------------------------- The MIT License (MIT) Copyright 2017-2021 <NAME>. @ppizarror Permission is hereby granted, free of char...
1,032
335
{ "word": "King", "definitions": [ "A male ruler of an independent state", "A male ruler who inherited his position by right of birth" ], "parts-of-speech": "Noun" }
80
13,162
#pragma once #include <regex> #include <fc/filesystem.hpp> #include <fc/io/json.hpp> #include <eosio/chain/exceptions.hpp> #include <eosio/chain/abi_def.hpp> namespace eosio::trace_api::configuration_utils { using namespace eosio; /** * Given a path (absolute or relative) to a file that contains a JSON-enc...
832
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-2cwf-mxq6-x2pg", "modified": "2022-05-01T07:13:46Z", "published": "2022-05-01T07:13:46Z", "aliases": [ "CVE-2006-3939" ], "details": "ScriptsCenter ezUpload Pro 2.2.0 allows remote attackers to perform administrative activities without authen...
500
640
<reponame>jpoikela/z88dk<filename>include/_DEVELOPMENT/sccz80/arch/sms.h // automatically generated by m4 from headers in proto subdir #ifndef __ARCH_SMS_H__ #define __ARCH_SMS_H__ #include <arch.h> #include <rect.h> // GLOBAL VARIABLES extern unsigned char GLOBAL_SMS_VDP_R0; extern unsigned char GLOBAL_SMS_VDP_R...
5,291
387
<filename>src/classes/java/io/InputStreamReader.java /* * Copyright (C) 2014, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The Java Pathfinder core (jpf-core) platform is licensed under the * Apache License, Versio...
1,108
2,858
<gh_stars>1000+ """ Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. This source code is licensed under the MIT-style license found in the LICENSE file in the root directory of this source tree. """ import argparse import arrayfire as af import glob import numpy as np import os from pycocotools.c...
1,859
679
<reponame>Grosskopf/openoffice<gh_stars>100-1000 /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyrig...
2,627
348
<gh_stars>100-1000 {"nom":"Val-de-Roulans","circ":"2ème circonscription","dpt":"Doubs","inscrits":119,"abs":54,"votants":65,"blancs":6,"nuls":6,"exp":53,"res":[{"nuance":"ECO","nom":"<NAME>","voix":31},{"nuance":"LR","nom":"<NAME>","voix":22}]}
102
2,151
// 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.payments; import static org.chromium.chrome.browser.payments.PaymentRequestTestRule.DELAYED_RESPONSE; import static o...
3,726
936
/* * Copyright 2019, Yahoo Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package com.yahoo.elide.core.filter.predicates; import com.yahoo.elide.core.Path; import com.yahoo.elide.core.Path.PathElement; import com.yahoo.elide.core.filter.Operator; import java...
369
892
{ "schema_version": "1.2.0", "id": "GHSA-rr9h-4g6q-37gg", "modified": "2022-05-01T07:36:26Z", "published": "2022-05-01T07:36:26Z", "aliases": [ "CVE-2006-6274" ], "details": "SQL injection vulnerability in articles.asp in Expinion.net iNews (1) Publisher (iNP) 2.5 and earlier, and possibly (2) News Ma...
747
344
<gh_stars>100-1000 /** * TexturedMeshSample.java * * Copyright (c) 2013-2020, F(X)yz * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the ...
6,726
1,738
<filename>dev/Code/Framework/AzCore/AzCore/std/typetraits/is_integral.h<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...
827
435
<reponame>amaajemyfren/data<filename>pycon-kr-2015/videos/gimmyeongsin-python-gaebaleul-wihan-coesangyi-muryo-gaebal-dogu-visual-studiowa-visual-studio-code-pycon-korea-2015.json { "description": "\ub9c8\uc774\ud06c\ub85c\uc18c\ud504\ud2b8\uc758 Visual Studio\ub294 \uc790\ud0c0\uac00 \uacf5\ud5cc\ud558\ub294 \uc138\u...
1,030
727
<filename>Frameworks/XADMaster.framework/Versions/A/PrivateHeaders/XAD7ZipBranchHandles.h #import "CSBlockStreamHandle.h" @interface XAD7ZipBranchHandle:CSBlockStreamHandle { CSHandle *parent; off_t startoffs; uint8_t inbuffer[4096]; int leftoverstart,leftoverlength; uint32_t baseoffset; } -(id)initWithHandle:(C...
400
799
<gh_stars>100-1000 import demistomock as demisto from CommonServerPython import * # noqa # pylint: disable=unused-wildcard-import ''' IMPORTS ''' import urllib3 from typing import Dict, Any from datetime import datetime from dateutil.parser import parse as parse_dt import traceback from functools import reduce # Di...
2,996
1,144
package org.eevolution.process; /* * #%L * de.metas.adempiere.libero.libero * %% * Copyright (C) 2015 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of...
1,958
609
<filename>thrill/api/gather.hpp /******************************************************************************* * thrill/api/gather.hpp * * Part of Project Thrill - http://project-thrill.org * * Copyright (C) 2015 <NAME> <<EMAIL>> * * All rights reserved. Published under the BSD-2 license in the LICENSE file. ...
1,377
504
<filename>dddlib-codegen/dddlib-codegen-parser/src/test/java/org/dddlib/codegen/parser/YmlParserTest.java<gh_stars>100-1000 package org.dddlib.codegen.parser; import org.dddlib.codegen.classdef.ClassDefinition; import org.junit.Before; import org.junit.Test; import java.util.Set; import static org.assertj.core.api.A...
393
2,151
<reponame>google-ar/chromium // 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 EXTENSIONS_COMMON_PERMISSIONS_USB_DEVICE_PERMISSION_H_ #define EXTENSIONS_COMMON_PERMISSIONS_USB_DEVICE_PERMISSION_H_...
1,253
979
<gh_stars>100-1000 import sublime import sublime_plugin class ReplaceFqcnCommand(sublime_plugin.TextCommand): def run(self, edit, region_start, region_end, namespace, leading_separator): region = sublime.Region(region_start, region_end) if (leading_separator): namespace = '\\' + namesp...
145