max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
435
{ "description": "The `Bokeh data visualization library <http://bokeh.pydata.org/>`__\nallows you to build interactive visualizations for the web in python. It\nhas a range of capabilities from quick \"one-line\" charts to streaming\ndatasets to integrating with your existing plot libraries such as\nmatplotlib or ggp...
754
416
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
7,817
1,405
<reponame>jarekankowski/pegasus_spyware<filename>sample4/recompiled_java/sources/org/apache/commons/httpclient/cookie/RFC2965Spec.java package org.apache.commons.httpclient.cookie; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Date; import java.util.HashMap; import ...
14,836
5,903
<reponame>zhouguangping/pentaho-kettle<gh_stars>1000+ /*! * Copyright 2010 - 2017 <NAME>. 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.or...
3,339
348
<filename>docs/data/leg-t2/059/05914499.json<gh_stars>100-1000 {"nom":"Rexpoëde","circ":"14ème circonscription","dpt":"Nord","inscrits":1470,"abs":818,"votants":652,"blancs":46,"nuls":22,"exp":584,"res":[{"nuance":"LR","nom":"<NAME>","voix":366},{"nuance":"REM","nom":"<NAME>","voix":218}]}
119
372
<filename>lwnetapi/test/test_lsa.c /* Editor Settings: expandtabs and use 4 spaces for indentation * ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: * */ /* * Copyright © BeyondTrust Software 2004 - 2019 * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may...
40,824
319
<gh_stars>100-1000 /** * Copyright (c) 2011, The University of Southampton and the individual contributors. * 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 sourc...
1,186
777
<filename>tools/clang/blink_gc_plugin/tests/member_in_offheap_class.cpp // Copyright 2014 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 "member_in_offheap_class.h" namespace blink { void OffHeapObject::trace...
186
362
package subreddit.android.appstore.screens.list; import android.content.SharedPreferences; import android.os.Bundle; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.List; import io.reactivex.Observable; import io.reactivex.android.sched...
2,674
675
<gh_stars>100-1000 /* * Copyright 2018 The Bazel Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
1,050
1,405
package com.tendcloud.tenddata; final class ac implements Runnable { ac() { } public void run() { TCAgent.c(TCAgent.f()); if (TCAgent.j() == 0) { TCAgent.c(System.currentTimeMillis()); } if (TCAgent.b()) { TCAgent.f = u.u(); } TCAgent...
203
432
<gh_stars>100-1000 import json import os import random import dash from dash.dependencies import Input, Output, State import dash_core_components as dcc import dash_html_components as html import dash_cytoscape as cyto asset_path = os.path.join( os.path.dirname(os.path.abspath(__file__)), '..', 'assets' ) a...
2,012
1,122
<filename>Algorithms/Strings/Mars Exploration/Solution.java //Problem: https://www.hackerrank.com/challenges/mars-exploration //Java 8 import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { ...
427
343
from django import template register = template.Library() @register.filter(is_safe=True) def ListToStr(l,nu): return l[nu]
52
13,846
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #include "precomp.h" class ADMINISTRATION_CONFIG_PATH_MAPPER : public IAppHostPathMapper { public: ADMINISTRATION_CONFIG_PATH_MAPPER( VOID ) : _cRefs( 1 ) { } ~ADMINISTRATION_...
8,538
2,721
/* * ****************************************************************************** * Copyright (c) 2013-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 * * htt...
4,978
1,738
<gh_stars>1000+ /* * 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 li...
1,114
721
<filename>enderio-machines/src/main/java/crazypants/enderio/machines/machine/generator/lava/GuiLavaGenerator.java package crazypants.enderio.machines.machine.generator.lava; import java.awt.Rectangle; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.enderio.core.client.gui.widget.GhostSl...
1,513
11,664
<filename>packages/translator-default/test/fixtures/custom-element-tag/components/hello/marko-tag.json<gh_stars>1000+ { "html": true, "htmlType": "custom-element", "parseOptions": { "import": "./init.js" } }
85
1,570
// Copyright 2016 The SwiftShader 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 b...
653
739
#!/usr/bin/env python import pygtk pygtk.require('2.0') import gtk class ComboBoxEntryExample: def __init__(self): window = gtk.Window() window.connect('destroy', lambda w: gtk.main_quit()) comboboxentry = gtk.combo_box_entry_new_text() window.add(comboboxentry) comboboxent...
412
2,201
<gh_stars>1000+ // Copyright (C) 2021-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <stddef.h> #include <algorithm> #include <cmath> #include <memory> #include <string> #include <vector> #include <opencv2/core.hpp> #include "face_reid.hpp" #include "tracker.hpp" namespace { float Comput...
1,095
23,901
# 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/LICENSE-2.0 # # Unless required by applicab...
1,652
9,491
<reponame>divinity76/hhvm<gh_stars>1000+ #include "hphp/runtime/base/array-init.h" #include "hphp/runtime/ext/icu/icu.h" #include "hphp/runtime/base/builtin-functions.h" #include "hphp/runtime/base/tv-refcount.h" #include "hphp/runtime/vm/vm-regs.h" #include <unicode/uchar.h> namespace HPHP { namespace Intl { ///////...
5,947
1,175
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "SwiftyOnboard.h" FOUNDATION_EXPORT double SwiftyOnboardVersionNumber; FOUNDATION_EXPORT const unsigned char SwiftyO...
127
592
/* * 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 ...
581
982
#ifndef __win_sys_time_h__ #define __win_sys_time_h__ #define clock_gettime(x, data) ((timespec_get(data, TIME_UTC) != 0) ? 0 : 1) #endif
62
12,718
<filename>lib/libc/mingw/secapi/_mktemp_s.c #include <windows.h> #include <malloc.h> #include <errno.h> #include <msvcrt.h> #include <io.h> static errno_t __cdecl _int_mktemp_s (char *, size_t); static errno_t __cdecl _stub (char *, size_t); errno_t __cdecl (*__MINGW_IMP_SYMBOL(_mktemp_s))(char *, size_t) = _stub; ...
566
686
<gh_stars>100-1000 /* * base64 encoder/decoder * * Copyright 2005 by <NAME> * * 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; either * version 2 of the License, or (at your option...
3,003
705
<gh_stars>100-1000 # Copyright 2019-2020 Spotify AB # # 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 ...
3,103
305
<filename>gtests/Base.Log.test.cpp #include "Saba/Base/Log.h" #include <string> #include <vector> #include <gtest/gtest.h> class TestSink : public spdlog::sinks::sink { public: void log(const spdlog::details::log_msg& msg) override { m_buffer.push_back(msg.formatted.str()); } void flush() override { } st...
357
5,926
import functools import importlib import unittest using___import__ = False def import_(*args, **kwargs): """Delegate to allow for injecting different implementations of import.""" if using___import__: return __import__(*args, **kwargs) else: return importlib.__import__(*args, **kwargs) ...
257
754
/*- * << * UAVStack * == * Copyright (C) 2016 - 2017 UAVStack * == * 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 r...
1,513
964
[ { "queryName": "Schema Object Properties With Duplicated Keys (v3)", "severity": "INFO", "line": 19, "filename": "positive1.json" }, { "queryName": "Schema Object Properties With Duplicated Keys (v3)", "severity": "INFO", "line": 38, "filename": "positive1.json" }, { "que...
1,093
652
// // LogConst.h // WLForm // // Created by 刘光强 on 2018/5/5. // Copyright © 2018年 quangqiang. All rights reserved. // #ifndef LogConst_h #define LogConst_h #ifdef DEBUG #define NSLog(FORMAT, ...) fprintf(stderr, "%s:%d\t%s\n", [[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__...
191
552
// Data structures for the layout of a package #pragma once #include <EtCore/Hashing/Hash.h> namespace et { namespace core { //--------------------------------- // E_CompressionType // // List of supported compression types // enum class E_CompressionType : uint8 { Store, //Brotli, - will be implemented COUNT ...
262
3,200
# Copyright 2021 Huawei Technologies 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 # # Unless required by applicable law or agreed to...
1,389
1,056
<filename>ide/parsing.indexing/src/org/netbeans/modules/parsing/impl/indexing/InjectedTasksSupport.java /* * 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 ownersh...
821
648
{"category":"measurement","id":"example","identifier":{"system":"http://goodcare.org/devicemetric/id","value":"345675"},"resourceType":"DeviceMetric","text":{"div":"<div><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>type</b>: MDC_PULS_OXIM_SAT_O2 <span>(Details : {https://rtmms.nist.gov c...
320
3,486
<reponame>rafaelmotaalves/titan package com.thinkaurelius.titan.graphdb.database.serialize.attribute; import com.thinkaurelius.titan.diskstorage.ScanBuffer; import com.thinkaurelius.titan.diskstorage.WriteBuffer; import com.thinkaurelius.titan.graphdb.database.serialize.OrderPreservingSerializer; public class ShortSe...
635
1,151
from sklearn.base import ClusterMixin, TransformerMixin from sklearn.metrics.pairwise import pairwise_kernels from sklearn.utils import check_random_state from sklearn.utils.extmath import stable_cumsum from sklearn.utils.validation import _check_sample_weight from scipy.spatial.distance import cdist import numpy impo...
15,380
1,056
<filename>org-netbeans-modules-db/src/main/java/org/netbeans/modules/db/explorer/node/DDLHelper.java /* * 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....
921
366
<filename>include/networkit/community/OverlappingCommunityDetectionAlgorithm.hpp<gh_stars>100-1000 /* * OverlappingCommunityDetectionAlgorithm.hpp * * Created on: 14.12.2020 * Author: <NAME> */ #ifndef NETWORKIT_COMMUNITY_OVERLAPPING_COMMUNITY_DETECTION_ALGORITHM_HPP_ #define NETWORKIT_COMMUNITY_OVERLAPPING...
507
517
<gh_stars>100-1000 /* Copyright 2020 The TensorFlow 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 ...
644
5,893
# Copyright 2017 Neural Networks and Deep Learning lab, MIPT # # 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...
2,099
458
<reponame>niranjanchintu/hyscale<filename>image-builder/builder-services/src/main/java/io/hyscale/builder/services/docker/impl/DockerBinaryClient.java /** * Copyright 2019 <NAME>, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
4,345
2,941
<gh_stars>1000+ package software.amazon.awscdk.examples; import java.util.Arrays; import java.util.List; import software.amazon.awscdk.core.Construct; import software.amazon.awscdk.services.sns.Topic; import software.amazon.awscdk.services.sns.subscriptions.SqsSubscription; import software.amazon.awscdk.services.sqs.Q...
877
310
{ "name": "Burp", "description": "Software for vulnerability scanning and traffic interception.", "url": "https://portswigger.net/burp/" }
43
348
{"nom":"Lodes","circ":"8ème circonscription","dpt":"Haute-Garonne","inscrits":226,"abs":124,"votants":102,"blancs":8,"nuls":8,"exp":86,"res":[{"nuance":"REM","nom":"<NAME>","voix":53},{"nuance":"SOC","nom":"M. <NAME>","voix":33}]}
94
3,083
<filename>src/main/java/com/google/security/zynamics/binnavi/Gui/MainWindow/ProjectTree/Actions/CInsertTagAction.java<gh_stars>1000+ // Copyright 2011-2016 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obta...
814
671
/* * Copyright 2016 Copyright 2016 <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 ...
610
5,169
<reponame>Gantios/Specs { "name": "YLDragView", "version": "0.0.1", "summary": "YLDragView.", "description": "拖拽视图、可移动视图、悬浮可拖动视图", "homepage": "https://github.com/jianghat/YLDragView", "license": "MIT", "authors": { "jiang": "<EMAIL>" }, "platforms": { "ios": "9.0" }, "source": { "git"...
251
1,056
<reponame>arusinha/incubator-netbeans /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License...
3,647
598
from enum import Enum class MessageTag(Enum): ROLLOUT = "rollout" CHOOSE_ACTION = "choose_action" ACTION = "action" ABORT_ROLLOUT = "abort_rollout" TRAIN = "train" FINISHED = "finished" EXIT = "exit" class PayloadKey(Enum): ACTION = "action" AGENT_ID = "agent_id" ROLLOUT_INDE...
234
460
#include "../../../src/declarative/graphicsitems/qdeclarativelistview_p.h"
29
831
/* * 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,674
1,006
/**************************************************************************** * drivers/usbdev/cdcacm.h * * 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...
3,565
312
# Copyright (C) 2004-2011, Parrot Foundation. class Foo: def __init__(self): self.i = 10 self.j = 20 def I(self): return self.i def J(self): return self.j class main: o = Foo() for i in range(1,500001): x = o.I() y = o.J() print o.I()
127
5,079
<reponame>rohankumardubey/hue<gh_stars>1000+ # Generated by Django 3.2.4 on 2021-07-13 01:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('desktop', '0012_connector_interface'), ] operations = [ migrations.AlterField( mode...
213
560
<gh_stars>100-1000 /* * Copyright (c) 2017 <NAME> <<EMAIL>> * All Rights Reserved. */ package me.zhanghai.android.douya.app; import android.net.Uri; import android.os.ParcelFileDescriptor; import androidx.annotation.NonNull; import androidx.core.content.FileProvider; import android.text.TextUtils; import java.io....
506
424
/* * Copyright (C) 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
686
1,144
package de.metas.printing.client.encoder; /* * #%L * de.metas.printing.esb.client * %% * Copyright (C) 2015 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either versio...
794
739
package org.fxmisc.richtext.keyboard; import com.nitorcreations.junit.runners.NestedRunner; import javafx.scene.Scene; import javafx.scene.input.Clipboard; import javafx.scene.input.ClipboardContent; import javafx.stage.Stage; import org.fxmisc.flowless.VirtualizedScrollPane; import org.fxmisc.richtext.CodeArea; impor...
4,411
6,215
<reponame>OTRI-Unipd/OTRI-airbyte { "_airbyte_another.postgres_has_a_64_characters_limit_to_table_names_but_other_destinations_are_fine.postgres_has_a_64_characters_limit_to_table_names_but_other_destinations_are_fine": { "file": "_airbyte_another_postgres_has_a_64_characters_limit_to_table_names_but_other_destin...
1,092
410
#include "Precompiled.h" #include "Math/Math.h" #include "SIMD/SIMD.h" #include "Core/CVars.h" #include "Sound/SoundSystem.h" BE_NAMESPACE_BEGIN static const int MaxSources = 32; static CVar s_khz("s_khz", "44", CVar::Flag::Integer | CVar::Flag::Archive, ""); static CVar s_doppler("s_doppler", "1.0", CVar::Flag::Flo...
2,066
521
/* $Id: UIThreadPool.h $ */ /** @file * VBox Qt GUI - UIThreadPool and UITask classes declaration. */ /* * Copyright (C) 2013-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute i...
1,720
947
<filename>src/modules/extrakeys/hsort_impl.h /*********************************************************************** * Copyright (c) 2021 <NAME>, <NAME> * * Distributed under the MIT software license, see the accompanying * * file COPYING or https://www.opensource.org/licenses/mit-license.php...
1,988
450
/* ______ ___ ___ * /\ _ \ /\_ \ /\_ \ * \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___ * \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ * \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \ * \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/ *...
8,455
2,151
<filename>chrome/browser/safe_browsing/download_protection/disk_image_type_sniffer_mac.cc // 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 "chrome/browser/safe_browsing/download_protection/disk_...
495
1,144
<filename>backend/de.metas.materialtracking/src/main/java/de/metas/materialtracking/qualityBasedInvoicing/IQualityInspectionLineBuilder.java package de.metas.materialtracking.qualityBasedInvoicing; /* * #%L * de.metas.materialtracking * %% * Copyright (C) 2015 metas GmbH * %% * This program is free software: you...
644
511
/****************************************************************** * * Copyright 2016 Samsung Electronics 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 * ...
3,095
619
<gh_stars>100-1000 /* * Author: <NAME> <<EMAIL>> * Copyright (c) 2016 Intel Corporation. * * This program and the accompanying materials are made available under the * terms of the The MIT License which is available at * https://opensource.org/licenses/MIT. * * SPDX-License-Identifier: MIT */ #include <ecezo....
507
2,606
package weixin.popular.bean.shakearound.device; import com.alibaba.fastjson.annotation.JSONField; /** * 设备信息ID * @author Moyq5 * @date 2016年7月30日 */ public class DeviceIdentifier { /** * 设备编号,<br> * 添加或修改时,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先<br> * 必填 */ @JSONField(name = "devic...
1,414
515
<reponame>kraehlit/CTK<filename>Plugins/org.commontk.eventadmin/dispatch/ctkEALinkedQueue_p.h /*============================================================================= Library: CTK Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache Li...
1,054
335
<filename>P/Pin_noun.json { "word": "Pin", "definitions": [ "A thin piece of metal with a sharp point at one end and a round head at the other, used for fastening pieces of cloth, paper, etc.", "A small brooch or badge.", "A steel rod used to join the ends of fractured bones while they h...
325
1,194
{ "resourceType": "Observation", "id": "vp-oyster", "text": { "status": "generated", "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative with Details\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eid\u003c/b\u003e: vp-oyster\u003c/p\u003e\...
2,098
364
<reponame>spring-operator/reactive-streams-commons package rsc.scheduler; import java.util.concurrent.TimeUnit; import org.junit.Test; import rsc.publisher.Px; import rsc.test.TestSubscriber; public class SingleThreadedExecutorTest { @Test public void range() { int count = 1_000_000; Intege...
363
3,986
<gh_stars>1000+ /* * Copyright (C) 2019 xuexiangjys(<EMAIL>) * * 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 ...
2,303
354
#include <esp_event_loop.h> #include <esp_log.h> #include <esp_system.h> #include <nvs_flash.h> #include <sys/param.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/event_groups.h" #include "esp_camera.h" static const char *TAG = "example_change_detection"; QueueHandle_t queue; stati...
2,249
928
<filename>source/cli/metacallcli/include/metacallcli/parser.hpp<gh_stars>100-1000 /* * MetaCall Command Line Interface by Parra Studios * Copyright (C) 2016 - 2021 <NAME> <<EMAIL>> * * A command line interface example as metacall wrapper. * */ #ifndef METACALL_CLI_PARSER_HPP #define METACALL_CLI_PARSER_...
1,803
11,356
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: Imputer.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "Imputer.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <go...
16,811
474
<gh_stars>100-1000 /* Copyright 2016 Samsung Electronics 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 * * Unless require...
270
1,806
/* * -\-\- * Spotify Apollo Testing Helpers * -- * Copyright (C) 2013 - 2015 Spotify AB * -- * 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/L...
554
1,318
from unittest import TestCase from inspect import Signature, Parameter, signature from ...traitlets import HasTraits, Int, Unicode from ..decorators import signature_has_traits class TestExpandSignature(TestCase): def test_no_init(self): @signature_has_traits class Foo(HasTraits): ...
2,275
5,541
import os, sys sys.path.insert(0, os.path.abspath("..")) import pandas as pd import numpy as np import pytest import pycaret.classification import pycaret.regression import pycaret.datasets def test_classification_convert_model(): # loading dataset data = pycaret.datasets.get_data("blood") # initializ...
514
2,123
#include "stdlib.h" #include "util.h" #include "dataset.h" void __attribute__((noinline)) matmul(const int coreid, const int ncores, const int lda, const data_t A[], const data_t B[], data_t C[] ) { // ***************************** // // **** ADD YOUR CODE HERE ***** // // ***************************** ...
922
423
// The MIT License (MIT) // Copyright © 2015 AppsLandia. All rights reserved. // 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 ...
1,266
1,018
/* * Copyright 2017-2018 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 * * Unless required by applica...
705
637
<reponame>Nekoer/uncle-novel package com.unclezs.novel.app.main.views.components.cell; import cn.hutool.core.io.FileUtil; import com.unclezs.novel.analyzer.spider.Spider; import com.unclezs.novel.analyzer.util.StringUtils; import com.unclezs.novel.app.framework.components.ModalBox; import com.unclezs.novel.app.framewo...
1,897
852
#ifndef EgammaCandidates_Electron_h #define EgammaCandidates_Electron_h /** \class reco::Electron * * Reco Candidates with an Electron component * * \author <NAME>, INFN * * */ #include "DataFormats/RecoCandidate/interface/RecoCandidate.h" #include "DataFormats/GsfTrackReco/interface/GsfTrack.h" namespace reco ...
616
2,757
<gh_stars>1000+ """Interface to the Expat non-validating XML parser.""" __version__ = '$Revision$' from pyexpat import *
46
2,440
from cyberbrain import InitialValue, Binding, Symbol, Return def f(): return 1 def test_ref_outside(trace, check_golden_file): @trace def test_ref_outside_inner(): a = f() test_ref_outside_inner()
85
1,168
<reponame>wcalandro/kythe // Checks that we correctly attribute class template instantiation // via C++17 constructor argument deduction and guides. //- @S defines/binding StructS struct S {}; template <typename T> //- @C defines/binding TemplC struct C { //- @C defines/binding Ctor0 C() { } //- @C defines/bi...
381
777
<filename>net/nqe/network_quality_estimator_params.cc<gh_stars>100-1000 // 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 "net/nqe/network_quality_estimator_params.h" #include <stdint.h> #inclu...
5,722
703
<reponame>wangyuxin11/NewsRecommendSystem package top.qianxinyao.model; import top.qianxinyao.model.base.BaseUsers; /** * Generated by JFinal. */ @SuppressWarnings("serial") public class Users extends BaseUsers<Users> { public static final Users dao = new Users().dao(); }
96
703
// // {{args.Prefix}}GlobalEnums.h // {{args.ProductName}} // // Created by Baitianyu on 05/12/2016. // Copyright © 2016 Netease. All rights reserved. // #import <Foundation/Foundation.h> /** 红点的类型,用于未读消息这类场景。 @constant {{args.Prefix}}BadgeTypeText 带有文字的圆点 @constant {{args.Prefix}}BadgeTypeDot 不含有文字的圆点 */ ...
498
335
# ***************************************************************************** # # Copyright (c) 2020, the pyEX authors. # # This file is part of the pyEX library, distributed under the terms of # the Apache License 2.0. The full license can be found in the LICENSE file. # # for Coverage from mock import MagicMock, ...
359
5,249
<reponame>leo0519/TensorRT<gh_stars>1000+ # # Copyright (c) 2021, NVIDIA CORPORATION. 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/licens...
4,540
860
<reponame>xiefan46/samza /* * 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...
633
3,358
<gh_stars>1000+ /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free softwar...
323