max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
598
<reponame>yangboz/maro # Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from enum import Enum class DriverType(Enum): """Communication driver categories. - ZMQ: The communication driver mode based on ``ZMQ``. """ ZMQ = "zmq_driver"
93
2,151
<reponame>X018/CCTOOL /**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for user...
396
1,743
<reponame>fordlaturnas/aws-serverless-airline-booking { "query": "query getLoyalty($customer: String) { getLoyalty(customer: $customer) { points level remainingPoints }}", "variables": {} }
83
662
package com.alibaba.rsocket.reactive; import com.alibaba.rsocket.MutableContext; import org.jetbrains.annotations.Nullable; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.util.concurrent.CompletableFuture; /** * Reactive Adapter for CompletableFuture * * @author leijuan */ @S...
508
470
<gh_stars>100-1000 DISABLE_ALL_COLORS = False ASCII_ONLY = False # See the safe_string function in wgwidget. At the moment the encoding is not safe
55
4,492
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. import binascii import pytest from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.hkdf import HKDF...
706
319
package com.shapps.mintubeapp; /** * Created by shyam on 19/2/16. */ public class JavaScript { public static String loadVideoScript(String vId){ return "javascript:player.loadVideoById(\"" + vId + "\");"; } public static String playVideoScript() { return "javascript:player.playVideo();"...
817
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 * distribut...
3,234
563
package com.gentics.mesh.madl.frame; import com.gentics.mesh.madl.traversal.TraversalResult; public interface EdgeFrame extends ElementFrame, com.syncleus.ferma.EdgeFrame { /** * Return the label of the edge. * * @return */ default String label() { //TODO Move this to edge frame instead return getLabe...
172
520
/* * Copyright (C) 2012 Facebook, 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 ...
512
371
package com.rnglmodelview.exceptions; public class PrimitiveTypeNotSupportedException extends ModelObjectNotSupportedException { public PrimitiveTypeNotSupportedException(String message) { super(message); } }
57
1,179
<reponame>solider245/OpenData # encoding: utf-8 from opendatatools.common import RestAgent import pandas as pd import json class EastMoneyAgent(RestAgent): def __init__(self): RestAgent.__init__(self) # direct: north, south def _get_realtime_moneyflow(self, direct): url = 'http://ff.eastm...
1,997
454
package io.vertx.up.uca.rs; import io.vertx.up.exception.UpException; import java.lang.annotation.Annotation; /** * Verification for epsilon */ public interface Rambler { void verify(Class<? extends Annotation> clazz, Class<?> type) throws UpException; }
105
585
######################################################### # # DO NOT EDIT THIS FILE. IT IS GENERATED AUTOMATICALLY. # # PLEASE LOOK INTO THE README FOR MORE INFORMATION. # # ######################################################### # coding: utf-8 # # Control Ops Tutorial # # In this tutorial we show how to use...
6,005
975
<gh_stars>100-1000 package com.dianping.shield.node.useritem; import com.dianping.shield.node.itemcallbacks.HotZoneStateChangeCallBack; import java.util.ArrayList; /** * Created by runqi.wei at 2018/9/11 */ public class HotZoneInfo { public static final int PARENT_TOP = Integer.MIN_VALUE; public static fi...
162
590
<reponame>wingenedu/uflo /******************************************************************************* * Copyright 2017 Bstek * * 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 * * ...
396
348
<filename>docs/data/leg-t2/029/02904184.json {"nom":"Plouénan","circ":"4ème circonscription","dpt":"Finistère","inscrits":2015,"abs":940,"votants":1075,"blancs":54,"nuls":13,"exp":1008,"res":[{"nuance":"LR","nom":"<NAME>","voix":648},{"nuance":"REM","nom":"<NAME>","voix":360}]}
112
1,089
// Copyright (C) 2016-2020 <NAME> <<EMAIL>> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #ifndef TYPE_SAFE_VARIANT_HPP_INCLUDED #define TYPE_SAFE_VARIANT_HPP_INCLUDED #include <type_safe/detail/variant_impl.hpp> #include <type_safe/optional...
14,439
1,428
<reponame>kennethsequeira/Hello-world<filename>Python/hello_earth.py print('hello earth!')
33
648
{"coverage":[{"coverage":{"reference":"Coverage/9876B1"},"focal":true,"relationship":{"code":"self"},"sequence":1}],"created":"2014-08-16","diagnosis":[{"diagnosis":{"code":"654456"},"sequence":1}],"id":"960150","identifier":[{"system":"http://happyhospital.com/claim","value":"9612345"}],"item":[{"net":{"code":"USD","s...
275
563
from .pacs import PACS from .vlcs import VLCS from .cifar_c import CIFAR10C, CIFAR100C from .digits_dg import DigitsDG from .digit_single import DigitSingle from .office_home_dg import OfficeHomeDG
73
322
<filename>HunterAdminApi/test/common/test_email_util.py #!/ usr/bin/env # coding=utf-8 """ author: b5mali4 Copyright (c) 2018 """ import unittest class EmailUtilTestCase(unittest.TestCase): def testSendBaseEmail(self): """ 测试发送邮件 :return: """ from common.email_util import...
2,284
610
#pragma once #include "bit_vector.hpp" #include "mappable/mappable_vector.hpp" #include "mappable/mapper.hpp" #include "block_posting_list.hpp" #include "codec/compact_elias_fano.hpp" #include "mappable/mapper.hpp" #include "memory_source.hpp" #include "temporary_directory.hpp" namespace pisa { struct BlockIndexTag...
3,677
309
#include <vtkImageGridSource.h> #include <vtkLookupTable.h> #include <vtkImageMapToColors.h> #include <vtkBMPReader.h> #include <vtkImageBlend.h> #include <vtkPoints.h> #include <vtkThinPlateSplineTransform.h> #include <vtkImageReslice.h> #include <vtkSmartPointer.h> #include <vtkDataObject.h> #include <vtkRenderer.h> ...
1,627
1,273
<gh_stars>1000+ package org.broadinstitute.hellbender.engine; import htsjdk.tribble.Feature; import htsjdk.tribble.FeatureCodec; import htsjdk.variant.variantcontext.VariantContext; import htsjdk.variant.vcf.VCFCodec; import org.broadinstitute.barclay.argparser.Argument; import org.broadinstitute.barclay.argparser.Com...
6,507
897
/* Code Description: A linked list is a linear data structure, in which the elements are not stored at contiguous memory locations. Through this C program ,we pairwise swap elements in a given linked list. Following is the implementation of the same that swaps adjacent nodes pairwise and changes links instead of swapp...
844
986
""" Module for scope The motivation of Scope is to cache data for calculated ops. `scope` in Scope class is the main cache. It is a dictionary mapping ibis node instances to concrete data, and the time context associate with it (if any). When there are no time contexts associate with the cached re...
3,183
1,459
<filename>examples/python/alerts_windowed/alerts.py # Copyright 2017 The Wallaroo Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2...
1,479
560
<filename>cpp_solutions/chapter_05_bit_manipulation/problem_05_07_pairwiseSwap.h #pragma once namespace chapter_05{ int pairwiseSwap(int x); }
60
594
#pragma once #include <UI/Grid.h> namespace Ubpa { class Setting : public Grid { public: using Grid::Grid; protected: virtual ~Setting() = default; public: static Ptr<Setting> GetInstance() { static auto instance = Ubpa::New<Setting>(); return instance; } }; }
107
988
/* * 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 ...
4,392
678
<filename>iOSOpenDev/frameworks/CorePDF.framework/Headers/CPLayoutArea.h /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/CorePDF.framework/CorePDF */ #import <CorePDF/CorePDF-Structs.h> #import <CorePDF/CPRegion.h> @interface CPLayoutArea : CPRegion { BOOL isFi...
480
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...
1,394
1,752
package cn.myperf4j.base.http.server; import cn.myperf4j.base.http.HttpHeaders; import cn.myperf4j.base.http.HttpRequest; import cn.myperf4j.base.http.HttpRequest.Builder; import cn.myperf4j.base.http.HttpRespStatus; import cn.myperf4j.base.http.HttpResponse; import cn.myperf4j.base.http.client.HttpClient; import cn.m...
1,721
684
/* 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 * distribut...
1,361
3,495
/* * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2020 Texas Instruments Incorporated * * 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://ww...
1,569
2,127
<gh_stars>1000+ package com.lance.hibernate.repository; import org.springframework.data.jpa.repository.JpaRepository; import com.lance.hibernate.entity.CityEntity; public interface CityRepository extends JpaRepository<CityEntity, Long>{ }
84
8,092
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
5,730
2,338
<reponame>medismailben/llvm-project // RUN: %clang_cl_asan -Od %s -Fe%t // RUN: %run %t 2>&1 | FileCheck %s #include <stdio.h> #include <windows.h> int main() { char *buffer; buffer = (char *)HeapAlloc(GetProcessHeap(), 0, 32), buffer[0] = 'a'; HeapFree(GetProcessHeap(), 0, buffer); puts("Okay"); // CHECK:...
143
343
from shutil import copyfileobj import sh from django.utils.translation import ugettext_lazy as _ from mayan.apps.dependencies.exceptions import DependenciesException from mayan.apps.storage.utils import NamedTemporaryFile from ..classes import MIMETypeBackend from .literals import DEFAULT_MIMETYPE_PATH class MIM...
629
928
/* * File System Library by Parra Studios * A cross-platform library for managing file system, paths and files. * * Copyright (C) 2016 - 2021 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a...
883
4,242
/* Copyright (c) 2015, <NAME> 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 followin...
2,672
388
<reponame>trejkaz/clockwise<filename>ustwo-clockwise/src/main/java/com/ustwo/clockwise/companion/CompanionService.java package com.ustwo.clockwise.companion; import android.util.Log; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.api.GoogleApiClient; import com.google.andr...
1,432
1,199
<filename>net/fetch/files/patch-fetch.c --- fetch.c.orig 2011-11-11 05:20:22.000000000 +0100 +++ fetch.c 2007-09-08 23:13:26.000000000 +0200 @@ -33,6 +33,7 @@ #include <sys/socket.h> #include <sys/stat.h> #include <sys/time.h> +#include <sys/ioctl.h> #include <ctype.h> #include <err.h> @@ -204,12 +204,16 @@ ...
402
9,680
<filename>nni/algorithms/hpo/ppo_tuner/util.py<gh_stars>1000+ # Copyright (c) Microsoft Corporation. # Licensed under the MIT license. """ util functions """ import os import random import multiprocessing import numpy as np import tensorflow.compat.v1 as tf tf.disable_v2_behavior() from gym.spaces import Discrete, Bo...
3,625
348
{"nom":"Vailly","circ":"5ème circonscription","dpt":"Haute-Savoie","inscrits":670,"abs":431,"votants":239,"blancs":13,"nuls":0,"exp":226,"res":[{"nuance":"DVD","nom":"<NAME>","voix":128},{"nuance":"REM","nom":"<NAME>","voix":98}]}
91
302
{ "sample": { "url": "/Users/jonathan/devwork/alphatools/alphatools/data/factory/sample.csv", "schema": "var*{asof_date: datetime, sid: int64, value: float64}" } }
76
3,418
#include <stdio.h> #include <string.h> #include "pico/stdlib.h" #include "hardware/gpio.h" #include "ssd1306.h" #define YELLOW_BUTTON 9 #define BLUE_BUTTON 10 #define BLACK_BUTTON 11 #define RED_BUTTON 12 #define GREEN_BUTTON 13 int submit_char_flag = 0; char* init_gpio_buttons() { gpio_init(YELLOW_BUTTON); gpio...
1,182
338
package com.nurkiewicz.asyncretry.policy; /** * @author <NAME> * @since 7/16/13, 10:23 PM */ public class AbortRetryException extends RuntimeException { public AbortRetryException() { } }
70
543
/* * Copyright (c) 1997, 2019, 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 * published by the Free ...
1,453
675
<gh_stars>100-1000 """ Implements classes and methods to define domains for neural networks. The NNConstraintChecker class and its subclasses are used to check if a neural network architecture satisfies certain constriants. This is mostly needed to constrain the search space in NASBOT. -- <EMAIL> """ # pylin...
3,799
1,375
<gh_stars>1000+ // Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_UART_H_ #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_UART_H_ #include <stddef.h> #inc...
574
11,396
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations from awx.conf.migrations import _rename_setting def copy_session_settings(apps, schema_editor): _rename_setting.rename_setting(apps, schema_editor, old_key='AUTH_TOKEN_PER_USER', new_key='SESSIONS_PER_USER') _rena...
333
1,914
import pkgutil import pytest from funcy.compat import PY2, PY3 import funcy from funcy import py2, py3 from funcy.py3 import cat, lcat, count_reps, is_iter, is_list # Introspect all modules exclude = ('compat', 'cross', '_inspect', 'py2', 'py3', 'simple_funcs', 'funcmakers') module_names = list(name for _, name, _ i...
1,121
2,350
<reponame>msrdic/RoaringBitmap package org.roaringbitmap.arraycontainer; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; imp...
862
9,425
<gh_stars>1000+ """ tasks.docstrings ~~~~~~~~~~~~~~~~ Docstrings related tasks """ import ast import pathlib import re from invoke import task # pylint: disable=3rd-party-module-not-gated from salt.loader import SALT_INTERNAL_LOADERS_PATHS from salt.version import SaltStackVersion from tasks import util...
18,238
1,232
/*- * << * DBus * == * Copyright (C) 2016 - 2019 Bridata * == * 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...
872
788
<gh_stars>100-1000 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "...
667
513
void swap(char &a, char &b){ char temp = a; a = b; b = temp; } void swapBetween(int i, int j, string &A){ int k = 1; for(int z = i; z < (i+j)/2; z++){ swap(A[z], A[j-k]); k++; } } // string extractWord(string &A, int &i){ // int temp = i; // while(!isspace(A[i])){ // ...
933
301
<filename>package.json { "name": "serverless-prune-plugin", "version": "1.6.1", "description": "Serverless plugin to delete old versions of deployed functions from AWS", "author": "<NAME> <<EMAIL>> (https://claygregory.com/)", "keywords": [ "serverless", "serverless-plugin", "aws", "aws-lambda...
448
1,045
/*************************************************************************************************** Tencent is pleased to support the open source community by making RapidView available. Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MITLicense (the "License"); you ma...
11,010
563
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
530
6,989
#include "linear_system.h" #include <catboost/libs/helpers/exception.h> #include <util/generic/ymath.h> #include <util/generic/vector.h> #include <util/stream/output.h> #include <contrib/libs/clapack/clapack.h> void SolveLinearSystem(TArrayRef<double> matrix, TArrayRef<double> target) { const auto expectedMatr...
628
575
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/public/platform/file_path_conversion.h" #include "third_party/blink/public/plat...
9,342
778
<gh_stars>100-1000 // Copyright (C) 2018-2021 <NAME> <<EMAIL>> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with this file, You can obtain one at https://mozilla.org/MPL/2.0/. #ifndef SPECTRA_TYPE_TRAITS_H #define SPECTRA_TYPE_...
895
10,028
{ "settings_ruffle_enable": { "message": "Flash içeriğini Ruffle ile oynat" }, "settings_page_ignore_optout": { "message": "Ruffle'a engel olan sitelerde dahi Flash içeriğini oynatmaya çalış" }, "settings_ignore_optout": { "message": "Sitelerin uyumsuzluk uyarılarını yoksay" ...
868
575
// Copyright 2019 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. /* C++ implementation of a .size file parser. * The .size file spec is found in libsupersize/file_format.py */ #include "tools/binary_size/libsupersize...
6,679
2,092
<reponame>lwhsu/ck /* * Copyright 2018 <NAME>, Google LLC. * 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...
11,199
577
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ ============= TAP plus ============= @author: <NAME> @contact: <EMAIL> European Space Astronomy Centre (ESAC) European Space Agency (ESA) Created on 30 jun. 2016 """ try: from tkinter import Tk as TKTk except ImportError: TKTk = None try...
1,736
454
package io.vertx.up.uca.micro.ipc.tower; interface Info { String MSG_FLOW = "Current flow is {0}, return type = {1}"; }
49
1,307
<gh_stars>1000+ import asyncio import sqlalchemy as sa from aiopg.sa import create_engine metadata = sa.MetaData() tbl = sa.Table( "tbl", metadata, sa.Column("id", sa.Integer, primary_key=True), sa.Column("val", sa.String(255)), ) async def create_table(conn): await conn.execute("DROP TABLE IF...
391
14,668
<filename>extensions/renderer/set_icon_natives.cc // 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 "extensions/renderer/set_icon_natives.h" #include <stddef.h> #include <stdint.h> #include <li...
4,012
316
<filename>vigranumpy/src/core/blockwise.cxx<gh_stars>100-1000 /************************************************************************/ /* */ /* Copyright 2011 by <NAME> */ /* ...
5,221
1,248
/** * 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...
5,181
2,326
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE_render file in the root directory of this subproject. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include <i...
233
679
<gh_stars>100-1000 /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF license...
5,199
5,079
<filename>desktop/core/src/desktop/lib/django_forms_test.py #!/usr/bin/env python # Licensed to Cloudera, Inc. under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. Cloudera, Inc. licenses this file # to you und...
687
642
<gh_stars>100-1000 /** * */ package test.excel; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import com.jeesuite.common2.excel.annotation.TitleCell; import com.jeesuite.common2.excel....
1,978
795
<filename>ai_economist/foundation/entities/endogenous.py # Copyright (c) 2020, salesforce.com, inc. # All rights reserved. # SPDX-License-Identifier: BSD-3-Clause # For full license text, see the LICENSE file in the repo root # or https://opensource.org/licenses/BSD-3-Clause from ai_economist.foundation.base.registrar...
342
2,151
# -*- coding: utf-8 -*- # Copyright 2017 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Helpers for interacting with LUCI Milo service.""" from __future__ import print_function import base64 import collections imp...
1,446
5,411
#include <StdInc.h> #include <sstream> #include <IteratorView.h> #include <boost/algorithm/string.hpp> #include <CoreConsole.h> #include <NetAddress.h> #define FOLLY_NO_CONFIG #ifdef _WIN32 #undef ssize_t #pragma comment(lib, "iphlpapi.lib") #else #include <sys/types.h> #endif #include <folly/IPAddress.h> #inclu...
1,543
1,590
{ "swagger": "2.0", "info": { "version": "2018-01-01", "title": "Schema of Azure SignalR Service events published to Azure Event Grid", "description": "Describes the schema of the Azure SignalR Service events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent." }...
870
1,467
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_TRANSACTION_BATCH_FACTORY_HPP #define IROHA_TRANSACTION_BATCH_FACTORY_HPP #include <memory> #include "common/result.hpp" #include "interfaces/common_objects/transaction_sequence_common.hpp" namespace s...
588
503
<filename>app/models/PostingComment.java /** * Yona, 21st Century Project Hosting SW * <p> * Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp. * https://yona.io **/ package models; import models.enumeration.ResourceType; import models.resource.Resource; import javax.persistence.Entity; import javax...
1,238
679
<gh_stars>100-1000 /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF license...
2,623
344
<gh_stars>100-1000 /* * Copyright (c) 2021 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATE...
692
1,073
// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -triple x86_64-apple-darwin10 -emit-llvm %s -o - > %t // RUN: FileCheck %s -check-prefix=CHECK-1 < %t // RUN: FileCheck %s -check-prefix=CHECK-2 < %t int f(); namespace { // CHECK-1: @_ZN12_GLOBAL__N_11bE = internal global i32 0 // CHECK-1: @_ZN12_GLOBAL__N_1L1cE =...
714
381
<reponame>jsalinaspolo/JGiven package com.tngtech.jgiven.impl; import static org.assertj.core.api.Assertions.assertThat; import com.tngtech.jgiven.annotation.AfterScenario; import com.tngtech.jgiven.annotation.AfterStage; import com.tngtech.jgiven.annotation.BeforeScenario; import com.tngtech.jgiven.annotation.Before...
1,553
385
<reponame>3096/starlight /** * @file KCPrismHeader.h * @brief Represents the header for the triangle section in a KCL. */ #pragma once #include "types.h" namespace al { class KCPrismHeader { public: u32 mVertsOffset; // _0 u32 mNormalsOffset; // _4 u32 mTrisOffset; // _8 ...
353
3,062
#include "testing/testing.hpp" #include "platform/downloader_utils.hpp" #include "platform/local_country_file_utils.hpp" #include "platform/mwm_version.hpp" UNIT_TEST(UrlConversionTest) { { std::string const mwmName = "Luna"; std::string const fileName = platform::GetFileName(mwmName, MapFileType::Map); ...
1,313
2,151
#include <stdio.h> #include <string.h> #include <stdlib.h> #include "brl_checks.h" /* Note that this test used to fail worse than it does now. The current situation isn't hugely critical, though probably still incorrect. There are two key portions of the string: the "ing" (which gets contracted to one cha...
519
2,338
<reponame>medismailben/llvm-project g_extra_args = None
23
879
<reponame>qianfei11/zstack package org.zstack.network.service.virtualrouter; import org.zstack.header.message.Message; import org.zstack.header.network.*; import org.zstack.header.network.l2.L2NetworkInventory; import org.zstack.header.network.service.APIAttachNetworkServiceProviderToL2NetworkMsg; import org.zstack.he...
305
343
default_app_config = 'mayan.apps.redactions.apps.RedactionsApp'
22
753
<gh_stars>100-1000 # -*- coding: utf-8 -*- """ __init__.py Created on 2017-11-19 by hbldh <<EMAIL>> """ import objc objc.options.verbose = True
68
348
<filename>docs/data/leg-t2/001/00103114.json {"nom":"Confort","circ":"3ème circonscription","dpt":"Ain","inscrits":390,"abs":213,"votants":177,"blancs":25,"nuls":0,"exp":152,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":91},{"nuance":"LR","nom":"Mme <NAME>","voix":61}]}
111
326
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
1,452
1,011
<reponame>Emiliano978/twarc #!/usr/bin/env python """ Filter out tweets or retweets that Twitter thinks are sensitive (mostly porn). """ from __future__ import print_function import json import fileinput for line in fileinput.input(): tweet = json.loads(line) if "possibly_sensitive" in tweet and tweet["possi...
220
7,447
{ "data": { "addPendingDocument": { "id": "content/movies/empire-strikes-back.md" } } }
54
582
/** * This program and the accompanying materials * are made available under the terms of the License * which accompanies this distribution in the file LICENSE.txt */ package com.archimatetool.editor.ui.factory.elements; import org.eclipse.draw2d.geometry.Dimension; import org.eclipse.swt.graphics.Color; import c...
1,185