max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,822
// Copyright (c) 2016 <NAME> // // SPDX-License-Identifier: BSL-1.0 // Distributed under 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) #pragma once #include <hpx/config/export_definitions.hpp> #if defined(HPX_PROCESS_EXPORTS) #...
172
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 * ...
1,111
1,900
<gh_stars>1000+ /* * Copyright Terracotta, 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 l...
1,685
4,002
package me.zeroX150.cornos.features.module.impl.render; import me.zeroX150.cornos.Cornos; import me.zeroX150.cornos.etc.config.MConfNum; import me.zeroX150.cornos.etc.helper.Renderer; import me.zeroX150.cornos.features.module.Module; import me.zeroX150.cornos.features.module.ModuleType; import me.zeroX150.cornos.featu...
2,400
1,444
<filename>Mage.Sets/src/mage/cards/e/EurekaMoment.java package mage.cards.e; import mage.abilities.effects.common.DrawCardSourceControllerEffect; import mage.abilities.effects.common.PutCardFromHandOntoBattlefieldEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import ...
383
1,178
/* * Copyright 2020 Makani Technologies LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
1,085
2,845
<gh_stars>1000+ #pragma once #include "PJON.h" #include "strategies/LocalUDP/LocalUDP.h" #define PJONLocalUDP PJON<LocalUDP>
60
1,779
// // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
790
350
/* * Copyright 2020 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
621
2,453
<reponame>haozhiyu1990/XVim2<gh_stars>1000+ // // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> @interface IDEExplorationContext : NSObject { } // Remaining properties @property(readonly) int explorationTyp...
129
4,050
/* * Copyright 2011 LinkedIn Corp. * * 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 i...
2,632
18,012
/* * 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 may ...
843
839
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
3,091
8,664
<gh_stars>1000+ //------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //-----------------------------------------...
2,786
1,338
/* * Copyright 2006, 2011, <NAME> <<EMAIL>>. * All rights reserved. Distributed under the terms of the MIT License. */ #include "CurrentColor.h" #include <stdio.h> #include <OS.h> #include "ui_defines.h" CurrentColor::CurrentColor() : Observable(), fColor(kBlack) { } CurrentColor::~CurrentColor() { } ...
171
742
package org.support.project.knowledge.control; import java.util.ArrayList; import java.util.List; import org.support.project.common.util.HtmlUtils; import org.support.project.common.util.StringUtils; import org.support.project.di.DI; import org.support.project.di.Instance; import org.support.project.knowledge.config....
2,502
998
// Copyright 2021 Phyronnaz #pragma once #if 0 #include "CoreMinimal.h" #include "FastNoise/VoxelFastNoise.h" #include "VoxelGenerators/VoxelGeneratorHelpers.h" #include "VoxelGeneratorExample.generated.h" UCLASS(Blueprintable) class UVoxelGeneratorExample : public UVoxelGenerator { GENERATED_BODY() ...
637
460
/** * Copyright 2015-2017 Red Hat, Inc, and individual 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
1,771
4,071
<gh_stars>1000+ // Mutex for batching module // #pragma once #include <condition_variable> #include <mutex> namespace blaze { namespace batching { // A class that wraps around the std::mutex implementation class mutex : public std::mutex { public: mutex() {} void lock() { std::mutex::lock(); } bool try_lock()...
487
14,668
// 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 "components/page_load_metrics/common/test/page_load_metrics_test_util.h" #include "components/page_load_metrics/common/page_load_metrics_util.h"...
2,151
310
{ "name": "22-802", "description": "A digital multimeter.", "url": "https://www.amazon.com/POCKET-RANGING-DIGITAL-MULTIMETER-22-802/dp/B00A3VAB1E" }
71
9,724
<gh_stars>1000+ /* poppler-link-extractor-private.h: qt interface to poppler * Copyright (C) 2007, <NAME> <<EMAIL>> * * 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, or (a...
499
407
package com.alibaba.tesla.appmanager.server.repository; import com.alibaba.tesla.appmanager.server.repository.condition.RtComponentInstanceHistoryQueryCondition; import com.alibaba.tesla.appmanager.server.repository.domain.RtComponentInstanceHistoryDO; import java.util.List; public interface RtComponentInstanceHisto...
247
1,359
<gh_stars>1000+ package com.kalessil.phpStorm.phpInspectionsEA.inspectors.languageConstructions; import com.intellij.codeInspection.ProblemHighlightType; import com.intellij.codeInspection.ProblemsHolder; import com.intellij.openapi.project.Project; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiElemen...
3,185
329
// // DMToolbarButton.h // DotMail // // Created by <NAME> on 6/28/13. // Copyright (c) 2013 CodaFi Inc. All rights reserved. // @interface DMToolbarButton : NSButton - (instancetype)initWithImage:(NSImage *)image; - (RACSignal *)rac_selectionSignal; @end @interface DMBadgedToolbarButton : DMToolbarButton - (v...
139
2,219
// 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. #include "base/test/fontconfig_util_linux.h" #include <fontconfig/fontconfig.h> #include <memory> #include "base/base_paths.h" #include "base/check.h" ...
239
1,275
<reponame>ananthdurai/pinot /** * 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...
949
852
<gh_stars>100-1000 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h" #include "DataFormats/PatCandidates/interface/Electron.h" #include "PhysicsTools/SelectorUtils/interface/VersionedIdProducer.h" #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/EDAnalyzer.h" #incl...
692
335
<filename>I/Indicative_noun.json { "word": "Indicative", "definitions": [ "A verb in the indicative mood.", "The indicative mood." ], "parts-of-speech": "Noun" }
85
2,151
#!/usr/bin/python2 # # 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. """Archive corpus file into zip and generate .d depfile. Invoked by GN from fuzzer_test.gni. """ from __future__ import print_function...
579
634
<reponame>halotroop2288/consulo<filename>modules/base/compiler-impl/src/main/java/com/intellij/packaging/impl/elements/LibraryElementType.java /* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
1,059
6,098
<reponame>vishalbelsare/h2o-3<gh_stars>1000+ package water.k8s; import water.H2O; import java.util.Collection; public class H2OApp { public static void main(String[] args) { if (H2O.checkUnsupportedJava()) System.exit(1); if (H2OCluster.isRunningOnKubernetes()) { Collec...
274
966
<filename>moe/optimal_learning/cpp/gpp_hyperparameter_optimization_demo.cpp /*! \file gpp_hyperparameter_optimization_demo.cpp \rst ``moe/optimal_learning/cpp/gpp_hyperparameter_optimization_demo.cpp`` This is a demo for the model selection (via hyperparameter optimization) capability present in this project...
4,465
2,592
<reponame>gregorburger/glad from glad.lang.common.loader import BaseLoader from glad.lang.c.loader import LOAD_OPENGL_DLL, LOAD_OPENGL_DLL_H, LOAD_OPENGL_GLAPI_H _GLX_LOADER = \ LOAD_OPENGL_DLL % {'pre':'static', 'init':'open_glx', 'proc':'get_proc', 'terminate':'close_glx'} + ''' int gladLo...
1,752
788
/* * 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,016
534
package mekanism.common.content.network.transmitter; import javax.annotation.Nonnull; import mekanism.api.tier.AlloyTier; import mekanism.api.tier.ITier; import mekanism.common.upgrade.transmitter.TransmitterUpgradeData; public interface IUpgradeableTransmitter<DATA extends TransmitterUpgradeData> { DATA getUpgr...
199
2,406
<reponame>pazamelin/openvino // Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "legacy/transformations/convert_opset1_to_legacy/convert_pad_to_pad_ie.hpp" #include <memory> #include <vector> #include <ngraph/opsets/opset1.hpp> #include <ngraph/rt_info.hpp> #include <ngra...
508
394
//------------------------------------------------------------------------------------- // UVAtlas - SymmetricMatrix.hpp // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // // http://go.microsoft.com/fwlink/?LinkID=512686 //------------------------------------------------------------...
14,693
513
/* ** C data arithmetic. ** Copyright (C) 2005-2017 <NAME>. See Copyright Notice in luajit.h */ #ifndef _LJ_CARITH_H #define _LJ_CARITH_H #include "lj_obj.h" #if LJ_HASFFI LJ_FUNC int lj_carith_op(lua_State *L, MMS mm); #if LJ_32 && LJ_HASJIT LJ_FUNC int64_t lj_carith_mul64(int64_t x, int64_t k); #endif LJ_FUNC ui...
359
476
<filename>test/test_statistics.py # -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst from __future__ import (absolute_import, division, print_function, unicode_literals) import warnings from itertools import product import math import random import pytest ...
7,219
396
<filename>resonance_audio/utils/planar_interleaved_conversion.cc /* Copyright 2018 Google 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/license...
10,316
473
/* * defines the entry point for the cac card. Only used by cac.c anc * vcard_emul_type.c * * This work is licensed under the terms of the GNU LGPL, version 2.1 or later. * See the COPYING.LIB file in the top-level directory. */ #ifndef CAC_H #define CAC_H 1 #include "vcard.h" #include "vreader.h" #define CAC_GE...
371
852
<reponame>ckamtsikis/cmssw package detidGenerator; /** * <p>Used to convert the det id to a 32 bits word</p> * @author <NAME> * @version 1.0 **/ /* Revision 1.3 2006/08/31 15:24:29 gbaulieu The TOBCS are directly in the TOB Correction on the Stereo flag Revision 1.2 2006/08/30 15:21:12 gbaulieu A...
1,572
12,278
# -*- coding: utf-8 -*- # © 2019 and later: Unicode, Inc. and others. # License & terms of use: http://www.unicode.org/copyright.html#License data = { "cldrVersion": "35.1", "aliases": { "ars": "ar_SA", "az_AZ": "az_Latn_AZ", "bs_BA": "bs_Latn_BA", "en_NH": "en_VU", "en_...
4,031
3,495
<filename>build/chip/java/write_build_config.py #!/usr/bin/env python # Copyright (c) 2021 Project CHIP 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/licen...
1,131
763
package org.batfish.common.util.serialization.guava; import com.fasterxml.jackson.databind.JavaType; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.ser.std.StdDelegatingSerializer; import com.fasterxml.jackson.databind.util.Converter; import com.google.common.collect.RangeS...
260
47,529
<gh_stars>1000+ /* * Copyright (c) 2016-present, RxJava 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
615
1,334
<reponame>jordanm88/Django-CRM<gh_stars>1000+ from drf_yasg import openapi organization_params_in_header = openapi.Parameter( "org", openapi.IN_HEADER, required=True, type=openapi.TYPE_INTEGER ) organization_params = [ organization_params_in_header, ] event_list_get_params = [ organization_params_in_head...
1,083
1,350
<reponame>Shashi-rk/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.desktopvirtualization.models; import com.azure.core.http.rest.PagedIterable; import com.a...
4,167
432
<filename>sys/gnu/vfs/ext2fs/ext2_extern.h /* * modified for EXT2FS support in Lites 1.1 * * Aug 1995, <NAME> (<EMAIL>) * University of Utah, Department of Computer Science */ /*- * Copyright (c) 1991, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use...
1,995
844
from __future__ import absolute_import, division, print_function import gzip from datashape import discover, dshape from collections import Iterator from toolz import partial, concat import uuid import os from ..compatibility import unicode from ..chunks import chunks from ..drop import drop from ..temp import Temp f...
753
640
typedef unsigned char uint8_t; void do_something( uint8_t param1, uint8_t param2) { } void main() { do_something( 20 * 0.45 , 0.5 * 40); }
71
777
<reponame>google-ar/chromium // 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 IOS_SHOWCASE_COMMON_COORDINATOR_H_ #define IOS_SHOWCASE_COMMON_COORDINATOR_H_ #import <Foundation/Foundation.h> // ...
251
3,976
<reponame>YAMLONG/Deformable-ConvNets import resnet_v1_101_deeplab import resnet_v1_101_deeplab_dcn
50
743
package pl.allegro.tech.hermes.consumers.consumer.sender.http.headers; import pl.allegro.tech.hermes.api.EndpointAddress; public interface BatchHttpHeadersProvider { HttpRequestHeaders getHeaders(EndpointAddress address); }
76
337
<filename>j2k/testData/fileOrElement/detectProperties/FieldUsagesInFactoryMethods.java class C { final int myArg1; int myArg2; int myArg3; C(int arg1, int arg2, int arg3) { this(arg1); myArg2 = arg2; myArg3 = arg3; } C(int arg1, int arg2) { this(arg1); myArg2 = arg2; myArg3 = 0; ...
262
575
<reponame>Ron423c/chromium // Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <cstdint> #include <string> #include "base/base_paths.h" #include "base/bind.h" #include "base/callback.h" #include "...
15,419
3,690
<reponame>corkiwang1122/LeetCode #include <cstddef> #include <cstdlib> struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode *addTwoNumbers(ListNode *l1, ListNode *l2) { ListNode dummy(0), *tail = &dummy; for (div_t sum{...
317
1,157
/* * Copyright (c) 2020 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-10-11 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
366
6,192
# -*- coding:utf-8 -*- """ Author: zanshuxun, <EMAIL> Reference: [1] <NAME>, <NAME>, <NAME>. An Input-aware Factorization Machine for Sparse Prediction[C]//IJCAI. 2019: 1466-1472. (https://www.ijcai.org/Proceedings/2019/0203.pdf) """ import tensorflow as tf from tensorflow.python.keras.layers import Lambda...
1,487
5,316
<reponame>pgliaskovitis/aerosolve package com.airbnb.aerosolve.core.transforms; import com.airbnb.aerosolve.core.FeatureVector; import com.airbnb.aerosolve.core.util.TransformUtil; import com.airbnb.aerosolve.core.util.Util; import com.typesafe.config.Config; import java.util.Map; import java.util.Map.Entry; /** *...
501
1,056
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
792
2,151
<filename>src/chromium/cc/paint/draw_image.cc // 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. #include "cc/paint/draw_image.h" namespace cc { namespace { // Helper funciton to extract a scale from the...
1,082
635
<reponame>Qautry/AAChartCore<filename>app/src/main/java/com/example/anan/AAChartCore/AAChartCoreLib/AAOptionsModel/AAOptions.java package com.example.anan.AAChartCore.AAChartCoreLib.AAOptionsModel; public class AAOptions { public AAChart chart; public AATitle title; public AASubtitle subtitle; public A...
1,042
952
<gh_stars>100-1000 { "version": "1.23", "description": "File archiver for manipulation with '.tar.*' files.", "homepage": "http://www.mingw.org/wiki/msys", "license": "GPL-2.0-only", "depends": "gzip", "url": [ "https://downloads.sourceforge.net/project/mingw/MSYS/Base/tar/tar-1.2...
712
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport */ #import <OfficeImport/EDCollection.h> __attribute__((visibility("hidden"))) @interface EDMergedCellCollection : EDCollection { } - (unsigned)addObject:(id)object; // 0xf5631 -...
153
1,030
<filename>client/manifest_util.cc // Copyright (c) 2012-2013 NetEase Youdao Inc. and other heX contributors. All // rights reserved. Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file. #include "manifest_util.h" #include "default_values.h" #include "util.h" #include "he...
6,299
657
<reponame>danielgrieve/Elixir-Slack<gh_stars>100-1000 { "desc": "Renames a channel.", "args": { "channel": { "type" : "channel", "required" : true, "desc" : "Channel to rename" }, "name": { "required" : true, "desc" : "New name for channel." } }, "errors": { "channel_not_found" : "Va...
245
1,040
<filename>ui/GoForFlight/MultiStatusHandler.h #ifndef MULTI_STATUS_HANDLER_HPP #define MULTI_STATUS_HANDLER_HPP #include <wx/settings.h> #include <string.h> #include <vector> #include <iostream> #include "StatusHandler.h" #define NUM_TYPES 3 enum ComputerType { LOCAL = 0, GPS = 1, CAM = 2 }; class MultiStatusHandle...
2,651
931
<reponame>jahnvisrivastava100/CompetitiveProgrammingQuestionBank /* Given a Binary Tree with all unique values and two nodes value n1 and n2. The task is to find the lowest common ancestor of the given two nodes. We may assume that either both n1 and n2 are present in the tree or none of them is present. */ #include...
1,102
348
<filename>docs/data/leg-t2/067/06705438.json<gh_stars>100-1000 {"nom":"Schaeffersheim","circ":"5ème circonscription","dpt":"Bas-Rhin","inscrits":674,"abs":394,"votants":280,"blancs":11,"nuls":3,"exp":266,"res":[{"nuance":"LR","nom":"<NAME>","voix":167},{"nuance":"REG","nom":"<NAME>","voix":99}]}
122
372
<filename>graphql-spring-boot-autoconfigure/src/main/java/graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLAutoConfiguration.java package graphql.kickstart.autoconfigure.editor.graphiql; import static org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type.REACTIVE; import static org.s...
898
1,011
#ifndef __TweakBarParameters_h__ #define __TweakBarParameters_h__ #include "SPlisHSPlasH/Common.h" #include "extern/AntTweakBar/include/AntTweakBar.h" #include <vector> #include "ParameterObject.h" #ifdef USE_DOUBLE #define TW_TYPE_REAL TW_TYPE_DOUBLE #define TW_TYPE_DIR3R TW_TYPE_DIR3D #else #define TW_TYPE_REAL TW_...
399
367
/* * Copyright (C) 2017 skydoves * * 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 ...
936
569
// Author: <NAME> <<EMAIL>> #ifndef wyhash_version_alpha #define wyhash_version_alpha #include <stdint.h> #include <string.h> #if defined(_MSC_VER) && defined(_M_X64) #include <intrin.h> #pragma intrinsic(_umul128) #endif #if defined(__GNUC__) || defined(__INTEL_COMPILER) || defined(__clang__) #define _likely_(x) __bui...
3,610
305
//===-- Benchmark ---------------------------------------------------------===// // // 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 // //===---------------------------...
1,368
1,056
<filename>enterprise/j2ee.ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ui/logicalview/entries/CallEjbCodeGenerator.java<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 informatio...
2,486
2,161
/* * 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 ...
814
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-7589-4cgq-4p68", "modified": "2022-05-13T01:49:40Z", "published": "2022-05-13T01:49:40Z", "aliases": [ "CVE-2018-12893" ], "details": "An issue was discovered in Xen through 4.10.x. One of the fixes in XSA-260 added some safety checks to help...
951
713
package org.infinispan.marshaller.kryo; import java.util.concurrent.atomic.AtomicInteger; import org.infinispan.marshaller.test.User; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.Serializer; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; /** * @au...
288
2,320
<reponame>fengyixian3312/PowerJob package tech.powerjob.common.response; import lombok.Data; import java.util.Date; /** * WorkflowNodeInfo 对外输出对象 * @author Echo009 * @since 2021/2/20 */ @Data public class WorkflowNodeInfoDTO { private Long id; private Long appId; private Long workflowId; /** ...
413
450
/* * 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 ...
892
1,831
/** * Copyright (c) 2020-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <string> #include <unordered_map> #include <unordered_set> #incl...
1,671
14,668
// 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/ash/policy/reporting/user_added_removed/user_added_removed_reporter.h" #include "base/logging.h" #include "base/memory/ptr_util....
1,508
605
//===--- amdgpu/impl/interop_hsa.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 // //===---------------------------...
497
467
<reponame>LiuStart/bilisoleil package com.yoyiyi.soleil.utils; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.content.Intent; import android.net.Uri; /** * Created by zzq on 2016/12/17. * 剪贴板相关工具类 */ public final class ClipboardUtils { ...
1,233
1,338
/* * Copyright 2010, <NAME> <<EMAIL>> * Distributed under the terms of the MIT License. */ #include <Application.h> #include <Button.h> #include <ControlLook.h> #include <SpaceLayoutItem.h> #include <Window.h> #include "ALMLayout.h" #include "ALMGroup.h" class OperatorWindow : public BWindow { public: Operator...
684
652
#ifndef Py_INTRINSICS_H #define Py_INTRINSICS_H #ifdef __cplusplus extern "C" { #endif #ifdef WITH_INTRINSICS # ifdef MS_WINDOWS # include <intrin.h> # if defined(MS_WIN64) # pragma intrinsic(__readgsdword) # define _Py_get_current_process_id() (__readgsdword(0x40)) # define...
1,054
6,958
# Copyright @ 2019 Alibaba. All rights reserved. # Created by ruhuan on 2019.08.31 """ build wheel tool """ from __future__ import print_function import argparse parser = argparse.ArgumentParser(description='build pymnn wheel') parser.add_argument('--x86', dest='x86', action='store_true', default=False, ...
454
2,406
<filename>model-optimizer/unit_tests/extensions/ops/interpolate_test.py # Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import unittest import numpy as np from generator import generator, generate from extensions.ops.interpolate import Interpolate from mo.front.common.partial_infer....
9,662
2,762
<reponame>fbordignon/pyqtgraph # -*- coding: utf-8 -*- """ This module exists to smooth out some of the differences between PySide and PyQt4: * Automatically import either PyQt4 or PySide depending on availability * Allow to import QtCore/QtGui pyqtgraph.Qt without specifying which Qt wrapper you want to use. * Decl...
5,985
797
<gh_stars>100-1000 // Copyright 2015 Google 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 req...
423
14,668
<reponame>chromium/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. #include "third_party/blink/renderer/modules/bluetooth/bluetooth.h" #include <utility> #include "build/build_config.h" #incl...
8,259
399
<reponame>pbaiz/openrec from __future__ import print_function import numpy as np import random from multiprocessing import Process from openrec.tf1.legacy.utils.samplers import Sampler class _PairwiseSampler(Process): def __init__(self, dataset, batch_size, q, chronological): self._dataset = dataset ...
1,142
335
{ "word": "Colloquialism", "definitions": [ "A word or phrase that is not formal or literary and is used in ordinary or familiar conversation.", "The use of colloquialisms." ], "parts-of-speech": "Noun" }
91
370
#define DINT #include <../Source/umfpack_report_perm.c>
22
2,529
<reponame>sakibguy/httpd<filename>modules/md/md_store.h /* 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 Apa...
6,870
446
{ "recommendations": [ "dbaeumer.vscode-eslint", "eamodio.gitlens", "mgmcdermott.vscode-language-babel", "wix.vscode-import-cost", "pflannery.vscode-versionlens", "prisma.prisma", "apollographql.vscode-apollo" ], "unwantedRecommendations": [] }
138
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. """Updates the DebugScenario enums in histograms with values read from the corresponding header file. If the file was pretty-printed, the upd...
359
332
// Autogenerated from vk-api-schema. Please don't edit it manually. package com.vk.api.sdk.queries.messages; import com.vk.api.sdk.client.AbstractQueryBuilder; import com.vk.api.sdk.client.VkApiClient; import com.vk.api.sdk.client.actors.GroupActor; import com.vk.api.sdk.client.actors.UserActor; import com.vk.api.sdk....
2,296