max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
921
package sqlancer.dbms; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assumptions.assumeTrue; import org.junit.jupiter.api.Test; import sqlancer.Main; public class TestMySQLTLP { String mysqlAvailable = System.getenv("MYSQL_AVAILABLE"); boolean mysqlIsAvail...
335
2,690
#ifndef SM_LOGGER_HPP #define SM_LOGGER_HPP #include <string> #include <chrono> namespace sm { namespace logging { struct LoggingEvent; class Logger { public: typedef std::chrono::system_clock Clock; typedef Clock::time_point Time; ...
397
379
package cc.bitky.clusterdeviceplatform.client.server.repo; import cc.bitky.clusterdeviceplatform.messageutils.msg.statusreply.MsgReplyDeviceStatus; public class MsgPackage { MsgReplyDeviceStatus chargeStatus; MsgReplyDeviceStatus workStatus; public MsgPackage(MsgReplyDeviceStatus chargeStatus, MsgReplyDe...
205
452
<reponame>suztomo/firebase-admin-java /* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
540
561
########################################################################## # # Copyright (c) 2011-2012, <NAME>. All rights reserved. # Copyright (c) 2011-2012, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided ...
2,578
852
#ifndef RecoSelectors_GenParticleCustomSelector_h #define RecoSelectors_GenParticleCustomSelector_h /* \class GenParticleCustomSelector * * \author <NAME>, UCSD * */ #include "DataFormats/HepMCCandidate/interface/GenParticle.h" class GenParticleCustomSelector { public: GenParticleCustomSelector() {}...
2,643
971
/* * Copyright (c) 2014 <NAME>. * * This program is made available under the terms of the MIT License. * * Created on Mar 10, 2014 */ #include "fakeit/EventHandler.hpp" #include "fakeit/FakeitContext.hpp" #include "fakeit/DefaultEventLogger.hpp" #include "fakeit/DefaultEventFormatter.hpp" namespace fakeit { ...
836
865
# # SPDX-License-Identifier: Apache-2.0 # from string import Template import os import yaml from api.config import CELLO_HOME class NodeConfig: """Class represents crypto-config yaml.""" def __init__(self, org, peer_file="core.yaml", orderer_file="orderer.yaml", ca_file=""): """ init node con...
2,445
3,227
#include "MainWindow.h" #include "typedefs.h" #include <QApplication> #include <CGAL/Qt/resources.h> #include <CGAL/Qt/init_ogl_context.h> int main(int argc, char** argv) { CGAL::Qt::init_ogl_context(4,3); QApplication application(argc,argv); application.setOrganizationDomain("geometryfactory.com"); applic...
247
1,093
<gh_stars>1000+ /* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unle...
2,132
1,853
<reponame>galorojo/cppinsights #include <array> int main() { // check that clamp works and we only initialize the first 100 elements. std::array<int, 100000> arr{}; char buffer[100000]{}; }
74
1,473
/* * Copyright 2020 NAVER 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...
401
3,144
//------------------------------------------------------------------------------ // Copyright (c) 2018 by contributors. 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 a...
1,457
367
<gh_stars>100-1000 import torch from torch import nn from torchvision.models import vgg11, vgg16, resnet34 """ Code heavily adapted from ternaus robot-surgery-segmentation https://github.com/ternaus/robot-surgery-segmentation """ class MultiClass_Resnet34(nn.Module): def __init__(self, num_classes=1, num_filter...
5,675
1,006
<gh_stars>1000+ /**************************************************************************** * arch/arm/src/imxrt/imxrt_iomuxc.h * * 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 reg...
2,478
2,151
<reponame>cohortfsllc/cohort-cocl2-sandbox /* * Copyright 2012 The Native Client 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 NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_ARM_V2_DECODE_H #define NATIVE_CLIENT_SRC_TRUSTED_VALID...
305
418
../../../Bolts/Bolts/Common/BFCancellationTokenSource.h
22
473
/* * Author: <NAME> <<EMAIL>> * * Copyright (c) 2014 Kaprica Security, Inc. * * 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 righ...
3,569
2,728
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
2,231
2,541
<reponame>chemzqm/wept // // WANavigationController.h // WeAppExample // // Created by lionvoom on 2020/11/16. // Copyright © 2020 wept. All rights reserved. // #import <UIKit/UIKit.h> @class WAAppTask; NS_ASSUME_NONNULL_BEGIN @interface WANavigationController : UINavigationController @property (nonatomic, weak...
145
643
package com.hellokoding.algorithm; import java.util.HashMap; import java.util.Map; public class WindowSliding_GivenString_FindMinSubstr { public static String findMinSubstr(String s, String t) { Map<Character, Integer> tChars = new HashMap<>(); for(char c : t.toCharArray()) { tChars.co...
816
634
<filename>server/data/data-cassandra/src/main/java/org/apache/james/rrt/cassandra/CassandraRecipientRewriteTable.java /**************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * * or more contributor license agreements. See the NOTICE file * * d...
1,626
777
<reponame>google-ar/chromium<filename>components/policy/core/common/cloud/user_cloud_policy_store.h // Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_CLOUD...
1,461
353
<gh_stars>100-1000 package com.wepay.waltz.test.mock; import com.wepay.zktools.clustermgr.ClusterManager; import com.wepay.zktools.clustermgr.ClusterManagerException; import com.wepay.zktools.clustermgr.Endpoint; import com.wepay.zktools.clustermgr.ManagedClient; import com.wepay.zktools.clustermgr.ManagedServer; impo...
1,580
550
<reponame>RalfRalf/java-sdk<filename>src/main/java/com/qiniu/storage/UploadOptions.java package com.qiniu.storage; import com.qiniu.util.StringMap; public final class UploadOptions { /** * 用于服务器上传回调通知的自定义参数,参数的key必须以x: 开头 eg: x:foo */ public final StringMap params; /** * 用于设置meta数据,参数的ke...
2,264
3,508
package com.fishercoder.solutions; import java.util.Arrays; public class _1979 { public static class Solution1 { public int findGCD(int[] nums) { Arrays.sort(nums); return getGcd(nums[0], nums[nums.length - 1]); } int getGcd(int a, int b) { return b == ...
185
442
#!/usr/bin/env python # BEGIN ALL import rospy from sensor_msgs.msg import LaserScan # BEGIN MEASUREMENT def scan_callback(msg): range_ahead = msg.ranges[len(msg.ranges)/2] print "range ahead: %0.1f" % range_ahead # END MEASUREMENT rospy.init_node('range_ahead') scan_sub = rospy.Subscriber('scan', LaserScan, sc...
139
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...
12,357
831
/* * Copyright 2013 MongoDB, 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 ...
3,667
318
<reponame>dreameverything/Gaea<gh_stars>100-1000 /* * Copyright Beijing 58 Information Technology Co.,Ltd. * * 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 co...
685
1,269
<reponame>cminusQAQ/graph4nlp<gh_stars>1000+ import copy import torch import torch.nn as nn import torch.nn.functional as F import torch.nn.init as init from graph4nlp.pytorch.models.base import Graph2XBase from graph4nlp.pytorch.modules.prediction.generation.decoder_strategy import DecoderStrategy from graph4nlp.pyto...
9,130
890
<gh_stars>100-1000 /* * * Copyright 2018 Asylo 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 appl...
396
1,279
<reponame>shoes22/openpilot bool flash_is_locked(void) { return (FLASH->CR & FLASH_CR_LOCK); } void flash_unlock(void) { FLASH->KEYR = 0x45670123; FLASH->KEYR = 0xCDEF89AB; } bool flash_erase_sector(uint8_t sector, bool unlocked) { // don't erase the bootloader(sector 0) if (sector != 0 && sector < 12 && un...
308
5,169
<reponame>Gantios/Specs { "name": "LinkV-Communication", "version": "0.0.1", "summary": "RTC + IM 优化接口", "description": "RTC + IM you can send im message", "homepage": "https://github.com/linkv-io/LinkV-Communication-iOS", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "wangya...
490
718
<filename>examples/Aviato/package.json { "name": "Aviato", "version": "0.0.1", "private": true, "scripts": { "start": "./node_modules/.bin/react-native start", "ios": "./node_modules/.bin/react-native run-ios", "android": "./node_modules/.bin/react-native run-android" }, "dependencies": { "r...
204
301
package com.sap.iot.starterkit.cert.type; import java.util.List; public class Envelope { private String messageType; private List<Message> messages; private String mode; public String getMessageType() { return messageType; } public void setMessageType(String messageType) { this.messageType = messageTyp...
193
14,668
<reponame>zealoussnow/chromium<filename>ui/gfx/animation/slide_animation.cc // 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 "ui/gfx/animation/slide_animation.h" #include <math.h> #include...
893
3,301
package com.alibaba.alink.operator.batch.recommendation; import org.apache.flink.ml.api.misc.param.Params; import com.alibaba.alink.operator.common.recommendation.ItemCfRecommKernel; import com.alibaba.alink.operator.common.recommendation.RecommType; import com.alibaba.alink.params.recommendation.BaseRateRecommParams...
264
5,169
{ "name": "TJMGameBoard", "version": "1.0.0", "summary": "A simple game board written in Objective-C.", "description": "I wrote this to implement a simple game board model object.", "homepage": "https://github.com/Cubd/Game-Board", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { ...
281
4,535
<gh_stars>1000+ // Copyright 2017-2018 Intel Corporation. #include "tile/hal/opencl/device_memory.h" #include <utility> #include "tile/hal/opencl/cl_mem_arena.h" #include "tile/hal/opencl/cl_mem_buffer.h" namespace vertexai { namespace tile { namespace hal { namespace opencl { DeviceMemory::DeviceMemory(const std:...
433
357
x = 48 y = 180 def gcd(x, y): while y != 0: hey = x x = y y = hey % y return x def lcm(a, b): return (a * b / gcd(a, b)) gcd(x, lcm(x,y)) print("GCD is %d" % gcd(x,y)) print("LCM is %d" % lcm(x,y)) gcd(gcd(y,x), lcm(x,y))
164
428
/* * 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,783
729
<gh_stars>100-1000 /* * Copyright (c) 2011-2021, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/master/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source ...
1,213
547
<gh_stars>100-1000 { "$meta": { "label": "Spanish", "humanizer_language": "es" }, "restarter": { "start_timeout": "Se ha agotado el tiempo de espera para el arranque.", "crash_detected": "Caída del servidor detectada.", "hang_detected": "Suspensión detectada", ...
1,027
450
<filename>forest-common/src/main/java/com/zhizus/forest/common/codec/Response.java package com.zhizus.forest.common.codec; import com.zhizus.forest.common.exception.ForestErrorMsg; import java.io.Serializable; /** * Created by Dempe on 2016/12/7. */ public class Response implements Serializable { private int...
506
841
<reponame>jgoestl/cgeo package cgeo.geocaching.maps.mapsforge.v6.layers; import cgeo.geocaching.maps.mapsforge.v6.TapHandler; import org.mapsforge.core.graphics.Canvas; import org.mapsforge.core.model.BoundingBox; import org.mapsforge.core.model.LatLong; import org.mapsforge.core.model.Point; import org.mapsforge.map...
387
531
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" struct FMathStruct { static int32 Add(int32 A, int32 B); static float Add(float A, float B); };
69
521
<reponame>Fimbure/icebox-1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in...
1,043
621
<reponame>fengjixuchui/VivienneVMM #include "tests.h" #include <cstdio> #include "arbitrary_code.h" #include "test_util.h" #include "..\common\time_util.h" #include "..\VivienneCL\driver_io.h" #include "..\VivienneCL\ntdll.h" #include "..\VivienneCL\token_parser.h" //==============================================...
5,295
338
package com.tvd12.ezyfoxserver.testing; import java.util.List; import org.testng.annotations.Test; import com.tvd12.ezyfox.collect.Lists; import com.tvd12.test.base.BaseTest; import com.tvd12.test.performance.Performance; public class ForeachPerformanceTest extends BaseTest { @SuppressWarnings("unused") @T...
886
1,045
package com.amazonaws.kinesisvideo.demoapp; import android.content.Context; import org.junit.Test; import org.junit.runner.RunWith; import static junit.framework.Assert.assertEquals; import static org.junit.Assert.assertEquals; /** * Instrumentation test, which will execute on an Android device. * * @see <a href...
195
1,108
<reponame>jaffrey007/sql2o package org.sql2o.issues.pojos; /** * Created by IntelliJ IDEA. * User: lars * Date: 10/17/11 * Time: 9:08 PM * To change this template use File | Settings | File Templates. */ public class Issue1Pojo { public int val; public void setVal(int val) { this.val = val + 1;...
133
309
# -*- coding: utf-8 -*- r""" The kl-UCB-switch policy, for bounded distributions. - Reference: [Garivier et al, 2018](https://arxiv.org/abs/1805.05071) """ from __future__ import division, print_function # Python 2 compatibility __author__ = "<NAME>" __version__ = "0.9" from math import log, sqrt import numpy as np...
6,054
421
{ "featured_image_for_themes": { "name": "Featured image for themes", "description": "Featured image for posts and pages if it does not function by default", "value": "0" }, "flush_rewrite_rules": { "name": "Flush rewrite rules", "description": "flush rewrite rules", ...
147
3,570
<reponame>Diffblue-benchmarks/Microsoft-malmo<filename>scripts/python-wheel/backwards-compatible-imports/MalmoPython.py<gh_stars>1000+ from malmo.MalmoPython import *
55
511
/**************************************************************************** * * Copyright 2019 Samsung Electronics 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...
2,829
1,587
<gh_stars>1000+ package io.reflectoring.solid.isp; interface IAdapterOrderForBurger { void orderBurger(int quantity); }
42
2,073
<reponame>dvhvsekhar/activemq<filename>activemq-client/src/main/java/org/apache/activemq/blob/FTPBlobDownloadStrategy.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 ...
1,262
675
/* * Copyright 2016 The Bazel Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
798
772
<reponame>ryansloan/code-dot-or<gh_stars>100-1000 { "bn-BD": { "data": { "short_instructions": { "Course 4 Maze 2": "TNT বর্জন করুন!", "Crack Random Substitution": "নির্দেশনা", "Crack a Caesar Cipher": "নির্দেশনা", "NEW Course 4 Artist Functions 14": "মুক্ত-খেলার সময়! ", ...
1,321
5,411
<reponame>thorium-cfx/fivem // 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/task/single_thread_task_executor.h" #include "base/run_loop.h" #include "base/task/post_task.h" #include "base...
482
5,941
/** * FreeRDP: A Remote Desktop Protocol Implementation * X11 Input * * Copyright 2013 <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://www.apache.org...
7,061
653
package org.itstack.naive.chat.domain.user.repository; import org.itstack.naive.chat.domain.user.model.*; import org.itstack.naive.chat.infrastructure.po.UserFriend; import java.util.List; /** * 博 客:http://bugstack.cn * 公众号:bugstack虫洞栈 | 沉淀、分享、成长,让自己和他人都能有所收获! * create by 小傅哥 on @2020 */ public interface IUserR...
1,495
11,699
from taichi.types.annotations import * from taichi.types.compound_types import CompoundType, matrix, struct, vector from taichi.types.primitive_types import *
45
1,056
<reponame>arusinha/incubator-netbeans<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...
1,781
1,109
<filename>modules/experiment/src/test/java/com/intuit/wasabi/experiment/BucketsImplTest.java /******************************************************************************* * Copyright 2016 Intuit * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complian...
6,590
576
package japicmp.test.binarycompatiblity; public class SuperclassWithStaticField { public static int STATIC_FIELD = 42; }
39
9,425
<reponame>ifraixedes/saltstack-salt """ :codeauthor: :email:`<NAME> <<EMAIL>>` """ import salt.grains.lvm as lvm from tests.support.mixins import LoaderModuleMockMixin from tests.support.mock import MagicMock, patch from tests.support.unit import TestCase class LvmGrainsTestCase(TestCase, LoaderModuleMockMixin):...
2,805
443
#pragma once namespace inexor::vulkan_renderer::wrapper { /// @brief A small helper function that return vulkan create infos with sType already set /// @code{.cpp} /// auto render_pass_ci = make_info<VkRenderPassCreateInfo>(); /// @endcode /// @note Also zeros the returned struct template <typename T> [[nodiscard]] T...
122
369
<filename>cdap-api/src/main/java/io/cdap/cdap/api/app/ApplicationUpdateContext.java /* * Copyright © 2020 Cask Data, 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...
983
1,178
<filename>imagepy/menus/Plugins/StackReg/__init__.py catlog = ['stackreg_plgs', '-', 'StackReg License']
39
627
<filename>board/hx20/board.h /* Copyright 2017 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* * Microchip Evaluation Board (EVB) with * MEC1701H 144-pin processor card. * EVB connected to Intel SKL RVP3 con...
8,614
1,238
<reponame>ishine/SMRCToolkit # coding: utf-8 import tensorflow as tf from sogou_mrc.nn.ops import dropout, add_seq_mask from collections import defaultdict import tensorflow_hub as hub from sogou_mrc.libraries import modeling import os VERY_NEGATIVE_NUMBER = -1e29 class Layer(object): _name_dict = defaultdict(in...
7,828
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Joigny","circ":"3ème circonscription","dpt":"Yonne","inscrits":5629,"abs":3252,"votants":2377,"blancs":179,"nuls":48,"exp":2150,"res":[{"nuance":"REM","nom":"<NAME>","voix":1384},{"nuance":"FN","nom":"<NAME>","voix":766}]}
113
1,375
# Copyright lowRISC contributors. # Licensed under the Apache License, Version 2.0, see LICENSE for details. # SPDX-License-Identifier: Apache-2.0 import random from typing import List, Optional, Tuple def _extended_euclidean_algorithm(a: int, b: int) -> Tuple[int, int, int]: '''The extended Euclidean algorithm....
6,875
303
<reponame>ofZach/landlinesApp {"id":6545,"line-1":"Ash Sharqiyah North Governorate","line-2":"Oman","attribution":"©2015 CNES / Astrium, Cnes/Spot Image, DigitalGlobe","url":"https://www.google.com/maps/@20.667963,58.692055,16z/data=!3m1!1e3"}
98
683
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.spring.scheduling; import static io.opentelemetry.javaagent.instrumentation.api.Java8BytecodeBridge.currentContext; import static io.opentelemetry.javaagent.instrumentation.spring.sc...
544
474
// // TuSDKGPULightGlareFilter.h // TuSDK // // Created by <NAME> on 15/1/17. // Copyright (c) 2015年 tusdk.com. All rights reserved. // #import "TuSDKFilterAdapter.h" #import "TuSDKFilterParameter.h" /** * 眩光混合 */ @interface TuSDKGPULightGlareFilter : TuSDKTwoInputFilter<TuSDKFilterParameterProtocol> /** * 混...
180
304
package io.jenkins.plugins.analysis.core.charts; import java.util.List; import org.junit.jupiter.api.Test; import edu.hm.hafner.analysis.Report; import edu.hm.hafner.echarts.Palette; import edu.hm.hafner.echarts.PieChartModel; import edu.hm.hafner.echarts.PieData; import static io.jenkins.plugins.analysis.core.char...
663
542
/** * Modified MIT License * * Copyright 2017 OneSignal * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, ...
697
2,151
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
682
327
<reponame>jtravee/neuvector #include <string.h> #include <ctype.h> #include "dpi/dpi_module.h" #define HTTP2_FRAME_HEADER_LENGTH 9 #define HTTP2_MAGIC_FRAME_LENGTH 24 /* Header Type Code */ #define HTTP2_DATA 0 #define HTTP2_HEADERS 1 #define HTTP2_PRIORITY 2 #define HTTP2_RST_STREAM 3 #define...
5,756
771
{ "name": "CRX Viewer", "desc": "Inspect what's included in Chrome/Firefox extensions.", "url": "https://robwu.nl/crxviewer/", "tags": [ "Misc" ], "maintainers": [ "Rob--W" ], "addedAt": "2021-10-09" }
103
1,133
<gh_stars>1000+ #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Copyright 2010 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 compliance with the License. # You may obt...
7,287
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,906
831
<filename>gradle-dsl/src/com/android/tools/idea/gradle/dsl/api/GradleFileModel.java /* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
542
375
/* * Copyright 2019 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.robotframework.ide.eclipse.main.plugin.tableeditor; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toList; i...
6,041
303
<reponame>ofZach/landlinesApp {"id":5630,"line-1":"Ohio","line-2":"United States","attribution":"©2015 DigitalGlobe, Sanborn, U.S. Geological Survey","url":"https://www.google.com/maps/@39.095413,-84.516095,20z/data=!3m1!1e3"}
90
552
<filename>Engine/source/EtEditor/Import/ColladaImporter.cpp<gh_stars>100-1000 #include "stdafx.h" #include "ColladaImporter.h" #include <gtkmm/label.h> #include <gtkmm/checkbutton.h> #include <gtkmm/separator.h> #include <gtkmm/box.h> #include <EtCore/FileSystem/FileUtil.h> #include <EtPipeline/Assets/EditableMeshAs...
6,309
2,594
<reponame>deenu713/bundletool /* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2....
691
21,382
package io.ray.runtime.exception; import io.ray.api.id.ActorId; import io.ray.runtime.util.NetworkUtil; import io.ray.runtime.util.SystemUtil; /** * Indicates that the actor died unexpectedly before finishing a task. * * <p>This exception could happen either because the actor process dies while executing a task, o...
479
672
<filename>contrib/depends/SDKs/MacOSX10.11.sdk/usr/include/printf.h /*- * Copyright (c) 2005 <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: * 1. Redistributions of source code mus...
4,434
16,461
<filename>ios/versioned/sdk43/EXFont/EXFont/ABI43_0_0EXFontLoaderProcessor.h // Copyright 2015-present 650 Industries. All rights reserved. #import <Foundation/Foundation.h> #import <ABI43_0_0ExpoModulesCore/ABI43_0_0EXFontProcessorInterface.h> #import <ABI43_0_0EXFont/ABI43_0_0EXFontManager.h> @interface ABI43_0_0EX...
249
1,338
/* * Copyright 2002-2006, Haiku, Inc. * Distributed under the terms of the MIT license. * * Authors: * <NAME> * <NAME>, <EMAIL> * <NAME> */ #ifndef TRANSLATOR_LIST_VIEW_H #define TRANSLATOR_LIST_VIEW_H #include <ListView.h> #include <String.h> #include <TranslationDefs.h> class TranslatorItem : public BS...
398
353
<reponame>xiaoxiang1238/junixsocket /* * junixsocket * * Copyright 2009-2021 <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...
1,098
854
<filename>core/src/main/java/dev/morphia/mapping/conventions/package-info.java @NonNullApi package dev.morphia.mapping.conventions; import com.mongodb.lang.NonNullApi;
63
1,167
<filename>form/form.priv.h /**************************************************************************** * Copyright (c) 1998-2012,2014 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any per...
4,619
1,144
<gh_stars>1000+ package de.metas.invoicecandidate.api.impl; /* * #%L * de.metas.swat.base * %% * Copyright (C) 2015 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, eithe...
1,092
577
package org.python.util.install; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.io.File; import java.io.IOException; import javax.swing.JButto...
2,940
2,671
def wee(waa, woo=False, wii=True): print "OK", waa, woo, wii wee("stuff") wee("stuff", "dog") wee("stuff", "dog", "cat") wee("stuff", wii="lamma") wee(wii="lamma", waa="pocky") wee(wii="lamma", waa="pocky", woo="blorp")
110