max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
306 | <reponame>tomicooler/quickflux
#include <QCoreApplication>
#include <QFAppDispatcher>
#include <QQmlContext>
#include <QDir>
#include <QStandardPaths>
#include "appview.h"
AppView::AppView(QObject *parent) : QObject(parent)
{
}
int AppView::exec()
{
m_engine.addImportPath("qrc:///");
m_engine.load(QUrl(QStri... | 313 |
488 | import sys, ast
import sage
class FileInfo():
def __init__(self, filename, node):
self.filename = filename
self.lineno = node.lineno
self.col_offset = node.col_offset
class stack():
def __init__(self):
self._stack = []
def push(self, obj):
self._stack.append(obj)
def pop(self, expect... | 4,320 |
44,968 | <reponame>Bhanditz/yarn
{
"name": "dep-b",
"description": "Check if the given value is an Array",
"version": "1.0.0",
"keywords": ["isArray", "es5", "array"],
"dependencies": {
},
"license": "MIT"
}
| 89 |
12,278 |
// Copyright 2017 <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
#include <boost/variant2/variant.hpp>
using namespace boost::variant2;
struct X
{
int v;
X() = default;
constexpr expl... | 1,419 |
5,585 | {
"name": "tool-meson",
"version-date": "2022-01-21",
"description": "Meson build system",
"homepage": "https://github.com/mesonbuild/meson",
"dependencies": [
{
"name": "vcpkg-tool-meson",
"host": true
}
]
}
| 110 |
1,144 | package de.metas.invoicecandidate.facet;
/*
* #%L
* de.metas.swat.base
* %%
* Copyright (C) 2015 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
... | 580 |
1,883 | #include <QApplication>
#include <QGridLayout>
#include <QLabel>
#include <QMainWindow>
#include <QMenu>
#include <QMenuBar>
#include <QMessageBox>
#include <openbr/openbr_plugin.h>
#include <openbr/gui/algorithm.h>
#include <openbr/gui/progress.h>
#include <openbr/gui/tail.h>
#include <openbr/gui/templatemetadata.h>
#... | 1,568 |
20,995 | <reponame>EXHades/v8
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_JS_ARRAY_H_
#define V8_OBJECTS_JS_ARRAY_H_
#include "src/objects/allocation-site.h"
#include "src/objects/fixed... | 2,529 |
56,632 | package org.opencv.test.dnn;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.MatOfInt;
import org.opencv.core.MatOfFloat;
import org.opencv.core.MatOfByte;... | 1,591 |
441 | /*
[The "BSD license"]
Copyright (c) 2011-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:
1. Redistributions of source code must retain the above copyright
notice, ... | 3,475 |
417 | /***************************************************************************
file : graphic.h
created : Sun Jan 30 22:58:45 CET 2000
copyright : (C) 2000 by <NAME>
email : <EMAIL>
version : $Id: graphic.h,v 1.14 2005/06/05 10:47:31... | 2,051 |
789 | /*
* Copyright (c) 2015. <NAME>, <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 agr... | 938 |
347 | //
// IMYAOPCollectionViewUtils+Private.h
// IMYAOPFeedsView
//
// Created by ljh on 16/5/20.
// Copyright © 2016年 ljh. All rights reserved.
//
#import "IMYAOPBaseUtils+Private.h"
#import "IMYAOPCollectionViewUtils.h"
NS_ASSUME_NONNULL_BEGIN
@protocol IAOPCollectionViewUtilsPrivate <IAOPBaseUtilsPrivate>
@prope... | 241 |
316 | <filename>platform/android/src/offline/offline_region_status.hpp<gh_stars>100-1000
#pragma once
#include <mbgl/storage/offline.hpp>
#include <jni/jni.hpp>
namespace mbgl {
namespace android {
class OfflineRegionStatus {
public:
static constexpr auto Name() { return "com/mapbox/mapboxsdk/offline/OfflineRegionStat... | 191 |
1,544 | /**
* Copyright (C) 2018-2019
* All rights reserved, Designed By www.joolun.com
* 注意:
* 本软件为www.joolun.com开发研制,项目使用请保留此说明
*/
package com.joolun.web.controller.mall;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.joolun.common.co... | 1,453 |
1,199 | <gh_stars>1000+
// This code is in the public domain - feel free to do anything you
// wish with it.
//
// <NAME> (<EMAIL>)
//
#include <cassert>
#include <iostream>
#include <string>
#include <cstdlib>
#include <cctype>
#include "nfa.h"
#include "subset_construct.h"
//
// The BNF for our simple regexes is:
//
// ex... | 2,947 |
1,118 | <reponame>harri-codes/Focus
{"deu":{"common":"Georgien","official":"Georgia"},"fin":{"common":"Georgia","official":"Georgia"},"fra":{"common":"Géorgie","official":"République de Géorgie"},"hrv":{"common":"Gruzija","official":"Gruzija"},"ita":{"common":"Georgia","official":"Georgia"},"jpn":{"common":"グルジア","official":"グ... | 164 |
348 | <filename>docs/data/leg-t2/085/08505141.json
{"nom":"Menomblet","circ":"5ème circonscription","dpt":"Vendée","inscrits":441,"abs":223,"votants":218,"blancs":8,"nuls":11,"exp":199,"res":[{"nuance":"REM","nom":"<NAME>","voix":110},{"nuance":"SOC","nom":"<NAME>","voix":89}]} | 112 |
1,350 | <gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.monitor.query.perf.core;
import com.azure.core.http.policy.HttpLogDetailLevel;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.identity.DefaultAzureCredentialBuilder;
im... | 681 |
315 | <reponame>86dh/GrepConsole
package krasa.grepconsole.utils;
import com.intellij.execution.filters.Filter;
import com.intellij.execution.impl.ConsoleViewImpl;
import com.intellij.execution.impl.EditorHyperlinkSupport;
import com.intellij.execution.testframework.ui.BaseTestsOutputConsoleView;
import com.intellij.executi... | 823 |
852 | #ifndef UtilAlgos_EtaRangeSelector_h
#define UtilAlgos_EtaRangeSelector_h
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "CommonTools/UtilAlgos/interface/ParameterAdapter.h"
#include "CommonTools/Utils/interface/EtaRangeSelector.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
... | 323 |
984 | /*
* 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 ... | 724 |
861 | package cn.springcloud.gray.event;
import lombok.Data;
/**
* @author saleson
* @date 2020-02-05 14:27
*/
@Data
public class GrayServiceEvent extends GrayEvent {
private String serviceId;
@Override
public String getSourceId() {
return serviceId;
}
}
| 103 |
1,350 | <gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
impor... | 1,459 |
575 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_BROWSER_BLOB_HOLDER_H_
#define EXTENSIONS_BROWSER_BLOB_HOLDER_H_
#include <map>
#include <memory>
#include <string>
#include <vector>
... | 574 |
4,054 | <gh_stars>1000+
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/searchlib/attribute/multi_value_mapping.h>
#include <vespa/searchlib/attribute/multi_value_mapping.hpp>
#include <vespa/searchlib/attribute/not_implemented_attribute.h>
#include <ves... | 4,920 |
521 | <reponame>0xflotus/voctomix<filename>voctocore/lib/sources/testsource.py<gh_stars>100-1000
#!/usr/bin/env python3
import logging
from configparser import NoOptionError
from gi.repository import Gst
from lib.config import Config
from lib.sources.avsource import AVSource
class TestSource(AVSource):
def __init__(s... | 1,051 |
834 | <reponame>BohdanMosiyuk/samples<filename>snippets/cpp/VS_Snippets_Winforms/IPropertyValueUIServiceExample/CPP/propertyuicomponent.cpp
//<Snippet1>
#using <System.Windows.Forms.dll>
#using <System.Drawing.dll>
#using <System.dll>
using namespace System;
using namespace System::Collections;
using namespace System::Com... | 2,677 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Fressenneville","circ":"3ème circonscription","dpt":"Somme","inscrits":1795,"abs":1017,"votants":778,"blancs":87,"nuls":54,"exp":637,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":361},{"nuance":"REM","nom":"<NAME>","voix":276}]} | 114 |
721 | <gh_stars>100-1000
/**
* This file is part of the "clip" project
* Copyright (c) 2018 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | 348 |
5,169 | <reponame>Gantios/Specs<gh_stars>1000+
{
"name": "PopOnChatPalToAKit",
"version": "0.0.1",
"summary": "PopOn 语伴服务 A端发单模块",
"description": "PopOn 语伴服务 A端发单模块,提供第三方接入用户进行发语伴单与PopOn上各国语伴进行语音聊天服务",
"homepage": "http://172.16.31.10/wordoor_ios/PopOnSDK_ChatPalToAKit_framework.git",
"license": "MIT",
"authors":... | 527 |
302 | //// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. See LICENSE in the project root for license information.
#include "THSJIT.h"
JITModule THSJIT_load(const char* filename)
{
auto res = torch::jit::load(filename);
auto copy = new torch::jit::Module(res);
return new std::shared_ptr<torch::jit... | 1,794 |
302 | <filename>Engine/filestringboxloader.cpp
#include "filestringboxloader.h"
#include <QDir>
#include <QTextStream>
#include "every_cpp.h"
namespace BrowserAutomationStudioFramework
{
FileStringBoxLoader::FileStringBoxLoader(QObject *parent) :
IStringBoxLoader(parent)
{
CurrentFile = 0;
Cur... | 5,306 |
731 | package com.webank.weevent.core.fabric.sdk;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ConcurrentHashMap;
import com.webank.weevent.core.config.FabricConfig;
import com.webank.weevent.core.fisco.web3sdk.v2.Web3SDK... | 961 |
3,670 | # Copyright 2020 The TensorFlow Probability 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 o... | 637 |
348 | {"nom":"Bissy-sous-Uxelles","dpt":"Saône-et-Loire","inscrits":53,"abs":13,"votants":40,"blancs":4,"nuls":0,"exp":36,"res":[{"panneau":"1","voix":27},{"panneau":"2","voix":9}]} | 80 |
918 | <reponame>sekikn/incubator-gobblin<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 Apa... | 6,768 |
525 | <reponame>michkoll/python-evtx
from fixtures import *
import Evtx.Evtx as evtx
EMPTY_MAGIC = '\x00' * 0x8
def test_chunks(system):
'''
regression test parsing some known fields in the file chunks.
Args:
system (bytes): the system.evtx test file contents. pytest fixture.
'''
fh = evtx.Fil... | 2,420 |
1,085 | <gh_stars>1000+
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 558 |
3,372 | /*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | 1,745 |
3,268 | {
"Entries": [
{
"RequestUri": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourcegroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin/incidents/<KEY>3D?api-version=2016-03-01",
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMDdjMGIwOWQtOWY2OS00ZTZlLThkMDUtZjU5ZjY3Mjk5Y2IyL3J... | 1,597 |
406 | # -*- coding: utf-8 -*- {{{
# vim: set fenc=utf-8 ft=python sw=4 ts=4 sts=4 et:
#
# Copyright 2020, Battelle Memorial Institute.
#
# 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... | 1,787 |
660 | #ifndef __LINKFILE_H__
#define __LINKFILE_H__
#include <list>
using namespace std;
#define MAX_STRING_SIZE 4096
#pragma pack(4)
#define LINKFILE_VERSION 0x00010000
typedef struct tagLinkFileHeader
{
unsigned int dwVersion;
unsigned int dwSize;
unsigned int dwImports;
unsigned int dwExpo... | 415 |
32,544 | <filename>core-java-modules/core-java-jpms/decoupling-pattern1/servicemodule1/src/main/java/com/baeldung/servicemodule/internal/UppercaseTextService.java
package com.baeldung.servicemodule.internal;
import com.baeldung.servicemodule.external.TextService;
public class UppercaseTextService implements TextService {
... | 162 |
558 | // 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 ... | 1,338 |
716 | '''
Utilities for generating "archetecture independant" ASTs.
'''
from vivisect.const import *
from vivisect.symboliks.common import *
def wipeAstArch(symctx, symobjs, emu=None, wipeva=False):
'''
Given a symbolik analysis context, modify a set of
symbolik states to be "arch independant" while
maintain... | 2,280 |
432 | <reponame>lambdaxymox/DragonFlyBSD<filename>contrib/gcc-8.0/gcc/tree-affine.c
/* Operations with affine combinations of trees.
Copyright (C) 2005-2018 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public Li... | 10,865 |
23,901 | <reponame>deepneuralmachine/google-research<filename>uflow/data/flow_data_test.py
# coding=utf-8
# Copyright 2021 The Google Research 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
... | 2,538 |
777 | // 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.
#ifndef COMPONENTS_SYNC_MODEL_IMPL_ACCUMULATING_METADATA_CHANGE_LIST_H_
#define COMPONENTS_SYNC_MODEL_IMPL_ACCUMULATING_METADATA_CHANGE_LIST_H_
#include ... | 463 |
1,590 | <reponame>libc16/azure-rest-api-specs
{
"swagger": "2.0",
"info": {
"title": "ApiManagementClient",
"description": "Use these REST APIs for performing retrieve a collection of Apis associated with a tag in Azure API Management deployment.",
"version": "2020-12-01"
},
"host": "management.azure.com",
... | 1,818 |
2,151 | <reponame>zipated/src<filename>remoting/host/host_power_save_blocker.h
// 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.
#ifndef REMOTING_HOST_HOST_POWER_SAVER_BLOCKER_H_
#define REMOTING_HOST_HOST_POWER_... | 589 |
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 ... | 935 |
1,127 | <filename>src/frontends/onnx/frontend/src/op/depth_to_space.hpp
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "ngraph/node.hpp"
#include "onnx_import/core/node.hpp"
namespace ngraph {
namespace onnx_import {
namespace op {
namespace set_1 {
/// \brief ... | 319 |
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... | 727 |
587 | from vilt.datasets import VisualGenomeCaptionDataset
from .datamodule_base import BaseDataModule
class VisualGenomeCaptionDataModule(BaseDataModule):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@property
def dataset_cls(self):
return VisualGenomeCaptionDataset
... | 147 |
539 | <reponame>byte-warlock/ig-cachesim<gh_stars>100-1000
/*
Copyright (c) 2017, Insomniac Games
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... | 1,052 |
1,012 | {
"dependencies": {
"@google-cloud/functions-framework": "file:../../"
},
"scripts": {
"start": "functions-framework"
}
}
| 56 |
2,151 | <filename>third_party/angle/src/libANGLE/renderer/gl/TextureGL.h
//
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// TextureGL.h: Defines the class interface for TextureGL.
#ifndef LIBANGLE_R... | 5,702 |
1,210 | <gh_stars>1000+
/*
* Tencent is pleased to support the open source community by making GameAISDK available.
* This source code file is licensed under the GNU General Public License Version 3.
* For full details, please refer to the file "LICENSE.txt" which is provided as part of this source code package.
* Co... | 3,351 |
461 | #ifndef MALLOC_PROVIDED
/* msize.c -- a wrapper for malloc_usable_size. */
#include <_ansi.h>
#include <reent.h>
#include <stdlib.h>
#include <malloc.h>
#ifndef _REENT_ONLY
size_t
malloc_usable_size (void *ptr)
{
return _malloc_usable_size_r (_REENT, ptr);
}
#endif
#endif
| 127 |
4,262 | <gh_stars>1000+
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "Lic... | 830 |
2,151 | <reponame>google-ar/chromium
// 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 CONTENT_PUBLIC_BROWSER_HISTOGRAM_FETCHER_H_
#define CONTENT_PUBLIC_BROWSER_HISTOGRAM_FETCHER_H_
#include "base/c... | 363 |
535 | /*
* 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 ... | 544 |
571 | <filename>opencv_contrib/src/+cv/private/FacemarkKazemi_.cpp
/**
* @file FacemarkKazemi_.cpp
* @brief mex interface for cv::face::FacemarkKazemi
* @ingroup face
* @author Amro
* @date 2018
*/
#include "mexopencv.hpp"
#include "opencv2/face.hpp"
using namespace std;
using namespace cv;
using namespace cv::face;
/... | 3,849 |
3,112 | <reponame>santaclose/LumixEngine
#include "core.h"
#include "engine.h"
#include "hash_map.h"
#include "reflection.h"
#include "stream.h"
#include "universe.h"
namespace Lumix {
static const ComponentType SPLINE_TYPE = reflection::getComponentType("spline");
Spline::Spline(IAllocator& allocator)
: points(allocator)
... | 1,196 |
936 | <gh_stars>100-1000
/*
* Copyright 2020, Yahoo Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package com.yahoo.elide.datastores.aggregation;
import static com.yahoo.elide.core.dictionary.EntityDictionary.NO_VERSION;
import static com.yahoo.elide.core.request... | 7,004 |
332 | /*
* Copyright 2015 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 21,140 |
890 | /*
* MIT License
*
* Copyright (c) 2017 Twitter
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... | 9,740 |
4,054 | <filename>zkfacade/src/main/java/com/yahoo/vespa/curator/VespaZooKeeperFactory.java
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.curator;
import org.apache.curator.utils.ZookeeperFactory;
import org.apache.zookeeper.Watcher;
im... | 320 |
410 | <reponame>SketchK/Four
//
// SQDonateViewController.h
// Ten-Thousand-Hours
//
// Created by 张思琦 on 16/7/7.
// Copyright © 2016年 SQ-Studio. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SQDonateViewController : UIViewController
@end
| 103 |
4,290 | {
"name": "@firebase/messaging-sw",
"description": "",
"author": "Firebase <<EMAIL>> (https://firebase.google.com/)",
"module": "../dist/index.sw.esm2017.js",
"typings": "../dist/src/index.sw.d.ts"
}
| 86 |
322 | #!/usr/bin/env python3
#
# Code related to ESET's Linux/Moose research
# For feedback or questions contact us at: <EMAIL>
# https://github.com/eset/malware-research/
#
# This code is provided to the community under the two-clause BSD license as
# follows:
#
# Copyright (C) 2015 ESET
# All rights reserved.
#
# Redistrib... | 1,334 |
879 | <filename>header/src/main/java/org/zstack/header/network/l3/APIAddIpRangeByNetworkCidrMsg.java
package org.zstack.header.network.l3;
import org.springframework.http.HttpMethod;
import org.zstack.header.identity.Action;
import org.zstack.header.message.APICreateMessage;
import org.zstack.header.message.APIParam;
import... | 1,073 |
1,549 | import os
from lore import env
import lore
lore.env.require(lore.dependencies.TEST)
| 27 |
14,668 | <filename>ios/chrome/browser/ui/bookmarks/cells/bookmark_table_cell_title_edit_delegate.h
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_CELLS_BOOKMARK_TABLE_CEL... | 275 |
1,097 | <gh_stars>1000+
package com.nordnetab.chcp.main.events;
import com.nordnetab.chcp.main.config.ApplicationConfig;
/**
* Created by <NAME> on 25.08.15.
* <p/>
* Event is send when update has been installed.
*/
public class UpdateInstalledEvent extends WorkerEvent {
public static final String EVENT_NAME = "chcp... | 193 |
5,607 | /*
* Copyright 2017-2020 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 1,998 |
2,023 | --- pycurl-7.19.0/python/curl/__init__.py.orig 2010-04-21 11:43:47.000000000 +0300
+++ pycurl-7.19.0/python/curl/__init__.py 2010-04-21 11:44:24.000000000 +0300
@@ -164,10 +164,10 @@
url = sys.argv[1]
c = Curl()
c.get(url)
- print c.body()
- print '='*74 + '\n'
+ print(c.body())
+ ... | 297 |
695 | <gh_stars>100-1000
"""Functions to read data from the Baseline Surface Radiation Network (BSRN).
.. codeauthor:: <NAME><<EMAIL>>
"""
import pandas as pd
import gzip
import ftplib
import warnings
import io
import os
BSRN_FTP_URL = "ftp.bsrn.awi.de"
BSRN_LR0100_COL_SPECS = [(0, 3), (4, 9), (10, 16), (16, ... | 9,565 |
575 | # Copyright 2020 Proyectos y Sistemas de Mantenimiento SL (eProsima).
#
# 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... | 8,825 |
14,668 | <reponame>zealoussnow/chromium
// 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 "remoting/protocol/webrtc_event_log_data.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
... | 731 |
2,151 | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 15,884 |
2,253 | /************************************************************************************
* *
* Copyright (c) 2014 - 2018 <NAME> <<EMAIL>> *
* ... | 2,489 |
416 | <filename>iPhoneOS9.3.sdk/System/Library/Frameworks/MediaPlayer.framework/Headers/MPContentItem.h
//
// MPContentItem.h
// MobileMusicPlayer
//
// Copyright (c) 2013 Apple Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MediaPlayer/MediaPlayerDefines.h>
NS_ASSUME_NONNULL_BEGIN
@class MPMed... | 656 |
2,151 | <gh_stars>1000+
/*
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
... | 1,226 |
911 | <reponame>Pieter12345/ComputerCraft
/*
* This file is part of ComputerCraft - http://www.computercraft.info
* Copyright <NAME>, 2011-2017. Do not distribute without permission.
* Send enquiries to <EMAIL>
*/
package dan200.computercraft.shared.turtle.core;
import dan200.computercraft.api.turtle.TurtleSide;
import... | 199 |
776 | <filename>src/main/java/act/cli/meta/FieldOptionAnnoInfo.java
package act.cli.meta;
/*-
* #%L
* ACT Framework
* %%
* Copyright (C) 2014 - 2017 ActFramework
* %%
* 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 ... | 502 |
1,144 | <filename>backend/de.metas.adempiere.adempiere/base/src/main/java/de/metas/process/ProcessClassInfo.java<gh_stars>1000+
package de.metas.process;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import... | 4,150 |
698 | <filename>src/transformer_deploy/triton/configuration_encoder.py
# Copyright 2022, <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... | 1,549 |
341 | <reponame>docc-lab/train-ticket<gh_stars>100-1000
[{"traceId":"b9a8a881c981cfa3","id":"b9a8a881c981cfa3","name":"http:/adminroute/upload","timestamp":1532083356570000,"duration":575113,"annotations":[{"timestamp":1532083356570000,"value":"sr","endpoint":{"serviceName":"ts-admin-route-service","ipv4":"172.19.0.18","port... | 1,350 |
3,212 | <filename>nifi-nar-bundles/nifi-graph-bundle/nifi-graph-test-clients/src/main/java/org/apache/nifi/graph/InMemoryJanusGraphClientService.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 info... | 1,366 |
16,831 | #include "cpp/htmlparser/css/amp4ads-parse-css.h"
#include "absl/memory/memory.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "cpp/htmlparser/css/parse-css.h"
#include "re2/re2.h"
using absl::make_unique;
using std::string_view;
using amp::validator::ValidationError;
using std::uniqu... | 1,519 |
323 | /*
* Copyright (c) 2013. Codearte
*/
package io.codearte.jfairy.producer;
import com.google.common.annotations.VisibleForTesting;
import org.joda.time.DateTime;
import org.joda.time.Period;
import javax.inject.Inject;
import javax.inject.Singleton;
import static com.google.common.base.Preconditions.checkArgument;... | 805 |
1,760 | #pragma GCC optimize ("O3")
#pragma GCC target ("sse4")
#include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/rope>
using namespace std;
using namespace __gnu_pbds;
using namespace __gnu_cxx;
typedef long long ll;
typedef long double ld;
typedef complex... | 2,660 |
2,206 | <gh_stars>1000+
/*
*
* 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
*... | 2,052 |
841 | <reponame>gytis/Resteasy
package org.jboss.resteasy.test.injection.resource;
public class StringParameterInjectorType {
@StringParameterInjectorSpecialString
public String name;
}
| 59 |
4,184 | <reponame>ralmeidaa/dddsample-core
package se.citerus.dddsample.interfaces.handling;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import se.citerus.dddsample.domain.model.cargo.TrackingId;
import se.citerus.dddsample.domain.model.handling.HandlingEvent;
... | 815 |
1,144 | <filename>backend/de.metas.swat/de.metas.swat.base/src/main/java/de/metas/product/modelvalidator/MProductScalePriceValidator.java
package de.metas.product.modelvalidator;
/*
* #%L
* de.metas.swat.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify... | 2,336 |
4,403 | <gh_stars>1000+
package cn.hutool.core.lang;
import org.junit.Ignore;
import org.junit.Test;
import java.util.Set;
public class ClassScanerTest {
@Test
@Ignore
public void scanTest() {
ClassScanner scaner = new ClassScanner("cn.hutool.core.util", null);
Set<Class<?>> set = scaner.scan();
for (Class<?> claz... | 370 |
839 | /*
* JBoss, Home of Professional Open Source
* Copyright 2021, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | 1,588 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.