max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
3,921 | /*
* Created by LuaView.
* Copyright (c) 2017, Alibaba Group. All rights reserved.
*
* This source code is licensed under the MIT.
* For the full copyright and license information,please view the LICENSE file in the root directory of this source tree.
*/
package com.taobao.luaview.userdata.list;
import android.... | 2,068 |
573 | // Copyright 2015, VIXL authors
// 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 ... | 22,145 |
1,863 | <filename>Libraries/DXUT/Core/DXUTDevice11.h
//--------------------------------------------------------------------------------------
// File: DXUTDevice11.h
//
// Enumerates D3D adapters, devices, modes, etc.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLI... | 3,043 |
312 | /*
* Copyright 2016-2021 The jetcd 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... | 585 |
1,139 | package com.journaldev.files;
import java.io.File;
public class CheckDirectoryOrFile {
public static void main(String[] args) {
File file = new File("/Users/pankaj/source.txt");
File dir = new File("/Users/pankaj");
File notExists = new File("/Users/pankaj/notafile");
Sys... | 345 |
768 | package com.hq.hsmwan.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ListView;
/**
* 达到使ListView适应ScrollView的效果
* Created by yui on 2016/4/1.
*/
public class MyListView extends ListView {
private Context mContext;
private int mMaxXOverscrollDistance;
pri... | 696 |
348 | {"nom":"Précy","circ":"3ème circonscription","dpt":"Cher","inscrits":207,"abs":118,"votants":89,"blancs":9,"nuls":3,"exp":77,"res":[{"nuance":"SOC","nom":"M. <NAME>","voix":51},{"nuance":"REM","nom":"<NAME>","voix":26}]} | 91 |
2,133 | /****************************************************************************
*
* (c) 2021 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
********************************************... | 1,521 |
327 | <filename>android/app/src/main/java/com/tweetlanes/android/core/view/TweetFeedFragment.java
/*
* Copyright (C) 2013 <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.... | 40,535 |
357 | <gh_stars>100-1000
/*
* Copyright © 2018 VMware, Inc. 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 requi... | 7,625 |
673 | <filename>src/plugins/simple_options.py<gh_stars>100-1000
"""
simple_options
"""
from __future__ import absolute_import, division, print_function, unicode_literals
from PySide import QtGui
from mcedit2.plugins import registerPluginCommand, SimpleCommandPlugin
import logging
log = logging.getLogger(__name__)
@r... | 1,630 |
582 | package org.weiboad.ragnar.logpusher;
public class LogPusherConfig {
private String path = "./";
private int outTime = 0;
private String pushType = "http";
private String kafkaServer = "";
private String kafkaTopic = "";
private String host = "127.0.0.1:9090";
private int threadCount... | 577 |
879 | package org.zstack.header.network.service;
import org.zstack.header.message.MessageReply;
public class RemoveHostRouteReply extends MessageReply {
}
| 42 |
2,291 | <gh_stars>1000+
{
"id" : 408,
"status" : "Fixed",
"summary" : "OverlayItem and ItemizedOverlay do not support real-time position updates",
"labels" : [ "Type-Defect", "Priority-Medium" ],
"stars" : 0,
"commentCount" : 5,
"comments" : [ {
"id" : 0,
"commenterId" : 5779484743093249839,
"content"... | 1,064 |
545 | <reponame>FWangTrading/Cpp-Primer-5th-Exercises<filename>ch8/8.13.cpp
#include <string>
#include <vector>
#include <iostream>
#include <sstream>
#include <fstream>
using std::vector; using std::string; using std::cin; using std::cout;
using std::istringstream; using std::ostringstream; using std::endl;
using std::ifstr... | 666 |
3,974 | <reponame>codemrkay/cucumber
package io.cucumber.gherkin;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.nio.charset.StandardCharsets;
public class Stdio {
/**
* UTF-8 STDOUT
*/
public static final PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out, Stand... | 186 |
348 | <filename>docs/data/leg-t2/001/00102444.json
{"nom":"Villebois","circ":"2ème circonscription","dpt":"Ain","inscrits":806,"abs":466,"votants":340,"blancs":27,"nuls":3,"exp":310,"res":[{"nuance":"LR","nom":"<NAME>","voix":196},{"nuance":"MDM","nom":"<NAME>","voix":114}]} | 110 |
632 | /*
* 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,962 |
4,339 | <reponame>vvteplygin/ignite<filename>modules/platforms/cpp/core-test/src/cluster_group_test.cpp
/*
* 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 ... | 5,940 |
2,338 | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | 233 |
14,668 | /*
* Copyright (C) 2005 <NAME> <<EMAIL>>
* Copyright (C) 2006, 2009 Apple Inc.
*
* 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 copyright
* notice... | 767 |
352 | {
"name": "approle-safeadmin",
"path":{
"auth/approle/*":{"policy":"write"},
"metadata/*":{"policy":"write"},
"users/*":{"capabilities":["create","update","delete","list"]},
"apps/*":{"capabilities":["create","update","delete","list"]},
"shared/*":{"capabilities":["create","update","d... | 130 |
3,457 | /*
Copyright (c) 2005-2020 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 applicable la... | 5,931 |
1,755 | <reponame>cclauss/VTK
/*=========================================================================
Program: Visualization Toolkit
Module: TestFXAAWithEDLPass.cxx
Copyright (c) <NAME>, <NAME>, <NAME>
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softw... | 747 |
892 | <reponame>westonsteimel/advisory-database-github
{
"schema_version": "1.2.0",
"id": "GHSA-jqpc-rhwf-xj5r",
"modified": "2022-03-03T00:00:54Z",
"published": "2022-02-25T00:01:04Z",
"aliases": [
"CVE-2022-24620"
],
"details": "Piwigo version 12.2.0 is vulnerable to stored cross-site scripting (XSS), whi... | 375 |
407 | package com.alibaba.tesla.appmanager.server.repository.mapper;
import com.alibaba.tesla.appmanager.server.repository.domain.AppOptionDO;
import com.alibaba.tesla.appmanager.server.repository.domain.AppOptionDOExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java... | 345 |
364 | <reponame>xiaobing007/dagli<filename>math-vector/src/main/java/com/linkedin/dagli/math/vector/MutableVector.java
package com.linkedin.dagli.math.vector;
/**
* Standard interface for mutable vectors. Not all mutable vectors support modifying aribtrary indices; e.g.
* dense vectors can only permit modification of the... | 707 |
1,337 | <filename>modules/web/src/com/haulmont/cuba/web/app/ui/jmxinstance/edit/JmxInstanceEditor.java
/*
* Copyright (c) 2008-2016 Haulmont.
*
* 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
*
... | 1,218 |
423 | from types import FrameType
from typing import Any, Dict, List
from ..helpers.object import get_str_id
from ..models.stack import Stack
from ..models.stack_frame import StackFrame
from ..models.types import EventType
from ..models.variable import Variable
def create_stack_frame(frame: FrameType, event_type: EventTyp... | 252 |
3,239 | <reponame>zzzgoda/BlackDex<filename>Bcore/black-fake/src/main/java/reflection/android/os/BundleICS.java
package reflection.android.os;
import android.os.Parcel;
import reflection.MirrorReflection;
public class BundleICS {
public static final MirrorReflection REF = MirrorReflection.on(android.os.Bundle.class);
... | 139 |
382 | <reponame>Maltcommunity/jongo
/*
* Copyright (C) 2011 <NAME> <<EMAIL> at <EMAIL>> and <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/lic... | 1,889 |
1,103 | <filename>hollow/src/main/java/com/netflix/hollow/tools/history/keyindex/HollowHistoricalStateKeyOrdinalMapping.java
/*
* Copyright 2016-2019 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | 813 |
892 | <reponame>github/advisory-database<gh_stars>100-1000
{
"schema_version": "1.2.0",
"id": "GHSA-fvmw-88r5-vrp4",
"modified": "2022-05-13T01:34:21Z",
"published": "2022-05-13T01:34:21Z",
"aliases": [
"CVE-2018-15396"
],
"details": "A vulnerability in the Bulk Administration Tool (BAT) for Cisco Unity Con... | 593 |
777 | <gh_stars>100-1000
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_MAC_COCOA_PROTOCOLS_H_
#define BASE_MAC_COCOA_PROTOCOLS_H_
#import <Cocoa/Cocoa.h>
// New Mac OS X SDKs introduce ne... | 372 |
317 | package com.googlecode.totallylazy;
import com.googlecode.totallylazy.functions.CurriedCombiner;
import com.googlecode.totallylazy.functions.Function1;
import java.util.ArrayList;
import java.util.List;
import static com.googlecode.totallylazy.Sequences.sequence;
public class Lists {
public static <T> List<T> l... | 813 |
648 | <reponame>swrobel/fhir<gh_stars>100-1000
{"resourceType":"DataElement","id":"Communication.partOf","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/Communication.partOf","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"Communication.partO... | 190 |
764 | {"symbol": "YELD","address": "0x468ab3b1f63A1C14b361bC367c3cC92277588Da1","overview":{"en": "Yeld is a DeFi yield farming dApp that rewards stakers and holders alike with decreasing supply and permanent rewards after users are done staking."},"email": "<EMAIL>","website": "https://yeld.finance/","state": "NORMAL","link... | 167 |
360 | <reponame>Yanci0/openGauss-server
/* -------------------------------------------------------------------------
*
* uuid.h
* Header file for the "uuid" ADT. In C, we use the name pg_uuid_t,
* to avoid conflicts with any uuid_t type that might be defined by
* the system headers.
*
* Copyright (c) 2007-2012, ... | 501 |
462 | package com.ppdai.infrastructure.mq.biz.entity;
public class OffsetVersionEntity {
private long id;
private long offset;
private long offsetVersion;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public long getOffset() {
return offset;
}
public void setOffset(long ... | 174 |
3,372 | /*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | 6,828 |
1,068 | #include "Static.Pe.h"
namespace GleeBug
{
Pe::Pe(File & file)
: mFile(file)
{
Clear();
setupErrorMap();
}
void Pe::Clear()
{
mData.clear();
mOffset = 0;
mIsPe64 = false;
mDosHeader.Clear();
mDosNtOverlap = false;
... | 6,244 |
1,283 | <reponame>marccane/TileSAT
#pragma once
#ifndef ZLIB_CONST
#define ZLIB_CONST
#endif | 40 |
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 Foundation; e... | 1,723 |
312 | //-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 restrictio... | 1,754 |
2,484 | <filename>packages/@aws-cdk/aws-cognito-identitypool/test/identitypool.integ.snapshot/manifest.json
{
"version": "17.0.0",
"artifacts": {
"Tree": {
"type": "cdk:tree",
"properties": {
"file": "tree.json"
}
},
"integ-identitypool": {
"type": "aws:cloudformation:stack",
... | 1,576 |
3,897 | <reponame>mcheah-bose/mbed-os
/****************************************************************************
*
* Copyright 2020 Samsung Electronics All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in co... | 2,426 |
5,534 | <reponame>xgj1988/dubbo
/**
* Project: dubbo.registry.server-1.1.0-SNAPSHOT
*
* File Created at 2010-7-7
*
* Copyright 1999-2010 Alibaba.com Croporation Limited.
* All rights reserved.
*
* This software is the confidential and proprietary information of
* Alibaba Company. ("Confidential Information"). You s... | 841 |
627 | <reponame>fabiojna02/OpenCellular
/* Copyright 2016 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.
*/
#include "console.h"
#include "device_state.h"
#include "hooks.h"
#define CPRINTS(format, args...) cprints(CC_SY... | 748 |
653 | // RUN: %clang_cc1 -fsycl-is-device -verify -Wno-sycl-2017-compat -fsyntax-only %s
const int glob1 = 1;
int glob2 = 2;
template <typename name, typename Func>
__attribute__((sycl_kernel)) void kernel_single_task(const Func &kernelFunc) {
// expected-note-re@+1{{called by 'kernel_single_task<fake_kernel, (lambda at {{... | 269 |
390 | <reponame>pwh19920920/spiders
import re
from flask import current_app
from extractor import (acfun, baidutieba, bilibili, changya, douyin, haokan,
ku6, kuaishou, kugou, kuwo, lizhiFM, lofter, migu_music,
momo, music163, open163, pearvideo, pic58, pipigaoxiao,
... | 1,406 |
997 | <filename>src/kem/ntruprime/pqclean_ntrulpr1277_avx2/crypto_encode_1277x3.h
#ifndef PQCLEAN_NTRULPR1277_AVX2_CRYPTO_ENCODE_1277X3_H
#define PQCLEAN_NTRULPR1277_AVX2_CRYPTO_ENCODE_1277X3_H
#include <stdint.h>
#define PQCLEAN_NTRULPR1277_AVX2_crypto_encode_1277x3_STRBYTES 320
#define PQCLEAN_NTRULPR1277_AVX2_crypto_enco... | 264 |
777 | <reponame>google-ar/chromium<filename>media/cdm/ppapi/cdm_file_io_impl.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 MEDIA_CDM_PPAPI_CDM_FILE_IO_IMPL_H_
#define MEDIA_CDM_PPAPI_CDM_FILE_IO_I... | 2,594 |
1,826 | package com.vladsch.flexmark.html2md.converter;
import com.vladsch.flexmark.test.util.spec.IParseBase;
import com.vladsch.flexmark.util.ast.Node;
import com.vladsch.flexmark.util.data.DataHolder;
import com.vladsch.flexmark.util.data.DataKey;
import com.vladsch.flexmark.util.sequence.BasedSequence;
import org.jetbrain... | 1,076 |
1,083 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 415 |
4,879 | /*
Copyright (c) 2015, Project OSRM contributors
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 the f... | 571 |
320 | <gh_stars>100-1000
#ifndef DELTA_BLOCK_HH
#define DELTA_BLOCK_HH
#define STATISTICS 0
#include "MemBuffer.hh"
#include <cstdint>
#include <memory>
#include <vector>
#ifdef DEBUG
#include "sha1.hh"
#endif
namespace openmsx {
class DeltaBlock
{
public:
#if STATISTICS
virtual ~DeltaBlock();
#else
virtual ~DeltaBlock... | 728 |
4,772 | <gh_stars>1000+
package example.repo;
import example.model.Customer1159;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
public interface Customer1159Repository extends CrudRepository<Customer1159, Long> {
List<Customer1159> findByLastName(String lastName);
}
| 95 |
648 | {"resourceType":"ConceptMap","id":"cm-data-absent-reason-v3","url":"http://hl7.org/fhir/ConceptMap/cm-data-absent-reason-v3","version":"4.0.1","name":"v3.DataAbsentReason","title":"v3 map for DataAbsentReason","status":"draft","date":"2019-11-01T09:29:23+11:00","publisher":"HL7 (FHIR Project)","sourceCanonical":"http:/... | 406 |
885 | <reponame>StasGen/BMRunes
//
// Runes.h
// Runes
//
// Created by <NAME> on 1/8/15.
// Copyright (c) 2015 thoughtbot. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for Runes.
FOUNDATION_EXPORT double RunesVersionNumber;
//! Project version string for Runes.
FOUNDATION_EXPOR... | 151 |
3,348 | <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
*... | 5,195 |
320 | <filename>src/UDevice.cpp<gh_stars>100-1000
#include <functional>
#include <type_traits>
#include <iostream>
extern "C" {
#include <sys/utsname.h>
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
#include <dirent.h>
#include <poll.h>
}
#include "SystemError.hpp"
#include "UDevice.hpp"
... | 2,085 |
458 | // Copyright 2015-2021 Swim 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 ... | 8,404 |
389 | <filename>gosu-lab/src/main/java/editor/LabFrame.java
package editor;
import editor.settings.ISettings;
import editor.settings.Settings;
import editor.util.EditorUtilities;
import editor.util.Experiment;
import gw.util.PathUtil;
import editor.util.PlatformUtil;
import editor.util.ScreenUtil;
import gw.config.CommonSer... | 7,683 |
870 | # Copyright 2021 Division of Medical Image Computing, German Cancer Research Center (DKFZ)
# and Applied Computer Vision Lab, Helmholtz Imaging Platform
#
# 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 L... | 1,118 |
1,131 | //
// 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,009 |
3,428 | <gh_stars>1000+
{"id":"00493","group":"easy-ham-2","checksum":{"type":"MD5","value":"0f1f8d8b91f935166791f0d2e612d4af"},"text":"From <EMAIL> Fri Jul 26 17:13:19 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: <EMAIL>\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP id... | 1,311 |
369 | {
"name": "buffer-shims",
"version": "1.0.0",
"description": "some shims for node buffers",
"main": "index.js",
"scripts": {
"test": "tape test/*.js"
},
"files": ["index.js"],
"license": "MIT",
"devDependencies": {
"tape": "^4.5.1"
},
"repository": {
"type": "git",
"url": "<EMAIL>:... | 165 |
417 | //-----------------------------------------------------------------------------
// Verve
// Copyright (C) 2014 - <NAME>
//
// 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 restricti... | 1,857 |
2,228 | <gh_stars>1000+
/*
* Copyright 2011-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... | 1,000 |
640 | <filename>books_and_notes/professional_courses/data_structures_and_algorithms/sources/国家集训队论文/国家集训队2009论文集/罗穗骞《后缀数组——处理字符串的有力工具》/附件/附件3---源程序/ural1297/ural1297_da.cpp
#include "stdio.h"
#include "string.h"
#define maxn 2002
int wa[maxn],wb[maxn],wv[maxn],ws[maxn];
int cmp(int *r,int a,int b,int l)
{return r[a]==... | 1,826 |
7,073 | import sys
class listenerlibrary:
ROBOT_LISTENER_API_VERSION = 2
ROBOT_LIBRARY_SCOPE = "TEST CASE"
def __init__(self):
self.ROBOT_LIBRARY_LISTENER = self
self.events = []
self.level = 'suite'
def get_events(self):
return self.events[:]
def _start_suite(self, name... | 761 |
3,103 | # 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
# distributed under the Li... | 624 |
5,364 | {
"name": "thephpleague/oauth2-server",
"remark": "A secure OAuth2 server implementation",
"url": "https://github.com/thephpleague/oauth2-server"
}
| 65 |
2,151 | <gh_stars>1000+
/*
* Copyright (c) 2012 The WebM 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.... | 5,309 |
303 | /* Copyright (C) 2005-2011 <NAME> */
package com.lightcrafts.utils;
import com.lightcrafts.platform.Platform;
import java.lang.management.ManagementFactory;
import java.lang.management.MemoryPoolMXBean;
/**
* Some memory limit routines that must be shared among the launchers, the
* tile cache mechanism, and the p... | 480 |
831 | <reponame>phpc0de/idea-android
/*
* Copyright (C) 2014 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... | 1,525 |
1,609 | <gh_stars>1000+
package com.mossle.bpm.persistence.domain;
// Generated by Hibernate Tools
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/*... | 1,657 |
348 | //
// PhotoDetailStore.h
// MinyaDemo
//
// Created by Konka on 2016/10/13.
// Copyright © 2016年 Minya. All rights reserved.
//
#import "MIStore.h"
@interface PhotoDetailStore : MIStore
@end
| 76 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/ScreenReaderOutput.framework/ScreenReaderOutput
*/
#import <ScreenReaderOutput/ScreenReaderOutput-Structs.h>
#import <ScreenReaderOutput/SCROIOElement.h>
#import <ScreenReaderOutput/SCROIOHIDElementProtocol.h>
// iO... | 306 |
1,405 | <gh_stars>1000+
package QQPIM;
import com.lenovo.performancecenter.service.object.PolicyAppInfo;
import com.qq.taf.jce.JceDisplayer;
import com.qq.taf.jce.JceInputStream;
import com.qq.taf.jce.JceOutputStream;
import com.qq.taf.jce.JceStruct;
import com.qq.taf.jce.JceUtil;
public final class ScoreInfo extends JceStru... | 1,464 |
3,651 | <gh_stars>1000+
package com.orientechnologies.orient.core.metadata.security.jwt;
/**
* Created by emrul on 28/09/2014.
*
* @author <NAME> <<EMAIL>> Copyright 2014 <NAME>
*/
public interface OJwtPayload extends OTokenPayload {
public String getIssuer();
public void setIssuer(String iss);
public long getIss... | 214 |
2,990 | <reponame>psydox/GDevelop
/** \file
* GDevelop
* 2008-2016 <NAME> (<EMAIL>)
*/
#ifndef GDCORE_VERSIONWRAPPER_H
#define GDCORE_VERSIONWRAPPER_H
#include "GDCore/String.h"
namespace gd {
/**
* \brief Used to get information about GDevelop Core version.
*
* \ingroup Tools
*/
class GD_CORE_API V... | 1,013 |
569 | {
"name": "mockdate",
"version": "3.0.5",
"description": "A JavaScript mock Date object that can be used to change when \"now\" is.",
"main": "lib/mockdate.js",
"types": "lib/mockdate.d.ts",
"dependencies": {},
"devDependencies": {
"mocha": "7.1.2",
"rollup": "2.42.4",
"rollup-plugin-typescrip... | 507 |
10,182 | package pxb.java.nio.file.spi;
import pxb.java.nio.file.FileSystem;
import pxb.java.nio.file.FileVisitor;
import pxb.java.nio.file.Path;
import java.io.*;
import java.util.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import java.util.zip.ZipOutputStream;
public abstract class FileSystemProvider {
... | 6,969 |
910 | <filename>docs/image/java/ic_blur_on.java<gh_stars>100-1000
package com.github.megatronking.svg.iconlibs;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import com.github.megatronking.svg.support.SVGRenderer;
/**
* AUTO-G... | 6,967 |
311 | <filename>basepackage/smt/src/java/WordToNull.java
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Output... | 1,319 |
2,868 | /*
* Copyright (c) 2015-2016, 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,
* this list of conditions and the f... | 12,218 |
4,200 | <filename>rundeckapp/src/main/groovy/com/dtolabs/rundeck/server/plugins/services/FileUploadProviderService.java<gh_stars>1000+
/*
* Copyright 2018 Rundeck, Inc. (http://rundeck.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.... | 498 |
4,606 | <filename>examples/basic_pyspark_crag/tests/test_basic_pyspark.py
from ..repo import make_and_filter_data_job
def test_basic_pyspark():
res = make_and_filter_data_job.execute_in_process()
assert res.success
| 83 |
1,041 | <gh_stars>1000+
package io.ebeaninternal.server.type;
import io.ebeaninternal.json.ModifyAwareList;
import io.ebeaninternal.json.ModifyAwareSet;
import org.junit.jupiter.api.Test;
import java.io.*;
import java.util.*;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Asser... | 2,645 |
2,829 | <reponame>HuangLED/euler<gh_stars>1000+
/* Copyright 2020 Alibaba Group Holding Limited. 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-... | 1,497 |
796 | <reponame>donroyco/falco
# Generated by Django 2.1.7 on 2019-04-16 17:24
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("projects", "0010_auto_20190416_1913")]
operations = [
migrations.AlterField(
model_... | 194 |
1,210 | // Copyright (C) 2000 <NAME>
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org for updates, documentation, and revision history.
#ifndef BOOST_POOL_MUTEX_HPP
#define BOOST_POOL_MU... | 356 |
14,668 | // 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 "components/policy/core/common/policy_loader_common.h"
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
... | 2,424 |
8,205 | <reponame>sundys/ZeroTierOne
/* libanode: the Anode C reference implementation
* Copyright (C) 2009-2010 <NAME> <<EMAIL>>
*
* 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 3 ... | 2,915 |
1,408 | /*
* Copyright (c) 2021, STMicroelectronics - All Rights Reserved
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <errno.h>
#include <string.h>
#include <common/debug.h>
#include <platform_def.h>
#include <usb_dfu.h>
/* Device states as defined in DFU spec */
#define STATE_APP_IDLE 0
#define STATE_APP_D... | 5,518 |
746 | # Copyright (c) OpenMMLab. All rights reserved.
from .shufflenet_v2 import shufflenetv2_backbone__forward__ncnn
from .vision_transformer import visiontransformer__forward__ncnn
__all__ = [
'shufflenetv2_backbone__forward__ncnn',
'visiontransformer__forward__ncnn',
]
| 98 |
1,144 | <filename>backend/de.metas.vertical.pharma.vendor.gateway.msv3/src/main/java/de/metas/vertical/pharma/vendor/gateway/msv3/model/I_I_BPartner.java
package de.metas.vertical.pharma.vendor.gateway.msv3.model;
public interface I_I_BPartner extends org.compiere.model.I_I_BPartner
{
// @formatter:off
public static final S... | 387 |
12,459 | <gh_stars>1000+
//
// TableViewController.h
// Colors
//
// Created by <NAME>. on 6/29/14.
// Copyright (c) 2014 DZN Labs. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TableViewController : UITableViewController
- (IBAction)refreshColors:(id)sender;
- (IBAction)removeColors:(id)sender;
@end
| 122 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-8q8x-2f93-mwpm",
"modified": "2021-12-29T00:01:37Z",
"published": "2021-12-23T00:01:35Z",
"aliases": [
"CVE-2021-44031"
],
"details": "An issue was discovered in Quest KACE Desktop Authority before 11.2. /dacomponentui/profiles/profileitems/outlooksettings/Inse... | 411 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.