max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
715
<filename>examples/dsl/v2/homo_nn/mnist_demo/bind_local_path.json { "engine": "PATH", "namespace": "experiment", "name": "mnist_images2", "address": { "path": "$PROJECT_BASE/examples/data/mnist_train" } }
112
372
<filename>clients/google-api-services-gmail/v1/1.31.0/com/google/api/services/gmail/model/Message.java<gh_stars>100-1000 /* * 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...
3,285
544
<reponame>RamakrishnaChilaka/submarine<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 licenses this file * to you ...
471
2,782
package course.examples.audiovideo.videoplay; import android.app.Activity; import android.media.MediaPlayer; import android.media.MediaPlayer.OnPreparedListener; import android.net.Uri; import android.os.Bundle; import android.widget.MediaController; import android.widget.VideoView; public class AudioVideoVideoPlayAc...
488
1,210
import binascii import io from ..intbytes import int2byte from pycoin.coins.SolutionChecker import ScriptError class ScriptTools(object): def __init__(self, opcode_list, IntStreamer, scriptStreamer): self.intStreamer = IntStreamer self.scriptStreamer = scriptStreamer self.opcode_to_int...
1,683
852
<gh_stars>100-1000 /** \class PreMixingModule * * PreMixingModule is the EDProducer subclass that overlays premixed * MC events on top of MC. It is similar to DataMixingModule, but * tailored for premixing use case. * ************************************************************/ #include "Mixing/Base/interface/BM...
5,126
394
<reponame>Blobanium/multiconnect package net.earthcomputer.multiconnect; public class TestingDummyMain { public static void main(String[] args) {} }
50
1,303
/**************************************************************************************** Copyright (C) 2015 Autodesk, Inc. All rights reserved. Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download, or which otherwise accompanies...
1,565
3,680
// // Copyright 2021 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: // // 6. Trad...
1,469
4,071
<gh_stars>1000+ #include "core/ps_queue_hub/queue_work_item.hh" #include "service/network_context.hh" namespace ps { namespace network { SessionContext* SeastarWorkItem::GetSessionContext() const { return mNetworkContext->GetSessionOfId(mRemoteId); } } // namespace } // namespace
99
354
package com.steve.creact.powerfuladapter.presentation.viewholder; import android.view.View; import com.steve.creact.annotation.DataBean; import com.steve.creact.library.viewholder.BaseRecyclerViewHolder; import com.steve.creact.powerfuladapter.R; /** * @author:YJJ * @date:2016/3/30 * @email:<EMAIL> */ @DataBean(...
297
32,467
/* Generated from http://icu-project.org/apiref/icu4c/uchar_8h.html#ae40d616419e74ecc7c80a9febab03199 */ UPROPERTY(ALPHABETIC) UPROPERTY(BINARY_START) UPROPERTY(ASCII_HEX_DIGIT) UPROPERTY(BIDI_CONTROL) UPROPERTY(BIDI_MIRRORED) UPROPERTY(DASH) UPROPERTY(DEFAULT_IGNORABLE_CODE_POINT) UPROPERTY(DEPRECATED) UPROPERTY(DIACR...
1,609
703
#pragma once /// \brief Base class for serialization contexts. A serialization context can be used to add high level logic to serialization, e.g. /// de-duplicating objects. /// /// Typically a context is created before any serialization happens and can then be accessed anywhere through the GetContext method. templat...
1,164
2,333
// // UIImage+Blur.h // IOS-Categories (https://github.com/shaojiankui/iOS-Categories) // // Created by Jakey on 15/6/5. // Copyright (c) 2015年 www.skyfox.org. All rights reserved. // #import <UIKit/UIKit.h> FOUNDATION_EXPORT double ImageEffectsVersionNumber; FOUNDATION_EXPORT const unsigned char ImageEffectsVersi...
334
886
/* * Copyright 2018 flow.ci * * 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 wr...
1,778
944
<gh_stars>100-1000 import pytest from tests.utils import PYTEST_6 pytest_plugins = "pytester" def pytest_generate_tests(metafunc): if "pytest_params" in metafunc.fixturenames: if PYTEST_6: parametrizations = [ pytest.param([], id="no-import-mode"), pytest.para...
358
335
{ "word": "Minister", "definitions": [ "(in certain countries) a head of a government department.", "A member of the clergy, especially in the Presbyterian and Nonconformist Churches.", "The superior of some religious orders.", "A diplomatic agent, usually ranking below an ambass...
154
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. #ifndef CHROME_BROWSER_ANDROID_BACKGROUND_TASK_SCHEDULER_CHROME_BACKGROUND_TASK_FACTORY_H_ #define CHROME_BROWSER_ANDROID_BACKGROUND_TASK_SCHEDULER_CHROME...
452
382
<gh_stars>100-1000 package top.defaults.gradientdrawabletuner.db; import android.graphics.Color; import android.graphics.drawable.GradientDrawable; import android.os.Parcel; import android.os.Parcelable; import android.util.SparseIntArray; import top.defaults.gradientdrawabletuner.R; import static top.defaults.drawa...
2,941
11,062
<reponame>chayward/libui<filename>_abort/windowevents/ui.h // uiWindowSetTitle _UI_EXTERN void uiWindowPosition(uiWindow *w, int *x, int *y); _UI_EXTERN void uiWindowSetPosition(uiWindow *w, int x, int y); _UI_EXTERN void uiWindowCenter(uiWindow *w); _UI_EXTERN void uiWindowOnPositionChanged(uiWindow *w, void (*f)(uiWi...
139
1,011
<filename>utils/media_urls.py #!/usr/bin/env python """ Print out the URLs of images uploaded to Twitter in a tweet json stream. Useful for piping to wget or curl to mass download. In Bash: % wget $(./utils/image_urls.py tweets.jsonl) """ from __future__ import print_function import json import fileinput for line i...
417
787
/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ <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/LICEN...
812
9,680
<gh_stars>1000+ import os.path from pathlib import Path from nni.experiment.config import ExperimentConfig, AlgorithmConfig, RemoteConfig, RemoteMachineConfig ## minimal config ## minimal_json = { 'searchSpace': {'a': 1}, 'trialCommand': 'python main.py', 'trialConcurrency': 2, 'tuner': { 'na...
2,276
1,874
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: authority_keys.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import message as _message fr...
762
1,230
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import with_statement import sys import os sys.path.insert(0, os.path.abspath('..')) from clint.textui import puts, indent lorem = 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq...
502
692
#define boxbod_N 6 #define boxbod_P 2 #define boxbod_NTRIES 1 static double boxbod_x0[boxbod_P] = { 100.0, 0.75 }; static double boxbod_epsrel = 1.0e-7; static double boxbod_sigma[boxbod_P] = { 1.2354515176E+01, 1.0455993237E-01 }; static double boxbod_X[boxbod_N] = { 1.0, 2.0, 3.0, 5.0, 7.0, 10.0 };...
1,193
835
// THIS FILE IS AUTO-GENERATED. DO NOT EDIT package ai.verta.modeldb.versioning.autogenerated._public.modeldb.versioning.model; import ai.verta.modeldb.common.exceptions.ModelDBException; import ai.verta.modeldb.versioning.*; import ai.verta.modeldb.versioning.blob.diff.*; import ai.verta.modeldb.versioning.blob.diff....
3,618
14,668
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "fuchsia/runners/cast/create_web_message.h" #include "base/fuchsia/mem_buffer_util.h" #include "components/cast/message_port/fuchsia/message_por...
364
322
/* * 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")...
1,908
903
package org.develnext.jphp.core.tokenizer.token; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.develnext.jphp.core.tokenizer.TokenMeta; @RunWith(JUnit4.class) public class TokenMetaTest { @Test public void testSimple() throws Excep...
268
5,267
<gh_stars>1000+ package io.swagger.v3.core.util; import com.google.common.collect.ImmutableMap; import io.swagger.v3.oas.annotations.media.Content; import io.swagger.v3.oas.annotations.responses.ApiResponse; import io.swagger.v3.oas.models.Components; import io.swagger.v3.oas.models.media.Schema; import org.testng.Ass...
1,919
404
// Copyright (c) 2014-2019 K Team. All Rights Reserved. package org.kframework.main; import com.beust.jcommander.Parameter; import com.google.inject.Inject; import org.kframework.utils.errorsystem.KEMException; import org.kframework.utils.errorsystem.KException.ExceptionType; import org.kframework.utils.options.BaseEn...
2,198
939
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
5,410
8,747
<reponame>cablelabs/esp-idf<gh_stars>1000+ /* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ /** * NOTE: this is not the original header file from the hal component. It is a stripped-down copy to support mocking. */ #pragma once /** * @brief ...
256
4,223
<gh_stars>1000+ // // Created by <NAME> on 10/21/14. // Copyright (c) 2014 nplexity, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "XMPPFileTransfer.h" @interface XMPPOutgoingFileTransfer : XMPPFileTransfer /** * (Required) * * The data being sent to the recipient. * * If you're using startF...
1,270
2,151
package org.robolectric.annotation.processing; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Maps.newHashMap; import static com.google.common.collect.Maps.newTreeMap; import static com.google.common.collect.Sets.newTreeSet; import com.google.common.base.Equivalenc...
6,078
14,668
<reponame>zealoussnow/chromium // Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/base/webui/web_ui_util.h" #include "testing/gtest/include/gtest/gtest.h" #include "url/gurl.h" TEST(WebUIUti...
1,360
562
from crocs.regex import Pattern, ConsumeBack e = ConsumeBack('Isaac ', 'Asimov', neg=True) e.test() e.hits()
43
2,209
// // Created by qlu on 2019/8/1. // #ifndef KUNGFU_POLLER_EPOLL_H #define KUNGFU_POLLER_EPOLL_H #include "poller.h" #include <sys/epoll.h> #include <spdlog/spdlog.h> namespace kungfu { namespace yijinjing { namespace socket { class poller { public: ...
2,097
1,085
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
3,173
778
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: <NAME> // #ifndef KRATOS_CALC...
2,256
16,461
<reponame>zakharchenkoAndrii/expo // Copyright © 2018 650 Industries. All rights reserved. #import <Foundation/Foundation.h> #import <ABI43_0_0ExpoModulesCore/ABI43_0_0EXDefines.h> #import <ABI43_0_0ExpoModulesCore/ABI43_0_0EXExportedModule.h> @protocol ABI43_0_0EXEventEmitterService - (void)sendEventWithName:(NSSt...
145
852
import FWCore.ParameterSet.Config as cms CastorDbProducer = cms.ESProducer( "CastorDbProducer", appendToDataLabel = cms.string( "" ) )
117
2,151
<filename>third_party/blink/renderer/core/frame/performance_monitor.cc<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 "third_party/blink/renderer/core/frame/performance_monitor....
4,549
4,054
<reponame>Anlon-Burke/vespa<gh_stars>1000+ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "arithmeticvalueupdate.h" #include <vespa/document/base/field.h> #include <vespa/document/fieldvalue/fieldvalues.h> #include <vespa/vespalib/objects/nbostream.h> #...
1,682
14,668
<reponame>zealoussnow/chromium // 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/permissions/android/nfc/mock_nfc_system_level_setting.h" namespace { static bool nfc_access_is_possi...
530
442
#include <Bindings/obe/Engine/Engine.hpp> #include <Engine/Engine.hpp> #include <Engine/ResourceManager.hpp> #include <Bindings/Config.hpp> namespace obe::Engine::Bindings { void LoadClassEngine(sol::state_view state) { sol::table EngineNamespace = state["obe"]["Engine"].get<sol::table>();...
1,293
1,006
<gh_stars>1000+ /**************************************************************************** * arch/arm/src/imxrt/imxrt_wdog.h * * 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 regar...
694
3,897
<reponame>mcheah-bose/mbed-os<gh_stars>1000+ /* mbed Microcontroller Library * Copyright (c) 2015-2018 ARM Limited and affiliates. * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
897
424
<reponame>mablanchard/Fastor #ifndef SIMD_VECTOR_DOUBLE_H #define SIMD_VECTOR_DOUBLE_H #include "Fastor/simd_vector/simd_vector_base.h" namespace Fastor { // AVX512 VERSION //-------------------------------------------------------------------------------------------------- #ifdef FASTOR_AVX512_IMPL template <> stru...
15,817
2,151
// 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. #ifndef DEVICE_USB_USB_DEVICE_WIN_H_ #define DEVICE_USB_USB_DEVICE_WIN_H_ #include <string> #include "base/macros.h" #include "base/threading/thread_che...
949
311
# coding=utf-8 """ The List Webhooks API endpoint Documentation: http://developer.mailchimp.com/documentation/mailchimp/reference/lists/webhooks/ Schema: https://api.mailchimp.com/schema/3.0/Lists/Webhooks/Instance.json """ from __future__ import unicode_literals from mailchimp3.baseapi import BaseApi from mailchimp3...
1,526
679
<gh_stars>100-1000 /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF license...
10,802
3,426
<reponame>toinouH/Geyser /* * Copyright (c) 2019-2020 GeyserMC. http://geysermc.org * * 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 th...
1,743
1,986
#ifndef MAIN_SOCKSERV_H_ #define MAIN_SOCKSERV_H_ #include <stdint.h> #include <string> #include <set> #include "Socket.h" #include "FreeRTOS.h" #include <freertos/FreeRTOS.h> #include <freertos/queue.h> /** * @brief Provide a socket listener and the ability to send data to connected partners. * * We use this cl...
590
1,025
package com.baidu.unbiz.fluentvalidator.group; /** * @author zhangxu */ public class CheckManufacturer { }
40
391
<reponame>weblucas/mseg-semantic #!/usr/bin/python3 from pathlib import Path from types import SimpleNamespace from mseg_semantic.scripts.collect_results import parse_result_file from mseg_semantic.tool.test_oracle_tax import test_oracle_taxonomy_model REPO_ROOT_ = Path(__file__).resolve().parent.parent # Replace ...
880
809
/** * @file * @brief CPU Information Library * * @date 19.03.2020 * @author <NAME> */ #ifndef LIB_CPU_INFO_H_ #define LIB_CPU_INFO_H_ #define FEATURE_NAME_LEN 32 #define MAX_NUM_FEATURES 5 #include <stdint.h> #include <module/embox/arch/cpu_info.h> struct cpu_feature { char name[FEATURE_NAME_LEN]; unsigned...
257
348
<filename>docs/data/leg-t2/082/08202154.json {"nom":"Saint-Amans-de-Pellagal","circ":"2ème circonscription","dpt":"Tarn-et-Garonne","inscrits":179,"abs":69,"votants":110,"blancs":6,"nuls":2,"exp":102,"res":[{"nuance":"FN","nom":"<NAME>","voix":54},{"nuance":"RDG","nom":"Mme <NAME>","voix":48}]}
126
17,481
<reponame>marcin-kozinski/dagger /* * Copyright (C) 2019 The Dagger 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...
1,452
892
{ "schema_version": "1.2.0", "id": "GHSA-2cfp-qxgv-mqcq", "modified": "2022-02-25T00:01:20Z", "published": "2022-02-18T00:00:32Z", "aliases": [ "CVE-2014-8597" ], "details": "A reflected cross-site scripting (XSS) vulnerability in PHP-Fusion 7.02.07 allows remote attackers to inject arbitrary web scri...
367
72,551
//===--- Once.cpp - Runtime support for lazy initialization ---------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
747
459
<gh_stars>100-1000 /** * @file oglplus/transform_feedback_mode.hpp * @brief TransformFeedbackMode enumeration * * @author <NAME> * * Copyright 2010-2015 <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...
204
1,356
<reponame>GrandArc/cardboard /* * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
869
809
/** * @file * * @date 20.01.2017 * @author <NAME> */ #include <errno.h> #include <stddef.h> #include <stdint.h> #include <assert.h> #include <sys/mman.h> #include <util/log.h> #include <embox/unit.h> #include <hal/reg.h> #include <drivers/common/memory.h> #include <drivers/gpio/gpio_driver.h> #define GPIO_CHIP...
1,019
591
[ {"circleVillage_forest/_circleVillage_forest.json": true }, {"v_1/_v_1.json": true }, {"empty_test/_empty_test.json": true }, {"road_test/_road_test.json": true }, {"rockMaze/_rockMaze.json": true } ]
98
2,692
#!/usr/bin/env python # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import sys from typing import Any, Dict, cast import setuptools def get_version() -> str: onefuzz: Dict[str, Any] = {} with open("onefuzz/__version__.py") as fh: # Exec our own __version__.py to pull out ...
571
377
<reponame>sirAgg/nebula //------------------------------------------------------------------------------ // scriptserver.cc // (C) 2006 Radon Labs GmbH // (C) 2013-2020 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "foundation/stdn...
346
703
#pragma once #include <RendererFoundation/Device/Pass.h> struct ezGALCommandEncoderRenderState; class ezGALRenderCommandEncoder; class ezGALComputeCommandEncoder; class ezGALCommandEncoderImplVulkan; class ezGALPassVulkan : public ezGALPass { protected: friend class ezGALDeviceVulkan; friend class ezMemoryUtil...
385
2,085
def test(): assert ( "patterns = list(nlp.pipe(people))" in __solution__ ), "Utilises-tu nlp.pipe enveloppé dans une liste ?" __msg__.good( "Bon boulot ! Passons à un exemple pratique qui utilise nlp.pipe " "pour traiter des documents avec des métadonnées supplémentaires." )
139
1,968
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: <EMAIL> // ///////////////////////////////////////...
670
1,605
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
1,931
12,347
import os from pathlib import Path import pytest from poetry.utils.env import EnvManager @pytest.fixture def venv_name(app): return EnvManager.generate_env_name("simple-project", str(app.poetry.file.parent)) @pytest.fixture def venv_cache(tmp_dir): return Path(tmp_dir) @pytest.fixture(scope="module") d...
496
2,406
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "gtest/gtest.h" #include "ngraph/ngraph.hpp" #include "util/type_prop.hpp" using namespace std; using namespace ngraph; TEST(type_prop, selu_basic_inference_f32_3D) { const auto param = make_shared<op::Parameter>(element::...
2,486
788
/* * 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 ...
612
1,590
{ "parameters": { "subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", "resourceGroupName": "resourceGroup1", "hostPoolName": "hostPool1", "sessionHostName": "sessionHost1.microsoft.com", "userSessionId": "1", "api-version": "2021-09-03-preview" }, "responses": { "200": { "b...
631
337
<reponame>shyamjangid07/Reverse-Engineering<filename>mailspam/mailspam_dec.py<gh_stars>100-1000 # uncompyle6 version 3.7.3 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.16 (default, Oct 10 2019, 22:02:15) # [GCC 8.3.0] # Embedded file name: <script> # Compiled at: 2020-08-30 16:51:23 W = '\x1b[1;37m' N =...
5,298
1,056
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
2,912
912
// https://man7.org/linux/man-pages/man3/getline.3.html #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { FILE *stream = fopen(argv[1], "r"); char *line = malloc(100); size_t len = 0; ssize_t nread; int line_nb = 5; while ((nread = getline(&line, &len, stream)) != -1 &...
199
1,201
/************************************************************************* * * Copyright 2016 Realm 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/lice...
2,252
477
from django.conf import settings from django.db.models import Max, Count from biostar.forum.util import now from biostar.planet.models import Blog, BlogPost from django.core.management.base import BaseCommand import os import logging from biostar.planet import auth logger = logging.getLogger('engine') def abspath(...
899
4,922
package razerdp.demo.ui; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; import android.widget.LinearLayout; import com.just.agentweb.AgentWeb; import androidx.viewbinding.ViewBinding; import ra...
868
5,766
// // EscapeHTMLStream.h // // Library: Net // Package: HTTP // Module: EscapeHTMLStream // // Definition of the EscapeHTMLStream class. // // Copyright (c) 1029, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #ifndef Net_EscapeHTMLStream_INCLUDED #defin...
627
2,151
//===---------------------- catch_array_01.cpp ----------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
313
451
#include "Console.h" Console::Console() : QWidget() { this->setWindowFlags(Qt::WindowStaysOnTopHint); setWindowModality(Qt::ApplicationModal); //IMPORTANT, permet que ta fenêtre reste active setWindowTitle("Console"); QVBoxLayout *boxLayoutV = new QVBoxLayout; QLabel *labelCmd = new QLabel(thi...
217
335
<filename>J/Jean_noun.json<gh_stars>100-1000 { "word": "Jean", "definitions": [ "Heavy twilled cotton cloth, especially denim." ], "parts-of-speech": "Noun" }
80
1,019
package com.roncoo.education.course.service.dao.impl.mapper.entity; import java.util.ArrayList; import java.util.Date; import java.util.List; public class FileStorageExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; protected int limitStart...
9,241
852
#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "DQMOffline/Trigger/interface/EgHLTTrigCodes.h" TEST_CASE("EgHLTTrigCodes", "[EgHLTTrigCodes]") { std::vector<std::string> names = {{"Foo"}, {"Bar"}, {"Ish"}, {"Tar"}, {"ash"}}; constexpr unsigned int kFoo = 0b1; constexpr unsigned int kBar = 0b10; const...
639
8,772
<filename>support/cas-server-support-actions-core/src/main/java/org/apereo/cas/web/flow/login/RedirectUnauthorizedServiceUrlAction.java package org.apereo.cas.web.flow.login; import org.apereo.cas.services.ServicesManager; import org.apereo.cas.util.scripting.ScriptingUtils; import org.apereo.cas.web.support.WebUtils;...
834
2,151
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/extensions/file_manager/job_event_router.h" #include <stddef.h> #include <stdint.h> #include "base/macros.h" #include ...
3,600
19,438
/* * Copyright (c) 2018-2020, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibGUI/Action.h> #include <LibGUI/ActionGroup.h> namespace GUI { void ActionGroup::add_action(Action& action) { action.set_group({}, this); m_actions.set(&action); } void ActionGroup::remove_action(Acti...
160
1,251
package cn.dblearn.blog.portal.operation.service; import cn.dblearn.blog.entity.operation.Tag; import cn.dblearn.blog.entity.operation.vo.TagVO; import com.baomidou.mybatisplus.extension.service.IService; import java.util.List; /** * TagService * * @author bobbi * @date 2019/02/22 16:34 * @email <EMAIL> * @des...
190
760
/** * Licensed to DigitalPebble Ltd under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * DigitalPebble licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this...
809
590
<filename>Tools/EditorFramework/DataSelectorManager.cpp /*! @file @author <NAME> @date 07/2012 */ #include "Precompiled.h" #include "DataSelectorManager.h" #include "DataTypeManager.h" namespace tools { DataSelectorManager* DataSelectorManager::mInstance = nullptr; DataSelectorManager::DataSelectorManager() ...
959
1,244
<reponame>caokun8008/ckeos<filename>externals/binaryen/test/emscripten/system/lib/libc/musl/src/unistd/pipe.c<gh_stars>1000+ #include <unistd.h> #include "syscall.h" int pipe(int fd[2]) { return syscall(SYS_pipe, fd); }
106
467
{ "actor": { "avatar_url": "https://avatars.githubusercontent.com/u/5858395?", "display_login": "Diwahars", "gravatar_id": "", "id": 5858395.0, "login": "Diwahars", "url": "https://api.github.com/users/Diwahars" }, "created_at": "2016-06-02T17:59:59Z", "id": "4095565518", "payload": { ...
325
1,338
#include <../private/package/hpkg/PackageWriterImpl.h>
18
319
<filename>demos/sandbox/src/main/java/org/openimaj/image/neardups/SimulationDriver.java /** * Copyright (c) 2011, The University of Southampton and the individual contributors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that ...
994
459
<filename>include/oglplus/math/vector_3.ipp<gh_stars>100-1000 /** * .file oglplus/math/vector_3.ipp * .brief Specialization of Vector for 3D vectors * * @author <NAME> * * Copyright 2010-2014 <NAME>. Distributed under the Boost * Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or c...
1,254
1,144
<filename>backend/de.metas.adempiere.adempiere/base/src/main/java-legacy/org/compiere/print/PrintDataElement.java<gh_stars>1000+ /****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComP...
3,822