max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
369
// Copyright (c) 2017-2021, <NAME>. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "DayLabel.hpp" #include "MonthBox.hpp" #include <application-calendar/widgets/CalendarStyle.hpp> #include <windows/CalendarMainWindow.hpp> namespace gui { MonthBox::MonthBox(app::A...
1,592
641
/********************************************************************************************************************* * DAVE APP Name : GUI_SEGGERLIBRARY APP Version: 4.1.8 * * NOTE: * This file is generated by DAVE. Any manual modification done to this file will be lost when the code is regenerated. ***********...
1,048
1,463
// // Copyright 2013 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // ...
33,966
511
<gh_stars>100-1000 /**************************************************************************** * include/tinyara/bluetooth/bluetooth.h * * Copyright (C) 2018 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are pe...
8,277
2,151
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_GPU_FAKE_COMMAND_BUFFER_HELPER_H_ #define MEDIA_GPU_FAKE_COMMAND_BUFFER_HELPER_H_ #include <map> #include <set> #include "base/macros.h" #...
923
363
/* Copyright 2015 predic8 GmbH, www.predic8.com 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 ...
578
470
#ifndef _QWEATHER_H #define _QWEATHER_H #include <Arduino.h> #include <Vector> #include <ArduinoJson.h> #include <WiFi.h> #include <HTTPClient.h> #include <WiFiClientSecure.h> #include <string> using namespace std; /** * @brief 按小时预测天气。。。和按天预测一样,请求越多需求内存越高 * */ enum HourlyPredictionType { /** * @brief 1...
6,452
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...
9,670
451
<filename>src/TpMMPD/ExchangeLib/PhotoScan/ConvTiePointPSMM/cAppliConvertTiePPs2MM.cpp #include "ConvertTiePPs2MM.h" /*===================================================*/ cHomolPS::cHomolPS( std::string aImgName, int aId, Pt2dr aCoord, int aIdImg ...
3,909
6,541
#!/usr/bin/env python2 # Copyright 2012 The Emscripten Authors. All rights reserved. # Emscripten is available under two separate licenses, the MIT license and the # University of Illinois/NCSA Open Source License. Both these licenses can be # found in the LICENSE file. from __future__ import print_function import o...
1,043
1,020
package org.robobinding.codegen.presentationmodel; import org.robobinding.presentationmodel.AbstractPresentationModelObject; import com.helger.jcodemodel.AbstractJClass; import com.helger.jcodemodel.JBlock; import com.helger.jcodemodel.JExpr; import com.helger.jcodemodel.JFieldVar; import com.helger.jcodemodel.JInvoc...
635
6,497
<gh_stars>1000+ package com.sohu.cache.schedule.impl; import com.sohu.cache.dao.QuartzDao; import com.sohu.cache.entity.TriggerInfo; import com.sohu.cache.schedule.TriggerCenter; import org.quartz.Scheduler; import org.quartz.SchedulerException; import org.quartz.TriggerKey; import org.slf4j.Logger; import or...
1,734
502
package com.github.kubeflow.arena.model.nodes; import com.alibaba.fastjson.JSON; public class NormalNode extends Node { public NormalNode(){ super(); } @Override public String toString() { return JSON.toJSONString(this,true); } }
106
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"<NAME>","circ":"1ère circonscription","dpt":"Savoie","inscrits":1890,"abs":1002,"votants":888,"blancs":10,"nuls":4,"exp":874,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":225},{"nuance":"REM","nom":"Mme <NAME>","voix":201},{"nuance":"FN","nom":"<NAME>"...
318
2,757
<filename>StdLib/EfiSocketLib/DxeSupport.c /** @file SocketDxe support routines Copyright (c) 2011, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. ...
2,830
729
package com.chinalwb.are.activities; import android.app.Activity; import android.content.Intent; import android.os.AsyncTask; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.ListView; import com.chinalwb.are....
1,878
513
{ "family": "Bonbon", "variants": ["regular"], "subsets": ["latin"], "version": "v14", "lastModified": "2021-03-19", "files": { "regular": "http://fonts.gstatic.com/s/bonbon/v14/0FlVVPeVlFec4ee_cDEAbQY5-A.ttf" }, "category": "handwriting", "kind": "webfonts#webfont" }
131
679
<filename>main/autodoc/source/ary/idl/i_function.cxx /************************************************************** * * 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 cop...
1,478
334
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2021, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
2,360
1,233
from datetime import datetime BUILD_NUMBER = 'DEV' BUILD_DATE = datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ') BUILD_VCS_NUMBER = 'HEAD'
67
385
<reponame>1b00/corrade<filename>src/Corrade/Utility/ConfigurationGroup.h #ifndef Corrade_Utility_ConfigurationGroup_h #define Corrade_Utility_ConfigurationGroup_h /* This file is part of Corrade. Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 202...
10,021
1,702
package com.example.validator; import javax.validation.constraints.Pattern; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.validation.annotation.Validated; @ConfigurationProperties("app") @Validated class Foo { @Pattern(regexp = "[A-Z][a-z]+", message = "Inval...
215
6,036
<reponame>toothache/onnxruntime<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include <vector> #include "core/common/common.h" #include "core/graph/graph_utils.h" // TODO: Minimize usage of this given we want to use Actions in a minimal ...
996
1,428
<reponame>saurabhcommand/Hello-world #include <stdio.h> void main(){ printf("\n*****Check wether a year is a leap year or not*****\n\n\n"); int year; printf("Enter a year\n"); scanf("%d", &year); if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) printf("--->This year is a leap year"); else ...
146
409
/* * https://github.com/jamesbarlow/icmptunnel * * The MIT License (MIT) * * 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, in...
1,118
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/Message.framework/MailServices/POP.framework/POP */ #import <Foundation/NSThread.h> #import <POP/POP-Structs.h> @class MFPOP3Connection; @interface MFLibraryPOPStore : NSThread { MFPOP3Connection *_connection; // ...
791
370
<filename>cuda_dxt/rgb2dxt1.c #include <stdio.h> #include <stdlib.h> #include "cuda_dxt.h" #define DDS_HEADER_SIZE 128 static void usage(const char * const name, const char * const message) { printf("ERROR: %s\n", message); printf("Usage: %s width height input.rgb output.dds\n", name); } int main(int argc...
2,828
432
<filename>examples/tutorials/rpc-kv-storage/src/main/java/KeyValueStore.java import java.util.HashMap; import java.util.Map; // [START EXAMPLE] public class KeyValueStore { private final Map<String, String> store = new HashMap<>(); public String put(String key, String value) { return store.put(key, value); } ...
143
3,882
<reponame>OrBin/pytype<gh_stars>1000+ # pylint: skip-file #- @a defines/binding VarA #- @b defines/binding VarB #- @c defines/binding VarC a = b = c = 1 # TODO(b/137314416): @a ref VarA does not work #- @x defines/binding VarX x = (a + #- @b ref VarB b + #- @c ref VarC c) #- @y defines/binding VarY #- @a r...
309
506
<reponame>Ashindustry007/competitive-programming #!/usr/bin/env python2 # https://open.kattis.com/problems/twostones if input() % 2 == 0: print 'Bob' else: print 'Alice'
71
721
<filename>apkanalyser/src/mereflect/info/ClassInfo.java /* * Copyright (C) 2012 Sony Mobile Communications AB * * This file is part of ApkAnalyser. * * 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...
414
13,111
/* * 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 ...
650
317
package com.googlecode.totallylazy.parser; import com.googlecode.totallylazy.Segment; import java.util.ArrayList; import java.util.List; import static com.googlecode.totallylazy.parser.Success.success; class ManyParser<A> implements Parser<List<A>> { private final Parser<? extends A> parser; private ManyPa...
413
2,151
<gh_stars>1000+ // 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 "chrome/browser/chromeos/extensions/gfx_utils.h" #include "base/macros.h" #include "base/stl_util.h" #include "chrome/browser/ex...
2,494
2,293
"""Interface to the compiler's internal symbol tables""" import _symtable from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM, DEF_IMPORT, DEF_BOUND, OPT_IMPORT_STAR, OPT_EXEC, OPT_BARE_EXEC, SCOPE_OFF, SCOPE_MASK, FREE, GLOBAL_IMPLICIT, GLOBAL_EXPLICIT) import warnings import weakref __all__ = ["...
3,541
2,777
<gh_stars>1000+ #pragma once #include <QDateTime> #include <QString> #include <QFileInfo> #include <memory> struct ScreenShot { using Ptr = std::shared_ptr<ScreenShot>; ScreenShot(QFileInfo file) { m_file = file; } QFileInfo m_file; QString m_url; QString m_imgurId; QString m_imgu...
146
831
<filename>Python/02. Basic Data Types/002. Find the Runner-Up Score!.py # Problem: https://www.hackerrank.com/challenges/find-second-maximum-number-in-a-list/problem # Score: 10 n = int(input()) arr = list(map(int, input().split())) print(max([x for x in arr if x != max(arr)]))
99
578
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
389
30,785
<reponame>zhongqingsong/jadx<filename>jadx-plugins/jadx-plugins-api/src/main/java/jadx/api/plugins/input/data/annotations/EncodedValue.java package jadx.api.plugins.input.data.annotations; import java.util.Objects; import jadx.api.plugins.input.data.attributes.IJadxAttrType; import jadx.api.plugins.input.data.attribu...
593
1,238
# coding:utf-8 from sogou_mrc.utils.tokenizer import SpacyTokenizer from sogou_mrc.dataset.base_dataset import BaseReader, BaseEvaluator import json from collections import OrderedDict, Counter from tqdm import tqdm import logging import re import collections import string import sys class SquadV2Reader(BaseReader):...
5,684
1,874
<filename>nova/tests/unit/api/openstack/compute/test_server_diagnostics.py<gh_stars>1000+ # Copyright 2011 <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 ...
3,595
453
/* open for MMIXware. Copyright (C) 2001, 2002 <NAME> Permission to use, copy, modify, and distribute this software is freely granted, provided that the above copyright notice, this notice and the following disclaimer are preserved with no changes. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY E...
2,721
3,579
<reponame>coder-hugo/querydsl<filename>querydsl-collections/src/test/java/com/querydsl/collections/QPerson.java package com.querydsl.collections; import com.querydsl.core.types.PathMetadata; import com.querydsl.core.types.dsl.BeanPath; import com.querydsl.core.types.dsl.StringPath; public class QPerson extends BeanPa...
248
17,965
<filename>lib/weather_data.py """ Weather data source """ import json import requests from globals import WWO_KEY def get_weather_data(location, lang): """ Get weather data for `location` """ key = WWO_KEY url = ('/premium/v1/weather.ashx' '?key=%s&q=%s&format=json' '&num_of_...
250
468
from pick import Picker def test_move_up_down(): title = "Please choose an option: " options = ["option1", "option2", "option3"] picker = Picker(options, title) picker.move_up() assert picker.get_selected() == ("option3", 2) picker.move_down() picker.move_down() assert picker.get_selec...
725
778
<reponame>lkusch/Kratos #pragma once #include "u_delphiClasses.h" #include "Math3D.h" //------ MENUS #define SURFACE 1 #define VOLUME 2 #define COLORIZE 3 #define UPDATE_IDS 0 #define GENERATE_SURFACE 1 #define KEEP_ORIG_IDS 2 #define KRATOS #define OPEN_MP typedef char* String; // Solution usin...
4,033
1,402
""" A structure-from-motion example with landmarks - The landmarks form a 10 meter cube - The robot rotates around the landmarks, always facing towards the cube """ # pylint: disable=invalid-name, E1101 from typing import List import numpy as np import gtsam from gtsam import Cal3_S2, Point3, Pose3 def createPoi...
562
631
/***************************************************************************** * * * OpenNI 1.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * ...
2,765
777
// 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. #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_UNDO_MANAGER_BRIDGE_OBSERVER_H_ #define IOS_CHROME_BROWSER_UI_BOOKMARKS_UNDO_MANAGER_BRIDGE_OBSERVER_H_ #include ...
363
7,897
/*************************************************************************** * @file main.cpp * @author Alan.W * @date 3 Mar 2014 * @remark This code is for the exercises from C++ Primer 5th Edition * @note ***************************************************************************/ // /...
582
6,114
package com.baidu.disconf.web.service.user.bo; import com.baidu.dsp.common.dao.Columns; import com.baidu.dsp.common.dao.DB; import com.baidu.unbiz.common.genericdao.annotation.Column; import com.baidu.unbiz.common.genericdao.annotation.Table; import com.github.knightliao.apollo.db.bo.BaseObject; /** * 用户表 * * @aut...
893
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. """Contains a set of Chrome-specific size queries.""" import logging import re import models class _Grouper: def __init__(self): self.groups = [] ...
3,305
488
#ifndef BUILD_LOOP_TREE #define BUILD_LOOP_TREE #include <LoopTree.h> #include <ProcessAstTree.h> class LoopTreeBuild : public ProcessAstTree { LoopTreeCreate *lt; LoopTreeNode *cur; bool supportNonFortranLoop; protected: bool ProcessLoop( AstInterface &fa, const AstNodePtr& loop , c...
1,236
32,544
package com.baeldung.maths; import org.junit.Assert; import org.junit.Test; import java.math.BigInteger; public class BigIntegerImplUnitTest { @Test public void givenBigIntegerNumbers_whenAddedTogether_thenGetExpectedResult() { BigInteger numStarsMilkyWay = new BigInteger("873140932017133...
262
1,498
/* Copyright (c) 2012, Broadcom Europe Ltd 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 t...
886
7,137
package io.onedev.server.web.resource; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.nio.charset.StandardCharsets; import java.util.List; import javax.persistence.EntityNotFoundException; import org.apache.shiro.authz.UnauthorizedException; import or...
783
937
<reponame>zmyer/cyclops-react package com.oath.cyclops.data.collections.extensions.lazy.immutable; import com.oath.cyclops.types.persistent.PersistentSet; import com.oath.cyclops.types.foldable.Evaluation; import cyclops.reactive.collections.immutable.PersistentSetX; import cyclops.control.Option; import cyclops.func...
1,739
524
<filename>karate-core/src/main/java/com/intuit/karate/driver/DriverMouse.java /* * The MIT License * * Copyright 2019 Intuit Inc. * * 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,891
488
int main() { int i, n, a, b, c, d; #pragma scop for (i = 0; i < n; ++i) { if (i > 1) a = 0; b = 0; if (i > 2) { if (i < n - 1) c = 0; d = 0; } } #pragma endscop }
136
1,306
<reponame>lifansama/xposed_art_n public class Main { public static void main(String[] args) { test_printNarrowing(); } public static void test_printNarrowing() { System.out.println(); System.out.println("Double.POSITIVE_INFINITY = " + Long.toHexString(Double.doubleT...
3,489
921
<reponame>0to1/rmf_traffic /* * Software License Agreement (BSD License) * * Copyright (c) 2011-2014, <NAME>, Inc. * Copyright (c) 2014-2016, Open Source Robotics Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
1,663
2,500
/* * Copyright 2021 DiffPlug * * 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 ...
352
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI */ #import <iTunesStoreUI/SUInputSource.h> @class NSData; @interface SUDataInputSource : SUInputSource { NSData *_data; // 4 = 0x4 int _offset; // 8 = 0x8 id _promiseBlock; ...
342
848
//===- Configuration.h - Configuration object base classes ------*- C++ -*-===// // // Copyright 2019 The MLIR 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....
1,592
30,023
"""Entity for the SleepIQ integration.""" from abc import abstractmethod from asyncsleepiq import SleepIQBed, SleepIQSleeper from homeassistant.core import callback from homeassistant.helpers import device_registry from homeassistant.helpers.entity import DeviceInfo, Entity from homeassistant.helpers.update_coordinat...
907
369
/* - mftupdate.cpp - * Author: <NAME>. / TDM, 2014-12-24 * * Update the TDMInstall XML manifest with current version and archive info for * a TDM-GCC package that has just been built. * * This program reads all input data on stdin rather than using command-line * arguments. * * COPYING: * To the extent possib...
1,680
442
<reponame>AndreyNudko/ClickHouse-Native-JDBC /* * 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 o...
3,682
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 "net/quic/web_transport_error.h" #include "base/strings/strcat.h" namespace net { std::string WebTransportErrorToString(const WebTransportErro...
224
502
<filename>modules/fixflow-core/src/main/java/org/eclipse/bpmn2/impl/CallActivityImpl.java /** * <copyright> * * Copyright (c) 2010 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributi...
2,131
791
#include <stdint.h> #include "syscall.h" #include "soso.h" int32_t manage_message(int32_t command, SosoMessage* message) { return __syscall(SYS_manage_message, command, (int)message); } int get_message_count() { return manage_message(0, 0); } void send_message(SosoMessage* message) { manage_message(1, me...
163
384
<reponame>fernandogar92/javaee8-samples package org.javaee8.cdi.dynamic.bean; import static org.jboss.shrinkwrap.api.ShrinkWrap.create; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import java.net.URL; import org.jboss.arquillian.container.test.api.Deployment; import or...
1,299
480
#include <iostream> #include <fstream> #include <unordered_map> #include <experimental/filesystem> using namespace std; using namespace experimental::filesystem; using hash_map = unordered_map<size_t, path>; static size_t hash_from_path(const path &p) { ifstream is {p.c_str(), ios::in | ios::binary}; if (!is...
707
8,238
<reponame>jjhoo/otp<filename>lib/wx/c_src/gen/wxe_wrapper_3.cpp /* * %CopyrightBegin% * * Copyright Ericsson AB 2008-2021. 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 Lic...
165,321
648
{"resourceType":"DataElement","id":"ElementDefinition.constraint.xpath","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/ElementDefinition.constraint.xpath","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"ElementDefinition.constraint.xpa...
256
1,837
/* * Copyright (c) 2011-2018, <NAME>. All Rights Reserved. * * 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 t...
968
6,207
<reponame>amarallab/ResearchKit<filename>Testing/ORKTest/ORKTestTests/samples.bundle/ORKPSATStep.json {"footnote":"","stimulusDuration":0,"recorderConfigurations":[],"shouldContinueOnFinish":true,"shouldSpeakCountDown":false,"interStimulusInterval":0,"shouldTintImages":true,"iconImage":{"imageName":"A0A7FA5A-91F9-4FC1-...
358
326
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2015 <NAME>, Amsterdam, the Netherlands. // This file was modified by Oracle on 2013-2020. // Modifications copyright (c) 2013-2020 Oracle and/or its affiliates. // Contributed and/or modified by <NAME>, on behalf of Oracle // Use, modifica...
4,591
1,125
<reponame>food-beaverages/elassandra /* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "...
665
679
<reponame>Grosskopf/openoffice<filename>main/toolkit/source/awt/vclxgraphics.cxx<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 wo...
6,793
1,056
<filename>ide/parsing.indexing/src/org/netbeans/modules/parsing/impl/indexing/IndexingUtils.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 ownership. Th...
796
459
<gh_stars>100-1000 package com.knight.arch.api; /** * @author andyiac * @date 15/11/10 * @web http://blog.andyiac.com * @github https://github.com/andyiac */ public class GitHubApiConstants { // todo id和 secret 是否放在其它地方 public static String GITHUB_APP_CLIENT_ID = "d23f22372a297175a100"; public static...
186
701
<reponame>spocino/brutal #include <virtio/config.h>
23
979
<gh_stars>100-1000 #!/usr/bin/python ############################################################ # Copyright (c) 2013 VMware, Inc. All rights reserved. # This script is provided as-is, with no warranties. ############################################################ # # VMware-Java7-patch.py -- # # This script ...
3,200
2,161
from eth_utils import to_tuple from typing import Iterable from eth2spec.gen_helpers.gen_base import gen_runner, gen_typing from eth2spec.test.helpers.typing import PresetBaseName from eth2spec.phase0 import mainnet as spec_mainnet, minimal as spec_minimal from eth2spec.test.helpers.constants import PHASE0, MINIMAL, ...
867
897
<reponame>Khushboo85277/NeoAlgo ''' here : https://www.hackerrank.com/challenges/climbing-the-leaderboard/problem An arcade game player wants to climb to the top of the leaderboard and track their ranking. The game uses Dense Ranking, so its leaderboard works like this: The player with the highest score is ranked nu...
1,114
575
// 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. #include "third_party/blink/renderer/platform/bindings/no_alloc_direct_call_exception_state.h" namespace blink { void NoAllocDirectCallExceptionState::T...
1,012
16,870
/* * Copyright 2019 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 required by applica...
597
1,093
/* * Copyright 2002-2019 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 a...
4,178
1,234
package org.benf.cfr.reader.util.output; import org.benf.cfr.reader.bytecode.analysis.parse.expression.misc.Precedence; import org.benf.cfr.reader.util.Troolean; public interface DumpableWithPrecedence extends Dumpable { Precedence getPrecedence(); Dumper dumpWithOuterPrecedence(Dumper d, Precedence outerPr...
124
452
<filename>spring-cloud-dubbo-demo/spring-cloud-dubbo-demo-provider/spring-cloud-dubbo-demo-provider-service/src/main/java/cn/springcloud/dubbo/demo/provider/service/ProviderServiceImpl.java<gh_stars>100-1000 package cn.springcloud.dubbo.demo.provider.service; import org.springframework.web.bind.annotation.RestControll...
176
3,810
package com.birbit.android.jobqueue.messaging; import com.birbit.android.jobqueue.messaging.message.CommandMessage; import org.hamcrest.CoreMatchers; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.ArrayList; import java.util.Arrays; import java.util.H...
1,318
5,169
<filename>Specs/0/4/2/face-SDK/1.0.0/face-SDK.podspec.json { "name": "face-SDK", "version": "1.0.0", "summary": "A short description of face-SDK.", "description": "TODO: Add long description of the pod here.", "homepage": "https://github.com/huangmengfei/face-SDK", "license": { "type": "MIT", "file"...
382
365
/* * Copyright (c) 2014, Ericsson AB. 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 conditions a...
1,671
1,590
<reponame>libc16/azure-rest-api-specs { "parameters": { "resourceGroupName": "markusavstestrg", "api-version": "2019-10-01", "subscriptionId": "31be0ff4-c932-4cb3-8efc-efa411d79280", "projectName": "rajoshCCY9671project", "importCollectorName": "importCollector2952", "CollectorBody": { "...
1,121
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 ...
593
4,140
/* * 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,332
1,041
<gh_stars>1000+ package org.tests.query.cache; import javax.persistence.*; import java.util.ArrayList; import java.util.List; @Entity public class Contract { @Id @GeneratedValue protected Long id; private String name; @OneToMany(cascade = CascadeType.ALL, mappedBy = "contract") private List<Position> position...
367
1,587
<reponame>jeap-rs/code-examples package io.reflectoring.exception.repository; import io.reflectoring.exception.entity.Product; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface ProductRepository extends JpaRepository<Product, S...
103
17,703
// NOLINT(namespace-envoy) constexpr char TEST_SELFSIGNED2_ECDSA_P256_CERT_256_HASH[] = "4a3a4a14179d8af55cd89b0613e987e49335e826da53672933ab115247416baf"; constexpr char TEST_SELFSIGNED2_ECDSA_P256_CERT_1_HASH[] = "024359839fb45be9e70c3a01594c64d9955ce6e8"; constexpr char TEST_SELFSIGNED2_ECDSA_P256_CERT_SPKI[...
345
538
#pragma once #include "Format.h" #include "Matcher.h" #include "Root.h" #include "TamSoftPS1Scanner.h" // **************** // TamSoftPS1Format // **************** #define TAMSOFTPS1_KEY_OFFSET 0 BEGIN_FORMAT(TamSoftPS1) USING_SCANNER(TamSoftPS1Scanner) USING_MATCHER(FilegroupMatcher) END_FORMAT()
125