max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,473
/* * Copyright 2006 <NAME>. All rights reserved. * * This file is part of pasco2, the next generation Internet Explorer cache * and history record parser. * * pasco2 is free software; you can redistribute it and/or modify * under the terms of the GNU General Public License as published by the * Free Software Fo...
513
930
<gh_stars>100-1000 /* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF ...
801
1,459
<filename>testing/performance/apps/market-spread/_test/validate.py<gh_stars>1000+ # Copyright 2017 The Wallaroo Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www...
701
2,151
<filename>components/viz/service/main/viz_main_impl.h // 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. #ifndef COMPONENTS_VIZ_SERVICE_MAIN_VIZ_MAIN_IMPL_H_ #define COMPONENTS_VIZ_SERVICE_MAIN_VIZ_MAIN_IM...
1,970
498
""" Handler for Juniper device specific information. Note that for proper import, the classname has to be: "<Devicename>DeviceHandler" ...where <Devicename> is something like "Default", "Junos", etc. All device-specific handlers derive from the DefaultDeviceHandler, which implements the generic information need...
2,918
326
package com.containersol.minimesos.mesos; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Comparator; import java.util.List; import java.util.function.Predicate; import com.containersol.minimesos.MinimesosException; import com.containersol.minimesos.cluster.Clu...
4,274
892
{ "schema_version": "1.2.0", "id": "GHSA-6rw8-gcfv-wh9c", "modified": "2022-04-30T18:15:15Z", "published": "2022-04-30T18:15:15Z", "aliases": [ "CVE-2001-0019" ], "details": "Arrowpoint (aka Cisco Content Services, or CSS) allows local users to cause a denial of service via a long argument to the \"sh...
423
435
<gh_stars>100-1000 { "description": "Welcome to the inaugural PyColorado 2019. Hear about what to expect for the weekend and what fueled the drive to bring a regional Python conference to Colorado.", "language": "eng", "recorded": "2019-09-07", "speakers": [ "<NAME>" ], "thumbnail_url": "https://i.ytimg...
200
460
#include "../../../src/xmlpatterns/expr/qpath_p.h"
23
601
{ "@microsoft/generator-sharepoint": { "version": "1.3.0", "libraryName": "spfx-office-ui-fabric-people-picker", "libraryId": "6349ba8f-d5aa-4cbf-87b4-910dad47324b", "environment": "spo" } }
100
882
<reponame>gigliovale/h2o package water; /** * Empty marker class. Used by the auto-serializer. */ public abstract class Iced implements Freezable, Cloneable { // The abstract methods to be filled in by subclasses. These are automatically // filled in by any subclass of Iced during class-load-time, unless one ...
417
1,137
"""Test OCR module""" import unittest from pororo import Pororo class PororoOCRTester(unittest.TestCase): def test_modules(self): img_path = "https://kixxman.com/files/attach/images/140/554/007/1e57a1b02405d5d955030ced868375c2.jpg" ocr = Pororo(task="ocr", lang="ko") ocr = ocr(img_path)...
247
4,640
<filename>python/tvm/relay/backend/vm.py # 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, Ver...
2,943
518
/* * Copyright (c) 2016, <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: * * 1. Redistributions of source code must retain the above copyright notice, * this list of condition...
5,031
2,338
//===- LLDBTableGenUtils.cpp ----------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
257
1,939
<filename>src/backend/codecc/core/apiquery/api-apiquery/src/main/java/com/tencent/bk/codecc/apiquery/api/OpToolRestResource.java /* * Tencent is pleased to support the open source community by making BlueKing available. * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. * Licensed und...
1,966
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...
982
9,106
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #pragma once #ifndef MSO_FUTURE_DETAILS_IFUTURE_H #define MSO_FUTURE_DETAILS_IFUTURE_H #include "arrayView.h" #include "dispatchQueue/dispatchQueue.h" #include "errorCode/errorCode.h" #include "functional/functor.h" namespace Mso::Futures { ...
1,508
14,668
<filename>content/public/browser/client_hints.h // 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. #ifndef CONTENT_PUBLIC_BROWSER_CLIENT_HINTS_H_ #define CONTENT_PUBLIC_BROWSER_CLIENT_HINTS_H_ #include "c...
435
332
#!/usr/bin/env python """Convert a directory of images to an hdf5 dataset.""" import argparse import glob import random import os import numpy as np import sys from scipy.misc import imread def loadImageOrNone(f): try: im = imread(f, mode='RGB') return im except: print("Could not read...
2,083
14,668
// 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 "components/exo/wayland/zaura_shell.h" #include <aura-shell-server-protocol.h> #include <memory> #include "ash/session/session_controller_impl...
5,633
30,023
"""Conftest for script tests.""" from tests.components.blueprint.conftest import stub_blueprint_populate # noqa: F401
39
4,054
# -*- coding: utf-8 -*- # Generated by Django 1.11.16 on 2018-10-31 11:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('redirects', '0001_initial'), ] operations = [ migrations.AlterField( model_name='redirect', ...
404
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...
488
488
<reponame>arpitgogia/recurrentshop<gh_stars>100-1000 ''' Machine Learning on Sequential Data Using a Recurrent Weighted Average by <NAME> and <NAME> https://arxiv.org/abs/1703.01253 This is the implementation of 'Classifying by Sequence Length' experiment mentioned in Section 3.3 of the paper ''' import numpy as np...
1,154
348
{"nom":"Rupéreux","circ":"4ème circonscription","dpt":"Seine-et-Marne","inscrits":76,"abs":29,"votants":47,"blancs":0,"nuls":0,"exp":47,"res":[{"nuance":"LR","nom":"<NAME>","voix":19},{"nuance":"REM","nom":"M. <NAME>","voix":14},{"nuance":"FN","nom":"M. <NAME>","voix":12},{"nuance":"COM","nom":"M. <NAME>","voix":1},{"n...
245
3,100
// This code was autogenerated by ./tools/ppc-table-gen. Do not modify! // clang-format off #include <cstdint> #include <cstdlib> #include "xenia/base/assert.h" #include "xenia/cpu/ppc/ppc_decode_data.h" #include "xenia/cpu/ppc/ppc_opcode.h" #include "xenia/cpu/ppc/ppc_opcode_disasm.h" #include "xenia/cpu/ppc/ppc_opco...
134,139
56,632
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2021 Intel Corporation #ifndef GAPI_STREAMING_ONEVPL_ACCELERATORS_SURFACE_DX11_FRAME_ADAPTER_HPP #define ...
803
365
<filename>rules/vulnerabilities/rule_beanstalk-takeover.py import dns.resolver from core.redis import rds from core.parser import ScanParser class Rule: def __init__(self): self.rule = 'VLN_ZZ13' self.rule_severity = 3 self.rule_description = 'This rule checks for Beanstalk DNS Takeovers' self.ru...
740
363
<reponame>abelidze/cppfs<gh_stars>100-1000 #include <cppfs/Url.h> #include <algorithm> namespace cppfs { Url::Url() : m_url("") , m_analyzed(false) , m_protocol("") , m_location("") , m_address("") , m_path("") , m_login("") , m_host("") , m_username("") , m_password("") { } Url::Url(const Url & url) : m_url(url...
2,170
322
{ "clusterInfo": { "id": 1324053971963, "startedOn": 1324053971963, "state": "STARTED", "haState": "ACTIVE", "rmStateStoreName": "org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore", "resourceManagerVersion": "0.23.1-SNAPSHOT", "resourceManagerBuildVersion": "0.23.1-SNAP...
293
1,727
def binary_search_first_true(predicate, from_inclusive, to_inclusive): lo = from_inclusive - 1 hi = to_inclusive + 1 while hi - lo > 1: mid = (lo + hi) // 2 if not predicate(mid): lo = mid else: hi = mid return hi def test(): assert 4 == binary_searc...
172
32,544
<reponame>zeesh49/tutorials package com.baeldung.setterdi.domain; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class Car { private Engine engine; private Transmission transmission; private Trailer trailer; ...
327
443
<gh_stars>100-1000 import os import sys import time import numpy as np class DoomEnv(object): def __init__(self, vizdoom_dir=os.path.expanduser('~/ViZDoom'), window_visible=True, scenario='basic', skipcount=10, resolution_width=640, sleep=0.0, seed=None): self.skipcoun...
1,091
2,151
<gh_stars>1000+ // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/policy_extension_reinstaller.h" #include "base/test/simple_test_tick_clock.h" #include "base/threadin...
1,065
432
from models.ray_casting import root_finding_surface_points from models.base import ImplicitSurface, RadianceNet from utils import train_util, rend_util import copy import functools import numpy as np from tqdm import tqdm from typing import Union, Optional from collections import OrderedDict import torch import torch...
8,187
2,151
<gh_stars>1000+ // Copyright (c) 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. // This file defines structs to accumulate memory allocation and deallocation // counts. These structs are commonly used for malloc (...
665
310
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty Ltd * * 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.or...
4,909
2,500
/* * Copyright 2020-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 t...
1,403
345
<filename>huntbugs/src/main/java/one/util/huntbugs/detect/Internationalization.java /* * Copyright 2016 HuntBugs 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 * * ...
2,986
911
from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('jobs', '0004_auto_20150216_1544'), ] operations = [ migrations.AddField( model_name='job', name='other_job_type', field=models.CharField(max_length=100, ...
188
852
# This file name is temporary and ment for development only. # The content of this file will be moved to muons_cfi as soon as the complete work flow is in place. import FWCore.ParameterSet.Config as cms muons = cms.EDProducer("MuonProducer", ActivateDebug = cms.untracked.bool(False), ...
3,546
1,388
<reponame>v8786339/NyuziProcessor // // Copyright 2016 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by...
1,705
368
<reponame>gta-chaos-mod/plugin-sdk<filename>plugin_III/game_III/CTimeStep.cpp<gh_stars>100-1000 /* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CTimeStep.h" PL...
322
590
<reponame>HareGun/xboot /* * driver/input/rc/rc-gpio.c * * Copyright(c) 2007-2021 <NAME> <<EMAIL>> * Official site: http://xboot.org * Mobile phone: +86-18665388956 * QQ: 8192542 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation fil...
2,081
1,144
/* * #%L * de.metas.adempiere.adempiere.base * %% * Copyright (C) 2021 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,366
646
<filename>src/main/java/com/dimple/project/blog/controller/TagController.java package com.dimple.project.blog.controller; import com.dimple.common.utils.SecurityUtils; import com.dimple.framework.aspectj.lang.annotation.Log; import com.dimple.framework.aspectj.lang.enums.BusinessType; import com.dimple.framework.web.c...
992
395
#ifndef _LIGHTTPD_WAITQUEUE_H_ #define _LIGHTTPD_WAITQUEUE_H_ #include <lighttpd/settings.h> #include <lighttpd/events.h> typedef struct liWaitQueueElem liWaitQueueElem; typedef struct liWaitQueue liWaitQueue; typedef void (*liWaitQueueCB) (liWaitQueue *wq, gpointer data); struct liWaitQueueElem { gboolean queued; ...
750
1,467
<filename>.changes/2.7.24.json<gh_stars>1000+ { "version": "2.7.24", "date": "2019-08-14", "entries": [ { "type": "feature", "category": "Amazon Elastic Compute Cloud", "description": "This release adds a new API called SendDiagnosticInterrupt, which allows you to...
166
23,866
/*! * Copyright 2021 by XGBoost Contributors */ #ifndef XGBOOST_TESTS_CPP_DATA_TEST_METAINFO_H_ #define XGBOOST_TESTS_CPP_DATA_TEST_METAINFO_H_ #include <gtest/gtest.h> #include <xgboost/data.h> #include <xgboost/host_device_vector.h> #include <xgboost/linalg.h> #include <numeric> #include "../../../src/common/lina...
1,241
6,270
[ { "type": "feature", "category": "CloudWatch", "description": "Introducing Amazon CloudWatch Composite Alarms" }, { "type": "feature", "category": "ComprehendMedical", "description": "New Time Expression feature, part of DetectEntitiesV2 API will provide tem...
153
3,294
/* This program demonstrates 'NetworkToHostOrder(short)', 'NetworkToHostOrder(int)' and 'NetworkToHostOrder(long)' methods of 'IPAddress' class. It takes a String* from commandline for each of above cases and convert it to the corresponding primitive type(i.e. short, int, long) value. Alternatively it uses default valu...
1,109
2,056
#ifndef MULTITHREAD_H #define MULTITHREAD_H #include "bg_thread.h" #include "slash_mutex.h" #include <vector> #include <string> #include <atomic> #include "monitor_options.h" #include "monitor_const.h" #include "monitor_log.h" #include "monitor_load_balance.h" #include "monitor_listener.h" const int kMonitorSleep =...
502
1,272
/* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "license" f...
8,165
2,015
<filename>venv/Lib/site-packages/ipywidgets/widgets/tests/test_widget_string.py<gh_stars>1000+ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. from ..widget_string import Combobox def test_combobox_creation_blank(): w = Combobox() assert w.value == '' ...
414
376
import torch from pytracking.features.featurebase import FeatureBase class Concatenate(FeatureBase): """A feature that concatenates other features. args: features: List of features to concatenate. """ def __init__(self, features, pool_stride = None, normalize_power = None, use_for_color = True...
377
348
{"nom":"<NAME>","circ":"1ère circonscription","dpt":"Cher","inscrits":481,"abs":250,"votants":231,"blancs":18,"nuls":6,"exp":207,"res":[{"nuance":"REM","nom":"<NAME>","voix":113},{"nuance":"LR","nom":"<NAME>","voix":94}]}
87
422
<gh_stars>100-1000 /* * Copyright (c) <NAME>, <EMAIL> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
796
1,019
package com.roncoo.education.system.service.api.biz; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import com.roncoo.education.system.common.dto.WebsiteLinkDTO; import com.roncoo.education.system.common.dto.WebsiteLinkListDTO; i...
379
17,703
<filename>test/mocks/upstream/cluster_update_callbacks.h #pragma once #include <string> #include "envoy/upstream/cluster_manager.h" #include "gmock/gmock.h" #include "gtest/gtest.h" namespace Envoy { namespace Upstream { class MockClusterUpdateCallbacks : public ClusterUpdateCallbacks { public: MockClusterUpdateC...
193
1,338
<reponame>Kirishikesan/haiku<gh_stars>1000+ /* * Copyright 2004-2010, Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _USB_HID_PAGE_ARCADE_H #define _USB_HID_PAGE_ARCADE_H /* Reference: * HID Usage Page 24: ARCADE * Open Arcade Architecture Device (OAAD) - * Data ...
745
553
<reponame>LaudateCorpus1/cocos2d-x-samples<filename>samples/FantasyWarrior3D/frameworks/runtime-src/Classes/custom/CCSequence3D.cpp /**************************************************************************** Copyright (c) 2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free ...
2,764
1,556
<reponame>mkomon/micropython-lib import logging logging.basicConfig(level=logging.INFO) log = logging.getLogger("test") log.debug("Test message: %d(%s)", 100, "foobar") log.info("Test message2: %d(%s)", 100, "foobar") log.warning("Test message3: %d(%s)") log.error("Test message4") log.critical("Test message5") logging...
247
335
<filename>W/Welter_verb.json { "word": "Welter", "definitions": [ "move in a turbulent fashion" ], "parts-of-speech": "Verb" }
72
351
""" Matplotlib plotting code """
10
711
<reponame>jingetiema2100/MicroCommunity package com.java110.front.components.fee; import com.java110.core.context.IPageData; import com.java110.front.smo.fee.IListFeeSummarySMO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.st...
437
4,879
<gh_stars>1000+ package com.mapswithme.util; import androidx.annotation.NonNull; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; /** * `Registrator` pattern implementation which allows to maintain the list of listeners, * offers safe adding/removing of listeners during iteration. ...
823
2,120
#ifndef SPI1_DRIVER_H #define SPI1_DRIVER_H #include <stdio.h> #include <stdint.h> #include <stdbool.h> typedef enum { SDFAST_CONFIG, SDSLOW_CONFIG, PGA_CONFIG, SPI1_DEFAULT, } SPI_MODES; bool SPI_DRIVER_Open(SPI_MODES mode); void SPI_DRIVER_Close(void); /* SPI native data exchange ...
371
531
/* * 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 ...
2,249
421
<filename>samples/snippets/cpp/VS_Snippets_CLR_Classic/classic Array.CopyTo Example/CPP/source2.cpp // <Snippet1> using namespace System; void main() { // Creates and initializes the source Array. Array^ myArrayZero = Array::CreateInstance(String::typeid, 3); myArrayZero->SetValue("zero", 0); myArrayZero->...
675
735
// @file normalize_cpu.cpp // @brief Normalize block implementation (CPU) // @author <NAME> /* Copyright (C) 2014-16 <NAME>. All rights reserved. This file is part of the VLFeat library and is made available under the terms of the BSD license (see the COPYING file). */ #include "normalize.hpp" #include "../data.hpp"...
6,447
328
package com.dragon.flow.service.org.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.dragon.flow.mapper.org.IPersonalRoleMapper; import com.dragon.flow.model.org.Personal; import com.dragon.flow.model.org.Pers...
2,954
539
/** * Copyright 2020 The Magma Authors. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, ...
1,179
3,156
// language pack of views { // main.html "Drag and drop a folder to add project.": "Trascina una cartella per aggiungere un progetto.", "Minimize": "Minimizza", "Close": "Chiudi", "Add Folder": "Aggiungi cartella", "Log": "Log", "Settings": "Impostazioni", "Drag and drop a folder to add project.": "Trascin...
1,470
405
<filename>src/main/java/org/seimicrawler/xpath/core/node/AllText.java<gh_stars>100-1000 package org.seimicrawler.xpath.core.node; import org.seimicrawler.xpath.core.NodeTest; import org.seimicrawler.xpath.core.Scope; import org.seimicrawler.xpath.core.XValue; import org.jsoup.nodes.Element; import java.util.LinkedLis...
552
683
<filename>instrumentation/okhttp/okhttp-3.0/library/src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/OkHttpTracing.java /* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.instrumentation.okhttp.v3_0; import io.opentelemetry.api.OpenTelemetry; import...
871
4,901
<filename>jre_emul/misc_tests/com/google/j2objc/net/NSErrorExceptionTest.java /* * 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,200
36,642
{ "props": { "contain": "Applies **background-size: contain** to the background image (when using the **img** prop).", "flat": "Removes the card's elevation.", "hover": "Will apply an elevation of 4dp when hovered (default 2dp). You can find more information on the [elevation page](/styles/elevation).", ...
250
1,602
/* gmp-mparam.h -- Compiler/machine parameter header file. Copyright 2000-2004 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by th...
1,218
325
<filename>tests/src/utility/StaticVariableSameName1.cpp #include "StaticVariableSameName1.hpp" static int staticVariableWithTheSameName = 10; std::pair<int, int> getNextSameName1() { staticVariableWithTheSameName += 1; staticVariableWithTheSameName -= 1; // Ensuring that this file was reloaded return...
169
348
<gh_stars>100-1000 {"nom":"Rots","circ":"5ème circonscription","dpt":"Calvados","inscrits":816,"abs":406,"votants":410,"blancs":41,"nuls":8,"exp":361,"res":[{"nuance":"REM","nom":"<NAME>","voix":205},{"nuance":"LR","nom":"M. <NAME>","voix":156}]}
100
3,266
<filename>java/java2py/antlr-3.1.3/gunit/src/main/java/org/antlr/gunit/swingui/model/ITestCaseOutput.java /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.antlr.gunit.swingui.model; /** * * @author scai */ public interface ITestCaseOutput { public ...
136
1,724
<reponame>Rix565/skiftos-dailybuild #pragma once void userspace_initialize();
31
539
<gh_stars>100-1000 // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. package org.bondlib; import org.junit.Test; import java.io.ByteArrayInputStream; import java.io.EOFException; import java.io.IOException; import ja...
2,490
636
<reponame>hadoop835/fluent-mybatis package cn.org.atool.fluent.mybatis.generator.shared2.mix; import cn.org.atool.fluent.mybatis.generator.shared2.dm.TeacherDataMap; import org.test4j.hamcrest.matcher.modes.EqMode; import org.test4j.module.spec.IMix; import org.test4j.module.spec.annotations.Step; /** * 数据库[teacher]...
898
643
<gh_stars>100-1000 package com.semmle.util.projectstructure; import java.io.File; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.List; import java.uti...
5,612
798
<filename>src/test/java/picard/sam/markduplicates/CheckDuplicateMarkingTest.java<gh_stars>100-1000 package picard.sam.markduplicates; import org.testng.Assert; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import java.nio.file.Paths; public class CheckDuplicateMarkingTest { priv...
635
648
{"resourceType":"DataElement","id":"CarePlan.activity","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/CarePlan.activity","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"path":"CarePlan.activity","short":"Action to occur as part of plan","de...
245
488
#ifndef HH_SMTPRAGMABACKEND_HH #define HH_SMTPRAGMABACKEND_HH #include <iostream> #include <utility> #include <vector> #include <string> #include "rose.h" #include "SgGraphTemplate.h" #include "graphProcessing.h" #include "staticCFG.h" using namespace boost; using namespace std; std::vector<std::string> pragma_suffix...
397
5,169
<filename>Specs/UIView+FrameAdditions/0.0.1/UIView+FrameAdditions.podspec.json { "name": "UIView+FrameAdditions", "version": "0.0.1", "summary": "UIView Frame helper getter/setter category methods.", "description": "jQuery-like getter/setter category methods for UIView frame components.", "homepage": "https:/...
237
393
<reponame>abelinked/tenacity /********************************************************************** Audacity - A Digital Audio Editor Copyright 1999-2018 Audacity Team License: wxWidgets <NAME> ******************************************************************//** \file GetInfoCommand.cpp \brief Contai...
9,826
733
<filename>addons/Sprytile-6b68d00/rx/linq/observable/skipwhile.py<gh_stars>100-1000 from rx import Observable, AnonymousObservable from rx.internal.utils import adapt_call from rx.internal import extensionmethod @extensionmethod(Observable) def skip_while(self, predicate): """Bypasses elements in an observable se...
613
3,269
<gh_stars>1000+ # Time: O(1) # Space: O(1) class Solution(object): def tictactoe(self, moves): """ :type moves: List[List[int]] :rtype: str """ row, col = [[0]*3 for _ in xrange(2)], [[0]*3 for _ in xrange(2)] diag, anti_diag = [0]*2, [0]*2 p = 0 for...
377
614
<reponame>fengjixuchui/AndroidQuick<filename>sample/src/main/java/com/androidwind/androidquick/demo/features/function/ui/tab/Tab3Fragment.java package com.androidwind.androidquick.demo.features.function.ui.tab; import android.os.Bundle; import com.androidwind.androidquick.demo.MyApplication; import com.androidwind.an...
1,289
3,631
<filename>drools-verifier/drools-verifier-core/src/main/java/org/drools/verifier/core/cache/inspectors/condition/ComparableConditionInspector.java /* * Copyright 2018 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compli...
7,925
1,056
<filename>java/refactoring.java/test/unit/src/org/netbeans/modules/refactoring/java/test/ReplaceConstructorWithBuilderTest.java<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional inf...
7,313
651
<reponame>Erhannis/spongycastle package org.spongycastle.jce.provider; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import javax.crypto.spec.DHParameterSpec; import org.spongycastle.jcajce.provider.config.ConfigurableProvider; import or...
1,842
486
/* * Copyright (C) 2018-2019 Google, LLC. * * License: https://opensource.org/licenses/BSD-3-Clause * * 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 cop...
988
420
package com.f2prateek.rx.preferences; import android.content.SharedPreferences; import android.support.annotation.NonNull; final class StringAdapter implements Preference.Adapter<String> { static final StringAdapter INSTANCE = new StringAdapter(); @Override public String get(@NonNull String key, @NonNull SharedP...
163
335
<filename>U/Unquestioned_adjective.json { "word": "Unquestioned", "definitions": [ "Not disputed or doubted; certain.", "Not examined or enquired into.", "Not subjected to questioning." ], "parts-of-speech": "Adjective" }
106