max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,151
<gh_stars>1000+ // Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_AFTER_STARTUP_TASK_UTILS_H_ #define CHROME_BROWSER_AFTER_STARTUP_TASK_UTILS_H_ #include "base/bind.h" #include "ba...
803
340
<filename>util/include/periodic_call.hpp<gh_stars>100-1000 // Concord // // Copyright (c) 2020 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). // You may not use this product except in compliance with the Apache 2.0 License. // // This product may in...
425
1,192
"""Tests related to role paths.""" import os from pathlib import Path from typing import Dict import pytest from ansiblelint.testing import run_ansible_lint from ansiblelint.text import strip_ansi_escape @pytest.fixture(name="local_test_dir") def fixture_local_test_dir() -> str: """Fixture to return local test ...
2,305
585
<filename>dl-invites/app/src/main/java/com/google/firebase/dynamicinvites/presenter/MorePresenter.java package com.google.firebase.dynamicinvites.presenter; import android.content.Context; import android.content.Intent; import android.net.Uri; import com.google.firebase.dynamicinvites.R; import com.google.firebase.dy...
366
2,338
<gh_stars>1000+ //===- MSFError.cpp - Error extensions for MSF files ------------*- 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 // //===-----------...
656
575
<filename>components/autofill_assistant/browser/protocol_utils_unittest.cc<gh_stars>100-1000 // Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/autofill_assistant/browser/protocol_util...
7,212
631
/** * 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...
691
14,668
<filename>third_party/blink/renderer/platform/graphics/paint/paint_chunk.cc // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/platform/graphics/paint/paint_chunk.h" #...
1,376
72,551
#ifndef EXPORT_AS_COREKIT_H #define EXPORT_AS_COREKIT_H struct CKThing { long value; }; #endif
48
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...
554
473
<filename>front-end/qemu-2.3/hw/audio/gusemu_mixer.c /* * GUSEMU32 - mixing engine (similar to Interwave GF1 compatibility) * * Copyright (C) 2000-2007 Tibor "<NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
6,451
441
<gh_stars>100-1000 package org.basex.api.dom; import org.basex.query.value.node.*; import org.basex.util.*; import org.w3c.dom.*; import org.w3c.dom.CharacterData; /** * DOM - Character data implementation. * * @author BaseX Team 2005-21, BSD License * @author <NAME> */ abstract class BXChar extends BXNode imple...
528
368
/* Plugin-SDK (Grand Theft Auto San Andreas) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #pragma once #include "PluginBase.h" #include "CRGBA.h" struct tPickupMessage { float x; float y; f...
214
1,459
# Copyright 2017 The Wallaroo 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 agreed ...
1,477
421
<gh_stars>100-1000 using namespace System; class SingleSample { public: SingleSample() { //<snippet1> Single s = 4.55F; //</snippet1> //<snippet2> Console::WriteLine( "A Single is of type {0}.", s.GetType() ); //</snippet2> //<snippet3> ...
2,210
428
/** * Copyright 2008 - 2015 The Loon Game Engine 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 appl...
2,092
504
<reponame>ekoATgithub/dddlib package org.dddlib.codegen.classdef; /** * Created by yyang on 2016/12/23. */ public enum RelationType { VALUE, VALUE_OBJECT, ELEMENT_COLLECTION, ONE_TO_ONE, ONE_TO_MANY, MANY_TO_ONE, MANY_TO_MANY }
126
3,631
<reponame>AnilKumarBejjanki/drools package org.drools.modelcompiler; import org.junit.Test; import org.kie.api.runtime.KieSession; import static org.junit.Assert.assertEquals; public class UseClassFieldsInRulesTest extends BaseModelTest { public UseClassFieldsInRulesTest( BaseModelTest.RUN_TYPE testRunType ) { ...
2,116
2,023
<gh_stars>1000+ class MWT(object): """Memoize With Timeout""" _caches = {} _timeouts = {} def __init__(self,timeout=2): self.timeout = timeout def collect(self): """Clear cache of results which have timed out""" for func in self._caches: cache = {} ...
868
1,778
<filename>platforms/esp8266/src/esp_main.c /* * Copyright (c) 2014-2018 Cesanta Software 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:/...
4,343
7,482
/** * \file * * \brief Direct Memory Access Controller Driver for SAMB * * Copyright (C) 2015-2016 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
6,630
3,262
<gh_stars>1000+ /* * Tencent is pleased to support the open source community by making Angel available. * * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in * compliance with th...
773
1,760
<reponame>xSeagullx/sshj<filename>src/main/java/net/schmizz/sshj/xfer/LoggingTransferListener.java /* * Copyright (C)2009 - SSHJ Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License...
872
5,169
<filename>Specs/d/6/f/PsikickChipEnabler/0.1.0/PsikickChipEnabler.podspec.json { "name": "PsikickChipEnabler", "version": "0.1.0", "summary": "By far the lowest energy consumption of any chip I have seen in my entire life. No joke.", "description": "This library allows your app to interact with the Psikick 1001...
322
354
/*------------------------------------------------------------------------- * drawElements Quality Program OpenGL ES 3.0 Module * ------------------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
6,062
341
#pragma once #include "Resource.h" #include "afxwin.h" // CAbout dialog class CAbout : public CDialog { DECLARE_DYNAMIC(CAbout) public: CAbout(CWnd* pParent = NULL); // standard constructor virtual ~CAbout(); // Dialog Data enum { IDD = IDD_ABOUT }; protected: virtual void DoDataExchange(CDataExchange* pDX)...
223
14,668
<reponame>zealoussnow/chromium // Copyright 2015 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_CORE_ANIMATION_SVG_POINT_LIST_INTERPOLATION_TYPE_H_ #define THIRD_PARTY_BLINK_RENDERER_C...
575
782
<gh_stars>100-1000 package filters; // cc DependentColumnFilterExample Example using a filter to include only specific column families import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hado...
1,432
310
<filename>framework/security/src/org/ofbiz/security/Security.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 in...
3,798
2,819
package com.fangxuele.tool.push.logic.msgsender; import com.fangxuele.tool.push.App; import com.fangxuele.tool.push.logic.PushControl; import com.fangxuele.tool.push.logic.msgmaker.TxYunMsgMaker; import com.github.qcloudsms.SmsSingleSender; import com.github.qcloudsms.SmsSingleSenderResult; import lombok.extern.slf4j....
1,342
703
#include <GameEngine/GameEnginePCH.h> #include <Core/Assets/AssetFileHeader.h> #include <Core/Curves/ColorGradientResource.h> #include <Core/Curves/Curve1DResource.h> #include <GameEngine/Animation/PropertyAnimResource.h> // clang-format off EZ_BEGIN_DYNAMIC_REFLECTED_TYPE(ezPropertyAnimResource, 1, ezRTTIDefaultAllo...
2,324
14,668
<filename>third_party/blink/renderer/core/animation/css_filter_list_interpolation_type.h // 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 THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_CSS_FILTER_LIST...
1,105
12,278
<gh_stars>1000+ // (C) Copyright 2006 <NAME>, <NAME> // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <boost/test/unit_test.hpp> #include <boost/test/floating_point_co...
1,568
475
<reponame>rathoreanirudh/NetDissect import colorname import numpy import os import re from loadseg import AbstractSegmentation from scipy.io import loadmat from scipy.misc import imread class PascalSegmentation(AbstractSegmentation): ''' Implements AbstractSegmentation for the pascal PARTS dataset. ''' ...
6,943
2,391
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. import os import unittest import torch from pytorchvideo.layers.swish import Swish from pytorchvideo.models.x3d import create_x3d, create_x3d_bottleneck_block from torch import nn class TestX3d(unittest.TestCase): def setUp(self): s...
2,578
892
<filename>advisories/unreviewed/2022/05/GHSA-p23q-35x3-74m3/GHSA-p23q-35x3-74m3.json { "schema_version": "1.2.0", "id": "GHSA-p23q-35x3-74m3", "modified": "2022-05-13T01:46:40Z", "published": "2022-05-13T01:46:40Z", "aliases": [ "CVE-2017-6598" ], "details": "A vulnerability in the debug plug-in funct...
675
585
<filename>solr/solrj/src/java/org/apache/solr/common/util/CommandOperation.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 thi...
4,477
1,351
/** @file * * A brief file description * * @section license License * * 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...
548
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-j72c-xffj-qrgx", "modified": "2022-05-04T00:29:17Z", "published": "2022-05-04T00:29:17Z", "aliases": [ "CVE-2012-0298" ], "details": "The file-management scripts in the management GUI in Symantec Web Gateway 5.0....
491
839
<filename>distribution/src/main/release/samples/jaxws_dispatch_provider/src/main/java/demo/hwDispatch/server/GreeterDOMSourceMessageProvider.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 wo...
809
2,151
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_VR_KEYBOARD_UI_INTERFACE_H_ #define CHROME_BROWSER_VR_KEYBOARD_UI_INTERFACE_H_ #include "chrome/browser/vr/model/text_input_info.h...
275
5,964
// Copyright 2015 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 WebMemoryDumpProvider_h #define WebMemoryDumpProvider_h #include "WebCommon.h" namespace blink { class WebProcessMemoryDump; // Base interface...
272
1,093
<gh_stars>1000+ /* * Copyright 2016-2020 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...
5,561
361
<gh_stars>100-1000 /** * 문제: 제로 (http://boj.kr/10773) * Tier: Silver 4 (2021.01.14 기준) * Comment: 0이 나올때 가장 최근의 값을 뺍니다. * 즉, FIFO 구조를 띄고 있고, 자연스럽게 스택을 사용하시면 됩니다. */ #include <iostream> #include <stack> using namespace std; int N; stack<int> st; int main() { ios_base::sync_with_stdio(false); cin.tie(0);...
392
337
<reponame>qussarah/declare<filename>idea/testData/hierarchy/calls/callers/kotlinSecondaryConstructor/main1.java class JJ extends B { JJ() { super(""); } static void test() { new B(""); } }
99
1,413
<filename>kapitan/inputs/jsonnet.py #!/usr/bin/env python3 # Copyright 2019 The Kapitan Authors # SPDX-FileCopyrightText: 2020 The Kapitan Authors <<EMAIL>> # # SPDX-License-Identifier: Apache-2.0 import json import logging import os from kapitan.inputs.base import CompiledFile, InputType from kapitan.resources impo...
1,973
1,073
// RUN: %clang_cc1 -fsyntax-only -verify %s int callee0() __attribute__((not_tail_called,always_inline)); // expected-error{{'not_tail_called' and 'always_inline' attributes are not compatible}} \ // expected-note{{conflicting attribute is here}} int callee1() __attribute__((always_inline,not_tail_called)); // expecte...
233
348
{"nom":"Villefranche-le-Château","circ":"3ème circonscription","dpt":"Drôme","inscrits":19,"abs":7,"votants":12,"blancs":2,"nuls":0,"exp":10,"res":[{"nuance":"LR","nom":"<NAME>","voix":10},{"nuance":"REM","nom":"<NAME>","voix":0}]}
97
1,456
<filename>qiskit/circuit/library/arithmetic/piecewise_polynomial_pauli_rotations.py # This code is part of Qiskit. # # (C) Copyright IBM 2017, 2020. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tre...
5,502
1,056
<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 * ...
7,183
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Chalaines","circ":"1ère circonscription","dpt":"Meuse","inscrits":257,"abs":131,"votants":126,"blancs":8,"nuls":2,"exp":116,"res":[{"nuance":"UDI","nom":"<NAME>","voix":70},{"nuance":"REM","nom":"<NAME>","voix":46}]}
108
631
<reponame>peteraramaldes/javalite<filename>activeweb/src/test/java/org/javalite/activeweb/CSRFSpec.java package org.javalite.activeweb; import org.javalite.activeweb.controller_filters.CSRFFilter; import org.javalite.activeweb.controller_filters.HttpSupportFilter; import org.javalite.activeweb.freemarker.FreeMarkerTem...
6,123
482
<reponame>m7onov/pgjdbc-ng /** * Copyright (c) 2013, <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, *...
8,618
5,169
<filename>Specs/b/6/0/ProntoSoccorsoKit/0.1.0/ProntoSoccorsoKit.podspec.json<gh_stars>1000+ { "name": "ProntoSoccorsoKit", "version": "0.1.0", "summary": "An iOS aggregator library for querying Italian \"Pronto Soccorso\" (A&E/ER) waiting times.", "description": "Use ProntoSoccorsoKit to query waiting times for...
374
4,054
<reponame>Anlon-Burke/vespa<gh_stars>1000+ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.controller.api.integration.deployment; import com.yahoo.component.Version; import java.time.Instant; import java.util.Objects; /** * A st...
494
2,702
<reponame>majacQ/keywhiz /* * Copyright (C) 2015 Square, 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 ...
611
6,868
<reponame>Tusker13-04/esp8266_deauther #include "PCF8574.h" namespace simplebutton { PCF8574::PCF8574(uint8_t address) { setup(address); } PCF8574::PCF8574(uint8_t address, TwoWire* wire) { setup(address, wire); } PCF8574::~PCF8574() {} int PCF8574::read() { wire->req...
847
310
<gh_stars>100-1000 { "name": "HexChat", "description": "An IRC client for Windows and Linux.", "url": "https://hexchat.github.io/" }
52
388
<reponame>OctaviantoVyan/jwswing // -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.*; public final class MainPanel extends JPanel { private MainPanel() { ...
1,922
412
# encoding: utf-8 # Copyright 1999-2017 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 b...
972
5,169
<reponame>Gantios/Specs { "name": "Tangynt", "version": "1.0.0", "summary": "The official Swift SDK for integration with the Tangynt API.", "description": "Tangynt helps devs more easily access the Tangynt API by using pre-built methods which does most of the work for them", "homepage": "https://Tangynt.com",...
272
435
{ "copyright_text": "Creative Commons Attribution license (reuse allowed)", "description": "\u00c9crire une ligne de Python, c'est facile. Incroyable mais vrai : c'est\ntoujours la premi\u00e8re \u00e9tape lors de la cr\u00e9ation d'un nouveau logiciel.\nVous \u00eates capable d'\u00e9crire cette premi\u00e8re lign...
624
778
<filename>shared/source/os_interface/windows/wddm/adapter_info.cpp<gh_stars>100-1000 /* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/os_interface/windows/wddm/adapter_info.h" #include "shared/source/helpers/debug_helpers.h" #include "shared/source/os_interf...
850
2,792
<reponame>xchaoinfo/pyhanlp # -*- coding:utf-8 -*- # Author: hankcs # Date: 2019-01-07 13:53 from pyhanlp import * from tests.test_utility import ensure_data IClassifier = JClass('com.hankcs.hanlp.classification.classifiers.IClassifier') NaiveBayesClassifier = JClass('com.hankcs.hanlp.classification.classifiers.Naive...
647
575
// Copyright 2021 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.autofill_assistant; import androidx.annotation.Nullable; import org.chromium.base.UserData; import org.chromium.base...
2,967
420
<filename>seahub/two_factor/views/profile.py # Copyright (c) 2012-2016 Seafile Ltd. from django.conf import settings from django.urls import reverse from django.http import HttpResponseRedirect from django.shortcuts import redirect from django.views.decorators.cache import never_cache from django.views.generic import T...
912
515
<reponame>ntoussaint/CTK<filename>Libs/CommandLineModules/Frontend/QtGui/ctkCmdLineModuleFrontendQtGui.h /*============================================================================= Library: CTK Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed ...
3,910
5,038
/* * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
2,012
2,496
<reponame>mfkiwl/Serial-Studio /*********************************************************************** qcomplexnumber.cpp - Source file for QComplexNumber Template class for handling complex numbers with a real and imaginary part. ************************************************************************ This file ...
1,147
1,830
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Licensed under the Zeebe Community License 1.1. You may not use this file * ...
264
647
/* PURPOSE: ( Interval timer/external interrupt alarm signal handler ) PROGRAMMERS: (((<NAME>) (LinCom) (April 1992) (--) (Realtime))) */ #include "trick/ITimer.hh" /** @relates Trick::ITimer @brief Signal handler for itimer based sleep timer @param sig - signal number @details -# call sem_post() on the itimer...
163
478
<reponame>paulmassen/kibitzr<filename>tests/unit/conftest.py<gh_stars>100-1000 import pytest from kibitzr.app import Application from ..helpers import SettingsMock @pytest.fixture(scope="function") def settings(request): """Override native settings singleton with empty one""" instance = SettingsMock.instance(...
209
2,762
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file './pyqtgraph/graphicsItems/ViewBox/axisCtrlTemplate.ui' # # Created: Wed Mar 26 15:09:28 2014 # by: PyQt5 UI code generator 5.0.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class...
2,214
2,054
<reponame>w136111526/zqcnn #include <stdio.h> #include <malloc.h> #include <string.h> #include <omp.h> #include "../ZQ_CNN_CompileConfig.h" #if __ARM_NEON #include <arm_neon.h> #else #if defined(__GNUC__) #if ZQ_CNN_USE_SSETYPE >= ZQ_CNN_SSETYPE_SSE #include <smmintrin.h> #endif #if ZQ_CNN_USE_SSETYPE >= ZQ_CNN_SSETYP...
3,999
3,102
// PR 1332 // RUN: %clang_cc1 %s -emit-llvm -o /dev/null struct Z { int a:1; int :0; int c:1; } z;
51
526
<reponame>yun-ji-cho/Ten-lines-or-less #!/usr/bin/env python3 # Inspired by https://pythonclock.org from datetime import date, timedelta print((date(2020, 1, 1) - date.today()).days, "days until Python 2 end of life.") def daze_left(days=100): d = date(2020, 1, 1) - timedelta(days=days) return f"On {d} the...
316
954
<filename>src/main/java/com/jdon/bussinessproxy/target/TargetObjectFactory.java package com.jdon.bussinessproxy.target; import com.jdon.container.finder.ContainerCallback; public interface TargetObjectFactory { Object create(ContainerCallback containerCallback) throws Exception; }
90
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,388
576
#pragma once #include "../ecs.h" #include "../systems/system.h" #include "core/templates/local_vector.h" class World; struct TemporaryExecutionSystemData { // The SystemID godex::system_id id; func_temporary_system_execute exec_func; uint8_t *system_data; }; struct ExecutionSystemData { // The SystemID godex:...
865
302
#ifndef CUSTOM_CLASS_H #define CUSTOM_CLASS_H #include <QObject> class CustomClass : public QObject { Q_OBJECT Q_PROPERTY(QString name READ name WRITE setName) public: CustomClass(QObject *parent = nullptr) : QObject(parent) {} CustomClass(QString name) { name_ = name; } CustomClass(const CustomClass &ite...
194
526
<filename>open-metadata-implementation/frameworks/open-connector-framework/src/main/java/org/odpi/openmetadata/frameworks/connectors/properties/beans/SchemaElement.java /* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.frameworks.connectors....
3,427
372
/*----------------------------------------------------------------------------- * $RCSfile: OpenSOAPObject.h,v $ * * See Copyright for the status of this software. * * The OpenSOAP Project * http://opensoap.jp/ *----------------------------------------------------------------------------- */ #if !defined(OpenSO...
356
897
/* Description : Palindrome Number : Given an integer x, return true if x is palindrome integer. An integer is a palindrome when it reads the same backward as forward. This code is implemented without using extra space. */ #includ...
573
892
{ "schema_version": "1.2.0", "id": "GHSA-pg38-h6qr-j754", "modified": "2022-05-02T03:55:20Z", "published": "2022-05-02T03:55:20Z", "aliases": [ "CVE-2009-4511" ], "details": "Multiple directory traversal vulnerabilities in the web administration interface on the TANDBERG Video Communication Server (VC...
479
1,003
package com.moxi.mogublog.commons.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.moxi.mougblog.base.entity.SuperEntity; import lombok.Data; import java.util.List; /** * <p> * 学习视频表 * </p> * * @author xuzhixiang * @since 2018年10月19...
580
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.maintenance.fluent.models; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.JsonFlatten; import com.azu...
1,179
1,056
<filename>apisupport/apisupport.wizards/src/org/netbeans/modules/apisupport/project/ui/wizard/javahelp/NewJavaHelpIterator.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 * reg...
3,336
309
// automatically generated by the FlatBuffers compiler, do not modify #ifndef FLATBUFFERS_GENERATED_DESTIO_DEST_IO_H_ #define FLATBUFFERS_GENERATED_DESTIO_DEST_IO_H_ #include "flatbuffers/flatbuffers.h" namespace dest { namespace io { struct MatrixF; struct MatrixI; struct TreeNode; struct Tree; struct Regressor; ...
4,827
1,503
// // ANEStatementResult.h // MangoFix // // Created by jerry.yong on 2018/2/28. // Copyright © 2018年 yongpengliang. All rights reserved. // #import <Foundation/Foundation.h> @class MFValue; NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, MFStatementResultType) { MFStatementResultTypeNormal, MFStatementResu...
247
1,738
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
1,001
703
<reponame>flybetter/FEBS-Shiro<gh_stars>100-1000 package cc.mrbird.system.service; import cc.mrbird.common.service.IService; import cc.mrbird.system.domain.RoleMenu; public interface RoleMenuServie extends IService<RoleMenu> { void deleteRoleMenusByRoleId(String roleIds); void deleteRoleMenusByMenuId(String menuI...
114
1,094
/*********************************************************************************************************************************** PostgreSQL 9.6 Interface See postgres/interface/version.intern.h for documentation. ******************************************************************************************************...
134
1,412
// // PointerToValue.h // PlusPlus // // Created by <NAME> on 7/11/14. // Released into the public domain by <NAME>, 2014. // #ifndef PLUSPLUS_POINTERLIKE_H #define PLUSPLUS_POINTERLIKE_H #include <cstddef> #include <utility> /* A PointerToValue is like a pointer, but points to a value it contains, rather th...
1,269
1,379
package voldemort.utils; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertThat; import static org.junit.Assume.assumeThat; import java.util.Random; import org.junit.Test; public class PropsTest { private final static Random randomGenera...
1,295
1,921
#pragma once #include "char-set-type.h" #include "dungeon-char-type.h" #include "dungeon-feature-type.h" void init_char_table(char_set_type set); dungeon_char_type get_feature_dchar(dungeon_feature_type feat); char32_t dchar_glyph(dungeon_char_type dchar); string stringize_glyph(char32_t glyph); dungeon_char_type ...
145
1,389
<filename>examples/gin/dataset.py # Copyright (c) 2019 PaddlePaddle 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...
5,781
6,684
{ "pagination": { "ListAccounts": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListAppInstanceAdmins": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListAppInstanceUsers": { ...
1,610
14,668
<gh_stars>1000+ // Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/app_list/search/arc/recommend_apps_fetcher_impl.h" #include <memory> #include "base/run_loop.h" #include "bas...
3,655
348
{"nom":"<NAME>","circ":"2ème circonscription","dpt":"Dordogne","inscrits":1119,"abs":617,"votants":502,"blancs":40,"nuls":24,"exp":438,"res":[{"nuance":"REM","nom":"<NAME>","voix":279},{"nuance":"FN","nom":"<NAME>","voix":159}]}
91
471
from django.contrib.auth.models import User,Group from geoq.core.models import STATUS_VALUES_LIST import json class UserGroupStats(object): def __init__(self, userOrGroup): self.userOrGroup = userOrGroup self.stats = dict([(s.lower().replace(" ","_"),0) for s in STATUS_VALUES_LIST]) self.u...
699