max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Nouméa","circ":"1ère circonscription","dpt":"Nouvelle-Calédonie","inscrits":62404,"abs":33630,"votants":28774,"blancs":1219,"nuls":457,"exp":27098,"res":[{"nuance":"DVD","nom":"<NAME>","voix":15376},{"nuance":"DVD","nom":"<NAME>","voix":11722}]}
132
1,475
/* * 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 not ...
830
357
<gh_stars>100-1000 /* PsychPlatform.h PLATFORMS: Only Windows AUTHORS: <NAME> mk <EMAIL> HISTORY: DESCRIPTION: PsychPlatform.h contains constant definitions asserting conditions specific to the the OS X version of Screen. If you use a conditional ma...
729
1,752
<filename>MyPerf4J-Core/src/main/java/cn/myperf4j/core/AbstractMethodTagMaintainer.java package cn.myperf4j.core; import cn.myperf4j.base.MethodTag; import java.lang.reflect.Method; /** * Created by LinShunkang on 2018/5/20 */ public abstract class AbstractMethodTagMaintainer { public abstract int addMethodTa...
168
1,022
{ "FindPackagesByIdCacheTimeInSeconds": 60, "FindPackagesByIdCountCacheTimeInSeconds": 0, "GetSpecificPackageCacheTimeInSeconds": 60, "SearchCacheTimeInSeconds": 45 }
59
468
<reponame>benparsons/hexbin<filename>meta/data-warehouse.json { "name": "data-warehouse", "author": "rockmedia-es", "license": "CC BY-NC-SA 4.0", "raster": "http://hexb.in/hexagons/data-warehouse.png", "vector": "http://hexb.in/vector/data-warehouse.svg", "description": "One warehouse to store all the data"...
145
1,160
# ---------------------------------------------------------------------------- # pyglet # Copyright (c) 2006-2008 <NAME> # Copyright (c) 2008-2021 pyglet contributors # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following c...
6,669
2,189
import os import sys import logging import datetime log = logging.getLogger("Cli_wallet") def init_logger(_file_name): global log log.handlers = [] formater = '%(asctime)s [%(levelname)s] %(message)s' stdh = logging.StreamHandler(sys.stdout) stdh.setFormatter(logging.Formatter(formater)) log.a...
392
13,709
#import "ElementBaseTransition.h" #import "FloatTransition.h" @interface ColorTransition : ElementBaseTransition - (instancetype)initWithView:(UIView *)view from:(UIColor *)from to:(UIColor *)to startDelay:(NSTimeInterval)startDelay ...
245
1,847
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma once #include "schema_locator.hpp" namespace krabs { /** * <summary> * Additional ETW trace context passed to event callbacks * to enable ...
172
1,147
/* Copyright (c) 2005-2021 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
2,935
2,023
<gh_stars>1000+ import os, zipfile from cStringIO import StringIO def extract( filename, dir ): zf = zipfile.ZipFile( filename ) namelist = zf.namelist() dirlist = filter( lambda x: x.endswith( '/' ), namelist ) filelist = filter( lambda x: not x.endswith( '/' ), namelist ) # make base pushd = ...
571
1,383
<filename>src/chrono_irrlicht/ChIrrNodeProxyToAsset.h // ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can...
1,200
2,663
<reponame>lobap/Superalgos { "type": "Initial Targets", "definition": { "text": "The initial targets node holds the most basic definitions about the position to be taken: the target rate and the target size." }, "paragraphs": [ { "style": "Text", "text": "Both def...
169
401
<gh_stars>100-1000 /* * Copyright 2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this lis...
861
679
<filename>main/sw/source/ui/web/wview.cxx /************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright owne...
4,152
389
/* * Copyright 2014 <NAME>, Inc. */ package gw.config; public abstract class BaseService implements IService { private boolean _inited = false; public final boolean isInited() { return _inited; } public final void init() { doInit(); _inited = true; } public final void uninit() { ...
172
1,025
<reponame>tiropas/java-game-server package org.menacheri.jetserver.server.netty; import java.net.InetSocketAddress; import java.util.Arrays; import java.util.concurrent.Executors; import org.jboss.netty.bootstrap.Bootstrap; import org.jboss.netty.bootstrap.ConnectionlessBootstrap; import org.jboss.netty.channel.Chann...
1,228
14,668
<filename>third_party/blink/renderer/platform/text/mathml_operator_dictionary_test.cc // 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 "third_party/blink/renderer/platform/text/mathml_operator_d...
5,575
880
<reponame>LinZong/logback-android /** * Copyright 2019 <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...
567
1,083
<filename>core/src/main/java/org/apache/carbondata/core/util/CarbonTimeStatisticsFactory.java /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The AS...
1,031
984
// // UINavigationBar+Theming.h // DynamicThemesExample // // Created by <NAME> on 1/2/15. // Copyright (c) 2015 <NAME>. All rights reserved. // @import UIKit; NS_ASSUME_NONNULL_BEGIN @interface UINavigationBar (Theming) - (UIBarStyle)mtf_barStyleForColor:(UIColor *)color; - (void)mtf_setShadowColor:(UIColor *...
147
358
from ...survey import BaseSurvey from ...utils.code_utils import deprecate_class class Survey(BaseSurvey): """Base Gravity Survey""" receiver_locations = None #: receiver locations rxType = None #: receiver type components = ["gz"] def __init__(self, source_field, **kwargs): self.sourc...
1,049
1,761
# Face recognition with LBP descriptors. # See <NAME>'s "Face Recognition with Local Binary Patterns". # # Before running the example: # 1) Download the AT&T faces database http://www.cl.cam.ac.uk/Research/DTG/attarchive/pub/data/att_faces.zip # 2) Exract and copy the orl_faces directory to the SD card root. # # NOTE: ...
408
357
<filename>vmdir/common/opensslutil.c /* * Copyright © 2018 VMware, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the “License”); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 ...
3,654
314
<reponame>liutong-cnu/rocketmq-client-cpp /* * 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...
1,866
1,664
<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 * ...
2,009
335
<reponame>Safal08/Hacktoberfest-1 { "word": "Exceptional", "definitions": [ "An item in a company's accounts arising from its normal activity but much larger or smaller than usual." ], "parts-of-speech": "Noun" }
89
836
<reponame>kclamar/vedo """Mesh smoothing with two different methods""" from vedo import Plotter, dataurl plt = Plotter(N=2) # Load a mesh and show it vol = plt.load(dataurl+"embryo.tif") m0 = vol.isosurface().normalize().lw(0.1).c("violet") plt.show(m0, __doc__+"\nOriginal Mesh:", at=0) plt.background([0.8, 1, 1], at...
223
1,353
/* * Copyright (c) 2014, <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: * * * Redistributions of source code must retain the above copyright notice, this * list of conditions and...
2,190
303
#ifndef wren_core_h #define wren_core_h #include "wren_vm.h" // This module defines the built-in classes and their primitives methods that // are implemented directly in C code. Some languages try to implement as much // of the core library itself in the primary language instead of in the host // language. // // With...
256
849
package milkman.ui.plugin.rest.postman.importers; import java.io.IOException; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.UUID; import java.util.stream.Collectors; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackso...
1,171
476
<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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, so...
513
5,349
# -*- coding: utf-8 -*- import pytest from sktime.benchmarking.strategies import TSCStrategy from sktime.benchmarking.tasks import TSCTask from sktime.datasets import load_gunpoint from sktime.datasets import load_italy_power_demand from sktime.classification.compose import ComposableTimeSeriesForestClassifier classif...
291
445
<filename>src/distributions/categorical.cpp<gh_stars>100-1000 #include <c10/util/ArrayRef.h> #include <torch/torch.h> #include "cpprl/distributions/categorical.h" #include "third_party/doctest.h" namespace cpprl { Categorical::Categorical(const torch::Tensor *probs, const torch::Tensor *logit...
3,361
575
<reponame>sarang-apps/darshan_browser // 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 "weblayer/test/stub_autofill_provider.h" namespace weblayer { StubAutofillProvider::StubAutofillProvider(...
320
1,013
<gh_stars>1000+ /*! @authors <NAME> (<EMAIL>) @date 2014-2020 @copyright BSD-3-Clause */ #include <gtest/gtest.h> #include <pyclustering/interface/sync_interface.h> #include <pyclustering/interface/hsyncnet_interface.h> #include <pyclustering/interface/pyclustering_interface.h> #include <pyclustering/i...
729
945
/* * 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,783
4,140
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
1,020
1,056
<filename>php/php.project/src/org/netbeans/modules/php/project/ui/actions/support/TestSingleMethodSupport.java /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ...
1,615
636
<filename>tests/test_archive.py import hashlib import io from os import path import pytest import slackviewer from slackviewer import archive from slackviewer.utils.six import to_bytes def test_SHA1_file(): filepath = path.join("tests", "testarchive.zip") version = to_bytes(slackviewer.__version__) def...
238
2,122
<filename>web/src/main/java/com/sishuok/es/maintain/push/web/controller/PushController.java /** * Copyright (c) 2005-2012 https://github.com/zhangkaitao * * Licensed under the Apache License, Version 2.0 (the "License"); */ package com.sishuok.es.maintain.push.web.controller; import com.google.common.collect.Maps;...
982
348
<gh_stars>100-1000 {"nom":"Censy","circ":"2ème circonscription","dpt":"Yonne","inscrits":43,"abs":16,"votants":27,"blancs":6,"nuls":0,"exp":21,"res":[{"nuance":"UDI","nom":"M. <NAME>","voix":11},{"nuance":"REM","nom":"<NAME>","voix":10}]}
100
1,555
<reponame>LightSun/mir /* Verify unaligned address aliasing on Alpha EV[45]. */ extern void exit (int); static unsigned short x, y; void foo() { x = 0x345; y = 0x567; } int main() { foo (); if (x != 0x345 || y != 0x567) abort (); exit (0); }
111
1,043
<filename>SwiftExample/Pods/Headers/Private/KZPlayground/KZPComponent.h // // Created by <NAME>(http://twitter.com/merowing_) on 20/10/14. // // // @import Foundation; @protocol KZPComponent <NSObject> @required + (void)reset; @end
93
335
{ "word": "Attachment", "definitions": [ "An extra part or extension that is or may be attached to something to perform a particular function.", "A computer file appended to an email.", "Affection, fondness, or sympathy for someone or something.", "An affectionate relationship.",...
171
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 ...
3,782
320
import os import tempfile from scrapy.http import TextResponse from pystock_crawler.spiders.yahoo import make_url, YahooSpider from pystock_crawler.tests.base import TestCaseBase class MakeURLTest(TestCaseBase): def test_no_dates(self): self.assertEqual(make_url('YHOO'), ( 'http://ichart.fi...
2,003
348
{"nom":"Landerneau","circ":"5ème circonscription","dpt":"Finistère","inscrits":11254,"abs":4985,"votants":6269,"blancs":50,"nuls":24,"exp":6195,"res":[{"nuance":"DVD","nom":"M. <NAME>","voix":2165},{"nuance":"REM","nom":"Mme <NAME>","voix":1826},{"nuance":"SOC","nom":"Mme <NAME>","voix":796},{"nuance":"FI","nom":"Mme <...
300
2,868
<gh_stars>1000+ /* * Copyright (c) 2015-2017, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of cond...
899
12,536
// Copyright 2018 The gVisor Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
2,530
316
import numpy as np import pyclipper #from shapely import geometry from sl_utils import rbox_to_polygon, polygon_to_rbox from ssd_metric import fscore def evaluate_polygonal_results(ground_truth, detection_results, iou_thresh=0.5): """Evaluate polygonal text detection results and return TP, FP, FN. # Ar...
2,517
636
package cn.org.atool.fluent.mybatis.test1.ifs; import cn.org.atool.fluent.mybatis.customize.mapper.StudentBatchMapper; import cn.org.atool.fluent.mybatis.generator.shared2.entity.StudentEntity; import cn.org.atool.fluent.mybatis.generator.shared2.mapper.StudentMapper; import cn.org.atool.fluent.mybatis.generator.share...
2,327
3,212
/* * 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 ...
10,742
52,316
<gh_stars>1000+ import asyncio import unittest import time def tearDownModule(): asyncio.set_event_loop_policy(None) class SlowTask: """ Task will run for this defined time, ignoring cancel requests """ TASK_TIMEOUT = 0.2 def __init__(self): self.exited = False async def run(self): ...
713
560
<gh_stars>100-1000 /* * Copyright (c) 2018 <NAME> <<EMAIL>> * All Rights Reserved. */ package me.zhanghai.android.douya.ui; import android.content.Context; import android.text.TextUtils; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import com.google.android.material.t...
659
475
<gh_stars>100-1000 /* * Copyright (C) 2020 The zfoo Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
2,301
1,561
<filename>src/soter/ed25519/ge_p3_sub.c /* * Copyright (c) 2015 Cossack Labs Limited * * 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 ...
313
3,600
package com.github.dreamhead.moco.mount; import java.util.function.Predicate; public interface MountPredicate extends Predicate<String> { }
42
766
/* Copyright 2013-2015 www.snakerflow.com. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
588
348
<reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/065/06501384.json {"nom":"Sailhan","circ":"1ère circonscription","dpt":"Hautes-Pyrénées","inscrits":103,"abs":52,"votants":51,"blancs":4,"nuls":3,"exp":44,"res":[{"nuance":"REM","nom":"<NAME>","voix":31},{"nuance":"FI","nom":"Mme <NAME>","voix":13}]}
135
2,392
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2017 <NAME> <<EMAIL>> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at http://mozilla.org/MPL/2.0/. ...
191
5,964
<reponame>wenfeifei/miniblink49 #ifndef GDIPlusInit_h #define GDIPlusInit_h namespace blink { extern CLSID s_bmpClsid; extern CLSID s_jpgClsid; extern CLSID s_pngClsid; bool initGDIPlusClsids(); } #endif // GDIPlusInit_h
110
1,510
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
2,075
911
<filename>tests/test_decoded_packet_dict.py<gh_stars>100-1000 from wifipumpkin3.core.common.platforms import decoded import unittest result = { "IP": { "version": 4, "src": "10.0.0.21", "dst": "192.168.3.11", "ihl": 5, "tos": 0, }, "Headers": { "Connection": ...
697
456
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2004-2020 <NAME> // All rights reserved. #include <djvAV/DPX.h> #include <djvAV/Cineon.h> #include <djvSystem/FileIO.h> using namespace djv::Core; namespace djv { namespace AV { namespace DPX { struct Read::Private ...
1,258
713
Cache cache = ... cache.getAdvancedCache()    .withFlags(Flag.SKIP_REMOTE_LOOKUP, Flag.SKIP_CACHE_LOAD)    .put("local", "only")
51
3,651
package com.orientechnologies.orient.graph.sql; import com.orientechnologies.orient.core.db.document.ODatabaseDocument; import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx; import com.orientechnologies.orient.core.exception.OCommandExecutionException; import com.orientechnologies.orient.core.metad...
5,858
471
<reponame>THEGUY3ds/pirater12-luma-updater /* Compiler.h 2015-08-02 : <NAME> : Public domain */ #ifndef __7Z_COMPILER_H #define __7Z_COMPILER_H #define UNUSED_VAR(x) (void)x; /* #define UNUSED_VAR(x) x=x; */ #endif
112
2,258
<filename>java/serving/src/test/java/feast/serving/it/ServingRedisGSRegistryIT.java /* * SPDX-License-Identifier: Apache-2.0 * Copyright 2018-2021 The Feast 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...
895
852
import ROOT class ElectronMVAID: def __init__(self,name,type,*xmls): self.name = name self.estimator = ROOT.heppy.EGammaMvaEleEstimatorFWLite() self.sxmls = ROOT.vector(ROOT.string)() for x in xmls: self.sxmls.push_back(x) self.etype = -1 if type == "Trig": s...
2,602
1,987
<filename>social/backends/yandex.py from social_core.backends.yandex import YandexOpenId, YandexOAuth2, YaruOAuth2
45
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 ...
1,048
923
package core.webui.server.handlers.internals; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import...
858
304
<filename>apps/app7_static_files/views.py # coding: utf-8 from django.shortcuts import render from django.conf import settings def production(request): # You can pass anything in the templates, including the whole settings # object which contains everything that is inside the settings.py file. context ...
179
2,890
package com.github.ltsopensource.zookeeper.lts; import com.github.ltsopensource.core.cluster.Config; import com.github.ltsopensource.zookeeper.ZkClient; import com.github.ltsopensource.zookeeper.ZookeeperTransporter; public class LtsZookeeperTransporter implements ZookeeperTransporter { public ZkClient connect(C...
137
30,023
<reponame>liangleslie/core """Config flow to configure the Tile integration.""" from __future__ import annotations from collections.abc import Mapping from typing import Any from pytile import async_login from pytile.errors import InvalidAuthError, TileError import voluptuous as vol from homeassistant import config_...
1,543
776
package ghissues.gh967; import act.util.SingletonBase; public class XyzService extends SingletonBase { public String doService() { return "xyz"; } }
63
1,172
// Copyright (C) 2005 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
1,199
3,645
/* * audio resampling * Copyright (c) 2004-2012 <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 Foundation; either * version 2.1 of the License,...
758
1,104
<gh_stars>1000+ package backtype.storm.serialization; import backtype.storm.task.TopologyContext; import backtype.storm.tuple.MessageId; import backtype.storm.tuple.Tuple; import backtype.storm.utils.ThreadResourceManager; import backtype.storm.utils.WritableUtils; import java.io.ByteArrayInputStream; import java.io.D...
1,010
2,633
<reponame>afxcn/unit<gh_stars>1000+ /* * Copyright (C) <NAME> * Copyright (C) NGINX, Inc. */ #include <nxt_main.h> static const nxt_service_t nxt_services[] = { #if (NXT_HAVE_KQUEUE) { "engine", "kqueue", &nxt_kqueue_engine }, #endif #if (NXT_HAVE_EPOLL_EDGE) { "engine", "epoll", &nxt_epoll_edge_engin...
1,827
1,444
package mage.cards.k; import java.util.UUID; import mage.MageInt; import mage.abilities.keyword.BandingAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubType; /** * * @author L_J */ public final class KjeldoranWarrior extends CardImpl { ...
367
7,892
<gh_stars>1000+ /********************************************************************** Audacity: A Digital Audio Editor AVFrameWrapper.cpp <NAME> **********************************************************************/ #include "AVFrameWrapper.h" #include "FFmpegFunctions.h" AVFrameWrapper::AVFrameWrapper(...
232
5,169
{ "name": "UIAlertController+Show", "version": "0.1.2", "summary": "Show UIAlertControllers from anywhere.", "description": "Light-weight extension to UIAlertController that adds 'show' method for presenting Alerts / Action Sheets from anywhere", "homepage": "https://github.com/hightower/UIAlertController-Sho...
310
548
# Copyright 2019 ZTE corporation. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 """ The CMD script """ import subprocess import argparse import os import time from grpc._channel import _InactiveRpcError from adlik_serving import PredictContext # pylint: disable=import-error def _test_connect_of_servin...
693
363
#include "ik/retcodes.h"
11
1,405
package com.tendcloud.tenddata; import java.io.ByteArrayOutputStream; import java.util.zip.GZIPOutputStream; import org.apache.http.HttpHost; import org.apache.http.client.methods.HttpPost; import org.apache.http.conn.scheme.PlainSocketFactory; import org.apache.http.conn.scheme.Scheme; import org.apache.http.conn.sch...
980
3,361
/* * Copyright 2015 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
1,249
14,425
<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 *...
4,036
488
#ifndef DATA_H #define DATA_H 1 /* nmemonic*/ #define TOPLEVEL 1 /* Define a structure to hold*/ /* any one possible value*/ typedef union Constvalue { struct Datalist* compoundv; /* NC_COMPOUND*/ char charv; /* NC_CHAR*/ signed char int8v; /* NC_BYTE*/ unsigned char uint8v; ...
2,787
2,757
<reponame>BearerPipelineTest/google-ctf<filename>2020/quals/reversing-sprint/asm.py # Copyright 2020 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/...
2,774
575
<reponame>iridium-browser/iridium-browser // 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. #ifndef CHROMEOS_SERVICES_LIBASSISTANT_DEVICE_SETTINGS_CONTROLLER_H_ #define CHROMEOS_SERVICES_LIBASSISTANT_DEVI...
983
971
package com.ucar.datalink.manager.core.utils.timer; /** * Created by lubiao on 2016/12/12. */ class TimerTaskEntry implements Comparable<TimerTaskEntry> { private volatile TimerTaskList list; private volatile TimerTaskEntry next; private volatile TimerTaskEntry prev; private final TimerTask timerTa...
782
3,508
package com.fishercoder.solutions; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class _448 { public static class Solution1 { /** * O(n) space * O(n) time */ public List<Integer> findDisappearedNumbers(int[] nu...
1,050
6,098
<filename>h2o-genmodel/src/main/java/hex/genmodel/algos/tree/ScoreTree.java package hex.genmodel.algos.tree; import java.io.Serializable; public interface ScoreTree extends Serializable { double scoreTree(byte[] tree, double[] row, boolean computeLeafAssignment, String[][] domains); }
93
1,474
/* * Copyright 2020 FormDev Software GmbH * * 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...
655
313
<reponame>hz-ants/LabelFusion-docker2-<filename>scripts/registration/testFGR.py from director import objectmodel as om from director import ioUtils from director import visualization as vis from director import transformUtils from director import filterUtils from director import segmentation from director import applog...
1,342
8,629
#include <Common/config.h> #if USE_YAML_CPP #include "gtest_helper_functions.h" #include <base/scope_guard.h> #include <Common/Config/YAMLParser.h> #include <Common/Config/ConfigHelper.h> #include <Poco/AutoPtr.h> #include "Poco/DOM/Document.h" #include <gtest/gtest.h> using namespace DB; TEST(Common, YamlParserIn...
761
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 ...
1,241