max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
415 | <reponame>ImmanuelChavoya/launcher
{
"Comment": "comment -- ecdsa/256 by openssh 0zdTpzTwRZsx0X31",
"FingerprintSHA256": "0UnvxNcQzGhoyb9nX+N6rP+ysQPabShaeXk3PTsfZDQ",
"FingerprintMD5": "94:88:d9:4e:1a:4a:df:c8:b8:25:0e:a2:d0:6d:89:b9",
"Type": "ecdsa",
"Bits": 256,
"Encrypted": true,
"comma... | 290 |
32,467 | #ifndef _PHP_WINVER_H
#define _PHP_WINVER_H
#ifndef SM_TABLETPC
#define SM_TABLETPC 86
#endif
#ifndef SM_MEDIACENTER
#define SM_MEDIACENTER 87
#endif
#ifndef SM_STARTER
#define SM_STARTER 88
#endif
#ifndef SM_SERVERR2
#define SM_SERVERR2 89
#endif
#ifndef VER_SUITE_WH_SERVER
#define VER_SUITE_WH_SERVER 0x8000
#endif
... | 3,322 |
563 |
from django.core.management.base import BaseCommand
from zappa.zappa import Zappa
from .zappa_command import ZappaCommand
class Command(ZappaCommand):
help = '''Rollback to specific version of a Zappa deploy.
python manage.py rollback dev 3'''
def add_arguments(self, parser):
parser.a... | 360 |
1,343 | <gh_stars>1000+
#ifndef ANIME4KCPP_CORE_AC_REGISTER_HPP
#define ANIME4KCPP_CORE_AC_REGISTER_HPP
// Helper macro
//---------------------------------------
#define REGISTER_PROCESSOR_IF(C, P, A) REGISTER_PROCESSOR_IF_IMPL(C, P, A)
#define REGISTER_PROCESSOR_IF_IMPL(C, P, A) REGISTER_PROCESSOR_IF_##C(P, A)
#define RE... | 902 |
2,584 | <gh_stars>1000+
import collections
import json
import os
import six
import tensorflow as tf
from PIL import Image
from luminoth.tools.dataset.readers import InvalidDataDirectory
from luminoth.tools.dataset.readers.object_detection import (
ObjectDetectionReader
)
from luminoth.utils.dataset import read_image
VA... | 3,554 |
2,268 | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#include "vgui_controls/ScrollableEditablePanel.h"
#include "vgui_controls/ScrollBar.h"
#include "vgui_controls/ScrollBarSlid... | 789 |
2,757 | <reponame>iicarus-bit/google-ctf
#!/usr/bin/python
#
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless... | 408 |
326 | <reponame>bihell/Dice<gh_stars>100-1000
package com.bihell.dice.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bihell.dice.system.entity.AuthRelRoleContent;
import com.bihell.dice.system.mapper.AuthRelRoleContentMapper;
import com.bihell.dice.system.service.AuthRelR... | 188 |
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 468 |
441 | <filename>src/main/java/com/networknt/schema/uri/ClasspathURLFactory.java
/*
* Copyright (c) 2016 Network New Technologies 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
*
* ... | 782 |
1,302 | <reponame>elofun/node-webrtc
#pragma once
#include <webrtc/api/peer_connection_interface.h>
#define ICE_SERVER webrtc::PeerConnectionInterface::IceServer
#define DICT(X) ICE_SERVER ## X
#include "src/dictionaries/macros/decls.h"
#undef DICT
| 98 |
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1,837 |
3,055 | <filename>tools/font/build/single_font_files/u8g2_font_fur17_tr.c
/*
Fontname: -FreeType-FreeUniversal-Medium-R-Normal--23-230-72-72-P-109-ISO10646-1
Copyright: (FreeUniversal) Copyright (c) <NAME> 2009 a modification of: Original Font (SIL Sophia) Copyright (c) SIL International, 1994-2008.
Glyphs: 95... | 3,494 |
5,394 | <gh_stars>1000+
/*
* Copyright (c) 2014, <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this lis... | 8,441 |
1,227 | package ru.playsoftware.j2meloader.crashes.models;
public class ErrorLog extends AbstractLog {
public final String type = "managedError";
public final boolean fatal = true;
public int processId;
public String processName;
public String architecture;
public String appLaunchTimestamp;
public long errorThreadId;
... | 122 |
1,200 | #include "ConsumerConfig.h"
#include "ConsumerLogger.h"
#include <assert.h>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <iterator>
namespace CarreraConsumer {
ConsumerConfig::ConsumerConfig()
: servers_(), cluster_(), group_(),
conn_per_server_(1), timeout_(CONSUMER_DEFAULT_TIMEOU... | 1,527 |
678 | <gh_stars>100-1000
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/Message.framework/Message
*/
#import <Message/Message-Structs.h>
#import <Message/NSStreamDelegate.h>
#import <Message/XXUnknownSuperclass.h>
@class NSOutputStream, NSError, NSMutableDictionary, N... | 760 |
1,428 | /*
The program reverses a linked list using recursion.
Wiki - https://en.wikipedia.org/wiki/Linked_list
- https://en.wikipedia.org/wiki/Recursion_(computer_science)
*/
#include <iostream>
using namespace std;
class node
{
int data;
node *next;
public:
void insert(int data);
void display();
... | 982 |
1,056 | <filename>java/java.api.common/src/org/netbeans/modules/java/api/common/queries/FileBuiltQueryImpl.java<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 co... | 2,221 |
2,701 | // Copyright 2019-2020 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | 1,256 |
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... | 420 |
440 | // Copyright (C) 2002-2012 <NAME>
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_GUI_MESH_VIEWER_H_INCLUDED__
#define __I_GUI_MESH_VIEWER_H_INCLUDED__
#include "IGUIElement.h"
namespace irr
{
namespace video
{
c... | 451 |
2,177 | <gh_stars>1000+
package org.nutz.dao.test.smoke;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import org.nutz.dao.TableName;
import org.nutz.dao.test.DaoCase;
public class TableNameTest extends DaoCase {
@Before
public void before() {
TableName.set("... | 428 |
809 | <reponame>orangeyts/lenskit
/*
* LensKit, an open-source toolkit for recommender systems.
* Copyright 2014-2017 LensKit contributors (see CONTRIBUTORS.md)
* Copyright 2010-2014 Regents of the University of Minnesota
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this softwar... | 2,574 |
347 | <reponame>taoyu0429/xmid2excel<gh_stars>100-1000
#!/usr/bin/env python
# _*_ coding:utf-8 _*_
"""
xmind.core.styles implements encapsulation of the XMind styles.xml.
"""
from xmind.core import Document, const, Element
class StylesBookDocument(Document):
""" `StylesBookDocument` as central object correspond XMind... | 1,370 |
583 | #import <Foundation/Foundation.h>
#ifndef DEFAULT_BASE_URL
#define DEFAULT_BASE_URL @"https://localhost/flow/"
#endif
@class URLLoader;
@interface URLLoader : NSObject {
@private
NSURLConnection * connection;
NSFileHandle * cachedFile;
long long expectedContentLength;
void (^onSuccess)(NSData * data)... | 575 |
389 | <reponame>dmcreyno/gosu-lang<filename>gosu-test/src/test/resources/gw/specContrib/interop/java/FromJava.java<gh_stars>100-1000
package gw.specContrib.interop.java;
import gw.lang.reflect.IType;
import java.util.Map;
public class FromJava
{
public MyGosu construct_no_args()
{
return new MyGosu();
}
publi... | 1,225 |
537 | //
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.08.29 at 0... | 1,221 |
743 | <filename>source/android/mobilechatapp/src/main/java/com/example/mobilechatapp/IFilesReadListener.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.example.mobilechatapp;
public interface IFilesReadListener
{
void setFilesCount(int totalFiles);
voi... | 101 |
2,707 | <gh_stars>1000+
package org.jetlinks.community.notify.manager.service;
import lombok.extern.slf4j.Slf4j;
import org.hswebframework.web.authorization.ReactiveAuthenticationHolder;
import org.hswebframework.web.crud.events.EntityCreatedEvent;
import org.hswebframework.web.crud.events.EntityDeletedEvent;
import org.hsweb... | 2,676 |
1,056 | <filename>ide/git/src/org/netbeans/modules/git/ui/diff/DiffToRevisionAction.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 ownership. The ASF licenses t... | 858 |
1,133 | <gh_stars>1000+
/**
*
* PixelFlow | Copyright (C) 2016 <NAME> - http://thomasdiewald.com
*
* A Processing/Java library for high performance GPU-Computing (GLSL).
* MIT License: https://opensource.org/licenses/MIT
*
*/
package com.thomasdiewald.pixelflow.java.imageprocessing.filter;
import com.thomasdiewal... | 1,017 |
398 | <gh_stars>100-1000
package io.joyrpc.codec;
/*-
* #%L
* joyrpc
* %%
* Copyright (C) 2019 joyrpc.io
* %%
* 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,603 |
778 | /*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/os_time.h"
#include "shared/source/os_interface/windows/os_time_win.h"
namespace NEO {
std::unique_ptr<OSTime> OSTime::create(OSInterface *osInterface) {
return OSTimeWin::create(osInterface)... | 122 |
454 | package cn.originx.migration.tookit;
import cn.originx.migration.AbstractStep;
import cn.originx.refine.Ox;
import io.vertx.core.Future;
import io.vertx.core.json.JsonArray;
import io.vertx.core.json.JsonObject;
import io.vertx.tp.plugin.database.DataPool;
import io.vertx.tp.plugin.jooq.JooqDsl;
import io.vertx.tp.plu... | 1,616 |
5,411 | <reponame>thorium-cfx/fivem
// vendor/chromium/mojo/public/mojom/base/values.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit
// 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.
... | 6,968 |
419 | import numpy as np
import pylab as pl
from scipy import signal
t = np.linspace(0, 5, 100)
x = np.sin(t)
pl.plot(t, x, linewidth=3)
pl.plot(t[::2], signal.resample(x, 50), 'ko')
| 81 |
382 | //
// Created by 安炳旭 on 2019-11-03.
//
#include <cstdio>
#include <cstdlib>
#include <queue>
using namespace std;
typedef struct TreeNode {
struct TreeNode *left, *right;
int weight;
} *Tree;
//王道上给的答案繁琐至极 考试中估计肯定写不出来
//提高一种利用递归计算wpl的算法,十分好理解,并且好写
int WPL(Tree tree, int depth) {
if (tree == NULL) {
... | 809 |
2,053 | /*******************************************************************************
* Copyright (c) 2010 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and i... | 4,488 |
778 | import KratosMultiphysics
import KratosMultiphysics.ConstitutiveModelsApplication as KratosMaterials
import importlib
def Factory(custom_settings, Model):
if(type(custom_settings) != KratosMultiphysics.Parameters):
raise Exception("expected input shall be a Parameters object, encapsulating a json string")
... | 3,916 |
7,629 | <filename>projects/apache-httpd/fuzz_parse.c<gh_stars>1000+
/* Copyright 2021 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requir... | 776 |
392 | <reponame>Da-Krause/settlers-remake<filename>jsettlers.logic/src/main/java/jsettlers/logic/buildings/others/StockBuilding.java<gh_stars>100-1000
/*******************************************************************************
* Copyright (c) 2014 - 2017
*
* Permission is hereby granted, free of charge, to any person... | 1,084 |
317 | import traceback
from mdecbase import Service
import angr
class AngrService(Service):
"""
angr decompiler as a service
"""
def decompile(self, path: str) -> str:
"""
Decompile all the functions in the binary located at `path`.
"""
p = angr.Project(path, auto_load_libs... | 722 |
1,602 | void otherFunction(int* arr);
| 9 |
473 | #include "cgc_block.h"
void _Block_object_assign(void* dst, const void *src, int flag){}
void _Block_object_dispose(void* arg, int flag){}
| 53 |
882 | <reponame>gigliovale/h2o
import unittest, time, sys, random, math, json
sys.path.extend(['.','..','../..','py'])
import h2o, h2o_cmd, h2o_kmeans, h2o_import as h2i, h2o_common
print "Assumes you ran ../build_for_clone.py in this directory"
print "Using h2o-nodes.json. Also the sandbox dir"
DELETE_KEYS_EACH_ITER = Tru... | 6,302 |
368 | /*
Plugin-SDK (Grand Theft Auto) SHARED header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#pragma once
#include "CPools.h"
#include "Extender.h"
#include "Events.h"
#include <vector>
class CPed;
namespace... | 918 |
348 | <reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000
{"nom":"Môlay","circ":"2ème circonscription","dpt":"Yonne","inscrits":94,"abs":50,"votants":44,"blancs":0,"nuls":4,"exp":40,"res":[{"nuance":"REM","nom":"<NAME>","voix":24},{"nuance":"UDI","nom":"M. <NAME>","voix":16}]} | 118 |
1,338 | /*
* Copyright 2007-2015, <NAME>, <EMAIL>.
* Distributed under the terms of the MIT License.
*/
#include "ProgressWindow.h"
#include <Autolock.h>
#include <Button.h>
#include <Catalog.h>
#include <MessageRunner.h>
#include <Screen.h>
#include <StatusBar.h>
#include <stdio.h>
#undef B_TRANSLATION_CONTEXT
#defin... | 1,183 |
1,208 | <filename>Source/TLKitExtensions/TLNetwork/TLNetwork.h
//
// TLNetwork.h
// TLChat
//
// Created by 李伯坤 on 2017/7/13.
// Copyright © 2017年 李伯坤. All rights reserved.
//
#ifndef TLNetwork_h
#define TLNetwork_h
#define TLNetworkErrorTip @"网络异常,请稍后重试..."
#pragma mark - # 网络请求
#import "TLBaseRequest.h"
#import "TLRe... | 319 |
2,151 | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/services/unzip/public/cpp/unzip.h"
#include <utility>
#include "base/bind.h"
#include "base/callback.h"
#include "base/files/file.h... | 2,476 |
572 | """
Human vs AI in pixel observation environment
Note that for multiagent mode, otherObs's image is horizontally flipped
Performance, 100,000 frames in 144.839 seconds, or 690 fps.
"""
import gym
import slimevolleygym
from time import sleep
from pyglet.window import key
from gym.envs.classic_control import renderin... | 723 |
5,169 | {
"name": "SRGridLocation",
"version": "1.0.0",
"summary": "SRGridLocation provides a convenient way to convert between Swedish grid and GPS location coordinates.",
"homepage": "https://github.com/sebreh/SRGridLocation",
"license": "MIT",
"authors": {
"<NAME>": "<EMAIL>"
},
"source": {
"git": "h... | 206 |
2,829 | <filename>euler/core/index/hash_index_result.h<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... | 2,571 |
868 | <reponame>assens/activemq-artemis<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 licenses this file to You under the Apach... | 1,149 |
10,225 | /**
* <h2>API usage</h2>
*
* MongoDB with Panache comes in two flavors, the active record pattern via
* {@link io.quarkus.mongodb.panache.PanacheMongoEntity},
* and the repository pattern via {@link io.quarkus.mongodb.panache.PanacheMongoRepository}.
*
* To use the active record pattern, make your entities exten... | 1,325 |
1,546 | /*
* Copyright (C) 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 app... | 1,659 |
416 | package org.simpleflatmapper.map.impl;
import org.simpleflatmapper.map.MapperConfig;
import org.simpleflatmapper.reflect.Getter;
import org.simpleflatmapper.reflect.InstantiatorDefinition;
import org.simpleflatmapper.reflect.ReflectionService;
import org.simpleflatmapper.reflect.Setter;
import org.simpleflatmapper.ref... | 3,932 |
634 | <filename>modules/base/platform-impl/src/main/java/consulo/fileEditor/impl/EditorWindow.java
/*
* Copyright 2013-2017 consulo.io
*
* 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
*
* htt... | 900 |
433 | <gh_stars>100-1000
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.redkale.mq;
import java.util.concurrent.CompletableFuture;
import java.util.logging.Logger;
... | 359 |
416 | //
// MPRemoteControlTypes.h
// MediaPlayerFramework
//
// Copyright (c) 2016 Apple, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MediaPlayer/MediaPlayerDefines.h>
typedef NS_ENUM(NSInteger, MPShuffleType) {
MPShuffleTypeOff, /// Nothing is shuffled during playback.
MPS... | 396 |
1,695 | <reponame>x-malet/trino
/*
* 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 writin... | 2,595 |
697 | <reponame>Qt-Widgets/vpaint
// Copyright (C) 2012-2019 The VPaint Developers.
// See the COPYRIGHT file at the top-level directory of this distribution
// and at https://github.com/dalboris/vpaint/blob/master/COPYRIGHT
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file ex... | 1,538 |
1,200 | /**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "consumerProxy_constants.h"
namespace CarreraConsumer {
const consumerProxyConstants g_consumerProxy_constants;
consumerProxyConstants::consumerProxyConstants() {
}
} //... | 103 |
3,631 | <reponame>mbiarnes/droolsjbpm-knowledge
/*
* Copyright 2013 Red Hat, Inc. and/or 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... | 469 |
7,482 | /*
* Copyright (C) 2010-2012, Freescale Semiconductor, Inc. All Rights Reserved
* THIS SOURCE CODE IS CONFIDENTIAL AND PROPRIETARY AND MAY NOT
* BE USED OR DISTRIBUTED WITHOUT THE WRITTEN PERMISSION OF
* Freescale Semiconductor, Inc.
*/
/*!
* @file hdmi_regs.h
* @brief registers defination of hdmi tx module.
*... | 18,603 |
422 | extern int debug;
int debugmsg (int level, const char *format,...);
int errmsg (const char *format,...);
| 43 |
1,391 | <reponame>newluhux/plan9port
#include "a.h"
int fusefd;
int fuseeof;
int fusebufsize;
int fusemaxwrite;
FuseMsg *fusemsglist;
Lock fusemsglock;
int mountfuse(char *mtpt);
void unmountfuse(char *mtpt);
FuseMsg*
allocfusemsg(void)
{
FuseMsg *m;
void *vbuf;
lock(&fusemsglock);
if((m = fusemsglist) != nil){
fusem... | 12,442 |
569 | <reponame>kyle-laracey/closure-templates
/*
* Copyright 2020 Google 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... | 7,589 |
852 | #ifndef FASTSIMDATAFORMATS_FastTrackerClusterCollection_H
#define FASTSIMDATAFORMATS_FastTrackerClusterCollection_H
#include "FastSimDataFormats/External/interface/FastTrackerCluster.h"
#include "DataFormats/Common/interface/RangeMap.h"
#include <vector>
#include "DataFormats/Common/interface/ClonePolicy.h"
#include "... | 159 |
3,084 | /*++
Copyright (c) Microsoft 1998, All Rights Reserved
Module Name:
buffers.h
Abstract:
This module declares the functions that and structures that are visible
to other modules.
Environment:
User mode
Revision History:
May-98 : Created
--*/
#ifndef _BUFFERS_H_
#de... | 1,107 |
362 | <filename>jung-algorithms/src/main/java/edu/uci/ics/jung/algorithms/transformation/NodePartitionCollapser.java<gh_stars>100-1000
/*
* Copyright (c) 2003, The JUNG Authors
*
* All rights reserved.
*
* This software is open-source under the BSD license; see either
* "license.txt" or
* https://github.com/jrtom/jung... | 945 |
546 |
#include "Msnhnet/math/MsnhHomTransMatS.h"
namespace Msnhnet
{
void HomTransMatDS::print()
{
std::vector<double> data = {rotMat(0,0), rotMat(0,1), rotMat(0,2),trans[0],
rotMat(1,0), rotMat(1,1), rotMat(1,2),trans[1],
rotMat(2,0), rotMat(2,1), ro... | 1,561 |
1,457 | <filename>src/test/java/org/kairosdb/core/HostManagerTest.java
package org.kairosdb.core;
import org.junit.Before;
import org.junit.Test;
import org.kairosdb.core.datastore.ServiceKeyValue;
import org.kairosdb.core.exception.DatastoreException;
import org.kairosdb.testing.FakeServiceKeyStore;
import org.mockito.Mock;
... | 1,658 |
575 | <filename>third_party/blink/renderer/core/testing/dummy_page_holder.cc
/*
* Copyright (c) 2013, 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 sour... | 1,881 |
1,235 | {
"version": "1.6.7",
"description": "A diff / merge software tool for Windows with a tight integration for TortoiseSVN.",
"homepage": "https://tortoisesvn.net/TortoiseMerge.html",
"license": "GPL-2.0-only",
"notes": [
"If you would like to use TortoiseMerge with Git, run:",
"... | 339 |
2,944 | /*
* Copyright (C) 2014 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 1,475 |
2,151 |
#ifndef RADEON_RENAME_REGS_H
#define RADEON_RENAME_REGS_H
struct radeon_compiler;
void rc_rename_regs(struct radeon_compiler *c, void *user);
#endif /* RADEON_RENAME_REGS_H */
| 84 |
453 | /* Relocate a shared object and resolve its references to other loaded objects.
Copyright (C) 1995,96,97,98,99,2000,2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Gene... | 3,243 |
2,453 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
//
// Copyright (C) 1997-2019 <NAME>.
//
#import <DVTUserInterfaceKit/DVTTableView.h>
@class MISSING_TYPE;
@interface _TtC6IDEKit14TrainYardTable : DVTTableView
{
MISSING_TYPE *messageFieldXIBTag;
}
- (id)initWithCode... | 168 |
348 | <filename>docs/data/t2/087/87160.json
{"nom":"Saint-Léger-Magnazeix","dpt":"Haute-Vienne","inscrits":358,"abs":94,"votants":264,"blancs":21,"nuls":12,"exp":231,"res":[{"panneau":"1","voix":134},{"panneau":"2","voix":97}]} | 94 |
2,757 | <reponame>tonghuaroot/google-ctf<gh_stars>1000+
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Un... | 961 |
1,025 | <gh_stars>1000+
//==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file dmnThreadObserver.h
///
//====================================================================... | 279 |
3,783 | package problems.easy;
/**
* Created by sherxon on 1/11/17.
*/
public class PalindromeNumber {
public static void main(String[] args) {
System.out.println(isPalindrome(1001));
}
static boolean isPalindrome(int x) {
if (x == 0) return true;
if (x < 0) return false;
int xx ... | 275 |
1,887 | package com.baoyz.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.RectF;
import android.os.Handler;
import android.util.TypedValue;
import android.view.View;
import android.view.a... | 1,850 |
8,805 | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2014, Oracle and/or its affiliates.
// Contributed and/or modified by <NAME>, on behalf of Oracle
// Licensed under the Boost Software License version 1.0.
// http://www.boost.org/users/license.html
#ifndef BOOST_GEOMETRY_ALGORITHS_DETA... | 693 |
1,405 | package com.tencent.tmsecure.module.netsetting;
import com.tencent.tmsecure.common.ManagerCreator;
public final class Proguard {
public final void callAllMethods() {
NetSettingManager netSettingManager = (NetSettingManager) ManagerCreator.getManager(NetSettingManager.class);
netSettingManager.getA... | 275 |
372 | /*
* 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 t... | 1,549 |
14,668 | <reponame>zealoussnow/chromium<filename>third_party/blink/renderer/modules/filesystem/file_writer_base.cc
/*
* 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:
... | 2,325 |
378 | <filename>Ayo/frescoUtil/src/main/java/com/shuyu/frescoutil/listener/LoadFrescoListener.java
package com.shuyu.frescoutil.listener;
import android.graphics.Bitmap;
public interface LoadFrescoListener {
void onSuccess(Bitmap bitmap);
void onFail();
} | 101 |
5,766 | <reponame>astlin/poco
#define MY_VER_MAJOR 9
#define MY_VER_MINOR 22
#define MY_VER_BUILD 00
#define MY_VERSION "9.22 beta"
#define MY_7ZIP_VERSION "9.22 beta"
#define MY_DATE "2011-04-18"
#define MY_COPYRIGHT ": <NAME> : Public domain"
#define MY_VERSION_COPYRIGHT_DATE MY_VERSION " " MY_COPYRIGHT " : " MY_DATE
| 134 |
831 | <reponame>phpc0de/idea-android
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2... | 1,294 |
1,039 | <reponame>thmclellan/PDF-Writer
/*
Source File : TrueTypePrimitiveWriter.cpp
Copyright 2011 <NAME> PDFWriter
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.apach... | 1,035 |
2,859 | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (<EMAIL>).
* See LICENSE for details.
*/
package intermediate;
import com.almasb.fxgl.app.GameApplication;
import com.almasb.fxgl.app.GameSettings;
import com.almasb.fxgl.input.InputModifier;
import com.almasb.fxgl.input.KeyTrigger;
im... | 1,692 |
420 | <reponame>weimens/seahub
from .shib import * | 18 |
318 | /* SCCS Id: @(#)gnopts.h 3.4 2000/07/16 */
/* Copyright (C) 1998 by <NAME> <<EMAIL>> */
/* NetHack may be freely redistributed. See license for details. */
#ifndef GnomeHackSettings_h
#define GnomeHackSettings_h
void ghack_settings_dialog( void);
#endif /* GnomeHackSettings.h */
| 107 |
852 | <filename>IOPool/Input/src/RootInputFileSequence.cc<gh_stars>100-1000
/*----------------------------------------------------------------------
----------------------------------------------------------------------*/
#include "RootFile.h"
#include "RootInputFileSequence.h"
#include "DataFormats/Provenance/interface/Bra... | 4,662 |
507 | // Copyright 2013 <NAME>
// Distributed under Boost license
#include <jsoncons/json.hpp>
#include <jsoncons/json_encoder.hpp>
#include <jsoncons/json_filter.hpp>
#include <catch/catch.hpp>
#include <sstream>
#include <vector>
#include <utility>
#include <ctime>
#include <new>
using namespace jsoncons;
TEST_CASE("tes... | 322 |
494 | package app.hanks.com.conquer.fragment;
import java.util.ArrayList;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.GridView;
import app.hanks.com.conquer.R;
import app.hanks.com.conquer.adapter.AlbumAdapter;
public class M... | 634 |
474 | <reponame>iwanghang/EvilsLive<gh_stars>100-1000
package com.thinkkeep.videolib.api;
import android.content.Context;
import android.view.SurfaceView;
import com.thinkkeep.videolib.di.component.CameraComponent;
import com.thinkkeep.videolib.model.video.CameraHandlerThread;
import com.thinkkeep.videolib.model.video.Came... | 926 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.