max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
3,269
<filename>C++/find-k-closest-elements.cpp // Time: O(logn + k) // Space: O(1) class Solution { public: vector<int> findClosestElements(vector<int>& arr, int k, int x) { auto i = distance(arr.begin(), lower_bound(arr.begin(), arr.end(), x)); int left = i - 1, right = i; ...
273
977
<gh_stars>100-1000 // // Realm C++ coding standard - by example // /* * The layout of the code is enforced by the use of clang-format - currently in version 3.9. The layout is * defined by the .clang-format configuration file in the project root. You can ensure that a code change * complies with the formatting rule...
1,760
575
<filename>chrome/browser/android/omnibox/geolocation_header.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 CHROME_BROWSER_ANDROID_OMNIBOX_GEOLOCATION_HEADER_H_ #define CHROME_BROWSER_ANDROID_...
324
363
{ "name": "re2", "version": "1.16.0", "description": "Bindings for RE2: fast, safe alternative to backtracking regular expression engines.", "homepage": "https://github.com/uhop/node-re2", "bugs": "https://github.com/uhop/node-re2/issues", "main": "re2.js", "types": "re2.d.ts", "directories": { "tes...
507
23,901
<reponame>DionysisChristopoulos/google-research # coding=utf-8 # Copyright 2021 The Google Research 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/lice...
3,931
1,444
package mage.cards.s; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.common.DiscardCardCost; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.effects.common.GainLifeEffect; import mage.cards.CardImpl; import...
464
670
<filename>src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java<gh_stars>100-1000 /* * Copyright 2012-2021 CodeLibs Project and the Others. * * 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 ...
843
14,668
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/api/messaging/incognito_connectability_infobar_delegate.h" #include <utility> #include "chrome/browser/infobars/conf...
930
3,049
"""Contains methods to generate a JSON file for Seldon API integration testing.""" import os from typing import List, Optional, Union import numpy as np import pandas as pd RANGE_INTEGER_MIN = 0 RANGE_INTEGER_MAX = 1 RANGE_FLOAT_MIN = 0.0 RANGE_FLOAT_MAX = 1.0 def _column_range(col: pd.Series) -> Optional[List]: ...
1,333
458
<filename>test/switch-long-long.c int main(void) { switch (0x12300000000) { case 0: return 1; case 0x12300000000: return 0; } return 2; }
59
852
/* * See header file for a description of this class. * * \author <NAME> INFN Padova * */ //---------------------- // This Class' Header -- //---------------------- #include "CondFormats/DTObjects/interface/DTT0.h" //------------------------------- // Collaborating Class Headers -- //--------------------------...
1,534
456
package com.swingfrog.summer.ecs.entity; import com.swingfrog.summer.ecs.EcsRuntimeException; import com.swingfrog.summer.ecs.component.AbstractComponent; import com.swingfrog.summer.ecs.component.Component; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; public abstract cla...
658
3,103
# 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 the Li...
446
743
package com.anly.githubapp.data.net; import com.anly.githubapp.common.wrapper.AppLog; import com.anly.githubapp.data.api.TrendingApi; import com.anly.githubapp.data.model.TrendingRepo; import com.anly.githubapp.data.net.response.TrendingResultResp; import com.anly.githubapp.data.net.service.TrendingService; import ja...
309
13,709
<filename>lib/ios/TimeInterval.h #import "Double.h" @interface TimeInterval : Double - (NSTimeInterval)get; - (NSTimeInterval)withDefault:(double)defaultValue; @end
64
1,052
[ { "description": "Test obj executable builtin", "id": "objexe", "format": "obj", "source": "objexe.asm", "option": "-Ox", "target": [ { "output": "objexe.obj" } ] } ]
89
705
package week06_part01.solution; public class Folder { String name; String [] filenames; int permissions; // constructor public Folder(String name, String [] files) { this.name = name; this.filenames = files; this.permissions = 0744; } // copy constructor // Note: Does a shallow copy. public Folder...
246
971
package com.ucar.datalink.worker.api.util.copy; /** * Created by lubiao on 2017/3/22. */ public class RecordCopyException extends RuntimeException{ public RecordCopyException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { super(message, cause, enableSuppression,...
220
480
<filename>polardbx-executor/src/main/java/com/alibaba/polardbx/executor/statistic/MysqlStatisticCollector.java<gh_stars>100-1000 /* * Copyright [2013-2021], Alibaba Group Holding Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lic...
25,358
1,248
/** * 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...
966
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-9jvh-8pp3-2c6j", "modified": "2022-05-13T01:28:16Z", "published": "2022-05-13T01:28:16Z", "aliases": [ "CVE-2018-16362" ], "details": "An issue was discovered in the Source Integration plugin before 1.5.9 and 2.x before 2.1.5 for MantisBT. A ...
597
337
package client; import server.KotlinTopLevelPropertyUsages_0Kt; class JClient { void fooBar() { System.out.println("foo = " + KotlinTopLevelPropertyUsages_0Kt.getFoo()); System.out.println("length: " + KotlinTopLevelPropertyUsages_0Kt.getFoo().length()); KotlinTopLevelPropertyUsages_0Kt.se...
138
312
<reponame>yanaspaula/rdf4j<gh_stars>100-1000 /******************************************************************************* Copyright (c) 2018 Eclipse RDF4J contributors. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 wh...
932
314
[{"id":"2672831b.1236ac","type":"inject","z":"ffbd7f06.4a014","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"60","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":342,"y":1808,"wires":[["ef533324.d135d"]]},{"id":"8b6ea5bc.5f2478","type":"api-current-state...
696
7,581
import unittest import numpy as np from prml import nn class TestSum(unittest.TestCase): def test_sum(self): x = np.random.rand(5, 1, 2) xp = nn.Parameter(x) z = xp.sum() self.assertEqual(z.value, x.sum()) z.backward() self.assertTrue((xp.grad == np.ones((5, 1, 2))...
331
335
{ "word": "Jewfish", "definitions": [ "A large sporting or food fish of warm coastal waters." ], "parts-of-speech": "Noun" }
63
14,668
<filename>content/browser/process_internals/process_internals_browsertest.cc // 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 "base/strings/utf_string_conversions.h" #include "content/browser/ch...
1,093
563
<gh_stars>100-1000 package com.gentics.mesh.core.rest.admin.cluster.coordinator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyDescription; import com.gentics.mesh.annotation.Setter; import com.gentics.mesh.core.rest.common.RestModel; /** * Rest model for t...
451
940
/* * Copyright 2016 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 applicable law or agreed to...
1,587
580
__all__ = [ "resnet50_fpn_1x", "resnet50_fpn_mstrain_2x", "resnet50_fpn_mdconv_c3_c5_mstrain_2x", "resnet101_fpn_1x", "resnet101_fpn_mstrain_2x", "resnet101_fpn_mdconv_c3_c5_mstrain_2x", "resnext101_32x4d_fpn_mdconv_c3_c5_mstrain_2x", "resnext101_64x4d_fpn_mdconv_c3_c5_mstrain_2x", ] fr...
1,601
61,676
from io import BytesIO from django.core.handlers.wsgi import WSGIRequest from django.core.servers.basehttp import WSGIRequestHandler, WSGIServer from django.test import SimpleTestCase from django.test.client import RequestFactory from django.test.utils import captured_stderr class Stub: def __init__(self, **kwar...
2,459
751
<reponame>B4dM4n/vpp /* *------------------------------------------------------------------ * arp_test.c * * Copyright (c) 2019 Cisco and/or its affiliates. * 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...
1,599
391
<reponame>isabella232/Lens-1<gh_stars>100-1000 /* * * Copyright (C) 2020 iQIYI (www.iqiyi.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/LICEN...
1,807
3,083
<filename>debug/zylibcpp/zycon/src/bytebuffer.h // Copyright 2011-2016 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/lic...
688
1,338
#include <../private/kernel/util/DoublyLinkedList.h>
20
1,144
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Freescale i.MX28 USB OTG Register Definitions * * Copyright (C) 2011 <NAME> <<EMAIL>> * on behalf of DENX Software Engineering GmbH */ #ifndef __REGS_USB_H__ #define __REGS_USB_H__ struct mxs_usb_regs { uint32_t hw_usbctrl_id; /* 0x000 */ uint32_t hw_usbctrl_hwg...
3,092
1,510
<reponame>julien-faye/drill /* * 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 ...
1,594
9,734
// 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...
3,802
3,788
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen #include "pch.h" #include "common.h" #include "RefreshVisualizer.h" namespac...
2,618
1,067
// // MHSearchOfficialAccountsViewController.h // WeChat // // Created by admin on 2020/5/11. // Copyright © 2020 CoderMikeHe. All rights reserved. // 搜索 公众号 #import "MHSearchTypeViewController.h" #import "MHSearchOfficialAccountsViewModel.h" NS_ASSUME_NONNULL_BEGIN @interface MHSearchOfficialAccountsViewControl...
142
1,352
/* * 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 ...
18,582
1,144
<gh_stars>1000+ /* * #%L * de.metas.swat.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 op...
889
471
# -*- coding: utf-8 -*- from enum import Enum class ModelType(Enum): ABSTRACT = 0 FINETUNING = 1 METRIC = 2 META = 3 class SaveType(Enum): NORMAL = 0 BEST = 1 LAST = 2
95
9,866
#!/usr/bin/env python3 from utils import * import atexit import json import datetime class CodisProxy(Process): def __init__(self, admin_port, proxy_port, product_name, product_auth=None): self.config = self._open_config(admin_port, proxy_port, product_name, product_auth) self.admin_port = admi...
1,283
2,151
<reponame>tingshao/catapult<filename>third_party/typ/typ/stats.py # Copyright 2014 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.or...
1,674
11,356
// Copyright <NAME> 2012 // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifdef _MSC_VER # pragma warning(disable : 4127) // conditional expression is constant. #endif #incl...
1,316
762
<filename>nengo/utils/tests/test_graphs.py import collections from nengo.utils import graphs def graph(edges=None): """Construct graph from edges.""" g = collections.defaultdict(set) if edges is not None: g.update(edges) return g def test_reversedict(): edges = graph({"a": {"b", "c"}, "...
470
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Houilles","circ":"4ème circonscription","dpt":"Yvelines","inscrits":21030,"abs":11774,"votants":9256,"blancs":722,"nuls":194,"exp":8340,"res":[{"nuance":"REM","nom":"<NAME>","voix":5682},{"nuance":"LR","nom":"<NAME>","voix":2658}]}
123
1,475
<reponame>mhansonp/geode /* * 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,519
742
/*------------------------------------ ///\ Plywood C++ Framework \\\/ https://plywood.arc80.com/ ------------------------------------*/ #pragma once #include <ply-runtime/Base.h> #include <ply-reflect/TypeDescriptor.h> #if PLY_BUILD_IMPORTING #define PLY_BUILD_ENTRY PLY_DLL_IMPORT #elif PLY_BUILD_EXPORTING #def...
148
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.azurearcdata.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.Js...
426
776
/* * Copyright 2019-present HiveMQ 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
2,197
482
package io.nutz.demo.simple; import java.util.concurrent.TimeUnit; import org.eclipse.paho.client.mqttv3.MqttAsyncClient; import org.eclipse.paho.client.mqttv3.MqttClient; import org.eclipse.paho.client.mqttv3.MqttException; import org.eclipse.paho.client.mqttv3.MqttMessage; import org.nutz.boot.NbApp; import org.nut...
959
1,025
<gh_stars>1000+ //================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file afMenuActionsExecutor.cpp /// //==============================================================...
8,092
839
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
756
432
<reponame>lambdaxymox/DragonFlyBSD<gh_stars>100-1000 /* Parser for linespec for the GNU debugger, GDB. Copyright (C) 1986-2013 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License...
40,727
428
/* * Copyright (c) 2020 Trail of Bits, 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 o...
599
1,754
<reponame>leonard84/ratpack<filename>ratpack-thymeleaf3/src/main/java/ratpack/thymeleaf3/internal/Thymeleaf3TemplateRenderer.java /* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License....
473
571
# Copyright 2015 Yahoo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
4,893
1,320
<gh_stars>1000+ /* * Copyright 2019 Flipkart Internet Pvt. 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...
488
5,937
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //------------------------------------------------------------------------------ // // // Description: // Co...
1,583
14,668
<filename>chrome/chrome_cleaner/tools/import_util.py # 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. """Utilities for importing python scripts and proto modules.""" import os import sys def AddImportPath...
457
381
<gh_stars>100-1000 package de.dennisguse.opentracks.util; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import java.util.UUID; import static org.junit.Assert.assertEquals; @RunWith(AndroidJUnit4.class) public class UUIDUtilsTest { @Test publi...
218
517
<filename>gratipay/utils/timer.py<gh_stars>100-1000 import time def start(): return {'start_time': time.time()} def end(start_time, website): if website.log_metrics: print("count#requests=1") response_time = time.time() - start_time print("measure#response_time={}ms".format(response_ti...
134
118,175
<gh_stars>1000+ /* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.yoga; import javax.annotation.Nullable; public abstract class YogaNode implements YogaProps ...
1,559
3,282
// 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.upgrade; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.os.Hand...
2,061
672
<filename>velox/common/base/BloomFilter.h /* * Copyright (c) Facebook, Inc. and its affiliates. * * 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/L...
1,078
742
/* * Copyright (c) 2008, <NAME>, 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 list of ...
2,787
965
// Initialize two separate raw pointers. // Note that they contain the same values. auto song1 = new Song(L"Village People", L"YMCA"); auto song2 = new Song(L"Village People", L"YMCA"); // Create two unrelated shared_ptrs. shared_ptr<Song> p1(song1); shared_ptr<Song> p2(song2); //...
265
14,668
// Copyright (c) 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 <GLES2/gl2.h> #include <GLES2/gl2ext.h> #include <stdint.h> #include "gpu/command_buffer/tests/gl_manager.h" #include "gpu/command_buffer/te...
617
484
# # Valuation of Zero-Coupon Bonds # in Cox-Ingersoll-Ross (1985) Model # 09_gmm/CIR_zcb_valuation.py # # (c) Dr. <NAME> # Derivatives Analytics with Python # import math import numpy as np # # Example Parameters CIR85 Model # kappa_r, theta_r, sigma_r, r0, T = 0.3, 0.04, 0.1, 0.04, 1.0 # # Zero-Coupon Bond Valuation...
850
632
<filename>library/src/androidTest/java/com/qiniu/android/transaction/TransactionManagerTest.java<gh_stars>100-1000 package com.qiniu.android.transaction; import com.qiniu.android.BaseTest; import com.qiniu.android.utils.LogUtil; import com.qiniu.android.utils.Utils; import java.util.Date; /** * Created by yangsen o...
1,476
614
<reponame>sahilsethi160492/FootballData<gh_stars>100-1000 [ { "home": "Belgium", "away": "Italy", "homescore": "0", "awayscore": "2" }, { "home": "Spain", "away": "Czech Republic", "homescore": "1", "awayscore": "0" }, { "home": "Republic of Ireland", "away": "Sweden", "homescore": "1", "awayscore": "1" }, { "h...
413
1,364
#include "services/user_services/remote_port_forwarding.h" #include "tests/services/stream_fixture_test.h" class RemoteStreamForwardTest : public StreamFixtureTest<ssf::services::RemotePortForwarding> { ssf::UserServiceParameters CreateUserServiceParameters( boost::system::error_code& ec) override { r...
869
3,301
package com.alibaba.alink.operator.batch.sql; import org.apache.flink.ml.api.misc.param.Params; import com.alibaba.alink.operator.batch.BatchOperator; /** * Remove duplicated records. */ public final class DistinctBatchOp extends BaseSqlApiBatchOp <DistinctBatchOp> { private static final long serialVersionUID = ...
219
5,079
from __future__ import absolute_import, unicode_literals import pytest import celery from celery.app.task import Task as ModernTask from celery.task.base import Task as CompatTask @pytest.mark.usefixtures('depends_on_current_app') class test_MagicModule: def test_class_property_set_without_type(self): ...
538
348
{"nom":"Saint-Souplet","circ":"18ème circonscription","dpt":"Nord","inscrits":946,"abs":576,"votants":370,"blancs":24,"nuls":21,"exp":325,"res":[{"nuance":"UDI","nom":"<NAME>","voix":213},{"nuance":"REM","nom":"Mme <NAME>","voix":112}]}
94
333
// // NSDecimalNumber+Addtion.h // 有应用应用 // // Created by xuliying on 15/10/15. // Copyright (c) 2015年 xly. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, calculationType) { Add, Subtract, Multiply, Divide }; typedef enum : NSInteger { SUPDY = NSOrd...
1,042
473
<gh_stars>100-1000 /* * Copyright (c) 2016 Kaprica Security, Inc. * * Permission is hereby granted, cgc_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...
921
5,169
{ "name": "GMURDVTabBarController", "version": "0.0.3", "summary": "GMURDVTabBarController.", "description": "GMURDVTabBarController is very good", "homepage": "https://github.com/lanmeishijie/GMURDVTabBarController", "license": "MIT", "authors": { "edz": "<EMAIL>" }, "platforms": { "ios": "8....
276
1,172
<gh_stars>1000+ // Copyright (C) 2009 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...
2,656
567
<reponame>Thefrank/arcade<filename>src/Microsoft.DotNet.Helix/Sdk/tools/azure-pipelines/reporter/run.py import os import re import sys import time import traceback import logging import shutil from queue import Queue from threading import Thread, Lock from typing import Tuple, Optional from helpers import get_env fro...
824
777
<gh_stars>100-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. #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_NATIVE_APP_LAUNCHER_NATIVE_APP_WHITELIST_MANAGER_H_ #define IOS_PUBLIC_PROVIDER_CHROME_BROWS...
576
532
/******************************************************************************** * This file is part of CinoLib * * Copyright(C) 2016: <NAME> * * ...
2,823
988
/** * Copyright (C) 2011-2015 The XDocReport Team <<EMAIL>> * * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including ...
2,788
338
[{"name":"class CaptureController","description":"dev.shreyaspatil.capturable.controller.CaptureController","location":"capturable/dev.shreyaspatil.capturable.controller/-capture-controller/index.html","searchKeys":["CaptureController","class CaptureController","dev.shreyaspatil.capturable.controller.CaptureController"...
430
2,174
package com.gaoxi.order.component.idempotent; import com.alibaba.dubbo.common.utils.CollectionUtils; import com.alibaba.dubbo.common.utils.StringUtils; import com.gaoxi.context.OrderProcessContext; import com.gaoxi.entity.order.OrdersEntity; import com.gaoxi.enumeration.order.OrderStateEnum; import com.gaoxi.exception...
1,700
12,252
<gh_stars>1000+ /* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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 * * ...
1,751
5,852
<filename>proxygen/lib/http/codec/ControlMessageRateLimitFilter.h /* * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <folly/io/as...
2,396
1,720
<reponame>Croden1999/Play- #include "AcceleratorTable.h" using namespace Framework::Win32; CAcceleratorTable::CAcceleratorTable(HACCEL accel) : m_accel(accel) { } CAcceleratorTable::~CAcceleratorTable() { DestroyAcceleratorTable(m_accel); } CAcceleratorTable::operator HACCEL() const { return m...
145
471
<filename>forest-core/src/main/java/com/dtflys/forest/converter/xml/ForestJaxbConverter.java package com.dtflys.forest.converter.xml; import com.dtflys.forest.exceptions.ForestConvertException; import com.dtflys.forest.exceptions.ForestRuntimeException; import com.dtflys.forest.http.ForestBody; import com.dtflys.fores...
1,901
631
<gh_stars>100-1000 /** * Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either v...
278,737
892
{ "schema_version": "1.2.0", "id": "GHSA-p3pw-rc39-p424", "modified": "2022-05-01T07:45:43Z", "published": "2022-05-01T07:45:43Z", "aliases": [ "CVE-2006-7219" ], "details": "eZ publish before 3.8.5 does not properly enforce permissions for editing in a specific language, which allows remote authentic...
499
764
<filename>erc20/0x4F9254C83EB525f9FCf346490bbb3ed28a81C667.json { "symbol": "CELR", "address": "0x4F9254C83EB525f9FCf346490bbb3ed28a81C667", "overview": { "en": "Celer Network is a layer-2 scaling platform to build fast, easy-to-use, low-cost and secure blockchain applications at internet scale using off-chai...
541
356
/* * Copyright 2015-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 t...
1,297
8,772
<reponame>dgusoff/cas<filename>api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/AuthenticationResultBuilderFactory.java package org.apereo.cas.authentication; import java.io.Serializable; /** * This is {@link AuthenticationResultBuilderFactory}, which is responsible to * produce au...
214
691
<reponame>knah/HLSLcc<gh_stars>100-1000 #pragma once #include <stdint.h> #include <string> #include <set> #include "bstrlib.h" class Shader; class GLSLCrossDependencyData; class ShaderPhase; class Translator; class Operand; class HLSLccReflection; class HLSLCrossCompilerContext { public: HLSLCrossCompilerContext...
856
406
package com.braintreepayments.api; import android.os.Parcel; import org.json.JSONException; import org.json.JSONObject; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertF...
1,336
303
package com.rilixtech.countrycodepicker; import android.os.Bundle; import androidx.fragment.app.Fragment; import android.text.Editable; import android.text.TextWatcher; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditT...
1,986
4,054
<reponame>Anlon-Burke/vespa // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "attribute_initializer_result.h" namespace proton { AttributeInitializerResult::AttributeInitializerResult(const AttributeVectorSP &attr) : _attr(attr) { } AttributeInit...
118