max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,657
<reponame>mens-artis/Auto-PyTorch from autoPyTorch.core.autonet_classes.autonet_feature_data import AutoNetFeatureData class AutoNetMultilabel(AutoNetFeatureData): preset_folder_name = "feature_multilabel" # OVERRIDE @staticmethod def _apply_default_pipeline_settings(pipeline): from autoPyTorc...
902
765
<gh_stars>100-1000 # TestObjCImportedTypes.py # # This source file is part of the Swift.org open source project # # Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors # Licensed under Apache License v2.0 with Runtime Library Exception # # See https://swift.org/LICENSE.txt for license information # See h...
1,143
2,177
package org.nutz.castor.model; import java.io.Serializable; import java.util.List; import java.util.Map; /** * create by zhouwenqing 2017/7/26 . */ @SuppressWarnings("rawtypes") public class User extends BaseTreeEntity<Long, User> implements Serializable { private static final long serialVersionUID = -1943438...
389
17,104
// Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the Licens...
715
3,442
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty 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.or...
2,191
4,071
/* Copyright (C) 2016-2018 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 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 ...
431
349
package com.jakewharton.rx; import io.reactivex.Notification; import io.reactivex.Observable; import io.reactivex.functions.Function; import io.reactivex.observables.GroupedObservable; import java.util.concurrent.atomic.AtomicInteger; import org.junit.Test; public final class WindowIfChangedTest { private final Fun...
1,801
1,603
<gh_stars>1000+ package com.linkedin.datahub.graphql.types.dataprocessinst.mappers; import com.linkedin.datahub.graphql.generated.DataProcessInstanceRunResultType; import com.linkedin.datahub.graphql.types.mappers.ModelMapper; import com.linkedin.dataprocess.DataProcessInstanceRunResult; import javax.annotation.Nonnul...
487
575
// 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_CHROMEOS_ARC_ACCESSIBILITY_GEOMETRY_UTIL_H_ #define CHROME_BROWSER_CHROMEOS_ARC_ACCESSIBILITY_GEOMETRY_UTIL_H_ #include "chrome/br...
625
1,818
// // TencentWeibo.h // ShareService // // Created by QFish on 8/8/13. // Copyright (c) 2013 com.bee-framework. All rights reserved. // #import "TencentWeiboApi.h" @interface TencentWeibo : NSObject AS_SINGLETON( TencentWeibo ); @property (nonatomic, retain) NSString * text; @property (nonatomic, retain) NSObje...
299
995
<filename>core/src/main/java/zemberek/core/IndexedItem.java<gh_stars>100-1000 package zemberek.core; /** * An item with an index. This is useful when we want to keep track of a sequence of items processed * by a system that would change the processing order. */ public class IndexedItem<T> implements Comparable<Inde...
259
883
<reponame>RakhithJK/andriller<gh_stars>100-1000 import os import re import base64 import logging import pathlib import sqlite3 import datetime import functools import xml.etree.ElementTree from contextlib import suppress from . import config from . import engines from .config import SQLITE_MAGIC logger = logging.getLo...
6,468
8,569
<reponame>junglerobba/sway #include <libevdev/libevdev.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include "sway/commands.h" #include "sway/config.h" #include "sway/input/cursor.h" #include "list.h" #include "log.h" #include "stringop.h" static struct cmd_results *binding_add(struct bar_binding *b...
1,510
303
<reponame>1443213244/small-package // // main.c // DaoNet // // Created by realityone on 15/9/27. // Copyright © 2015年 realityone. All rights reserved. // #include <stdio.h> #include <sys/types.h> #include <getopt.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <arpa/inet.h> #include "fram...
4,483
318
<gh_stars>100-1000 /* Copyright 2017 <NAME> <p> 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 <p> http://www.apache.org/licenses/LICENSE-2.0 <p> Unless required by applicable law ...
703
692
#define lin1_N 11 /* can be anything >= p */ #define lin1_P 5 #define lin1_NTRIES 3 static double lin1_x0[lin1_P] = { 1.0, 1.0, 1.0, 1.0, 1.0 }; static double lin1_epsrel = 1.0e-10; static void lin1_checksol(const double x[], const double sumsq, const double epsrel, const char *snam...
944
4,020
<reponame>CrackerCat/Recaf package me.coley.recaf.workspace; import me.coley.recaf.util.IOUtil; import me.coley.recaf.util.NetworkUtil; import java.io.IOException; import java.io.OutputStream; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.n...
1,112
440
{ "name": "jpillora/jquery.rest", "version": "1.0.2", "main": "dist/1/jquery.rest.js", "description": "A jQuery plugin for easy consumption of REST APIs", "license": "MIT", "ignore": [ "*", "!bower.json", "!dist/1/jquery.rest.js", "!dist/1/jquery.rest.min.js" ], "dependencies": {}, "de...
151
1,002
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // // Licensed under the MIT License. See LICENSE.txt in the project root for license information. #pragma once #include "StubStorageFileStatics.h" namespace canvas { class StubFontManagerAdapter : public CustomFontManagerAdapter { ...
370
384
# -*- coding: utf-8 -*- # Copyright JS Foundation and other contributors, https://js.foundation/ # # 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 # ...
1,185
4,551
<reponame>quipper/robolectric package org.robolectric.shadows.testing; import android.telecom.Connection; import android.telecom.ConnectionRequest; import android.telecom.ConnectionService; import android.telecom.PhoneAccountHandle; import javax.annotation.Nullable; /** A fake {@link ConnectionService} implementation...
606
1,134
<filename>SLPagingView/Categories/UIColor+SLAddition.h // // UIColor+SLAddition.h // TinderLike // // Created by <NAME> on 15/1/14. // Copyright (c) 2015年 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface UIColor (SLAddition) + (UIColor *)gradient:(double)percent top:(double)topX bottom:(double)...
145
590
package com.mploed.dddwithspring.creditsalesfunnel.model.realEstate; public enum ParkingSpace { NOT_PRESENT("Not present"), CARPORT("Carport"), GARAGE("Garage"); private final String displayName; ParkingSpace(String displayName) { this.displayName = displayName; } public String getDisplayName() { return ...
114
663
from import4 import * g = globals() if "_sym1" not in g: # Assume __all__ is not supported. Perform sanity check before # before finishing with SKIP. assert "sym2" in g assert "sym3" in g print("SKIP") raise SystemExit else: print(_sym1) print(sym2) print("sym3" in g)
124
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.peering.models; import com.azure.core.management.Region; import com.azure.core.util.Context; import com.azure.resourcemanager.pe...
4,032
330
package com.alphawallet.app.entity; import com.alphawallet.token.entity.Signable; public interface DAppFunction { void DAppError(Throwable error, Signable message); void DAppReturn(byte[] data, Signable message); }
75
790
#!/usr/bin/python2 # convert snap to mtx import sys import random def convert(inputFile, outputFile, outputExt): commentDelimiter = '%' outputFile.write('%%MatrixMarket matrix coordinate pattern symmetric'+'\n') firstDataLine = True while 1: line = inputFile.readline() if not line: return ...
464
350
{ "short_name": "Aptos", "name": "Aptos Wallet", "version": "0.0.1", "manifest_version": 2, "browser_action": { "default_popup": "index.html" }, "content_scripts": [{ "matches": ["<all_urls>"], "js": [ "contentscript.js" ], "run_at": "document_start" }], "web_accessible_resou...
197
14,668
<filename>ui/gl/direct_composition_child_surface_win.h // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_GL_DIRECT_COMPOSITION_CHILD_SURFACE_WIN_H_ #define UI_GL_DIRECT_COMPOSITION_CHILD_SURFAC...
2,144
1,779
// // Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
2,882
6,989
#line 1 "numpy/core/src/umath/loops.h.src" /* ***************************************************************************** ** This file was autogenerated from a template DO NOT EDIT!!!! ** ** Changes should be made to the original source (.src) file ** ***********************************...
50,825
828
/* * Copyright 2008-2009 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 ap...
1,076
5,683
{ "usingComponents": { "mp-halfScreenDialog": "weui-miniprogram/half-screen-dialog/half-screen-dialog" }, "navigationBarTitleText": "half-screen-dialog" }
65
778
import os import KratosMultiphysics as Kratos from KratosMultiphysics import Logger Logger.GetDefaultOutput().SetSeverity(Logger.Severity.WARNING) import KratosMultiphysics.KratosUnittest as KratosUnittest import KratosMultiphysics.DEMApplication.DEM_analysis_stage import KratosMultiphysics.kratos_utilities as kratos_...
6,998
1,144
<reponame>bingchunjin/1806_SDK /* * swlib.h: Switch configuration API (user space part) * * Copyright (C) 2008-2009 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as published by the Free Softwa...
2,299
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 ...
9,981
1,609
package com.mossle.humantask.rule; import java.util.List; import com.mossle.api.org.OrgConnector; import com.mossle.core.spring.ApplicationContextHelper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.jdbc.core.JdbcTemplate; /** * 获得部门最接近的对应的岗位的人的信息. * */ public class Posi...
330
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. /*************************************************************************** * module: TTFTABLE.C * * * aRoutine...
38,856
320
# An example showing how to use sensor data, here with the SenseHAT (or SenseHAT emulator) # Refer to RaspberryPi forums Teaching and learning resources : https://www.raspberrypi.org/forums/viewtopic.php?f=49&t=202386 for some talk using it. # compass added for show, but commented as it will not work if just enabled f...
1,771
431
/** * Copyright © 2006-2016 Web Cohesion (<EMAIL>) * * 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 applicabl...
688
1,991
<reponame>qq758689805/Pocsuite-dev<gh_stars>1000+ #!/usr/bin/env python # coding: utf-8 from setuptools import setup, find_packages from pocsuite import ( __version__ as version, __author__ as author, __author_email__ as author_email, __license__ as license) setup( name='pocsuite', version=version, ...
533
402
<reponame>padrecedano/android-speech<filename>speech/src/main/java/net/gotev/speech/engine/BaseSpeechRecognitionEngine.java package net.gotev.speech.engine; import android.content.Context; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.speech.RecognizerIntent; import a...
5,129
311
//package com.sec.exploits.CommonsCollections; // //import org.apache.commons.collections.Transformer; //import org.apache.commons.collections.functors.ChainedTransformer; //import org.apache.commons.collections.functors.ConstantTransformer; //import org.apache.commons.collections.functors.InvokerTransformer; // //impo...
1,404
337
package test; public class A { public void usage(RemData p) { System.out.println(p.component1()); } }
48
4,904
<reponame>jagrutifrankdemo/async-http-client<filename>client/src/main/java/org/asynchttpclient/handler/resumable/ResumableIOExceptionFilter.java /* * Copyright (c) 2010-2012 Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file ...
493
575
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_PAGE_LOAD_METRICS_RENDERER_FAKE_PAGE_TIMING_SENDER_H_ #define COMPONENTS_PAGE_LOAD_METRICS_RENDERER_FAKE_PAGE_TIMING_SENDER_H_ #includ...
2,293
3,834
package org.enso.table.parsing; import java.time.LocalTime; import java.util.Locale; public class TimeParser extends BaseTimeParser { public TimeParser(String[] formats, Locale locale) { super(formats, locale, LocalTime::parse); } }
79
945
<filename>Modules/Core/Common/src/itkPlatformMultiThreader.cxx<gh_stars>100-1000 /*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
2,460
892
{ "schema_version": "1.2.0", "id": "GHSA-m3p6-3gv6-4226", "modified": "2021-12-21T00:00:56Z", "published": "2021-12-17T00:00:39Z", "aliases": [ "CVE-2020-18984" ], "details": "A reflected cross-site scripting (XSS) vulnerability in the zimbraAdmin/public/secureRequest.jsp component of Zimbra Collabora...
362
672
#!/usr/bin/env python3 # 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 require...
3,231
556
""" Smoke Plume Hot smoke is emitted from a circular region at the bottom. The simulation computes the resulting air flow in a closed box. """ from phi.flow import * DOMAIN = dict(x=64, y=64, bounds=Box[0:100, 0:100]) velocity = StaggeredGrid((0, 0), extrapolation.ZERO, **DOMAIN) # or use CenteredGrid smoke = Cente...
345
348
{"nom":"Sainte-Euphémie","circ":"2ème circonscription","dpt":"Ain","inscrits":1100,"abs":654,"votants":446,"blancs":28,"nuls":15,"exp":403,"res":[{"nuance":"MDM","nom":"<NAME>","voix":252},{"nuance":"LR","nom":"<NAME>","voix":151}]}
94
435
<reponame>glasnt/data { "copyright_text": "CC-BY-NC-SA 4.0", "description": "Welcome back to PyConline AU 2021!\n\nProgram: http://2021.pycon.org.au/program\nRegister: http://2021.pycon.org.au/attend", "duration": 99, "language": "eng", "recorded": "2021-09-11", "related_urls": [ { "label": "Confe...
467
3,259
import base64 import http.server as SimpleHTTPServer import select import socket import socketserver as SocketServer import threading from urllib.request import urlopen def pipe_sockets(sock1, sock2, timeout): """Pipe data from one socket to another and vice-versa.""" sockets = [sock1, sock2] try: ...
4,772
1,205
<filename>qutip/control/__init__.py<gh_stars>1000+ from qutip.control.grape import *
34
1,013
/*! @authors <NAME> (<EMAIL>) @date 2014-2020 @copyright BSD-3-Clause */ #pragma once #include <pyclustering/interface/pyclustering_package.hpp> #include <pyclustering/definitions.hpp> /** * * @brief Clustering algorithm CURE returns allocated clusters. * @details Caller should destroy returned clustering ...
774
15,092
{ "title": "Third party libraries", "slug": "third-party", "description": "There are several 3rd party libraries that you can use to add additional functionality and features to your BootstrapVue project." }
56
912
# -*- coding: utf-8 -*- ''' # Copyright (c) 2015 Microsoft Corporation # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to us...
1,265
323
<gh_stars>100-1000 #ifndef _ROS_baxter_core_msgs_EndEffectorState_h #define _ROS_baxter_core_msgs_EndEffectorState_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" #include "ros/time.h" namespace baxter_core_msgs { class EndEffectorState : public ros::Msg { public: typ...
4,556
4,050
/* * Copyright 2020 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 i...
433
775
""" Model templates registry. """ # Copyright (C) 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...
1,693
419
/* * Copyright (C) 2015-2018 Alibaba Group Holding Limited */ #include <stdio.h> #include <unistd.h> #include <string.h> #include <stdlib.h> #include "tsl_format_export.h" typedef struct { char *src; char *dst; int is_slim; } env_t; void usage() { printf("Usage: app [option]\n"); printf("\t-i...
928
1,019
<gh_stars>1000+ package com.roncoo.education.course.service.dao; import com.roncoo.education.course.service.dao.impl.mapper.entity.DicList; import com.roncoo.education.course.service.dao.impl.mapper.entity.DicListExample; import com.roncoo.education.util.base.Page; public interface DicListDao { int save(DicList r...
187
675
#include "Exception.h" #include "engine/core/log/Log.h" namespace Echo { Exception::Exception() : m_lineNum(0) { } Exception::Exception(const String& msg) : m_msg(msg) , m_lineNum(0) { } Exception::Exception(const String &msg, const String &filename, ui32 lineNum) : m_msg(msg) , m_filename(filename)...
349
12,536
// Copyright 2019 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...
4,813
14,425
<reponame>bzhaoopenstack/hadoop /** * 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, Ver...
2,611
1,353
/* * Copyright (c) 2017, <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...
4,674
777
<reponame>google-ar/chromium // Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_SINK_WITH_CAST_MODES_H_ #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA...
398
575
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.autofill_assistant; import static androidx.test.espresso.matcher.ViewMatchers.isCompletelyDisplayed; import static an...
4,836
1,444
package mage.cards.h; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.PutIntoGraveFromAnywhereSourceTriggeredAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.PreventionEffectData; import mage.abilities.effects.PreventionEf...
1,316
5,169
<gh_stars>1000+ { "name": "SSCustomTabMenu", "version": "0.1.7", "summary": "Custom tab menu controller for iOS.", "description": "This CustomTabMenu will add custom menu at bottom!", "homepage": "https://github.com/simformsolutions/SSCustomTabMenu", "license": { "type": "MIT", "file": "LICENSE" }...
526
369
// Copyright (c) 2017-2021, Mudita <NAME>.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "NotifyGUIBedtimeReminderAction.hpp" #include <service-appmgr/include/service-appmgr/Constants.hpp> #include <appmgr/messages/AlarmMessage.hpp> namespace alarms { Notif...
266
1,240
// SEEDocumentListGroupTableRowView.h // SubEthaEdit // // Created by <NAME> on 24.02.14. #import <Cocoa/Cocoa.h> @interface SEEDocumentListGroupTableRowView : NSTableRowView @end
73
2,151
<reponame>MauroArgentino/RSXGL /* * Mesa 3-D graphics library * Version: 7.7 * * Copyright (C) 2009 <NAME> <<EMAIL>> * * 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 restric...
744
1,351
<reponame>heroku-miraheze/trafficserver /** @file Base class for log files @section license License 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. ...
2,359
2,728
<reponame>rsdoherty/azure-sdk-for-python # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # ---------------------------...
422
1,511
<gh_stars>1000+ /***************************************************************************** * * * Copyright (c) <NAME> 1993 * * ...
331
1,767
<gh_stars>1000+ package com.annimon.stream.test.hamcrest; import com.annimon.stream.Collectors; import com.annimon.stream.DoubleStream; import com.annimon.stream.Stream; import com.annimon.stream.function.Function; import org.hamcrest.Matcher; import org.hamcrest.StringDescription; import org.junit.Test; import static...
1,680
310
package org.seasar.doma.jdbc.criteria.declaration; import org.seasar.doma.jdbc.criteria.context.Join; public class JoinDeclaration extends ComparisonDeclaration { public JoinDeclaration(Join join) { super(() -> join.on, on -> join.on = on); } }
90
771
#ifndef SEGMATCH_SIMPLE_NORMAL_ESTIMATOR_HPP_ #define SEGMATCH_SIMPLE_NORMAL_ESTIMATOR_HPP_ #define PCL_NO_PRECOMPILE #include <pcl/features/normal_3d.h> #include "segmatch/normal_estimators/normal_estimator.hpp" namespace segmatch { /// \brief Least squares normal estimation as using the PCL implementation. class ...
655
416
<reponame>ljz663/tencentcloud-sdk-java<gh_stars>100-1000 /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 Licens...
4,063
2,151
<filename>third_party/blink/renderer/core/css/properties/longhands/baseline_shift_custom.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 "third_party/blink/renderer/core/css/properties/longh...
608
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/GMM.framework/GMM */ #import <GMM/XXUnknownSuperclass.h> @class LBSPoint, NSMutableArray, LBSAddress, NSString; @interface LBSUserLocation : XXUnknownSuperclass { LBSPoint *_latLng; // 4 = 0x4 NSString *_source; ...
2,090
992
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2016 Couchbase, 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 * * h...
22,539
416
/* NSExtensionRequestHandling.h Copyright (c) 2013-2019, Apple Inc. All rights reserved. */ #import <Foundation/Foundation.h> #if __OBJC2__ NS_ASSUME_NONNULL_BEGIN @class NSExtensionContext; // The basic NSExtensionRequestHandling protocol defines a lifecycle hook into the extension. Non view-controller-based ser...
296
763
package org.batfish.question.multipath; import static com.google.common.base.MoreObjects.firstNonNull; import static org.batfish.common.util.TracePruner.DEFAULT_MAX_TRACES; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import javax.annotation.Nonnull; impor...
823
571
/*************************************************************************** Copyright 2015 Ufora 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/licen...
783
14,361
<reponame>eivindbohler/GPUImage #import "GPUImage3x3TextureSamplingFilter.h" @interface GPUImageDirectionalSobelEdgeDetectionFilter : GPUImage3x3TextureSamplingFilter @end
61
1,362
package org.mitre.synthea.helpers; import java.util.Map; import org.yaml.snakeyaml.Yaml; /** * Helper class to parse a YAML file into a (hopefully) useable map format. * This is useful for arbitrary YAML which doesn't try to adhere to any schema. * (If it does adhere to a schema, * there are other methods to par...
595
568
<reponame>jgtaylor123/novoda_spikes<gh_stars>100-1000 package com.novoda.magicmirror; import android.Manifest; import android.app.Dialog; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v4.app.ActivityCompat; import android.support.v...
3,054
460
package org.sxdata.jingwei.service.Impl; import net.sf.json.JSONArray; import net.sf.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.sxdata.jingwei.bean.PageforBean; import org.sxdata.jingwei.dao.CarteInfoDao; import org.sxdata.j...
19,055
8,890
<reponame>PyVCEchecker/LightGBM<filename>tests/cpp_tests/test.py # coding: utf-8 from pathlib import Path import numpy as np preds = [np.loadtxt(str(name)) for name in Path(__file__).absolute().parent.glob('*.pred')] np.testing.assert_allclose(preds[0], preds[1])
103
471
package com.dtflys.spring.test.client0; import com.dtflys.forest.annotation.Request; /** * @author gongjun[<EMAIL>] * @since 2017-04-20 19:02 */ public interface BeastshopClient { @Request( url = "https://www.thebeastshop.com/", timeout = 80000, keyStore = "keystore1" ...
236
1,008
<filename>turms-plugins/turms-plugin-antispam/src/main/java/im/turms/plugin/antispam/character/data/U80.java /* * Copyright (C) 2019 The Turms Project * https://github.com/turms-im/turms * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
8,660
476
/**\file cloud_matcher.cpp * \brief Description... * * @version 1.0 * @author <NAME> */ // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <includes> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< #include <dynamic_robot_localization/common/commo...
426
5,774
/* * Nuklear - 1.32.0 - public domain * no warrenty implied; use at your own risk. * authored from 2015-2016 by <NAME> */ /* * ============================================================== * * API * * =============================================================== */ #ifndef NK_X...
6,907
634
#define WIN32_LEAN_AND_MEAN #define CINTERFACE #include <algorithm> #include <map> #include <vector> #include <dwmapi.h> #include <DDrawCompat/DDrawLog.h> #include <DDrawCompat/v0.3.1/D3dDdi/KernelModeThunks.h> #include <DDrawCompat/v0.3.1/D3dDdi/ScopedCriticalSection.h> #include <DDrawCompat/v0.3.1/DDraw/RealPrimar...
6,981
533
<filename>tests/test_cms_user.py<gh_stars>100-1000 # _*_ coding: utf-8 _*_ """ Created by Allen7D on 2020/4/12. """ from app import create_app from tests.utils import get_authorization __author__ = 'Allen7D' app = create_app() def test_get_user_list(): with app.test_client() as client: rv = client.get...
336
12,278
<gh_stars>1000+ // Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2012-2019 <NAME>, Amsterdam, the Netherlands. // Use, modification and distribution is 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...
1,159
596
<filename>src/test/java/com/ryantenney/metrics/spring/SharedRegistryTest.java /** * Copyright (C) 2012 <NAME> (<EMAIL>) * * 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...
463