max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
535
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
7,330
11,356
/*============================================================================= Phoenix V1.2.1 Copyright (c) 2001-2003 <NAME> Use, modification and distribution is 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....
1,361
799
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 HTML_TEMPLATE = ( "</br>" "<div style='color:#404142; text-align:center; font-size:17px;'>" "{status}" "</div>" "<div class='editable-field-wrapper' style='text-align:center;'>" "{message}" "</div>" ...
873
1,144
<reponame>dram/metasfresh /* * #%L * metasfresh-webui-api * %% * Copyright (C) 2020 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of the * License, or...
839
482
package io.cattle.platform.process.externalevent; import static io.cattle.platform.core.constants.ExternalEventConstants.*; import static io.cattle.platform.core.model.tables.AgentTable.*; import static io.cattle.platform.core.model.tables.StackTable.*; import static io.cattle.platform.core.model.tables.ServiceTable.*...
6,151
1,481
<filename>src/assets/cmesh.c #include "assets/cmesh.h" #include "data/vertex_list.h" static sphere ctri_bound(ctri t) { vec3 center = vec3_div(vec3_add(vec3_add(t.a, t.b), t.c), 3); float radius = 0; radius = max(radius, vec3_dist_sqrd(t.a, center)); radius = max(radius, vec3_dist_sqrd(t.b, center)); ...
5,739
4,625
<gh_stars>1000+ // Copyright 2019 JanusGraph 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 applica...
402
2,151
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_SHELL_RENDERER_SHELL_RENDER_VIEW_OBSERVER_H_ #define CONTENT_SHELL_RENDERER_SHELL_RENDER_VIEW_OBSERVER_H_ #include "base/macros.h" #inclu...
310
564
/* * sdbg.c * * Debug helpers (data formatting, etc.). * * Copyright (c) 2015-2020 <NAME>. All rights reserved. * Released under the BSD 3-Clause License (see the doc/LICENSE) */ #include "sdbg.h" const char *sv_type_to_label(const enum eSV_Type t) { switch (t) { #define CXSV(t) ...
3,058
303
<gh_stars>100-1000 #ifndef _LANG_CONTEXT_HEADER #define _LANG_CONTEXT_HEADER #ifdef _DEBUG #ifndef DBG_NEW #define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ ) #define new DBG_NEW #endif #define _CRTDBG_MAP_ALLOC //#define _CRTDBG_MAP_ALLOC_NEW #include <crtdbg.h> #endif #include <functional> #i...
1,692
348
{"nom":"Sireix","circ":"2ème circonscription","dpt":"Hautes-Pyrénées","inscrits":54,"abs":20,"votants":34,"blancs":1,"nuls":0,"exp":33,"res":[{"nuance":"RDG","nom":"<NAME>","voix":26},{"nuance":"REM","nom":"<NAME>","voix":7}]}
95
892
{ "schema_version": "1.2.0", "id": "GHSA-7qw8-4g2g-2m86", "modified": "2022-05-13T01:28:35Z", "published": "2022-05-13T01:28:35Z", "aliases": [ "CVE-2013-5709" ], "details": "The authentication implementation in the web server on Siemens SCALANCE X-200 switches with firmware before 5.0.0 does not use ...
494
2,389
<reponame>Ankit01Mishra/java /* Copyright 2020 The Kubernetes 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 ...
603
314
<gh_stars>100-1000 /***************************************************************************** * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the Licen...
1,407
16,989
// Copyright 2020 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
1,475
335
{ "word": "Shipbuilding", "definitions": [ "The design and construction of ships." ], "parts-of-speech": "Noun" }
59
1,775
<reponame>nightfuryyy/mmpose<filename>.dev_scripts/github/update_copyright.py<gh_stars>1000+ #!/usr/bin/env python # Copyright (c) OpenMMLab. All rights reserved. import argparse import os import os.path as osp import re import sys HEADER = 'Copyright (c) OpenMMLab. All rights reserved.\n' HEADER_KEYWORDS = {'Copyrig...
1,406
23,439
/* * Copyright 1999-2020 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 by applica...
1,796
385
#ifndef Corrade_Interconnect_Connection_h #define Corrade_Interconnect_Connection_h /* This file is part of Corrade. Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 <NAME> <<EMAIL>> Permission is hereby granted, free of cha...
3,139
680
<filename>ff4j-core/src/test/java/org/ff4j/test/strategy/el/ExpressionParserTest.java package org.ff4j.test.strategy.el; /* * #%L * ff4j-core * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2013 Ff4J * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
2,150
410
{ "category": "toberone-gate", "dId": "e8a979de28fef3fdc3a5f6ee1c971260273dd814493fa1760d0b098c", "date_publish": "2016-11-08 17:04:00", "description": "TOBLERONE has angered consumers for shrinking its famous triangular chocolate chunks but the company insists Brexit is not to blame.", "filename": "e8a979de2...
1,445
930
package com.foxinmy.weixin4j.response; /** * 回复视频消息 * * @className VideoResponse * @author jinyu(<EMAIL>) * @date 2015年5月5日 * @since JDK 1.6 * @see */ public class VideoResponse implements WeixinResponse { /** * 通过上传多媒体文件,得到的id */ private String mediaId; /** * 视频消息标题 */ private String title; /**...
584
965
class CMyLargeDocument : public CDocument { public: virtual void Serialize(CArchive &ar); }; void CMyLargeDocument::Serialize(CArchive &ar) { if (ar.IsStoring()) ar.SetStoreParams(); // use large defaults else ar.SetLoadParams(); if (ar.IsStoring()) { // code for storing CMyLargeDocume...
154
558
<reponame>wibeasley/readr<filename>src/SourceString.h #ifndef FASTREAD_SOURCESTRING_H_ #define FASTREAD_SOURCESTRING_H_ #include "cpp11/strings.hpp" #include "Source.h" class SourceString : public Source { cpp11::sexp string_; const char* begin_; const char* end_; public: SourceString( cpp11::strings...
344
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 ...
1,464
7,073
class JSON: def keyword_in_json(self): pass class resource: def keyword_in_resource(self): pass
53
1,615
<filename>ThirtyPartyFramework/Pods/FLEX/Classes/ViewHierarchy/FLEXHierarchyTableViewController.h // // FLEXHierarchyTableViewController.h // Flipboard // // Created by <NAME> on 2014-05-01. // Copyright (c) 2014 Flipboard. All rights reserved. // #import <UIKit/UIKit.h> @protocol FLEXHierarchyTableViewController...
306
5,169
<reponame>Gantios/Specs<gh_stars>1000+ { "name": "StartupReasonReporter", "version": "0.1.0", "summary": "Provides the reason that an iOS application has launched.", "description": "The Startup Reason Reporter provides developers the the reason that an iOS application has launched, or equivalently, the reason t...
389
2,047
""" This module contains an IPython extension. """
13
358
/* ========================================================================== * cache.c - Simple Query Cache for dns.c * -------------------------------------------------------------------------- * Copyright (c) 2010 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of thi...
4,048
1,526
/* * 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 ...
775
803
<reponame>savegame/oxygine-framework #pragma once #include "../oxygine-include.h" #include "Aligner.h" #include "../core/Object.h" #include "../math/Color.h" #include "../math/Vector2.h" #include <string> #include <vector> namespace pugi { class xml_node; } namespace oxygine { class RenderState; struct gl...
1,183
335
{ "word": "Copy", "definitions": [ "A thing made to be similar or identical to another.", "A single specimen of a particular book, record, or other publication or issue.", "Matter to be printed.", "Material for a newspaper or magazine article.", "The text of an advertisem...
153
484
/* * Copyright 2017 Xiaomi, 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 in ...
783
348
{"nom":"Ernestviller","circ":"5ème circonscription","dpt":"Moselle","inscrits":384,"abs":206,"votants":178,"blancs":9,"nuls":3,"exp":166,"res":[{"nuance":"LR","nom":"<NAME>","voix":88},{"nuance":"REM","nom":"Mme <NAME>","voix":78}]}
94
6,034
<reponame>ssSlowDown/onemall package cn.iocoder.mall.shopweb.service.promotion; import cn.iocoder.common.framework.enums.CommonStatusEnum; import cn.iocoder.common.framework.util.CollectionUtils; import cn.iocoder.common.framework.vo.CommonResult; import cn.iocoder.mall.productservice.rpc.spu.ProductSpuRpc; import cn....
1,121
3,069
#!/usr/bin/env python ''' Copyright (C) 2020, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'Nemesida (PentestIt)' def is_waf(self): schemes = [ self.matchContent(r'@?nemesida(\-security)?\.com'), self.matchContent(r'Suspicious activity detected.{0,10}?Access to the ...
200
2,151
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1,178
1,647
<reponame>davidbrochart/pythran #ifndef PYTHONIC_INCLUDE_TYPES_FLOAT128_HPP #define PYTHONIC_INCLUDE_TYPES_FLOAT128_HPP #endif
70
412
int main() { double a, b; union { double f; long long unsigned int i; // needs to have 64 bits } au, bu; au.f = a; bu.f = b; assert((au.i == bu.i) == __CPROVER_equal(a, b)); }
89
2,637
<reponame>nateglims/amazon-freertos<gh_stars>1000+ /** * \file * \brief Software implementation of the SHA256 algorithm. * * \copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. * * \page License * * Subject to your compliance with these terms, you may use Microchip software * and any deriv...
792
675
#pragma once #include "engine/core/memory/MemAllocDef.h" #include <thirdparty/pugixml/pugixml.hpp> #include "engine/core/io/stream/DataStream.h" namespace Echo { class XmlBinaryReader { public: // data struct Data { String m_name; String m_type; i32 m_offset = 0; i32 m_size = 0; ByteArra...
469
623
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2021 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
9,959
457
""" The top-level model of training-time PixLoc. Encapsulates the feature extraction, pose optimization, loss and metrics. """ import torch from torch.nn import functional as nnF import logging from copy import deepcopy import omegaconf from .base_model import BaseModel from . import get_model from .utils import maske...
3,323
3,084
<gh_stars>1000+ #ifndef __INC_TDLSGEN_H #define __INC_TDLSGEN_H #if (TDLS_SUPPORT == 1) VOID TDLS_Init( PADAPTER Adapter ); VOID TDLS_Reset( PADAPTER Adapter ); VOID TDLS_QueryCapability( PADAPTER Adapter, PRT_TCB pTcb ); BOOLEAN TDLS_IndicatePacket( PADAPTER Adapter, POCTET_STRI...
4,365
5,411
#include <StdInc.h> #include <Hooking.h> #include <netObjectMgr.h> static rage::netObjectMgr** g_objectMgr; static hook::cdecl_stub<rage::netObject*(rage::netObjectMgr*, uint16_t, bool)> _getNetworkObject([]() { return hook::get_pattern("44 38 B1 08 27 00 00 0F 84", -0x23); }); namespace rage { netObjectMgr* netOb...
283
1,948
/* * Copyright (c) 2021 VMware, 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. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unl...
676
348
{"nom":"Saint-Germain-la-Blanche-Herbe","circ":"1ère circonscription","dpt":"Calvados","inscrits":1736,"abs":868,"votants":868,"blancs":16,"nuls":5,"exp":847,"res":[{"nuance":"REM","nom":"<NAME>","voix":320},{"nuance":"FI","nom":"Mme <NAME>","voix":107},{"nuance":"SOC","nom":"M. <NAME>","voix":99},{"nuance":"UDI","nom"...
381
359
{ "model": { "category": "CNN", "description": "Trained SqueezeNet model on Caffe2", "files": { "golden_output": { "filename": "labels.txt", "location": "https://s3.amazonaws.com/download.caffe2.ai/models/benchmark_models/images_tensor.txt", "md5": "6c4c7ba189284368b1956246f7...
958
1,099
<filename>go/deps.bzl # Copyright 2019 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless req...
521
3,263
/* * Copyright 2019 Immutables Authors and 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 by applica...
1,248
988
//------------------------------------------------------------------------------ // GB_mex_dup: copy a matrix //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2021, All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 //----------------...
3,376
313
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
3,136
325
<filename>Code/src/main/java/nl/utwente/viskell/ui/components/Connection.java package nl.utwente.viskell.ui.components; import java.util.Map; import java.util.Optional; import java.util.Set; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.geometry.Point2D; import jav...
4,579
5,169
{ "name": "SwiftyState", "version": "1.1.0", "summary": "A State Engine with a debug UI on iOS and iPadOS", "description": "With SwiftyState you create a single struct to keep all your data in, then you create actions to change that data. That struct is a central source of truth and you can subscribe to receive...
308
687
<reponame>Madara9744/kestra package io.kestra.core.tasks.scripts; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public abstract clas...
545
506
<filename>atcoder/abc085/cgen.py<gh_stars>100-1000 #!/usr/bin/env python2 import random a = random.randint(0, 10) b = random.randint(0, 10) c = random.randint(0, 10) print a + b + c, a * 10000 + b * 5000 + c * 1000 print a, b, c
101
945
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
670
518
<gh_stars>100-1000 { "name": "Lucca", "category": "HR & Legal", "start_url": "https://{{subdomain}}.ilucca.net/login/", "icons": [ { "src": "https://cdn.filestackcontent.com/JH5y8urQP6dUqZyVMLGS", "platform": "browserx" } ], "theme_color": "#F27020", "scope": "https://*.ilucca.net", ...
331
3,552
/* * Copyright 2013-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 * * Unless required by a...
1,277
2,611
<filename>ApkPatchLibraryServer/jni/com_cundong_utils_DiffUtils.h /* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class com_cundong_utils_JDiff */ #ifndef _Included_com_cundong_utils_JDiff #define _Included_com_cundong_utils_JDiff #ifdef __cplusplus extern "C" { #endif /* * Class:...
244
747
// // bisearch.c // Algorithms - Binary search // // Created by YourtionGuo on 11/05/2017. // Copyright © 2017 Yourtion. All rights reserved. // #include <stdlib.h> #include <string.h> #include "search.h" #pragma mark - Public int bisearch(void *sorted, const void *target, int size, int esize, int(...
483
14,668
// 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 "chrome/browser/devtools/device/cast_device_provider.h" #include "base/bind.h" #include "chrome/browser/devtools/device/android_device_manager.h...
1,616
3,084
<reponame>ixjf/Windows-driver-samples<filename>avstream/avscamera/sys/Util.cpp /************************************************************************** A/V Stream Camera Sample Copyright (c) 2013, Microsoft Corporation. File: util.cpp Abstract: Contains miscellaneous...
7,698
348
{"nom":"Nordhouse","circ":"5ème circonscription","dpt":"Bas-Rhin","inscrits":1382,"abs":852,"votants":530,"blancs":24,"nuls":15,"exp":491,"res":[{"nuance":"LR","nom":"<NAME>","voix":323},{"nuance":"REG","nom":"<NAME>","voix":168}]}
92
11,356
/* Copyright 2005-2007 Adobe Systems Incorporated 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). See http://stlab.adobe.com/gil for most recent version including doc...
1,651
8,865
/* * Copyright (C) 2008 The Android Open Source Project * 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, t...
2,476
14,668
<gh_stars>1000+ // 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 CHROME_BROWSER_SHARING_FAKE_SHARING_HANDLER_REGISTRY_H_ #define CHROME_BROWSER_SHARING_FAKE_SHARING_HANDLER_REGISTRY_H_ #include ...
508
1,301
<gh_stars>1000+ package com.silencedut.knowweather.api; import com.silencedut.baselib.commonhelper.log.LogHelper; import com.silencedut.hub_annotation.HubInject; import com.silencedut.knowweather.entity.AqiEntity; import com.silencedut.knowweather.entity.HeWeather; import com.silencedut.knowweather.entity.WeatherTrans...
1,617
427
<filename>MUKit/Classes/MUImagePickerManager/MUCircleView.h // // MUCircleView.h // MUKit_Example // // Created by Jekity on 2017/11/8. // Copyright © 2017年 Jeykit. All rights reserved. // #import <UIKit/UIKit.h> @interface MUCircleView : UIView @property (nonatomic, assign) IBInspectable CGFloat borderWidth; @pr...
149
2,671
if 1 < 1 > 1 == 1 >= 5 <= 0x15 <= 0x12 != 1 and 5 in 1 not in 1 is 1 or 5 is not 1: pass
37
5,169
{ "name": "Insights", "version": "1.0.0-beta02", "summary": "Insights SDK for iOS Hyperwallet UI SDK to capture the events", "homepage": "https://github.com/hyperwallet/hyperwallet-ios-insight", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Hyperwallet Systems Inc": "<EMAIL>" ...
251
585
#include "../Ui/TextInput.h" #include "../Interop/Interop.hpp" #include "../Localisation/StringManager.h" #include <SDL2/SDL.h> using namespace OpenLoco::Interop; namespace OpenLoco::Ui::TextInput { static loco_global<int32_t, 0x0112C876> _currentFontSpriteBase; // Common code from 0x0044685C, 0x004CE910 ...
2,511
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. #ifndef UI_GL_GL_WORKAROUNDS_H_ #define UI_GL_GL_WORKAROUNDS_H_ namespace gl { struct GLWorkarounds { // glClearColor does not always work on Intel 6x...
220
448
<reponame>miniksa/BuildXL // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include <stdio.h> int main(int argc, char** argv) { printf("Hello World!\n"); return 0; }
92
4,538
/* mbed Microcontroller Library ******************************************************************************* * Copyright (c) 2015, Realtek Semiconductor Corp. * All rights reserved. * * This module is a confidential and proprietary property of RealTek and * possession or use of this module requires written per...
366
5,169
<gh_stars>1000+ { "name": "Navy", "version": "0.3.1", "summary": "This is a tool which could easily observe and visualize each route and flow we are tracking on the real time.", "description": "For a big App, sometime it's hard to check and debug which route we are using. what reaction will be happened once we ...
328
965
class ATL_NO_VTABLE CConnect2 : public CComObjectRootEx<CComSingleThreadModel>, public CComCoClass<CConnect2, &CLSID_Connect2>, public IConnectionPointContainerImpl<CConnect2>, public IPropertyNotifySinkCP<CConnect2> { public: BEGIN_CONNECTION_POINT_MAP(CConnect2) CONNECTION_POINT_ENTRY(IID_IProper...
153
1,443
<reponame>cssence/mit-license<filename>users/mango-domx.json { "copyright": "<NAME>", "url": "https://mm.co", "email": "<EMAIL>", "format": "html", "license": "mit", "theme": "default-dark", "gravatar": true }
93
711
package com.java110.utils.constant; /** * Created by wuxw on 2017/7/23. */ public class RuleDomain { //RULE_COND_RETURN public static final String RULE_COND_RETURN_0000 = "0000";//成功 public static final String RULE_COND_RETURN_0001 = "0001";//继续调存过校验 public static final String RULE_COND_RETURN_0002...
1,269
329
package com.github.rongi.rotate_layout.layout; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.Rect; import android.graphics.RectF; import android.util.AttributeSet; import android.view.MotionEvent; import an...
2,021
12,278
<reponame>geenen124/iresearch // Copyright (C) 2020 <NAME> // // 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) #ifndef BOOST_TEXT_GRAPHEME_VIEW_HPP #define BOOST_TEXT_GRAPHEME_VIEW_HPP #include <boost/text/graphe...
3,295
4,071
<filename>blaze/blaze/graph/graph.h /* * \file graph.h * \brief The graph definition */ #pragma once #include <map> #include <set> #include <string> #include "blaze/common/common_defines.h" #include "blaze/proto/blaze.pb.h" namespace blaze { // Graph node struct Node { Node() { } // Get the node index, who...
1,636
2,133
#!/usr/bin/env python import os qgc_rc = "qgroundcontrol.qrc" res_rc = "qgcresources.qrc" qgc_exc = "qgroundcontrol.exclusion" res_exc = "qgcresources.exclusion" def read_file(filename): with open(filename) as src: return [line.rstrip().lstrip() for line in src.readlines()] def process(src, exclusion, ...
573
640
/* * aPLib compression library - the smaller the better :) * * C safe depacker, header file * * Copyright (c) 1998-2004 by <NAME> / Jibz * All Rights Reserved * * http://www.ibsensoftware.com/ */ #ifndef DEPACKS_H_INCLUDED #define DEPACKS_H_INCLUDED #ifdef __cplusplus extern "C" { #endif ...
331
2,151
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_MOJO_SERVICES_GPU_MOJO_MEDIA_CLIENT_H_ #define MEDIA_MOJO_SERVICES_GPU_MOJO_MEDIA_CLIENT_H_ #include <memory> #include "base/macros.h" #in...
1,002
309
<reponame>cvandijck/VTKExamples<gh_stars>100-1000 #include <vtkCamera.h> #include <vtkContourFilter.h> #include <vtkNamedColors.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProgrammableSource.h> #include <vtkProperty.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #incl...
978
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 THIRD_PARTY_BLINK_RENDERER_MODULES_LOCKS_LOCK_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_LOCKS_LOCK_H_ #include "third_party/blink/public/plat...
909
467
<gh_stars>100-1000 package com.yoyiyi.soleil.event; import com.yoyiyi.soleil.bean.app.video.VideoDetail; import com.yoyiyi.soleil.bean.app.video.VideoDetailComment; import com.yoyiyi.soleil.bean.search.Search; import com.yoyiyi.soleil.bean.user.UpDetail; import java.util.List; /** * @author zzq 作者 E-mail: <EMAI...
659
1,359
package com.kalessil.phpStorm.phpInspectionsEA.classes; import com.kalessil.phpStorm.phpInspectionsEA.PhpCodeInsightFixtureTestCase; import com.kalessil.phpStorm.phpInspectionsEA.inspectors.semanticalAnalysis.classes.ClassMethodNameMatchesFieldNameInspector; final public class ClassMethodNameMatchesFieldNameInspector...
227
359
package com.tngtech.archunit.exampletest.junit5; import com.tngtech.archunit.example.layers.anticorruption.WrappedResult; import com.tngtech.archunit.example.layers.security.Secured; import com.tngtech.archunit.junit.AnalyzeClasses; import com.tngtech.archunit.junit.ArchTest; import com.tngtech.archunit.lang.ArchRule;...
528
9,425
""" :codeauthor: <NAME> <<EMAIL>> """ import pytest import salt.states.influxdb08_user as influxdb08_user from tests.support.mock import MagicMock, patch @pytest.fixture def configure_loader_modules(): return {influxdb08_user: {}} def test_present(): """ Test to ensure that the cluster admin or dat...
1,423
971
package com.ucar.datalink.common.jvm; /** * Created by lubiao on 2018/4/2. */ public class JvmSnapshot { private long startTime; private long youngUsed;//新生代已用内存 private long youngMax;//新生代最大内存 private long oldUsed;//老年代已用内存 private long oldMax;//老年代最大内存 private long youngCollectionCount...
997
4,538
<reponame>wstong999/AliOS-Things<gh_stars>1000+ /* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef K_COMPILER_H #define K_COMPILER_H #if defined(__CC_ARM) #define RHINO_INLINE static __inline /* get the return address of the current function unsigned int __return_address(void)...
1,603
16,789
<reponame>vivithemage/certbot<gh_stars>1000+ """Tests for certbot.helpful_parser""" import unittest try: import mock except ImportError: # pragma: no cover from unittest import mock from certbot import errors from certbot._internal.cli import HelpfulArgumentParser from certbot._internal.cli import _DomainsAct...
4,291
2,226
#include <inttypes.h> #include <math.h> #include <limits.h> #include <signal.h> #include <stdint.h> #include "types.h" #include "player.h" #include "stream_handler.h" static void do_exit(VideoState *is) { if (is) { StreamHandler::stream_close(is); } if (renderer) SDL_DestroyRenderer(...
6,354
819
# -*- encoding: utf-8 -*- """基于环形数组实现的一个简单队列 数组A[1..n]实现最多容纳n-1个元素的队列。 """ class ArrayQueue: def __init__(self, size): self.head = 0 # 队头元素下标 self.tail = 0 # 下一个插入位置 self._arr = [None] * size # 实际存放数据的数组 def is_empty(self): return self.head == self.tail def is_full(sel...
872
1,086
<gh_stars>1000+ /* alplatf.h is generated from alplatf.h.cmake */ /* #undef ALLEGRO_MINGW32 */ /* #undef ALLEGRO_UNIX */ #define ALLEGRO_MSVC /* #undef ALLEGRO_MACOSX */ /* #undef ALLEGRO_BCC32 */ /* #undef ALLEGRO_IPHONE */ /* #undef ALLEGRO_ANDROID */ /* #undef ALLEGRO_RASPBERRYPI */ /* #undef ALLEGRO_CFG_NO_FPU */ /...
1,731
95,154
<gh_stars>1000+ { "name": "zone.js/webapis-shadydom.min", "main": "../../bundles/webapis-shadydom.umd.min.js", "fesm2015": "../../fesm2015/webapis-shadydom.min.js", "es2015": "../../fesm2015/webapis-shadydom.min.js", "module": "../../fesm2015/webapis-shadydom.min.js" }
134
7,713
/** * Copyright (c) 2015-present, Facebook, Inc. * 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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
884