max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
65,488
[{ "code": "invalid-transition", "message": "Transitions can only be applied to DOM elements, not components", "start": { "line": 7, "column": 8, "character": 87 }, "end": { "line": 7, "column": 14, "character": 93 }, "pos": 87 }]
106
12,718
// -*- 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 // //===------------...
532
372
<reponame>mdbloice/systemds # ------------------------------------------------------------- # # 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 lice...
943
313
//------------------------------------------------------------------------------ // GxB_init: initialize GraphBLAS and declare malloc/calloc/realloc/free to use //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2022, All Rights Reserved. // SPDX...
1,764
606
/* # Copyright 2021 Hewlett Packard Enterprise Development LP # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, m...
3,133
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Villers-Bocage","circ":"6ème circonscription","dpt":"Calvados","inscrits":2074,"abs":1032,"votants":1042,"blancs":45,"nuls":12,"exp":985,"res":[{"nuance":"REM","nom":"<NAME>","voix":399},{"nuance":"FN","nom":"<NAME>","voix":155},{"nuance":"UDI","nom":"<...
354
350
<reponame>zqn1996-alan/talkback<gh_stars>100-1000 /* * Copyright 2020 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 * ...
1,057
14,668
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/animation/property_handle.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/rendere...
2,180
12,824
/* * Scala (https://www.scala-lang.org) * * Copyright EPFL and Lightbend, Inc. * * Licensed under Apache License 2.0 * (http://www.apache.org/licenses/LICENSE-2.0). * * See the NOTICE file distributed with this work for * additional information regarding copyright ownership. */ package scala.runtime; public...
246
3,102
// RUN: %clang_cc1 -Wall %s -I %S/Inputs -isystem %S/Inputs/SystemHeaderPrefix -verify // RUN: %clang_cc1 %s -E -o - -I %S/Inputs -isystem %S/Inputs/SystemHeaderPrefix | FileCheck %s #include <noline.h> #include <line-directive-in-system.h> // expected-warning@line-directive.h:* {{type specifier missing, defaults to '...
393
335
<filename>R/Redecoration_noun.json { "word": "Redecoration", "definitions": [ "The process of applying paint or wallpaper in a room or building again, typically in a different style from before." ], "parts-of-speech": "Noun" }
89
5,169
<reponame>Gantios/Specs { "name": "BlazeHTMLCell", "version": "0.0.4", "summary": "HTML-cell addition to Blaze", "license": "MIT", "description": "Useful HTML-cell addition to Blaze, using DTCoreText and TTTAttributedLabel for performance and link checking", "homepage": "https://github.com/BobDG/Blaze-HTMLC...
298
460
<reponame>dyzmapl/BumpTop // Copyright 2012 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 //...
504
15,577
/// c++ sample dictionary library #include <cstdint> #include <functional> #include <iostream> #include <memory> #include <sstream> #include <vector> namespace ClickHouseLibrary { using CString = const char *; using ColumnName = CString; using ColumnNames = ColumnName[]; struct CStrings { CString * data = nullpt...
3,766
1,350
/** * Copyright Microsoft 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 law or agreed to...
786
515
<filename>stella-gateway-formas-pagamento/src/main/java/br/com/caelum/stella/gateway/bb/RespostaInicialFormularioSonda.java<gh_stars>100-1000 package br.com.caelum.stella.gateway.bb; /** * Classe para poder parsear o xml de entrada do formulario sonda e servir de base para criar a BBFormularioSondaReturn * ...
827
972
<gh_stars>100-1000 package com.hannesdorfmann.fragmentargs.processor; import org.junit.Test; import static com.hannesdorfmann.fragmentargs.processor.CompileTest.assertClassCompilesWithoutError; public class InnerClassTest { @Test public void innerClass() { assertClassCompilesWithoutError("ClassWithI...
194
2,453
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 <NAME>. // #import <IDESourceEditor/_TtC15IDESourceEditor23DVTSourceEditorLandmark.h> @interface _TtC15IDESourceEditor23DVTSourceEditorLandmark (IDESourceEditor) - (unsigned long long)landmarkI...
208
381
<reponame>nanjekyejoannah/pypy #include "operators.h" // for testing the case of virtual operator== v_opeq_base::v_opeq_base(int val) : m_val(val) {} v_opeq_base::~v_opeq_base() {} bool v_opeq_base::operator==(const v_opeq_base& other) { return m_val == other.m_val; } v_opeq_derived::v_opeq_derived(int val) : v_o...
206
811
<reponame>mitsuhiko/lol-html { "description": "Selectors - Parsing: Numbers in classes (css3-modsel-175a)", "selectors": { "p": "css3-modsel-175a.expected0.html" }, "src": "css3-modsel-175a.src.html" }
92
892
{ "schema_version": "1.2.0", "id": "GHSA-hvp2-hchp-m52h", "modified": "2022-05-13T01:16:02Z", "published": "2022-05-13T01:16:02Z", "aliases": [ "CVE-2013-3200" ], "details": "The USB drivers in the kernel-mode drivers in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Win...
527
921
// Copyright 2016-2021 <NAME> // Licensed under the Apache License, version 2.0 // See accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0 #ifndef LIBCURV_SSTATE_H #define LIBCURV_SSTATE_H namespace curv { struct Context; struct Frame; struct System; // Shared state while scanning/analysing/eva...
475
190,993
/* Copyright 2019 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 applicable law or a...
2,731
956
<gh_stars>100-1000 /* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2018 Intel Corporation */ #include "ifcvf.h" #include "ifcvf_osdep.h" STATIC void * get_cap_addr(struct ifcvf_hw *hw, struct ifcvf_pci_cap *cap) { u8 bar = cap->bar; u32 length = cap->length; u32 offset = cap->offset; if (bar > IFCVF_PC...
3,775
359
/** * Copyright 2021 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distr...
417
1,359
<filename>src/main/java/com/kalessil/phpStorm/phpInspectionsEA/utils/analytics/AnalyticsUtil.java package com.kalessil.phpStorm.phpInspectionsEA.utils.analytics; /* * This file is part of the Php Inspections (EA Extended) package. * * (c) <NAME> <<EMAIL>> * * For the full copyright and license information, please...
2,281
321
<gh_stars>100-1000 // // WLRAppDelegate.h // WLRRoute // // Created by Neo on 12/18/2016. // Copyright (c) 2016 Neo. All rights reserved. // @import UIKit; @class WLRRouter; @interface WLRAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property(nonatomic,strong)W...
131
345
import os import unittest import unittest.mock from programy.bot import Bot from programy.clients.polling.twitter.client import TwitterBotClient from programy.clients.polling.twitter.config import TwitterConfiguration from programy.storage.config import FileStorageConfiguration from programy.storage.factory import Sto...
1,345
4,901
<reponame>VSaliy/j2objc<filename>jre_emul/android/platform/libcore/ojluni/src/test/java/time/tck/java/time/temporal/TCKWeekFields.java /* * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you...
16,847
14,668
// 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 "services/network/public/cpp/server/http_connection.h" #include <utility> #include "base/check.h" #include "net/socket/stream_socket.h" #includ...
508
690
<gh_stars>100-1000 package com.artemis.link; import com.artemis.ComponentType; import com.artemis.Entity; import com.artemis.World; import com.artemis.annotations.EntityId; import com.artemis.annotations.LinkPolicy; import com.artemis.utils.Bag; import com.artemis.utils.IntBag; import com.artemis.utils.reflect.Annotat...
1,657
926
<filename>library/modules/Designations.cpp #include "DataDefs.h" #include "Error.h" #include "modules/Designations.h" #include "modules/Job.h" #include "modules/Maps.h" #include "df/job.h" #include "df/map_block.h" #include "df/plant.h" #include "df/plant_tree_info.h" #include "df/plant_tree_tile.h" #include "df/tile...
1,714
965
class ATL_NO_VTABLE CNoAggClass : public CComObjectRoot, public CComCoClass<CNoAggClass, &CLSID_NoAggClass> { public: CNoAggClass() { } DECLARE_NOT_AGGREGATABLE(CNoAggClass) };
87
190,993
<filename>tensorflow/cc/experimental/libtf/impl/none.h /* Copyright 2021 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/licen...
535
421
<reponame>hamarb123/dotnet-api-docs //<snippet1> using namespace System; using namespace System::IO; using namespace System::Collections; using namespace System::Runtime::Serialization::Formatters::Binary; using namespace System::Runtime::Serialization; ref class SingletonSerializationHelper; // There should...
1,274
1,305
<filename>src/org/example/source/javax/swing/JFrame.java /* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.swing; import java.awt.AWTEvent;...
13,120
710
<reponame>johncollinsai/post-high-frequency-data # This file is part of Patsy # Copyright (C) 2011-2013 <NAME> <<EMAIL>> # See file LICENSE.txt for license information. # Some generic utilities. __all__ = ["atleast_2d_column_default", "uniqueify_list", "widest_float", "widest_complex", "wide_dtype_for", "w...
12,701
1,670
<reponame>developer-guy/go-gitlab<gh_stars>1000+ { "event_name": "group_rename", "created_at": "2017-10-30T15:09:00Z", "updated_at": "2017-11-01T10:23:52Z", "name": "<NAME>", "path": "better-name", "full_path": "parent-group/better-name", "group_id": 64, "owner_name": null, "owner_email": null, "old...
173
355
package com.github.lindenb.jvarkit.tools.bam2graphics; import java.io.IOException; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import org.testng.Assert; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import com.github.lindenb.jvarkit.tests.AlsoTest; ...
658
7,857
<reponame>sharingcookies/nodegui<gh_stars>1000+ #pragma once #include <QTextEdit> #include "Extras/Export/export.h" #include "QtWidgets/QTextEdit/qtextedit_macro.h" #include "core/NodeWidget/nodewidget.h" class DLL_EXPORT NTextEdit : public QTextEdit, public NodeWidget { Q_OBJECT NODEWIDGET_IMPLEMENTATIONS(QText...
197
2,962
<filename>storio-sqlite/src/test/java/com/pushtorefresh/storio3/sqlite/design/ExecuteSQLOperationDesignTest.java package com.pushtorefresh.storio3.sqlite.design; import com.pushtorefresh.storio3.sqlite.queries.RawQuery; import org.junit.Test; import io.reactivex.Flowable; import static io.reactivex.BackpressureStra...
529
437
<reponame>yangzhongchao1011/MMM-Remote-Control { "TITLE": "Menú Magic Mirror", "EDIT_MENU_NAME": "Editar Vista", "SHUTDOWN_MENU_NAME": "Encendre/Apagar", "CONFIGURE_MENU_NAME": "Editar config.js", "VIEW_MIRROR": "MagicMirror<sup>2</sup>", "BACK": "Endarrera", "BRIGHTNESS": "Brillantor", ...
1,436
1,179
<filename>example/shippingindex_demo.py # encoding: UTF-8 from opendatatools import shippingindex if __name__ == "__main__": df, msg = shippingindex.get_index_list() print(df) for index, row in df.iterrows(): code = row['index'] df_data, msg = shippingindex.get_index_data(code) pr...
136
347
package org.ovirt.engine.ui.common.uicommon.model; import java.util.List; import org.ovirt.engine.ui.uicommonweb.models.SearchableListModel; /** * Provider of {@link SearchableListModel} instances. * * @param <T> * List model item type. * @param <M> * List model type. */ public interface...
249
471
import logging from datetime import datetime import attr from nose.tools import nottest from nose.plugins import Plugin import dimagi.utils.couch from dimagi.utils.couch.cache.cache_core import get_redis_client from ..locks import TestRedisClient log = logging.getLogger(__name__) class RedisLockTimeoutPlugin(Plug...
820
3,651
<reponame>aberdev/orientdb package com.orientechnologies.orient.core.metadata.security; import org.junit.Assert; import org.junit.Test; public class OSecurityResourceTest { @Test public void testParse() { Assert.assertEquals( OSecurityResourceClass.ALL_CLASSES, OSecurityResource.parseResource("databa...
1,871
619
<reponame>moredu/upm /* * Authors: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Copyright (c) 2014 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-Ident...
2,026
728
tpl_dict = { 'meta_docstring': 'with jupyter wigets', 'html_header': r""" {%- if "widgets" in nb.metadata -%} <script src="https://unpkg.com/jupyter-js-widgets@2.0.*/dist/embed.js"></script> {%- endif-%} <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script> <script ...
290
10,016
<gh_stars>1000+ /* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
4,987
5,169
{ "name": "BreinifyApi", "version": "2.0.9", "summary": "Breinify´s DigitalDNA API puts dynamic behavior-based, people-driven data right at your fingertips", "description": "Breinifys DigitalDNA API puts dynamic behavior-based, people-driven data right at your fingertips. We believe that in many situations, a c...
340
1,545
# 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 writing, software # distributed under th...
458
805
// util/text-utils.h // Copyright 2009-2011 Saarland University; Microsoft Corporation // See ../../COPYING for clarification regarding multiple 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 ...
2,693
312
<reponame>patrickwyler/rdf4j /******************************************************************************* * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License...
360
450
//===- BM188xVisitor.cpp --------------------------------------------------===// // // The ONNC Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #include "BM188xVisitor.h" using namespace onnc; using namespace onn...
185
1,405
package com.tencent.tmsecure.module.update; import com.tencent.tmsecure.common.BaseEntity; public class UpdateInfo extends BaseEntity { public Object data1; public Object data2; public String fileName; public int flag; public int type; public String url; }
93
10,002
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "INarratorAnnouncementHost.h" // Declaration of the NarratorAnnouncementHostFactory class. // This class exists to hide the construction of a concrete INarratorAnnouncementHost. // Depending on the v...
334
5,169
<gh_stars>1000+ { "name": "WTLStickerPanel", "version": "1.0.1", "summary": "A simple sticker panel", "description": "WTLStickerPanel is a view for select sticker to post to comment area.", "homepage": "https://github.com/daarkfish/WTLStickerPanel", "license": { "type": "MIT", "file": "LICENSE" },...
346
575
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.share.long_screenshots.bitmap_generation; import android.content.Context; import android.graphics.Rect; import andro...
2,221
5,964
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrDrawTarget.h" #include "GrAARectRenderer.h" #include "GrBatch.h" #include "GrCaps.h" #include "GrGpu.h" #include "GrPath.h" #include "GrPipeline.h" #include "GrM...
9,120
788
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
1,006
348
<gh_stars>100-1000 {"nom":"Pouébo","circ":"2ème circonscription","dpt":"Nouvelle-Calédonie","inscrits":2252,"abs":1705,"votants":547,"blancs":1,"nuls":3,"exp":543,"res":[{"nuance":"REG","nom":"<NAME>","voix":499},{"nuance":"UDI","nom":"<NAME>","voix":19},{"nuance":"FN","nom":"Mme <NAME>","voix":10},{"nuance":"DIV","nom...
234
4,756
// Copyright 2020 The MACE Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
517
5,169
<reponame>Gantios/Specs<filename>Specs/5/0/a/CHRTextFieldFormatter/1.0.1/CHRTextFieldFormatter.podspec.json { "name": "CHRTextFieldFormatter", "version": "1.0.1", "platforms": { "ios": "8.0" }, "source": { "git": "https://github.com/chebur/CHRTextFieldFormatter.git", "tag": "1.0.1" }, "source_...
232
422
<gh_stars>100-1000 import django import sys, os rootpath = os.path.dirname(os.path.realpath(__file__)).replace("\\", "/") rootpath = rootpath.split("/apps")[0] # print(rootpath) syspath = sys.path sys.path = [] sys.path.append(rootpath) # 指定搜索路径绝对目录 sys.path.extend([rootpath + i for i in os.listdir(rootpath) if i[0] ...
3,934
460
#ifndef WebCore_FWD_WREC_h #define WebCore_FWD_WREC_h #include <JavaScriptCore/WREC.h> #endif
48
384
# Copyright 2020 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 obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
652
17,337
extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsSubscribed(void *); extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsLowViolence(void *); extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsCybercafe(void *); extern bool cppISteamApps_STEAMAPPS_INTERFACE_VERSION002_BIsVACBanned(void *); e...
219
2,603
[{"sale":{"_id":"54c7e8fa7261692b5acd0600","id":"los-angeles-modern-auctions-march-2015","name":"Los Angeles Modern Auctions - March 2015","is_auction":true,"auction_state":"open","published":true,"image_url":"https://d32dm0rphc51dk.cloudfront.net/BLv_dHIIVvShtDB8GCxFdg/:version.jpg","image_versions":["large_rectangle"...
453
2,753
<reponame>ShankarNara/shogun /* * Copyright (c) The Shogun Machine Learning Toolbox * Written (w) 2012 - 2013 <NAME> * Written (w) 2014 - 2017 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ...
3,811
1,405
package com.lenovo.safecenter.Laboratory; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.lenovo.safecenter.R; public class RootIntroduction extends Activity { /* access modifiers changed from: protected *...
326
677
package io.qyi.e5.user.service; import io.qyi.e5.user.entity.User; import com.baomidou.mybatisplus.extension.service.IService; /** * <p> * 服务类 * </p> * * @author 落叶 * @since 2020-02-24 */ public interface IUserService extends IService<User> { }
116
7,892
<reponame>transat/audacity<gh_stars>1000+ /********************************************************************** Audacity: A Digital Audio Editor LoadEffects.cpp <NAME> **************************************************************************//** \class BuiltinEffectsModule \brief Internal module to auto re...
1,611
903
<filename>smithy-openapi/src/main/java/software/amazon/smithy/openapi/model/CallbackObject.java<gh_stars>100-1000 /* * Copyright 2019 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...
868
778
/* * Copyright (C) 2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/os_interface/linux/local_memory_helper.h" #include "third_party/uapi/drm_tip/drm/i915_drm.h" #include <memory> namespace NEO { uint32_t createGemExtMemoryRegions(Drm *drm, void *data, uint32_t dataSize, siz...
996
2,828
<reponame>tamaashu/curator /** * 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 ...
916
1,278
<filename>lobster/src/lobster/compiler.h // Copyright 2014 <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.org/licenses/LICENSE-2....
728
1,405
package com.lenovo.safecenter.AppsManager; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.MotionEvent; import android.view.View; import android.widget.ImageView; import androi...
4,067
1,847
/* * Copyright (C) 2021 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...
562
380
<reponame>GluuFederation/oxAuth package org.gluu.oxauth.client; import javax.ws.rs.HttpMethod; import javax.ws.rs.client.Entity; import javax.ws.rs.client.Invocation.Builder; import org.apache.log4j.Logger; /** * @author <NAME> */ public class RevokeSessionClient extends BaseClient<RevokeSessionRequest, RevokeSess...
800
906
<gh_stars>100-1000 /* * This file is part of Mixin, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation f...
1,474
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...
2,885
972
<filename>python/tests/spark_test_case.py<gh_stars>100-1000 # # Copyright 2017-2018 TWO SIGMA OPEN SOURCE, 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 obtain a copy of the License at # # http://www.apache.org...
1,080
441
import ffn import matplotlib.pyplot as plt import matplotlib prices = ffn.get('aapl,msft', start='2020-04-01') stats = prices.calc_stats() print(stats.display())
60
566
<gh_stars>100-1000 /** * This file is part of dvo. * * Copyright 2013 <NAME> <<EMAIL>> (Technical University of Munich) * For more information see <http://vision.in.tum.de/data/software/dvo>. * * dvo is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Licen...
1,612
922
from .degrade import *
7
643
<reponame>michaelsilverstein/scikit-bio # ---------------------------------------------------------------------------- # Copyright (c) 2013--, scikit-bio development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. # ----...
3,618
334
<gh_stars>100-1000 # -*- coding: utf-8 -*- # Copyright (c) 2015 Ericsson 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 requ...
648
1,655
<gh_stars>1000+ #include <windows.h> #pragma comment(lib, "USER32") BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { CHAR Command[] = "cmd"; CHAR ModulePath[MAX_PATH]; CHAR ModuleName[MAX_PATH]; STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory(&si, sizeof(si));...
799
1,091
/* * Copyright 2015-present Open Networking 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 * * Unless required by appli...
2,660
460
<filename>trunk/win/Source/BT_FiniteStateMachine.cpp // Copyright 2012 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.o...
1,276
1,114
<reponame>HookedBehemoth/libnx<gh_stars>1000+ /** * @file semaphore.h * @brief Thread synchronization based on Mutex. * @author SciresM & Kevoot * @copyright libnx Authors */ #pragma once #include "mutex.h" #include "condvar.h" /// Semaphore structure. typedef struct Semaphore { CondVar condvar; ///< Conditi...
384
678
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // @class NSString, PSTNCheckNumberRespInfo, PSTNDialData; @protocol IPSTNExt @optional - (void)OnPSTNInviteGap:(int)arg1; - (void)OnPSTNAutoHangUp:(PSTNDialData *)arg1; - (void)OnPSTNCall...
717
749
#!/usr/bin/env python """ @author <NAME> """ import swift import roboticstoolbox as rp import spatialmath as sm import numpy as np env = swift.Swift() env.launch(realtime=True) # Create a puma in the default zero pose puma = rp.models.Puma560() puma.q = puma.qz env.add(puma, show_robot=True, show_collision=False) d...
345
777
<reponame>google-ar/chromium<filename>components/exo/compositor_frame_sink.cc // 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 "components/exo/compositor_frame_sink.h" #include "base/memory/ptr...
844
368
<filename>plugin_sa/game_sa/common.h<gh_stars>100-1000 /* Plugin-SDK (Grand Theft Auto San Andreas) 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 "PluginBase.h" #include "CVector.h"...
2,899
2,073
<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 "Li...
1,264
502
<filename>sdk/arena-python-sdk/node_test.py #!/usr/bin/env python import os import sys from arenasdk.client.client import ArenaClient from arenasdk.enums.types import * from arenasdk.exceptions.arena_exception import * from arenasdk.training.mpi_job_builder import * from arenasdk.logger.logger import LoggerBuilder from...
759
348
{"nom":"Saint-Pierre-Chérignat","dpt":"Creuse","inscrits":153,"abs":43,"votants":110,"blancs":8,"nuls":5,"exp":97,"res":[{"panneau":"1","voix":69},{"panneau":"2","voix":28}]}
72
356
{ "id": 25, "created_at": "2015-10-17", "updated_at": "2016-04-20", "title": "Directory Traversal", "author": { "name": "<NAME>", "website": null, "username": null }, "module_name": "nhouston", "publish_date": "2014-11-14", "cves": [ "CVE-2014-8883" ], "vulnerable_versions": "<=99....
381
303
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.test.client import Client from django.test import TestCase from django.test.client import RequestFactory from django.db import IntegrityError from django.core.exceptions import ValidationError from ..models import Instance fro...
1,159