max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
348
{"nom":"<NAME>","circ":"15ème circonscription","dpt":"Nord","inscrits":1093,"abs":475,"votants":618,"blancs":63,"nuls":12,"exp":543,"res":[{"nuance":"REM","nom":"<NAME>","voix":327},{"nuance":"FN","nom":"<NAME>","voix":216}]}
90
9,156
<filename>pulsar-broker/src/test/java/org/apache/pulsar/client/impl/ConsumeBaseExceptionTest.java<gh_stars>1000+ /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyrig...
1,061
392
<reponame>Da-Krause/settlers-remake /******************************************************************************* * Copyright (c) 2015 - 2017 * * 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 Sof...
1,307
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...
2,071
1,212
<gh_stars>1000+ /* how do mutable tags work with queries? normally with queries, once a result shows up, it never disappears so the whole query history is immutable or at least it should be but there's also negations and other things which can cause problems...? really, our queries reflect 1. the first point at whic...
5,565
3,702
<reponame>mondeique/metatron-discovery<gh_stars>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 applic...
686
416
<gh_stars>100-1000 // // HKWorkout.h // HealthKit // // Copyright (c) 2014 Apple Inc. All rights reserved. // #import <HealthKit/HKSample.h> NS_ASSUME_NONNULL_BEGIN @class HKQuantity; /*! @enum HKWorkoutActivityType @abstract Represents a particular type of workout or exercise */ typedef NS_ENUM...
9,140
307
#ifndef _frmWingEditor_H #define _frmWingEditor_H /* * Created by Ian "Goober5000" Warfield and "z64555" for the FreeSpace2 Source * Code Project. * * You may not sell or otherwise commercially exploit the source or things you * create based on the source. */ #include "base/wxFRED_base.h" #include <wx/wx.h> c...
218
852
import FWCore.ParameterSet.Config as cms # configuration to model pileup for initial physics phase from SimGeneral.MixingModule.mixObjects_cfi import theMixObjects from SimGeneral.MixingModule.mixPoolSource_cfi import * from SimGeneral.MixingModule.digitizers_cfi import * mix = cms.EDProducer("MixingModule", digi...
2,107
392
/******************************************************************************* * Copyright (c) 2015 - 2017 * * 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...
1,369
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. // ------------------------------------------------------------ /*++ Module Name: Common.h ...
560
5,169
{ "name": "BinarySearchTree", "version": "0.0.1", "summary": "An Objective-c implementation of a Binary Search Tree (BST)", "description": " Implemented from Algorithms, 4th Edition\n To be used in an Objective-c implementation of the Java metazelda dungeon generator.\n", "...
312
4,267
/* * This file is part of the SSH Library * * Copyright (c) 2018 by Red Hat, Inc. * * Author: <NAME> <<EMAIL>> * * The SSH Library 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...
8,024
1,605
/***************************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses th...
1,312
1,780
<filename>include/cutlass/epilogue/threadblock/epilogue_with_broadcast.h /*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without mod...
10,683
11,356
<reponame>Mistobaan/coremltools # Python < 3 needs this: coding=utf-8 import pytest from pybind11_tests import ExamplePythonTypes, ConstructorStats, has_optional, has_exp_optional def test_repr(): # In Python 3.3+, repr() accesses __qualname__ assert "ExamplePythonTypes__Meta" in repr(type(ExamplePythonTypes...
6,937
611
<reponame>bforemanl/TulipFarm<filename>stratum/node_modules/multi-hashing/src/cryptonight.h<gh_stars>100-1000 #ifndef CRYPTONIGHT_H #define CRYPTONIGHT_H #ifdef __cplusplus extern "C" { #endif #include <stdint.h> void cryptonight_hash(const char* input, char* output, uint32_t len, int variant, uint64_t height); void...
170
364
package org.cyclopsgroup.jmxterm.cc; import static org.junit.Assert.assertEquals; import java.beans.IntrospectionException; import java.io.IOException; import java.io.StringWriter; import java.util.Arrays; import java.util.HashSet; import org.cyclopsgroup.jmxterm.MockSession; import org.cyclopsgroup.jmxterm.SelfRecor...
976
14,514
import pytest import os import copy from appium import webdriver from helpers import report_to_sauce, take_screenshot_and_syslog, IOS_BASE_CAPS, EXECUTOR class TestIOSSelectors(): @pytest.fixture(scope='function') def driver(self, request, device_logger): calling_request = request._pyfuncitem.name ...
747
2,023
# linenum.py import traceback, textwrap def LN(*args, **kwargs): """Prints a line number and some text. A variable number of positional arguments are allowed. If LN(obj0, obj1, obj2) is called, the text part of the output looks like the output from print obj0, obj1, obj2 The optional ...
643
825
<reponame>WangLao100/Hummer<gh_stars>100-1000 // // HMRefreshBaseView.h // Hummer // // Copyright © 2019年 didi. All rights reserved. // #import <UIKit/UIKit.h> @class HMBaseValue; typedef NS_ENUM(NSUInteger, HMRefreshType) { HMRefreshTypeNormal = 0, // 正常状态 HMRefreshTypeWillRefresh, // 将要刷新 HMRefreshTy...
763
1,355
// Copyright (c) 2018 <NAME> // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #include <pch.h> #include <jet/points_to_implicit3.h> using namespace jet; PointsToImplicit3::PointsToIm...
114
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/chrome_cleaner/http/user_agent.h" #include "testing/gtest/include/gtest/gtest.h" namespace chrome_cleaner { TEST(UserAgentTest, BasicT...
241
2,151
<reponame>zipated/src<filename>device/gamepad/gamepad_user_gesture.cc<gh_stars>1000+ // 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. #include "device/gamepad/gamepad_user_gesture.h" #include <math....
485
456
<reponame>voluntadpear/docsearch-configs { "index_name": "opalrb", "start_urls": [ "http://opalrb.com/docs/guides/master", "http://opalrb.com/docs/api/master" ], "stop_urls": [], "selectors": { "lvl0": "nav + .container h1, #content h1", "lvl1": "nav + .container h2, #content h2", "lvl2": ...
287
2,151
/* * Copyright 2017 The WebRTC project 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 the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
179
348
{"nom":"Lestelle-de-Saint-Martory","circ":"8ème circonscription","dpt":"Haute-Garonne","inscrits":356,"abs":167,"votants":189,"blancs":23,"nuls":13,"exp":153,"res":[{"nuance":"SOC","nom":"M. <NAME>","voix":89},{"nuance":"REM","nom":"M. <NAME>","voix":64}]}
104
2,177
/* * Copyright 2019 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License"). See License in the project root for license information. */ package com.linkedin.kafka.cruisecontrol.servlet.parameters; import com.linkedin.kafka.cruisecontrol.servlet.CruiseControlEndPoint; import java.io.UnsupportedEncodi...
618
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.features.start_surface; import static org.chromium.chrome.features.start_surface.StartSurfaceProperties.BOTTOM_BAR_HEIGHT; im...
1,642
571
/** Implementation of mexopencv_aruco. * @file mexopencv_aruco.cpp * @ingroup aruco * @author Amro * @date 2016 */ #include "mexopencv_aruco.hpp" #include <cstdlib> using std::vector; using std::string; using namespace cv; using namespace cv::aruco; // ==================== XXX ==================== Ptr<Detector...
5,915
310
{ "name": "PolyTune 2", "description": "A guitar tuner.", "url": "http://www.tcelectronic.com/polytune-2/" }
48
704
<reponame>misselvexu/mixmicro-jgroups<filename>src/org/jgroups/protocols/FD_SOCK2.java<gh_stars>100-1000 package org.jgroups.protocols; import org.jgroups.*; import org.jgroups.annotations.*; import org.jgroups.blocks.cs.Connection; import org.jgroups.blocks.cs.ConnectionListener; import org.jgroups.blocks.cs.NioServe...
13,827
965
// A basic lightweight task that you schedule directly from a // Scheduler or ScheduleGroup object. void ThreadProc(void* data) { // Initialize the COM library on the current thread. CoInitializeEx(NULL, COINIT_MULTITHREADED); // TODO: Perform work here. // Free the COM library. CoUninitialize()...
104
1,056
<filename>php/php.composer/src/org/netbeans/modules/php/composer/options/ComposerOptions.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 A...
1,375
505
<filename>intercept-methods-with-cdi-interceptors/src/main/java/de/rieckpil/blog/ManipulatedPayment.java<gh_stars>100-1000 package de.rieckpil.blog; import javax.interceptor.InterceptorBinding; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.*;...
167
1,133
<reponame>vincentschut/isce2 #!/usr/bin/env python3 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Copyright 2012 California Institute of Technology. ALL RIGHTS RESERVED. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in comp...
2,493
3,967
// Copyright (c) 2017-2018, NVIDIA CORPORATION. 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 requ...
8,865
2,151
<filename>chrome/browser/ui/views/passwords/password_bubble_view_base.cc // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/passwords/password_bubble_view_base.h" #includ...
2,328
10,225
package io.quarkus.vault.runtime; import java.io.IOException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.deser.std.StdDeserializer; public class Base64StringDeserializer extends StdDeserializer<Base64String> { ...
254
892
{ "schema_version": "1.2.0", "id": "GHSA-3mf5-g7fj-qj4f", "modified": "2022-05-13T01:39:19Z", "published": "2022-05-13T01:39:19Z", "aliases": [ "CVE-2012-5218" ], "details": "HP ElitePad 900 PCs with BIOS F.0x before F.01 Update 1.0.0.8 do not enable the Secure Boot feature, which allows local users t...
376
8,805
//---------------------------------------------------------------------------// // Copyright (c) 2013 <NAME> <<EMAIL>> // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // // See http://boostorg.github.com/c...
457
1,587
<filename>samples/nuxt.js/backend/.nuxt/routes.json [ { "name": "index", "path": "/", "component": "/Users/loicpoullain/Desktop/frontend/pages/index.vue", "chunkName": "pages/index", "_name": "_cad7d652" } ]
109
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 ...
4,494
679
<filename>main/forms/source/inc/componenttools.hxx /************************************************************** * * 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 copyr...
1,174
434
/* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ package com.amazonaws.services.lambda.runtime.api.client; import com.amazonaws.services.lambda.runtime.api.client.util.EnvReader; import static java.lang.Integer.parseInt; public class LambdaEnvironment { public static final EnvReader...
346
348
<filename>docs/data/leg-t2/084/08403141.json {"nom":"Vedène","circ":"3ème circonscription","dpt":"Vaucluse","inscrits":8238,"abs":4562,"votants":3676,"blancs":200,"nuls":73,"exp":3403,"res":[{"nuance":"REM","nom":"<NAME>","voix":1867},{"nuance":"FN","nom":"<NAME>","voix":1536}]}
118
8,027
/* * 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/LICENSE-2.0 * * Unless required by applic...
7,596
32,544
<reponame>zeesh49/tutorials<filename>jackson/src/test/java/com/baeldung/jackson/date/Event.java<gh_stars>1000+ package com.baeldung.jackson.date; import java.util.Date; public class Event { public String name; public Date eventDate; public Event() { super(); } public Event(final String n...
224
382
/* * Copyright 2019 Netflix, 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 to ...
694
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 ...
1,935
302
<gh_stars>100-1000 #ifndef LANGUAGEMODEL_H #define LANGUAGEMODEL_H #include "engine_global.h" #include <QObject> #include "ilanguagemodel.h" namespace BrowserAutomationStudioFramework { class ENGINESHARED_EXPORT LanguageModel : public ILanguageModel { Q_OBJECT QStringList EngineAvailableLangu...
380
831
<filename>plugins/gradle-dsl-impl/src/com/android/tools/idea/gradle/dsl/parser/android/AbstractFlavorTypeCollectionDslElement.java /* * Copyright (C) 2019 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 Lic...
593
988
/* * 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 ...
8,906
4,606
<reponame>dbatten5/dagster from .consolidated_sqlite_event_log import ConsolidatedSqliteEventLogStorage from .sqlite_event_log import SqliteEventLogStorage
51
32,544
<reponame>zeesh49/tutorials<filename>spring-hibernate4/src/main/java/com/baeldung/hibernate/fetching/util/HibernateUtil.java package com.baeldung.hibernate.fetching.util; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; public class HibernateUtil { @Suppr...
414
412
int main() { __assert_func(); return 0; }
20
1,604
package org.bouncycastle.pqc.jcajce.interfaces; import java.security.Key; /** * Base interface for Leighton-Micali Hash-Based Signatures (LMS) keys. */ public interface LMSKey extends Key { /** * Return the number of levels (L) associated with the key. * * @return L. */ int getLevels...
127
505
<filename>euporie/components/menu/contents.py<gh_stars>100-1000 # -*- coding: utf-8 -*- """Defines the application's menu structure.""" from pygments.styles import get_all_styles # type: ignore from euporie.commands.registry import get from euporie.components.menu.item import MenuItem from euporie.config import confi...
1,789
1,695
/* * 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 * distribut...
5,283
325
<filename>src/common/misc.cpp /* * Copyright (c) 2014-2021, NVIDIA CORPORATION. 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 without l...
2,870
1,281
<gh_stars>1000+ import asyncio from dataclasses import dataclass import sys import time import typing as tp from unittest import TestCase import unittest from unittest import mock import cytoolz as cz import hypothesis as hp from hypothesis import strategies as st import pytest from pypeln import utils as pypeln_util...
942
473
#ifndef KX_H_ #define KX_H_ #include "cgc_bn.h" #include "cgc_rng.h" typedef struct { bn_t P; bn_t Q; bn_t G; bn_t a; bn_t b; bn_t S; } kx_t; enum { KX_GROUP_1024_160, KX_GROUP_2048_224, KX_GROUP_2048_256, KX_GROUP_3072_3072, KX_GROUP_END }; int cgc_kx_init_std(kx_t *kx, ...
398
2,698
package io.pslab.communication; import java.util.HashMap; import java.util.Map; /** * Created by viveksb007 on 30/3/17. */ public class SensorList { public Map<Integer, String[]> sensorList = new HashMap<>(); public SensorList() { sensorList.put(0x00, new String[]{"Could be MLX90614. Try 0x5A"});...
1,326
329
/* * Copyright Contributors to the OpenCue 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 applicable...
527
361
<reponame>zhaozw/servicecomb-java-chassis /* * 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,331
640
<gh_stars>100-1000 ///////////////////////////////////////////////////////////// // EXAMPLE PROGRAM #4C // 04.2006 aralbrec // // Beginning from ex4a.c we have ten sprites, five of them // MASK and five of them XOR to distinguish between them. // Up to this point we have been using a single clipping // rectangle in al...
2,932
1,609
<filename>Code/GraphMol/Substruct/ullmann.hpp // morpho/cdl/bgl_expansions/algorithms/ullmann.hpp header file// // Copyright (c) 2003-2008 <NAME> // Copyright (c) 2007-2008 <NAME> and NCU Studies Ltd // Modifications by <NAME>, January 2009 // //**************************************************************************...
4,317
634
<reponame>jnthn/intellij-community /* * Copyright 2000-2013 JetBrains s.r.o. * * 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...
499
945
<filename>Modules/Filtering/QuadEdgeMeshFiltering/include/itkLaplacianDeformationQuadEdgeMeshFilterWithSoftConstraints.hxx /*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this...
2,538
2,032
<reponame>huayl/phxqueue<gh_stars>1000+ /* Tencent is pleased to support the open source community by making PhxQueue available. Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in compliance with the Li...
1,066
364
<gh_stars>100-1000 package com.linkedin.dagli.dl4j; import java.io.Serializable; import org.deeplearning4j.nn.api.Model; import org.deeplearning4j.optimize.api.BaseTrainingListener; class LossAccumulationListener extends BaseTrainingListener implements Serializable { private static final long serialVersionUID = 1;...
203
713
<filename>src/test/java/ExecTemplateJDK5.java /** * @Classname ExecTemplateJDK6 * @Author Welkin */ public class ExecTemplateJDK5 { static { System.out.println(); } }
74
348
<gh_stars>100-1000 {"nom":"Eppeville","circ":"5ème circonscription","dpt":"Somme","inscrits":1466,"abs":788,"votants":678,"blancs":14,"nuls":4,"exp":660,"res":[{"nuance":"UDI","nom":"<NAME>","voix":288},{"nuance":"FN","nom":"<NAME>","voix":204},{"nuance":"FI","nom":"M. <NAME>","voix":75},{"nuance":"COM","nom":"Mme <NAM...
231
5,703
/* * * Copyright 2017-2019 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
550
360
#pragma once #include "vulkan/vulkan.h" namespace tzw { struct BufferInfo { size_t getSize(); size_t getOffset(); VkDeviceMemory getMemory(); void * m_ptr; }; class DeviceMemoryPoolVK { public: DeviceMemoryPoolVK(VkPhysicalDevice phyDevice, VkDevice device, VkInstance inst); BufferInfo createBuffer(VkBuffer...
175
1,056
<filename>contrib/websvc.wsitconf/src/org/netbeans/modules/websvc/wsitconf/wsdlmodelext/AddressingModelHelper.java<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * r...
2,070
911
<gh_stars>100-1000 from django.apps import AppConfig class CommunityAppConfig(AppConfig): name = 'community'
37
303
<reponame>perry-contribs/database-as-a-service<filename>dbaas/maintenance/tests/test_database_resize_admin.py # -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.test import TestCase from django.contrib import admin from ..admin.database_resize import DatabaseResizeAdmin from .....
1,541
337
/* * Copyright 2005-2021 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1,460
2,497
<reponame>fakeNetflix/square-repo-flow /* * Copyright 2016 Square 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 r...
2,425
5,169
{ "name": "CSButton", "version": "0.5.1", "summary": "Custom the position of the ImageView relative to the titleLabel in UIButton. \n \n 一个UIButon的Category,可以调整图片与文字相对位置,图片和文字间距,指定文字宽度,以及图片显示大小。", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Joslyn": "<EMAIL>" }, "homepage...
366
848
"""Tests the decent_q.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import numpy as np from tensorflow.core.framework import graph_pb2 from tensorflow.core.protobuf.config_pb2 import ConfigProto from tensorflow.core.protobuf.meta_graph_pb2 ...
7,081
2,996
<gh_stars>1000+ // Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.rendering.nui.widgets.browser.data.html.basic; import org.terasology.engine.rendering.nui.widgets.browser.data.ParagraphData; import org.terasology.engine.rendering.nui.widgets.browser.ui.Pa...
333
4,283
<filename>hazelcast/src/main/resources/icmp_helper.c #include <unistd.h> #include <netinet/in.h> #include "icmp_helper.h" JNIEXPORT jboolean JNICALL Java_com_hazelcast_internal_util_ICMPHelper_isRawSocketPermitted0 (JNIEnv *env, jobject obj) { jint fd = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); if (fd !...
199
1,330
<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 * ...
3,198
599
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 TH<NAME>, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in complianc...
2,256
2,606
package weixin.popular.bean.bizwifi.qrcode; import weixin.popular.bean.bizwifi.base.ShopInfo; /** * @ProjectName weixin-popular * @Author: zeroJun * @Date: 2018/7/24 16:07 * @Description: */ public class QrcodeGet extends ShopInfo { private Integer img_id; public Integer getImg_id() { return img...
173
1,682
/* Copyright (c) 2012 LinkedIn Corp. 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...
532
1,112
"""freqresp_test.py - test frequency response functions RMM, 30 May 2016 (based on timeresp_test.py) This is a rudimentary set of tests for frequency response functions, including bode plots. """ import matplotlib.pyplot as plt import numpy as np from numpy.testing import assert_allclose import math import pytest i...
10,955
965
COleDateTimeSpan spanOne(3, 12, 0, 0); // 3 days and 12 hours COleDateTimeSpan spanTwo(spanOne); // 3 days and 12 hours BOOL b; b = spanOne == spanTwo; // TRUE b = spanOne < spanTwo; // FALSE, same value b = spanOne > spanTwo; // FALSE, same value ...
295
371
// Copyright © 2015 Estimote. All rights reserved. #import <Foundation/Foundation.h> /** * The possible modes of EILIndoorLocationManager position updates delivery. */ typedef NS_ENUM(NSInteger, EILIndoorLocationManagerMode) { /** * Standard mode - provides stable and responsive position updates. This mod...
3,172
4,873
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include "pch.h" #include <IReactInstance.h> #include <Views/ExpressionAnimationStore.h> #include <Views/FrameworkElementTransferProperties.h> #include <Views/FrameworkElementViewManager.h> #include <JSValueWriter....
13,949
1,350
<filename>sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/models/AzureIaaSClassicComputeVMProtectableItem.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Micro...
839
868
// Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless req...
3,195
605
<filename>llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp //===-- PPCTOCRegDeps.cpp - Add Extra TOC Register Dependencies -----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WIT...
2,159
4,879
<filename>drape_frontend/debug_rect_renderer.hpp<gh_stars>1000+ #pragma once #include "drape/debug_renderer.hpp" #include "drape/gpu_program.hpp" #include "drape/mesh_object.hpp" #include "drape/render_state.hpp" #include "shaders/program_params.hpp" #include "geometry/rect2d.hpp" #include "geometry/screenbase.hpp" ...
638
694
/* * 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...
650
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.azure.servicebus.security; /** * This class contains all security related constants. * @since 1.2.0 * */ public class SecurityConstants { /** * Resource URI to be used, fo...
393
207,812
<gh_stars>1000+ { "name": "perf-counters", "version": "0.1.2", "description": "Lightweight bindings to Linux perf event counters.", "main": "index.js", "license": "MIT", "dependencies": { "bindings": "^1.2.1" } }
95
1,030
<reponame>msmbaldwin/azure-policy { "setting": { "type": "String", "allowedValues": [ "enabled", "disabled" ], "metadata": { "displayName": "Threat Detection Setting" } } }
87