max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
839
/** * 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 m...
2,245
1,702
/* * Copyright 2019-2021 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...
471
460
<reponame>MANICX100/peerblock // (C) Copyright <NAME> 2005. // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). // // See http://www.boost.org/libs/type_traits for most ...
632
390
<gh_stars>100-1000 // // TGTopicNewM.h // baisibudejie // // Created by targetcloud on 2017/5/30. // Copyright © 2017年 targetcloud. All rights reserved. // #import <Foundation/Foundation.h> @class TGUserNewM; @class TGCommentNewM; @interface TGTopicNewM : NSObject @property (nonatomic, copy) NSString *ID; @propert...
1,204
372
<filename>bnsf/src/main/java/io/fastjson/bnsf/holders/basic/DecimalHolder.java package io.fastjson.bnsf.holders.basic; import io.fastjson.bnsf.WireValueType; import io.fastjson.bnsf.holders.WireValueHolder; import java.math.BigDecimal; /** * Created by Richard on 9/25/14. */ public class DecimalHolder extends Numb...
378
782
<filename>main/boofcv-ip/src/main/java/boofcv/alg/filter/derivative/impl/HessianThreeDeterminant_Border.java /* * Copyright (c) 2011-2019, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
3,869
1,510
/* * 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 ...
995
1,062
// // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import "NSObject-Protocol.h" @class CALayer, NSView, StackController; @protocol StackDataSource <NSObject> @property(readonly, nonatomic) NSView *stackContainerView; - (void)stac...
223
748
<reponame>MattJDavidson/aoc2021<gh_stars>100-1000 def euler_walk(n, adj): deg = [0] * n for i in range(n): for j in range(n): deg[i] += adj[i][j] first = 0 while deg[first] == 0: first += 1 v1, v2 = -1, -1 bad = False for i in range(n): if deg[i] % 2 =...
808
8,360
<reponame>AK391/PaddleHub # Copyright (c) 2021 PaddlePaddle Authors. 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 # ...
1,572
348
{"nom":"Saint-Ouen-Marchefroy","circ":"2ème circonscription","dpt":"Eure-et-Loir","inscrits":253,"abs":116,"votants":137,"blancs":2,"nuls":0,"exp":135,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":71},{"nuance":"LR","nom":"M. <NAME>","voix":64}]}
104
531
<reponame>samypr100/jfxtras /** * Copyright (c) 2011-2021, JFXtras * 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 * ...
1,741
345
#include "pch.h" #include "App_Feature_EffectApplicationDelayLogger.h" #include "App_ConfigRepository.h" #include "App_Misc_Logger.h" #include "App_Network_SocketHook.h" #include "App_Network_Structures.h" struct App::Feature::EffectApplicationDelayLogger::Implementation { class SingleConnectionHandler { const std...
2,112
15,577
<filename>src/AggregateFunctions/QuantileReservoirSampler.h #pragma once #include <AggregateFunctions/ReservoirSampler.h> namespace DB { struct Settings; namespace ErrorCodes { extern const int NOT_IMPLEMENTED; } /** Quantile calculation with "reservoir sample" algorithm. * It collects pseudorandom subset of...
883
1,945
static GtkActionable *toGtkActionable(void *p) { return (GTK_ACTIONABLE(p)); }
29
348
{"nom":"<NAME>","circ":"4ème circonscription","dpt":"Ille-et-Vilaine","inscrits":389,"abs":234,"votants":155,"blancs":9,"nuls":5,"exp":141,"res":[{"nuance":"REM","nom":"<NAME>","voix":88},{"nuance":"FI","nom":"<NAME>","voix":53}]}
94
395
package timely.auth; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.s...
1,259
560
<gh_stars>100-1000 /* * Copyright (c) 2018 <NAME> <<EMAIL>> * All Rights Reserved. */ package me.zhanghai.android.douya.reflected; import androidx.annotation.NonNull; import androidx.annotation.Nullable; public class ReflectedClass { @NonNull private final String mClassName; @Nullable private Cl...
307
335
<reponame>Safal08/Hacktoberfest-1<gh_stars>100-1000 { "word": "Suppurate", "definitions": [ "undergo the formation of pus; fester", "to form or discharge pus" ], "parts-of-speech": "Verb" }
102
736
#pragma once namespace FSecure::Loader { /// Calculate VA from base address and RVA /// @tparam T - type of return value /// @param baseAddress /// @param RVA /// @returns VA template<typename T, typename V, typename U> T Rva2Va(V baseAddress, U rva) { return reinterpret_cast<T>(reinterpret_cast<ULONG_PTR&>(...
461
5,169
<reponame>Gantios/Specs<filename>Specs/a/9/2/ARLogging/1.4.1/ARLogging.podspec.json { "name": "ARLogging", "version": "1.4.1", "summary": "A short description of ARLogging.", "platforms": { "ios": "11.0" }, "description": "TODO: Add long description of the pod here.", "homepage": "https://github.com/p...
547
348
{"nom":"Saint-Georges-Antignac","circ":"4ème circonscription","dpt":"Charente-Maritime","inscrits":299,"abs":157,"votants":142,"blancs":4,"nuls":9,"exp":129,"res":[{"nuance":"REM","nom":"<NAME>","voix":66},{"nuance":"LR","nom":"<NAME>","voix":63}]}
97
3,227
<reponame>ffteja/cgal #include <iostream> #include <CGAL/config.h> #include <CGAL/use.h> #include <CGAL/Arithmetic_kernel.h> #include <CGAL/Quotient.h> #include <CGAL/Test/_test_algebraic_structure.h> #include <CGAL/Test/_test_real_embeddable.h> #include <CGAL/Test/_test_fraction_traits.h> #include <CGAL/Test/_test_rat...
1,791
799
{ "defaultIncidentType": "G Suite Security Alert Center", "description": "Classifies G Suite Security Alert Center Incidents.", "feed": false, "id": "G Suite Security Alert Center - Classifier", "keyTypeMap": { "type.googleapis.com/google.apps.alertcenter.type.AccountWarning": "G Suite Secur...
1,316
3,227
<reponame>ffteja/cgal #include<CGAL/Exact_predicates_inexact_constructions_kernel.h> #include<CGAL/Polygon_2.h> #include<CGAL/create_offset_polygons_2.h> #include<CGAL/draw_straight_skeleton_2.h> #include <boost/shared_ptr.hpp> #include <iostream> #include <vector> typedef CGAL::Exact_predicates_inexact_constructio...
2,193
1,244
// Copyright 2014 runtime.js project authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
524
5,964
<reponame>wenfeifei/miniblink49<gh_stars>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 "config.h" #include "core/frame/LocalFrameLifecycleNotifier.h" #include "core/frame/LocalFrameLif...
413
677
<gh_stars>100-1000 // Copyright 2017 The Lynx Authors. All rights reserved. #if OS_ANDROID #ifndef LYNX_RENDER_COORDINATOR_BRIDGE_H_ #define LYNX_RENDER_COORDINATOR_BRIDGE_H_ #include <string> #include <jni.h> #include "base/android/android_jni.h" namespace lynx { class JNICoordinatorBridge { public: static...
188
2,151
<filename>content/browser/web_package/mock_signed_exchange_handler.h // 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 CONTENT_BROWSER_WEB_PACKAGE_MOCK_SIGNED_EXCHANGE_HANDLER_H_ #define CONTENT_B...
965
1,799
<reponame>peblue12345/Paddle-Lite<gh_stars>1000+ // Copyright (c) 2019 PaddlePaddle Authors. 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.apac...
1,130
1,909
package org.knowm.xchange.test.coinsuper; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.knowm.xchange.Exchange; import org.knowm.xchange.ExchangeFactory; import org.knowm.xchange.ExchangeSpecification; import org.knowm.xchange.coinsuper.CoinsuperExchange; import org.knowm.xchan...
994
1,541
<filename>src/main/java/com/bwssystems/HABridge/plugins/mqtt/MQTTBroker.java package com.bwssystems.HABridge.plugins.mqtt; import com.bwssystems.HABridge.NamedIP; public class MQTTBroker { private String clientId; private String ip; public MQTTBroker(NamedIP brokerConfig) { super(); this.setIp(broke...
278
1,350
<filename>sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubs.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.iothub.model...
722
701
#pragma once #include <bal/hw/mem.h> #include <bal/task/args.h> typedef struct { BrId id; BrHandle handle; Str name; } BalTask; void bal_task_init(BalTask *task, Str name); void bal_task_deinit(BalTask *task); BrResult bal_task_exec(BalTask *task, BalMem *elf, BrRight rights, BalArgs args);
127
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. #include "services/network/http_cache_data_remover.h" #include <set> #include <string> #include "base/location.h" #include "base/threading/sequenced_tas...
2,348
1,738
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
659
1,338
/* * Copyright 2011-2012, Haiku, Inc. All rights reserved. * Copyright 2011, <NAME> <<EMAIL>> * Distributed under the terms of the MIT License. */ #ifndef DEFAULT_NOTIFIER_H #define DEFAULT_NOTIFIER_H #include <Notification.h> #include <String.h> #include "MailProtocol.h" #include "ErrorLogWindow.h" #include "S...
511
1,144
/* * #%L * de.metas.adempiere.adempiere.base * %% * Copyright (C) 2020 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of the * License, or (at your opt...
1,613
2,111
<reponame>mfkiwl/GAAS #include "FeatureFrontEndCV.h"
24
2,517
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include <type_traits> #include "caf/actor.hpp" #include "caf/actor_cast.hp...
1,379
1,265
<reponame>zhangzi0291/sa-token package cn.dev33.satoken.interceptor; import java.lang.reflect.Method; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.web.method.HandlerMethod; import org.springframework.web.servlet.HandlerInterceptor; import cn...
703
506
package com.xnx3.template.ui; import java.awt.Frame; import java.awt.Rectangle; import javax.swing.JFrame; import javax.swing.JMenuItem; import javax.swing.JPopupMenu; public class RightMenu extends JFrame{ private JPopupMenu menu = new JPopupMenu(); public RightMenu() { setBounds(100,100,350,150); ...
351
745
<gh_stars>100-1000 from itertools import count as itertools_count import traceback import time import gevent def subpool_map(pool_size, func, iterable): """ Starts a Gevent pool and run a map. Takes care of setting current_job and cleaning up. """ from .context import get_current_job, set_current_job, log ...
1,314
20,996
<filename>hphp/hack/src/third-party/inotify/inotify_stubs.c<gh_stars>1000+ /* * Copyright (C) 2006-2008 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; version 2.1...
1,311
17,702
# Copyright (c) Microsoft. All rights reserved. # Licensed under the MIT license. See LICENSE.md file in the project root # for full license information. # ============================================================================== from __future__ import print_function import os import sys import glob import tarfi...
1,219
1,444
package mage.cards.s; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.BeginningOfUpkeepTriggeredAbility; import mage.abilities.effects.common.DamageTargetEffect; import mage.constants.SubType; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mag...
511
2,702
/* * Copyright (C) 2015 Square, 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 agre...
1,519
1,461
package com.dubboclub.dk.web.model; /** * Created by bieber on 2015/6/6. * 消费者信息 */ public class ConsumerInfo extends BasicResponse{ private String application; private String username; private String parameters; public String getParameters() { return parameters; } public void s...
570
488
<gh_stars>100-1000 #include "sage3basic.h" #include "RoseCodeEdit.h" #include <QDragEnterEvent> #include <QDropEvent> #include <QIcon> #include <QAction> #include "SgNodeUtil.h" #include "SageMimeData.h" #include <QDebug> void RoseCodeEdit::setNode(SgNode * node) { if(node==NULL) { //remove cont...
631
400
/* * fake_poll_thread.h - poll thread for raw image * * Copyright (c) 2014-2015 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/lice...
554
852
// This is a plugin implementation, but it is in src/ to make it possible to // derive from it in other packages. In plugins/ there is a dummy that declares // the plugin. #include "DQM/SiPixelPhase1Common/interface/SiPixelPhase1Base.h" #include "FWCore/Framework/interface/MakerMacros.h" void SiPixelPhase1Harvester::d...
428
491
/* Automatically generated by create_config - do not modify */ #define TARGET_SPARC64 1 #define TARGET_NAME "sparc64" #define TARGET_SPARC 1 #define TARGET_WORDS_BIGENDIAN 1 #define CONFIG_SOFTMMU 1
70
915
<filename>core/src/main/java/org/nzbhydra/searching/dtoseventsenums/SearchMessageEvent.java /* * (C) Copyright 2017 TheOtherP (<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 a...
463
344
/* * Copyright (c) 2022 <NAME>, <NAME>, and contributors * * 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 b...
4,642
437
// is this app compiled for android ? #define ANDROID_VERSION // if I am not on dnroid, here's the // target resolutions to test with the app.... // HD 1080p //#define TARGET_RESOLUTION_W ( 1080*0.5 ) //#define TARGET_RESOLUTION_H ( 1920*0.5 ) // nexus 4 resolution 1280 x 768 #define TARGET_RESOLUTION_W ( 768*0...
136
1,520
from __future__ import absolute_import #overrides from allennlp.common.util import JsonDict from allennlp.data import Instance from allennlp.predictors.predictor import Predictor class DecomposableAttentionPredictor(Predictor): u""" Predictor for the :class:`~allennlp.models.bidaf.DecomposableAttention` mod...
580
1,510
/* * 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 ...
747
1,772
{ "vulnerabilities": [], "ok": true, "dependencyCount": 0, "org": "myorg", "policy": "# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.\nversion: v1.19.0\nignore: {}\npatch: {}\n", "isPrivate": true, "licensesPolicy": { "severities": {}, "orgLicenseRules": {} }, "...
250
2,151
<gh_stars>1000+ // 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 CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_ICON_CONTROLLER_H_ #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_ICON_CONTROLLER_H_ #im...
308
582
#!/usr/bin/python from Qt import QtCore, QtWidgets from .stylesheet import STYLE_QMENU class BaseMenu(QtWidgets.QMenu): def __init__(self, *args, **kwargs): super(BaseMenu, self).__init__(*args, **kwargs) self.setStyleSheet(STYLE_QMENU) self.node_class = None self.graph = None ...
991
412
<gh_stars>100-1000 import logging import os import re from graphbrain.cognition.agent import Agent from graphbrain.cognition.agents.txt_parser import parse_text def build_sequence_name(path, name): seq_name = '|'.join((path, name)) seq_name = seq_name.lower() seq_name = seq_name.replace('/', '|') seq...
752
1,062
<filename>MailHeaders/Catalina/MailFW/_MFProgressHandlerMonitorContext.h // // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> #import <MailFW/MFQueryProgressMonitor-Protocol.h> @class MCActivityMonitor, NSS...
352
309
<reponame>ishine/deepx_core // Copyright 2019 the deepx authors. // Author: <NAME> (<EMAIL>) // #include <deepx_core/dx_log.h> #include <deepx_core/graph/graph.h> #include <deepx_core/graph/graph_node.h> #include <deepx_core/graph/op_context.h> #include <deepx_core/graph/tensor_map.h> #include <deepx_core/tensor/data_...
1,021
1,195
from pymatting.alpha.estimate_alpha_lkm import estimate_alpha_lkm from pymatting.alpha.estimate_alpha_lbdm import estimate_alpha_lbdm from pymatting.alpha.estimate_alpha_rw import estimate_alpha_rw from pymatting.alpha.estimate_alpha_knn import estimate_alpha_knn from pymatting.alpha.estimate_alpha_cf import estimate_a...
138
884
<gh_stars>100-1000 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. package com.microsoft.commondatamodel.objectmodel.persistence.cdmfolder.backcompentitydeclaration; import com.microsoft.commondatamodel.object...
716
474
/*************************************************************************** * JNI ***************************************************************************/ #include "glm/glm.hpp" #include "glm/gtc/type_ptr.hpp" #include "objects/components/bone.h" #include "util/gvr_jni.h" namespace gvr { extern "C" { JNI...
1,483
504
/*********************************************************************** * * Copyright (c) Geoworks 1994 -- All Rights Reserved * * GEOWORKS CONFIDENTIAL * * PROJECT: TCP/IP Driver * MODULE: ICMP * FILE: icmp.h * * AUTHOR: <NAME>: Jul 6, 1994 * * REVISION HISTORY: * Date Name ...
3,556
1,132
#include "gb-include.h" #include "DiskPageCache.h" #include "RdbCache.h" // key = 24 bytes = 192 bits // vvvvvvvv vvvvvvvv vvvvvvvv vvvvvvvv v = vfd = unique file handle // vvvvvvvv vvvvvvvv vvvvvvvv vvvvvvvv // ffffffff ffffffff ffffffff ffffffff f = file read offset // ffffffff ffffffff ffffffff ffffffff // bbbbbbb...
1,174
631
import os import app import unittest from app.models import User class ClientTestCase(unittest.TestCase): def setUp(self): self.app = app.create_app('testing') self.app_context = self.app.app_context() self.app_context.push() app.db.create_all() self.client = self.app.test...
495
980
<reponame>leekayden/jcodec package org.jcodec.codecs.vpx.vp9; public class Scan { private static final int[] default_scan_4x4 = { 0, 4, 1, 5, 8, 2, 12, 9, 3, 6, 13, 10, 7, 14, 11, 15 }; private static final int[] col_scan_4x4 = { 0, 4, 8, 1, 12, 5, 9, 2, 13, 6, 10, 3, 7, 14, 11, 15 }; ...
28,239
8,805
<reponame>rudylee/expo /*============================================================================= Copyright (c) 2001-2011 <NAME> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =====================...
2,369
369
// Copyright (c) 2017-2021, Mudita <NAME>.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "chip.hpp" #include <log/log.hpp> #include <map> #include <string> namespace { const std::map<std::uint32_t, std::string> bootReasonDef = { {SRC_SRSR_IPP_RESET...
1,338
4,538
/* * Copyright (C) 2017-2019 Alibaba Group Holding Limited */ /****************************************************************************** * @file pin.h * @brief header File for pin definition * @version V1.0 * @date 02. June 2018 ******************************************************************...
868
5,169
{ "name": "HFBouncingButton", "version": "0.1.1", "summary": "HFBouncingButton is simple helper to make bouncing button.", "description": "HFBouncingButton is simple helper to make bouncing button.\n\n* The view can be customized\n* Bouncing direction can be vertical / horizontal\n* Use block for easy tap actio...
258
438
{ "DESCRIPTION": "Charge une liste de lecture", "USAGE": "p-load <nom_de_la_playlist>", "QUEUE": "En file d'attente **{{NUM}} titres** depuis **{{TITLE}}**.", "NO_PLAYLIST": "Liste de lecture non trouvée." }
88
2,529
/** * 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...
13,452
3,673
#include <os> void Service::start(const std::string&) { INFO("service", "Testing GRUB. And you've obviously booted OK"); INFO("service", "SUCCESS"); }
54
348
{"nom":"Villers-Patras","circ":"4ème circonscription","dpt":"Côte-d'Or","inscrits":81,"abs":34,"votants":47,"blancs":3,"nuls":1,"exp":43,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":26},{"nuance":"REM","nom":"Mme <NAME>","voix":17}]}
99
2,757
/** @file FMP Authentication RSA2048SHA256 handler. Provide generic FMP authentication functions for DXE/PEI post memory phase. Caution: This module requires additional review when modified. This module will have external input - capsule image. This external input must be validated carefully to avoid s...
6,361
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/YouTube.framework/YouTube */ #import <YouTube/YouTube-Structs.h> #import <YouTube/XXUnknownSuperclass.h> @class NSURL, NSArray, UIMoviePlayerController, UIImageView, YTSearchRequest, UILabel, YTVideo; @interface YT...
1,710
593
package org.ananas.cli; import org.ananas.cli.commands.MainCommand; import org.ananas.runner.kernel.ExtensionRegistry; import picocli.CommandLine; public class Main { public static void main(String[] args) { ExtensionRegistry.init(); int exitCode = new CommandLine(new MainCommand()).execute(args); if ...
159
9,959
<filename>test/transform/resource/before/ConflictingStaticConstructorNames.java @lombok.Data(staticConstructor="of") @lombok.NoArgsConstructor class ConflictingStaticConstructorNames { }
56
28,056
<gh_stars>1000+ package com.alibaba.json.bvt; import junit.framework.TestCase; import org.junit.Assert; import com.alibaba.fastjson.util.IOUtils; public class CharTypesTest extends TestCase { static byte[] specicalFlags_singleQuotes = IOUtils.specicalFlags_singleQuotes; static byte[] specicalFlags...
444
307
// The MIT License (MIT) // Copyright © 2015 AppsLandia. All rights reserved. // 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 ...
3,717
1,652
<filename>redis/redis-console/src/main/java/com/ctrip/xpipe/redis/console/migration/status/PublishState.java package com.ctrip.xpipe.redis.console.migration.status; /** * @author wenchao.meng * <p> * Jun 27, 2017 */ public interface PublishState extends MigrationState{ void forceEnd(); }
124
918
/* * 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 ...
5,456
489
package server.handler; import org.eclipse.jetty.server.Request; import skinny.http.Method; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; public class PostBodyMethodHandler exte...
642
375
/* * Copyright 2016 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.robotframework.ide.eclipse.main.plugin.project; import static com.google.common.collect.Lists.newArrayList; import static org.assertj.core.api.Assertions.assertThat;...
3,182
1,647
<reponame>davidbrochart/pythran def omp_get_wtick(): import omp tick = omp.get_wtick() return tick > 0.0 and tick < 0.01
61
17,703
<filename>test/common/config/opaque_resource_decoder_impl_test.cc #include "envoy/config/endpoint/v3/endpoint.pb.h" #include "envoy/config/endpoint/v3/endpoint.pb.validate.h" #include "source/common/config/opaque_resource_decoder_impl.h" #include "source/common/protobuf/message_validator_impl.h" #include "test/test_c...
1,165
1,863
import java.awt.*; class BorderPanel extends Panel { int border = 5; // size of border Color col1 = Util.light_edge; Color col2 = Util.dark_edge; Color body; BorderPanel() { } BorderPanel(int w) { border = w; } BorderPanel(int w, Color cb) { border = w; body = cb; } BorderPanel(int w, Color c1, Co...
514
14,570
/** * Swagger Petstore * This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. * * OpenAPI spec ver...
387
984
<filename>generation/WinSDK/Partitions/SideShow/main.cpp #include "intrinfix.h" #include "windows.fixed.h" #include <windowssideshowapi.h> #include <windowssideshow.h> #include <windowssideshowdriverevents.h>
76
1,159
#include "colorpalette.h" #include "base/text/smartstring.h" using namespace Gfx; ColorPalette::ColorPalette(std::initializer_list<Gfx::Color> colors) : colors(colors) {} ColorPalette::ColorPalette(const std::string &string) { auto colorList = Text::SmartString::split(string, ' ', true); colors.reserve(colorLis...
398
831
<filename>android/src/com/android/tools/idea/navigator/nodes/ndk/includes/model/PackageType.java /* * Copyright (C) 2017 The Android Open Source Project * * 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 ...
1,083
1,007
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * You may obtain a copy of the License at * * http://www.apache....
4,410
1,511
<filename>etc/scripts/licenses/buildlictests.py # -*- coding: utf-8 -*- # # Copyright (c) nexB Inc. and others. All rights reserved. # ScanCode is a trademark of nexB Inc. # SPDX-License-Identifier: Apache-2.0 # See http://www.apache.org/licenses/LICENSE-2.0 for the license text. # See https://github.com/nexB/scancode-...
1,744
1,014
[ "Airports & Air Services", "Banks - Regional", "Diversified Machinery", "Farm Products", "Grocery Stores", "Information Technology Services", "Insurance - Diversified", "Marine Shipping", "Medical Devices", "Packaged Foods", "REIT - Diversified", "Real Estat...
186
879
package org.zstack.header.core.progress; import java.util.ArrayList; import java.util.List; /** * Created by MaJin on 2019/7/3. */ public class ChainInfo { private List<RunningTaskInfo> runningTask = new ArrayList<>(); private List<PendingTaskInfo> pendingTask = new ArrayList<>(); public void setPendin...
334
470
import xml.etree.ElementTree as ET from ..datetime_helpers import parse_datetime class DQWItem(object): class WarningType: WARNING = "WARNING" DEPRECATED = "DEPRECATED" STALE = "STALE" SENSITIVE_DATA = "SENSITIVE_DATA" MAINTENANCE = "MAINTENANCE" def __init__(self, war...
1,771