max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
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...
1,913
416
// // ws_options.h // libnetcore // // Copyright (c) 2018-2019 Apple Inc. All rights reserved. // #ifndef __NW_WS_OPTIONS_H__ #define __NW_WS_OPTIONS_H__ #ifndef __NW_INDIRECT__ #error "Please include <Network/Network.h> instead of this file directly." #endif // __NW_INDIRECT__ #include <Network/error.h> #include...
7,495
2,236
// // TABAnimatedProductImpl.h // AnimatedDemo // // Created by tigerAndBull on 2020/4/1. // Copyright © 2020 tigerAndBull. All rights reserved. // #import <Foundation/Foundation.h> #import "TABAnimatedProductInterface.h" NS_ASSUME_NONNULL_BEGIN @interface TABAnimatedProductImpl : NSObject <TABAnimatedProductInt...
128
777
// 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. #include "core/loader/DocumentLoader.h" #include "core/page/Page.h" #include "platform/testing/URLTestHelpers.h" #include "public/platform/Platform.h" #i...
2,489
378
/** * 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...
4,116
892
{ "schema_version": "1.2.0", "id": "GHSA-ggx4-p7x5-97cc", "modified": "2022-05-13T01:35:22Z", "published": "2022-05-13T01:35:22Z", "aliases": [ "CVE-2018-0342" ], "details": "A vulnerability in the configuration and monitoring service of the Cisco SD-WAN Solution could allow an authenticated, local at...
686
764
{"symbol": "PAINT","address": "0x4C6eC08CF3fc987c6C4BEB03184D335A2dFc4042","overview":{"en": "MurAll is a 2048x1024px digital mural that anyone can draw on without restriction. MurAll requires PAINT - a fixed supply token synonymous with real-life paint, which is burned in the painting transaction. Painting on MurAll a...
189
716
import unittest from test_case import PinocchioTestCase as TestCase import pinocchio as pin import numpy as np import pickle class TestStdMap(TestCase): def setUp(self): pass def test_pickle(self): map = pin.StdMap_String_VectorXd() keys = [] for k in range(100): ...
329
14,668
<filename>third_party/android_crazy_linker/src/src/crazy_linker_elf_loader.h // Copyright 2014 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 CRAZY_LINKER_ELF_LOADER_H #define CRAZY_LINKER_ELF_LOADER_H #include...
479
330
<gh_stars>100-1000 { "acno": "N02296", "acquisitionYear": 1908, "all_artists": "<NAME>", "catalogueGroup": {}, "classification": "on paper, unique", "contributorCount": 1, "contributors": [ { "birthYear": 1845, "date": "1845\u20131932", "displayOrder": 1, "fc": "<NAME>...
464
315
<gh_stars>100-1000 /*! * \file * \brief Class module::Decoder_RSC_BCJR_seq. */ #ifndef DECODER_RSC_BCJR_SEQ_HPP_ #define DECODER_RSC_BCJR_SEQ_HPP_ #include <vector> #include <mipp.h> #include "Module/Decoder/RSC/BCJR/Decoder_RSC_BCJR.hpp" namespace aff3ct { namespace module { template <typename B = int, typename ...
448
4,640
/* * 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 ...
14,032
544
# Binary trees benchmark - Python version by <NAME> et al. from __future__ import print_function import time # Map "range" to an efficient range in both Python 2 and 3. try: range = xrange except NameError: pass def make_tree(item, depth): if not depth: return item, None, None item2 = item + item ...
430
365
<gh_stars>100-1000 /* * 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 option) any later version. * * This program is distributed in the hope ...
20,251
456
/* ** upb_encode: parsing into a upb_msg using a upb_msglayout. */ #ifndef UPB_ENCODE_H_ #define UPB_ENCODE_H_ #include "upb/msg.h" #ifdef __cplusplus extern "C" { #endif char *upb_encode(const void *msg, const upb_msglayout *l, upb_arena *arena, size_t *size); #ifdef __cplusplus } /* extern "C" ...
180
1,056
<reponame>arusinha/incubator-netbeans<filename>java/beans/src/org/netbeans/modules/beans/addproperty/AddPropertyGenerator.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 * rega...
3,939
764
<reponame>641589523/token-profile<gh_stars>100-1000 {"symbol": "CHADS","address": "0x69692D3345010a207b759a7D1af6fc7F38b35c5E","overview":{"en": ""},"email": "","website": "https://chads.vc","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/chadsvc","telegram": "","github": ""}}
118
914
<reponame>yanlun0323/cicada package top.crossoverjie.cicada.example.res; /** * Function: * * @author crossoverJie * Date: 2018/8/31 19:18 * @since JDK 1.8 */ public class DemoResVO { private Long index ; private String msg ; public String getMsg() { return msg; } public void...
220
575
// 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/events/event_target.h" #include <algorithm> #include "base/check.h" #include "base/notreached.h" #include "ui/events/event.h" #include ...
1,274
822
<filename>natasha/tests/test_addr.py import pytest from natasha.obj import ( AddrPart as Part, Addr ) tests = [ [ 'Россия, Вологодская обл. г. Череповец, пр.Победы 93 б', Addr([ Part('Россия', 'страна'), Part('Вологодская', 'область'), Part('Череповец'...
3,083
806
<filename>killers/nokia/com.evenwell.powersaving.g3/sources/android/support/v4/media/session/MediaButtonReceiver.java package android.support.v4.media.session; import android.content.BroadcastReceiver; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.c...
789
384
<filename>thirdparty/tng_io/src/tests/compression/test44.h #define TESTNAME "Initial coding. Intra frame BWLZH algorithm. High accuracy. Cubic cell." #define FILENAME "test44.tng_compress" #define ALGOTEST #define NATOMS 100000 #define CHUNKY 1 #define SCALE 0.5 #define PRECISION 1e-8 #define WRITEVEL 0 #define VELPREC...
261
575
#!/usr/bin/env python # 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. import json import os import re import subprocess import sys import common # A list of files that are allowed to have static initiali...
3,900
310
{ "name": "ws", "description": "A WebSocket library for Node.", "url": "https://github.com/websockets/ws" }
42
638
<gh_stars>100-1000 from __future__ import print_function import time import sys import Pyro4 if sys.version_info < (3, 0): input = raw_input uri = input("Uri of benchmark server? ").strip() print("Timing raw connect speed (no method call)...") p = Pyro4.core.Proxy(uri) p.oneway() ITERATIONS = 2000 begin = time...
500
14,668
<filename>chrome/android/javatests/src/org/chromium/chrome/browser/interstitials/LookalikeInterstitialTest.java // 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.inters...
1,160
679
<reponame>Grosskopf/openoffice /************************************************************** * * 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...
1,061
628
<gh_stars>100-1000 /************************************************************************* * Copyright (c) 2014 <NAME> * 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 Li...
2,410
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 ...
894
8,092
<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 # "Licens...
52,450
1,062
<reponame>larkov/MailTrackerBlocker // // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import <MailFW/MFLibraryUpgradeStep.h> @interface MFCreateServerLabelsTableUpgradeStep : MFLibraryUpgradeStep { } + (unsigned long long)target...
224
803
<filename>dev/ese/src/inc/sortapi.hxx<gh_stars>100-1000 // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. ERR ErrSORTInsert ( FUCB *pfucb, const KEY& key, const DATA& data ); ERR ErrSORTEndInsert( FUCB *pfucb ); ERR ErrSORTFirst ( FUCB *pfucb ); ERR ErrSORTLast ( FUCB *pfucb ); ERR Er...
3,972
370
<filename>3rdparty/suitesparse-metis-for-windows-1.2.1/SuiteSparse/UMFPACK/SourceWrappers/umf_zl_row_search.o.c<gh_stars>100-1000 #define ZLONG #include <../Source/umf_row_search.c>
80
355
<gh_stars>100-1000 /* * This file is part of helper, licensed under the MIT License. * * Copyright (c) lucko (Luck) <<EMAIL>> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), t...
782
317
package com.googlecode.totallylazy; public interface BinaryPredicate<T> { boolean matches(T a, T b); }
38
654
<filename>Arduino/Arduino_LoRa_Generic_Sensor/LeafWetness.h /* * Copyright (C) 2016 <NAME>, University of Pau, France * * <EMAIL> */ #ifndef LEAFWETNESS_H #define LEAFWETNESS_H #include "Sensor.h" #define LW_SCALE _BOARD_VOLT_SCALE class LeafWetness : public Sensor { public: LeafWetness(char* nomenclature, boo...
188
1,444
<gh_stars>1000+ package mage.game.permanent.token; import mage.MageInt; import mage.constants.CardType; import mage.constants.SubType; /** * * @author <EMAIL> */ public final class OxToken extends TokenImpl { public OxToken() { super("Ox", "2/4 white Ox creature token"); cardType.add(CardType...
261
5,169
{ "name": "FontAwesomeKit", "version": "2.1.8", "summary": "Icon font library for iOS. Currently supports Font-Awesome, Foundation icons, Zocial, and ionicons", "homepage": "https://github.com/PrideChung/FontAwesomeKit", "screenshots": "http://i.minus.com/i3vNn0fTwcJeI.png", "license": "MIT", "authors": {...
797
432
/* * Copyright (c) 1980, 1993 * The Regents of the University of California. 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 must retain the above copyr...
2,079
348
{"nom":"Bruguières","circ":"5ème circonscription","dpt":"Haute-Garonne","inscrits":4076,"abs":2245,"votants":1831,"blancs":160,"nuls":62,"exp":1609,"res":[{"nuance":"REM","nom":"<NAME>","voix":1156},{"nuance":"FN","nom":"<NAME>","voix":453}]}
99
965
// Display the current state of the progress control. CString str = _T("The progress control state is "); int progState = m_progressCtrl.GetState(); if (progState == PBST_NORMAL) str += _T("NORMAL"); else if (progState == PBST_PAUSED) str += _T("PAUSED"); else if (progState == PBST_ERROR) str += _T("ERROR"); e...
141
908
from __future__ import print_function from __future__ import division from __future__ import absolute_import import unittest from jnius import autoclass class PassByReferenceOrValueTest(unittest.TestCase): def _verify(self, numbers, changed): for i in range(len(numbers)): self.assertEqual(numb...
3,184
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. #include "ash/wm/splitview/split_view_drag_indicators.h" #include "ash/display/screen_orientation_controller.h" #include "ash/display/screen_orientation_...
8,825
328
<filename>flow-core/src/main/java/com/dragon/flow/service/flowable/impl/ExtendProcinstServiceImpl.java package com.dragon.flow.service.flowable.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; import com.baomidou...
1,233
594
<gh_stars>100-1000 import numpy as np import re import json import matplotlib.pyplot as plt def parse_log_file(fname): with open(fname) as f: content = f.readlines() data = [] num_pre = -1 for line in content: if 'Epoch' in line and 'loss' in line and (not 'nan' in line): st...
768
60,067
/* * 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
31,000
348
<gh_stars>100-1000 {"nom":"Pujols","circ":"3ème circonscription","dpt":"Lot-et-Garonne","inscrits":2924,"abs":1461,"votants":1463,"blancs":108,"nuls":42,"exp":1313,"res":[{"nuance":"REM","nom":"<NAME>","voix":799},{"nuance":"FN","nom":"M. <NAME>","voix":514}]}
108
945
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
415
1,080
<filename>neutron/tests/unit/extensions/test_port_device_profile.py # Copyright (c) 2020 Red Hat, 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.o...
928
3,897
<reponame>thl-mot/mbed-os /** ****************************************************************************** * @file stm32u5xx_ll_lptim.c * @author MCD Application Team * @brief LPTIM LL module driver. ****************************************************************************** * @attention * * ...
2,819
3,285
""" Copyright 2017 <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 to in writing, software distrib...
774
479
<filename>src/util/common.h #pragma once /** * Common definitions and helpers. */ #include <stdlib.h> enum { UTIL_TRISTATE_UNSET, UTIL_TRISTATE_YES, UTIL_TRISTATE_NO, _UTIL_TRISTATE_N, };
115
746
<filename>mmdeploy/backend/ncnn/quant.py # Copyright (c) OpenMMLab. All rights reserved. import os.path as osp from subprocess import call from typing import List import mmcv from .init_plugins import get_ncnn2int8_path def get_quant_model_file(onnx_path: str, work_dir: str) -> List[str]: """Returns the path to...
899
851
<gh_stars>100-1000 /* * Copyright 2007 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....
1,877
313
package com.daivd.chart.component; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Path; import android.graphics.Rect; import com.daivd.chart.component.base.IChartTitle; import com.daivd.chart.component.base.PercentComponent; import com.daivd.chart.data.style.FontStyle; /** * ...
1,203
868
/* * 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 n...
811
511
<reponame>SenthilKumarGS/TizenRT /* Copyright 2015-present Samsung Electronics Co., Ltd. and other contributors * * 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...
1,539
474
package org.javacord.api.listener.channel.server; import org.javacord.api.event.channel.server.ServerChannelChangeNsfwFlagEvent; import org.javacord.api.listener.GloballyAttachableListener; import org.javacord.api.listener.ObjectAttachableListener; import org.javacord.api.listener.channel.server.text.ServerTextChannel...
360
711
package com.java110.community.api; import com.alibaba.fastjson.JSONObject; import com.java110.community.bmo.repair.IAppraiseRepairBMO; import com.java110.dto.appraise.AppraiseDto; import com.java110.utils.util.BeanConvertUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ht...
424
435
<filename>montreal-python/videos/python-et-postgresql-un-mariage-merveilleux-mp54.json<gh_stars>100-1000 { "copyright_text": "Creative Commons Attribution license (reuse allowed)", "description": "Montr\u00e9al, 14 septembre 2014 - Python et PostgreSQL sont deux outils que nous aimons bien utiliser pour nos projets...
1,206
631
<filename>dorado/dorado-test/dorado-test-integration/src/test/java/com/sankuai/mtthrift/testSuite/idlTest/Tweet.java /** * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package com.sankuai.mtthrift.testSuite.idlTest; import org.apach...
11,478
348
<filename>src/test/java/com/sebastian_daschner/jaxrs_analyzer/analysis/classes/testclasses/resource/response/TestClass17.java<gh_stars>100-1000 /* * Copyright (C) 2015 <NAME>, <EMAIL> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
579
3,190
<filename>cc/src/core/hash_bucket.h // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #pragma once #include <atomic> #include <cassert> #include <cstdint> #include <thread> #include "address.h" #include "constants.h" #include "malloc_fixed_page_size.h" namespace FASTER ...
1,977
1,045
package com.amazonaws.kinesisvideo.demoapp.activity; import android.os.Bundle; import com.google.android.material.navigation.NavigationView; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.core.view.GravityCompat; import androidx.drawerlayout.widget.DrawerLayout; im...
2,049
326
<reponame>mandaputtra/sonicjs<gh_stars>100-1000 {"moduleSystemId":"body-text-shortcodes","systemId":"body-text-shortcodes","title":"Body Text Shortcodes","filePath":"/server/modules/body-text-shortcodes/models/body-text-shortcodes.json","data":{"components":[]}}
83
3,799
<gh_stars>1000+ /* * Copyright 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.0 * * Unless req...
3,765
1,351
{ "android":{ "version":"1.1.1", "url":"http://download.flutterchina.club/gitme.1.1.1.fix1.apk", "storeUrl":"http://download.flutterchina.club/gitme.1.1.1.fix1.apk", "fix":1, "force":false }, "ios":{ "version":"1.1.1", "url":"itms-apps://itunes.apple.com/app/id1411822165", "force":...
313
918
<filename>tether/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp // Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2012-2014 <NAME>, Amsterdam, the Netherlands. // Copyright (c) 2017 <NAME>, Lodz, Poland. // This file was modified by Oracle on 2016. // Modifications copyright (c...
13,331
1,056
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
1,254
677
<reponame>InfiniteSynthesis/lynx-native<filename>Android/sdk/src/androidTest/java/com/lynx/test/TestActivity.java<gh_stars>100-1000 // Copyright 2017 The Lynx Authors. All rights reserved. package com.lynx.test; import android.app.Activity; import android.os.Bundle; import android.support.annotation.Nullable; import ...
566
988
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. package com.mojang.serialization.codecs; import com.google.common.collect.ImmutableList; import com.mojang.datafixers.util.Pair; import com.mojang.datafixers.util.Unit; import com.mojang.serialization.Codec; import com.moja...
1,200
729
<filename>jigsaw-payment-schema/src/main/gen/org/jigsaw/payment/model/AccountTitle.java<gh_stars>100-1000 // Generated by the protocol buffer compiler. DO NOT EDIT! // source: enums.proto package org.jigsaw.payment.model; /** * <pre> ** * 会计科目号, 注意,会计科目号设置影响账号ID生成策略。 * 默认的,采用七位会计科目号。 * </pre> * * Protobuf en...
2,081
16,989
<reponame>jobechoi/bazel<filename>src/main/java/com/google/devtools/build/lib/runtime/RcChunkOfArgs.java<gh_stars>1000+ // Copyright 2014 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. // Y...
691
66,985
<gh_stars>1000+ /* * Copyright 2012-2020 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...
957
879
package com.bookstore; import com.bookstore.entity.Book; import com.bookstore.service.BookstoreService; import org.springframework.boot.ApplicationRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotatio...
686
1,509
package com.fc.v2.model.auto; import com.fasterxml.jackson.annotation.JsonFormat; import com.fc.v2.util.DateUtils; import java.io.Serializable; import java.util.Date; /** * 公告 SysNotice * @author fuce_自动生成 * @email <EMAIL> * @date 2019-09-08 01:38:44 */ public class SysNotice implements Serializable { privat...
1,047
1,920
# -*- coding: utf-8 -*- from mathics_scanner import is_symbol_name from mathics.core.parser.feed import ( MathicsFileLineFeeder, MathicsLineFeeder, MathicsMultiLineFeeder, MathicsSingleLineFeeder, ) from mathics.core.parser.util import parse, parse_builtin_rule from mathics.core.parser.operators impor...
123
373
// Rar5Handler.h #ifndef __RAR5_HANDLER_H #define __RAR5_HANDLER_H #include "../../../../C/Blake2.h" #include "../../../Common/MyBuffer.h" #include "../../../Windows/PropVariant.h" #include "../../Common/CreateCoder.h" #include "../IArchive.h" namespace NArchive { namespace NRar5 { namespace NHeaderFlags { co...
3,277
575
<reponame>iridium-browser/iridium-browser // Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sharing/sharing_ui_controller.h" #include <utility> #include "base/time/time.h" #incl...
3,126
14,668
<reponame>zealoussnow/chromium // 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_CRASH_CONTENT_BROWSER_CHILD_PROCESS_CRASH_OBSERVER_ANDROID_H_ #define COMPONENTS_CRASH_CONTENT_BROWSER_C...
448
471
package ip_range_to_cidr; import java.util.*; import org.junit.*; import static org.junit.Assert.*; public class IPRangetoCIDR { /* IP range to CIDR https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing http://www.ipaddressguide.com/cidr https://stackoverflow.com/questions...
2,021
3,075
<filename>tests/mockito/junit4/src/test/java/samples/powermockito/junit4/bugs/github716/B.java package samples.powermockito.junit4.bugs.github716; public class B { }
68
484
<gh_stars>100-1000 /* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under * one or more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Licensed under the Zeebe Community License 1.1. You may no...
266
892
<reponame>westonsteimel/advisory-database-github { "schema_version": "1.2.0", "id": "GHSA-v2gf-33gc-47jc", "modified": "2022-04-30T18:16:12Z", "published": "2022-04-30T18:16:12Z", "aliases": [ "CVE-2001-0513" ], "details": "Oracle listener process on Windows NT redirects connection requests to another...
510
772
{ "banner": [ "/**", " * UI-Router Extras: Sticky states, Future States, Deep State Redirect, Transition promise", " * <%= module %>", " * @version <%= pkg.version %>", " * @link http://christopherthielen.github.io/ui-router-extras/", " * @license MIT License, http://www.opensource.org/license...
202
1,749
<filename>test/fwd_test.cpp<gh_stars>1000+ // Copyright 2015, <NAME> and the FunctionalPlus contributors. // https://github.com/Dobiasd/FunctionalPlus // 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) #include <d...
3,223
3,461
<gh_stars>1000+ [{ "twitterHandle": "@jackmcdade", "githubUsername": "jackmcdade", "githubUserId": "44739", "since": "Nov 2019" }]
58
994
package name.caiyao.microreader.presenter; /** * Created by 蔡小木 on 2016/4/24 0024. */ public interface ISettingPresenter extends BasePresenter { void checkUpdate(); }
62
335
{ "word": "Quinoline", "definitions": [ "A pungent oily liquid present in coal tar." ], "parts-of-speech": "Noun" }
64
669
<reponame>lchang20/onnxruntime // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "core/providers/cuda/shared_inc/fast_divmod.h" namespace onnxruntime { namespace cuda { template <typename T1, typename T2> void InstanceNormImpl( cudaStream_t strea...
254
2,053
/* * Copyright 2015 the original author or authors. * @https://github.com/scouter-project/scouter * * 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,479
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.security.attestation.implementation.models; import com.azure.core.util.logging.ClientLogger; import com.azure.core.util.serializer.JacksonAdapter; import com.azure.core.util.serializer.Seri...
816
651
package org.lwjglb.engine.graph; import java.util.ArrayList; import org.lwjglb.engine.graph.lights.PointLight; import org.lwjglb.engine.graph.lights.DirectionalLight; import java.util.List; import java.util.Map; import org.joml.Matrix4f; import org.joml.Vector3f; import org.joml.Vector4f; import static org.lwjgl.open...
9,613
386
/** @file BNCApplication+BNCTest.h @package Branch-SDK-Tests @brief Expose BNCApplication interfaces for testing. @author <NAME> @date May 4, 2018 @copyright Copyright © 2018 Branch. All rights reserved. */ #import <Foundation/Foundation.h> #import "BNCApplication.h" ...
202
313
<reponame>corindwyer/titus-control-plane /* * Copyright 2018 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 * * Unle...
1,164
4,324
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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...
1,042
4,612
from twisted.internet import reactor def gotIP(ip): print("IP of 'localhost' is", ip) reactor.stop() reactor.resolve("localhost").addCallback(gotIP) reactor.run()
60
416
// // MTLVertexDescriptor.h // Metal // // Copyright (c) 2014 Apple Inc. All rights reserved. // #import <Metal/MTLDefines.h> #import <Metal/MTLDevice.h> NS_ASSUME_NONNULL_BEGIN /*! @enum MTLVertexFormat @abstract specifies how the vertex attribute data is laid out in memory. */ typedef NS_ENUM(NSUInteger, MTL...
1,953
1,379
// // AppDelegate.h // PulsingHaloDemo // // Created by shuichi on 12/5/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
106
678
<gh_stars>100-1000 /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/Conference.framework/Conference */ #import <Conference/XXUnknownSuperclass.h> @interface CNFUIUtilities : XXUnknownSuperclass { } + (int)statusForState:(unsigned)state; // 0xce49 + (id)statusStri...
306