max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
7,482
/*  * @ : Copyright (c) 2021 Phytium Information Technology, Inc.  *  * SPDX-License-Identifier: Apache-2.0.  * * @Date: 2021-04-07 09:53:07 * @LastEditTime: 2021-04-07 15:29:20 * @Description:  This files is for list data structure * * @Modify History: * Ver   Who        Date         Changes * ----- ------    ...
225
1,844
<reponame>MozartWang/braft<filename>src/braft/closure_helper.h<gh_stars>1000+ // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are per...
16,824
521
/* $Id: USBProxyService.cpp $ */ /** @file * VirtualBox USB Proxy Service (base) class. */ /* * Copyright (C) 2006-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or mo...
13,146
1,350
<reponame>billwert/azure-sdk-for-java<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.servicefabric.fluent.models; import com.azure.core.annotation.Fluent; impor...
9,102
880
/** * Copyright 2019 <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 wr...
2,839
462
## # Copyright (c) 2009-2017 Apple 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 required by applicable l...
9,812
410
<reponame>GyPapi/RHash<gh_stars>100-1000 /* tth.c - calculate TTH (Tiger Tree Hash) function. * * Copyright (c) 2007, <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR ...
1,383
777
<gh_stars>100-1000 #!/usr/bin/env python # 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. """Script to download LLVM gold plugin from google storage.""" import find_depot_tools import json import os import...
591
690
<filename>artemis-core/artemis/src/main/java/com/artemis/ComponentTypeFactory.java<gh_stars>100-1000 package com.artemis; import java.lang.reflect.Modifier; import java.util.IdentityHashMap; import com.artemis.utils.Bag; import com.artemis.utils.reflect.ClassReflection; import com.artemis.utils.reflect.Constructor; ...
953
1,030
{ "rtId": { "type": "String", "metadata": { "description": "Resource Id of the route table. Example:/subscriptions/yourSubscription/resourceGroups/yourResourceGroup/providers/Microsoft.Network/routeTables/aTable", "displayName": "Route Table Id" } } }
112
1,444
package mage.cards.s; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.condition.common.MetalcraftCondition; import mage.abilities.decorator.ConditionalAsThoughEffect; import mage.abilities.decorator.ConditionalContinuousEffect; import mage.abi...
777
8,747
<reponame>DCNick3/esp-idf void app_main(void) { }
26
32,544
package com.baeldung.jdbcmetadata; import org.apache.log4j.Logger; import java.sql.SQLException; public class JdbcMetadataApplication { private static final Logger LOG = Logger.getLogger(JdbcMetadataApplication.class); public static void main(String[] args) { DatabaseConfig databaseConfig = new Dat...
449
743
<reponame>althink/hermes package pl.allegro.tech.hermes.client; public interface MessageDeliveryListener { void onSend(HermesResponse response, long latency); void onFailure(HermesResponse message, int attemptCount); void onFailedRetry(HermesResponse message, int attemptCount); void onSuccessfulRet...
131
742
<reponame>TotalCaesar659/OpenTESArena<gh_stars>100-1000 #include <algorithm> #include "SDL.h" #include "GameWorldPanel.h" #include "LoadSavePanel.h" #include "MainMenuPanel.h" #include "OptionsPanel.h" #include "PauseMenuPanel.h" #include "PauseMenuUiController.h" #include "../Game/Game.h" #include "../Math/Constants...
1,143
348
{"nom":"Doubs","circ":"5ème circonscription","dpt":"Doubs","inscrits":1952,"abs":974,"votants":978,"blancs":11,"nuls":10,"exp":957,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":382},{"nuance":"LR","nom":"Mme <NAME>","voix":275},{"nuance":"FN","nom":"<NAME>","voix":109},{"nuance":"FI","nom":"Mme <NAME>","voix":102},{...
239
777
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/media/video_capture_manager.h" #include <algorithm> #include <set> #include <utility> #include "base/bind.h"...
18,039
930
# Copyright 2016 IBM 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 in writing, s...
669
8,360
# coding:utf-8 # Copyright (c) 2020 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-2.0 # # Unless req...
2,586
381
<filename>push-sender/src/main/java/org/jboss/aerogear/unifiedpush/message/jms/APNSClientProducer.java package org.jboss.aerogear.unifiedpush.message.jms; import javax.ejb.Stateless; import org.jboss.aerogear.unifiedpush.api.APNSVariant; @Stateless public class APNSClientProducer extends AbstractJMSMessageProducer { ...
191
346
{ "name": "calendario", "version": "2.0.0", "homepage": "http://tympanus.net/codrops/2012/11/27/calendario-a-flexible-calendar-plugin/", }
66
975
<filename>shieldCore/src/main/java/com/dianping/agentsdk/pagecontainer/OnTopViewLayoutChangeListener.java package com.dianping.agentsdk.pagecontainer; import android.view.View; import android.view.ViewGroup; /** * Created by zhi.he on 2018/3/23. */ public interface OnTopViewLayoutChangeListener { void onLayout...
135
2,151
{ "name": "identity_unittests", "display_name": "<NAME>", "interface_provider_specs": { "service_manager:connector": { "provides": { "service_manager:service_factory": [ "service_manager.mojom.ServiceFactory" ] }, "requires": { "identity": [ "identity_manage...
166
707
<filename>wpilibc/src/main/native/cpp/simulation/PWMSim.cpp // Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #include "frc/simulation/PWMSim.h" #include <memory> #inclu...
1,582
14,668
<reponame>zealoussnow/chromium // Copyright 2020 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 ASH_CLIPBOARD_VIEWS_CLIPBOARD_HISTORY_TEXT_ITEM_VIEW_H_ #define ASH_CLIPBOARD_VIEWS_CLIPBOARD_HISTORY_TEXT_ITEM_VIE...
463
2,728
# /* ************************************************************************** # * * # * (C) Copyright <NAME> 2002. # * Distributed under the Boost Software License, Version 1.0. (See # * accompanying file LICENSE_1_0.txt or copy ...
24,759
335
<gh_stars>100-1000 { "word": "Commercial", "definitions": [ "Concerned with or engaged in commerce.", "Making or intended to make a profit.", "Having profit rather than artistic or other value as a primary aim.", "(of television or radio) funded by the revenue from broadcast adve...
152
1,016
<filename>metadata/metadata-modeshape/src/main/java/com/thinkbiganalytics/metadata/modeshape/datasource/JcrDatasourceProvider.java package com.thinkbiganalytics.metadata.modeshape.datasource; /*- * #%L * thinkbig-metadata-modeshape * %% * Copyright (C) 2017 ThinkBig Analytics * %% * Licensed under the Apache Lic...
8,275
7,986
<reponame>stackriot-labs/gitsome # -*- coding: utf-8 -*- """Main entry points of the xonsh history.""" import argparse import builtins import datetime import functools import json import os import sys from xonsh.history.base import History from xonsh.history.dummy import DummyHistory from xonsh.history.json import Jso...
6,113
934
{ "theme_name": "IDA-Dark by UNIS", "author": "UNIS", "version": "v1.0", "preview_image": "preview.png", "clr_file": "myColors.clr", "qss_file": "stylesheet.qss" }
95
1,006
<reponame>eenurkka/incubator-nuttx /**************************************************************************** * include/nuttx/ioexpander/tca64xx.h * * Copyright (C) 2016 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * This header file derives, in part, from the Project Ara TCA64xx driver * whi...
1,440
402
/* * Copyright 2000-2021 <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 ...
2,903
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Scye","circ":"1ère circonscription","dpt":"Haute-Saône","inscrits":104,"abs":25,"votants":79,"blancs":2,"nuls":14,"exp":63,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":38},{"nuance":"FN","nom":"Mme <NAME>","voix":25}]}
114
872
<reponame>krishna13052001/LeetCode #!/usr/bin/python3 """ Given two strings S and T, return if they are equal when both are typed into empty text editors. # means a backspace character. Example 1: Input: S = "ab#c", T = "ad#c" Output: true Explanation: Both S and T become "ac". Example 2: Input: S = "ab##", T = "c#d...
571
488
public class Synch { public synchronized void s() { // This call to notify() isn't supposed to cause a // java.lang.IllegalMonitorStateException. notify (); } public static void main (String[] args) { (new Synch()).s(); System.out.println ("Ok"); } }
119
14,668
// 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 "chrome/browser/ash/guest_os/guest_os_registry_service.h" #include <utility> #include "ash/constants/ash_features.h" #include "ash/public/cpp/a...
18,900
320
from guizero import App, PushButton, Text def get_folder(): folder_returned = app.select_folder() folder_name.value = folder_returned app = App() PushButton(app, command=get_folder, text="Get folder") folder_name = Text(app) app.display()
86
1,251
<reponame>palerdot/BlingFire /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ #include "blingfire-compile_src_pch.h" #include "FAConfig.h" #include "FAMealyNfa2Dfa.h" #include "FARSNfaA.h" #include "FAMealyNfaA.h" #include "FAUtils.h" namespace Blin...
5,514
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices */ // iOSOpenDev: wrapped with define check (since occurs in other dumped files) #ifndef __XXStruct_kFm5bA__ #define __XXStruct_kFm5bA__ 1 typedef struct { unsigned long _field1; i...
931
619
<filename>tools/mull-cxx-frontend/src/MullClangPlugin.cpp #include "ASTInstrumentation.h" #include "ASTMutationsSearchVisitor.h" #include "ASTNodeFactory.h" #include "MullASTMutator.h" #include "MutationMap.h" #include <clang/AST/AST.h> #include <clang/AST/ASTConsumer.h> #include <clang/Frontend/CompilerInstance.h> #i...
1,831
303
<gh_stars>100-1000 // // SRMockWaitBlockOperation.h // SignalR.Client.ObjC // // Created by <NAME> on 3/15/16. // Copyright © 2016 DyKnow LLC. All rights reserved. // #import <Foundation/Foundation.h> @interface SRMockWaitBlockOperation : NSObject @property (readwrite, nonatomic, copy) void (^afterWait)(); @prop...
174
337
<filename>python/setup.py #!/usr/bin/env python """ pyton_setup.py file for SWIG ultimateAlprSdk You must run this file from 'binaries/os/arch' (e.g. 'binaries/windows/x86_64') folder. """ from distutils.core import setup, Extension from distutils import sysconfig from Cython.Distutils import build_ext from sys impor...
687
397
<gh_stars>100-1000 // // UITextField+Chat.h // sample-push-notifications // // Created by Injoit on 18.11.2020. // Copyright © 2020 QuickBlox. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UITextField (Chat) - (void)setPadding:(CGFloat)padding isLeft:(Boolean)isLeft; - (voi...
170
777
// 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 SymbolsIterator_h #define SymbolsIterator_h #include "platform/fonts/FontFallbackPriority.h" #include "platform/fonts/FontOrientation.h" #include...
362
1,537
<filename>pynq/lib/_pynq/common/aarch64/xparameters.h #ifndef XPARAMETERS_H /* prevent circular inclusions */ #define XPARAMETERS_H /* by using protection macros */ /* Definition for CPU ID */ #define XPAR_CPU_ID 0U /* Definitions for peripheral PSU_CORTEXA53_0 */ #define XPAR_PSU_CORTEXA53_0_CPU_CLK_FREQ_HZ 1199...
29,282
338
#include "RenderPass.hpp" namespace myvk { std::shared_ptr<RenderPass> RenderPass::Create(const std::shared_ptr<Device> &device, const VkRenderPassCreateInfo &create_info) { std::shared_ptr<RenderPass> ret = std::make_shared<RenderPass>(); ret->m_device_ptr = device; ...
249
317
/* OTB patches: replace "f2c.h" by "otb_6S.h" */ /*#include "f2c.h"*/ #include "otb_6S.h" #ifdef __cplusplus extern "C" { #endif struct { doublereal ee, thm, sthm, cthm; } ladak_; #ifdef __cplusplus } #endif
111
8,586
<reponame>liuqian1990/nebula /* Copyright (c) 2018 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License. */ #ifndef CODEC_COMMON_H_ #define CODEC_COMMON_H_ #include "common/base/Base.h" namespace nebula { template <typename IntType> typename std::enable_if<std::is_integral<t...
1,539
436
/** * The MIT License * Copyright (c) 2018 Estonian Information System Authority (RIA), * Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK) * Copyright (c) 2015-2017 Estonian Information System Authority (RIA), Population Register Centre (VRK) * * Permission is hereby grante...
1,043
3,372
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
3,366
28,056
package com.alibaba.json.bvt; import java.io.ByteArrayOutputStream; import java.io.ObjectOutputStream; import junit.framework.TestCase; import com.alibaba.json.test.entity.case2.Category; public class CircularReferenceTest extends TestCase { public void test_0() throws Exception { ByteArray...
343
348
{"nom":"Saint-Judoce","circ":"2ème circonscription","dpt":"Côtes-d'Armor","inscrits":439,"abs":170,"votants":269,"blancs":8,"nuls":2,"exp":259,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":82},{"nuance":"DVD","nom":"<NAME>","voix":57},{"nuance":"FI","nom":"M. <NAME>","voix":32},{"nuance":"FN","nom":"Mme <NAME>","voix...
310
348
{"nom":"Lavardin","circ":"1ère circonscription","dpt":"Sarthe","inscrits":575,"abs":315,"votants":260,"blancs":19,"nuls":6,"exp":235,"res":[{"nuance":"LR","nom":"<NAME>","voix":125},{"nuance":"REM","nom":"<NAME>","voix":110}]}
89
307
package com.tairanchina.csp.avm.service; import com.tairanchina.csp.avm.dto.ServiceResult; /** * Created by hzlizx on 2018/6/22 0022 */ public interface RnService { /** * 获取Rn路由列表 * @param version 版本号 * @param appId 应用 * @param platform 平台(ios\android) * @param routeS...
464
1,442
#ifndef ION_DEVICE_BENCH_CONFIG_CONSOLE_H #define ION_DEVICE_BENCH_CONFIG_CONSOLE_H #include <regs/regs.h> namespace Ion { namespace Device { namespace Console { namespace Config { using namespace Regs; constexpr static USART Port = USART(6); constexpr static GPIOPin RxPin = GPIOPin(GPIOC, 7); constexpr static GPIO...
307
416
#ifndef _LIB_STRINGS_H #define _LIB_STRINGS_H #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } #endif #endif /* _LIB_STRINGS_H */
69
934
package knife; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.PrintWriter; import javax.swing.JMenuItem; import burp.BurpExtender; import burp.HelperPlus; import burp.IBurpExtenderCallbacks; import burp.IContextMenuInvocation; import burp.IExtensionHelpers; import burp.IHttpR...
677
316
{ "tags": { "allowUnknownTags": true }, "plugins": [ "plugins/markdown", "/Users/christrevino/Workspace/oss/chart-parts/packages/docs/docsite/node_modules/tsdoc/template/plugins/TSDoc.js" ], "opts": { "template": "/Users/christrevino/Workspace/oss/chart-parts/packages/docs/docsite/node_modules...
380
409
/* This file is a part of libcds - Concurrent Data Structures library (C) Copyright <NAME> (<EMAIL>) 2006-2016 Source code repo: http://github.com/khizmax/libcds/ Download: http://sourceforge.net/projects/libcds/files/ Redistribution and use in source and binary forms, with or without mod...
1,272
359
<filename>learntools/time_series/ex1.py from learntools.core import * from learntools.time_series.checking_utils import load_average_sales average_sales = load_average_sales()['sales'] # Interpret linear regression with the time dummy class Q1(ThoughtExperiment): _hint = """Do you remember the slope-intercept eq...
1,346
377
/******************************************************************************* * * Copyright 2016 Impetus Infotech. * * * * 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 * * ...
4,038
735
// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // Cloud Monitoring API (monitoring/v3) // Description: // Manages your Cloud Monitoring data and configurations. // Documentation: // https://cloud.google.com/monitor...
116
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...
695
872
<reponame>krishna13052001/LeetCode #!/usr/bin/python3 """ A string S of lowercase letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one part, and return a list of integers representing the size of these parts. Example 1: Input: S = "ababcbacadefegd...
580
2,414
/* * Copyright 2019 WeBank * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, softw...
860
953
/* * Copyright 2002-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
1,019
12,278
/*============================================================================= Copyright (c) 2001-2014 <NAME> http://spirit.sourceforge.net/ 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) ==============...
2,673
852
<gh_stars>100-1000 import FWCore.ParameterSet.Config as cms harvestingdatacertification = cms.EDFilter("HarvestingDataCertification", Verbosity = cms.untracked.int32(0), Name = cms.untracked.string('HarvestingDataCertification') )
88
1,144
<filename>backend/de.metas.contracts/src/main/java/de/metas/contracts/impl/SubscriptionTermEventListener.java package de.metas.contracts.impl; import java.util.List; import org.adempiere.exceptions.AdempiereException; import org.adempiere.model.InterfaceWrapperHelper; import org.compiere.util.TimeUtil; import de.met...
1,609
387
<reponame>MonkeyMo/MdCharm<filename>src/MdCharm/util/gui/markdowncheatsheetdialog.cpp #include <QHBoxLayout> #include "markdowncheatsheetdialog.h" #include "configuration.h" #include "markdowntohtml.h" MarkdownCheatSheetDialog::MarkdownCheatSheetDialog(QWidget *parent) : QDialog(parent, Qt::WindowTitleHint|Qt::Wi...
715
1,449
<reponame>catap/xhyve /*- * Copyright (c) 2011 NetApp, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notic...
1,855
511
struct cpuinfo_mock_file filesystem[] = { { .path = "/proc/cpuinfo", .size = 1141, .content = "processor\t: 0\n" "model name\t: ARMv7 Processor rev 0 (v7l)\n" "BogoMIPS\t: 38.40\n" "Features\t: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 \n" "CPU implementer\t: 0x41\n"...
29,398
310
package org.seasar.doma.internal.apt.processor.embeddable; import org.seasar.doma.Embeddable; import org.seasar.doma.internal.apt.lombok.Value; @Embeddable @Value public class LombokValue { @SuppressWarnings("unused") private String street; @SuppressWarnings("unused") private String city; public LombokVa...
123
324
<reponame>vergeml/VergeML<gh_stars>100-1000 """ Sample caching support. """ import struct import pickle import mmap import io import numpy as np import lz4.frame from vergeml import VergeMLError class Cache: """Abstract base class for caches. """ def write(self, data, meta): """Write data and me...
3,470
10,225
<filename>extensions/cache/deployment/src/test/java/io/quarkus/cache/test/devmode/CacheHotReloadResource.java package io.quarkus.cache.test.devmode; import javax.enterprise.context.ApplicationScoped; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.QueryParam; import io.quarkus.cache.CacheResult; ...
293
5,169
{ "name": "sqliteClasses", "version": "1.1.0", "summary": "Framework to utilize the SQLite with simple methods", "description": "sqliteClasses to utilize the SQLite with simple methods", "homepage": "http://osoftz.com", "license": "MIT", "authors": { "osoftz": "<EMAIL>" }, "platforms": { "ios"...
280
3,075
package org.powermock.reflect.internal.proxy; import java.lang.reflect.Method; import java.lang.reflect.Proxy; public class ProxyFrameworks { private static final UnproxiedTypeFactory UNPROXIED_TYPE_FACTORY = new UnproxiedTypeFactory(); public UnproxiedType getUnproxiedType(Class<?> type) { if ...
689
1,510
<gh_stars>1000+ /* * Copyright Ctrip. * * 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 agr...
2,272
1,773
<reponame>psunde/primefaces<gh_stars>1000+ /* * The MIT License * * Copyright (c) 2009-2021 PrimeTek * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including wi...
1,597
389
<reponame>andyyangdong/vester // // QSImageRenderer.h // Q Branch Standard Kit // // Created by <NAME> on 10/23/13. // Copyright (c) 2013 Q Branch LLC. All rights reserved. // @import Foundation; #if TARGET_OS_IPHONE @import UIKit; #else @import AppKit; #endif #import "QSPlatform.h" #import "QSBlocks.h" /*Use...
276
715
<gh_stars>100-1000 # Generated by the protocol buffer compiler. DO NOT EDIT! # source: onehot-param.proto import sys _b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protob...
3,234
335
<reponame>Safal08/Hacktoberfest-1<filename>T/Transpire_verb.json<gh_stars>100-1000 { "word": "Transpire", "definitions": [ "(of a secret or something unknown) come to be known; be revealed.", "Prove to be the case.", "Occur; happen.", "(of a plant or leaf) give off water vapour t...
159
816
<gh_stars>100-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 * * http://www.apache.org/licenses/LICENSE...
1,566
663
<gh_stars>100-1000 # (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under Simplified BSD License (see LICENSE) import functools from ddtrace import tracer from ..config import is_affirmative try: import datadog_agent except ImportError: # Integration Tracing is only available with Agent 6 ...
548
7,746
{ "Version": "1.0.0", "Intent": "ProductRelease", "ContentType": "Binaries", "ContentOrigin": "1stParty", "ProductState": "Next", "Audience": "ExternalBroad" }
67
332
<gh_stars>100-1000 #!/usr/bin/env python # -*- coding: utf-8 -*- """A usdview plugin that replaces the "Load" and "Unload" buttons in usdview.""" # IMPORT STANDARD LIBRARIES import functools import logging import sys # IMPORT THIRD-PARTY LIBRARIES from pxr import Sdf, Tf, Usd from pxr.Usdviewq import plugin LOGGER ...
1,072
973
package com.xw.project.gracefulmovies.data.db.entity; import android.arch.persistence.room.Entity; import android.arch.persistence.room.PrimaryKey; import com.google.gson.annotations.SerializedName; /** * <p> * Created by woxingxiao on 2018-08-08. */ @Entity(tableName = "cities") public class CityEntity { @P...
341
403
import os import math from flask import Flask from flask import Response from flask import json from shapely.geometry import Point app = Flask(__name__) @app.route('/') def index(): patch = Point(0.0, 0.0).buffer(10.0) patch print ("Area is: " + str(patch.area)) print("Index method is called.") re...
267
2,772
# ------------------------------------------------------------------------- # Copyright (c) 2020 <NAME>. All rights reserved. # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -----------------------------------...
330
19,529
<reponame>funrunskypalace/vnpy """""" import importlib class StructGenerator: """Struct生成器""" def __init__(self, filename: str, prefix: str): """Constructor""" self.filename = filename self.prefix = prefix self.typedefs = {} self.current_struct = {} self.load...
1,687
3,459
#ifndef __MDFN_MDCD_TIMER_H #define __MDFN_MDCD_TIMER_H void MDCD_Timer_Reset(void); void MDCD_Timer_Run(int32 clocks); void MDCD_Timer_Write(uint8 V); uint8 MDCD_Timer_Read(void); #endif
89
12,718
/* * ntddmou.h * * Mouse device IOCTL interface. * * This file is part of the w32api package. * * Contributors: * Created by <NAME> <<EMAIL>> * * THIS SOFTWARE IS NOT COPYRIGHTED * * This source code is offered for use in the public domain. You may * use, modify or distribute it freely. * * This code i...
1,939
530
/* * Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the ...
1,051
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 ...
285
430
{ "operations": [ { "operationName": "QueryWithStructs", "query": "\nquery QueryWithStructs {\n\tuser {\n\t\tauthMethods {\n\t\t\tprovider\n\t\t\temail\n\t\t}\n\t}\n}\n", "sourceLocation": "testdata/queries/QueryWithStructs.graphql" } ] }
128
1,056
<reponame>Antholoj/netbeans /* * 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 ...
6,590
346
{ "pip": [ "https://s3-us-west-2.amazonaws.com/cassandra-framework-dev/testing/dcos-cassandra-0.1.0.tar.gz" ] }
62
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Salindres","circ":"4ème circonscription","dpt":"Gard","inscrits":2639,"abs":1629,"votants":1010,"blancs":80,"nuls":45,"exp":885,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":451},{"nuance":"FN","nom":"Mme <NAME>","voix":434}]}
122
358
<reponame>AirGuanZ/Atrc #include <QLabel> #include <QLineEdit> #include <agz/editor/geometry/sphere.h> #include <agz/tracer/create/geometry.h> AGZ_EDITOR_BEGIN SphereWidget::SphereWidget(const CloneState &clone_state) { QHBoxLayout *layout = new QHBoxLayout(this); layout->addWidget(new QLabel("Radius", this...
1,950
38,667
<reponame>Istiakmorsalin/ML-Data-Science """ colorLib.table_builder: Generic helper for filling in BaseTable derivatives from tuples and maps and such. """ import collections import enum from fontTools.ttLib.tables.otBase import ( BaseTable, FormatSwitchingBaseTable, UInt8FormatSwitchingBaseTable, ) from ...
3,411