max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
1,143 | // =================================================================================================
// Copyright 2011 Twitter, Inc.
// -------------------------------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use ... | 1,533 |
6,036 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "core/providers/cpu/ml/binarizer.h"
#include <cmath>
/**
https://github.com/onnx/onnx/blob/master/onnx/defs/traditionalml/defs.cc
ONNX_OPERATOR_SCHEMA(Binarizer)
.SetDomain("ai.onnx.ml")
.SetDoc(R"DOC(
Makes value... | 766 |
1,760 | /*
ID: bqi3431
PROG: ditch
LANG: C++11
*/
#include <iostream>
#include <fstream>
#include <vector>
#include <queue>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> p... | 851 |
660 | <reponame>ibara/csmith<filename>src/ProbabilityTable.h
// -*- mode: C++ -*-
//
// Copyright (c) 2007, 2008, 2009, 2010, 2011, 2015 The University of Utah
// All rights reserved.
//
// This file is part of `csmith', a random generator of C programs.
//
// Redistribution and use in source and binary forms, with or withou... | 1,674 |
3,999 | <reponame>guitarpukpui/OpenLara<filename>src/lang/it.h
#ifndef H_LANG_IT
#define H_LANG_IT
// Thanks: MontyTRC, Leo-89
const char *STR_IT[] = { ""
// help
, "Caricamento in corso"
, "Premi H per la lista dei comandi"
, helpText
, "%s@@@"
"NEMICI UCCISI %d@@"
"OGGETTI RACCOLTI %d@@"
"... | 6,579 |
3,495 | #
# Copyright (c) 2021 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to i... | 973 |
495 | <gh_stars>100-1000
/*
* Copyright 2014-2016 Media for Mobile
*
* 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,363 |
750 | <reponame>0scarB/piccolo<gh_stars>100-1000
from unittest import TestCase
from piccolo.columns.column_types import JSONB
from piccolo.table import Table
from ..base import postgres_only
class MyTable(Table):
json = JSONB()
@postgres_only
class TestJSONB(TestCase):
def setUp(self):
MyTable.create_ta... | 999 |
8,027 | static int bar1 = 0;
extern int bar2;
int foo() {return bar1;}
| 25 |
389 | <reponame>andyyangdong/vester<gh_stars>100-1000
//
// VSTimelineTableView.h
// Vesper
//
// Created by <NAME> on 3/29/13.
// Copyright (c) 2013 Q Branch LLC. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VSTimelineTableView : UITableView
- (instancetype)initWithFrame:(CGRect)frame;
@end
| 125 |
301 | /*
* Copyright (c) 2018-2019 "Neo4j, Inc." [https://neo4j.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 ... | 1,221 |
964 | {
"id": "baade968-7467-41e4-bf22-83ca222f5800",
"queryName": "Security Field On Operations Has An Empty Object Definition (v3)",
"severity": "HIGH",
"category": "Access Control",
"descriptionText": "Security object for operations should not be empty object or has any empty object definition",
"descriptionUr... | 255 |
348 | {"nom":"Vesles-et-Caumont","circ":"3ème circonscription","dpt":"Aisne","inscrits":175,"abs":93,"votants":82,"blancs":6,"nuls":3,"exp":73,"res":[{"nuance":"SOC","nom":"<NAME>","voix":39},{"nuance":"FN","nom":"<NAME>","voix":34}]} | 96 |
32,544 | package com.baeldung.springmustache;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.client.TestRestTemplate;
import org.... | 338 |
1,143 | // =================================================================================================
// Copyright 2013 Twitter, Inc.
// -------------------------------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use ... | 949 |
649 | /**
* HTML Report generation.
*/
package net.thucydides.core.reports.html; | 25 |
575 | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/vulkan/vulkan_image.h"
#include "base/logging.h"
#include "gpu/vulkan/vulkan_device_queue.h"
#include "gpu/vulkan/vulkan_function_pointers.... | 3,175 |
3,101 | /*
* 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 ... | 2,326 |
984 |
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif
/* verify that the <rpcsal.h> version is high enough to compile this file*/
#ifndef __R... | 74,429 |
488 | #include <featureTests.h>
#ifdef ROSE_ENABLE_SOURCE_ANALYSIS
#ifndef NODE_STATE_H
#define NODE_STATE_H
#include "DataflowCFG.h"
class NodeFact;
class NodeState;
#include "lattice.h"
#include "analysis.h"
#include <map>
#include <vector>
#include <string>
#include <set>
#ifdef THREADED
#include "tbb/concurrent_hash_... | 6,520 |
12,278 | //
// immer: immutable data structures for C++
// Copyright (C) 2016, 2017, 2018 <NAME>
//
// This software is distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
//
// include:intro/start
#include <immer/set.hpp>
int main()
{
cons... | 224 |
341 | <filename>src/main/java/com/aventstack/extentreports/reporter/klov/entity/KlovLog.java<gh_stars>100-1000
package com.aventstack.extentreports.reporter.klov.entity;
import java.util.Date;
import com.aventstack.extentreports.model.Log;
import com.aventstack.extentreports.model.Test;
import lombok.AllArgsConstructor;
i... | 563 |
539 | <reponame>softwarecapital/geometry-central
#pragma once
#include "geometrycentral/surface/geometry.h"
#include <vector>
namespace geometrycentral {
namespace surface {
struct SymmetryResult {
bool symmetryFound = false; // was a symmetry found? is this data valid?
std::vector<Vertex> canonicalV... | 560 |
2,431 | <reponame>york-schlabrendorff-liqid/yagmail
"""Contains the exceptions"""
class YagConnectionClosed(Exception):
"""
The connection object has been closed by the user.
This object can be used to send emails again after logging in,
using self.login().
"""
pass
class YagAddressError(Exception)... | 353 |
1,025 | #pragma warning(disable : 4996)
#pragma warning(disable : 4100)
#include <gtest/gtest.h>
#include <boost/algorithm/string.hpp>
#include <AMDTOSWrappers/Include/osMachine.h>
TEST(osGetLocalMachineMemoryInformationStrings, GetStringsOK)
{
gtUInt64 totalRamSizet = 0;
gtUInt64 availRamSizet = 0;
gtUInt64 tot... | 619 |
775 | package com.badoo.barf.rx;
import rx.Observable.Transformer;
import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
public class ScheduleOn {
/**
* Applies schedules such that the subscription is performed on the io thread, but the response is observed on the Android main thread.
... | 184 |
21,382 | <reponame>firebolt55439/ray<gh_stars>1000+
import time
import copy
import logging
from ray.tune.trial import Trial
from ray.tune.suggest import SearchAlgorithm
from ray.tune.experiment import convert_to_experiment_list
from ray.tune.suggest.variant_generator import generate_variants
from ray.tune.config_parser import ... | 3,946 |
1,831 | <gh_stars>1000+
/**
* Copyright (c) 2019-present, Facebook, Inc. and its affiliates.
* 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.
*/
#include "logdevice/common/EventTracker.h"
#include <chrono>
#include ... | 5,227 |
32,544 | <gh_stars>1000+
package com.baeldung.pojo.test;
import com.baeldung.initializer.SimpleXstreamInitializer;
import com.baeldung.pojo.Customer;
import com.thoughtworks.xstream.XStream;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.io.FileNotFoundException;
import java.io.FileReader... | 430 |
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,180 |
302 | <gh_stars>100-1000
# -*- coding: utf-8 -*-
# Copyright 2016 Yelp 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... | 1,874 |
1,702 | package com.example.async;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
@Component
public class Runner {
@Async
public void run() {
try { Thread.sleep(2000); } catch (InterruptedException e) { }
System.out.println(CLR.prefix+"Asy... | 132 |
852 | <filename>RecoBTag/Skimming/python/btagMuonInJetOutputModuleRECOSIM_cfi.py
import FWCore.ParameterSet.Config as cms
from RecoBTag.Skimming.btagMuonInJet_EventContent_cff import *
btagMuonInJetOutputModuleRECOSIM = cms.OutputModule("PoolOutputModule",
btagMuonInJetEventSelection,
RECOSIMbtagMuonInJetEventConten... | 224 |
429 | <reponame>Naghipourfar/CCLE
import theano.tensor as T
from theano import scan
from keras.layers.recurrent import Recurrent
from keras import activations, initializations, regularizers, constraints
from keras.utils.theano_utils import shared_zeros
from ..utils import apply_layer
class FDPCN(Recurrent):
'''Fast ... | 8,687 |
619 | /*
* Author: <NAME> <<EMAIL>>
* Copyright (c) 2015 Intel Corporation.
*
* This program and the accompanying materials are made available under the
* terms of the The MIT License which is available at
* https://opensource.org/licenses/MIT.
*
* SPDX-License-Identifier: MIT
*/
public class Moisture_Example {
pu... | 308 |
595 | <filename>XilinxProcessorIPLib/drivers/v_sditxss/src/xv_sditxss_coreinit.h<gh_stars>100-1000
/******************************************************************************
* Copyright (C) 2017 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************... | 426 |
1,338 | // compatibility.h
//
// Copyright (c) 2003, <NAME> (<EMAIL>)
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
// ... | 449 |
1,506 | <reponame>termim/geocoder<gh_stars>1000+
#!/usr/bin/python
# coding: utf8
from __future__ import absolute_import
import logging
from geocoder.base import OneResult, MultipleResultsQuery
from geocoder.keys import gaode_key
class GaodeResult(OneResult):
@property
def lat(self):
return float(self.raw... | 988 |
435 | {
"abstract": "Your business is all set up and ready. You want to enter the market with\na new product or service. As digital communication evolves, brands and\ncompanies are constantly facing new challenges. The ways of providing\ninformation and interacting become more and more multi-layered and\ncomplex. A well-de... | 502 |
4,200 | import copy
import math
import operator
import typing as t
from contextvars import ContextVar
from functools import partial
from functools import update_wrapper
from .wsgi import ClosingIterator
if t.TYPE_CHECKING:
from _typeshed.wsgi import StartResponse
from _typeshed.wsgi import WSGIApplication
from _t... | 7,675 |
429 | #pragma once
typedef unsigned long long uint64_t;
typedef unsigned long uint32_t;
typedef unsigned short uint16_t;
typedef unsigned char uint8_t;
typedef signed char int8_t;
typedef unsigned long uintptr_t;
#define NULL (0)
| 82 |
338 | <reponame>XmobiTea-Family/ezyfox-server
package com.tvd12.ezyfoxserver.socket;
import com.tvd12.ezyfox.constant.EzyConstant;
import com.tvd12.ezyfox.entity.EzyArray;
import com.tvd12.ezyfoxserver.constant.EzyCommand;
public interface EzySocketDataHandlerGroup {
void fireChannelRead(EzyCommand cmd, EzyArray msg)... | 177 |
3,508 | package com.fishercoder.solutions;
import com.fishercoder.common.classes.TreeNode;
public class _687 {
public static class Solution1 {
/**
* Use a one element array to pass in and out is a common technique for handling tree questions.
*/
public int longestUnivaluePath(TreeNode ro... | 509 |
868 | <filename>main/src/main/java/com/sedmelluq/discord/lavaplayer/tools/http/ExtendedHttpConfigurable.java
package com.sedmelluq.discord.lavaplayer.tools.http;
import com.sedmelluq.discord.lavaplayer.tools.io.HttpConfigurable;
public interface ExtendedHttpConfigurable extends HttpConfigurable {
void setHttpContextFilte... | 114 |
417 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package de.janquadflieg.mrracer.network;
/**
*
* @author <NAME>
*/
public interface Connection {
public void addConnectionListener(ConnectionListener l);
public void removeConnectionListener(ConnectionListe... | 99 |
11,356 | <gh_stars>1000+
# Copyright <NAME> 2004. 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)
'''
>>> from auto_ptr_ext import *
>>> x = X(42)
>>> x.value()
42
>>> look(x), look(x)
(42, 42)
>>> maybe_steal(x, 0)
42
>>> lo... | 751 |
4,538 | # test that socket.accept() on a socket with timeout raises ETIMEDOUT
try:
import usocket as socket
except:
import socket
try:
socket.socket.settimeout
except AttributeError:
print("SKIP")
raise SystemExit
s = socket.socket()
s.bind(socket.getaddrinfo("127.0.0.1", 8123)[0][-1])
s.settimeout(1)
s.... | 187 |
2,054 | <reponame>w136111526/zqcnn
#define op6x4_1_first \
a0 = zq_mm_load_ps(src_ptr0);\
a1 = zq_mm_load_ps(src_ptr0 + zq_mm_align_size);\
a2 = zq_mm_load_ps(src_ptr0 + zq_mm_align_size2);\
a3 = zq_mm_load_ps(src_ptr0 + zq_mm_align_size3);\
a4 = zq_mm_load_ps(src_ptr0 + zq_mm_align_size4);\
a5 = zq_mm_load_ps(src_ptr0 + zq_m... | 121,553 |
348 | <gh_stars>100-1000
{"nom":"Theuville","circ":"1ère circonscription","dpt":"Val-d'Oise","inscrits":26,"abs":13,"votants":13,"blancs":2,"nuls":0,"exp":11,"res":[{"nuance":"LR","nom":"<NAME>","voix":6},{"nuance":"REM","nom":"<NAME>","voix":5}]} | 100 |
3,336 | {
"location": "eastus",
"containerGroupName4": "test-cg7mwg0",
"containerGroupName3": "test-cg1ihxz",
"resourceGroupName": "test-rgjex0t",
"port1": 8000,
"containerInstanceName": "bez-test-ci",
"SubscriptionId": "da28f5e5-aa45-46fe-90c8-053ca49ab4b5",
"restartPolicy": "Never",
"containerGroupName5": "... | 258 |
4,339 | /*
* 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 ... | 594 |
371 | <reponame>js882829/tars
from django.conf import settings
from roll_engine.celery import app
if "raven.contrib.django.raven_compat" in settings.INSTALLED_APPS:
import raven
from raven.contrib.celery import register_logger_signal, register_signal
client = raven.Client(settings.RAVEN_CONFIG['dsn'])
# ... | 165 |
1,305 | <filename>src/com/sun/corba/se/pept/transport/Acceptor.java<gh_stars>1000+
/*
* Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.corba.se.pep... | 2,607 |
5,439 | package com.codahale.metrics.jdbi.strategies;
import org.skife.jdbi.v2.StatementContext;
/**
* Interface for strategies to statement contexts to metric names.
*/
public interface StatementNameStrategy {
String getStatementName(StatementContext statementContext);
}
| 78 |
375 | package io.lumify.mapping.column;
import static com.google.common.base.Preconditions.checkNotNull;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import io.lumify.mapping.column.AbstractColumnDocumentMapp... | 620 |
435 | {
"copyright_text": null,
"description": "In Fintech selecting the right technologies is as important as having the best ideas.\n\nIn this talk we will present how Ravenpack, one of the most important Big Data analytics providers for financial services, transforms unstructured documents into real-time visualization... | 338 |
1,510 | <filename>exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillPushRowKeyJoinToScanRule.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... | 10,257 |
562 | #if defined(LIBMEDIAINFO_SHARED)
# include "MediaInfoDLL/MediaInfoDLL.h"
# define MEDIAINFO_NS MediaInfoDLL
#else
# include "MediaInfo/MediaInfo.h"
# define MEDIAINFO_NS MediaInfoLib
#endif
#include "ZenLib/Ztring.h"
#include <iostream>
int main(int argc, const char *argv[]) {
if (argc < 2) {
std::cerr <<... | 373 |
461 | // Gauss-Jordan elimination with full pivoting.
// Uses:
// (1) solving systems of linear equations (AX=B)
// (2) inverting matrices (AX=I)
// (3) computing determinants of square matrices
//
// Running time: O(n^3)
//
// INPUT: a[][] = an nxn matrix
// b[][] = an nxm matrix
// A ... | 971 |
831 | <filename>profilers-ui/testSrc/com/android/tools/profilers/FakeIdeProfilerComponents.java
/*
* 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 Lic... | 3,058 |
568 | package com.novoda.dungeoncrawler;
public enum Stage {
PLAY, DEAD, LEVEL_COMPLETE, GAME_OVER, GAME_COMPLETE, SCREENSAVER, PAUSE
}
| 52 |
834 | #!/usr/bin/env python3
# Run as python3 run_bcm_cint_audit.py
#
#
# This script looks for brcm APIs that are currently not logged by Bcm Cinter.
# It works as follows:
# - recursively traverse to find all lines under agent/hw that matches
# the bcm API regex.
# - remove the duplicate ones
# - diff with wrapp... | 2,656 |
622 | <reponame>galek/Compressonator<gh_stars>100-1000
// AMD AMDUtils code
//
// Copyright(c) 2017 Advanced Micro Devices, Inc.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 Softwar... | 1,547 |
741 | <reponame>sumity90/Applozic-Android-SDK
package com.applozic.mobicomkit.uiwidgets.conversation.activity;
import com.applozic.mobicomkit.api.conversation.Message;
/**
* Created by ninu on 10/04/17.
*/
public interface OnClickReplyInterface {
void onClickOnMessageReply(Message message);
}
| 109 |
1,116 | from traitlets import Bool
from .exchange import Exchange
class ExchangeReleaseAssignment(Exchange):
force = Bool(False, help="Force overwrite existing files in the exchange.").tag(config=True)
| 55 |
335 | <filename>R/Rail_noun.json
{
"word": "Rail",
"definitions": [
"A bar or series of bars fixed on upright supports or attached to a wall or ceiling, serving as part of a barrier or used to hang things on.",
"The inside boundary fence of a racecourse.",
"A steel bar or continuous line of ba... | 233 |
852 | #ifndef FWCore_Framework_ESProductHost_h
#define FWCore_Framework_ESProductHost_h
// -*- C++ -*-
//
// Package: Framework
// Class: ESProductHost
//
/**\class edm::ESProductHost
Description: Helps an ESProducer produce an ESProduct that has
complex dependences on multiple record types. In particular,
it hel... | 1,851 |
1,045 | # -*- coding: utf-8 -*-
import os
import multiprocessing
from glob import glob
import numpy as np
from keras import backend
from keras.models import Model
from keras.optimizers import adam
from keras.layers import Flatten, Dense, Input, Lambda, GlobalMaxPooling2D, GlobalAveragePooling2D, Concatenate, Dropout
from kera... | 2,840 |
562 | from conans import ConanFile, CMake, tools
import os
import textwrap
required_conan_version = ">=1.33.0"
class LibccdConan(ConanFile):
name = "libccd"
description = "Library for collision detection between two convex shapes."
license = "BSD-3-Clause"
topics = ("conan", "libccd", "collision", "3d")
... | 1,913 |
5,169 | <filename>Specs/4/a/e/BZKSYPlayer/0.1.6/BZKSYPlayer.podspec.json<gh_stars>1000+
{
"name": "BZKSYPlayer",
"version": "0.1.6",
"summary": "测试金山云播放器.",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"BZlighthouse": "<EMAIL>"
},
"homepage": "https://github.com/BZlighthouse/BZKSYPl... | 360 |
14,668 | // Copyright 2021 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 UI_VIEWS_EXAMPLES_ANIMATION_EXAMPLE_H_
#define UI_VIEWS_EXAMPLES_ANIMATION_EXAMPLE_H_
#include <memory>
#include "ui/views/animation/animation_a... | 292 |
339 | <filename>keyval_testing/freq_to_tyrant.py
"""Write file of read frequencies to a Tokyo Tyrant server.
ttserver test.tcb#opts=ld#bnum=1000000#lcnum=10000
Total time : 11:58.90s
Memory : 2536
Percent CPU : 39.2%
-rw-r--r-- 1 chapman users 24M 2009-05-07 09:01 test.tcb
"""
import sys
import pytyrant
import json
... | 256 |
1,214 | package net.bramp.ffmpeg.fixtures;
import com.google.common.collect.ImmutableList;
import com.google.errorprone.annotations.DoNotCall;
import net.bramp.ffmpeg.info.Format;
import java.util.List;
/**
* Class that contains all formats as defined in the unit tests This should not be used to test if a
* format is avai... | 6,777 |
764 | {"symbol": "BSP","address": "0xa1454f9c704AF96636F3A7532b9a04c411f85680","overview":{"en": ""},"email": "","website": "https://www.bitball-btb.com","state": "NORMAL","links": {"blog": "https://bitballerc20.medium.com/ballswap-bsp-debut-listing-on-bitmart-shooting-star-24h-flash-sale-purchase-to-get-extra-5-7dc8575387d7... | 160 |
7,048 | <reponame>mateusmds/lidle
#ifndef RENCACHE_H
#define RENCACHE_H
#include <stdbool.h>
#include "renderer.h"
void rencache_show_debug(bool enable);
void rencache_free_font(RenFont *font);
void rencache_set_clip_rect(RenRect rect);
void rencache_draw_rect(RenRect rect, RenColor color);
int rencache_draw_text(RenFont *f... | 180 |
360 | /* src/interfaces/ecpg/include/decimal.h */
#ifndef _ECPG_DECIMAL_H
#define _ECPG_DECIMAL_H
#include <ecpg_informix.h>
#ifndef _ECPGLIB_H /* source created by ecpg which defines this \
* symbol */
typedef decimal dec_t;
#endif /* ndef _ECPGLIB_H */
#endif /* ndef _ECPG_DECIMAL_H */
| 142 |
642 | <filename>jeesuite-springweb/src/main/java/com/jeesuite/springweb/logging/LogConstants.java<gh_stars>100-1000
package com.jeesuite.springweb.logging;
/**
*
* <br>
* Class Name : LogConstants
*
* @author jiangwei
* @version 1.0.0
* @date 2019年9月26日
*/
public class LogConstants {
public static final String ... | 368 |
473 | <gh_stars>100-1000
/*
Copyright (c) 2009-2016, <NAME>
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#include <El.hpp>
// TODO: Use column-pivot... | 1,593 |
322 | package org.hisrc.jsonix.Model;
public class ElementMapPropertyInfo extends AbstractElementsPropertyInfo {
Object elementName = null;
Object key = null;
Object value = null;
Object entryTypeInfo = null;
}
| 69 |
1,694 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.
//
#import "BaseVoicePrintViewController.h"
@class UIActivityIndicatorView, UIButton, UIImageView, UILabel, UIView;
@interface CreateVoicePrin... | 626 |
739 | // Copyright <NAME> 2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include "../test/testing.hpp"
#include "any_iterator.hpp"
#include <array>
#include <cassert>
#include <iterator>
#include <utility>
#include <vect... | 1,376 |
1,347 | from pathlib import Path
import json
def json_pack(snippets_dir,
video_name,
frame_width,
frame_height,
label='unknown',
label_index=-1):
sequence_info = []
p = Path(snippets_dir)
for path in p.glob(video_name + '*.json'):
json_... | 616 |
3,428 | {"id":"00737","group":"easy-ham-1","checksum":{"type":"MD5","value":"fe2d8d182d9bc421411c9ca9012f3afc"},"text":"From <EMAIL> Mon Sep 23 23:34:24 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.spamassassin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id 9D98A16F... | 1,232 |
2,542 | <reponame>AnthonyM/service-fabric
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ----------------------------------------------------------... | 130 |
327 | int optimized();
#ifdef BUILD_C
#pragma once
int optimized() {
#if defined(NDEBUG) || defined(_NDEBUG)
return 1;
#else
return 0;
#endif
}
#include <time.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
const char *build_stamp() {
// 01234567890
// __DATE__ -> Jan 23 2018 ->... | 981 |
999 | <reponame>thishome153/soci
//
// Copyright (C) 2004-2008 <NAME>, <NAME>
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef SOCI_PROCEDURE_H_INCLUDED
#define SOCI_PROCEDURE_H_INCLUDED
#include "soci/stat... | 776 |
337 | import vaex
def test_ipython_autocompletion(ds_local):
df = vaex.from_dict({'First name': ['Reggie', 'Tamika'],
'Last name': ['Miller', 'Catchings'],
'$amount': [10, 20]})
completions = df._ipython_key_completions_()
assert 'First name' in completions
... | 186 |
4,223 | #import <Foundation/Foundation.h>
#import "XMPPResource.h"
@class XMPPJID;
@class XMPPIQ;
@class XMPPPresence;
@interface XMPPResourceMemoryStorageObject : NSObject <XMPPResource, NSCopying, NSSecureCoding>
{
XMPPJID *jid;
XMPPPresence *presence;
NSDate *presenceDate;
}
/* From the XMPPResource protocol
- (XM... | 198 |
421 | <reponame>hamarb123/dotnet-api-docs
#using <System.dll>
#using <System.Drawing.dll>
#using <System.Windows.Forms.dll>
using namespace System::Windows::Forms;
using namespace System::Drawing;
public ref class Form1: public System::Windows::Forms::Form
{
public:
Form1()
: Form()
{
//T... | 1,369 |
496 | <gh_stars>100-1000
/* Software Name : AsmDex
* Version : 1.0
*
* Copyright © 2012 France Télécom
* 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... | 9,222 |
14,668 | // Copyright 2021 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_BROWSER_APPS_APP_DISCOVERY_SERVICE_APP_DISCOVERY_SERVICE_H_
#define CHROME_BROWSER_APPS_APP_DISCOVERY_SERVICE_APP_DISCOVERY_SERVICE_H_
#in... | 395 |
2,095 | <reponame>arodionov/rsocket-java<gh_stars>1000+
/*
* Copyright 2015-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org... | 7,023 |
356 | <gh_stars>100-1000
/*
* Copyright 2015-2018 <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 applica... | 356 |
4,772 | package example.repo;
import example.model.Customer1224;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
public interface Customer1224Repository extends CrudRepository<Customer1224, Long> {
List<Customer1224> findByLastName(String lastName);
}
| 87 |
5,169 | {
"name": "EmptyStateKit",
"platforms": {
"ios": "10.0"
},
"summary": "Beautiful, animated & fully customizable empty state view. A great way to engage and keep users whenever the view has no content to display.",
"description": "Empty states are actually a great way to engage, keep and delight users at c... | 376 |
1,337 | package com.haulmont.cuba.gui.components.sys;
import com.haulmont.cuba.gui.components.Window;
import com.haulmont.cuba.gui.screen.Screen;
/**
* Internal. Provides API for WindowManager implementations.
*/
public interface WindowImplementation extends Window, FrameImplementation {
void setFrameOwner(Screen scree... | 105 |
14,425 | /**
* 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,180 |
879 | package org.zstack.header.vm.cdrom;
import org.zstack.header.message.NeedReplyMessage;
import org.zstack.header.vm.VmInstanceMessage;
/**
* Created by lining on 2018/12/28.
*/
public class DeleteVmCdRomMsg extends NeedReplyMessage implements VmInstanceMessage {
private String cdRomUuid;
private String vmIn... | 269 |
1,144 | package de.metas.payment.esr.invoice_gateway;
import static org.adempiere.model.InterfaceWrapperHelper.create;
import static org.adempiere.model.InterfaceWrapperHelper.loadOutOfTrx;
import javax.annotation.Nullable;
import org.adempiere.ad.dao.IQueryBL;
import org.compiere.model.I_C_BPartner;
import org.compiere.mod... | 1,851 |
478 | /*
Q Light Controller - Unit test
qlci18n_test.cpp
Copyright (c) <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.txt
Unless r... | 745 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.