max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
373
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2017 Adobe * %% * 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...
1,369
1,561
<reponame>victorhu3/webots<filename>src/ode/ode/src/ode_MT/heuristics/heuristicsManager.h #ifndef _ODE_MT_HEURISTICMANAGER_H_ #define _ODE_MT_HEURISTICMANAGER_H_ #include "heuristic.h" //template<typename T> class dxHeuristic; class HeuristicAlertCallback { public: virtual void alertCallback(dxHeuristic<int>* _h...
503
965
<gh_stars>100-1000 // Declare an array of integers CAtlArray<int> iMyArray; int element; // Add ten elements to the array for (int i = 0; i < 10; i++) { iMyArray.Add(i); } // Use GetAt and SetAt to modify // every element in the array for (size_t i = 0; i < iMyArray.GetCount(); i...
185
631
<gh_stars>100-1000 /* * Copyright 2018 <NAME>. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
533
1,056
/* * 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 ...
2,136
1,178
<gh_stars>1000+ /* * Copyright 2020 Makani Technologies 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...
6,242
460
#include "../../tools/assistant/lib/qhelpsearchresultwidget.h"
23
348
{"nom":"Rouvenac","circ":"3ème circonscription","dpt":"Aude","inscrits":178,"abs":100,"votants":78,"blancs":13,"nuls":4,"exp":61,"res":[{"nuance":"REM","nom":"<NAME>","voix":40},{"nuance":"SOC","nom":"<NAME>","voix":21}]}
90
333
<filename>Utils/MultiGather.py # Copyright 2017 <NAME>. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
498
1,481
<gh_stars>1000+ package apoc.result; import java.util.List; /** * Created by alberto.delazzari on 04/07/17. */ public class ConstraintRelationshipInfo { public final String name; public final String type; public final List<String> properties; public final String status; public ConstraintRel...
186
319
/* * IXWebSocketHandshake.h * Author: <NAME> * Copyright (c) 2019 Machine Zone, Inc. All rights reserved. */ #pragma once #include "IXCancellationRequest.h" #include "IXSocket.h" #include "IXWebSocketHttpHeaders.h" #include "IXWebSocketInitResult.h" #include "IXWebSocketPerMessageDeflate.h" #include "IXWebSock...
879
305
<gh_stars>100-1000 #include <isl/map.h> #include <isl/union_map.h> #undef EL #define EL isl_basic_map #include <isl_list_templ.h> #undef EL_BASE #define EL_BASE basic_map #include <isl_list_templ.c> #undef EL #define EL isl_map #include <isl_list_templ.h> #undef EL_BASE #define EL_BASE map #include <isl_list_te...
216
1,046
<filename>pynes/analyzer.py # -*- coding: utf-8 -*- from re import match import re from io import StringIO, BytesIO class UnknownToken(Exception): ''' Unknown token error when trying to tokenize a single line ''' def __init__(self, line, column, line_code): self.line_code = line_code self.line...
918
2,177
<reponame>roipoussiere/requests """ oauthlib.oauth2.draft_25 ~~~~~~~~~~~~~~ This module is an implementation of various logic needed for signing and checking OAuth 2.0 draft 25 requests. """ from tokens import prepare_bearer_uri, prepare_bearer_headers from tokens import prepare_bearer_body, prepare_mac_header from pa...
8,466
360
<filename>src/common/interfaces/libpq/jdbc/client_logic_jni/org_postgresql_jdbc_ClientLogicImpl.cpp /* * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mu...
10,292
6,036
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once namespace onnxruntime { // // Selection helpers // // Struct to serialize the node indexes in an ORT format model. // Use EmptyNodeIndex for nullptr entries in the vectors for missing optional inputs struct ...
3,553
6,457
<reponame>chadbramwell/librealsense // License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2020 Intel Corporation. All Rights Reserved. #pragma once #include "RsDevice.hh" #include <liveMedia.hh> #ifndef _ON_DEMAND_SERVER_MEDIA_SUBSESSION_HH #include "OnDemandServerMediaSubsession.hh" #endif #i...
417
4,124
/** * 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...
447
1,056
<reponame>timfel/netbeans /* * 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....
8,540
1,262
/* * * Copyright 2016 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 ap...
815
363
<filename>src/com/wenshuo/agent/transformer/AgentLogClassFileTransformer.java<gh_stars>100-1000 package com.wenshuo.agent.transformer; import java.io.IOException; import java.lang.instrument.ClassFileTransformer; import java.lang.instrument.IllegalClassFormatException; import java.security.ProtectionDomain; import jav...
2,883
739
<gh_stars>100-1000 { "name": "<NAME>", "img": "https://github.com/Dhrunit.png", "email":"", "links": { "website": "http://dhrunitportfolio.surge.sh/", "linkedin": "https://www.linkedin.com/in/dhrunitprajapati/", "github": "https://github.com/Dhrunit/" }, "jobTitle": "Student", ...
206
852
from builtins import range __author__="Aurelija" __date__ ="$Jul 12, 2010 10:08:20 AM$" import re #fileList is list of files paths or could be a tuple of (path, [fileLines]) def finds(fileList, regularExpression, exceptRegEx = []): info = [] lines = [] for i in range(len(fileList)): if type(fileL...
611
1,558
<reponame>Microsoft/WindowsTemplateStudio { "author": "Microsoft", "name": "Settings", "description": "La page des paramètres est la page où nous vous recommandons de saisir les paramètres de configuration de votre application.", "identity": "ts.WPF.Page.Settings" }
91
793
// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify -fopenmp -ferror-limit 100 -o - %s // RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify -fopenmp-simd -ferror-limit 100 -o - %s int main(int argc, char **argv) { int i; #pragma omp nowait target enter data map(to: i) // expected-error {{expected ...
564
535
/* * 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 ...
2,743
834
/* * Copyright (c) 2004-present, Facebook, Inc. * 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. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #prag...
549
582
/* Bulllord Game Engine Copyright (C) 2010-2017 Trix This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, inc...
38,070
347
package org.ovirt.engine.core.dal.dbbroker; import java.sql.Timestamp; import java.util.Date; import java.util.List; import org.ovirt.engine.core.utils.crypt.EngineEncryptionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class DbFacadeUtils { private static final Logger log = LoggerFactor...
465
807
<filename>src/main/java/dev/jbang/Main.java package dev.jbang; import java.util.ArrayList; import java.util.List; import dev.jbang.cli.JBang; import picocli.CommandLine; public class Main { public static void main(String... args) { CommandLine cli = JBang.getCommandLine(); args = handleDefaultRun(cli.getComman...
459
678
<filename>iOSOpenDev/frameworks/AppStoreUI.framework/Headers/ASApplicationInfoListingViewItem.h<gh_stars>100-1000 /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/AppStoreUI.framework/AppStoreUI */ #import <AppStoreUI/XXUnknownSuperclass.h> #import <AppStoreUI/AppS...
1,183
1,256
#include <all_far.h> #pragma hdrstop #include "Int.h" //-------------------------------------------------------------------------------- BOOL Connection::SetType(int type) { switch(type) { case TYPE_A: return setascii(); case TYPE_I: return setbinary(); case TYPE_E: return setebcdic(); } return F...
4,680
735
<filename>xstream/src/test/com/thoughtworks/xstream/mapper/FieldAliasingMapperTest.java /* * Copyright (C) 2005 <NAME>. * Copyright (C) 2006, 2007 XStream Committers. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included w...
459
303
<reponame>ofZach/landlinesApp<gh_stars>100-1000 {"id":5244,"line-1":"Free State","line-2":"South Africa","attribution":"©2015 CNES / Astrium, DigitalGlobe","url":"https://www.google.com/maps/@-29.152911,24.681602,17z/data=!3m1!1e3"}
96
310
{ "name": "SP-202 Dr. Sample", "description": "An audio sampler.", "url": "http://www.vintagesynth.com/roland/sp202.php" }
53
356
/* * Copyright (C) 2014 University of South Florida (<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 copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
648
15,947
# # 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,522
410
<filename>Source/TestBase/CUDA.h #ifndef _CUDA_H_INCLUDED_ #define _CUDA_H_INCLUDED_ /* ==================================================================================================== CUDA ==================================================================================================== */ #include <cuda.h...
229
1,602
<filename>third-party/gmp/gmp-src/mini-gmp/tests/t-mpq_muldiv.c<gh_stars>1000+ /* Copyright 2012, 2013, 2018 Free Software Foundation, Inc. This file is part of the GNU MP Library test suite. The GNU MP Library test suite is free software; you can redistribute it and/or modify it under the terms of the GNU General P...
2,114
61,676
import unittest from unittest import mock from django.core.exceptions import ValidationError class TestValidationError(unittest.TestCase): def test_messages_concatenates_error_dict_values(self): message_dict = {} exception = ValidationError(message_dict) self.assertEqual(sorted(exception....
5,523
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...
17,627
369
// Copyright (c) 2017-2021, Mudita <NAME>.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include <endpoints/Context.hpp> #include <endpoints/backup/BackupHelper.hpp> #include <endpoints/JsonKeyNames.hpp> #include <endpoints/message/Sender.hpp> #include <service-desktop/D...
1,237
10,225
package io.quarkus.config; import static org.junit.jupiter.api.Assertions.assertEquals; import javax.inject.Inject; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; import io.qua...
489
841
/* * Tencent is pleased to support the open source community by making Pebble available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the Lic...
353
3,084
#pragma once class WpdBaseDriver : public IUnknown { public: WpdBaseDriver(); virtual ~WpdBaseDriver(); HRESULT Initialize(); VOID Uninitialize(); HRESULT DispatchWpdMessage(_In_ IPortableDeviceValues* pParams, _In_ IPortableDeviceValues*...
637
1,554
/* * Copyright 2015, Yahoo Inc. * Copyrights licensed under the Apache License. * See the accompanying LICENSE file for terms. */ package com.yahoo.dba.perf.myperf.common; /** * Information about the columns from the a query retiurn results * @author xrao * */ public class ColumnDescriptor implemen...
585
14,425
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
1,633
852
import FWCore.ParameterSet.Config as cms bfilter = cms.EDFilter("MCSingleParticleFilter", MaxEta = cms.untracked.vdouble(20.0, 20.0), MinEta = cms.untracked.vdouble(-20.0, -20.0), MinPt = cms.untracked.vdouble(0.0, 0.0), ParticleID = cms.untracked.vint32(5, -5) ) jpsifilter = cms.EDFilter("PythiaFilte...
486
4,551
package org.robolectric.shadows; import static android.os.Build.VERSION_CODES.R; import static com.google.common.truth.Truth.assertThat; import android.content.pm.SuspendDialogInfo; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.ann...
478
14,668
// 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 "chrome/browser/ui/views/payments/editor_view_controller.h" #include <algorithm> #include <map> #include <memory> #include <utility> #include "...
6,559
5,411
// 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. #include "base/android/scoped_hardware_buffer_fence_sync.h" #include <utility> namespace base { namespace android { ScopedHardwareBufferFenceSync::Scop...
250
5,903
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2018 by <NAME> : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "Lic...
597
389
/* * Copyright 2014 <NAME>, Inc. */ package gw.internal.gosu.ir.transform.statement; import gw.internal.gosu.ir.transform.ExpressionTransformer; import gw.internal.gosu.ir.transform.TopLevelTransformationContext; import gw.internal.gosu.parser.statements.NewStatement; import gw.lang.ir.IRExpression; import gw.lang....
355
334
<reponame>NuAngel/PoS-DogeCoin_PUPS<filename>nxt/src/java/nxt/tools/BaseTargetTest.java<gh_stars>100-1000 /* * Copyright © 2013-2016 The Nxt Core Developers. * Copyright © 2016-2020 Jelurida IP B.V. * * See the LICENSE.txt file at the top-level directory of this distribution * for licensing information. * * Unle...
4,113
416
<reponame>Zi0P4tch0/sdks // // IdentityLookupUI.h // IdentityLookupUI // // Copyright © 2018 Apple. All rights reserved. // #import <Foundation/Foundation.h> #import <IdentityLookupUI/ILClassificationUIExtensionContext.h> #import <IdentityLookupUI/ILClassificationUIExtensionViewController.h>
107
4,320
/* * Copyright (c) 2018, <NAME> <<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...
1,014
777
<gh_stars>100-1000 // Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/touch_selection/touch_selection_controller_test_api.h" namespace ui { TouchSelectionControllerTestApi::TouchSelectionCon...
373
312
/* * Copyright (C) 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
2,479
563
<filename>servers/zts/src/test/java/com/yahoo/athenz/zts/workload/impl/JDBCWorkloadRecordStoreConnectionTest.java /* * Copyright The Athenz 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 L...
4,491
1,779
/* * Copyright (c) 2020 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
964
3,027
#ifndef _ORDER_EXPIRATION_ENTRY_H #define _ORDER_EXPIRATION_ENTRY_H #include <string> #include <set> #include <iterator> #include <Python.h> class OrderExpirationEntry { std::string tradingPair; std::string orderId; double timestamp; double expiration_timestamp; public: OrderExpirationEnt...
307
2,073
package org.pac4j.core.matching.checker; import org.pac4j.core.client.Client; import org.pac4j.core.client.IndirectClient; import org.pac4j.core.context.HttpConstants; import org.pac4j.core.context.session.SessionStore; import org.pac4j.core.util.Pac4jConstants; import org.pac4j.core.context.WebContext; import org.pac...
3,521
358
from __future__ import print_function # import matplotlib # matplotlib.use('Agg') import unittest import numpy as np from SimPEG.electromagnetics import resistivity as dc from SimPEG.electromagnetics.static import utils from SimPEG import maps, mkvc, data from SimPEG.utils.io_utils import io_utils_electromagnetics as...
3,342
333
<reponame>coreyp1/graphlab /* * Copyright (c) 2009 <NAME> University. * 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/lice...
3,913
1,521
/** * The MIT License (MIT) * * Copyright (c) 2014-2017 <NAME>, 2017-2021 Ta4j Organization & respective * authors (see AUTHORS) * * 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 with...
1,015
1,144
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
1,983
456
{"ast":null,"code":"import * as React from 'react';\nimport ThemeContext from \"./ThemeContext\";\nexport default function useTheme() {\n var theme = React.useContext(ThemeContext);\n return theme;\n}","map":{"version":3,"sources":["useTheme.tsx"],"names":["theme","React"],"mappings":"AAAA,OAAO,KAAP,KAAA,MAAA,OAAA;AA...
251
372
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* include/k5-json.h - JSON declarations */ /* * Copyright (c) 2010 <NAME> * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * * Portions Copyright (c) 2010 Apple Inc. All rights reserved. * * Redistribution and use in sou...
2,342
589
package rocks.inspectit.server.processor.impl; import javax.persistence.EntityManager; import rocks.inspectit.server.processor.AbstractCmrDataProcessor; import rocks.inspectit.shared.all.communication.DefaultData; import rocks.inspectit.shared.all.communication.data.SqlStatementData; /** * Processor that sets the c...
338
307
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ #ifndef _FRED_XSTR_HASH_TABLE_HEADER_FILE #define _FRED_XSTR_HASH_TABLE_...
315
777
<reponame>google-ar/chromium // 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. #ifndef CC_LAYERS_UI_RESOURCE_LAYER_IMPL_H_ #define CC_LAYERS_UI_RESOURCE_LAYER_IMPL_H_ #include <string> #include "base/ma...
850
1,319
<reponame>zhangyimi/Research<filename>ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/logger.py #!/usr/bin/env python # -*- coding: utf-8 -*- ################################################################################ # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Ver...
2,609
2,900
<filename>src/test/java/com/fasterxml/jackson/databind/struct/TestPOJOAsArray.java package com.fasterxml.jackson.databind.struct; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat.Shape; import com.fasterxml.jackson.databind....
3,923
435
<filename>pycon-lt-2014/videos/domantas-jackunas-openerp-ir-tryton.json { "description": "<NAME>\u016bnas: OpenERP ir Tryton", "duration": 1882, "recorded": "2014-05-10", "speakers": [ "<NAME>\u016bnas" ], "thumbnail_url": "https://i.ytimg.com/vi/QJBTSXezD_U/hqdefault.jpg", "title": "OpenERP ir Tryton...
209
310
""" Copyright (c) 2021 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
1,768
715
<gh_stars>100-1000 /* Simple DirectMedia Layer Copyright (C) 1997-2021 <NAME> <<EMAIL>> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use thi...
5,994
2,360
<filename>var/spack/repos/builtin/packages/ruby-xdg/package.py # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) class RubyXdg(RubyPackage): """Provides a Ruby impleme...
292
1,061
<gh_stars>1000+ /** * */ package org.sword.wechat4j.event; /** * 微信消息类型,大小写对应微信接口,msgType的枚举值 * @author ChengNing * @date 2014-12-4 */ public enum MsgType { event, //事件 text, //文本消息 image, location, link, voice, video, shortvideo, //小视频消息 music, news, transfer_customer_service;//客服...
221
14,668
<reponame>zealoussnow/chromium<filename>components/background_task_scheduler/android/java/src/org/chromium/components/background_task_scheduler/NativeBackgroundTaskDelegate.java // Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // foun...
355
852
<filename>FastSimulation/ShowerDevelopment/src/EMECALShowerParametrization.cc #include "FastSimulation/ShowerDevelopment/interface/EMECALShowerParametrization.h"
51
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Boisney","circ":"2ème circonscription","dpt":"Eure","inscrits":266,"abs":146,"votants":120,"blancs":15,"nuls":0,"exp":105,"res":[{"nuance":"REM","nom":"<NAME>","voix":60},{"nuance":"FN","nom":"M. <NAME>","voix":45}]}
109
341
<gh_stars>100-1000 // Created by http://oleddisplay.squix.ch/ Consider a donation // In case of problems make sure that you are using the font file with the correct version! const uint8_t DSEG7_Classic_Regular_16Bitmaps[] PROGMEM = { // Bitmap Data: 0x00, // ' ' 0x00, // '!' 0xFA,0x28,0xA2,0x8A,0x28,0xA2,0x8A,0x2F...
9,325
506
// https://codeforces.com/contest/1201/problem/B #include <bits/stdc++.h> using namespace std; using ll=long long; int main() { ios::sync_with_stdio(0); cin.tie(0); int n, x, m = 0; ll s = 0; cin >> n; for (int i = 0; i < n; i++) { cin >> x; m = max(m, x); s += x; } cout << (s % 2 || m * 2...
175
777
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/cache_storage/cache_storage_index.h" #include <list> #include <utility> #include "testing/gtest/include/gtest/gtest.h" namespa...
2,003
373
<reponame>linkingtd/UniAuth<filename>common/src/main/java/com/dianrong/common/uniauth/common/cons/AppConstants.java<gh_stars>100-1000 package com.dianrong.common.uniauth.common.cons; /** * Created by Arc on 26/1/16. */ public interface AppConstants { // 0 = 启用 Byte ZERO_BYTE = (byte) 0; // 1 = 禁用 Byte ONE_BY...
2,360
488
<reponame>IBKS-EZ/DotNetAnywhere<filename>libIGraph/Graphics.h // Copyright (c) 2012 DotNetAnywhere // // 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 withou...
1,091
390
// // RHUpstreamBuffer.h // Example // // Created by zhuruhong on 2019/9/8. // Copyright © 2019年 zhuruhong. All rights reserved. // #import <Foundation/Foundation.h> #import "RHChannelBufferProtocol.h" //NS_ASSUME_NONNULL_BEGIN /** * 上行数据包缓存 */ @interface RHUpstreamBuffer : NSObject <RHUpstreamBuffer> /** 上行...
234
7,137
package io.onedev.server.web.page.admin.buildsetting.agent; import java.io.File; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import javax.annotation.Nullable; import org.apache.commons.lang3.StringUtils; import org.apache.wicket.Component; import org.apa...
11,293
310
<gh_stars>100-1000 { "name": "Mother-32", "description": "A modular synth.", "url": "https://www.moogmusic.com/products/semi-modular/mother-32" }
61
335
<filename>C/Corporation_noun.json<gh_stars>100-1000 { "word": "Corporation", "definitions": [ "A large company or group of companies authorized to act as a single entity and recognized as such in law.", "A group of people elected to govern a city, town, or borough.", "A paunch." ], ...
133
399
<gh_stars>100-1000 /*- * #%L * athena-elasticsearch * %% * Copyright (C) 2019 - 2020 Amazon Web Services * %% * 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.apac...
1,077
848
/* * Copyright 2021 Xilinx 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 ...
256
1,639
<reponame>bazzyadb/all-code #include<bits/stdc++.h> using namespace std; const int N = 20; long long dp[1 << N]; int n, a[N][N]; int32_t main() { ios_base::sync_with_stdio(0); cin.tie(0); int t; cin >> t; while (t--) { cin >> n; for (int i = 0; i < n; i++) { for (int j = 0; j < n; ...
360
330
#!/usr/bin/env python """ Copyright (c) 2017, <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 condit...
2,690
14,668
<filename>content/test/gpu/flake_suppressor/expectations.py # 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. """Module for interacting with expectation files.""" import base64 import collections import os i...
7,123
5,169
<reponame>Gantios/Specs { "name": "DAIMKit", "version": "0.1.17", "summary": "Important Message Model.", "description": "Important Message Model Description.", "homepage": "http://git.duia.org.cn/ios/ImportMessageModel.git", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "fuqi...
695
420
package android.os; import kotlin.NotImplementedError; /** * Power manager compat class */ public final class PowerManager { public static final int ACQUIRE_CAUSES_WAKEUP = 268435456; public static final String ACTION_DEVICE_IDLE_MODE_CHANGED = "android.os.action.DEVICE_IDLE_MODE_CHANGED"; public static...
1,041
34,359
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "WindowManager.h" #include "MonarchFactory.h" #include "CommandlineArgs.h" #include "../inc/WindowingBehavior.h" #include "FindTargetWindowArgs.h" #include "ProposeCommandlineResult.h" #include "WindowManag...
18,113
841
/* * Copyright (C) 2016 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, di...
539
1,408
/* * Copyright (c) 2019-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <assert.h> #include <arch_helpers.h> #include <drivers/delay_timer.h> #include <lib/bakery_lock.h> #include <brcm_mhu.h> #include <platform_def.h> #include "m0_ipc.h" #define P...
1,353