max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
583
<gh_stars>100-1000 #ifndef FLOWCLIPTREEMODEL_H #define FLOWCLIPTREEMODEL_H #include <QAbstractItemModel> #include <QModelIndex> #include <QVariant> #include "flowclip.h" class FlowClipTreeModel : public QAbstractItemModel { Q_OBJECT public: FlowClipTreeModel(const QList<QGraphicsItem*> &roots, QObject *pare...
519
1,338
<filename>junction/extra/impl/MapAdapter_Crude.h<gh_stars>1000+ /*------------------------------------------------------------------------ Junction: Concurrent data structures in C++ Copyright (c) 2016 <NAME> Distributed under the Simplified BSD License. Original location: https://github.com/preshing/junction ...
508
775
# Copyright 2008-2015 Nokia Networks # Copyright 2016- Robot Framework Foundation # # 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 ...
1,030
575
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/tab_strip/tab_strip_ui.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/themes/theme_properties...
2,046
2,231
<gh_stars>1000+ // Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by app...
7,517
683
# coding: utf-8 # In[1]: import gym import numpy as np import sys import matplotlib if "../" not in sys.path: sys.path.append("../") from lib.envs.blackjack import BlackjackEnv from lib import plotting from collections import defaultdict matplotlib.style.use('ggplot') # In[2]: env = BlackjackEnv() ...
1,392
14,668
// 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 EXTENSIONS_RENDERER_DOM_HOOKS_DELEGATE_H_ #define EXTENSIONS_RENDERER_DOM_HOOKS_DELEGATE_H_ #include <string> #include "extensions/renderer/bind...
457
1,062
<gh_stars>1000+ /** * Copyright 2014 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 * ...
3,332
625
<gh_stars>100-1000 package java.security; public interface DomainCombiner { ProtectionDomain[] combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains); }
48
917
package dev.ahamed.mva.sample.view.nested; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.support.annotation.NonNull; import android.support.v4.content.ContextCompat; import android.support.v7.widget.RecyclerView; import andro...
532
913
<filename>library/src/main/java/com/oubowu/slideback/widget/CacheDrawView.java package com.oubowu.slideback.widget; import android.content.Context; import android.graphics.Canvas; import android.view.View; /** * Created by Oubowu on 2016/9/20 0020 11:19. */ public class CacheDrawView extends View { private Vi...
426
1,227
<reponame>Clusks/alibi-detect from .aegmm import OutlierAEGMM from .isolationforest import IForest from .mahalanobis import Mahalanobis from .ae import OutlierAE from .vae import OutlierVAE from .vaegmm import OutlierVAEGMM from .prophet import PROPHET_INSTALLED, OutlierProphet from .seq2seq import OutlierSeq2Seq from ...
255
499
<gh_stars>100-1000 import unittest from SetSimilaritySearch import SearchIndex class TestSearchIndex(unittest.TestCase): def test_jaccard(self): sets = [[1,2,3], [3,4,5], [2,3,4], [5,6,7]] index = SearchIndex(sets, similarity_func_name="jaccard", similarity_threshold=0.1) ...
606
1,383
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
3,607
678
<reponame>bzxy/cydia /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/AirPortAssistant.framework/AirPortAssistant */ #import <AirPortAssistant/StepByStepUIViewController.h> #import <AirPortAssistant/TableViewManagerDelegate.h> @class UILabel, UIView; __attribute_...
561
389
/* * Copyright 2014 <NAME>, Inc. */ package gw.internal.gosu.ir.compiler.bytecode.expression; import gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler; import gw.internal.gosu.ir.compiler.bytecode.IRBytecodeContext; import gw.internal.gosu.ir.compiler.bytecode.IRBytecodeCompiler; import gw.lang.ir.expr...
324
341
# This is an automatically generated file. # DO NOT EDIT or your changes may be overwritten import base64 from enum import IntEnum from xdrlib import Packer, Unpacker from ..__version__ import __issues__ from ..exceptions import ValueError __all__ = ["ManageDataResultCode"] class ManageDataResultCode(IntEnum): ...
905
446
package indi.liyi.viewer.dragger; public final class DragMode { // 简单拖拽模式 public final static int MODE_SIMPLE = 1; // 灵巧的拖拽模式 public final static int MODE_AGILE = 2; }
99
1,971
package org.openbot.env; import android.app.Activity; import android.content.Context; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.LinearLayout; import org.json.JSONObject; import org.openbot.R; import org.openbot.customview.AutoFitSurfaceGlView; import org.op...
1,715
348
{"nom":"Leymen","circ":"3ème circonscription","dpt":"Haut-Rhin","inscrits":622,"abs":357,"votants":265,"blancs":13,"nuls":5,"exp":247,"res":[{"nuance":"LR","nom":"<NAME>","voix":151},{"nuance":"REM","nom":"<NAME>","voix":96}]}
92
576
#pragma once #include "riff.h" #include "structs.h" #include "soundfont.h" #include "wave.h" #include <vector> namespace Dx8 { class DlsCollection final { public: DlsCollection(Riff &input); struct RgnRange final { uint16_t usLow =0; uint16_t usHigh=0; }; struct RegionHeader final ...
1,322
1,436
<filename>NIMKit/NIMKit/Classes/Sections/Team/View/NIMTeamCardHeaderView.h<gh_stars>1000+ // // NIMTeamCardHeaderView.h // NIMKit // // Created by Netease on 2019/6/10. // Copyright © 2019 NetEase. All rights reserved. // #import <UIKit/UIKit.h> #import <NIMSDK/NIMSDK.h> NS_ASSUME_NONNULL_BEGIN @protocol NIMTeam...
238
575
# 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. import os from page_sets.rendering import rendering_shared_state as shared_state from page_sets.rendering import rendering_story from page_sets.rendering im...
1,695
697
<filename>leyou-comments/leyou-comments-service/src/main/java/com/leyou/comments/client/OrderClient.java package com.leyou.comments.client; import com.leyou.order.api.OrderApi; import org.springframework.cloud.openfeign.FeignClient; /** * @Author: 98050 * @Time: 2018-11-12 15:19 * @Feature: 订单接口 */ @FeignClient(v...
144
1,165
<reponame>Diffblue-benchmarks/pacbot /******************************************************************************* * Copyright 2018 T Mobile, 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 ...
1,466
3,084
<reponame>ixjf/Windows-driver-samples<filename>network/trans/WFPSampler/syslib/HelperFunctions_WorkItems.h //////////////////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014 Microsoft Corporation. All Rights Reserved. // // Module Name: // Helper...
5,602
1,184
#include <stdio.h> int gcd_division(int a, int b){ while( b != 0 ){ int tmp = a; a = b; b = tmp % b; } return a; } int gcd_substraction(int a, int b){ while( a != b){ if( a > b ){ a = a -b; }else{ b = b -a; } } return a...
538
13,885
<filename>third_party/astcenc/include/astcenc.h<gh_stars>1000+ // ------------------------------------------------------------------------------------------------- // This file declares the minimum amount of constants, enums, structs, and functions that are needed // when interfacing with astcenc, which has no public-f...
1,152
857
# Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license. # See LICENSE in the project root for license information. def prefix(prefix_str): def wrapper(function): function.prefix = prefix_str return function return wrapper def api_v0(path): return...
117
763
<reponame>zabrewer/batfish package org.batfish.question.referencedstructures; import com.google.auto.service.AutoService; import org.batfish.common.Answerer; import org.batfish.common.plugin.IBatfish; import org.batfish.common.plugin.Plugin; import org.batfish.datamodel.questions.NodesSpecifier; import org.batfish.dat...
263
463
<gh_stars>100-1000 package org.hive2hive.core.events.framework.interfaces; import net.engio.mbassy.listener.Handler; import org.hive2hive.core.events.framework.interfaces.file.IFileAddEvent; import org.hive2hive.core.events.framework.interfaces.file.IFileDeleteEvent; import org.hive2hive.core.events.framework.interfa...
276
575
// 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_UI_BLOCKED_CONTENT_CHROME_POPUP_NAVIGATION_DELEGATE_H_ #define CHROME_BROWSER_UI_BLOCKED_CONTENT_CHROME_POPUP_NAVIGATION_DELEGATE_H...
455
773
package org.infernus.idea.checkstyle.csapi; /** * Objects which implement this interface are keepers of objects internal to the Checkstyle tool, so from within the * normal plugin code we cannot know what they are. They are to be used from within the 'csaccess' source set only. * In this way, we can <em>store</em>...
247
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...
10,152
1,738
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
2,033
1,657
<gh_stars>1000+ """ An example of using MultiBlockSlice to interleave frames in a virtual dataset. """ import h5py # These files were written round-robin in blocks of 1000 frames from a single source # 1.h5 has 0-999, 4000-4999, ...; 2.h4 has 1000-1999, 5000-5999, ...; etc # The frames from each block are contiguous ...
515
6,989
<reponame>HeyLey/catboost #pragma once #include "defaults.h" #include <util/generic/ptr.h> //named sempahore class TSemaphore { public: TSemaphore(const char* name, ui32 maxFreeCount); ~TSemaphore(); //Increase the semaphore counter. void Release() noexcept; //Keep a thread held while the semap...
331
852
#include "DataFormats/Common/interface/DetSetVector.h" #include "DataFormats/Common/interface/Handle.h" #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h" #include "DataFormats/FEDRawData/interface/FEDTrailer.h" #include "EventFilter/Phase2TrackerRawToDigi/interface/utils.h" #include "EventFilter/Phase2...
2,018
2,365
<reponame>daofresh/primevue { "main": "./useconfirm.cjs.js", "module": "./useconfirm.esm.js", "unpkg": "./useconfirm.min.js", "types": "./UseConfirm.d.ts" }
78
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 * ...
442
335
{ "word": "Box", "definitions": [ "Put in or provide with a box.", "Enclose (a piece of text) within printed lines.", "Restrict the ability of (a person or vehicle) to move freely.", "Mix up different flocks." ], "parts-of-speech": "Verb" }
119
674
<gh_stars>100-1000 // // CartridgeMegaBoy.h // Clock Signal // // Created by <NAME> on 18/03/2017. // Copyright 2017 <NAME>. All rights reserved. // #ifndef Atari2600_CartridgeMegaBoy_hpp #define Atari2600_CartridgeMegaBoy_hpp #include "Cartridge.hpp" namespace Atari2600 { namespace Cartridge { class MegaBoy: p...
409
320
<filename>jme3-wavefront/src/com/jme3/gde/wavefront/WaveFrontOBJDataObject.java /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.jme3.gde.wavefront; import com.jme3.gde.core.assets.SpatialAssetDataObject; import java.io.IOException; import org.openide.awt....
1,048
848
<reponame>donsheng/acrn-hypervisor /* * Copyright (C) 2018 Intel Corporation * SPDX-License-Identifier: BSD-3-Clause */ #include "log_sys.h" #include "fsutils.h" #include "strutils.h" #include "vmrecord.h" #include <stdlib.h> int vmrecord_last(struct vmrecord_t *vmrecord, const char *vm_name, size_t nlen, char *...
1,867
892
{ "schema_version": "1.2.0", "id": "GHSA-xjwx-qg8w-3x9p", "modified": "2022-05-02T03:43:22Z", "published": "2022-05-02T03:43:22Z", "aliases": [ "CVE-2009-3249" ], "details": "Multiple directory traversal vulnerabilities in vtiger CRM 5.0.4 allow remote attackers to include and execute arbitrary local ...
1,147
502
<gh_stars>100-1000 /** * Copyright 1996-2013 Founder International Co.,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 ...
3,058
1,627
package net.querz.mcaselector.io.job; import net.querz.mcaselector.debug.Debug; import net.querz.mcaselector.io.ByteArrayPointer; import net.querz.mcaselector.io.RegionDirectories; import net.querz.mcaselector.io.mca.ChunkData; import net.querz.mcaselector.io.mca.EntitiesMCAFile; import net.querz.mcaselector.io.mca.Po...
1,651
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...
496
506
<reponame>Ashindustry007/competitive-programming<gh_stars>100-1000 // https://abc074.contest.atcoder.jp/tasks/arc083_a #include <bits/stdc++.h> using namespace std; int main() { int a, b, c, d, e, f; cin >> a >> b >> c >> d >> e >> f; int sugar_water = 0; int sugar = 0; double density = 0; for (int i = 0; i * a...
449
2,171
<filename>src/test/integration/standalone_functions_test.cpp #include <gtest/gtest.h> #include <test/test-models/good-standalone-functions/basic.hpp> TEST(standalone_functions, int_only_multiplication) { EXPECT_EQ(int_only_multiplication(2, 5), 10); EXPECT_NEAR(my_log1p_exp(1), 1.3132, 1E-4); Eigen::Matrix<doubl...
239
1,318
/* * Copyright 2016 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...
700
471
<reponame>akashkj/commcare-hq from datetime import datetime from unittest.mock import patch from django.test import SimpleTestCase, TestCase from corehq.apps.users.models import ( CommCareUser, CouchUser, Invitation, WebUser, ) from corehq.apps.domain.models import Domain class CouchUserTest(Simple...
1,691
1,362
# coding=utf-8 r""" This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base.domain import Domain from twilio.rest.lookups.v1 import V1 class Lookups(Domain): def __init__(self, twilio): """ Initialize the Lookups Domain :retur...
568
460
#include "../../../tools/designer/src/lib/shared/qtresourcemodel_p.h"
27
1,647
<filename>pythran/pythonic/include/numpy/asscalar.hpp #ifndef PYTHONIC_INCLUDE_NUMPY_ASSCALAR_HPP #define PYTHONIC_INCLUDE_NUMPY_ASSCALAR_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/ndarray.hpp" #include "pythonic/include/numpy/asarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { ...
334
1,467
<gh_stars>1000+ { "version": "2.5.66", "date": "2019-06-18", "entries": [ { "type": "feature", "category": "AWS Resource Groups Tagging API", "description": "You can use tag policies to help standardize on tags across your organization's resources." }, ...
259
4,200
<reponame>kbens/rundeck<filename>core/src/main/java/com/dtolabs/rundeck/core/rules/StateWorkflowSystem.java /* * Copyright 2019 Rundeck, Inc. (http://rundeck.com) * * 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 ...
3,207
2,151
<gh_stars>1000+ // Copyright 2018 The Feed 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 applicab...
373
1,444
<reponame>GabrielSturtevant/mage package mage.cards.a; import java.util.UUID; import mage.MageInt; import mage.ObjectColor; import mage.abilities.common.BlocksOrBecomesBlockedSourceTriggeredAbility; import mage.abilities.common.delayed.AtTheEndOfCombatDelayedTriggeredAbility; import mage.abilities.effects.Effect; imp...
632
413
<reponame>philomenec/reco-gym from numpy.random.mtrand import RandomState import numpy as np from .time_generator import TimeGenerator class NormalTimeGenerator(TimeGenerator): """""" def __init__(self, config): super(NormalTimeGenerator, self).__init__(config) self.current_time = 0 ...
418
368
<reponame>gta-chaos-mod/plugin-sdk /* Plugin-SDK (Grand Theft Auto) SHARED header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #pragma once #include "CTimer.h" class KeyCheck { static unsigned char currS...
219
648
<reponame>swrobel/fhir {"resourceType":"DataElement","id":"ImplementationGuide.page.type","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/ImplementationGuide.page.type","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"ImplementationGuide...
267
1,338
<reponame>Yn0ga/haiku<filename>src/apps/autoraise/settings.cpp #include "settings.h" #include <iostream> #define CONF_ADDPROP(_type, _name) \ void AutoRaiseSettings::Set##_name(_type value)\ {\ _conf##_name = value;\ }\ \ _type AutoRaiseSettings::_name()\ {\ return _conf##_name;\ }\ CONF_ADDPROP(bool, Active) CONF...
801
1,602
/* mpn_trialdiv -- find small factors of an mpn number using trial division. Contributed to the GNU project by <NAME>. THE FUNCTION IN THIS FILE IS INTERNAL WITH A MUTABLE INTERFACE. IT IS ONLY SAFE TO REACH IT THROUGH DOCUMENTED INTERFACES. IN FACT, IT IS ALMOST GUARANTEED THAT IT WILL CHANGE OR DISAPP...
1,540
6,098
package hex.security; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.security.UserGroupInformation; import water.AbstractH2OExtension; import water.H2O; import water.persist.PersistHdfs; import water.persist.security.HdfsDelegationTokenRefresher; import water.util.Log; import java.io.IOExceptio...
1,705
892
<filename>advisories/unreviewed/2022/05/GHSA-gp7h-5r24-jv2w/GHSA-gp7h-5r24-jv2w.json<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-gp7h-5r24-jv2w", "modified": "2022-05-13T01:36:08Z", "published": "2022-05-13T01:36:08Z", "aliases": [ "CVE-2017-9282" ], "details": "An integer overflow (CWE...
542
643
<gh_stars>100-1000 package org.apache.velocity; import org.apache.velocity.context.Context; import java.io.Writer; import java.util.List; public class Template { public void merge(Context context, Writer writer) { } public void merge(Context context, Writer writer, List<String> macroLibraries) { } }
104
2,151
// // Copyright 2018 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // system_utils.cpp: Implementation of common functions #include "system_utils.h" namespace angle { bool PrependPathToEnvironmentVar(const c...
270
5,411
// vendor/chromium/mojo/public/mojom/base/file_path.mojom-forward.h is auto generated by mojom_bindings_generator.py, do not edit // Copyright 2019 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 VENDOR_CHROMIUM...
337
679
/* * (C) 1988, 1989 by Adobe Systems Incorporated. All rights reserved. * * This file may be freely copied and redistributed as long as: * 1) This entire notice continues to be included in the file, * 2) If the file has been modified in any way, a notice of such * modification is conspicuously indicated...
3,878
1,808
import hyperion, time from random import randint #get args rotationTime = float(hyperion.args.get('rotationTime', 4)) marginPos = float(hyperion.args.get('margin-pos', 2)) # define pacman pacman = bytearray((255, 255, 0)) # define ghosts redGuy = bytearray((255, 0, 0)) pinkGuy = bytearray((255, 184, 255)) blueGu...
852
348
{"nom":"Nostang","circ":"2ème circonscription","dpt":"Morbihan","inscrits":1147,"abs":652,"votants":495,"blancs":71,"nuls":26,"exp":398,"res":[{"nuance":"DIV","nom":"M. <NAME>","voix":218},{"nuance":"LR","nom":"M. <NAME>","voix":180}]}
95
3,095
/* * Copyright (C) 2014 <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 w...
799
1,473
/////////////////////////////////////////////////////////////////////////////// // Name: wx/unix/private/pipestream.h // Purpose: Unix wxPipeInputStream and wxPipeOutputStream declarations // Author: <NAME> // Created: 2013-06-08 (extracted from wx/unix/pipe.h) // Copyright: (c) 2013 <NAME> <<EMAI...
425
7,766
package com.springboot.cloud.gateway.filter; import com.springboot.cloud.gateway.config.SwaggerProvider; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.springframework.cloud.gateway.filter.GatewayFilterChain; import org.springframework.cloud.gateway.filter.GlobalFilter; impor...
504
933
/* * Copyright (C) 2018 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,845
473
<reponame>pingjuiliao/cb-multios<filename>challenges/FaceMag/src/stickyposts.c /* Author: <NAME> <<EMAIL>> Copyright (c) 2016 Cromulence LLC 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 witho...
1,036
831
/* * Copyright (C) 2020 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...
402
988
<gh_stars>100-1000 //------------------------------------------------------------------------------ // GB_iso_reduce_worker: reduce n entries, all equal to a, to the scalar s //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2021, All Rights Res...
633
734
package com.cheikh.lazywaimai.ui.adapter; import android.app.Activity; import android.content.DialogInterface; import android.support.v7.app.AlertDialog; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import j...
3,446
348
{"nom":"Mont-le-Vignoble","circ":"5ème circonscription","dpt":"Meurthe-et-Moselle","inscrits":296,"abs":116,"votants":180,"blancs":7,"nuls":1,"exp":172,"res":[{"nuance":"SOC","nom":"<NAME>","voix":114},{"nuance":"REM","nom":"<NAME>","voix":58}]}
102
848
// Copyright 2019 Xilinx 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 ...
2,621
1,968
/* See header file for license information. */ #include "tErrorLib.h" #include <stdlib.h> /* for malloc */ #include <string.h> #include <stdarg.h> /* for vasprintf */ #include <stdio.h> /* also for vasprintf and for printf family */ #include <stddef.h> /* size_t */ /** * For string-only based usage, this implementat...
13,089
1,037
package com.codekk.java.test.dynamicproxy; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import com.codekk.java.test.dynamicproxy.util.ProxyUtils; /** * Dynamic Proxy Demo * * @author <EMAIL> */ public class Main { public static void main(String[] args) { TimingInvocationHandler ...
692
457
<filename>sitl_config/ugv/cmdvel2gazebo/slros_busmsg_conversion.cpp #include "slros_busmsg_conversion.h" // Conversions between SL_Bus_cmdvel2gazebo_geometry_msgs_Twist and geometry_msgs::Twist void convertFromBus(geometry_msgs::Twist* msgPtr, SL_Bus_cmdvel2gazebo_geometry_msgs_Twist const* busPtr) { const std::st...
722
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 "chrome/browser/chromeos/session_length_limiter.h" #include <memory> #include "base/compiler_specific.h" #include "base/memory/ref_counted....
8,489
585
<gh_stars>100-1000 ######################################################################## # # Various utility functions. # ######################################################################## # # This file is part of FinanceOps: # # https://github.com/Hvass-Labs/FinanceOps # # Published under the MIT License. See...
634
5,279
/* * 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 ...
780
971
package com.ucar.datalink.manager.core.utils.timer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.function.Consumer; /** * Created by lubiao on 2016/...
1,502
743
<reponame>OyTao/corosync-src<filename>test/testtimer.c /* * Copyright (c) 2003-2004 MontaVista Software, Inc. * * All rights reserved. * * Author: <NAME> (<EMAIL>) * * This software licensed under BSD license, the text of which follows: * * Redistribution and use in source and binary forms, with or without * ...
829
443
<reponame>Joshinn-io/augur<filename>augur/cli/_multicommand.py #SPDX-License-Identifier: MIT """ Runs Augur with Gunicorn when called """ import os import sys import click import importlib import augur.application CONTEXT_SETTINGS = dict(auto_envvar_prefix='AUGUR') class AugurMultiCommand(click.MultiCommand): de...
457
4,262
<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 "Lic...
28,849
1,835
<reponame>elan17/GamestonkTerminal import asyncio import discord import discordbot.config_discordbot as cfg from discordbot.run_discordbot import gst_bot, logger from discordbot.stocks.screener.historical import historical_command from discordbot.stocks.screener.overview import overview_command from discordbot.stocks....
5,582
432
/* @(#)wwiomux.c 8.1 (Berkeley) 6/6/93 */ /* $NetBSD: wwiomux.c,v 1.14 2009/04/14 08:50:06 lukem Exp $ */ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * <NAME> at The University of California, B...
2,943
634
<reponame>halotroop2288/consulo /* * Copyright 2013-2020 consulo.io * * 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...
605
852
#ifndef HLTJetCollectionsFilter_h #define HLTJetCollectionsFilter_h #include "HLTrigger/HLTcore/interface/HLTFilter.h" #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h" #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h" #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h" #...
525
3,913
<filename>yudao-admin-server/src/main/java/cn/iocoder/yudao/adminserver/modules/system/controller/logger/vo/operatelog/SysOperateLogExcelVO.java package cn.iocoder.yudao.adminserver.modules.system.controller.logger.vo.operatelog; import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat; import cn.iocoder.yu...
517
310
<filename>gear/software/e/ed.json { "name": "ed", "description": "A line text editor for Unix.", "url": "https://en.wikipedia.org/wiki/Ed_(text_editor)" }
59
463
# pylint: disable=missing-class-docstring,too-few-public-methods,pointless-statement,expression-not-assigned """ Checks that class used in a subscript supports subscription (i.e. defines __class_getitem__ method). """ import typing class Subscriptable: def __class_getitem__(cls, params): pass Subscripta...
137
380
package n10s; import n10s.graphconfig.RDFParserConfig; import org.eclipse.rdf4j.rio.RDFHandler; import org.eclipse.rdf4j.rio.RDFParseException; public abstract class ConfiguredStatementHandler implements RDFHandler { public abstract RDFParserConfig getParserConfig(); public class TripleLimitReached extends ...
137