max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
5,169
{ "name": "GDQrCode", "version": "1.0.0", "summary": "基于 CoreImage 生成一个自定义二维码(颜色 背景色 alpha logo)", "homepage": "https://github.com/gdLin600/GDQrCode", "license": "MIT", "authors": { "gdLin600": "<EMAIL>" }, "platforms": { "ios": "7.0" }, "source": { "git": "https://github.com/gdLin600/GD...
259
1,319
<reponame>zhangyimi/Research import pandas as pd import numpy as np import random from collections import defaultdict random.seed(42) class Dataset(object): def __init__(self, data_tag): self.data_path = "../process_data/" self.utterance = self.file_loader(self.data_path + data_tag + "_utterance.t...
3,600
2,164
<gh_stars>1000+ // // LOTAnimationCache.h // Lottie // // Created by <NAME> on 1/9/17. // Copyright © 2017 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @class LOTComposition; @interface LOTAnimationCache : NSObject /// Global Cache + (instancetype)sharedCache; /// ...
255
1,682
<gh_stars>1000+ /* Copyright (c) 2021 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 ...
2,028
30,785
<filename>jadx-plugins/jadx-plugins-api/src/main/java/jadx/api/plugins/input/data/IMethodHandle.java package jadx.api.plugins.input.data; public interface IMethodHandle { MethodHandleType getType(); IFieldRef getFieldRef(); IMethodRef getMethodRef(); void load(); }
96
347
<filename>backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/IPTablesDeprecationNotifier.java package org.ovirt.engine.core.bll; import java.util.concurrent.TimeUnit; import javax.annotation.PostConstruct; import javax.enterprise.concurrent.ManagedScheduledExecutorService; import javax.inject.Inject;...
969
777
/* * Artificial Intelligence for Humans * Volume 1: Fundamental Algorithms * Java Version * http://www.aifh.org * http://www.jeffheaton.com * * Code repository: * https://github.com/jeffheaton/aifh * Copyright 2013 by <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
736
679
/************************************************************** * * 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 y...
394
790
from django.contrib.gis.db import models class City3D(models.Model): name = models.CharField(max_length=30) point = models.PointField(dim=3) objects = models.GeoManager() def __unicode__(self): return self.name class Interstate2D(models.Model): name = models.CharField(max_length=30) l...
726
839
<reponame>AnEmortalKid/cxf /** * 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....
7,712
1,233
/* * Copyright 2019 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1,230
1,652
package com.ctrip.xpipe.redis.proxy.handler; import com.ctrip.xpipe.api.endpoint.Endpoint; import com.ctrip.xpipe.api.pool.SimpleObjectPool; import com.ctrip.xpipe.netty.commands.NettyClient; import com.ctrip.xpipe.redis.core.protocal.protocal.SimpleStringParser; import com.ctrip.xpipe.redis.core.proxy.PROXY_OPTION; i...
1,427
973
{"remainingRequest":"/Users/leonard.gonsalves/aws/Flask-Scaffold/app/templates/static/node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js??ref--8-1!/Users/leonard.gonsalves/aws/Flask-Scaffold/app/templates/static/node_modules/core-js/modules/es6.math.hypot.js","dependencies":[{"path":"/Us...
626
12,278
<filename>ReactNativeFrontend/ios/Pods/boost/boost/poly_collection/detail/is_invocable.hpp<gh_stars>1000+ /* Copyright 2016-2017 <NAME>. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * See http://www.boost....
906
777
<reponame>google-ar/chromium // 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 MOJO_PUBLIC_CPP_BINDINGS_LIB_UNION_ACCESSOR_H_ #define MOJO_PUBLIC_CPP_BINDINGS_LIB_UNION_ACCESSOR_H_ namespace mojo...
347
421
// <Snippet1> #using <system.dll> #using <system.messaging.dll> using namespace System; using namespace System::Messaging; /// <summary> /// Provides a container class for the example. /// </summary> ref class MyNewQueue { public: //************************************************* // Sends ...
1,212
364
package ca.uhn.fhir.jpa.cache; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.jpa.cache.config.RegisteredResourceListenerFactoryConfig; import ca.uhn.fhir.jpa.model.sched.ISchedulerService; import ca.uhn.fhir.jpa.searchparam.SearchParameterMap; import ca.uhn.fhir.jpa.searchparam.matcher.InMemoryMatchResult...
2,150
5,411
<reponame>antonand03/hello-my-friend<filename>code/components/rage-formats-x/tests/Convert.cpp<gh_stars>1000+ /* * This file is part of the CitizenFX project - http://citizen.re/ * * See LICENSE and MENTIONS in the root of the source tree for information * regarding licensing. */ #include "StdInc.h" #de...
1,715
347
package org.ovirt.engine.core.vdsbroker.irsbroker; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.ovirt.engine.core.common.businessentities.VDS; import org.ovirt.engine.core.common.businessentities.VDSDomainsData; import org.ovirt.engine.core.compat.Guid; public interface IrsProx...
387
437
import random from abc import ABC, abstractmethod class PayloadScheduler(ABC): """Returns batches from multiple payloads in some order for MTL training""" def __init__(self, model, payloads, split, **kwargs): pass @abstractmethod def get_batches(self, payloads, split, **kwargs): """R...
711
364
#include "iris_rtc_engine.h" #include <flutter/method_channel.h> #include <flutter/standard_method_codec.h> class CallApiMethodCallHandler { public: CallApiMethodCallHandler(agora::iris::rtc::IrisRtcEngine *engine); ~CallApiMethodCallHandler(); virtual void HandleMethodCall(const flutter::MethodCall<flutter::E...
330
577
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ IRSA Query Tool =============== This module contains various methods for querying the IRSA Catalog Query Service(CatQuery). """ from astropy import config as _config class Conf(_config.ConfigNamespace): """ Configuration parameters for `astr...
393
1,968
import rumps rumps.debug_mode(True) @rumps.clicked('Print Something') def print_something(_): rumps.alert(message='something', ok='YES!', cancel='NO!') @rumps.clicked('On/Off Test') def on_off_test(_): print_button = app.menu['Print Something'] if print_button.callback is None: print_button.set_...
238
852
/*! \brief Implementation of methods of TTClusterAlgorithm_neighbor * \details Here, in the source file, the methods which do depend * on the specific type <T> that can fit the template. * * \author <NAME> * \date 2013, Jul 15 * */ #include "L1Trigger/TrackTrigger/interface/TTClusterAlgorithm_n...
1,141
1,008
<filename>Template/convert_js_to_python.py ''' Convert Google Earth Engine JavaScript to Python script. To convert one Earth Engine JavaScript to Python script: js_to_python(in_file_path, out_file_path) To convert all Earth Engine JavaScripts in a folder recursively: js_to_python_dir(in_dir, out_dir) ''' # Authors: ...
10,767
451
from django.dispatch import Signal hook_event = Signal(providing_args=['action', 'instance']) raw_hook_event = Signal(providing_args=['event_name', 'payload', 'user']) hook_sent_event = Signal(providing_args=['payload', 'instance', 'hook'])
81
543
package com.riiablo.engine.server.component; import com.artemis.Component; import com.artemis.annotations.PooledWeaver; @PooledWeaver public class Running extends Component {}
53
575
// 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 ASH_SYSTEM_NETWORK_VPN_LIST_VIEW_H_ #define ASH_SYSTEM_NETWORK_VPN_LIST_VIEW_H_ #include <map> #include <string> #include "ash/system/network/ne...
1,215
1,127
// Copyright (C) 2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <common_test_utils/graph_comparator.hpp> TEST(GraphComparatorTests, AllEnablePositiveCheck) { FunctionsComparator comparator(FunctionsComparator::no_default()); std::shared_ptr<ov::Model> funct...
15,242
8,238
<gh_stars>1000+ // AsmJit - Machine code generation for C++ // // * Official AsmJit Home Page: https://asmjit.com // * Official Github Repository: https://github.com/asmjit/asmjit // // Copyright (c) 2008-2020 The AsmJit Authors // // This software is provided 'as-is', without any express or implied // warranty. In n...
1,883
1,013
/* * Copyright (c) 2016-2017 <NAME> (Aikar) - MIT License * * 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, co...
1,104
430
<reponame>NVIDIA/Torch-TensorRT import torch import torch.nn as nn import torch_tensorrt.fx.tracer.acc_tracer.acc_ops as acc_ops from parameterized import parameterized from torch.testing._internal.common_utils import run_tests from torch_tensorrt.fx.tools.common_fx2trt import AccTestCase class TestTopKConverter(AccT...
775
1,127
<reponame>ryanloney/openvino-1 # Copyright (C) 2018-2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from openvino.tools.mo.ops.prelu import PReLU from openvino.tools.mo.front.caffe.collect_attributes import merge_attrs from openvino.tools.mo.front.caffe.extractors.utils import weights_biases from openvino...
823
626
<reponame>spacemanidol/anserini /* * Anserini: A Lucene toolkit for reproducible information retrieval research * * 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...
4,585
716
// // Copyright (c) 2019 INRIA // #ifndef __pinocchio_math_comparison_operators_hpp__ #define __pinocchio_math_comparison_operators_hpp__ namespace pinocchio { #define PINOCCHIO_DEFINE_COMPARISON_OP(name,OP) \ struct name \ { \ template<typename T1, typename T2> \ static bool call(const T1 & a, c...
563
623
<filename>backtest/dual_thrust.py """ The Dual Thrust trading algorithm is a famous strategy developed by <NAME>. It is a breakout system, commonly used in futures, forex and equity markets. The limits are based on today’s opening price plus or minus a certain percentage of recent trading range. When the price breaks t...
3,987
1,177
<reponame>kishankj/python class Luhn: def __init__(self, card_num): pass def valid(self): pass
58
1,444
<reponame>nnadams/mage package mage.cards.s; import java.util.UUID; import mage.MageInt; import mage.abilities.TriggeredAbilityImpl; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.Effect; import mage.abilities.effects.common.ExileTargetEffect; import mage.abilities.keyword.NinjutsuAbili...
1,275
439
package org.apache.struts2.examples.quarkus; import com.opensymphony.xwork2.Action; import com.opensymphony.xwork2.Result; import org.apache.struts2.ServletActionContext; import javax.servlet.http.HttpServletResponse; public class IndexAction { private String message; private String name; public Result...
293
14,668
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_SYNC_TRUSTED_VAULT_TRUSTED_VAULT_REQUEST_H_ #define COMPONENTS_SYNC_TRUSTED_VAULT_TRUSTED_VAULT_REQUEST_H_ #include <memory> #include ...
1,225
852
#ifndef DQM_SiStripCommissioningAnalysis_FedCablingAlgorithm_H #define DQM_SiStripCommissioningAnalysis_FedCablingAlgorithm_H #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "DQM/SiStripCommissioningAnalysis/interface/CommissioningAlgorithm.h" #include <vector> class FedCablingAnalysis; class TH1; /...
463
770
<reponame>maxchernet/TheiaSfM // Copyright (C) 2013 The Regents of the University of California (Regents). // 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 sou...
1,082
751
<gh_stars>100-1000 /* * Copyright (c) 2016 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
7,315
380
#include "onion_router_descriptor_parser.h" #include <mini/crypto/base64.h> namespace mini::tor { constexpr onion_router_descriptor_parser::control_word_list onion_router_descriptor_parser::control_words; void onion_router_descriptor_parser::parse( onion_router* router, const string_ref descriptor ) { strin...
914
11,433
<filename>allennlp/modules/backbones/vilbert_backbone.py import logging from typing import Dict, List import torch from overrides import overrides from allennlp.data.fields.text_field import TextFieldTensors from allennlp.data.vocabulary import Vocabulary from allennlp.modules.backbones.backbone import Backbone from ...
3,746
5,169
<reponame>Gantios/Specs { "name": "BarcodeEasyScan", "version": "0.1.0", "summary": "Scan barcode and QR code with few lines of swift. No xib or storyboards", "description": "Scan your barcode by implementing a delegate which provides the string result. No need to write boilerplate codes. Just install the pod, ...
291
410
#include "SetVideoSourceCmd.h" namespace ofx { namespace piMapper { SetVideoSourceCmd::SetVideoSourceCmd(std::string sourceId, bool loop, BaseSurface * surface, SourcesEditorWidget * sourcesEditor){ _sourceId = sourceId; _loop = loop; _surface = surface; _sourcesEditor = sourcesEditor; ...
478
711
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
7,773
445
#if !defined(TZ) # define TZ "" # define SPACER "" #else # define SPACER " " #endif #if defined(_MSC_VER) && !defined(__VERSION__) # if _MSC_VER >= 2000 define the version string here # elif _MSC_VER >= 1920 # define __VERSION__ "Microsoft Visual Studio 2019 version 16.x" # elif _MSC_VER >= 1910 # define __VERSION__ ...
466
481
from . import topic from . import maxent
10
339
<filename>integration/mediation-tests/tests-platform/tests-rabbitmq/src/test/java/org/wso2/carbon/esb/rabbitmq/utils/RabbitMQServerInstance.java /* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"...
1,741
2,151
// 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 SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_TIME_H_ #define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_TIME_H_ #include <time.h> #if !defined(CPUCLOCK_CLOCK_MASK...
251
407
#include "gtest/gtest.h" #include "gate_library_test_utils.h" #include "netlist_test_utils.h" #include "verilog_parser/verilog_parser.h" #include "verilog_writer/verilog_writer.h" #include "hal_core/plugin_system/plugin_manager.h" #include "hal_core/netlist/gate_library/gate_library_manager.h" namespace hal { cla...
11,207
328
package com.ctg.test.springboothtml.controller; import com.ctg.test.springboothtml.IpUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.core.env.Environment; import org.springframework.stereotype.Control...
929
892
<filename>advisories/unreviewed/2022/05/GHSA-229h-mpm4-83qq/GHSA-229h-mpm4-83qq.json { "schema_version": "1.2.0", "id": "GHSA-229h-mpm4-83qq", "modified": "2022-05-02T03:34:35Z", "published": "2022-05-02T03:34:35Z", "aliases": [ "CVE-2009-2372" ], "details": "Drupal 6.x before 6.13 does not prevent us...
538
713
<reponame>franz1981/infinispan package org.infinispan.statetransfer; import java.util.concurrent.CompletableFuture; import org.infinispan.commands.VisitableCommand; import org.infinispan.commands.tx.TransactionBoundaryCommand; import org.infinispan.context.InvocationContext; import org.infinispan.context.impl.TxInvoc...
839
731
// Include standard headers #include <stdio.h> #include <stdlib.h> #include <vector> #include <string> #include <fstream> #include <iostream> #include <cstdlib> //rand #include <chrono> #include "boost/multi_array.hpp" #include "boost/timer.hpp" #include <glad/egl.h> #include <glad/gl.h> #include "lodepng.h" #inc...
2,103
4,140
<reponame>FANsZL/hive /* * 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 (t...
1,845
2,354
<reponame>XinChCh/singa<filename>src/model/layer/flatten.cc /** * 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 u...
752
1,932
package cn.springcloud.book; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; import org.springfra...
195
7,113
<reponame>qixiaobo/otter /* * Copyright (C) 2010-2101 Alibaba Group Holding 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 * * http://www.apache.org/licenses/LICENSE-2.0 ...
1,399
435
{ "description": "The talk will cover advanced Python modules that can be used to have a fast and memory efficient code.", "language": "eng", "recorded": "2017-05-27", "related_urls": [ { "label": "schedule", "url": "https://pyconweb.com/#schedule" } ], "speakers": [ "<NAME>" ], ...
241
995
package iadgov.svgexport.svg; public abstract class Entity { public abstract String toSvg(final TransformStack transforms); }
38
1,707
#pragma once //------------------------------------------------------------------------------ /** @class Oryol::ResourceRegistry @ingroup Resource @brief map resource locators to resource ids for resource sharing */ #include "Resource/Id.h" #include "Resource/Locator.h" #include "Resource/ResourceL...
867
488
// Copyright 2005,2006,2007 <NAME>, <NAME> // $Id: setalgorithms.h,v 1.2 2007-03-08 15:36:49 markus Exp $ // Author: <NAME> #ifndef SETALGORITHMS_H #define SETALGORITHMS_H template<typename set_type> void intersection(const set_type& s1, const set_type& s2, set_type& result) { set_type temp; typename set_type::i...
422
3,861
/* crypto/ec/ec_key.c */ /* * Written by <NAME> for the OpenSSL project. */ /* ==================================================================== * Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
5,887
326
# To use Inference Engine backend, specify location of plugins: # export LD_LIBRARY_PATH=/opt/intel/deeplearning_deploymenttoolkit/deployment_tools/external/mklml_lnx/lib:$LD_LIBRARY_PATH import cv2 as cv import numpy as np import argparse #import imutils import time parser = argparse.ArgumentParser( descriptio...
2,708
427
package modern.challenge; public class Pizza { }
19
375
/* * Copyright 2019 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.rf.ide.core.testdata.text.read.postfixes; import static java.util.stream.Collectors.toList; import static org.assertj.core.api.Assertions.assertThat; import static o...
2,698
543
<reponame>PSFC-HEDP/Orion """Orion Functional API. This module provides a collection of simple python functions that allow using Orion performing as little steps as possible, hidding away all the complexity related to loading data, creating class instances or serializing and de-serializing previously fitted pipelines....
3,572
340
import base64 import json import platform import sys import requests from ..exceptions import Auth0Error, RateLimitError from time import sleep from random import randint UNKNOWN_ERROR = 'a0.sdk.internal.unknown' class RestClientOptions(object): """Configuration object for RestClient. Used for configuring ...
4,068
41,267
<reponame>FingerCrunch/scrapy<filename>scrapy/http/request/__init__.py """ This module implements the Request class which is used to represent HTTP requests in Scrapy. See documentation in docs/topics/request-response.rst """ import inspect from typing import Callable, List, Optional, Tuple, Type, TypeVar, Union from...
3,428
491
# -*- coding: utf-8 -*- import thriftpy2 from thriftpy2.protocol import TCyBinaryProtocolFactory from thriftpy2.transport import TCyBufferedTransportFactory from thriftpy2.rpc import make_server calc_thrift = thriftpy2.load("calc.thrift", module_name="calc_thrift") class Dispatcher(object): def add(self, a, b)...
482
1,350
<filename>sdk/resourcemanager/azure-resourcemanager-keyvault/src/main/java/com/azure/resourcemanager/keyvault/fluent/models/package-info.java<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. /** *...
150
796
<filename>backdoors/shell/__pupy/pupy/packages/all/pupyutils/search.py #!/usr/bin/env python # -*- coding: UTF8 -*- import os import os.path import re def search_file(path, search_strings): buf=b"" line_nb=0 try: with open(path, 'rb') as f: for line in f: line=line.lower() for s in search_strings: ...
518
675
#include "pugixml.hpp" namespace pugi { struct xml_string_writer : pugi::xml_writer { std::string m_result; virtual void write(const void* data, size_t size) { m_result.append(static_cast<const char*>(data), size); } }; // save doc to string inline std::string get_doc_string(xml_document& doc) { x...
160
345
<filename>test/programytest/storage/stores/nosql/mongo/dao/test_property.py import unittest from programy.storage.stores.nosql.mongo.dao.property import DefaultVariable from programy.storage.stores.nosql.mongo.dao.property import Property from programy.storage.stores.nosql.mongo.dao.property import Regex class Prope...
2,529
372
/* * Copyright © BeyondTrust Software 2004 - 2019 * 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 * * Un...
8,666
3,102
// RUN: %clang_cc1 -fsyntax-only -Wunreachable-code -verify %s static const bool False = false; struct A { ~A(); operator bool(); }; void Bar(); void Foo() { if (False && A()) { Bar(); // expected-no-diagnostics } }
91
310
{ "name": "XEmacs", "description": "A version of Emacs.", "url": "https://en.wikipedia.org/wiki/XEmacs" }
44
506
// https://abc088.contest.atcoder.jp/tasks/abc088_d #include <iostream> #include <queue> #include <tuple> #include <unordered_set> #include <vector> using namespace std; typedef vector<bool> vb; typedef vector<vb> vvb; typedef tuple<int, int> ii; typedef tuple<int, int, int> iii; typedef unordered_set<ii> sii; typede...
812
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...
2,252
1,585
<reponame>j-xiong/ompi #include <stdlib.h> #include <stdio.h> #include "k-partitioning.h" #include "tm_mt.h" #include "tm_verbose.h" void memory_allocation(PriorityQueue ** Q, PriorityQueue ** Qinst, double *** D, int n, int k); void initialization(int * const part, double ** const matrice, PriorityQueue * const Qpart...
5,015
479
import json import paho.mqtt.client as mqtt import logger LWT_ONLINE = "online" LWT_OFFLINE = "offline" _LOGGER = logger.get(__name__) class MqttClient: def __init__(self, config): self._config = config self._mqttc = mqtt.Client( client_id=self.client_id, clean_session=Fa...
2,498
921
// Copyright (c) 2015-2020 <NAME> <<EMAIL>> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.vladsch.md.nav.todo; import com.intellij.lexer.Lexer; import com.intellij.psi.impl.cache.impl.OccurrenceConsumer; import com.intellij.psi.impl.cache.impl.todo.Lex...
213
2,151
<filename>cc/paint/image_transfer_cache_entry.h // Copyright (c) 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. #ifndef CC_PAINT_IMAGE_TRANSFER_CACHE_ENTRY_H_ #define CC_PAINT_IMAGE_TRANSFER_CACHE_ENTRY_H_ #includ...
715
1,056
<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
7,111
3,693
<gh_stars>1000+ import numpy as np import matplotlib.pyplot as plt import os import sys from collections import defaultdict sys.path.append(os.path.dirname(os.path.abspath(__file__)) + "/../../Search_based_Planning/") from Search_3D.env3D import env from Search_3D import Astar3D from Search_3D.utils3D import StateSpa...
4,038
15,689
<reponame>YuanYuanDog/YYKit // // YYTextAttachmentExample.h // YYKitExample // // Created by ibireme on 15/8/21. // Copyright (c) 2015 ibireme. All rights reserved. // #import <UIKit/UIKit.h> @interface YYTextAttachmentExample : UIViewController @end
101
631
<filename>metron-platform/metron-management/src/test/java/org/apache/metron/management/utils/FileUtils.java<gh_stars>100-1000 /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * rega...
414
777
<reponame>google-ar/chromium // 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 "chrome/browser/ui/webui/options/automatic_settings_reset_handler.h" #include "base/bind.h" #include "base/bind_hel...
880
7,131
{ "uri": "mongodb+srv://test14.test.build.10gen.cc/", "seeds": [], "hosts": [], "error": true, "comment": "Should fail because returned host name's part \"not-test\" mismatches URI parent part \"test\"." }
81
756
// Copyright (C) 2020 <NAME>, <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, publis...
3,323
3,428
{"id":"01226","group":"spam-2","checksum":{"type":"MD5","value":"4aaf4e328bd55191a1c46bc374069048"},"text":"From <EMAIL> Thu Aug 1 17:04:08 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP id B92DF440F1\n\t...
679
331
<filename>src/main/java/org/yx/validate/ComplexParamValidator.java /** * Copyright (C) 2016 - 2030 youtongluan. * * 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....
747
977
<filename>src/main/java/io/leangen/graphql/execution/DerivedTypeRegistry.java package io.leangen.graphql.execution; import io.leangen.graphql.generator.mapping.DelegatingOutputConverter; import io.leangen.graphql.metadata.TypedElement; import java.lang.reflect.AnnotatedElement; import java.lang.reflect.AnnotatedType;...
658
782
/* * Copyright (c) 2020, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * 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
10,225
package io.quarkus.qute.deployment; import io.quarkus.builder.item.MultiBuildItem; import io.quarkus.qute.TemplateNode.Origin; public final class IncorrectExpressionBuildItem extends MultiBuildItem { public final String expression; public final String property; public final String clazz; public final...
330
1,936
/* * Copyright (C) 2014 <NAME>, ASL, ETH Zurich, Switzerland * You can contact the author at <slynen at ethz dot ch> * * 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.apa...
3,285
1,056
package test10; import test9.CCTest9a; public class CCTest10bii { public static void main(String[] args) { CCTest9a e; //Check that CCTest9a is in the CC } }
96