max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,617
<reponame>hmaarrfk/vispy<gh_stars>1000+ # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright (c) Vispy Development Team. All Rights Reserved. # Distributed under the (new) BSD License. See LICENSE.txt for more info. # ---------------------------------------...
581
1,580
import pymarketstore as pymkts import os import pandas as pd client = pymkts.Client(f"http://127.0.0.1:{os.getenv('MARKETSTORE_PORT',5993)}/rpc", grpc=(os.getenv("USE_GRPC", "false") == "true")) path = os.path.dirname(__file__) def test_raw_price_data(): params = pymkts.Params('AAPL', '1D...
854
3,285
/* Copyright 2020 The OneFlow 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 applicable law or agre...
21,509
1,035
from django import forms from django.test import TestCase from two_factor.validators import validate_international_phonenumber class ValidatorsTest(TestCase): def test_phone_number_validator_on_form_valid(self): class TestForm(forms.Form): number = forms.CharField(validators=[validate_interna...
388
428
<filename>Java/old/OpenGL-1.0(old_ver)/Loon-backend-JavaSE/src/loon/core/graphics/component/LPaper.java /** * Copyright 2008 - 2011 * * 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 * ...
1,444
3,442
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty 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.or...
845
488
// Allow repeated includes of descriptor.h without error #ifndef _PPP_PARTITION_OBJECT_LIST_H #define _PPP_PARTITION_OBJECT_LIST_H // GNU will build intances of all objects in the header file if this // is not specified. The result is very large object files (too many symbols) // so we can significantly reduce the si...
1,289
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...
9,701
3,227
<gh_stars>1000+ // Use it to include parallel computations in the bounded error Hausdorff distance. // #define USE_PARALLEL_BEHD // Use this def in order to get all DEBUG info related to the bounded-error Hausdorff code! // #define CGAL_HAUSDORFF_DEBUG #include <CGAL/Bbox_3.h> #include <CGAL/Real_timer.h> #include <C...
17,664
5,169
<reponame>Gantios/Specs { "name": "IndigoOmtIosLibrary", "version": "0.1.4", "cocoapods_version": ">= 1.2.0", "summary": "iOS library which simplifies access to INDIGO DataCloud API.", "description": "iOS library which simplifies access to INDIGO DataCloud API.\nFor more information visit https://github.com/i...
351
711
package com.java110.common.bmo.attrSpec; import com.java110.po.attrSpec.AttrSpecPo; import org.springframework.http.ResponseEntity; public interface IDeleteAttrSpecBMO { /** * 修改属性规格表 * add by wuxw * * @param attrSpecPo * @return */ ResponseEntity<String> delete(AttrSpecPo attr...
154
5,823
// Copyright 2013 The Flutter 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 BASE_CONTAINER_UTILS_H_ #define BASE_CONTAINER_UTILS_H_ #include <set> #include <vector> namespace base { template <class T, class Allocator, cl...
321
677
/* * Copyright (C) 2013 Apple 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 * notice, this list of conditions a...
648
321
/** * Most of the code in the Qalingo project is copyrighted Hoteia and licensed * under the Apache License Version 2.0 (release version 0.8.0) * http://www.apache.org/licenses/LICENSE-2.0 * * Copyright (c) Hoteia, 2012-2014 * http://www.hoteia.com - http://twitter.com/hoteia - <EMAIL> ...
1,739
429
<filename>apps/insmod.c /* vim: tabstop=4 shiftwidth=4 noexpandtab * This file is part of ToaruOS and is released under the terms * of the NCSA / University of Illinois License - see LICENSE.md * Copyright (C) 2016 <NAME> * * insmod - Load kernel module * */ #include <stdio.h> #include <errno.h> #include <sys/sy...
299
14,755
<gh_stars>1000+ # -*- coding: utf-8 -*- """ You can run this example like this: .. code:: console $ luigi --module examples.per_task_retry_policy examples.PerTaskRetryPolicy --worker-keep-alive \ --local-scheduler --scheduler-retry-delay 5 --logging-conf-file test/testconfig/logging.cfg ...
2,242
11,334
<filename>spring-boot-admin-server/src/test/java/de/codecentric/boot/admin/server/utils/jackson/InstanceEventMixinTest.java /* * Copyright 2014-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. ...
1,678
778
<filename>applications/PfemFluidDynamicsApplication/python_scripts/fluid_meshing_strategy.py from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7 #import kratos core and applications import KratosMultiphysics import KratosMultiphysics.De...
2,005
6,228
<gh_stars>1000+ import tensorflow.compat.v1 as tf def export_model(estimator, export_dir, params, checkpoint_path=None): def serving_input_receiver_fn(): t = tf.placeholder(dtype=tf.int64, shape=[1, params["n_ctx"]], name='input_exa...
246
376
// Copyright (C) 2020 <NAME> // This file is part of the "Nazara Engine - Vulkan Renderer" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/VulkanRenderer/VulkanCommandPool.hpp> #include <stdexcept> #include <Nazara/VulkanRenderer/Debug.hpp> namespace Nz { inline VulkanC...
732
1,144
<reponame>dram/metasfresh package org.adempiere.mm.attributes.api.impl; import java.math.BigDecimal; import java.time.LocalDate; import java.util.Date; import org.adempiere.mm.attributes.AttributeId; import org.adempiere.mm.attributes.AttributeSetInstanceId; import org.adempiere.mm.attributes.api.IAttributeDAO; impor...
1,919
1,066
/* * Copyright (c) 2002-2021, the original author or authors. * * This software is distributable under the BSD license. See the terms of the * BSD license in the documentation provided with this software. * * https://opensource.org/licenses/BSD-3-Clause */ package org.jline.reader; import java.io.StringWriter; ...
445
578
/* * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. * * License for BK-JOB蓝鲸智云作业平台: * ----------------------------------------------...
1,127
703
<gh_stars>100-1000 { "risk": { "id": 284138680, "message": "After further review, this is a legitimate order", "recommendation": "accept", "source": "External", "cause_cancel": false, "score": 0.0 } }
96
372
/* * 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 ...
4,686
672
#include "worker.h" #include <sys/types.h> #include <sys/socket.h> #include <list> #include <cctype> #include <utility> #include <algorithm> #include <glog/logging.h> #include "redis_request.h" #include "redis_connection.h" #include "server.h" #include "util.h" Worker::Worker(Server *svr, Config *config, bool repl) ...
4,483
1,144
<filename>uboot/common/system_map.c<gh_stars>1000+ /* * The builtin symbol table for use with kallsyms * * Copyright (c) 2008-2009 Analog Devices Inc. * Licensed under the GPL-2 or later. */ const char const system_map[] = SYSTEM_MAP;
79
1,140
/* * * * * Less painful Android development with Scala * * * http://scaloid.org * * * * * * * Copyright 2013 <NAME> and Scaloid team * * Sung-Ho Lee and Scaloid team licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with...
2,194
2,539
<filename>CPP/7zip/Compress/Lz4Decoder.cpp<gh_stars>1000+ // (C) 2016 <NAME> #include "StdAfx.h" #include "Lz4Decoder.h" int Lz4Read(void *arg, LZ4MT_Buffer * in) { struct Lz4Stream *x = (struct Lz4Stream*)arg; size_t size = in->size; HRESULT res = ReadStream(x->inStream, in->buf, &size); /* catch errors */...
1,713
435
{ "description": "Keynote at PyBay 2016\n\nBio\n<NAME> is an American software developer, engineering manager, and author. Since 2012, she has been a director of the Python Software Foundation. In 2013, McKellar won the O'Reilly Open Source Award for her contributions to Python. She is a contributor to Twisted, a net...
305
1,144
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2014 Freescale Semiconductor, Inc. */ #include <common.h> #include <errno.h> #include <power/pmic.h> #include <power/pfuze100_pmic.h> #ifndef CONFIG_DM_PMIC_PFUZE100 int pfuze_mode_init(struct pmic *p, u32 mode) { unsigned char offset, i, switch_num; u32 id; in...
1,968
8,966
import os import msvcrt import ctypes import sys from ctypes import wintypes __all__ = ['get'] cache = None def get(cap, *args, **kwargs): default = kwargs.pop('default', '') if 'PWNLIB_NOTERM' in os.environ: return default if kwargs != {}: raise TypeError("get(): No such argument %r" %...
1,163
4,775
<gh_stars>1000+ #ifndef _PH_FILEPOOL_H #define _PH_FILEPOOL_H #ifdef __cplusplus extern "C" { #endif // On-disk structures // Each file has at least one segment. Each segment has a number of blocks, which are allocated from // a bitmap. The segment header is always in the first block of each segment, excep...
2,193
347
<reponame>hbraha/ovirt-engine<gh_stars>100-1000 package org.ovirt.engine.ui.uicommonweb.validation; import java.util.Collection; /** * Validator that returns true if the given object is contained * in a given collection, and false otherwise * * Note: this validator is abstract as it doesn't return any * reason w...
241
72,551
<gh_stars>1000+ #undef MDR_REDEF_1 #define MDR_REDEF_1 "hello" #undef MDR_REDEF_2 #define MDR_REDEF_2 "world"
56
317
/** * Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved. * * You may not modify, use, reproduce, or distribute this software except in * compliance with the terms of the License at: * https://github.com/javaee/tutorial-examples/LICENSE.txt */ /* * To change this template, choose Tools...
392
14,668
// 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. #include "cc/tiles/image_decode_cache.h" #include "cc/raster/tile_task.h" namespace cc { ImageDecodeCache::TaskResult::TaskResult( bool need_unref,...
398
2,151
<reponame>zipated/src /* * This file is part of Wireless Display Software for Linux OS * * Copyright (C) 2014 Intel Corporation. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; e...
599
629
/* Copyright (c) 2017, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The Astrobee platform is licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with t...
1,928
1,931
<reponame>cdhiraj40/wemake-python-styleguide<filename>tests/fixtures/formatter/formatter1.py def s(handle: int) -> int: return handle + 2_00
59
737
<reponame>P4stry/MaskFaceRecognize<gh_stars>100-1000 #!/usr/bin/env python # encoding: utf-8 ''' @author: wujiyang @contact: <EMAIL> @file: pytorch2torchscript.py @time: 2019/2/18 17:45 @desc: convert your pytorch model to torch script and save to file '''
105
841
<filename>main/src/cgeo/geocaching/brouter/codec/MicroCache2.java package cgeo.geocaching.brouter.codec; import cgeo.geocaching.brouter.util.IByteArrayUnifier; /** * MicroCache2 is the new format that uses statistical encoding and * is able to do access filtering and waypoint matching during encoding */ public fin...
6,227
13,566
<filename>app/server/appsmith-server/src/main/java/com/appsmith/server/services/GitService.java package com.appsmith.server.services; import com.appsmith.server.domains.GitConfig; import com.appsmith.server.domains.UserData; import reactor.core.publisher.Mono; public interface GitService extends CrudService<UserData,...
145
488
<gh_stars>100-1000 import argparse import torch import dgcn log = dgcn.utils.get_logger() def main(args): dgcn.utils.set_seed(args.seed) # load data log.debug("Loading data from '%s'." % args.data) data = dgcn.utils.load_pkl(args.data) log.info("Loaded data.") trainset = dgcn.Dataset(data...
1,614
852
import FWCore.ParameterSet.Config as cms from JetMETCorrections.Configuration.JetCorrectorsAllAlgos_cff import * from JetMETCorrections.Configuration.CorrectedJetProducers_cff import * # L1 Correction Producers ak7CaloJetsL1 = ak4CaloJetsL1.clone( src = 'ak7CaloJets' ) kt4CaloJetsL1 = ak4CaloJetsL1.clone( src = 'kt4C...
4,796
831
/* * Copyright (C) 2015 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...
2,362
1,026
<filename>Artificial-intelligence_bot/bot.py import sys try: import aiml except ImportError: print('[!] Failed to import the module') try: select = raw_input('[*] Attempt to auto-install aiml? [Y/n') except KeyboardInterrupt: print('\n[!] User Cancel') sys.exit(5) if select.s...
432
1,019
package com.roncoo.education.system.service.api.pc; import java.util.ArrayList; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestCo...
652
578
<reponame>499689317/lordofpomelo {"LeftAttack":{"height":145,"className":"LeftAttack","width":175,"id":"1097","totalFrames":26},"LeftDefend":{"height":78,"className":"LeftDefend","width":97,"id":"1097","totalFrames":2},"LeftDie":{"height":147,"className":"LeftDie","width":108,"id":"1097","totalFrames":17},"LeftHit":{"h...
399
839
<reponame>kimjand/cxf /** * 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 (th...
3,691
794
package github.tornaco.thanox.android.server.patch.framework; import com.android.server.SystemService; import com.android.server.SystemServiceManager; import com.elvishew.xlog.XLog; import java.util.Arrays; import java.util.List; import github.tornaco.android.thanos.core.util.Optional; import lombok.val; import util...
734
459
/* * This file is part of choco-solver, http://choco-solver.org/ * * Copyright (c) 2021, IMT Atlantique. All rights reserved. * * Licensed under the BSD 4-clause license. * * See LICENSE file in the project root for full license information. */ package org.chocosolver.solver.search.strategy.assignments; import...
276
2,517
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include <type_traits> namespace caf::detail { template <class T, std::siz...
208
348
<gh_stars>100-1000 {"nom":"Saint-Loubouer","circ":"3ème circonscription","dpt":"Landes","inscrits":359,"abs":182,"votants":177,"blancs":6,"nuls":11,"exp":160,"res":[{"nuance":"REM","nom":"<NAME>","voix":107},{"nuance":"SOC","nom":"<NAME>","voix":53}]}
101
4,054
<filename>node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/configserver/ConfigServerApi.java<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.node.admin.configserver; import java.net.URI; import java.time.Du...
1,113
440
<gh_stars>100-1000 /** * Description: Merge sort tree for order statistics and rank query in range. * Usage: insertST O(lg(N)), removeST O(lg(N)), queryST O(lg^2(N)), queryOrderST O(lg^2(N)) * Source: https://github.com/dragonslayerx */ int queryOrderST(int n, int ll, int rl, int ql, int qr, int k) { if (ll ...
982
713
<reponame>blueblueblue/infinispan package org.infinispan.notifications.cachelistener.event; /** * This event is passed in to any method annotated with {@link org.infinispan.notifications.cachelistener.annotation.TransactionCompleted}. * <p/> * Note that this event is only delivered <i>after the fact</i>, i.e., you ...
239
1,602
<reponame>jhh67/chapel /* Initialize */ for (i = 1; i < Ilen; i++) for (j = 1, j < Jlen; j++) { purge (SWtab[i, j]) ; /* set all but row 0 and column 0 to empty */ } } /* Main Smith-Waterman scoring loop */ #pragma dynamic schedule for (k = 2; k < numDiag; k++) { /* loop over anit-diagonals ...
353
3,222
<gh_stars>1000+ package org.apache.maven.artifact.repository; /* * 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...
968
3,428
{"id":"00365","group":"easy-ham-1","checksum":{"type":"MD5","value":"b73623c2ea40e64854121432f02a5a15"},"text":"From <EMAIL> Thu Aug 29 11:04:14 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP...
1,375
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...
2,030
4,538
/* * Copyright 2009-2017 Alibaba Cloud 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...
1,189
3,586
package com.linkedin.metadata.systemmetadata; import com.linkedin.mxe.SystemMetadata; import lombok.AllArgsConstructor; import lombok.Data; @AllArgsConstructor @Data public class SystemMetadataEntry { SystemMetadata _systemMetadata; String _urn; String _aspect; Long _version; }
95
778
package org.aion.crypto; import java.math.BigInteger; public interface ECKey { ECKey fromPrivate(BigInteger privKey); ECKey fromPrivate(byte[] bs); byte[] computeAddress(byte[] pubBytes); byte[] getAddress(); byte[] getPubKey(); ISignature sign(byte[] msg); byte[] getPrivKeyBytes();...
345
1,131
<filename>core/src/main/java/com/cloud/agent/transport/LoggingExclusionStrategy.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 information // regarding copyright ownership. ...
697
344
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
648
1,131
// 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...
2,246
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Bussy-le-Grand","circ":"4ème circonscription","dpt":"Côte-d'Or","inscrits":251,"abs":124,"votants":127,"blancs":16,"nuls":3,"exp":108,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":59},{"nuance":"REM","nom":"<NAME>","voix":49}]}
117
52,316
#if STRINGLIB_IS_UNICODE # error "ctype.h only compatible with byte-wise strings" #endif #include "pycore_bytes_methods.h" static PyObject* stringlib_isspace(PyObject *self, PyObject *Py_UNUSED(ignored)) { return _Py_bytes_isspace(STRINGLIB_STR(self), STRINGLIB_LEN(self)); } static PyObject* stringlib_isalpha(Py...
1,361
1,062
// // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import <AppKit/NSViewController.h> @class ACAccount, NSNumber; @interface MailboxBehaviorsController : NSViewController { BOOL _accountNeedsSaving; // 16 = 0x10 } + (id)keyP...
528
3,227
<gh_stars>1000+ #include <CGAL/Simple_cartesian.h> #include <cassert> #include <vector> #include <algorithm> #include <CGAL/point_generators_2.h> #include <CGAL/algorithm.h> #include <CGAL/random_selection.h> using namespace CGAL; typedef Simple_cartesian<double> R; typedef R::Point_2 Po...
712
2,144
/** * 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...
2,314
8,454
from .manager import PluginManager from .builtin import BasicAuthPlugin, DigestAuthPlugin from ..output.formatters.headers import HeadersFormatter from ..output.formatters.json import JSONFormatter from ..output.formatters.xml import XMLFormatter from ..output.formatters.colors import ColorFormatter plugin_manager = ...
151
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. #ifndef CHROME_BROWSER_PREFETCH_NO_STATE_PREFETCH_NO_STATE_PREFETCH_NAVIGATION_THROTTLE_H_ #define CHROME_BROWSER_PREFETCH_NO_STATE_PREFETCH_NO_STATE_PREF...
575
1,305
/* * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.security.cert; import java.security.GeneralSecurityException; /** * An exception indica...
909
675
#coding:utf8 ''' Created on 2013-8-6 @author: lan (www.9miao.com) ''' import json,sys from firefly.server.server import FFServer if __name__=="__main__": args = sys.argv servername = None config = None if len(args)>2: servername = args[1] config = json.load(open(args[2],'r')) else:...
291
311
<reponame>80952556400/java-language-server package org.javacs.action; class TestGenerateConstructor { final int i; }
46
316
<reponame>mueschm/mapbox-gl-native #import <Foundation/Foundation.h> #import "MGLFoundation.h" #include <mbgl/util/chrono.hpp> NS_ASSUME_NONNULL_BEGIN /// Converts from a duration in seconds to a duration object usable in mbgl. MGL_EXPORT mbgl::Duration MGLDurationFromTimeInterval(NSTimeInterval duration); /// Con...
171
608
// This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #pragma once #include "../iplatformtimer.h" #if WINDOWS //-------------------------------------------------------...
197
19,824
<reponame>pazams/keystone { "main": "dist/keystone-ui-icons-icons-PlayCircleIcon.cjs.js", "module": "dist/keystone-ui-icons-icons-PlayCircleIcon.esm.js" }
69
1,428
<gh_stars>1000+ #include<bits/stdc++.h> using namespace std; int main() { cout<<"Hello World"<<endl; cout<<"It's my first pull request and it's fun!!"<<endl; cout<<"THANKS"; return 0; }
79
4,140
/* * 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,024
305
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
464
107,386
<filename>src/runtime/cgo/gcc_signal_ios_arm64.c // Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Emulation of the Unix signal SIGSEGV. // // On iOS, Go tests and apps under development are run by lldb. // ...
2,460
316
<reponame>whitemike889/USDForUnity #pragma once namespace usdi { #define DefSchemaTraits2(Type, Typename)\ using UsdType = Type;\ static const char* _getUsdTypeName() { return Typename; }; #define DefSchemaTraits(Type, Typename)\ DefSchemaTraits2(Type, Typename)\ static int _getInheritDepth...
3,565
777
// 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 CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_ #define CHROME_INSTALLER_GCAPI_GCAPI_TEST_REGISTRY_OVERRIDER_H_ #include "base/macros.h" ...
268
3,267
// // Weexplugin.h // Weexplugin // // Created by yangshengtao on 16/12/26. // Copyright © 2016年 Taobao. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for Weexplugin. FOUNDATION_EXPORT double WeexpluginVersionNumber; //! Project version string for Weexplugin. FOUNDATION_EXPORT const ...
170
61,676
import unittest from django.db import NotSupportedError, connection from django.db.models import CharField from django.db.models.functions import SHA224 from django.test import TestCase from django.test.utils import register_lookup from ..models import Author class SHA224Tests(TestCase): @classmethod def se...
927
1,802
// Copyright 2014 <NAME>. // // Author: <NAME> (<EMAIL>) // // 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 without limitation the rights // to use, copy, mo...
1,692
5,169
{ "name": "STLocationRequest", "version": "3.2.2", "summary": "Request the users location services via an 3D 360° Flyover MapView", "homepage": "https://github.com/SvenTiigi/STLocationRequest", "social_media_url": "http://twitter.com/SvenTiigi", "license": "MIT", "authors": { "<NAME>": "<EMAIL>" }, ...
333
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Abbeville","circ":"1ère circonscription","dpt":"Somme","inscrits":18013,"abs":9807,"votants":8206,"blancs":175,"nuls":87,"exp":7944,"res":[{"nuance":"REM","nom":"<NAME>","voix":2990},{"nuance":"FI","nom":"<NAME>","voix":1715},{"nuance":"LR","nom":"M. <NAME>","voix":1410}...
276
2,151
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.device.nfc; import org.chromium.device.mojom.NfcMessage; import org.chromium.device.mojom.NfcRecord; import org.chromium.device.mojo...
502
7,353
<reponame>LK26/outline-client /** * @file PacketPassNotifier.c * @author <NAME> <<EMAIL>> * * @section LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain th...
1,217
348
<filename>docs/data/leg-t2/051/05101101.json {"nom":"Caurel","circ":"1ère circonscription","dpt":"Marne","inscrits":541,"abs":291,"votants":250,"blancs":17,"nuls":3,"exp":230,"res":[{"nuance":"LR","nom":"<NAME>","voix":117},{"nuance":"DIV","nom":"<NAME>","voix":113}]}
109
14,668
/* * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any l...
1,704
32,544
package com.stackify.services; import java.util.ArrayList; import javax.jws.WebService; import com.stackify.models.User; import com.stackify.models.Users; @WebService(endpointInterface = "com.stackify.services.UserService") public class DefaultUserImpl implements UserService { ArrayList<User> usersList = new A...
208
700
<gh_stars>100-1000 # Generated by Django 2.2.11 on 2020-06-02 13:42 import django.contrib.postgres.fields import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0052_remove_user_avatar_hash'), ] operations = [ ...
330
595
/****************************************************************************** * Copyright (c) 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ #ifndef XPM_RAIL_H_ #define XPM_RAIL_H_ #include "xstatus.h" #include "...
376
353
<gh_stars>100-1000 """ Thin wrappers around `itertools`. """ from __future__ import absolute_import from tqdm.auto import tqdm as tqdm_auto import itertools __author__ = {"github.com/": ["casperdcl"]} __all__ = ['product'] def product(*iterables, **tqdm_kwargs): """ Equivalent of `itertools.product`. Par...
378
1,498
/* Copyright (c) 2012, Broadcom Europe Ltd 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, this list of conditions and t...
6,623