max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
619
from typing import List from pyrep.objects.shape import Shape from pyrep.objects.proximity_sensor import ProximitySensor from rlbench.backend.task import Task from rlbench.backend.conditions import DetectedCondition, NothingGrasped class TakeFrameOffHanger(Task): def init_task(self) -> None: frame = Shap...
527
3,073
<gh_stars>1000+ package com.newsblur.widget; import android.appwidget.AppWidgetManager; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.graphics.Color; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import...
4,176
1,283
/* * BaseInfoDriver.h * * Created on: 2012-8-14 * Author: fasiondog */ #pragma once #ifndef BASEINFODRIVER_H_ #define BASEINFODRIVER_H_ #include <unordered_set> #include "../utilities/Parameter.h" #include "../MarketInfo.h" #include "../StockTypeInfo.h" #include "../Stock.h" #include "../utilities/db_conne...
2,006
2,151
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkDebugfTracer_DEFINED #define SkDebugfTracer_DEFINED #include "SkEventTracer.h" #include "SkEventTracingPriv.h" #include "SkString.h" /** * A SkEventTracer impleme...
792
5,133
/* * Copyright MapStruct Authors. * * Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 */ package org.mapstruct.ap.test.mapperconfig; /** * * @author <NAME> */ public class Target { private FooEntity foo; public Target() { } public Target(...
197
984
<gh_stars>100-1000 # 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 agr...
593
765
# Copyright (c) 2019 Inria # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this list of conditions and the following disc...
1,465
510
package com.jpmorgan.cakeshop.test.controller; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; import com.google.gson.JsonParser; import com.jpmorgan.cakeshop.controller.NodeController; import org....
517
543
<gh_stars>100-1000 /* * Copyright (c) 2000, 2021, 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 can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * pub...
1,463
5,169
{ "name": "RajuPod", "version": "0.1.0", "summary": "Which is used to make all re-usable code as framework", "description": "Sample description", "homepage": "https://github.com/vegiraju-chandu/RajuFrameWork", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "vegiraju-chandu": "...
231
401
#include "preview_acceptor.h" #include <QImage> #include <QQmlEngine> #include "preview_image_provider.h" PreviewAcceptor::PreviewAcceptor(QQmlEngine *engine, QObject *parent) : QObject(parent), m_previewProvider(new PreviewImageProvider()) { engine->addImageProvider(QLatin1String("preview"), m_previewProvider...
146
341
<reponame>realulim/extentreports-java package com.aventstack.extentreports.gherkin; import java.util.List; import java.util.Map; import lombok.Getter; import lombok.ToString; /** * <p> * Modified version of GherkinKeyword.java from cucumber/gherkin. Source url: * https://raw.githubusercontent.com/cucumber/cucumbe...
296
559
/** * Copyright (c) 2016-2017 Netflix, 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 requir...
2,344
17,037
# This module is automatically generated by autogen.sh. DO NOT EDIT. from . import _OnPrem class _Certificates(_OnPrem): _type = "certificates" _icon_dir = "resources/onprem/certificates" class CertManager(_Certificates): _icon = "cert-manager.png" class LetsEncrypt(_Certificates): _icon = "lets-...
122
994
package name.caiyao.microreader.ui.adapter; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.support.v7.widget.PopupMenu; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View...
2,706
1,831
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "logdevice/common/Request.h" #include "logdevice/common/WeakRefH...
649
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.synapse.implementation; import com.azure.resourcemanager.synapse.fluent.models.RestorableDroppedSqlPoolInner; import com.azure.r...
743
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. package org.chromium.components.external_intents; import androidx.annotation.Nullable; import org.chromium.url.GURL; import org.chromium.url.Origin; /*...
4,538
10,110
<reponame>mitchchristow/deepmind-research # Copyright 2019 DeepMind Technologies Limited # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # ...
449
776
package act.app; /*- * #%L * ACT Framework * %% * Copyright (C) 2014 - 2018 ActFramework * %% * 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...
591
1,062
try: print "Hello!" except: print "Something went wrong."
24
852
#ifndef TRange_H #define TRange_H /** Define a range [aMin,aMax] */ #include <iostream> #include <utility> #include <algorithm> template <class T> class TRange : public std::pair<T, T> { public: TRange() {} TRange(const T& aMin, const T& aMax) : std::pair<T, T>(aMin, aMax) {} TRange(const std::pair<T, T>& ap...
638
348
{"nom":"Montigny-sur-Aube","circ":"4ème circonscription","dpt":"Côte-d'Or","inscrits":200,"abs":100,"votants":100,"blancs":16,"nuls":9,"exp":75,"res":[{"nuance":"REM","nom":"<NAME>","voix":41},{"nuance":"LR","nom":"<NAME>","voix":34}]}
98
5,250
/* 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...
666
688
<gh_stars>100-1000 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.recognizers.datatypes.timex.expression; public class TimexRange { private TimexProperty start; private TimexProperty end; private TimexProperty duration; public T...
281
689
/** * Copyright (C) Mellanox Technologies Ltd. 2019. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ int dummy() { return 0; }
53
765
//===-- ASTDumper.cpp -------------------------------------------*- 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 // //===---------------------------...
1,079
645
// Copyright 2012 Viewfinder. All rights reserved. // Author: <NAME>. #import <UIKit/UIKit.h> #import "ModalView.h" class UIAppState; @class ConversationSummaryView; @class SummaryToolbar; @protocol ConversationPickerEnv @optional - (void)conversationPickerSelection:(int64_t)viewpoint_id; - (void)conversationPickerE...
256
9,156
/** * 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...
795
1,101
"""Plot to test line with drawstyle steps""" import matplotlib.pyplot as plt import mpld3 def create_plot(): fig, ax = plt.subplots() x = [0, 1] ax.plot(range(5),range(9,4,-1),drawstyle='steps', marker='*') ax.plot(range(5),range(5,0,-1),drawstyle='steps-post', marker='*') ax.plot(range(5),range...
293
530
<filename>application/org.openjdk.jmc.joverflow/src/main/java/org/openjdk/jmc/joverflow/heap/model/Snapshot.java<gh_stars>100-1000 /* * Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are s...
11,036
335
{ "word": "Lookout", "definitions": [ "A place from which to keep watch or view the landscape.", "A person stationed to keep watch for danger or trouble.", "A view over a landscape.", "Used to indicate whether a likely outcome is good or bad." ], "parts-of-speech": "Noun"...
120
372
/* Editor Settings: expandtabs and use 4 spaces for indentation * ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: * * -*- mode: c, c-basic-offset: 4 -*- */ /* * Copyright © BeyondTrust Software 2004 - 2019 * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you m...
3,382
13,430
<gh_stars>1000+ from gooey.gui.components.widgets.textfield import TextField __ALL__ = ('CommandField',) class CommandField(TextField): pass
62
2,151
// 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. package org.chromium.chrome.browser.widget.displaystyle; import android.support.annotation.IntDef; import java.lang.annotation.Retention; import java.la...
200
3,428
{"id":"00496","group":"spam-2","checksum":{"type":"MD5","value":"acf53035be6cb4c667fd342551c5d467"},"text":"From <EMAIL> Mon Jun 24 17:07:39 2002\nReturn-Path: <EMAIL>\nDelivery-Date: Tue May 28 22:06:35 2002\nReceived: from mandark.labs.netnoteinc.com ([213.105.180.140]) by\n dogma.slashnull.org (8.11.6/8.11.6) wi...
851
4,020
package me.coley.recaf.parse.bytecode.ast; import me.coley.recaf.parse.bytecode.MethodCompilation; import me.coley.recaf.parse.bytecode.exception.AssemblerException; /** * Alias AST. * * @author Matt */ public class AliasAST extends InsnAST { private final NameAST name; private final StringAST value; /** * ...
428
997
#ifndef PQCLEAN_SPHINCSHARAKA128FSIMPLE_AESNI_ADDRESS_H #define PQCLEAN_SPHINCSHARAKA128FSIMPLE_AESNI_ADDRESS_H #include <stdint.h> #define PQCLEAN_SPHINCSHARAKA128FSIMPLE_AESNI_ADDR_TYPE_WOTS 0 #define PQCLEAN_SPHINCSHARAKA128FSIMPLE_AESNI_ADDR_TYPE_WOTSPK 1 #define PQCLEAN_SPHINCSHARAKA128FSIMPLE_AESNI_ADDR_TYPE_HA...
849
331
<filename>src/main/java/org/fordes/subview/utils/ArchiveUtil.java package org.fordes.subview.utils; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.date.DateUtil; import cn.hutool.core.date.TimeInterval; import cn.hutool.core.exceptions.ExceptionUtil; import cn.hutool.core.io.FileUtil; import cn.hutoo...
1,836
964
[ { "queryName": "Schema Discriminator Property Not String (v3)", "severity": "INFO", "line": 53, "filename": "positive1.json" }, { "queryName": "Schema Discriminator Property Not String (v3)", "severity": "INFO", "line": 25, "filename": "positive2.json" }, { "queryName": "...
488
701
#pragma once #define MEM_PAGE_SIZE (0x1000)
21
445
///////////////////////////////////////////////////////////////////////// // $Id: vga.cc,v 1.152 2008/04/29 22:14:23 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2002 MandrakeSoft S.A. // // MandrakeSoft S.A. // 43, rue d'Aboukir // 75002 Paris ...
71,384
1,444
package mage.cards.p; import java.util.UUID; import mage.MageInt; import mage.abilities.common.SpellCastControllerTriggeredAbility; import mage.abilities.effects.common.DrawCardSourceControllerEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubT...
395
3,428
{"id":"00419","group":"easy-ham-2","checksum":{"type":"MD5","value":"ff5dc1a4fb2659c83414ee0a41a2e6f9"},"text":"From <EMAIL> Fri Aug 16 11:50:44 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP id...
1,526
777
<filename>components/sessions/core/live_tab.h // 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. #ifndef COMPONENTS_SESSIONS_CORE_LIVE_TAB_H_ #define COMPONENTS_SESSIONS_CORE_LIVE_TAB_H_ #include "compone...
517
348
{"nom":"Ruffec","circ":"1ère circonscription","dpt":"Indre","inscrits":461,"abs":215,"votants":246,"blancs":27,"nuls":5,"exp":214,"res":[{"nuance":"REM","nom":"<NAME>","voix":157},{"nuance":"FN","nom":"<NAME>","voix":57}]}
87
764
<reponame>641589523/token-profile {"symbol": "XFII","address": "0x1fa21b20222076D7465fb901E5f459289c95F66a","overview":{"en": ""},"email": "","website": "https://www.xfiitech.com","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/XFII_Tech","telegram": "","github": ""}}
114
432
<filename>src/simulator/tests/test_parallel_simulation.cpp // 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....
1,427
1,444
<reponame>J-VOL/mage package mage.cards.p; import mage.MageInt; import mage.abilities.common.EntersBattlefieldTriggeredAbility; import mage.abilities.effects.common.search.SearchLibraryPutInHandEffect; import mage.abilities.keyword.FlyingAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.c...
491
4,054
<filename>zookeeper-server/zookeeper-server-common/src/main/java/com/yahoo/vespa/zookeeper/ExponentialBackoff.java // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.zookeeper; import java.time.Duration; import java.util.Random; /** * Calc...
642
852
/** * This file defines the executable that will run the tests. * * Author: <NAME> <EMAIL> * * class description: * * */ // In case this does not work anymore uncomment the rest // #include <Utilities/Testing/interface/CppUnit_testdriver.icpp> #include <cppunit/TestFixture.h> #include <cppunit/extensions/Help...
472
350
# Copyright (c) Aptos # SPDX-License-Identifier: Apache-2.0 from __future__ import annotations import typing import ed25519 from account_address import AccountAddress from bcs import Deserializer, Serializer class Authenticator: """ Each transaction submitted to the Aptos blockchain contains a `Transaction...
1,949
583
/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2009-08-29 // Updated : 20...
974
14,668
<filename>chrome/android/java/src/org/chromium/chrome/browser/usage_stats/PageViewObserver.java // 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. package org.chromium.chrome.browser.usage_stats; import a...
3,214
627
package com.naturalprogrammer.spring.lemondemo; import com.fasterxml.jackson.core.JsonProcessingException; import com.naturalprogrammer.spring.lemon.commons.util.LecUtils; import com.naturalprogrammer.spring.lemondemo.entities.User; import org.junit.jupiter.api.Test; import org.springframework.http.HttpHeaders; ...
3,030
2,542
<reponame>gridgentoo/ServiceFabricAzure /* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.00.0613 */ /* @@MIDL_FILE_HEADING( ) */ /* verify that the <rpcndr.h> version is high enough to compile this file*/ #ifndef __REQUIRED_RPCND...
198,856
427
<gh_stars>100-1000 //===-- esan.h --------------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------...
638
6,989
<filename>catboost/private/libs/algo/approx_dimension.h #pragma once #include <util/system/types.h> class TLabelConverter; namespace NCatboostOptions { class TCatBoostOptions; } namespace NCB { ui32 GetApproxDimension( const NCatboostOptions::TCatBoostOptions& catBoostOptions, const TLabel...
155
510
from __future__ import absolute_import from sfepy.discrete.fem import Mesh, FEDomain import scipy.sparse as sps import numpy as nm from sfepy.base.compat import factorial from sfepy.base.base import output from six.moves import range def elems_q2t(el): nel, nnd = el.shape if nnd > 4: q2t = nm.array([[...
4,886
784
<reponame>apaz4/jforgame-master<filename>jforgame-server/src/test/java/jforgame/server/redis/RedisTest.java package jforgame.server.redis; import static org.junit.Assert.assertTrue; import org.junit.Before; import org.junit.Test; import redis.clients.jedis.Jedis; public class RedisTest { Jedis jedis ; @Before ...
381
639
<reponame>sarojjethva/Learning-Resources package com.retrofitdemo.app; import com.retrofitdemo.api.response.StackOverflowUser; import java.util.List; /** * @author Rathod on 04-Feb-17. */ public interface MainActivityView { String getOrder(); void showEmptyOrderError(int error_empty_order)...
283
543
/* * Copyright 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 ...
658
356
package com.indeed.proctor.webapp.util; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import com.google.common.math.DoubleMath; import com.indeed.proctor.common.model.Allocation; import com.indeed.proctor.common.model.Range; import com.indeed.proctor.common.model.TestDefin...
3,506
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.azure.servicebus.primitives; /** * This exception is thrown when a client attempts to create a sender or receiver or client to a non existent entity. * @since 1.0 * */ public class MessagingEntity...
257
589
package rocks.inspectit.server.diagnosis.engine.rule; import static com.google.common.base.Preconditions.checkNotNull; import java.lang.reflect.Array; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.Collection; import java.util.Collections; import com.google.common.collect.Iterab...
2,662
416
<reponame>ljz663/tencentcloud-sdk-java /* * 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...
4,731
423
''' Functions and classes to observe or add ground statements. Examples -------- The following example shows how to add a fact to a program via the backend and observe the corresponding rule passed to the backend: >>> from clingo.symbol import Function >>> from clingo.control import Control >>> >>> cl...
9,475
3,372
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
6,165
892
{ "schema_version": "1.2.0", "id": "GHSA-7cgg-8926-325v", "modified": "2022-02-23T00:01:15Z", "published": "2022-02-15T00:02:47Z", "aliases": [ "CVE-2022-0214" ], "details": "The Popup | Custom Popup Builder WordPress plugin before 1.3.1 autoload data from its popup on every pages, as such data can be...
383
1,716
# -*- coding: utf-8 -*- # vim: sw=4:ts=4:expandtab """ riko.currencies ~~~~~~~~~~~~~~~ Provides currency lookup dictionaries Attributes: CURRENCY_SYMBOLS (dict): Currency symbol to code mapping CURRENCY_CODES (dict): Currency symbol to info mapping """ CURRENCY_SYMBOLS = { "$": "USD", "£": "GBP", ...
17,516
1,359
<filename>src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/security/EncryptionInitializationVectorRandomnessInspector.java<gh_stars>1000+ package com.kalessil.phpStorm.phpInspectionsEA.inspectors.security; import com.intellij.codeInspection.ProblemHighlightType; import com.intellij.codeInspection.Proble...
2,558
6,717
<gh_stars>1000+ #ifndef __LIBOBJC_BLOCKS_PRIVATE_H_INCLUDED__ #define __LIBOBJC_BLOCKS_PRIVATE_H_INCLUDED__ #if defined(__clang__) && !defined(__OBJC_RUNTIME_INTERNAL__) #pragma clang system_header #endif /* * This header file exposes some implementation details of the blocks runtime * that are needed, e.g., by lib...
796
432
/* * Copyright (C) 2020 ActiveJ 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...
641
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/VoiceServices.framework/VoiceServices */ #import <VoiceServices/XXUnknownSuperclass.h> #import <VoiceServices/VoiceServices-Structs.h> @class VSSpeechSynthesizer, NSString, NSArray, VSRecognitionAction; @protocol VS...
1,728
677
#ifndef LYNX_LEPUS_BUILTIN_H_ #define LYNX_LEPUS_BUILTIN_H_ #include "lepus/context.h" #include "lepus/table.h" namespace lepus { void RegisterBuiltin(Context* context); void RegisterCFunction(Context* context, const char* name, CFunction function); void RegisterFunctionTable(Context* context, const char...
164
892
{ "schema_version": "1.2.0", "id": "GHSA-pq4c-xvv6-cr96", "modified": "2022-04-29T01:26:46Z", "published": "2022-04-29T01:26:45Z", "aliases": [ "CVE-2003-0646" ], "details": "Multiple buffer overflows in ActiveX controls used by Trend Micro HouseCall 5.5 and 5.7, and Damage Cleanup Server 1.0, allow r...
408
468
/* * Copyright © 2021 Embedded Artistry LLC. * See LICENSE file for licensing information. */ #ifndef CIRCULAR_BUFFER_TESTS_H_ #define CIRCULAR_BUFFER_TESTS_H_ int circular_buffer_test_suite(void); #endif // CIRCULAR_BUFFER_TESTS_H_
92
322
<reponame>qtwre/Open-Vehicle-Monitoring-System-3 // // Warning: don't edit - generated by generate_ecu_code.pl processing ../dev/eps_i1.json: EPS 30: Power steering // This generated code makes it easier to process CANBUS messages from the EPS ecu in a BMW i3 // #define I3_ECU_EPS_TX ...
3,864
347
<gh_stars>100-1000 package com.ruoyi.activiti.mapper; import java.util.List; import com.ruoyi.activiti.vo.HiProcInsVo; public interface HistoryMapper { List<HiProcInsVo> getHiProcInsListDone(HiProcInsVo hiProcInsVo); }
93
363
<reponame>buddwm/hubble<filename>tests/unittests/modules/test_win_pkg.py from unittest import TestCase import pytest from unittest.mock import patch import mock from hubblestack.audit import win_pkg from hubblestack.exceptions import HubbleCheckValidationError class TestWinPkg(TestCase): @patch('hubblestack.mod...
1,749
432
<gh_stars>100-1000 /* * Copyright (c) 2010 by The DragonFly Project and <NAME>. * All rights reserved. * * This code is derived from software contributed to The DragonFly Project * by <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
1,094
348
<gh_stars>100-1000 {"nom":"Saint-Agnant-près-Crocq","circ":"1ère circonscription","dpt":"Creuse","inscrits":178,"abs":88,"votants":90,"blancs":4,"nuls":1,"exp":85,"res":[{"nuance":"LR","nom":"<NAME>","voix":50},{"nuance":"REM","nom":"<NAME>","voix":35}]}
106
302
<reponame>krish-dx/machina """ Test script for algorithms. """ import unittest import os import os import pickle import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import gym import machina as mc from machina.pols import GaussianPol, CategoricalPol, MultiCategoricalPol from machina...
18,083
381
<gh_stars>100-1000 package chen.testchat.base; import android.content.Context; import android.net.Uri; import android.widget.ImageView; import com.bumptech.glide.Glide; import com.bumptech.glide.load.engine.DiskCacheStrategy; import java.io.File; import chen.testchat.R; /** * 项目名称: TestChat * 创建人: 陈锦军 ...
340
4,320
/* * Copyright (c) 2020, Jordan <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of co...
964
7,091
# Copyright (c) 2021 PaddlePaddle 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 appli...
2,440
575
<filename>chromeos/services/machine_learning/public/cpp/service_connection_unittest.cc // 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 "chromeos/services/machine_learning/public/cpp/service_con...
12,161
2,205
/* * 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 <memory> #include <gtest/gtest.h> #include <folly/Range.h> #include <folly/json.h> #include "mcrouter/CarbonRouterInsta...
1,499
937
<reponame>zmyer/cyclops-react<filename>cyclops-anym/src/test/java/cyclops/monads/data/BankersQueueTest.java package cyclops.monads.data; import com.oath.cyclops.anym.AnyMSeq; import cyclops.reactive.collections.mutable.ListX; import cyclops.data.BankersQueue; import cyclops.monads.AnyM; import cyclops.monads.Witness....
385
1,209
<filename>packages/schematics/angular/application/schema.json<gh_stars>1000+ { "$schema": "http://json-schema.org/draft-07/schema", "$id": "SchematicsAngularApp", "title": "Angular Application Options Schema", "type": "object", "description": "Generates a new basic app definition in the \"projects\" subfolder...
1,616
2,381
<filename>test-harness/src/main/java/io/jenkins/plugins/casc/misc/ConfiguredWithReadme.java package io.jenkins.plugins.casc.misc; import java.lang.annotation.Retention; import java.lang.annotation.Target; import org.junit.Test; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.E...
251
4,772
package example.service; import example.repo.Customer1115Repository; import org.springframework.stereotype.Service; @Service public class Customer1115Service { public Customer1115Service(Customer1115Repository repo) {} }
64
3,428
{"id":"01331","group":"easy-ham-2","checksum":{"type":"MD5","value":"b40a16937c61ddfa8d0057b15eada675"},"text":"Return-Path: pudge@perl.org\nDelivery-Date: Thu Aug 15 03:00:42 2002\nReturn-Path: <<EMAIL>>\nReceived: from cpu59.osdn.com (slashdot.org [64.28.67.73] (may be forged))\n\tby dogma.slashnull.org (8.11.6/8.11....
848
1,027
{ "name": "Full Page Screen Capture", "version": "1.0.1", "manifest_version": 2, "description": "Screen capture your current page in entirety and reliably!", "browser_action": { "default_icon": "icon-999.png", "default_popup": "popup.html" }, "commands": { "_execute_browser_action": { "s...
235
5,169
{ "name": "SheeKit", "version": "0.0.1", "license": "MIT License", "summary": "A bridge between SwiftUI and UIKit which enriches the modal presentations in SwiftUI with the features available in UIKit.", "homepage": "https://github.com/edudnyk/SheeKit", "authors": { "<NAME>": "<EMAIL>" }, "source": ...
222
763
package org.batfish.representation.juniper; import java.util.List; import org.batfish.common.Warnings; import org.batfish.datamodel.Configuration; import org.batfish.datamodel.routing_policy.expr.BgpPeerAddressNextHop; import org.batfish.datamodel.routing_policy.statement.SetNextHop; import org.batfish.datamodel.routi...
280
15,577
<gh_stars>1000+ import pytest from helpers.cluster import ClickHouseCluster cluster = ClickHouseCluster(__file__) node1 = cluster.add_instance( "node1", main_configs=["configs/remote_servers.xml"], with_zookeeper=True ) node2 = cluster.add_instance( "node2", main_configs=["configs/remote_servers.xml"], with_...
322
7,713
<reponame>olsonbrandon/react-native // Copyright 2004-present Facebook. All Rights Reserved. package com.facebook.react.uimanager; /** * ViewGroup that supports z-index. */ public interface ReactZIndexedViewGroup { /** * Determine the index of a child view at {@param index} considering z-index. * @param ind...
183
892
{ "schema_version": "1.2.0", "id": "GHSA-238g-h6pm-rw9x", "modified": "2022-04-30T18:19:04Z", "published": "2022-04-30T18:19:04Z", "aliases": [ "CVE-2002-0354" ], "details": "The XMLHttpRequest object (XMLHTTP) in Netscape 6.1 and Mozilla 0.9.7 allows remote attackers to read arbitrary files and list ...
425
526
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.repositoryservices.auditlog; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.Js...
1,805