max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
18,396
<filename>trunk/3rdparty/ffmpeg-4-fit/libavcodec/aarch64/h264pred_init.c /* * Copyright (c) 2009 <NAME> <<EMAIL>> * * This file is part of FFmpeg. * * FFmpeg 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 F...
2,137
1,556
<reponame>mkomon/micropython-lib<filename>python-stdlib/shutil/shutil.py # Reimplement, because CPython3.3 impl is rather bloated import os def rmtree(top): for path, dirs, files in os.walk(top, False): for f in files: os.unlink(path + "/" + f) os.rmdir(path) def copyfileobj(src, des...
435
474
<filename>packages/dfarm/package.json { "name": "dfarm", "version": "1.0.0", "description": "Decentralized Internet connector for Farmbot", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { "farmbot-web-frontend": "*", "decentralized-internet": "*",...
225
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,599
2,959
<reponame>renanmontebelo/aws-sam-cli from unittest import TestCase from unittest.mock import MagicMock from samcli.commands._utils.custom_options.option_nargs import OptionNargs class MockRArgs: def __init__(self, rargs): self.rargs = rargs class TestOptionNargs(TestCase): def setUp(self): ...
600
353
<reponame>muyiluop/nutzmore<gh_stars>100-1000 package org.nutz.plugins.event; import org.nutz.ioc.Ioc; import org.nutz.log.Log; import org.nutz.log.Logs; /** * @author <EMAIL> * @varsion 2017-5-16 */ public class TestBean { private Log log = Logs.get(); private Ioc ioc; public void init() { log.debug(ioc); ...
143
2,151
<filename>services/content/view_delegate.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 SERVICES_CONTENT_VIEW_DELEGATE_H_ #define SERVICES_CONTENT_VIEW_DELEGATE_H_ class GURL; namespace con...
288
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...
948
631
package com.eowise.recyclerview.stickyheaders.samples.listeners; /** * Created by Robby on 1/27/2015. */ public interface OnEditListener { public void onEdit(int position); }
62
4,879
<reponame>ivan-konov/mopub-ios-sdk-carthage<filename>MoPubSDK/Internal/VAST/MPVideoEvent.h // // MPVideoEvent.h // // Copyright 2018-2020 Twitter, Inc. // Licensed under the MoPub SDK License Agreement // http://www.mopub.com/legal/sdk-license-agreement/ // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGI...
876
1,374
<gh_stars>1000+ package def.dom; public class HTMLTextAreaElement extends HTMLElement { /** * Provides a way to direct a user to a specific field when a document loads. This can provide both direction and convenience for a user, reducing the need to click or tab to a field when a page opens. This attribute i...
1,314
665
<filename>types/map_fwd.h #pragma once #include "mldb/compiler/stdlib.h" namespace std { #ifdef MLDB_STDLIB_GCC template<class K, class V, class L, class A> class map; #elif MLDB_STDLIB_LLVM inline namespace __1 { template<class K, class V, class L, class A> class map; } #else # error "Tell us how to forward de...
147
1,338
/* * Copyright 2016 Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: * <NAME>, <EMAIL> */ #ifndef COLORWHICH_LIST_VIEW_H #define COLORWHICH_LIST_VIEW_H #include <ListView.h> class ColorWhichListView : public BListView { public: ColorWhichListView(const c...
295
454
package io.vertx.up.log; import io.vertx.core.json.JsonObject; import io.vertx.up.eon.Plugins; import io.vertx.up.exception.heart.ErrorMissingException; import io.vertx.up.fn.Fn; import io.vertx.up.uca.yaml.Node; import java.text.MessageFormat; /** * */ public final class Errors { private static final String ...
1,363
376
<reponame>cjsmeele/Kvasir #pragma once #include <Register/Utility.hpp> namespace Kvasir { // peripheral BTIOSELCF namespace BtioselcfBtselcdef{ ///< register BTSELCDEF using Addr = Register::Address<0x40025700,0xffff00ff,0x00000000,unsigned>; /// bitfield SELEF_ constexpr Register::Fi...
235
6,052
<reponame>danielavellar15/ckeditor5 { "Bold": "Toolbar button tooltip for the Bold feature.", "Italic": "Toolbar button tooltip for the Italic feature.", "Underline": "Toolbar button tooltip for the Underline feature.", "Code": "Toolbar button tooltip for the Code feature.", "Strikethrough": "Toolbar button toolti...
143
2,151
<gh_stars>1000+ // Copyright 2017 PDFium 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 "fxbarcode/oned/BC_OnedUPCAWriter.h" #include "testing/gtest/include/gtest/gtest.h" namespace { TEST(OnedUPCAWriterTest, Encode) { ...
1,270
328
package com.poiji.bind.mapping; /** * @author Matthew 2018/09/01 */ final class WorkBookSheet { private String name; private String sheetId; private String state = "visible"; public String getName() { return name; } public void setName(String name) { this.name = name; }...
248
335
<reponame>Safal08/Hacktoberfest-1 { "word": "Earth", "definitions": [ "Connect (an electrical device) with the ground.", "Drive (a fox) to its underground lair.", "(of a fox) run to its underground lair.", "Cover the root and lower stem of a plant with heaped-up earth." ], ...
141
2,542
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
2,969
416
// // WKInterfaceSKScene.h // WatchKit // // Copyright © 2016 Apple Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <WatchKit/WKDefines.h> #import <WatchKit/WKInterfaceObject.h> NS_ASSUME_NONNULL_BEGIN @class SKScene, SKTransition, SKTexture, SKNode; WK_AVAILABLE_WATCHOS_ONLY(3.0) @interfa...
567
569
# -*- coding: utf-8 -*- """ Text generator using n-gram language model code from https://towardsdatascience.com/understanding-word-n-grams-and-n-gram-probability-in-natural-language-processing-9d9eef0fa058 """ import random from pythainlp.corpus.tnc import unigram_word_freqs as tnc_word_freqs_unigram from pythainlp.co...
4,628
1,080
<filename>neutron/objects/port/extensions/port_security.py # 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...
306
1,540
package test.enable; import org.testng.annotations.Test; @Test public class Issue420SecondSample extends Issue420BaseTestCase { @Test public void verifySomethingSecondSample() {} }
53
2,993
<filename>wifi-users.py from __future__ import print_function import subprocess import re import sys import argparse import os from collections import defaultdict import netifaces from netaddr import EUI, mac_unix_expanded from wireless import Wireless from tqdm import tqdm NO_SSID = 'No SSID is currently available. ...
2,799
3,670
<reponame>jakee417/probability-1 # Copyright 2020 The TensorFlow Probability 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 # # Un...
3,426
994
<reponame>cnm06/Competitive-Programming from collections import deque def valid(v, a, b): if a >= 0 and a < 8 and b >= 0 and b < 8: if v[a][b] == 0: return True return False return False def getPoint(n): return divmod(n, 8); def answer(a, b): a = getPoint(a) b = getPoint(b) v = [] for i in range(0, 8):...
633
841
<reponame>brunolmfg/resteasy package org.jboss.resteasy.test.asynch.resource; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import jakarta.ws.rs.ext.Provider; import org.jboss.resteasy.spi.ContextInje...
854
6,132
from . import SimLibrary from .. import SIM_PROCEDURES as P from ...calling_conventions import SimCCStdcall, SimCCMicrosoftAMD64 from ...sim_type import SimTypeFunction, SimTypeLong, SimTypeLongLong lib = SimLibrary() lib.set_library_names('kernel32.dll') lib.add_all_from_dict(P['win32']) lib.set_default_cc('X86', Sim...
36,799
336
/** * @file wsl_bypasser.h * @author risinek (<EMAIL>) * @date 2021-04-05 * @copyright Copyright (c) 2021 * * @brief Provides interface for Wi-Fi Stack Libraries bypasser * * This component bypasses blocking mechanism that doesn't allow sending some arbitrary 802.11 frames like deauth etc. */ #ifndef WSL_BYP...
326
310
{ "name": "Zwoptex", "description": "A 2D sprite-packing tool.", "url": "https://zwopple.com/zwoptex/" }
48
379
from .meter import AverageMeter, ROCMeter from .optimizer import get_lr_scheduler from .optimizer import get_optimizer
35
332
#!/usr/bin/env python # -*- coding: utf-8 -*- """A basic demonstration of how to traverse the instances of a USD stage.""" # IMPORT THIRD-PARTY LIBRARIES from pxr import Gf, Sdf, Usd def create_basic_instance_stage(): """A USD stage that has instanced Prims on it. Reference: https://graphics.pixar....
924
53,007
import os from pathlib import Path import pytest from fastapi.testclient import TestClient @pytest.fixture(scope="module") def client(): static_dir: Path = Path(os.getcwd()) / "static" print(static_dir) static_dir.mkdir(exist_ok=True) from docs_src.extending_openapi.tutorial002 import app with T...
442
423
import torch from torch import Tensor import torch._decomp from typing import Tuple, List, Optional aten = torch.ops.aten decomposition_table = torch._decomp.decomposition_table register_decomposition = torch._decomp.register_decomposition get_decompositions = torch._decomp.get_decompositions # Decompositions have b...
1,813
460
#include "../../../src/xmlpatterns/data/qatomicmathematician_p.h"
26
2,406
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include <gmock/gmock.h> #include <gmock/gmock-spec-builders.h> #include <file_utils.h> #include <memory> #include <common_test_utils/test_assertions.hpp> #include <details/ie_so_pointer.hpp> #include <cpp...
508
344
#include "disassembler.h" #include "base/commandlineflags.h" #include "gtest/gtest.h" #define FLAGS_test_tmpdir std::string(testing::UnitTest::GetInstance()->original_working_dir()) #define FLAGS_test_srcdir std::string(testing::UnitTest::GetInstance()->original_working_dir()) namespace { class DisassemblerTest : p...
1,086
14,668
<reponame>zealoussnow/chromium // 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 MEDIA_CAST_COMMON_MOD_UTIL_H_ #define MEDIA_CAST_COMMON_MOD_UTIL_H_ #include "base/check.h" namespace media { nam...
549
3,200
/** * Copyright 2021 Huawei Technologies Co., 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.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
1,023
365
<reponame>raksa/blender<gh_stars>100-1000 /* * 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 option) any later version. * * This program is d...
1,092
835
<filename>client/verta/verta/_swagger/_public/uac/model/UacRole.py<gh_stars>100-1000 # THIS FILE IS AUTO-GENERATED. DO NOT EDIT from verta._swagger.base_type import BaseType class UacRole(BaseType): def __init__(self, id=None, name=None, scope=None, resource_action_groups=None): required = { "id": False, ...
504
14,668
<filename>components/global_media_controls/media_item_manager_impl_unittest.cc // 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 "components/global_media_controls/media_item_manager_impl.h" #inc...
2,121
485
/* MIT License Copyright (c) 2015 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distrib...
612
1,253
<reponame>JanStoltman/DaggerMock package it.cosenonjaviste.daggermock.subcomponentbuilder; import dagger.Subcomponent; @Subcomponent(modules = MySubModule.class) public interface MySubComponent { MainService mainService(); @Subcomponent.Builder interface Builder { Builder mySubModule(MySubModule ...
127
3,428
<filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/easy-ham-1/02240.fe7a1b134c52afd2b9a666ee65e789cb.json<gh_stars>1000+ {"id":"02240","group":"easy-ham-1","checksum":{"type":"MD5","value":"fe7a1b134c52afd2b9a666ee65e789cb"},"text":"From <EMAIL> Thu Oct 3 12:25:21 2002\nReturn-Path: <<EMAIL>>\nDelivered-T...
546
14,668
<reponame>zealoussnow/chromium # Copyright (c) 2012 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. '''In GRIT, we used to compile a lot of regular expressions at parse time. Since many of them never get used, we use lazy...
510
348
<filename>docs/data/leg-t1/022/02202190.json {"nom":"Pleslin-Trigavou","circ":"2ème circonscription","dpt":"Côtes-d'Armor","inscrits":2812,"abs":1293,"votants":1519,"blancs":27,"nuls":12,"exp":1480,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":512},{"nuance":"FI","nom":"<NAME>","voix":237},{"nuance":"FN","nom":"Mme <...
333
363
<reponame>LaudateCorpus1/ik<gh_stars>100-1000 #include "ik/solver_ONE_BONE.h" #include "ik/ik.h" #include "ik/chain.h" #include "ik/vec3_static.h" #include <stddef.h> #include <assert.h> /* ------------------------------------------------------------------------- */ uintptr_t ik_solver_ONE_BONE_type_size(void) { r...
915
14,668
// 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. package org.chromium.chrome.browser.ntp.cards; import android.content.Context; import android.text.format.DateUtils; import androidx.annotation.VisibleF...
3,577
1,144
<reponame>rlourette/TI_SDK_u-boot-2019.01 /* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2014 <NAME> <<EMAIL>> */ #ifndef _NIC301_REGISTERS_H_ #define _NIC301_REGISTERS_H_ struct nic301_registers { u32 remap; /* 0x0 */ /* Security Register Group */ u32 _pad_0x4_0x8[1]; u32 l4main; u32 l4sp; u32...
2,966
605
<reponame>yuriykoch/llvm<gh_stars>100-1000 import lldb import binascii import os.path from lldbsuite.test.lldbtest import * from lldbsuite.test.decorators import * from lldbsuite.test.gdbclientutils import * from lldbsuite.test.lldbgdbclient import GDBRemoteTestBase class TestGDBRemoteClient(GDBRemoteTestBase): ...
9,621
777
// 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 "components/offline_pages/core/offline_page_feature.h" #include <string> #include "base/feature_list.h" namespace offline_pages { const base:...
737
1,545
<reponame>pkumar-singh/bookkeeper /* * 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, Ve...
2,324
2,542
<filename>src/prod/src/inc/clr/pal/pal_capi.h // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ----------------------------------------------...
4,879
1,968
<gh_stars>1000+ ////////////////////////////////////////////////////////////////////////////// // // 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> // ///////////////////////...
677
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. package org.chromium.chrome.browser.browserservices.ui.controller.trustedwebactivity; import static org.chromium.chrome.browser.dependency_injection.Chro...
793
529
<reponame>PervasiveDigital/netmf-interpreter #include <tinyhal.h> #include <mfupdate_decl.h> static const IUpdatePackage s_UpdatePackages[] = { { "NetMF", NULL, NULL, NULL, NULL, }, }; const IUpdatePackage* g_UpdatePackages = s_UpdatePackages; cons...
195
575
<filename>extensions/common/manifest.cc<gh_stars>100-1000 // 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 "extensions/common/manifest.h" #include <utility> #include "base/check.h" #include "b...
4,738
14,668
<gh_stars>1000+ import pytest from webdriver.error import NoSuchAlertException from tests.support.asserts import assert_error, assert_success def get_computed_role(session, element): return session.transport.send( "GET", "session/{session_id}/element/{element_id}/computedrole".format( sessio...
403
852
<reponame>ckamtsikis/cmssw #include <cstdlib> #include <iostream> #include "DetectorDescription/Core/interface/DDCompactView.h" #include "DetectorDescription/RegressionTest/src/DDCheck.h" #include "DetectorDescription/Parser/interface/DDLParser.h" #include "DetectorDescription/Parser/interface/FIPConfiguration.h" #inc...
1,066
11,351
package com.netflix.discovery.shared.transport.jersey2; import static com.netflix.discovery.util.DiscoveryBuildInfo.buildVersion; import java.io.FileInputStream; import java.io.IOException; import java.security.KeyStore; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; impo...
6,330
578
/* * Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * BK-JOB蓝鲸智云作业平台 is licensed under the MIT License. * * License for BK-JOB蓝鲸智云作业平台: * ----------------------------------------------...
2,219
372
/* * 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 writing, software distributed under t...
5,200
649
<gh_stars>100-1000 package net.thucydides.core.model.flags; import net.serenitybdd.core.collect.NewMap; import net.thucydides.core.model.TestOutcome; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; public class FlagCounts { private final List<? extends TestOutcome> te...
483
1,031
//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by maxPlugin.rc // #define IDS_CATEGORY 2 #define IDS_CLASS_NAME 3 #define IDS_PARAMS 4 #define IDS_SPIN 5 #define IDS_LIBDESCRIPTION 6 #define IDD_E...
1,114
409
// // rest_controller.cpp // ******************* // // Copyright (c) 2020 <NAME> (sharon at xandium dot io) // // Distributed under the MIT License. (See accompanying file LICENSE) // #include "aegis/rest/rest_controller.hpp" namespace aegis { namespace rest { AEGIS_DECL rest_controller::rest_controller(const std:...
5,196
837
package me.saket.dank.data; /** * Things that can be pre-filled in cache. */ public enum CachePreFillThing { COMMENTS, IMAGES, LINK_METADATA }
57
400
<gh_stars>100-1000 package com.github.bkhezry.weather.utils; import android.annotation.SuppressLint; import android.app.Application; import android.app.Dialog; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.content.res.Resources; import android.n...
6,639
1,870
<filename>tests/test_runtime/test_config.py # Copyright (c) OpenMMLab. All rights reserved. import glob import os import os.path as osp import mmcv import torch.nn as nn from mmaction.models import build_localizer, build_recognizer def _get_config_path(): """Find the predefined recognizer config path.""" re...
1,166
743
package io.adaptivecards.objectmodel; import org.junit.Assert; import org.junit.Test; public class MediaPropertiesTest { static { System.loadLibrary("adaptivecards-native-lib"); } public static Media cast(BaseCardElement baseCardElement) { Media media = null; if (baseCardEle...
2,231
1,367
<reponame>developer-inspur/SwissArmyKnife package com.wanjian.sak.converter; /** * Created by wanjian on 2017/2/20. */ public class Size { private Size() { } public Size(int length, String unit) { } public static Size obtain() { return null; } public float getLength() { ...
229
2,279
<gh_stars>1000+ /* ** ** Copyright 2009, 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 the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless ...
3,064
412
<filename>odps/tests/test_serializers.py #!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 1999-2017 Alibaba Group Holding 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 # # ...
2,828
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...
1,121
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.security.keyvault.keys.implementation; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.JsonDeserializer; i...
276
573
<gh_stars>100-1000 /* This file is part of the dynarmic project. * Copyright (c) 2018 MerryMage * SPDX-License-Identifier: 0BSD */ #include "dynarmic/frontend/A64/translate/impl/impl.h" namespace Dynarmic::A64 { static bool LoadStoreRegisterImmediate(TranslatorVisitor& v, bool wback, bool postindex, size_t scale,...
3,663
2,151
/* * Copyright (C) 2012 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 the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
31,105
5,169
<gh_stars>1000+ { "name": "OptionButton", "version": "0.0.1", "summary": "IBDesignable option button that have vertical stacked title and option labels for iOS and tvOS.", "description": "OptionButton\n===\n\nIBDesignable option button that have vertical stacked title and option labels for iOS and tvOS.\n\nDemo...
575
433
<filename>src/main/java/org/redkale/net/client/ClientFuture.java /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.redkale.net.client; import java.util.Queue; impor...
833
422
<reponame>yangjourney/sosotest<filename>AutotestFramework/allmodels/DubboInterface.py from core.model.DubboBase import DubboBase from core.decorator.normal_functions import * from core.tools.DBTool import DBTool from core.tools.CommonFunc import * from core.const.GlobalConst import CaseLevel from core.const.GlobalConst...
7,870
5,813
<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 information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
1,787
502
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
1,531
1,233
<filename>compiler/src/main/java/com/github/mustachejava/reflect/MissingWrapper.java package com.github.mustachejava.reflect; import static java.util.Arrays.asList; /** * Used to mark a wrapper this is only guarding a complete miss. */ public class MissingWrapper extends GuardedWrapper { private final String name...
168
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...
11,830
591
<filename>src/Engine/resource/esrc_ecoObj.h /* * ========================= esrc_ecoObj.h ========================== * -- tpr -- * CREATE -- 2019.04.19 * MODIFY -- * -----------------------------------------------...
518
903
/* * Copyright 2019 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" ...
2,440
401
<reponame>rocaej/echoprint-server /* * Copyright (c) 2016 Spotify AB. * * 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 ...
1,154
2,079
<gh_stars>1000+ /*============================================================================== * Utilities for single thread test and benchmark. * * Copyright (C) 2018 YaoYuan <<EMAIL>>. * Released under the MIT license (MIT). *============================================================================*/ #incl...
14,729
377
// Copyright (C) 2018-2019 The DMLab2D 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 applicable ...
3,305
4,518
<gh_stars>1000+ from socket import * import time serverName = '192.168.3.11' # 服务器地址,本例中使用一台远程主机 serverPort = 12000 # 服务器指定的端口 clientSocket = socket(AF_INET, SOCK_DGRAM) # 创建UDP套接字,使用IPv4协议 clientSocket.settimeout(1) # 设置套接字超时值1秒 for i in range(0, 10): sendTime = time.time() message = ('Ping %d %s' % (i+1, sendTime...
487
1,437
import argparse import better_exceptions import sys import time from pathlib import Path import zipfile import bz2 import urllib.request import dlib import cv2 zip_names = ["train_1.zip", "train_2.zip", "train_gt.zip", "valid.zip", "valid_gt.zip"] urls = ["http://***/train_1.zip", "http://***/train_2.zip", ...
2,184
392
package jetbrick.template.exec.directive; import jetbrick.template.exec.AbstractJetxTest; import org.junit.Assert; import org.junit.Test; public class DirectiveIfTest extends AbstractJetxTest { @Test public void testIf() { Assert.assertEquals("a", eval("#if(true)a#end")); Assert.assertEquals(...
358
348
<gh_stars>100-1000 {"nom":"Courtagnon","circ":"3ème circonscription","dpt":"Marne","inscrits":50,"abs":12,"votants":38,"blancs":5,"nuls":1,"exp":32,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":28},{"nuance":"FN","nom":"<NAME>","voix":4}]}
99
11,024
/* * QuietDatabase.h * * This source file is part of the FoundationDB open source project * * Copyright 2013-2018 Apple Inc. and the FoundationDB 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 obta...
1,265
317
/* SUBWIN.f -- translated by f2c (version 19970805). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #ifdef __cplusplus extern "C" { #endif /* OTB patches: replace "f2c.h" by "otb_6S.h" */ /*#include "f2c.h"*/ #include "otb_6S.h" /* Common Block Declarations */ Extern s...
1,616
460
<filename>trunk/win/Source/Includes/QtIncludes/include/QtDeclarative/private/qdeclarativepropertychanges_p.h<gh_stars>100-1000 #include "../../../src/declarative/util/qdeclarativepropertychanges_p.h"
72
678
/* * Copyright (C) 2018 <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 applicable law or agreed to ...
6,943
14,668
<gh_stars>1000+ // 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 IOS_CHROME_BROWSER_UI_INCOGNITO_REAUTH_INCOGNITO_REAUTH_VIEW_H_ #define IOS_CHROME_BROWSER_UI_INCOGNITO_REAUTH_INCOGNITO_REAUTH_VI...
335
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...
39,256