max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
3,428 | <gh_stars>1000+
{"id":"00342","group":"spam-1","checksum":{"type":"MD5","value":"0dab365fab3be83284b08ac5783335da"},"text":"From <EMAIL> Tue Sep 17 11:28:48 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: zzzz<EMAIL>.spamassassin.taint.org\nReceived: from localhost (jalapeno [1192.168.3.11])\n\tby zzzzason.org (Postfix) w... | 1,328 |
723 | <reponame>Acidburn0zzz/LiveReload
#import <AppKit/AppKit.h>
@interface NodeAppWindow : NSWindow
@end
@interface NSObject (NodeAppWindowDelegate)
- (void)window:(NSWindow *)window didChangeFirstResponder:(NSResponder *)responder;
@end
| 84 |
545 | /*
* Copyright © 2017-2018 <NAME>
*
* This file is part of "apulse" project.
*
* 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 ri... | 3,123 |
14,668 | <filename>chrome/credential_provider/gaiacp/auth_utils.h
// 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 CHROME_CREDENTIAL_PROVIDER_GAIACP_AUTH_UTILS_H_
#define CHROME_CREDENTIAL_PROVIDER_GAIACP... | 368 |
841 | package org.jboss.resteasy.core.interception.jaxrs;
import java.io.IOException;
import java.io.OutputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Enumeration;
import java.util.concurrent.CompletionExcep... | 1,856 |
575 | // 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 COMPONENTS_LEVELDB_PROTO_INTERNAL_SHARED_PROTO_DATABASE_H_
#define COMPONENTS_LEVELDB_PROTO_INTERNAL_SHARED_PROTO_DATABASE_H_
#include <memory>
#... | 2,606 |
2,151 | /*
* Copyright (C) 2010 Google Inc. 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 conditio... | 1,230 |
342 | #include <iostream>
#include "function/expressions/shared/shared.h"
#include "region/common/controlblock.h"
#include "translatetype.h"
#include "function/expression.h"
Ref translateInterfaceCall(
GlobalState* globalState,
FunctionState* functionState,
BlockState* blockState,
LLVMBuilderRef builder,
... | 743 |
3,353 | <reponame>bsipocmpi/jetty.project
//
// ========================================================================
// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License v. 2.0 which is availa... | 654 |
420 | from .nn_utils import *
from .odst import *
from .utils import *
from .data import *
from .arch import *
from .trainer import *
| 40 |
1,538 | <reponame>attilabukor/kudu<filename>java/kudu-client/src/main/java/org/apache/kudu/client/ServerInfo.java
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownershi... | 1,389 |
17,337 | <reponame>SSYSS000/Proton
#include "steam_defs.h"
#pragma push_macro("__cdecl")
#undef __cdecl
#include "steamworks_sdk_142/steam_api.h"
#pragma pop_macro("__cdecl")
#include "steamclient_private.h"
#ifdef __cplusplus
extern "C" {
#endif
#define SDKVER_142
#include "struct_converters.h"
#include "cppISteamInventory_STE... | 4,198 |
2,989 | <gh_stars>1000+
package com.linkedin.databus2.relay;
/*
*
* Copyright 2013 LinkedIn Corp. 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.o... | 3,217 |
903 | package com.github.vole.portal.common.permission;
import com.github.vole.passport.common.permission.AccessPermission;
import com.github.vole.portal.common.fegin.MenuService;
import com.github.vole.portal.common.vo.SysMenuVO;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils;
impor... | 1,169 |
1,414 | #ifdef NALL_STRING_INTERNAL_HPP
namespace nall {
//
//strmcpy, strmcat created by byuu
//
//return = strlen(target)
unsigned strmcpy(char *target, const char *source, unsigned length) {
const char *origin = target;
if(length) {
while(*source && --length) *target++ = *source++;
*target = 0;
}
return t... | 376 |
1,738 | /*
* 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 license below or t... | 866 |
1,165 | <filename>src/galaxy/__init__.py<gh_stars>1000+
import logging
logging.getLogger(__name__).setLevel(logging.INFO)
__path__: str = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore
| 78 |
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... | 1,122 |
852 | <filename>CalibMuon/DTCalibration/plugins/DTT0WireInChamberReferenceCorrection.h
#ifndef CalibMuon_DTT0WireInChamberReferenceCorrection_H
#define CalibMuon_DTT0WireInChamberReferenceCorrection_H
/** \class DTT0WireInChamberReferenceCorrection
* Concrete implementation of a DTT0BaseCorrection.
* Computes correction... | 612 |
324 | /*
* 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 ... | 1,231 |
1,031 | <reponame>MADEAPPS/newton-dynamics<filename>newton-4.00/applications/ndSandbox/ndPhysicsWorld.cpp
/* Copyright (c) <2003-2021> <Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of t... | 2,444 |
308 | <gh_stars>100-1000
package burp.json;
import burp.Config;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.reflect.TypeToken;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileNot... | 1,060 |
861 | package cn.springcloud.gray.server.module.route.policy.jpa;
import cn.springcloud.gray.event.server.GrayEventTrigger;
import cn.springcloud.gray.event.server.TriggerType;
import cn.springcloud.gray.function.Predicate3;
import cn.springcloud.gray.model.RoutePolicy;
import cn.springcloud.gray.server.exception.NonAuthori... | 3,611 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-6925-q744-qcx6",
"modified": "2022-05-17T00:01:43Z",
"published": "2022-05-05T00:00:16Z",
"aliases": [
"CVE-2022-23724"
],
"details": "Use of static encryption key material allows forging an authentication token to other users within a tenant organization. MFA ... | 496 |
2,180 | package com.xiaojukeji.kafka.manager.common.entity.ao.expert;
import com.xiaojukeji.kafka.manager.common.entity.pojo.ClusterDO;
import java.util.List;
/**
* @author zengqiao
* @date 20/3/30
*/
public class TopicInsufficientPartition {
private ClusterDO clusterDO;
private String topicName;
private In... | 1,248 |
312 | /*******************************************************************************
* Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies th... | 474 |
1,383 | <filename>src/chrono/multicore_math/simd.h
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2021 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
/... | 729 |
5,169 | <gh_stars>1000+
{
"name": "JSONRPCom",
"version": "0.0.4",
"summary": "JSON RPC implementation",
"homepage": "https://github.com/andrewBatutin/JSONRPCom",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"andrewBatutin": "<EMAIL>"
},
"source": {
"git": "https://github.com/... | 263 |
974 | // Blend2D - 2D Vector Graphics Powered by a JIT Compiler
//
// * Official Blend2D Home Page: https://blend2d.com
// * Official Github Repository: https://github.com/blend2d/blend2d
//
// Copyright (c) 2017-2020 The Blend2D Authors
//
// This software is provided 'as-is', without any express or implied
// warranty. I... | 7,987 |
303 | <gh_stars>100-1000
/* Copyright (C) 2005-2011 <NAME> */
package com.lightcrafts.ui.operation;
/**
* Notify listeners of changes to the selection state in an OpStack.
*/
public interface OpStackListener {
/**
* A new OpControl has appeared.
* @param control
*/
void opAdded(OpControl control)... | 295 |
701 | #pragma once
#include <brutal/base.h>
#include <stdint.h>
#define EXT2_SIGNATURE 0xef53
#define EXT2_SUPER_BLOCK_BASE 1024
#define EXT2_SUPER_BLOCK_SIZE 1024
typedef enum
{
EXT2_STATE_CLEAN = 1,
EXT2_STATE_ERROR = 2,
} Ext2FsState;
typedef enum
{
EXT2_ERROR_IGNORE = 1,
EXT2_ERROR_REMOUNT_IN_RO = 2,... | 2,100 |
435 | {
"alias": "video/2238/python-ruby-go-oh-my",
"category": "PyCon AU 2013",
"copyright_text": "CC-BY-SA",
"description": "",
"duration": 30,
"id": 2238,
"language": "eng",
"quality_notes": "",
"recorded": "2013-07-07",
"slug": "python-ruby-go-oh-my",
"speakers": [
"<NAME>"
],
"summary": "Br... | 406 |
677 | /*
* Copyright (C) 2016 Apple Inc. 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 copyright
* notice, this list of conditions a... | 2,276 |
892 | <filename>advisories/github-reviewed/2021/09/GHSA-22gh-3r9q-xf38/GHSA-22gh-3r9q-xf38.json<gh_stars>100-1000
{
"schema_version": "1.2.0",
"id": "GHSA-22gh-3r9q-xf38",
"modified": "2021-10-21T14:26:23Z",
"published": "2021-09-20T19:53:30Z",
"aliases": [
"CVE-2021-39214"
],
"summary": "Lacking Protection... | 1,239 |
379 | <filename>client/oim-client-base/src/main/java/com/onlyxiahui/im/bean/UserCategoryMember.java
package com.onlyxiahui.im.bean;
/**
* 描述:好友分组成员
*
* @author XiaHui
* @date 2014-06-15 2:32:18
* @version 0.0.1
*/
public class UserCategoryMember implements CategoryMember {
private String id;
private String ownUser... | 450 |
2,206 | /*
*
* Copyright (c) 2006-2020, Speedment, 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... | 449 |
834 | // Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#include "fboss/agent/platforms/common/PlatformMapping.h"
namespace facebook::fboss {
class Wedge400CEbbLabPlatformMapping : public PlatformMapping {
public:
Wedge400CEbbLabPlatformMapping();
private:
Wedge400CEbbLabPlatformMapping(Wedge40... | 164 |
2,151 | <gh_stars>1000+
// 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.
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#i... | 2,916 |
420 | <gh_stars>100-1000
# Copyright (c) 2012-2019 Seafile Ltd.
# encoding: utf-8
from django.conf import settings
ENABLE_WEIXIN = getattr(settings, 'ENABLE_WEIXIN', False)
WEIXIN_OAUTH_APP_ID = getattr(settings, 'WEIXIN_OAUTH_APP_ID', '')
WEIXIN_OAUTH_APP_SECRET = getattr(settings, 'WEIXIN_OAUTH_APP_SECRET', '')
WEIXIN_OA... | 494 |
335 | <reponame>est31/jsparagus
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* vim: set ts=8 sts=2 et sw=2 tw=80:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http:/... | 238 |
2,062 | import pytest
from .app import create_app
@pytest.fixture
def flask_client():
with create_app().test_client() as client:
yield client
| 53 |
453 | import sympy
import torch
from pixyz.losses.losses import Loss
from pixyz.losses.divergences import KullbackLeibler
def Entropy(p, analytical=True, sample_shape=torch.Size([1])):
r"""
Entropy (Analytical or Monte Carlo approximation).
.. math::
H(p) &= -\mathbb{E}_{p(x)}[\log p(x)] \qquad \text... | 1,515 |
399 | <reponame>PranavPurwar/procyon
/*
* VariableTests.java
*
* Copyright (c) 2015 <NAME>
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0.
* A copy of the license can be found in the License.html file at the root of this distribution.
* By using this source code in an... | 3,007 |
474 | /***************************************************************************
* Captures a rendered texture to a buffer.
***************************************************************************/
#include <gl/gl_render_texture.h>
#include "glm/glm.hpp"
#include "glm/gtc/constants.hpp"
#include "glm/gtc/type_ptr.hpp... | 2,506 |
609 | package org.consenlabs.tokencore.wallet.transaction;
import org.consenlabs.tokencore.foundation.crypto.Hash;
import org.consenlabs.tokencore.foundation.utils.ByteUtil;
import org.consenlabs.tokencore.foundation.utils.NumericUtil;
import org.consenlabs.tokencore.wallet.Wallet;
import org.consenlabs.tokencore.wallet.key... | 1,123 |
1,444 | package mage.game.command.emblems;
import mage.abilities.Ability;
import mage.abilities.common.BeginningOfCombatTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.counter.AddCountersAllEffect;
import mage.constants.TargetController;
import mage.constants.Zone... | 458 |
5,964 | <filename>third_party/skia/src/gpu/GrProcessorDataManager.cpp<gh_stars>1000+
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrProcessorDataManager.h"
| 83 |
4,140 | <reponame>FANsZL/hive
/*
* 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 (t... | 833 |
3,182 | //CONF: lombok.fieldNameConstants.uppercase = true
import lombok.AccessLevel;
import lombok.experimental.FieldNameConstants;
@FieldNameConstants(level = AccessLevel.PACKAGE)
public class FieldNameConstantsUppercased {
String iAmADvdPlayer;
int $skipMe;
static double skipMeToo;
@FieldNameConstants.Exclude
int... | 120 |
852 | <reponame>malbouis/cmssw
#ifndef CondTools_SiPixel_PixelPopConCalibChecker_H
#define CondTools_SiPixel_PixelPopConCalibChecker_H
// -*- C++ -*-
//
// Package: PixelPopConCalibChecker
// Class: PixelPopConCalibChecker
//
/**\class PixelPopConCalibChecker PixelPopConCalibChecker.h SiPixel/test/PixelPopConCalibCh... | 504 |
839 | from django.dispatch import receiver
from baserow.core.trash.signals import permanently_deleted
from baserow_premium.row_comments.models import RowComment
@receiver(permanently_deleted, sender="row", dispatch_uid="row_comment_cleanup")
def permanently_deleted(sender, **kwargs):
table_id = kwargs["parent_id"]
... | 156 |
12,278 | <gh_stars>1000+
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 <NAME>
// Copyright (C) 2007-2008 <NAME>
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or cop... | 1,804 |
348 | <gh_stars>100-1000
{"nom":"Reyniès","circ":"1ère circonscription","dpt":"Tarn-et-Garonne","inscrits":703,"abs":342,"votants":361,"blancs":42,"nuls":23,"exp":296,"res":[{"nuance":"SOC","nom":"<NAME>","voix":174},{"nuance":"REM","nom":"<NAME>","voix":122}]} | 105 |
1,162 | <filename>digdag-spi/src/main/java/io/digdag/spi/SecretStoreManager.java
package io.digdag.spi;
public interface SecretStoreManager
{
SecretStore getSecretStore(int siteId);
}
| 67 |
19,046 | <gh_stars>1000+
/*
* 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 re... | 7,745 |
8,905 | from __future__ import print_function, division, absolute_import
from .voc import Voc2007Classification | 23 |
2,094 | <gh_stars>1000+
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: MultivariateLoss.h (optimization)
// Authors: <NAME>
//
//////////////////////////////////////////////////////////////////////////////////... | 2,198 |
6,958 | //
// ResizeFunction.h
// MNN
//
// Created by MNN on 2018/07/23.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef ResizeFunction_h
#define ResizeFunction_h
#include <stdint.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
void MNNCubicSampleC4(const float* src, float* dst, int32_t* posi... | 226 |
1,253 | <reponame>bakuryuthem0/al-go-rithms<gh_stars>1000+
#include <bits/stdc++.h>
using namespace std;
int sum_arr(int freq[], int i, int j){
int sum = 0;
for(int k=i; k<=j; k++){
sum+=freq[k];
}
return sum;
}
int optimal_binary_tree(int arr[], int freq[], int n){
/*int sum_arr[n+1];
sum_... | 914 |
393 | package com.marverenic.music.ui.library.playlist.contents.edit;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import com.marverenic.music.model.AutoPlaylist;
import com.marverenic.music.ui.SingleFragmentActivity;
public class AutoPlayl... | 342 |
14,668 | <gh_stars>1000+
// 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 BASE_TASK_SEQUENCE_MANAGER_TIME_DOMAIN_H_
#define BASE_TASK_SEQUENCE_MANAGER_TIME_DOMAIN_H_
#include "base/check.h"
#include "bas... | 896 |
606 | package org.arend.typechecking.implicitargs;
import org.arend.Matchers;
import org.arend.core.context.binding.Binding;
import org.arend.core.context.binding.LevelVariable;
import org.arend.core.context.binding.TypedBinding;
import org.arend.core.context.param.SingleDependentLink;
import org.arend.core.expr.Expression;... | 6,875 |
2,151 | // Copyright 2016 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 "chromeos/components/tether/fake_ble_connection_manager.h"
#include "chromeos/components/tether/timer_factory.h"
#include "device/bluetooth/blue... | 1,784 |
1,159 | #ifndef TEXT_NATURALCMP
#define TEXT_NATURALCMP
#include <string>
namespace Text
{
class NaturalCmp
{
public:
NaturalCmp(bool ignoreCase = true, bool ignoreSpace = true);
bool operator()(const std::string &, const std::string &) const;
private:
bool ignoreCase;
bool ignoreSpace;
int cmp(const char *&, const cha... | 177 |
698 | <filename>third_party/tests/Opentitan/hw/vendor/lowrisc_ibex/dv/cs_registers/rst_driver/reset_driver.cc<gh_stars>100-1000
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "reset_driver.h"
extern "C" void rst_... | 414 |
2,921 | <gh_stars>1000+
{
"name": "ShibaKen.Finance",
"website": "https://shibaken.io",
"description": "A community-first protocol procuring a bridge to the blockchain - enabling individuals to purchase cryptocurrency.",
"explorer": "https://etherscan.io/token/0xa4Cf2aFD3B165975afFFBf7e487CDd40C894Ab6B",
"t... | 202 |
409 | // Copyright (c) 2013-2020 <NAME>
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: https://opensource.org/licenses/AFL-3.0
#pragma once
#include <SFML/Window/Mouse.hpp>
#include <SFML/Window/Keyboard.hpp>
namespace ssvs::Input {
class Trigger;
class Combo;
} // namespace ssvs::Input
namespace s... | 668 |
427 | //===-- DWARFDebugMacro.cpp -------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 1,927 |
2,054 | <reponame>w136111526/zqcnn<filename>ZQCNN/layers_nchwc/zq_cnn_softmax_nchwc.h
#ifndef _ZQ_CNN_SOFTMAX_NCHWC_H_
#define _ZQ_CNN_SOFTMAX_NCHWC_H_
#include "../ZQ_CNN_CompileConfig.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
void zq_cnn_softmax_nchwc1_C(
float* in_tensor4D_data, // in & ou... | 780 |
831 | <reponame>phpc0de/idea-android<gh_stars>100-1000
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/... | 1,474 |
335 | <gh_stars>100-1000
{
"word": "Present",
"definitions": [
"In a particular place.",
"Existing or occurring in a place or thing.",
"Fully focused on or involved in what one is doing or experiencing.",
"Existing or occurring now.",
"Now being considered or discussed.",
... | 171 |
474 | <reponame>lzwjava/MCAlbum
//
// CNCommon.h
// LZAlbum
//
// Created by lzw on 15/3/10.
// Copyright (c) 2015年 lzw. All rights reserved.
//
#ifndef LZAlbum_MCCommon_h
#define LZAlbum_MCCommon_h
#import<AVOSCloud/AVOSCloud.h>
#import "LZMacros.h"
#endif
| 128 |
852 | #include "DataFormats/L1THGCal/interface/HGCalMulticluster.h"
using namespace l1t;
HGCalMulticluster::HGCalMulticluster(const LorentzVector p4, int pt, int eta, int phi)
: HGCalClusterT<l1t::HGCalCluster>(p4, pt, eta, phi), hOverE_(-99), hOverEValid_(false) {}
HGCalMulticluster::HGCalMulticluster(const edm::Ptr<... | 394 |
5,169 | {
"name": "SPDevKit",
"version": "0.0.11",
"summary": "Personal dev kit",
"description": "develop kit",
"homepage": "https://cocoapods.org",
"license": "MIT",
"authors": "Superwave",
"platforms": {
"ios": null
},
"source": {
"git": "https://github.com/superwave/SPDevKit.git",
"tag": "0.0... | 279 |
679 | <filename>main/qadevOOo/java/OOoRunner/src/main/java/ifc/sheet/_SheetSortDescriptor.java<gh_stars>100-1000
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with... | 1,876 |
892 | <reponame>westonsteimel/advisory-database-github
{
"schema_version": "1.2.0",
"id": "GHSA-p55g-6f9f-5v5g",
"modified": "2022-05-01T18:02:45Z",
"published": "2022-05-01T18:02:45Z",
"aliases": [
"CVE-2007-2358"
],
"details": "** DISPUTED ** Multiple PHP remote file inclusion vulnerabilities in b2evolut... | 715 |
1,374 | <gh_stars>1000+
package source.overload;
import def.test.AmbientWithOverload;
import jsweet.lang.Ambient;
@Ambient
class AmbientWithOverload2 {
public native void mm(String s);
public native void mm(String s, int i);
}
public class WithAmbients {
void m(AmbientWithOverload a, AmbientWithOverload2 a2) {
a.m("a... | 136 |
3,799 | /*
* Copyright 2020 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 applica... | 2,140 |
571 | /***************************************************************************
Copyright 2015 Ufora Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | 1,814 |
1,711 | import pytest
from kubernetes.client import V2beta2CrossVersionObjectReference
from kubernetes.client import V2beta2ExternalMetricSource
from kubernetes.client import V2beta2ExternalMetricStatus
from kubernetes.client import V2beta2MetricIdentifier
from kubernetes.client import V2beta2MetricSpec
from kubernetes.client ... | 2,409 |
1,144 | package de.metas.handlingunits.shipmentschedule.api;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import de.metas.handlingunits.IHUShipperTransportationBL;
import de.metas.handlingunits.model.I_M_HU;
import de.met... | 3,817 |
1,189 | <gh_stars>1000+
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
/**
* Metric aggregators.
*
* <p>This package is internal and is hence not for public use. Its APIs are unstable and can change
* at any time.
*/
@ParametersAreNonnullByDefault
package io.opentelemetry.sdk.metrics... | 125 |
436 | <filename>src/main/java/com/jdon/jivejdon/presentation/action/query/ThreadHotAction.java
/*
* Copyright 2003-2006 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 Licens... | 932 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-c4wx-x65q-h4fx",
"modified": "2022-05-13T01:35:33Z",
"published": "2022-05-13T01:35:33Z",
"aliases": [
"CVE-2018-0240"
],
"details": "Multiple vulnerabilities in the Application Layer Protocol Inspection feature of Cisco Adaptive Security Appliance (ASA) Softwa... | 796 |
21,382 | <filename>java/runtime/src/main/java/io/ray/runtime/util/JniExceptionUtil.java
package io.ray.runtime.util;
import org.apache.commons.lang3.exception.ExceptionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
// Required by JNI macro RAY_CHECK_JAVA_EXCEPTION
public final class JniExceptionUtil {
priv... | 289 |
879 | <filename>sdk/src/main/java/org/zstack/sdk/zwatch/alarm/EventDataAckInventory.java<gh_stars>100-1000
package org.zstack.sdk.zwatch.alarm;
public class EventDataAckInventory extends org.zstack.sdk.zwatch.alarm.AlertDataAckInventory {
public java.lang.String eventSubscriptionUuid;
public void setEventSubscrip... | 203 |
2,151 | <gh_stars>1000+
// 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.
#include <stdint.h>
#include <limits>
#include <memory>
#include <vector>
#include "base/bind.h"
#include "base/command_line.h"
#include... | 14,444 |
397 | import os
import pickle
from studio import fs_tracker
def clientFunction(args, files):
print('client function call with args ' +
str(args) + ' and files ' + str(files))
modelfile = 'model.dat'
filename = files.get('model') or \
os.path.join(fs_tracker.get_artifact('modeldir'), modelfile... | 297 |
740 | <reponame>StephenHwang/vg
#ifndef VG_GBWTGRAPH_HELPER_HPP_INCLUDED
#define VG_GBWTGRAPH_HELPER_HPP_INCLUDED
/** \file
* Utility classes and functions for working with GBWTGraph.
*/
#include <gbwtgraph/gbz.h>
#include <gbwtgraph/minimizer.h>
namespace vg {
//-------------------------------------------------------... | 748 |
2,766 | <reponame>DeltaEpsilon7787/XlsxWriter
###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013-2021, <NAME>, <EMAIL>
#
import unittest
from io import StringIO
from ..helperfunctions import _xml_to_list
from ...worksheet import Worksheet
class T... | 2,941 |
913 | """
Implementation of the command-line I{pyflakes} tool.
"""
from __future__ import absolute_import
# For backward compatibility
__all__ = ['check', 'checkPath', 'checkRecursive', 'iterSourceCode', 'main']
from pyflakes.api import check, checkPath, checkRecursive, iterSourceCode, main
| 82 |
412 | /*******************************************************************\
Module: Unit tests helpers for arrays
Author: <NAME>, <EMAIL>
\*******************************************************************/
#ifndef CPROVER_ANALYSES_VARIABLE_SENSITIVITY_FULL_ARRAY_ABSTRACT_OBJECT_ARRAY_BUILDER_H
#define CPROVER_ANALYSES... | 319 |
2,577 | /*
* 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. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | 1,234 |
1,025 | <reponame>jeongjoonyoo/CodeXL<gh_stars>1000+
//==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file gdDebuggedProcessEventsView.cpp
///
//===========================... | 33,647 |
713 | <filename>server/memcached/src/test/java/org/infinispan/server/memcached/MemcachedDistributionTest.java
package org.infinispan.server.memcached;
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertTrue;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.... | 912 |
451 | // File Automatically generated by eLiSe
#include "general/all.h"
#include "private/all.h"
#include "cEqCoplanNoDistId.h"
cEqCoplanNoDistId::cEqCoplanNoDistId():
cElCompiledFonc(1)
{
AddIntRef (cIncIntervale("Intr1",0,3));
AddIntRef (cIncIntervale("Or1",3,9));
AddIntRef (cIncIntervale("Or2",9,15));
C... | 8,558 |
5,597 | /*
* The MIT License
*
* Copyright 2020 Intuit 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, copy, modi... | 1,063 |
1,431 | <filename>poi-scratchpad/src/test/java/org/apache/poi/hslf/usermodel/TestPictures.java
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for a... | 10,219 |
1,341 | //
// RCOfferingAPI.h
// APITester
//
// Created by <NAME> on 7/9/21.
// Copyright © 2021 Purchases. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface RCOfferingAPI : NSObject
+ (void)checkAPI;
@end
NS_ASSUME_NONNULL_END
| 113 |
30,023 | """Test for the Insteon integration."""
| 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.