max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,332
#include "libcurve25519_inline.h" #include <stdint.h> #include <stdbool.h> #include <string.h> typedef uint64_t u64; typedef uint8_t u8; //#define load_limb(b_i) le64_to_cpup((__force __le64 *)b_i) //#define store_limb(b_o,o) *(__force __le64 *)(b_o) = cpu_to_le64(o) static inline u64 load64_le(const u8* b){ uint...
20,689
356
<filename>Code/C++/long_factorial.cpp /*Finding huge factorials such as !100, !1000 is sometimes required but in languages such as C++ the datatypes are not even capable of storing such a big number. We could achieve calculation of such a number via going back to the basis of how we used to muiltiply two numbers back i...
766
761
<gh_stars>100-1000 /******************************************************************************/ /** @file dbindex.h @author <NAME> @brief A generic relation index interface. @details @copyright Copyright 2013 <NAME> @license Licensed under the Apache License, Version 2.0 (the "License"); you may not use this f...
1,368
2,542
<gh_stars>1000+ // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #pragma once ...
241
923
# To add a new cell, type '# %%' # To add a new markdown cell, type '# %% [markdown]' # %% [markdown] # ### GradCAM (Gradient class activation mappinng) # # 这个版本主要用来了解制作Grad_Cam的过程,并没有特意封装 # # 每行代码几乎都有注解 # # --- # # # CNN卷积一直都是一个神秘的过程 # # 过去一直被以黑盒来形容 # # 能够窥探CNN是一件很有趣的事情, 特别是还能够帮助我们在进行一些任务的时候 # # 了解模型判别目标物的过程是不是出了什么问题 ...
6,908
373
<gh_stars>100-1000 package com.dianrong.platform.open.zookeeper.lock; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.framework.CuratorFrameworkFactory; import org.apache.curator.framework.imps.CuratorFrameworkS...
959
311
<filename>src/main/java/org/javacs/rewrite/RenameVariable.java package org.javacs.rewrite; import com.sun.source.util.Trees; import java.nio.file.Path; import java.util.Map; import org.javacs.CompilerProvider; import org.javacs.lsp.TextEdit; public class RenameVariable implements Rewrite { final Path file; fi...
470
1,350
<gh_stars>1000+ /** * Copyright Microsoft 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 applicable ...
1,437
648
{"resourceType":"SearchParameter","id":"MedicationDispense-whenhandedover","url":"http://hl7.org/fhir/SearchParameter/MedicationDispense-whenhandedover","name":"whenhandedover","publisher":"Health Level Seven International (Pharmacy)","contact":[{"telecom":[{"system":"other","value":"http://hl7.org/fhir"}]},{"telecom":...
207
8,271
<reponame>JavascriptID/sourcerer-app /* * This file is part of IRCBot * Copyright © 2014 <NAME> (<EMAIL>) * * IRCBot 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 3 of the License, or *...
719
1,283
package com.pengrad.telegrambot.request; import com.pengrad.telegrambot.response.BaseResponse; /** * <NAME> * 12 October 2017 */ public class DeleteChatStickerSet extends BaseRequest<DeleteChatStickerSet, BaseResponse> { public DeleteChatStickerSet(Object chatId) { super(BaseResponse.class); a...
124
3,169
// // CPProgressView.h // Cloud Play OSX // // Created by <NAME> on 4/22/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> #import <QuartzCore/QuartzCore.h> @interface DJTipHUD : NSView + (void)showStatus:(NSString*)status FromView:(NSView*)view; @property (nonatomic, readonly) ...
253
1,234
package org.benf.cfr.reader.bytecode.analysis.parse.utils.scope; import org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement; import org.benf.cfr.reader.bytecode.analysis.parse.Expression; import org.benf.cfr.reader.bytecode.analysis.parse.LValue; import org.benf.cfr.reader.bytecode.analysis.parse.Sta...
515
8,120
#!/usr/bin/env python import argparse import logging import sys import gym import universe # register the universe environments from universe import wrappers logger = logging.getLogger() def main(): parser = argparse.ArgumentParser(description=None) parser.add_argument('-v', '--verbose', action='count', des...
457
435
{ "copyright_text": "Standard YouTube License", "description": "PyData Amsterdam 2016\n\nWe'll talk about how the Jupyter Notebook has evolved from a Python specific tool to a general data science tool that supports many different languages, and about our own experiences in supporting a wide variety of languages fo...
652
372
/*----------------------------------------------------------------------------- * $RCSfile: SvCmn.c,v $ * * See Copyright for the status of this software. * * The OpenSOAP Project * http://opensoap.jp/ *----------------------------------------------------------------------------- */ #include "SvCmn.h" #includ...
3,013
790
def curry(_curried_func, *args, **kwargs): def _curried(*moreargs, **morekwargs): return _curried_func(*(args+moreargs), **dict(kwargs, **morekwargs)) return _curried class Promise: """ This is just a base class for the proxy class created in the closure of the lazy function. It can be used...
908
371
/** * 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...
807
711
<reponame>paulowe/aws-boilerplate import boto3 import pytest from moto import mock_ses from pytest_factoryboy import register import settings from dao.db import connection from dao.db.models import Base from dao.db.session import db_session as db_session_ctx from userauth import factories as ua_factories register(ua_...
264
6,034
package cn.iocoder.mall.system.rest.request.sms; import cn.iocoder.common.framework.validator.InEnum; import cn.iocoder.mall.system.biz.enums.sms.SmsPlatformEnum; import cn.iocoder.mall.system.biz.enums.sms.SmsTypeEnum; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lomb...
669
1,767
<reponame>slaveuser/Lightweight-Stream-API20190423 package com.annimon.stream.operator; import com.annimon.stream.function.LongFunction; import com.annimon.stream.iterator.LsaIterator; import com.annimon.stream.iterator.PrimitiveIterator; import org.jetbrains.annotations.NotNull; public class LongMapToObj<R> extends ...
307
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. #include <cstdint> #include "components/reporting/storage/resources/resource_interface.h" #include "base/task/post_task.h" #include "base/task/thread_po...
1,510
310
<filename>gear/hardware/0/27mu88-w.json { "name": "27MU88-W", "description": "A 27 inch LED monitor.", "url": "https://www.amazon.com/LG-Electronics-27MU88-W-27-Inch-LED-lit/dp/B01LG5RY74" }
89
350
<gh_stars>100-1000 /* * Copyright (C) 2005-2017 <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/licenses/LICENSE-2.0 * * Unless required...
611
792
{ "name": "<NAME>", "location": "Seoul", "country": "KR", "region": "Asia", "organizers": [ "xarus01" ], "website": "http://nodeschool.io/seoul/", "twitter": "", "repo": "https://github.com/nodeschool/seoul", "image": "nodeschool-seoul.png", "gitter": "https://gitter.im/nodeschool/nodeschool/s...
142
2,424
"""Auto-generated file, do not edit by hand. IE metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_IE = PhoneMetadata(id='IE', country_code=None, international_prefix=None, general_desc=PhoneNumberDesc(national_number_pattern='[159]\\d{2,5}', possible_length=(3, 4, ...
448
3,102
<reponame>medismailben/llvm-project // RUN: %clang_cc1 -fsyntax-only -verify %s -isystem %S/Inputs -Wzero-as-null-pointer-constant -std=c++11 // RUN: %clang_cc1 -fsyntax-only -verify %s -isystem %S/Inputs -DSYSTEM_WARNINGS -Wzero-as-null-pointer-constant -Wsystem-headers -std=c++11 #include <warn-zero-nullptr.h> #def...
1,291
412
<gh_stars>100-1000 struct hh{ unsigned short h1; unsigned short h2; }; union uuu { unsigned int l; struct hh h; }; int main() { union uuu ebx; ebx.l=10; assert(ebx.l<1000); }
87
12,252
<gh_stars>1000+ /* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
529
2,542
<reponame>vishnuk007/service-fabric // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // --------------------------------------------------------...
2,620
1,219
/* * Copyright 2013 Bazaarvoice, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
392
346
answer = "'Tis but a scratch!" def black_knight(): if answer == "'Tis but a scratch!": return True else: return False # Make sure this returns False def french_soldier(): if answer == "Go away, or I shall taunt you a second time!": return True else: return False ...
138
410
<reponame>ValtoForks/BlueshiftEngine #pragma once namespace LuaCpp { class Selector; namespace detail { struct function_base { function_base(int ref, lua_State *l) : _ref(l, ref), _l(l), _exception_handler(nullptr) {} void _enable_exception_handler(ExceptionHandler *exception_handler...
1,514
5,342
<reponame>suryatmodulus/lepton /* -*-mode:c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ unsigned char abstractJpeg[] = { 0xff, 0xd8, 0xff, 0xe0, 0x00, 0x10, 0x4a, 0x46, 0x49, 0x46, 0x00, 0x01, 0x01, 0x01, 0x00, 0x48, 0x00, 0x48, 0x00, 0x00, 0xff, 0xe1, 0x00, 0x58, 0x45, 0x78, 0x69, 0x66, 0x0...
185,232
594
<filename>SingleSource/Regression/C/gcc-c-torture/execute/20050125-1.c /* Verify that the CALL sideeffect isn't optimized away. */ /* Contributed by <NAME> 25 Jan 2005 <<EMAIL>> */ #include <stdlib.h> #include <stdio.h> struct parse { char *next; char *end; int error; }; int seterr(struct parse *p, int err)...
279
2,868
<reponame>jtravee/neuvector<gh_stars>1000+ /* * Copyright (c) 2015-2017, Intel Corporation * * 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 noti...
757
335
<filename>X/Xenogamy_noun.json<gh_stars>100-1000 { "word": "Xenogamy", "definitions": [ "Fertilization of a flower by pollen from a flower on a genetically different plant." ], "parts-of-speech": "Noun" }
95
389
package org.gosulang.plexus.compiler.gosu; import org.codehaus.plexus.compiler.AbstractCompilerTest; import org.codehaus.plexus.compiler.Compiler; import org.codehaus.plexus.compiler.CompilerConfiguration; import org.codehaus.plexus.compiler.CompilerMessage; import org.codehaus.plexus.util.FileUtils; import java.io.F...
1,915
389
<filename>gosu-test/src/main/java/gw/internal/gosu/parser/NamespaceTypeTest.java /* * Copyright 2014 <NAME>, Inc. */ package gw.internal.gosu.parser; import gw.lang.parser.exceptions.ParseResultsException; import gw.lang.reflect.INamespaceType; import gw.lang.reflect.TypeSystem; import gw.test.TestClass; import gw....
575
9,225
import pytest @pytest.fixture def order(): return [] @pytest.fixture def c1(order): order.append("c1") @pytest.fixture def c2(order): order.append("c2") class TestClassWithAutouse: @pytest.fixture(autouse=True) def c3(self, order, c2): order.append("c3") def test_req(self, order...
269
6,036
<reponame>dennyac/onnxruntime<filename>onnxruntime/core/providers/nuphar/mti_x86/math/reduce_ops.h // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include <string> #include <tvm/tvm.h> namespace onnxruntime { namespace nuphar { constexpr auto kNupharVRed...
994
595
<reponame>erique/embeddedsw /****************************************************************************** * Copyright (C) 2002 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /************************************...
1,071
627
import flask import pytest import webtest import marshmallow as ma class Bunch: def __init__(self, **kwargs): self.__dict__.update(**kwargs) def items(self): return self.__dict__.items() @pytest.fixture def app(): app_ = flask.Flask(__name__) app_.debug = True return app_ @pyt...
318
997
<reponame>pendo324/snoowrap { "plugins": ["plugins/markdown"], "templates": { "logoFile": "", "cleverLinks": true, "monospaceLinks": false, "dateFormat": "ddd MMM Do YYYY", "outputSourceFiles": false, "outputSourcePath": false, "systemName": "snoowrap", "footer": "<script src=\"snoow...
651
3,459
<reponame>werminghoff/Provenance /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2002 Xodnizel * * 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 Founda...
4,229
2,872
from NENV import * import shutil class NodeBase(Node): pass class _Access_Check_Node(NodeBase): """ """ title = '_access_check' type_ = 'shutil' init_inputs = [ NodeInputBP(label='fn'), NodeInputBP(label='mode'), ] init_outputs = [ NodeOutputBP(type_='d...
14,625
1,006
/**************************************************************************** * arch/arm/src/samd5e5/sam_gclk.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 regarding copyright o...
1,799
716
/* * 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 WITH LLVM-exception * */ #ifdef TARGET_X8664 #error Single precision - generic sincos() will not work on X86-64 systems. #endif #i...
235
450
import pytest from traitlets import TraitError from ipygany import PolyMesh, Warp from .utils import get_test_assets def test_default_input(): vertices, triangles, data_1d, data_3d = get_test_assets() poly = PolyMesh(vertices=vertices, triangle_indices=triangles, data=[data_1d, data_3d]) warped_mesh ...
639
628
// SPDX-License-Identifier: BSD-3-Clause // Copyright Contributors to the OpenColorIO Project. package org.OpenColorIO; import org.OpenColorIO.*; public class CDLTransform extends Transform { public CDLTransform() { super(); } protected CDLTransform(long impl) { super(impl); } public native CDLTransform C...
368
984
<filename>sources/GeneratorSdk/MetadataTasks/Properties/launchSettings.json { "profiles": { "MetadataTasks": { "commandName": "Executable", "executablePath": "dotnet", "commandLineArgs": "-d msbuild -t:Scrape -verbosity:n", "workingDirectory": "D:\\repos\\win32metadata\\sources\\msbuild\\s...
137
2,707
package org.jetlinks.community.timeseries.query; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @AllArgsConstructor @NoArgsConstructor public class Group { private String property; private String alias; }
99
5,169
<reponame>Gantios/Specs<filename>Specs/3/2/2/YSTSearchKit/0.1.0/YSTSearchKit.podspec.json { "name": "YSTSearchKit", "version": "0.1.0", "summary": "搜索,筛选模块", "description": "YST_iOS组件,搜索和筛选SDK.可以通过Pod Install来使用.", "homepage": "http://cocomccree.cn/", "license": { "type": "MIT", "file": "LICENSE" ...
570
673
<gh_stars>100-1000 /** * Copyright 2017 Netflix, Inc. * * <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...
1,274
1,186
from flask import Flask, render_template, request, session, jsonify import uuid from meinheld import server, middleware SECRET_KEY = 'development key' DEBUG=True app = Flask(__name__) app.config.from_object(__name__) def create_message(from_, body): data = {'id': str(uuid.uuid4()), 'from': from_, 'body': body} ...
867
465
<gh_stars>100-1000 /* * Copyright (c) 2018 Uber Technologies, 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 * rights to use, cop...
614
471
<filename>examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/art/tango/image_missing.h /* image_missing.png - 427 bytes */ static const unsigned char image_missing_16x16_png[] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00, 0...
6,132
542
// bindgen-flags: --rust-target 1.0 -- --target=x86_64-pc-windows-msvc int __vectorcall test_vectorcall(int a, int b);
46
3,269
// Time: O(m * n) // Space: O(1) class Solution { public: vector<int> spiralOrder(vector<vector<int>>& matrix) { vector<int> res; if (matrix.empty()) { return res; } for (int left = 0, right = matrix[0].size() - 1, top = 0, bottom = matrix.size() - 1; ...
1,599
1,863
/* * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this so...
1,380
2,161
<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 * ...
534
679
<gh_stars>100-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 license...
1,109
511
<filename>sample/src/main/java/com/socks/sample/okhttp/MainActivity.java<gh_stars>100-1000 package com.socks.sample.okhttp; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.support.v7.app.AppCompatActivity; import android.util.Pair; import a...
5,364
2,151
<reponame>zipated/src // 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. #ifndef DEVICE_FIDO_FIDO_REQUEST_HANDLER_BASE_H_ #define DEVICE_FIDO_FIDO_REQUEST_HANDLER_BASE_H_ #include <functional> #include <m...
1,124
372
<reponame>DeadSix27/AMF<gh_stars>100-1000 #include "StitchLoomSL.h" using namespace amf; #include "runtime/include/core/ProgramsCompute.h" #include "public/common/TraceAdapter.h" #include "LoomConverter.cl.h" #define AMF_FACILITY L"LoomConverter" StitchLoomSL::StitchLoomSL(amf::AMFContext* pContext, AMFSize sizeCame...
4,888
520
<filename>stats/src/test/java/com/facebook/stats/TestCompositeSum.java /* * Copyright (C) 2012 Facebook, 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/...
3,291
1,280
/* * Copyright (C) 2016-2020 Lightbend Inc. <https://www.lightbend.com> */ package akka.stream.alpakka.geode.javadsl; import akka.Done; import akka.stream.alpakka.geode.AkkaPdxSerializer; import akka.stream.alpakka.geode.GeodeSettings; import akka.stream.alpakka.geode.impl.stage.GeodeContinuousSourceStage; import a...
570
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,383
877
<filename>checker/tests/resourceleak/CreatesMustCallForSimple.java // A simple test that @CreatesMustCallFor works as intended wrt the Object Construction Checker. import org.checkerframework.checker.calledmethods.qual.*; import org.checkerframework.checker.mustcall.qual.*; @MustCall("a") class CreatesMustCallForSimp...
727
589
<reponame>ClaudioWaldvogel/inspectIT<filename>inspectit.agent.java/src/main/java/rocks/inspectit/agent/java/tracing/core/adapter/http/data/impl/AsyncHttpResponse.java<gh_stars>100-1000 package rocks.inspectit.agent.java.tracing.core.adapter.http.data.impl; import rocks.inspectit.agent.java.tracing.core.adapter.http.da...
278
4,054
<gh_stars>1000+ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.jdisc.core; import com.google.inject.Binding; import com.google.inject.Guice; import com.google.inject.Injector; import com.google.inject.Key; import com.yahoo.jdisc.application.Co...
800
12,700
<reponame>Tuna0128/Tuna0128.github.io<filename>tests/kvm-unit-tests/lib/util.h<gh_stars>1000+ #ifndef _UTIL_H_ #define _UTIL_H_ /* * Collection of utility functions to share between unit tests. * * Copyright (C) 2016, Red Hat Inc, <NAME> <<EMAIL>> * * This work is licensed under the terms of the GNU LGPL, version ...
266
5,169
<gh_stars>1000+ { "name": "KinSDK", "version": "1.0.2", "license": { "type": "Kin Ecosystem SDK License" }, "authors": { "<NAME>": "<EMAIL>" }, "summary": "Pod for the Kin SDK.", "homepage": "https://github.com/kinecosystem/kin-sdk-ios", "documentation_url": "https://kinecosystem.github.io/kin...
1,357
6,098
<reponame>ahmedengu/h2o-3 package water.rapids.ast.prims.mungers; import water.fvec.Frame; import water.rapids.Env; import water.rapids.Val; import water.rapids.ast.AstParameter; import water.rapids.ast.AstRoot; import water.rapids.vals.ValFrame; import water.rapids.vals.ValRow; import water.rapids.ast.AstPrimitive; i...
768
416
#ifndef _X86_MEMORY_H #define _X86_MEMORY_H #define tlb_flush_one(addr) \ __asm__ __volatile__ ("invlpg (%0) \n\t"::"r"(addr):"memory") #define tlb_flush() \ do \ { \ unsigned long tmpreg; \ __asm__ __volatile__ ( \ "movl %%cr3, %0 \n\t" \ "movl %0, %%cr3 \n\t" \ :"=r"(tmpre...
1,236
799
<filename>Packs/VirusTotal/Integrations/VirusTotalV3/TestData/domain.json { "data": { "relationships": { "siblings": { "data": [ { "type": "domain", "id": "test1.pw" }, { "type": "domain", "id": "test2.pw" } ...
2,197
794
<gh_stars>100-1000 package github.tornaco.android.thanos.privacy; import android.app.Activity; import android.content.Intent; import android.text.TextUtils; import android.view.View; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.android.material.chip.Chip; import com.goog...
5,236
556
/* * 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,325
3,084
<filename>network/wlan/WDI/HAL/HalComDesc.h #ifndef __INC_HALCOMDESC_H #define __INC_HALCOMDESC_H /*++ Copyright (c) Realtek Semiconductor Corp. All rights reserved. Module Name: HalComDesc.h Abstract: Defined 92C/88E common Descriptor structure. Major Change History: When Who ...
6,765
34,857
{ "version": 1, "projects": { "noop-project": {} }, "defaultProject": "missing-project" }
42
2,868
<filename>tools/hsbench/engine_chimera.cpp /* * Copyright (c) 2018, Intel Corporation * * 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, ...
4,752
790
from __future__ import absolute_import, unicode_literals import datetime from django.core.validators import EMPTY_VALUES from django.forms import ValidationError from django.forms.fields import RegexField, Select from django.utils.translation import ugettext_lazy as _ from django.contrib.localflavor.mk.mk_choices im...
1,479
793
class Foo { /* Test 1 */ // CHECK: rename [[@LINE]]:7 -> [[@LINE]]:10 public: Foo() {} // CHECK: rename [[@LINE]]:3 -> [[@LINE]]:6 }; class Baz { public: operator Foo() /* Test 2 */ const { // CHECK: rename [[@LINE]]:12 -> [[@LINE]]:15 Foo foo; ...
394
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...
918
312
<reponame>patrickwyler/rdf4j /******************************************************************************* * Copyright (c) 2019 Eclipse RDF4J contributors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which acco...
391
1,738
<gh_stars>1000+ /* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the li...
3,766
4,535
<gh_stars>1000+ // Copyright 2017-2018 Intel Corporation. #pragma once #include "runtime/include/cm_rt.h"
39
528
#ifndef FIXEDPT_H #define FIXEDPT_H #include "include/zfp/types.h" typedef struct { // the number represented = i + (2^-32)*f // integer part int64 i; // fractional part uint32 f; } fixedPt; void initFixedPt(int64 i, uint32 f, fixedPt* result); // functions with int return type: // return 0 if successfu...
234
892
{ "schema_version": "1.2.0", "id": "GHSA-95fc-rj6v-4rhr", "modified": "2022-05-13T01:31:23Z", "published": "2022-05-13T01:31:23Z", "aliases": [ "CVE-2019-1712" ], "details": "A vulnerability in the Protocol Independent Multicast (PIM) feature of Cisco IOS XR Software could allow an unauthenticated, re...
585
1,767
<gh_stars>1000+ package com.annimon.stream.longstreamtests; import com.annimon.stream.LongStream; import org.junit.Test; import static com.annimon.stream.test.hamcrest.LongStreamMatcher.assertElements; import static org.hamcrest.Matchers.arrayContaining; public final class DistinctTest { @Test public void te...
380
2,564
<reponame>WakeHao/CainCamera package com.cgfay.filter.glfilter.color.bean; /** * 颜色滤镜数据 */ public class DynamicColorData extends DynamicColorBaseData { }
73
836
/* * Copyright (C) 2021 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...
544
892
<reponame>westonsteimel/advisory-database-github<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-g5r6-3ff5-mxp9", "modified": "2022-05-01T07:10:26Z", "published": "2022-05-01T07:10:26Z", "aliases": [ "CVE-2006-3574" ], "details": "Multiple cross-site scripting (XSS) vulnerabilities in Hitac...
676
409
<reponame>JensUweUlrich/seqan // ========================================================================== // Yara - Yet Another Read Aligner // ========================================================================== // Copyright (c) 2011-2018, <NAME>, FU Berlin // All rights reserved. // // Re...
6,740
354
/*------------------------------------------------------------------------- * OpenGL Conformance Test Suite * ----------------------------- * * Copyright (c) 2021 The Khronos Group Inc. * Copyright (c) 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
926
340
// Concord // // Copyright (c) 2020 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). You may not use this product except in // compliance with the Apache 2.0 License. // // This product may include a number of subcomponents with separate copyright not...
389
703
<filename>Code/Engine/Foundation/Utilities/Implementation/ConversionUtils.cpp #include <Foundation/FoundationPCH.h> #include <Foundation/Containers/DynamicArray.h> #include <Foundation/Types/Variant.h> #include <Foundation/Utilities/ConversionUtils.h> namespace ezConversionUtils { static bool IsWhitespace(char c) ...
14,077
1,947
<gh_stars>1000+ /* Copyright (c) 2021, NVIDIA CORPORATION. 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, th...
1,548
363
<filename>src/test/java/org/assertj/core/api/recursive/comparison/RecursiveComparisonAssert_isEqualTo_ignoringOverriddenEquals_Test.java /* * 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 * *...
6,314
2,996
<reponame>Elyahu41/Terasology // Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.core.modes.loadProcesses; import org.terasology.engine.context.Context; import org.terasology.engine.core.modes.SingleStepLoadProcess; import org.terasology.engine.recording.Re...
672