max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
5,305
class I<T> {} class J { <T> I<T> foo(T x) { return new I<T>(); } <T> I<T>[] bar(T x) { Object[] r = new Object[]{new I<T>()}; return (I<T>[]) r; } }
95
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Murlin","circ":"1ère circonscription","dpt":"Nièvre","inscrits":61,"abs":27,"votants":34,"blancs":3,"nuls":0,"exp":31,"res":[{"nuance":"FN","nom":"<NAME>","voix":19},{"nuance":"REM","nom":"<NAME>","voix":12}]}
106
3,428
{"id":"02059","group":"easy-ham-1","checksum":{"type":"MD5","value":"e7cb2f48474335029d7eb951c82722f4"},"text":"From <EMAIL> Mon Sep 30 13:43:38 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>assassin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id 5697C16F16...
915
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-wx77-rp39-c6vg", "modified": "2022-03-24T22:10:13Z", "published": "2020-09-04T15:11:03Z", "aliases": [ ], "summary": "Regular Expression Denial of Service in markdown", "details": "All versions of `markdown` are vulnerable to Regular Expressio...
585
373
<filename>cas/src/main/java/com/dianrong/common/uniauth/cas/filter/ThreadLocalTagCleanFilter.java package com.dianrong.common.uniauth.cas.filter; import com.dianrong.common.uniauth.cas.helper.StaffNoPersistTagHolder; import com.dianrong.common.uniauth.cas.model.vo.ApiResponse; import com.dianrong.common.uniauth.cas.mo...
514
435
package datawave.audit; import com.google.common.collect.Lists; import java.util.List; import datawave.webservice.query.QueryImpl; import org.apache.commons.lang.math.IntRange; import org.junit.Assert; import org.junit.Test; public class SplitSelectorExtractorTest { @Test public void extractSelectorsLuc...
2,093
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 HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ #define HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ #include "content/public/...
1,535
1,155
<reponame>alexhenrie/poedit /******************************************************************** * COPYRIGHT: * Copyright (c) 2000-2016, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /* * File stdnmtst.c * * Mod...
5,193
369
<filename>products/BellHybrid/apps/application-bell-onboarding/windows/OnBoardingInstructionPromptWindow.hpp // Copyright (c) 2017-2021, Mudit<NAME>.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include <common/windows/BellFinishedWindow.hpp> namespace gu...
297
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.bugs._537; import org.mapstruct.MapperConfig; /** * @author <NAME> */ @MapperConfig(uses = ReferenceMapper.class) public interface Issue53...
110
897
from server import WSSHBridge __version__ = '0.1.0'
21
1,209
<gh_stars>1000+ /* u8g_com_linux_ssd_i2c.c com interface for linux i2c-dev and the SSDxxxx chip (SOLOMON) variant I2C protocol Universal 8bit Graphics Library Copyright (c) 2012, <EMAIL> Copyright (c) 2015, <EMAIL> All rights reserved. Redistribution and use in source and binary forms, with or wit...
1,912
1,963
<filename>variants/STM32U5xx/U575Z(G-I)TxQ_U585ZETxQ/variant_NUCLEO_U575ZI_Q.cpp /* ******************************************************************************* * Copyright (c) 2021, STMicroelectronics * All rights reserved. * * This software component is licensed by ST under BSD 3-Clause license, * the "Licen...
3,320
700
/* File: HelperTool.h Abstract: The main object in the helper tool. Version: 1.0 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of this Apple softwa...
1,377
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...
2,690
2,962
#!/usr/bin/env python3 # # Copyright (c) 2021, The OpenThread Authors. # 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 # ...
2,112
483
<filename>nitrite-replication/src/test/java/org/dizitart/no2/sync/crdt/LastWriteWinStateTest.java package org.dizitart.no2.sync.crdt; import static org.junit.Assert.assertEquals; import org.junit.Test; public class LastWriteWinStateTest { @Test public void testConstructor() { assertEquals("LastWriteW...
153
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport */ #import <OfficeImport/OfficeImport-Structs.h> #import <OfficeImport/WBTable.h> #import <OfficeImport/XXUnknownSuperclass.h> __attribute__((visibility("hidden"))) @interface WB...
296
407
<filename>src/plugin_system/plugin_interface_base.cpp #include "hal_core/plugin_system/plugin_interface_base.h" #include "hal_core/plugin_system/plugin_interface_cli.h" #include "hal_core/plugin_system/plugin_interface_gui.h" #include "hal_core/plugin_system/plugin_interface_ui.h" #include "hal_core/utilities/log.h" ...
481
795
<filename>tests/test_di_nocopy.c /* Copyright (c) 2017 - 2021 LiteSpeed Technologies Inc. See LICENSE. */ /* * Test the "nocopy" data in stream */ #include <assert.h> #include <stdio.h> #include <string.h> #include <sys/queue.h> #ifdef WIN32 #include "getopt.h" #else #include <unistd.h> #endif #include "lsquic.h" ...
5,692
579
#include "HdrHistogram_c/src/hdr_histogram.h" #include <gtest/gtest.h> #include <util/rand.h> #include <iostream> static int64_t kLatencyMinMicroseconds = 1; static int64_t kLatencyMaxMicroseconds = 1000 * 1000 * 100; // 100 seconds TEST(HdrHistogramTest, Basic) { hdr_histogram* hist; int ret = hdr_init(kL...
1,206
348
{"nom":"Anthé","circ":"3ème circonscription","dpt":"Lot-et-Garonne","inscrits":142,"abs":69,"votants":73,"blancs":4,"nuls":4,"exp":65,"res":[{"nuance":"REM","nom":"<NAME>","voix":39},{"nuance":"FN","nom":"M. <NAME>","voix":26}]}
94
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...
791
654
<gh_stars>100-1000 package qz.printer.status.printer; import org.apache.log4j.Level; import qz.printer.status.NativeStatus; import static org.apache.log4j.Level.*; /** * Created by kyle on 7/7/17. */ public enum NativePrinterStatus implements NativeStatus { OK(INFO), PAUSED(WARN), ERROR(FATAL), PEN...
546
3,212
/* * 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 ...
1,543
389
/* * Copyright 2014 Guidewire Software, Inc. */ package gw.lang.parser.expressions; import gw.lang.parser.IExpression; import gw.lang.reflect.IFeatureInfo; import gw.lang.reflect.IType; import java.util.List; public interface IFeatureLiteralExpression extends ILiteralExpression, Cloneable { /** * @return the...
295
769
<gh_stars>100-1000 #include "catch.hpp" #include "scene/filters.h" #include "scene/sceneLoader.h" #include "scene/styleContext.h" #include "util/builders.h" #include "yaml-cpp/yaml.h" using namespace Tangram; TEST_CASE( "", "[Duktape][init]") { StyleContext(); } TEST_CASE( "Test evalFilterFn with feature", "[D...
5,442
2,542
<filename>src/prod/src/ServiceModel/reliability/failover/ReconfigurationType.cpp<gh_stars>1000+ // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information....
741
452
<reponame>MatteoManzoni/kadalu<filename>cli/kubectl_kadalu/utils.py """ Utility methods for the CLI tool """ from __future__ import print_function import subprocess import sys KUBECTL_CMD = "kubectl" # noqa # pylint: disable=too-many-instance-attributes # noqa # pylint: disable=useless-object-inheritance # noqa # pyl...
1,208
348
{"nom":"Perpezac-le-Noir","circ":"1ère circonscription","dpt":"Corrèze","inscrits":884,"abs":417,"votants":467,"blancs":47,"nuls":30,"exp":390,"res":[{"nuance":"REM","nom":"<NAME>","voix":246},{"nuance":"SOC","nom":"<NAME>","voix":144}]}
95
317
package com.googlecode.totallylazy.numbers; import com.googlecode.totallylazy.functions.CurriedMonoid; import com.googlecode.totallylazy.comparators.NullComparator; public class Maximum implements com.googlecode.totallylazy.comparators.Maximum<Number>, CurriedMonoid<Number> { @Override public Number call(Numb...
198
619
<reponame>moredu/upm /* * Author: <NAME> <<EMAIL>> * Copyright (c) 2015 Intel Corporation. * * This program and the accompanying materials are made available under the * terms of the The MIT License which is available at * https://opensource.org/licenses/MIT. * * SPDX-License-Identifier: MIT */ #pragma once #...
583
379
package tellh.com.recyclerstickyheaderview; import tellh.com.stickyheaderview_rv.adapter.DataBean; import tellh.com.stickyheaderview_rv.adapter.StickyHeaderViewAdapter; /** * Created by tlh on 2017/1/22 :) */ public class ItemHeader extends DataBean { private String prefix; public String getPrefix() { ...
241
1,428
import java.util.*; import java.lang.*; import java.io.*; class BinarySearch2DArray { public static int get(int in[][], int index) { int r = index / in[0].length; int c = index % in[0].length; //System.out.println("Get ==> index: " + index + " r: " + r + " c: " + c); return in[r][c]; } publ...
642
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...
1,549
893
<gh_stars>100-1000 package com.bytedance.android.aabresguard.executors; import com.android.tools.build.bundletool.model.AppBundle; import com.android.tools.build.bundletool.model.BundleModule; import com.bytedance.android.aabresguard.BaseTest; import com.bytedance.android.aabresguard.bundle.AppBundleAnalyzer; import c...
736
3,400
/* * Copyright 2014-2021 Real Logic 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 * * Unless required by applicable law or ...
18,899
884
/* * Copyright 2014 - 2021 Blazebit. * * 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 agre...
45,106
852
<filename>Alignment/LaserAlignment/python/LaserAlignmentConstants_cff.py import FWCore.ParameterSet.Config as cms LaserAlignmentConstants = cms.untracked.VPSet( # all beamsplitter kinks (beam0, ..., beam7) in radians # the global offsets are syst. offsets observed in the lab measurements wrt. data, ask Bruno.. ...
838
430
<reponame>NVIDIA/Torch-TensorRT #include <string> #include "core/compiler.h" #include "gtest/gtest.h" #include "tests/util/util.h" #include "torch/csrc/jit/ir/irparser.h" std::string gen_test_graph() { return R"IR( graph(%0: Tensor): %3 : Tensor = aten::bitwise_not(%0) return (%3))IR"; } #defi...
1,598
2,338
#include <stdio.h> #include <unistd.h> #include <string.h> void call_me() { sleep(1); } int main (int argc, char **argv) { printf ("Hello there!\n"); // Set break point at this line. if (argc == 2 && strcmp(argv[1], "keep_waiting") == 0) while (1) { call_me(); } return 0; }
147
552
#!/usr/bin/env python # Start netplugin and netmaster import api.tnode import argparse import os import re import time # Parse command line args # Create the parser and sub parser parser = argparse.ArgumentParser() parser.add_argument("-nodes", required=True, help="list of nodes(comma separated)") parser.add_argument...
968
308
<gh_stars>100-1000 // // ZXNavHistoryStackView.h // ZXNavigationBar // // Created by 李兆祥 on 2020/12/22. // Copyright © 2020 ZXLee. All rights reserved. // https://github.com/SmileZXLee/ZXNavigationBar // V1.4.1 #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface ZXNavHistoryStackView : UICollectionView ...
151
2,206
/* * * Copyright (c) 2006-2020, Speedment, 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 requi...
1,294
782
<filename>src/0503.next-greater-element-ii/next-greater-element-ii.py<gh_stars>100-1000 class Solution: def nextGreaterElements(self, nums: List[int]) -> List[int]: tmp = nums + nums stack, res = [], [-1] * len(nums) for i in range(len(tmp)): while stack and stack[-1][0] < tmp[i]...
259
631
#include "Core/Utilities/Compiler/QProgToQuil.h" #include <iostream> #include "Core/Core.h" #include "Core/Utilities/QProgTransform/TransformDecomposition.h" #include "Core/Utilities/QProgInfo/MetadataValidity.h" USING_QPANDA using namespace QGATE_SPACE; using namespace std; QProgToQuil::QProgToQuil(QuantumMachine * ...
7,715
311
<filename>joyqueue-common/joyqueue-toolkit/src/main/java/org/joyqueue/toolkit/concurrent/CasLock.java /** * Copyright 2019 The JoyQueue 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 Lice...
1,136
456
/* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/service/load_stats/v2/lrs.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #ifndef ENVOY_SERVICE_LOAD_STATS_V2_LRS_PROTO_UPB_H_ #define ENVOY_SERVICE_LOAD_STATS_V2_LRS_PROTO_UPB_H_...
3,293
892
{ "schema_version": "1.2.0", "id": "GHSA-5jjv-x4fq-qjwp", "modified": "2021-01-07T22:52:18Z", "published": "2020-10-05T15:48:34Z", "aliases": [ "CVE-2020-15237" ], "summary": "Possible timing attack in derivation_endpoint", "details": "### Impact\n\nWhen using the `derivation_endpoint` plugin, it's ...
1,061
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. #include "fuchsia/engine/browser/navigation_policy_handler.h" #include <lib/fidl/cpp/binding.h> #include "base/fuchsia/fuchsia_logging.h" #include "cont...
803
663
<filename>agate/csv_py2.py<gh_stars>100-1000 #!/usr/bin/env python """ This module contains the Python 2 replacement for :mod:`csv`. """ import codecs import csv import warnings import six from agate.exceptions import FieldSizeLimitError EIGHT_BIT_ENCODINGS = [ 'utf-8', 'u8', 'utf', 'utf8', 'latin-1', 'iso...
3,505
5,411
<gh_stars>1000+ // 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 "mojo/public/cpp/bindings/associated_binding.h" #include "base/sequenced_task_runner.h" #include "mojo/public/cpp/bindings/lib/t...
736
18,012
<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 "Lic...
930
4,351
<reponame>hzy001/SPTAG<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "inc/Core/Common.h" #include "inc/Helper/StringConvert.h" #include "inc/Helper/CommonHelper.h" #include <string> namespace SPTAG { namespace SSDServing { ...
1,350
5,535
#!/usr/bin/env python3 # # Copyright (c) Greenplum Inc 2008. All Rights Reserved. # import io import logging from mock import ANY, call, patch, Mock from gppylib import gplog from gppylib.commands import base from gppylib.gparray import Segment, GpArray from gppylib.operations.buildMirrorSegments import GpMirrorToBuil...
14,350
2,338
<reponame>jhh67/chapel //===-- CSKYMCAsmInfo.h - CSKY Asm Info ------------------------*- 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 // //===----...
315
1,062
/** * Copyright 2014 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 * * Unless requir...
1,385
6,304
/* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "experimental/graphite/include/Recorder.h" #include "experimental/graphite/include/Context.h" #include "experimental/graphite/include/Recording.h" #include "experimen...
613
1,448
/*===================================================================*/ /* */ /* Mapper 11 (Color Dreams) */ /* */ /*==============================...
1,264
12,252
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
1,742
872
<reponame>krishna13052001/LeetCode #!/usr/bin/python3 """ Return the root node of a binary search tree that matches the given preorder traversal. (Recall that a binary search tree is a binary tree where for every node, any descendant of node.left has a value < node.val, and any descendant of node.right has a value > n...
1,081
4,126
#include "Globals.h" #include "Region.h" Region::Region() { } Chunk & Region::getRelChunk(int a_RelChunkX, int a_RelChunkZ) { ASSERT(a_RelChunkX >= 0); ASSERT(a_RelChunkZ >= 0); ASSERT(a_RelChunkX < 32); ASSERT(a_RelChunkZ < 32); return m_Chunks[a_RelChunkX + a_RelChunkZ * 32]; } int Region::...
559
764
<filename>src/stable.h #include <QApplication> #include <QByteArray> #include <QDebug> #include <QEvent> #include <QFile> #include <QIODevice> #include <QList> #include <QNetworkCookie> #include <QNetworkProxy> #include <QNetworkReply> #include <QNetworkRequest> #include <QObject> #include <QResource> #include <QSet> #...
345
435
<reponame>amaajemyfren/data { "copyright_text": "Standard YouTube License", "description": "Project Jupyter provides building blocks for interactive and exploratory computing. These building blocks make science and data science reproducible across over 40 programming language (Python, Julia, R, etc.). Central to th...
671
371
package com.risk.riskmanage.datamanage.model; import java.io.Serializable; import java.util.Date; import com.risk.riskmanage.common.model.BasePage; public class FieldTypeUser extends BasePage implements Serializable { private static final long serialVersionUID = 1L; /** * 主键 * */ private Integer id; /**...
613
369
<filename>inc/osvr/Common/RawSenderType.h /** @file @brief Header @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License....
767
988
<filename>src/isql/OptionsBase.h /* * The contents of this file are subject to the Initial * Developer's Public License Version 1.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.ibphoenix.com/main.nfs?a=ibphoenix&page...
470
14,668
<reponame>zealoussnow/chromium<filename>google_apis/gcm/engine/connection_handler.cc // Copyright 2013 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 "google_apis/gcm/engine/connection_handler.h" namespace gcm...
131
303
# Copyright 2021 AlQuraishi Laboratory # Copyright 2021 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # U...
5,097
1,040
// Copyright (c) <NAME> // Licensed under the MIT License // ============================================================== // ORBITER MODULE: ScriptVessel // Part of the ORBITER SDK // // ScriptVessel.cpp // Control module for ScriptVessel vessel class // // Notes: // Implementation ...
2,030
4,197
{ "name": "cvat-canvas3d", "version": "0.0.1", "description": "Part of Computer Vision Annotation Tool which presents its canvas3D library", "main": "src/canvas3d.ts", "scripts": { "build": "tsc && webpack --config ./webpack.config.js", "server": "nodemon --watch config --exec 'webpack-dev-server --co...
272
5,076
<reponame>zhiqiang-hu/duilib #ifndef CHATDIALOG_HPP #define CHATDIALOG_HPP #include "skin_change_event.hpp" #include "UIFriends.hpp" class ChatDialog : public WindowImplBase, public SkinChangedReceiver { public: ChatDialog(const CDuiString& bgimage, DWORD bkcolor, const FriendListItemInfo& myselft_info, c...
696
372
<filename>lsass/interop/nsswitch/freebsd/nss-main.c /* 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 A...
4,542
14,668
def main(request, response): response.writer.write_status(200) response.writer.write_header(b"Content-Type", b"text/plain") response.writer.end_headers() response.writer.write(str(request.raw_headers)) response.close_connection = True
87
2,671
print object.__bases__ print object.__mro__ class X(object): pass class Y(X): pass print(X.__bases__) print(X.__mro__) print(Y.__bases__) print(Y.__mro__)
70
6,224
/* * Copyright (c) 2021 <NAME> <<EMAIL>> * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_INCLUDE_IPC_SERVICE_IPC_STATIC_VRINGS_H_ #define ZEPHYR_INCLUDE_IPC_SERVICE_IPC_STATIC_VRINGS_H_ #include <ipc/ipc_service.h> #include <openamp/open_amp.h> #include <metal/device.h> #ifdef __cplusplus extern "C" { ...
909
852
<filename>Validation/RecoTau/plugins/ZllArbitrator.cc #include "FWCore/Framework/interface/global/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Utilities/interface/InputTag.h" #inc...
935
541
<reponame>michelcareau/DSpace /** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.xmlworkflow.state; import java.sql.SQLException; impo...
1,586
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,423
14,668
// 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. #ifndef CHROME_BROWSER_HISTORY_CLUSTERS_HISTORY_CLUSTERS_METRICS_LOGGER_H_ #define CHROME_BROWSER_HISTORY_CLUSTERS_HISTORY_CLUSTERS_METRICS_LOGGER_H_ #in...
1,173
14,564
package com.alibaba.datax.plugin.writer.sqlserverwriter; import com.alibaba.datax.common.spi.ErrorCode; public enum SqlServerWriterErrorCode implements ErrorCode { ; private final String code; private final String describe; private SqlServerWriterErrorCode(String code, String describe) { thi...
269
493
<filename>HtmlNativeAndroid/htmlnative-lib/src/main/java/com/mozz/htmlnative/script/FuncParams.java package com.mozz.htmlnative.script; /** * @author <NAME>, 17/3/24. */ public interface FuncParams { }
77
321
/** * Most of the code in the Qalingo project is copyrighted Hoteia and licensed * under the Apache License Version 2.0 (release version 0.8.0) * http://www.apache.org/licenses/LICENSE-2.0 * * Copyright (c) Hoteia, 2012-2014 * http://www.hoteia.com - http://twitter.com/hoteia - <EM...
1,269
5,169
{ "name": "PrivateTool", "version": "0.0.1", "summary": "我的demo", "description": "用来测试学习创建pod", "homepage": "https://git.oschina.net/MasonTy", "license": "MIT", "authors": { "kongzhaozhuang": "<EMAIL>" }, "platforms": { "ios": "8.0" }, "source": { "git": "https://git.oschina.net/MasonT...
231
348
{"nom":"Decazeville","circ":"2ème circonscription","dpt":"Aveyron","inscrits":4075,"abs":3051,"votants":1024,"blancs":313,"nuls":73,"exp":638,"res":[{"nuance":"REM","nom":"<NAME>","voix":638}]}
78
2,577
<reponame>mdsarfarazalam840/camunda-bpm-platform /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file t...
611
14,668
<filename>components/security_interstitials/core/mitm_software_ui.cc // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/security_interstitials/core/mitm_software_ui.h" #include "base/...
2,237
4,339
<filename>modules/hibernate-5.3/src/test/java/org/apache/ignite/testsuites/IgniteHibernate53TestSuite.java /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownersh...
791
435
{ "copyright_text": null, "description": "", "duration": 2286, "language": null, "recorded": "2018-11-14", "related_urls": [ { "label": "Conference schedule", "url": "http://pyparis.org/static/pdf/Schedule-PyParis-2018.pdf" }, { "label": "Conference web", "url": "http://p...
374
1,003
#include "math.hpp" #include "muglm/muglm_impl.hpp" #include "logging.hpp" #include "bitops.hpp" using namespace Granite; struct VolumeCube { vec3 directions[6]; }; static vec3 sample_light(const VolumeCube &cube, vec3 n) { #if 0 vec3 n2 = n * n; ivec3 index_offset = ivec3(lessThan(n, vec3(0.0f))); vec3 result ...
2,218
523
#include "Hash.h" using namespace SparCraft; namespace SparCraft { namespace Hash { HashType unitIndexHash[Constants::Num_Players][Constants::Max_Units]; HashValues values[Constants::Num_Hashes]; } } const HashType Hash::HashValues::positionHash(const size_t & player, const PositionType & x, const PositionT...
1,007
346
<reponame>johntconklin/monitor-core #ifndef GANGLIA_GEXEC_H #define GANGLIA_GEXEC_H 1 extern int gexec_errno; #define GEXEC_TIMEOUT 60 #define GEXEC_HOST_STRING_LEN 256 struct gexec_host_t { char ip[64]; char name[GEXEC_HOST_STRING_LEN]; char domain[GEXEC_HOST_STRING_LEN]; double load_one; double load_fiv...
503
617
# Copyright (c) Open Enclave SDK contributors. # Licensed under the MIT License. import lldb import sys def lldb_eval(expr): return lldb.debugger.GetSelectedTarget().EvaluateExpression(expr) def lldb_expr(expr): lldb.debugger.HandleCommand("expr " + expr) def lldb_read_string(address): process = lldb.de...
1,418
1,442
#ifndef POINCARE_BINOMIAL_DISTRIBUTION_H #define POINCARE_BINOMIAL_DISTRIBUTION_H #include <poincare/expression.h> #include <poincare/preferences.h> namespace Poincare { class BinomialDistribution final { public: template<typename T> static T EvaluateAtAbscissa(T x, T n, T p); template<typename T> static T Cumul...
262
1,069
<gh_stars>1000+ # coding: utf-8 import arrow import datetime import time from logging import getLogger # django classes from django.conf import settings from django.core.cache import caches # django_th classes from django_th.services.services import ServicesMgr # th_rss classes from th_rss.lib.feedsservice import Fee...
1,316
3,459
<reponame>ianclawson/Provenance #ifndef _PCE_H #include <mednafen/mednafen.h> #include <mednafen/state.h> #include <mednafen/general.h> #include <mednafen/memory.h> using namespace Mednafen; #define PCE_MASTER_CLOCK 21477272.727273 #define DECLFR(x) uint8 MDFN_FASTCALL x (uint32 A) #define DECLFW(x) void MDF...
438
879
<filename>header/src/main/java/org/zstack/header/vm/BeforeStartNewCreatedVmExtensionPoint.java package org.zstack.header.vm; /** * Created by xing5 on 2016/5/20. * l */ public interface BeforeStartNewCreatedVmExtensionPoint { void beforeStartNewCreatedVm(VmInstanceSpec spec); }
98
12,020
<filename>docs/project.json { "root": "docs", "sourceRoot": "docs", "projectType": "library", "tags": ["scope:nx-dev"] }
52
575
// Copyright (c) 2012 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. // This tool is used to benchmark the render model used by the compositor // Most of this file is derived from the source of the tile_render_bench to...
4,848
594
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod /* PR optimization/6177 This testcase ICEd because expr.c did not expect to see a CONCAT as array rtl. */ extern void abort (void); extern void exit (int); __complex__ float foo (void) { __complex__ float f[1]; __real__ f[0] = 1.0; __imag__ f[0] = 1.0; f...
233