max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
890
<reponame>kymmie777/Turb-intrudR # Author: https://github.com/abiwaddell # Credential spraying with one wordlist per username. # Full description at https://github.com/abiwaddell/Pinwheel import time # Parameters to configure throttleMillisecs=200 def loadFile(filename): with open(filename) as f: lines =...
670
464
/* * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
960
504
<filename>dddlib-utils/src/main/java/org/dayatang/utils/ObjectSerializer.java package org.dayatang.utils; /** * 对象序列化器,将Java对象序列化为字符串形式,或者相反,从字符串反序列化为对象。 * Created by yyang on 14-9-16. */ public interface ObjectSerializer { /** * 将对象序列化为字符串 * @param anObject 要序列化的对象 * @return 对象的序列化形式 */ ...
419
304
#ifndef CP437DECODE_H #define CP437DECODE_H #include "frame.h" #include <QMap> static QMap<char, QChar> UTF8_CP437_MAP = { { 0x00, 0x002e }, //NULL print as period/full stop { 0x01, 0x263a }, { 0x02, 0x263b }, { 0x03, 0x2665 }, { 0x04, 0x2666 }, { 0x05, 0x2663 }, { 0x06, 0x2660 }, { 0x...
6,182
424
#ifndef PODCONVERTERS_H #define PODCONVERTERS_H FASTOR_INLINE T toscalar() const { //! Returns a scalar static_assert(size()==1,"ONLY TENSORS OF SIZE 1 CAN BE CONVERTED TO A SCALAR"); return (*_data); } FASTOR_INLINE std::array<T,size()> toarray() const { //! Returns std::array std::array<T,size()...
250
880
package com.eudemon.ratelimiter.env; import org.apache.commons.lang3.StringUtils; import org.apache.commons.pool2.impl.GenericObjectPoolConfig; import com.eudemon.ratelimiter.redis.DefaultJedisPoolConfig; /** * Configuration for Redis. * * TODO(zheng): support redis cluster. */ public class RedisConfig { /* ...
891
777
// 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 SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_INFO_H_ #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_INFO_H_ #include <map> #include <string> ...
267
3,084
<filename>network/wlan/WDI/PLATFORM/NdisComm/NdisDbg.h #ifndef __INC_NDIS_DBG_H #define __INC_NDIS_DBG_H #define BT_H2C_MAX_RETRY 1 #define BT_MAX_C2H_LEN 20 typedef enum _RTL_EXT_C2H_EVT { EXT_C2H_WIFI_FW_ACTIVE_RSP = 0, EXT_C2H_TRIG_BY_BT_FW = 1, MAX_EXT_C2HEVENT }RTL_EXT_C2H_EVT; ...
7,059
956
<gh_stars>100-1000 /* SPDX-License-Identifier: BSD-3-Clause * * Copyright 2017 NXP * */ #ifndef __DPAA_RBTREE_H #define __DPAA_RBTREE_H #include <rte_common.h> /************/ /* RB-trees */ /************/ /* Linux has a good RB-tree implementation, that we can't use (GPL). It also has * a flat/hooked-in inter...
1,347
5,169
{ "name": "CSRevealingViewController", "version": "0.1.0", "summary": "An omni-directional swipe-to-reveal ViewController.", "description": " Most swipe-to-reveal implementations allow only for left\n or right navigation. I wanted to swipe up or down or left\n ...
325
449
<filename>platform/stm32f429/i2c.c #include <platform/stm32f429/i2c.h> #include <platform/stm32f429/rcc.h> /* I2C register mask */ #define CR1_CLEAR_MASK ((uint16_t)0xFBF5) /* Flag mask */ #define FLAG_MASK ((uint32_t)0x00FFFFFF) void __USER_TEXT i2c_reset(uint32_t i2cx) { /* TODO: assertion...
2,278
377
<reponame>kiyoon/video-long-term-feature-banks # Copyright (c) Facebook, Inc. and its affiliates. # # 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/LICENS...
2,120
1,746
package org.sikuli.support.ide; public interface IButton { String TEXT = "TEXT"; // the text replaced by the button String FILE = "FILE"; // the image file for button thumbnail String LINE = "LINE"; // the line in script String LOFF = "LOFF"; // the offset in the line String PATT = "PATT"; // Pattern }
92
32,544
<reponame>DBatOWL/tutorials package employee; public class Employee { String name; String emailAddress; int yearOfBirth; }
50
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Maranwez","circ":"1ère circonscription","dpt":"Ardennes","inscrits":57,"abs":27,"votants":30,"blancs":3,"nuls":0,"exp":27,"res":[{"nuance":"LR","nom":"<NAME>","voix":21},{"nuance":"REM","nom":"<NAME>","voix":6}]}
108
632
# # Copyright © 2014-2015 <NAME> # Copyright © 2009- The Spyder development Team # # Licensed under the terms of the MIT License # (see LICENSE.txt for details) """ Provides QtWebEngineWidgets classes and functions. """ from . import PYQT5, PYQT6, PYSIDE2, PYSIDE6, PythonQtError # To test if we are using WebEngine ...
687
23,901
<reponame>deepneuralmachine/google-research # coding=utf-8 # Copyright 2021 The Google Research 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...
1,331
417
<gh_stars>100-1000 /*************************************************************************** file : damned.cpp created : Wed Jan 8 18:31:16 CET 2003 copyright : (C) 2002-2004 <NAME> email : <EMAIL> version : $Id: damned.cpp,v 1....
1,598
564
package com.amy.monthweekmaterialcalendarview; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import me.drakeet.multitype.ItemViewBinder; /** * Crea...
435
13,889
<filename>kivy/core/audio/audio_gstplayer.py ''' Audio Gstplayer =============== .. versionadded:: 1.8.0 Implementation of a VideoBase with Kivy :class:`~kivy.lib.gstplayer.GstPlayer` This player is the preferred player, using Gstreamer 1.0, working on both Python 2 and 3. ''' from kivy.lib.gstplayer import GstPlaye...
1,198
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Miéry","circ":"1ère circonscription","dpt":"Jura","inscrits":124,"abs":52,"votants":72,"blancs":15,"nuls":1,"exp":56,"res":[{"nuance":"REM","nom":"<NAME>","voix":31},{"nuance":"LR","nom":"<NAME>","voix":25}]}
106
1,681
package com.easytoolsoft.easyreport.membership.service.impl; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.function.Predicate; import javax.annotation.Resource; import com.easytoolsoft.easyreport.common.tree.EasyUITreeNode;...
1,956
852
<gh_stars>100-1000 #ifndef PhysicsTools_Utilities_RootMinuitFuncEvaluator_h #define PhysicsTools_Utilities_RootMinuitFuncEvaluator_h namespace fit { template <typename Function> struct RootMinuitFuncEvaluator { static double evaluate(const Function& f) { return f(); } }; } // namespace fit #endif
110
370
<filename>jte-gradle-plugin/src/main/java/gg/jte/gradle/JteTaskBase.java package gg.jte.gradle; import gg.jte.ContentType; import org.gradle.api.DefaultTask; import org.gradle.api.provider.Property; import org.gradle.api.tasks.Input; import org.gradle.api.tasks.InputDirectory; import org.gradle.api.tasks.Optional; imp...
1,356
4,283
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
3,887
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 th...
3,370
1,652
<filename>redis/redis-core/src/main/java/com/ctrip/xpipe/redis/core/metaserver/MetaServerConsoleServiceManager.java<gh_stars>1000+ package com.ctrip.xpipe.redis.core.metaserver; /** * used for console * @author wenchao.meng * * Aug 2, 2016 */ public interface MetaServerConsoleServiceManager{ MetaServerConsoleSe...
139
332
<reponame>wwjiang007/spring-xd /* * Copyright 2013-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
534
367
#ifndef _MAIN_H #define _MAIN_H #include <windows.h> #include <stdio.h> #include <stdlib.h> #include <gl\gl.h> // Header File For The OpenGL32 Library #include <gl\glu.h> // Header File For The GLu32 Library #define SCREEN_WIDTH 800 // We want our screen width 800 pixels #define SCREEN_HEIGHT...
818
821
#Copyright (c) 2014 Sony Computer Entertainment America LLC. See License.txt. import sys sys.path.append("./CommonTestScripts") import System import Test import CircuitEditorUtil import Sce.Atf.Applications doc = atfDocService.OpenNewDocument(editor) CircuitEditorUtil.SetGlobals(schemaLoader, Schema) grpCm...
2,915
412
<reponame>ruth-ann/deepsnap """Train the order embedding model""" import argparse from collections import defaultdict from itertools import permutations import pickle from queue import PriorityQueue import os import random import time from deepsnap.batch import Batch import networkx as nx import numpy as np from sklea...
4,583
1,444
<reponame>GabrielSturtevant/mage package mage.view; import mage.players.PlayableObjectStats; /** * @author JayDi85 */ public interface SelectableObjectView { boolean isPlayable(); void setPlayableStats(PlayableObjectStats playableStats); PlayableObjectStats getPlayableStats(); boolean isChoosabl...
144
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...
942
3,034
/* * 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 n...
461
675
/* * H.265 video codec. * Copyright (c) 2013-2014 struktur AG, <NAME> <<EMAIL>> * * This file is part of libde265. * * libde265 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, either version 3 o...
10,948
743
<filename>source/uwp/AdaptiveCardTestApp/Expected/v1.0.Scenarios.SolitaireToJson.json<gh_stars>100-1000 {"actions":[],"backgroundImage":"https://download-ssl.msgamestudios.com/content/mgs/ce/production/SolitaireWin10/dev/adapative_card_assets/v1/card_background.png","body":[{"columns":[{"items":[{"altText":"Spider cove...
248
453
<reponame>The0x539/wasp _trap3() { } __trap3(a1,a2,a3,a4,a5,a6) { asm ("ldx #r0"); asm ("wdm"); }
73
1,511
/* gzlog.h Copyright (C) 2004, 2008 <NAME>, all rights reserved version 2.0, 25 Apr 2008
32
5,169
<filename>Specs/6/7/5/FloatingAudioPlayer/0.1.0/FloatingAudioPlayer.podspec.json { "name": "FloatingAudioPlayer", "version": "0.1.0", "summary": "FloatingAudioPlayer is lightweight floating/draggable Audio Player View written in Swift.", "description": "A Swift floating/draggable audio player like in Spotify & ...
397
604
<gh_stars>100-1000 #include <gtest/gtest.h> #include <ros/ros.h> int main(int argc, char** argv) { ros::init(argc, argv, "elevation_mapping"); ros::start(); // To make use of ROS time in output macros. testing::InitGoogleTest(&argc, argv); int res = RUN_ALL_TESTS(); ros::shutdown(); return res; }
128
368
package com.mogujie.tt.DB.dao; import android.database.sqlite.SQLiteDatabase; import java.util.Map; import de.greenrobot.dao.AbstractDao; import de.greenrobot.dao.AbstractDaoSession; import de.greenrobot.dao.identityscope.IdentityScopeType; import de.greenrobot.dao.internal.DaoConfig; import com.mogujie.tt.DB.entit...
1,318
451
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : <NAME> Contributors : <NAME>, <NAME>. [1] <NAME>, <NAM...
5,215
930
<reponame>PayYouDont/matecloud package vip.mate.core.common.exception; import org.springframework.http.HttpStatus; import static org.springframework.http.HttpStatus.INTERNAL_SERVER_ERROR; /** * 通用异常 * * @author pangu */ public class BaseException extends RuntimeException { private static final long serialVersi...
191
2,313
/* * Copyright (c) 2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 ...
5,019
3,285
<filename>python/oneflow/compatible/single_client/summary/summary_projector.py """ 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:...
2,378
7,524
<reponame>chanmaoooo/vscode<gh_stars>1000+ { "displayName": "Objective-C Language Basics", "description": "Provides syntax highlighting and bracket matching in Objective-C files." }
56
854
<filename>solutions/LeetCode/Java/338.java<gh_stars>100-1000 __________________________________________________________________________________________________ sample 1 ms submission class Solution { public int[] countBits(int num) { int[] bits = new int[num+1]; bits[0] = 0; ...
554
3,281
<gh_stars>1000+ package tk.zielony.carbonsamples.demo; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.content.Context; import android.os.Bundle; import android.os.Vibrator; import android.view.SoundEffectConstants; import android.view.View; import com.annimon.strea...
4,649
678
<filename>iOSOpenDev/frameworks/IMCore.framework/Frameworks/IMDAppleServices.framework/Headers/IMDAppleServices.h /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/IMCore.framework/Frameworks/IMDAppleServices.framework/IMDAppleServices */ #import <IMDAppleServices/I...
426
326
<filename>test/algorithms/equals/equals_on_spheroid.cpp // Boost.Geometry (aka GGL, Generic Geometry Library) // Unit test // Copyright (c) 2015, Oracle and/or its affiliates. // Licensed under the Boost Software License version 1.0. // http://www.boost.org/users/license.html // Contributed and/or modified by <NAME>...
4,610
1,822
# -*- coding: utf-8 -*- """tests for the 'pwd' command.""" import os from stash.tests.stashtest import StashTestCase class PwdTests(StashTestCase): """tests for the 'pwd' command.""" cwd = os.path.expanduser("~") def test_help(self): """test 'pwd --help'.""" output = self.run_command("pw...
533
1,902
<reponame>louardmohamed/ccminer /** * SKEIN512 80 + SKEIN512 64 (Woodcoin) * by <EMAIL> - 2015 */ #include <string.h> #include "sph/sph_skein.h" #include "miner.h" #include "cuda_helper.h" static uint32_t *d_hash[MAX_GPUS]; extern void skein512_cpu_setBlock_80(void *pdata); extern void skein512_cpu_hash_80(int t...
1,872
1,151
import numpy as np from tslearn.metrics import cdist_gak from tslearn.svm import TimeSeriesSVC, TimeSeriesSVR __author__ = '<NAME> <EMAIL>[<EMAIL>' def test_gamma_value_svm(): n, sz, d = 5, 10, 3 rng = np.random.RandomState(0) time_series = rng.randn(n, sz, d) labels = rng.randint(low=0, high=2, siz...
608
1,266
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2017-2019 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <feerate.h> #include <network.h...
905
32,544
<gh_stars>1000+ package com.baeldung.overrideproperties; import org.springframework.context.ApplicationContextInitializer; import org.springframework.context.ConfigurableApplicationContext; import org.springframework.test.context.support.TestPropertySourceUtils; public class PropertyOverrideContextInitializer impleme...
223
778
<gh_stars>100-1000 // | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: <NAME> // ...
4,625
12,278
<reponame>189569400/ClickHouse # /* ************************************************************************** # * * # * (C) Copyright <NAME> 2011. # * Distributed under the Boost Software License, Version 1.0. (See # * accompanyin...
604
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "rankmanager.h" #include <vespa/searchsummary/docsummary/juniperproperties.h> #include <vespa/storage/visiting/visitor.h> #include <vespa/config/retriever/simpleconfigurer.h> #include <vespa/...
845
1,125
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2020 <NAME> <<EMAIL>> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at http://mozilla.org/MPL/2....
1,308
372
<reponame>CreativeWurks/emailerpro from django.urls import path from . import views app_name = 'notifications' urlpatterns = [ path('', views.NotificationListView.as_view(), name='notifications'), path('<int:pk>/', views.NotificationDetailView.as_view(), name='notification_detail'), path('unread/', views...
183
5,169
{ "name": "VLTFoundation", "version": "1.2.0", "authors": "Verizon", "summary": "Reusable Foundation component for iOS", "homepage": "https://location.verizon.com", "license": "Commercial", "platforms": { "ios": "12.0" }, "requires_arc": true, "swift_versions": "5.0", "module_name": "VLTFounda...
237
347
<filename>backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/HostErratumQueryParameters.java package org.ovirt.engine.core.common.queries; import org.ovirt.engine.core.compat.Guid; public class HostErratumQueryParameters extends IdQueryParameters { private static final long serial...
235
1,208
<filename>Source/TLKitExtensions/TLNetwork/TLNetwork/Request/TLDownloadRequest/TLDownloadRequest.h // // TLDownloadRequest.h // TLChat // // Created by 李伯坤 on 2017/7/14. // Copyright © 2017年 李伯坤. All rights reserved. // #import "TLBaseRequest.h" @interface TLDownloadRequest : TLBaseRequest /// 下载缓存路径 @property (...
178
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.chrome.browser.download; import android.text.TextUtils; import org.chromium.base.Log; import org.chromium.base.VisibleForTesting; i...
6,448
302
/*------------------------------------------------------------------------ Copyright (C) 2002-2016 SIL International. All rights reserved. Distributable under the terms of either the Common Public License or the GNU Lesser General Public License, as specified in the LICENSING.txt file. File: TECkit_Common.h Responsib...
1,243
892
<reponame>westonsteimel/advisory-database-github<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-cf9g-639p-3wvv", "modified": "2022-03-23T00:00:46Z", "published": "2022-03-16T00:00:50Z", "aliases": [ "CVE-2021-42387" ], "details": "Heap out-of-bounds read in Clickhouse's LZ4 compression cod...
507
5,422
// // detail/conditionally_enabled_mutex.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2021 <NAME> (chris at kohlhoff dot com) // // 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 ...
1,229
5,169
<reponame>Gantios/Specs { "name": "MVVMBuildItDay", "version": "0.1.9", "summary": "MVVM based on Android Architecture Components", "description": "Makes MVVM usage easy! Based on the Android Architecture Components.", "homepage": "https://github.com/jacobminer/ios-viewmodels/", "license": { "type": "AP...
258
353
<reponame>muyiluop/nutzmore<filename>nutz-integration-activiti/src/main/java/org/nutz/integration/activiti/NutzJdbcTransaction.java<gh_stars>100-1000 package org.nutz.integration.activiti; public class NutzJdbcTransaction { }
87
1,085
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
1,434
678
<reponame>bzxy/cydia /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices */ #import <GeoServices/NSURLConnectionDelegate.h> #import <GeoServices/GEOSupportedTileSetsServerProxy.h> #import <GeoServices/XXUnknownSuperclass.h> @class NS...
679
1,350
<filename>sdk/videoanalyzer/azure-media-videoanalyzer-edge/src/main/java/com/azure/media/videoanalyzer/edge/models/VideoEncoding.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.media.video...
447
434
<gh_stars>100-1000 package com.amazonaws.services.lambda.runtime.events; import java.io.Serializable; import java.util.List; import java.util.Map; import java.util.Objects; /** * @author <NAME> <<EMAIL>> */ public class APIGatewayV2WebSocketEvent implements Serializable, Cloneable { private static final long ser...
8,789
2,338
//===-- GetOptInc.h ---------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
611
32,544
package com.baeldung.pdfthymeleaf; import com.lowagie.text.DocumentException; import org.junit.Test; import org.thymeleaf.TemplateEngine; import org.thymeleaf.context.Context; import org.thymeleaf.templatemode.TemplateMode; import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver; import org.xhtmlrenderer.pdf...
602
2,151
# Configuration for cmake-format (v0.4.1, circa Jul 2018) # https://github.com/cheshirekow/cmake_format # How wide to allow formatted cmake files line_width = 132 # How many spaces to tab for indent tab_size = 4 # If arglists are longer than this, break them always max_subargs_per_line = 3 # If true, separate flow ...
282
388
<gh_stars>100-1000 ''' Speed: 77.11% Memory: 82.57% Time Complexity: O(n) ''' class Solution: def getRow(self, k: int) -> List[int]: res = [1]*(k+1) #res[0]=1 for i in range(1,k): for j in range(i,0,-1): res[j]+=res[j-1] return res
171
606
/* # _____ ___ ____ ___ ____ # ____| | ____| | | |____| # | ___| |____ ___| ____| | \ PS2DEV Open Source Project. #----------------------------------------------------------------------- # Copyright (c) 2003 <NAME> <<EMAIL>> # Licenced under Academic Free License version 2.0 # Rev...
711
348
{"nom":"<NAME>","circ":"3ème circonscription","dpt":"Loir-et-Cher","inscrits":173,"abs":98,"votants":75,"blancs":3,"nuls":0,"exp":72,"res":[{"nuance":"UDI","nom":"<NAME>","voix":51},{"nuance":"REM","nom":"<NAME>","voix":21}]}
94
445
<reponame>bavison/opensmalltalk-vm ///////////////////////////////////////////////////////////////////////// // $Id: eth_arpback.cc,v 1.19 2008/01/26 22:24:01 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. // // MandrakeSoft S.A. ...
2,856
656
# Generated by Django 2.2.5 on 2019-11-18 23:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('part', '0024_auto_20191118_2139'), ] operations = [ migrations.AlterField( model_name='part', name='units', ...
193
881
<filename>gcloud/clocked_task/permissions.py # -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "Lice...
927
15,179
import pytest from jina import Flow num_calls = 0 @pytest.fixture(scope='function', autouse=True) def patched_path_import(mocker): from jina.importer import _path_import def _wrapped_path_import(absolute_path: str): global num_calls num_calls += 1 assert num_calls < 2 return ...
386
1,081
#ifndef L1_LOSS_LAYER_HPP_ #define L1_LOSS_LAYER_HPP_ #include <vector> #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/layers/loss_layer.hpp" #include "caffe/layers/eltwise_layer.hpp" #include "caffe/layers/power_layer.hpp" #include "caffe/layers/conv_layer.hpp...
951
2,753
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: <NAME>, <NAME> */ #include <shogun/lib/common.h> #include <shogun/distance/ManhattanWordDistance.h> #include <shogun/features/Features.h> #include <shogun/features/StringFeatures.h> #include <shogun/io/SGIO.h> using name...
1,035
965
class CCustomDialog : public CDialog { CEdit m_edit; virtual BOOL OnInitDialog(); };
32
575
<gh_stars>100-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 CHROMEOS_SERVICES_NEARBY_PUBLIC_CPP_FAKE_NEARBY_PROCESS_MANAGER_H_ #define CHROMEOS_SERVICES_NEARBY_PUBLIC_CPP_FAKE_NEARBY_PROC...
1,123
2,151
<reponame>zipated/src // Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/cryptauth/remote_device_ref.h" #include <memory> #include "base/macros.h" #include "components/cryptauth/remo...
1,286
432
<filename>apps/vJoyFeeder/vJoyClient.cpp ////////////////////////////////////////////////////////////////////////////////////////// // Logical layer between vJoyInterface.dll and the application (vJoyDemo) // // It is assumed that the application does not open more than one VJD for writing. // The handle to this device...
2,421
918
<reponame>yogi1324/gobblin<gh_stars>100-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 Lice...
781
2,151
<reponame>zipated/src<gh_stars>1000+ // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include "base/command_line.h" #include "base/location.h" #include "base/path_service.h" #include ...
7,258
679
<filename>main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for...
3,351
861
package cn.springcloud.gray.communication; import cn.springcloud.gray.api.ApiRes; import cn.springcloud.gray.communication.exception.CommunicationException; import cn.springcloud.gray.communication.http.HttpAgent; import cn.springcloud.gray.http.HttpMethod; import cn.springcloud.gray.http.HttpRequest; import cn.spring...
2,777
5,250
<filename>modules/flowable-cmmn-engine/src/main/java/org/flowable/cmmn/engine/impl/persistence/entity/data/impl/MybatisMilestoneInstanceDataManager.java /* 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 ...
1,119
703
<filename>Code/EditorPlugins/Assets/EditorPluginAssets/TextureAsset/TextureAsset.cpp<gh_stars>100-1000 #include <EditorPluginAssets/EditorPluginAssetsPCH.h> #include <EditorFramework/Assets/AssetCurator.h> #include <EditorPluginAssets/TextureAsset/TextureAsset.h> #include <EditorPluginAssets/TextureAsset/TextureAs...
9,606
585
# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT from ..dti import ProbTrackX def test_ProbTrackX_inputs(): input_map = dict( args=dict( argstr="%s", ), avoid_mp=dict( argstr="--avoid=%s", extensions=None, ), c_thresh=dict( ...
2,342
435
package datawave.query.jexl.functions; import datawave.query.language.parser.jexl.LuceneToJexlQueryParser; import datawave.query.language.tree.QueryNode; import org.junit.Assert; import org.junit.Test; public class GeoWaveFunctionsTest { @Test public void testLuceneToJexlConversion() throws Exception { ...
723
880
<gh_stars>100-1000 /* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <chrono> #include <random> #include <glog/logging.h> #include <gtest/gtest.h> #include <openr/common/...
1,973
575
// 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. package org.chromium.chrome.browser.signin; import android.accounts.Account; import androidx.annotation.MainThread; import androidx.annotation.Nullable;...
12,421
2,381
{"errorDetail":{"message":"Error: image cccxxx/xxxccc:latest not found"},"error":"Error: image cccxxx/xxxccc:latest not found"}
40