max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
2,040 | <reponame>burjakremen/AI-on-the-edge-device
#include <string>
class ClassLogFile
{
private:
std::string logroot;
std::string logfile;
bool doLogFile;
unsigned short retentionInDays;
int loglevel;
public:
ClassLogFile(std::string _logpath, std::string _logfile);
std::string getESPHeapInfo... | 273 |
1,374 | <reponame>norzak/jsweet<filename>core-lib/es5/src/main/java/def/dom/FocusEvent.java
package def.dom;
public class FocusEvent extends UIEvent {
public EventTarget relatedTarget;
native public void initFocusEvent(String typeArg, Boolean canBubbleArg, Boolean cancelableArg, Window viewArg, double detailArg, EventT... | 157 |
6,660 | #
# This file is part of the LibreOffice project.
#
# 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://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license noti... | 4,362 |
474 | <filename>javacord-core/src/main/java/org/javacord/core/util/cache/Cache.java
package org.javacord.core.util.cache;
import io.vavr.collection.HashMap;
import io.vavr.collection.HashSet;
import io.vavr.collection.Map;
import io.vavr.collection.Set;
import java.util.Optional;
import java.util.function.Function;
/**
*... | 2,594 |
32,544 | <reponame>zeesh49/tutorials
package com.baeldung.singleton.synchronization;
/**
* Singleton with early initialization. Inlines the singleton instance
* initialization.
*
* @author <NAME>
*
*/
public class EarlyInitSingleton {
/**
* Current instance of the singleton.
*/
private static final EarlyInitSingl... | 191 |
1,013 | <reponame>JosephChataignon/pyclustering
/*!
@authors <NAME> (<EMAIL>)
@date 2014-2020
@copyright BSD-3-Clause
*/
#include <pyclustering/container/adjacency_connector.hpp>
namespace pyclustering {
namespace container {
std::ostream & operator<<(std::ostream & p_stream, const connection_t & p_struct... | 468 |
546 | <gh_stars>100-1000
#ifndef PIPER_VIEW_H
#define PIPER_VIEW_H
#include <QGraphicsView>
#include <MsnhViewerScene.h>
namespace MsnhViewer
{
class View : public QGraphicsView
{
public:
View(QWidget* parent = nullptr);
void fitView();
protected:
void wheelEvent(QWhee... | 199 |
450 | //=============================================================================
//
// Adventure Game Studio (AGS)
//
// Copyright (C) 1999-2011 <NAME> and 2011-20xx others
// The full list of copyright holders can be found in the Copyright.txt
// file, which is part of this source code distribution.
//
// The AGS sourc... | 573 |
765 | /* rgbtobgr565 - convert 24-bit RGB pixels to 16-bit BGR565 pixels
Written in 2016 by <NAME> <<EMAIL>>
To the extent possible under law, the author has dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.... | 494 |
1,851 | //
// VROAnimationQuaternion.h
// ViroRenderer
//
// Created by <NAME> on 12/28/15.
// Copyright © 2015 Viro Media. All rights reserved.
//
// 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 So... | 1,561 |
335 | <gh_stars>100-1000
{
"word": "Intentionality",
"definitions": [
"The fact of being deliberate or purposive.",
"The quality of mental states (e.g. thoughts, beliefs, desires, hopes) which consists in their being directed towards some object or state of affairs."
],
"parts-of-speech": "Nou... | 113 |
451 | #include "include/MMVII_all.h"
#include "include/MMVII_2Include_Serial_Tpl.h"
#include "LearnDM.h"
#include "include/MMVII_util_tpl.h"
#include "include/MMVII_Tpl_Images.h"
//#include "include/MMVII_Tpl_Images.h"
namespace MMVII
{
void AddData(const cAuxAr2007 & anAux,eModeCaracMatch & aMCM) {EnumAddData(anAux,aMCM... | 10,249 |
434 | <reponame>hhb584520/inclavare-containers<filename>rune/libenclave/internal/runtime/pal/kvmtool/powerpc/spapr_hvcons.c
/*
* SPAPR HV console
*
* Borrowed lightly from QEMU's spapr_vty.c, Copyright (c) 2010 <NAME>,
* IBM Corporation.
*
* Copyright (c) 2011 <NAME> <<EMAIL>>, IBM Corporation.
*
* This program is fr... | 1,046 |
7,137 | <reponame>java-app-scans/onedev
package io.onedev.server.plugin.imports.youtrack;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.hibernate.validator.constraints.NotEmpty;
import io.onedev.server.OneDev;
import io.onedev.server.entitymanager.SettingManager;
import io.onedev... | 521 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-f7p4-692g-f4w7",
"modified": "2022-05-13T01:21:32Z",
"published": "2022-05-13T01:21:32Z",
"aliases": [
"CVE-2019-0762"
],
"details": "A security feature bypass vulnerability exists when Microsoft browsers improperly handle requests of different origins, aka 'Mi... | 427 |
2,151 | #!/usr/bin/env vpython
# 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.
"""Utilities for creating a phased orderfile.
This kind of orderfile is based on cygprofile lightweight instrumentation. The
profile ... | 2,627 |
12,824 | <reponame>jamesanto/scala
public class Test {
public static void main(String[] args) {
Object o = new Object();
System.out.println(o instanceof MyTrait);
}
}
| 73 |
407 | <gh_stars>100-1000
# -*- coding: utf-8 -*-
# @author: 丛戎
# @target: 对源数据进行一些预处理的方法,如数据平滑、季节性分解、剔除异常值等
import pandas as pd
from statsmodels.tsa.seasonal import seasonal_decompose
class DataPreprocessUtils(object):
def get_complete_date_range(self, downdate, update, freq, tsname):
"""
根据开始和结束日期补... | 4,257 |
1,021 | #pragma once
#include "Buffer.h"
#ifdef fcWindows
#define fcDLLExt ".dll"
#else
#ifdef fcMac
#define fcDLLExt ".dylib"
#else
#define fcDLLExt ".so"
#endif
#endif
typedef void* module_t;
module_t DLLLoad(const char *path);
void DLLUnload(module_t mod);
void... | 1,110 |
1,268 | <gh_stars>1000+
package xiaofei.library.hermestest.test;
/**
* Created by Xiaofei on 16/4/14.
*/
public interface Call2 {
A g(A a);
}
| 61 |
2,313 | <gh_stars>1000+
/*
* Copyright (c) 2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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 limitatio... | 1,286 |
335 | <reponame>Safal08/Hacktoberfest-1
{
"word": "Convert",
"definitions": [
"A person who has been persuaded to change their religious faith or other belief."
],
"parts-of-speech": "Noun"
} | 84 |
403 | <gh_stars>100-1000
package com.camunda.bpm.demo.process_engine_load_test;
import org.camunda.bpm.model.bpmn.Bpmn;
import org.camunda.bpm.model.bpmn.BpmnModelInstance;
import org.camunda.bpm.model.bpmn.builder.ServiceTaskBuilder;
import org.camunda.bpm.model.bpmn.builder.UserTaskBuilder;
public class ProcessGenerator ... | 1,003 |
631 | <filename>Source/Modules/nimMockNodes/MockMapGenerator.cpp
/*****************************************************************************
* *
* OpenNI 1.x Alpha *
* Copyright (C) 2012... | 4,003 |
1,734 | <reponame>japzio/slf4j
package org.slf4j.helpers;
import org.slf4j.Marker;
/**
* Provides minimal default implementations for {@link #isTraceEnabled(Marker)}, {@link #isDebugEnabled(Marker)} and other similar methods.
*
* @since 2.0
*/
abstract public class LegacyAbstractLogger extends AbstractLogger {
priv... | 330 |
11,750 | from plotly.graph_objs import Scatterternary
| 14 |
782 | <gh_stars>100-1000
package client;
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.client.Delete;
import org.apache.hadoop.hbase.client.Get;
import org.apache.hadoop.hbase.client.HTable;
import org.apache.hadoop... | 867 |
568 | <filename>enews/enews-java/aws-runner/src/main/java/com/novoda/RunnerMain.java
package com.novoda;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import com.google.gson.JsonObject;
import com.google.gson.JsonPrimitive;
import com.novoda.enews.*;
impo... | 760 |
3,968 | from ...error import GraphQLError
from ...utils.type_comparators import do_types_overlap
from ...utils.type_from_ast import type_from_ast
from .base import ValidationRule
class PossibleFragmentSpreads(ValidationRule):
def enter_InlineFragment(self, node, key, parent, path, ancestors):
frag_type = self.co... | 1,055 |
478 | <reponame>MobileUpLLC/geofire-objc<filename>examples/SFVehicles/SFVehicles/SFViewController.h
//
// SFViewController.h
// SFVehicles
//
// Created by <NAME> on 7/7/14.
// Copyright (c) 2014 Firebase. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <MapKit/MapKit.h>
@interface SFViewController : UIViewCont... | 134 |
2,824 | <filename>spine-c/spine-c/include/spine/SkeletonClipping.h
/******************************************************************************
* Spine Runtimes License Agreement
* Last updated January 1, 2020. Replaces all prior versions.
*
* Copyright (c) 2013-2020, Esoteric Software LLC
*
* Integration of the Spine... | 954 |
416 | <filename>sfm-map/src/main/java/org/simpleflatmapper/map/property/ConverterProperty.java
package org.simpleflatmapper.map.property;
import org.simpleflatmapper.converter.ContextualConverter;
import org.simpleflatmapper.converter.ContextualConverterAdapter;
import org.simpleflatmapper.converter.Converter;
import org.si... | 568 |
617 | <gh_stars>100-1000
/*
* Copyright Beijing 58 Information Technology Co.,Ltd.
*
* 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 li... | 862 |
8,805 | <reponame>thisisgopalmandal/opencv<filename>3rdparty/libwebp/src/enc/vp8li_enc.h<gh_stars>1000+
// Copyright 2012 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual prope... | 1,664 |
819 | /*
* Copyright (c) 2016, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#ifndef FATAL_... | 2,057 |
892 | <gh_stars>100-1000
{
"schema_version": "1.2.0",
"id": "GHSA-9chm-qgqp-3whh",
"modified": "2022-05-01T02:31:49Z",
"published": "2022-05-01T02:31:49Z",
"aliases": [
"CVE-2005-4895"
],
"details": "Multiple integer overflows in TCMalloc (tcmalloc.cc) in gperftools before 0.4 make it easier for context-dep... | 437 |
450 | <filename>app/src/main/java/ru/krlvm/powertunnel/utilities/PacketUtility.java<gh_stars>100-1000
package ru.krlvm.powertunnel.utilities;
import java.util.Arrays;
import java.util.LinkedList;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import ru.krlvm.powertunnel.PowerTunnel;
/**
* Utility with w... | 1,019 |
1,267 | """
Frontier initialization from settings
"""
from frontera import FrontierManager, Settings, graphs, Request, Response
SETTINGS = Settings()
SETTINGS.BACKEND = 'frontera.contrib.backends.memory.FIFO'
SETTINGS.LOGGING_MANAGER_ENABLED = True
SETTINGS.LOGGING_BACKEND_ENABLED = True
SETTINGS.LOGGING_DEBUGGING_ENABLED = T... | 476 |
1,628 | from pulumi import ComponentResource, ResourceOptions
from pulumi_gcp import compute
class VpcArgs:
def __init__(self,
subnet_cidr_blocks=None,
):
self.subnet_cidr_blocks = subnet_cidr_blocks
class Vpc(ComponentResource):
def __init__(self,
name: ... | 1,187 |
1,068 | package com.github.jknack.handlebars;
import java.io.File;
import java.io.IOException;
import org.junit.Test;
public class Issue308 extends AbstractTest {
@Override
protected void configure(final Handlebars handlebars) {
try {
handlebars.registerHelpers(new File("src/test/resources/issue308.js"));
... | 307 |
576 | #pragma once
#include "core/templates/paged_allocator.h"
#include "dense_vector.h"
#include "storage.h"
/// The `SharedSteadyStorage` is the perfect choice when you want to share the
/// same component between entities, and that components memory never changes.
///
/// When dealing with physics engines or audio engin... | 1,330 |
323 | <reponame>pavanbadugu/cachelot
#include <cachelot/common.h>
#include <cachelot/cache.h>
#include <cachelot/random.h>
#include <cachelot/hash_fnv1a.h>
#include <cachelot/stats.h>
#include <iostream>
#include <iomanip>
using namespace cachelot;
using std::chrono::microseconds;
using std::chrono::milliseconds;
using st... | 2,185 |
23,901 | <reponame>deepneuralmachine/google-research
// Copyright 2020 The 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
//
// Unles... | 504 |
1,144 | <gh_stars>1000+
/*
* #%L
* de.metas.adempiere.adempiere.base
* %%
* Copyright (C) 2021 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the
* License,... | 962 |
3,227 | <reponame>ffteja/cgal
/*!
\ingroup PkgAlgebraicKernelDConceptsBi
\cgalConcept
Computes an isolating box for a given `AlgebraicKernel_d_2::Algebraic_real_2`.
\cgalRefines `AdaptableFunctor`
\sa `AlgebraicKernel_d_2::IsolateX_2`
\sa `AlgebraicKernel_d_2::IsolateY_2`
\sa `AlgebraicKernel_d_2::ComputePolynomialX_2`
\sa... | 700 |
2,633 | <reponame>afxcn/unit<gh_stars>1000+
/*
* Copyright (C) <NAME>
* Copyright (C) NGINX, Inc.
*/
#include <nxt_main.h>
typedef struct {
nxt_http_chunk_parse_t parse;
nxt_source_hook_t next;
} nxt_http_source_chunk_t;
static nxt_buf_t *nxt_http_source_request_create(nxt_http_source_t *hs);
static vo... | 8,114 |
369 | // Copyright (c) 2017-2021, Mudit<NAME>.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include "BatteryBase.hpp"
namespace gui
{
class Label;
}
namespace gui::status_bar
{
class BatteryText : public BatteryBase
{
public:
BatteryTe... | 249 |
3,986 | /*
* Copyright (C) 2018 xuexiangjys(<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 2,310 |
605 | <gh_stars>100-1000
#include "libvim.h"
#include "minunit.h"
#include "vim.h"
static int mappingCallbackCount = 0;
static const mapblock_T *lastMapping = NULL;
static int unmappingCallbackCount = 0;
static char_u *lastUnmapKeys = NULL;
static int lastUnmapMode = -1;
void onMessage(char_u *title, char_u *msg, msgPrior... | 1,568 |
679 | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 1,113 |
24,939 | #!/usr/bin/env python3
import os
import re
import subprocess
from pathlib import Path
from typing import Optional
# Security: No third-party dependencies here!
if __name__ == "__main__":
ref = os.environ["GITHUB_REF"]
branch: Optional[str] = None
tag: Optional[str] = None
if ref.startswith("refs/heads/... | 835 |
3,897 | <reponame>adelcrosge1/mbed-os<filename>targets/TARGET_Cypress/TARGET_PSOC6/mtb-hal-cat1/source/triggers/cyhal_triggers_psoc6_02.c
/***************************************************************************//**
* \file cyhal_triggers_psoc6_02.c
*
* \brief
* PSoC6_02 family HAL triggers header
*
* \note
* Generator vers... | 37,301 |
589 | <filename>inspectit.shared.cs/src/main/java/rocks/inspectit/shared/cs/ci/sensor/method/impl/InvocationSequenceSensorConfig.java
package rocks.inspectit.shared.cs.ci.sensor.method.impl;
import javax.xml.bind.annotation.XmlRootElement;
import rocks.inspectit.shared.all.instrumentation.config.PriorityEnum;
import rocks.... | 509 |
988 | <filename>platform/keyring.impl/src/org/netbeans/modules/keyring/kde/CommonKWalletProvider.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... | 3,573 |
2,054 | <reponame>w136111526/zqcnn<gh_stars>1000+
#ifndef _ZQ_CNN_TENSOR_4D_H_
#define _ZQ_CNN_TENSOR_4D_H_
#pragma once
#include "ZQ_CNN_CompileConfig.h"
#include <string.h>
#include <stdlib.h>
#include <vector>
namespace ZQ
{
class ZQ_CNN_Tensor4D
{
public:
enum ALIGN_TYPE {
ALIGN_0 = 0,
ALIGN_128bit = ALIGN_0 + ... | 11,843 |
14,668 | <gh_stars>1000+
// 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 "base/test/launcher/test_results_tracker.h"
#include "base/command_line.h"
#include "base/files/file_util.h"
#include "base/time... | 1,083 |
862 | <filename>integration_tests/conftest.py
import pytest
import subprocess
import pathlib
import os
import time
@pytest.fixture
def session():
subprocess.call(["yes | freeport 5000"], shell=True)
os.environ["ROBYN_URL"] = "127.0.0.1"
current_file_path = pathlib.Path(__file__).parent.resolve()
base_routes... | 546 |
15,337 | # Generated by Django 2.2.6 on 2019-10-21 11:40
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("site", "0023_auto_20191007_0835")]
operations = [
migrations.AddField(
model_name="sitesettings",
name="customer_set_password_url... | 177 |
815 | #include <stdarg.h>
#include <stddef.h>
#include <string.h>
#include "lily.h"
#include "lily_alloc.h"
#include "lily_opcode.h"
#include "lily_parser.h"
#include "lily_value.h"
#include "lily_vm.h"
extern lily_gc_entry *lily_gc_stopper;
/* Same here: Safely escape string values for `KeyError`. */
void lily_mb_escape_... | 37,324 |
5,169 | <gh_stars>1000+
{
"name": "Rating",
"version": "0.0.1",
"summary": "lalala, A short description of Rating.",
"description": "lalala, lalala, A short description of Rating.",
"homepage": "https://github.com/fengleli/Rating/wiki",
"license": "MIT",
"authors": {
"fengleli": "<EMAIL>"
},
"platforms": ... | 241 |
480 | <reponame>weicao/galaxysql
/*
* Copyright [2013-2021], Alibaba Group Holding Limited
*
* 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
... | 1,070 |
578 | // Created from bdf2c Version 4, (c) 2009, 2010 by <NAME>
// License AGPLv3: GNU Affero General Public License version 3
#include "font.h"
/// character bitmap for each encoding
static const unsigned char __font_bitmap__[] = {
// 0 $00 'ascii000'
// width 6, bbx 0, bby -2, bbw 6, bbh 13
________,
_XXXX___,
_XXX... | 25,444 |
321 | <filename>base/mac/scoped_launch_data.h
// 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_SCOPED_LAUNCH_DATA_H_
#define BASE_MAC_SCOPED_LAUNCH_DATA_H_
#include <launch.h>
#include <... | 590 |
695 | <filename>cpp_src/estl/syncpool.h<gh_stars>100-1000
#pragma once
#include <memory>
#include <mutex>
#include <vector>
namespace reindexer {
template <typename T, size_t maxPoolSize, size_t maxAllocSize = std::numeric_limits<size_t>::max()>
class sync_pool {
public:
void put(std::unique_ptr<T> obj) {
std::unique_loc... | 528 |
571 | package de.gurkenlabs.utiliti.handlers;
import de.gurkenlabs.litiengine.Game;
import de.gurkenlabs.utiliti.components.Editor;
import java.util.Arrays;
public final class Zoom implements Comparable<Zoom> {
private static final Zoom[] zooms =
new Zoom[] {
new Zoom(0.1f),
new Zoom(0.25f... | 1,334 |
1,867 | package net.glowstone.entity.monster;
import lombok.Getter;
import lombok.Setter;
import net.glowstone.entity.meta.MetadataIndex;
import org.bukkit.Location;
import org.bukkit.Sound;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Evoker;
import org.bukkit.entity.Sheep;
i... | 2,067 |
418 | <gh_stars>100-1000
//
// BFRegion+CoreDataProperties.h
// OpenShop
//
// Created by <NAME>
// Copyright (c) 2015 Business Factory. All rights reserved.
//
#import "BFRegion.h"
NS_ASSUME_NONNULL_BEGIN
@interface BFRegion (CoreDataProperties)
@property (nullable, nonatomic, retain) NSNumber *regionID;
@property (... | 142 |
622 | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import pytest
import pycrfsuite
def test_basic():
seq = pycrfsuite.ItemSequence([])
assert len(seq) == 0
assert seq.items() == []
def test_lists():
seq = pycrfsuite.ItemSequence([['foo', 'bar'], ['bar', 'baz']])
assert len(seq) == 2... | 1,204 |
12,560 | /*
* 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,887 |
4,269 | <filename>ribbon-loadbalancer/src/main/java/com/netflix/loadbalancer/ZoneAvoidancePredicate.java
/*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | 1,676 |
335 | {
"word": "Coffee",
"definitions": [
"A hot drink made from the roasted and ground seeds (coffee beans) of a tropical shrub.",
"A cup of coffee.",
"Coffee seeds roasted and ground, or a powder made from them.",
"A pale brown colour like that of milky coffee.",
"The shrub ... | 157 |
3,139 | /*
* Copyright (c) 2009-2014 jMonkeyEngine
* 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 ... | 1,112 |
1,069 | <gh_stars>1000+
# coding: utf-8
from django.db import models
from django_th.models.services import Services
from django_th.models import TriggerService
class Joplin(Services):
"""
joplin model to be adapted for the new service
"""
folder = models.TextField()
trigger = models.ForeignKey(Trigge... | 221 |
852 | <gh_stars>100-1000
#include "DataFormats/L1TMuon/interface/EMTFRoad.h"
namespace l1t {} // End namespace l1t
| 46 |
689 | /**
* 输入两个单向链表,找出它们的第一个公共结点。
*/
public class No37 {
public static void main(String[] args) {
ListNode head1 = new ListNode();
ListNode second1 = new ListNode();
ListNode third1 = new ListNode();
ListNode forth1 = new ListNode();
ListNode fifth1 = new ListNode();
... | 1,125 |
984 | //
// MTFTestScreen.h
// Motif
//
// Created by <NAME> on 1/10/16.
// Copyright © 2016 <NAME>. All rights reserved.
//
@import UIKit;
NS_ASSUME_NONNULL_BEGIN
extern CGFloat MTFTestScreenBrightness;
@interface MTFTestScreen : UIScreen
- (CGFloat)brightness;
@end
NS_ASSUME_NONNULL_END
| 123 |
338 | <gh_stars>100-1000
/*
* Copyright (C) 2013 YIXIA.COM
*
* 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... | 1,038 |
372 | <gh_stars>100-1000
//
// MacBookComputer.h
// AFPDemo
//
// Created by <NAME> on 2018/10/3.
// Copyright © 2018年 Sunshijie. All rights reserved.
//
#import "Computer.h"
@interface MacBookComputer : Computer
@end
| 81 |
22,779 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 DBeaver Corp and others
*
* 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/LICE... | 1,726 |
521 | <filename>third_party/virtualbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/PlatformPei/Xen.h
/** @file
Ovmf info structure passed by Xen
Copyright (c) 2013, Citrix Systems UK Ltd.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accom... | 472 |
409 | #include "pch.h"
#include "Class.h"
#include "ClassBoth.g.cpp"
#include "ClassSta.g.cpp"
#include "ClassMta.g.cpp"
namespace winrt::TestComponent::implementation
{
int32_t ClassBoth::Apartment()
{
APTTYPE aptType;
APTTYPEQUALIFIER aptQualifier;
check_hresult(CoGetApartmentType(&aptType... | 504 |
1,545 | <filename>bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/stats/JournalStats.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 ... | 4,238 |
388 | <filename>booster/booster/locale/utf8_codecvt.h
//
// Copyright (c) 2015 <NAME> (Tonkikh)
//
// 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)
//
#ifndef BOOSTER_LOCALE_UTF8_CODECVT_HPP
#define BOOSTER_LOCALE_U... | 827 |
755 | <gh_stars>100-1000
/*
* Run-time support for Information Object Classes.
* Copyright (c) 2017 <NAME> <<EMAIL>>. All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
#ifndef ASN_IOC_H
#define ASN_IOC_H
#include <asn_system.h> /* Platform-specific types */
#ifdef __cplus... | 465 |
592 | //
// MMShareButton.h
// Loose Leaf
//
// Created by <NAME> on 6/21/12.
// Copyright (c) 2012 Milestone Made, LLC. All rights reserved.
//
#import "MMSidebarButton.h"
@interface MMShareButton : MMSidebarButton
@property (nonatomic) UIColor* arrowColor;
@property (nonatomic) UIColor* topBgColor;
@property (nonat... | 153 |
852 | #ifndef CalibFormats_SiStripObjects_SiStripHashedDetId_H
#define CalibFormats_SiStripObjects_SiStripHashedDetId_H
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
#include <algorithm>
#include <iomanip>
#include <vector>
#include <cstdint>
class SiStripH... | 961 |
540 | [
{"ProductionOrderName":"\"ProOrd_Xml_001\"","ProductCode":"Pro_EU_001","Batches":[{"Name":"Lote_Xml_01"}],"Levels":[{"Id":1,"Name":"Nivel_1","PkgRatio":120},{"Id":2,"Name":"Nivel_2","PkgRatio":1}],"VariableData":[{"VariableDataId":1,"Value":"Pro_EU_001","LevelId":1},{"VariableDataId":20,"Value":"Lote_Xml_01","LevelId... | 177 |
5,169 | <filename>Specs/a/d/9/CopyOnWrite/0.9.0/CopyOnWrite.podspec.json
{
"name": "CopyOnWrite",
"version": "0.9.0",
"summary": "A μframework that makes implementing value semantics easy!",
"description": "CopyOnWrite is a μframework that makes implementing value semantics easy!\nWrap your reference types in the `Copy... | 341 |
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 ... | 16,152 |
1,056 | <filename>ide/editor.util/test/unit/src/org/netbeans/lib/editor/util/PriorityListenerListTest.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. ... | 3,261 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/TelephonyUI.framework/TelephonyUI
*/
#import <TelephonyUI/TelephonyUI-Structs.h>
#import <TelephonyUI/XXUnknownSuperclass.h>
#import <TelephonyUI/TPLCDTextView.h>
@class NSString, UIColor, UIFrameAnimation, TPLCDTex... | 1,000 |
448 | <filename>framework/curl_test.cpp
//
// Created by moqi on 2019-04-12.
//
#include <curl/multi.h>
static size_t write_callback(void *contents, size_t size, size_t nmemb, void *userp)
{
size_t realsize = size * nmemb;
(void)contents;
(void)userp;
return realsize;
}
int main()
{
CURLM *m = NULL;
... | 1,012 |
892 | <gh_stars>100-1000
{
"schema_version": "1.2.0",
"id": "GHSA-w42q-f4mr-jhc4",
"modified": "2022-05-13T01:09:06Z",
"published": "2022-05-13T01:09:06Z",
"aliases": [
"CVE-2019-8277"
],
"details": "UltraVNC revision 1211 contains multiple memory leaks (CWE-665) in VNC server code, which allows an attacker... | 793 |
14,668 | #!/usr/bin/env python
# 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.
"""Creates a zip archive for the Chrome Remote Desktop Host installer.
This script builds a zip file that contains all the files n... | 3,420 |
316 | /**
* Contains the Mapbox Maps Android TextureView API classes.
*/
package com.mapbox.mapboxsdk.maps.renderer.textureview;
| 37 |
511 | <reponame>SenthilKumarGS/TizenRT
/* Copyright 2015-present Samsung Electronics Co., Ltd. and other contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... | 558 |
1,272 | /*
* Copyright 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 "license" f... | 2,198 |
2,419 | <filename>benchmarks/src/main/java/run/chronicle/staged/IFacadeBase.java
package run.chronicle.staged;
import net.openhft.chronicle.bytes.Byteable;
interface IFacadeBase extends Byteable {
short getValue0();
void setValue0(short value);
byte getValue1();
void setValue1(byte value);
byte getVal... | 468 |
1,900 | /*
* Copyright Terracotta, 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 ... | 2,407 |
561 | ##########################################################################
#
# Copyright (c) 2020, Cinesite VFX Ltd. 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 ... | 1,153 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.