max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
435 | {
"copyright_text": null,
"description": "Speaker: <NAME>\n\nKeynote\n",
"duration": 4012,
"language": "eng",
"recorded": "2019-05-03T09:30:00",
"related_urls": [
{
"label": "Conference schedule",
"url": "https://us.pycon.org/2019/schedule/talks/"
},
{
"label": "Conference slid... | 392 |
2,380 | /**
*
* Copyright 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 applicable... | 19,925 |
14,668 | <gh_stars>1000+
// 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 CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_BODY_ANDROID_H_
#define CONTENT_PUBLIC_COMMON_RESOURCE_REQUEST_BODY_ANDROID_H_
#include <j... | 427 |
575 | // Copyright 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/viz/common/frame_sinks/delay_based_time_source.h"
#include <algorithm>
#include <cmath>
#include <string>
#include "base/bind.h"
#i... | 2,316 |
4,218 | /*
* Copyright 2020 Netflix, Inc.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agr... | 2,612 |
348 | <gh_stars>100-1000
{"nom":"Montlouis-sur-Loire","circ":"2ème circonscription","dpt":"Indre-et-Loire","inscrits":8308,"abs":4735,"votants":3573,"blancs":349,"nuls":113,"exp":3111,"res":[{"nuance":"REM","nom":"<NAME>","voix":2034},{"nuance":"LR","nom":"<NAME>","voix":1077}]} | 114 |
1,127 | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "dsr_tests_common.hpp"
#include <shared_test_classes/base/layer_test_utils.hpp>
#include <ngraph_functions/builders.hpp>
#include <vpu/ngraph/operations/dynamic_shape_resolver.hpp>
namespace {
using namespace LayerTests... | 1,692 |
421 | #pragma once
#include <memory>
#include <set>
#include <websocketpp/config/asio_no_tls.hpp>
#include <websocketpp/server.hpp>
#include <boost/thread/thread.hpp>
#include <json/json.h>
class server {
public:
server(boost::asio::ip::tcp::endpoint ep);
void run(int threadCount);
private:
void on... | 378 |
322 | #!/ usr/bin/env
# coding=utf-8
"""
author: b5mali4
Copyright (c) 2018
"""
from flask import Blueprint
from flask import request
from flask import jsonify
from flask import session
from model.base_model import OrmModelJsonSerializer
from model.user import User
from model.user import UserService
user = Blueprint('user'... | 476 |
396 | <reponame>Yomna-Hafez/Events-App
package me.everything.providers.android.dictionary;
import android.net.Uri;
import android.provider.BaseColumns;
import android.provider.UserDictionary;
import me.everything.providers.core.Entity;
import me.everything.providers.core.FieldMapping;
import me.everything.providers.core.Ig... | 415 |
1,738 | <reponame>jeikabu/lumberyard
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provid... | 563 |
450 | <filename>src/pl/pljava/src/java/examples/org/postgresql/example/ResultSetTest.java
/*
* Copyright (c) 2004, 2005 TADA AB - Taby Sweden
* Distributed under the terms shown in the file COPYRIGHT
* found in the root folder of this project or at
* http://eng.tada.se/osprojects/COPYRIGHT.html
*/
package org.postgresql... | 1,029 |
1,089 | package org.zalando.logbook;
public interface CorrelationId {
String generate(HttpRequest request);
}
| 32 |
726 | package org.andresoviedo.util.xml;
import android.util.Xml;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by andres on 9/12/17.
*/
public class XmlParser {
public static XmlNode parse(InputStream in) {
... | 662 |
488 | // t0183.cc
// multi-yield DeclSpecifier
// the declaration looks like a function prototype (which it is),
// but also looks like a declaration of a templatized static member
// where "T&s" is the ctor argument
// fixed by using (the already ambiguous) InitDeclarator in
// TemplateDeclaration instead of splitting th... | 103 |
2,180 | <filename>contrib/src/main/java/org/archive/net/chrome/ChromeProcess.java<gh_stars>1000+
/*
* This file is part of the Heritrix web crawler (crawler.archive.org).
*
* Licensed to the Internet Archive (IA) by one or more individual
* contributors.
*
* The IA licenses this file to You under the Apache License, ... | 2,427 |
575 | <reponame>sarang-apps/darshan_browser
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_CONTROLLER_TEST_UTIL_H_
#define CHROME_BROWSER_UI_ASH_LAUNCHE... | 347 |
476 | <reponame>henumohe/OmniMarkupPreviewer
"""
Copyright (c) 2013 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modi... | 3,064 |
1,428 | print('<NAME>')
| 7 |
335 | {
"word": "Kurbash",
"definitions": [
"A whip, typically of hippopotamus hide, formerly used as an instrument of punishment in Turkey and Egypt."
],
"parts-of-speech": "Noun"
} | 75 |
778 | /*
* Copyright (C) 2019 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 la... | 4,387 |
1,108 | #include "SDL.h"
#include "SDL_gpu.h"
#include <math.h>
#include "compat.h"
#include "common.h"
#include "demo-font.h"
int main(int argc, char* argv[])
{
GPU_Target* screen;
printRenderers();
screen = GPU_Init(1000, 600, GPU_DEFAULT_INIT_FLAGS);
if(screen == NULL)
return -1;
printCurrentRenderer();
{
SD... | 1,161 |
324 | <gh_stars>100-1000
#ifndef __UINTPTR_T_H_
#define __UINTPTR_T_H_
typedef unsigned uintptr_t;
#endif // __UINTPTR_T_H_
| 63 |
1,585 | /* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2007 The University of Tennessee and The University
* ... | 3,994 |
480 | <reponame>fuyin21/lifuyin.github.io<gh_stars>100-1000
/******************************************************************************
* 作者:kerwincui
* 时间:2021-06-08
* 邮箱:<EMAIL>
* 源码地址:https://gitee.com/kerwincui/wumei-smart
* author: kerwincui
* create: 2021-06-08
* email:<EMAIL>
* source:https://github.com/ke... | 1,131 |
507 | <reponame>mjuenema/python-terrascript
# terrascript/resource/local.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:21:17 UTC)
#
# For imports without namespace, e.g.
#
# >>> import terrascript.resource.local
#
# instead of
#
# >>> import terrascript.resource.hashicorp.local
#
# This is only availa... | 137 |
9,516 | <reponame>ketyi/dgl<gh_stars>1000+
import numpy as np
import torch
import torch.nn as nn
import dgl
import dgl.nn as dglnn
from dgl.base import DGLError
import dgl.function as fn
from dgl.nn.functional import edge_softmax
class WeightedGATConv(dglnn.GATConv):
'''
This model inherit from dgl GATConv for traffi... | 3,322 |
439 | <filename>exercises/practice/matrix/.meta/config.json
{
"blurb": "Given a string representing a matrix of numbers, return the rows and columns of that matrix.",
"authors": [
"FridaTveit"
],
"contributors": [
"hugueschabot",
"jmrunkle",
"jssander",
"kytrinyx",
"lemoncurry",
"mirkoperi... | 377 |
3,353 | <gh_stars>1000+
//
// ========================================================================
// Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others.
//
// This program and the accompanying materials are made available under the
// terms of the Eclipse Public License v. 2.0 which is available at
// https://... | 1,444 |
375 | <filename>src/Eclipse-IDE/org.robotframework.ide.eclipse.main.plugin.tests/src/org/robotframework/ide/eclipse/main/plugin/tableeditor/source/assist/AssistantContextTest.java
/*
* Copyright 2016 Nokia Solutions and Networks
* Licensed under the Apache License, Version 2.0,
* see license.txt file for details.
*/
... | 2,376 |
313 | <gh_stars>100-1000
/*
* Copyright 2021 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 1,614 |
488 | <reponame>maurizioabba/rose<filename>tests/CompileTests/Cxx_tests/test2005_81.h
// header file for test2005_81.C
// demonstrates bug in how specializations are output for g++
namespace std
{
template<typename T>
struct X
{
T t;
};
template<typename T>
void foobar(T t1)... | 178 |
322 | //
// PageControllerOnNavBar.h
// XQPageControllerDemo
//
// Created by Ticsmatic on 2017/7/20.
// Copyright © 2017年 Ticsmatic. All rights reserved.
//
#import "ScrollPageViewController.h"
@interface PageControllerOnNavBar : ScrollPageViewController <ScrollPageViewControllerProtocol>
@end
| 94 |
2,967 | <filename>visualtest/include/SDL_visualtest_sut_configparser.h<gh_stars>1000+
/* See LICENSE.txt for the full license governing this code. */
/**
* \file SDL_visualtest_sut_configparser.h
*
* Header for the parser for SUT config files.
*/
#ifndef SDL_visualtest_sut_configparser_h_
#define SDL_visualtest_sut_config... | 1,109 |
693 | <filename>animations/src/algo_segtree.py
from manimlib import *
import networkx as nx
from .algo_vgroup import *
from .algo_node import *
import queue
class AlgoSegTreeNode(object):
def __init__(self, id, l, r, v, left=None, right=None):
self.l = l
self.r = r
self.v = v
s... | 2,586 |
450 | <filename>bindings/gumjs/runtime/cmodule/gum/gumdefs.h
#ifndef __GUMDEFS_H__
#define __GUMDEFS_H__
#include <glib.h>
#define GUM_ADDRESS(a) ((GumAddress) (guintptr) (a))
typedef guint64 GumAddress;
typedef guint GumOS;
typedef guint GumCallingConvention;
typedef guint GumAbiType;
typedef guint GumCpuType;
typedef gu... | 1,110 |
679 | <reponame>Grosskopf/openoffice<filename>main/svtools/inc/svtools/stdmenu.hxx
/**************************************************************
*
* 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... | 2,964 |
1,604 | <filename>util/src/main/java/org/bouncycastle/oer/its/CircularRegion.java
package org.bouncycastle.oer.its;
import org.bouncycastle.asn1.ASN1Object;
import org.bouncycastle.asn1.ASN1Primitive;
import org.bouncycastle.asn1.ASN1Sequence;
/**
* <pre>
* CircularRegion ::= SEQUENCE {
* center TwoDLocation,
... | 807 |
3,049 | package io.seldon.wrapper.api;
import io.seldon.protos.PredictionProtos.DefaultData;
import io.seldon.protos.PredictionProtos.SeldonMessage;
import io.seldon.protos.PredictionProtos.Tensor;
import io.seldon.wrapper.pb.ProtoBufUtils;
import org.springframework.stereotype.Component;
@Component
public class TestPredicti... | 159 |
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,301 |
361 | <filename>trajectron/visualization/visualization.py
from utils import prediction_output_to_trajectories
from scipy import linalg
import matplotlib.pyplot as plt
import matplotlib.patches as patches
import matplotlib.patheffects as pe
import numpy as np
import seaborn as sns
def plot_trajectories(ax,
... | 2,957 |
5,168 | /**
* \file dnn/test/naive/deformable_ps_roi_pooling.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distribute... | 1,050 |
1,259 | <filename>src/e2etests/tests/end_to_end/test_integration_e2e_tests.py<gh_stars>1000+
import os
from unittest import TestCase
import pytest
from django.urls import reverse
from rest_framework import status
from rest_framework.test import APIClient
from users.models import FFAdminUser
@pytest.mark.django_db
class E2e... | 662 |
2,151 | <filename>pkgs/tools/yasm/src/tools/re2c/dfa.c
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "tools/re2c/globals.h"
#include "tools/re2c/substr.h"
#include "tools/re2c/dfa.h"
#define octCh(c) ('0' + c%8)
void prtCh(FILE *o, unsigned char c){
unsigned char oc = talx[c];
switch(oc){
ca... | 2,781 |
854 | __________________________________________________________________________________________________
import datetime as dt
class Solution:
def dayOfYear(self, date: str) -> int:
return dt.date(*[
int(i) for i in date.split('-')
]).timetuple().tm_yday
______________________________________... | 101 |
543 | package com.adobe.epubcheck.ctc.epubpackage;
/**
* === WARNING ==========================================<br/>
* This class is scheduled to be refactored and integrated<br/>
* in another package.<br/>
* Please keep changes minimal (bug fixes only) until then.<br/>
* ========================================... | 316 |
1,429 | # encoding: utf-8
"""Visual effects on a shape such as shadow, glow, and reflection."""
from __future__ import absolute_import, division, print_function, unicode_literals
class ShadowFormat(object):
"""Provides access to shadow effect on a shape."""
def __init__(self, spPr):
# ---spPr may also be a... | 568 |
1,408 | <gh_stars>1000+
/*
* Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdbool.h>
#include <arch.h>
#include <arch_helpers.h>
#include <common/debug.h>
#include <lib/el3_runtime/context_mgmt.h>
#include <lib/extensions/sme.h>
#include <li... | 1,099 |
2,180 | <filename>kafka-manager-common/src/main/java/com/xiaojukeji/kafka/manager/common/entity/ao/TopicDiskLocation.java
package com.xiaojukeji.kafka.manager.common.entity.ao;
import java.util.List;
/**
* @author zengqiao
* @date 20/7/8
*/
public class TopicDiskLocation {
private Long clusterId;
private String t... | 1,038 |
1,040 | <filename>tests/extensions/test_cirrus.py
#!/usr/bin/env python
import sys
from os.path import exists as path_exists
from pyscaffold.api import create_project
from pyscaffold.cli import run
from pyscaffold.extensions.cirrus import Cirrus
def test_create_project_with_cirrus(tmpfolder):
# Given options with the ci... | 694 |
2,706 | /***********************************************************************************
Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
(c) Copyright 1996 - 2002 <NAME> (<EMAIL>),
<NAME> (<EMAIL>)
(c) Copyright 2002 - 2004 <NAME>
(c) Copyright 2002 - 2005 <NA... | 8,209 |
21,684 | <gh_stars>1000+
#include "rdb_protocol/store.hpp"
#include "btree/backfill.hpp"
#include "btree/reql_specific.hpp"
#include "btree/operations.hpp"
#include "rdb_protocol/blob_wrapper.hpp"
#include "rdb_protocol/btree.hpp"
#include "rdb_protocol/lazy_btree_val.hpp"
/* After every `MAX_BACKFILL_ITEMS_PER_TXN` backfill ... | 6,169 |
1,099 | package com.example.chat.adapter;
import android.widget.TextView;
import com.example.chat.R;
import com.example.chat.manager.UserDBManager;
import com.example.commonlibrary.baseadapter.adapter.BaseRecyclerAdapter;
import com.example.commonlibrary.baseadapter.viewholder.BaseWrappedViewHolder;
import com.example.common... | 1,494 |
386 | /*
This file is a part of
QVGE - Qt Visual Graph Editor
(c) 2016-2020 <NAME> (<EMAIL>)
It can be used freely, maintaining the information above.
*/
#pragma once
#include <QAction>
#include <QLabel>
#include <QSettings>
#include <QGraphicsSceneMouseEvent>
#include <QGraphicsItem>
#include <QTimer>
#include <slider... | 1,252 |
777 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sync/model_impl/attachments/task_queue.h"
#include <vector>
#include "base/memory/ptr_util.h"
#include "base/message_loop/message_l... | 2,427 |
2,291 | {
"id" : 447,
"status" : "Fixed",
"summary" : "MyLocationOverlay icon changes it's size when rotating the map",
"labels" : [ "Type-Defect", "Priority-Medium" ],
"stars" : 0,
"commentCount" : 8,
"comments" : [ {
"id" : 0,
"commenterId" : -2963183026512488169,
"content" : "<b>What steps will rep... | 1,233 |
45,293 | <gh_stars>1000+
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package org.jetbrains.kotlin.js.backend.ast;
import java.util.List;
/**
* Implemente... | 130 |
1,109 | /*******************************************************************************
* Copyright 2016 Intuit
* <p>
* 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
* <p>
* http://www.apache.o... | 496 |
992 | <reponame>adinkwok/android_frameworks_support<filename>loader/src/main/java/androidx/loader/app/LoaderManager.java
/*
* Copyright 2018 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 obt... | 3,812 |
436 | /**
* The MIT License
* Copyright (c) 2019- Nordic Institute for Interoperability Solutions (NIIS)
* Copyright (c) 2018 Estonian Information System Authority (RIA),
* Nordic Institute for Interoperability Solutions (NIIS), Population Register Centre (VRK)
* Copyright (c) 2015-2017 Estonian Information System Autho... | 1,300 |
504 | <filename>Tools/include/objfmt.h
/***********************************************************************
* PROJECT: PCGEOS
* MODULE: Swat/Esp/Glue -- interface definitions
* FILE: objformat.h
*
* AUTHOR: <NAME>: June 13, 1989
*
* REVISION HISTORY:
* Date Name Description
* ---- ----... | 14,299 |
2,329 | <reponame>alimate/spring-loaded
package example;
public class ProxyTestcase2 {
static Simple2 proxy;// = ProxyBuilder.createProxyFor(Simple2.class);
public static void main(String[] args) {
run();
}
public static void run() {
MyMethodInterceptor.clearLog();
proxy.boo();
System.out.println(MyMethodInterc... | 223 |
313 | /*
* Copyright 2018 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 997 |
3,369 | //
// ViewController.h
// SimpleExample
//
// Created by karl on 2016-04-08.
// Copyright © 2016 <NAME>. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
| 73 |
353 | # Copyright (c) 2009-2021, Google LLC
# 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 conditions... | 873 |
1,244 | <filename>lamp-oauth/lamp-oauth-api/src/main/java/top/tangyh/lamp/oauth/api/ParameterApi.java
package top.tangyh.lamp.oauth.api;
import top.tangyh.basic.base.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annota... | 382 |
373 | <reponame>linkingtd/UniAuth
package com.dianrong.common.uniauth.common.customer.basicauth.factory;
import com.dianrong.common.uniauth.common.customer.basicauth.handler.ModeHandler;
import com.dianrong.common.uniauth.common.customer.basicauth.handler.PermissionHandler;
import com.dianrong.common.uniauth.common.customer... | 358 |
1,444 |
package mage.cards.d;
import java.util.UUID;
import mage.ObjectColor;
import mage.abilities.effects.common.combat.CantBeBlockedByCreaturesAllEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.TargetController;
import... | 494 |
877 | <reponame>krishkumar/BlockParty
//
// UIDeviceHelper.h
// BlockParty
//
// Created by <NAME> on 17/09/2015.
// Copyright © 2015 <NAME>. All rights reserved.
//
#ifndef UIDeviceHelper_h
#define UIDeviceHelper_h
#define IS_IPHONE_4 (fabs((double)[[UIScreen mainScreen]bounds].size.height - (double)480) < DBL_EPSILON... | 274 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-vqwc-f978-m55f",
"modified": "2022-04-29T02:59:03Z",
"published": "2022-04-29T02:59:03Z",
"aliases": [
"CVE-2004-1137"
],
"details": "Multiple vulnerabilities in the IGMP functionality for Linux kernel 2.4.22 to 2.4.28, and 2.6.x to 2.6.9, allow local and remot... | 932 |
441 | <gh_stars>100-1000
/*
[The "BSD license"]
Copyright (c) 2011-2013 <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
... | 1,396 |
4,262 | <reponame>rikvb/camel
/*
* 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
* (th... | 804 |
14,668 | <gh_stars>1000+
def main(request, response):
if b'mime' in request.GET:
return [(b'Content-Type', request.GET[b'mime'])], b""
return [], b""
| 67 |
2,099 | <gh_stars>1000+
//
// SGVideoItem.h
// demo-common
//
// Created by Single on 2017/3/15.
// Copyright © 2017年 single. All rights reserved.
//
#import <SGPlayer/SGPlayer.h>
@interface SGVideoItem : NSObject
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) SGAsset *asset;
@property (nonatomi... | 141 |
5,168 | /**
* @file acl_base.h
*
* Copyright (C) Huawei Technologies Co., Ltd. 2019-2020. All Rights Reserved.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef INC_EXTERNAL_ACL_... | 4,532 |
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 ... | 2,310 |
411 | <reponame>DittoTool/documents4j
package com.documents4j.ws.endpoint;
import com.documents4j.api.DocumentType;
import com.documents4j.api.IConverter;
import com.documents4j.ws.application.IWebConverterConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.inject.Inject;
import javax.ws.rs... | 771 |
468 | <reponame>srand/finit
/* PID and PID file helpers
*
* Copyright (c) 2008-2010 <NAME> <<EMAIL>>
* Copyright (c) 2008-2021 <NAME> <<EMAIL>>
*
* 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 Sof... | 903 |
329 | <filename>ext/nmatrix/math/getrf.h<gh_stars>100-1000
/////////////////////////////////////////////////////////////////////
// = NMatrix
//
// A linear algebra library for scientific computation in Ruby.
// NMatrix is part of SciRuby.
//
// NMatrix was originally inspired by and derived from NArray, by
// <NAME>: http:/... | 3,418 |
6,139 | <reponame>Digitaltransform/tensorboard
# Copyright 2020 The TensorFlow Authors. 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/LIC... | 1,862 |
49,076 | /*
* Copyright 2002-2021 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/licenses/LICENSE-2.0
*
* Unless required by a... | 1,043 |
4,927 | //
// FileItem+CoreDataClass.h
// VimR
//
// Created by <NAME> on 18.01.20.
// Copyright © 2020 <NAME>. All rights reserved.
//
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
NS_ASSUME_NONNULL_BEGIN
@interface FileItem : NSManagedObject
@end
NS_ASSUME_NONNULL_END
#import "FileItem+CoreData... | 132 |
513 | package com.zmops.zeus.driver.service;
import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.Post;
import com.zmops.zeus.driver.annotation.JsonPath;
import com.zmops.zeus.driver.annotation.ParamName;
import com.zmops.zeus.driver.inteceptor.JsonBodyBuildInterceptor;
import java.util.List... | 785 |
839 | <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 Apache License, Version 2.0 (the
... | 870 |
1,194 | <gh_stars>1000+
package ca.uhn.fhir.jpa.bulk.export.job;
/*-
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2022 Smile CDR, 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 Lic... | 1,288 |
1,264 | /*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use t... | 2,551 |
548 | // Copyright 2021 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 re... | 1,021 |
852 | <filename>Validation/EcalClusters/src/EcalSimPhotonMCTruth.cc<gh_stars>100-1000
#include "Validation/EcalClusters/interface/EcalSimPhotonMCTruth.h"
#include <iostream>
EcalSimPhotonMCTruth::EcalSimPhotonMCTruth(int isAConversion,
const math::XYZTLorentzVectorD &v,
... | 504 |
1,335 | <gh_stars>1000+
from __future__ import print_function
from keras_contrib.tests import optimizers
from keras_contrib.optimizers import Padam
def test_padam():
optimizers._test_optimizer(Padam())
optimizers._test_optimizer(Padam(decay=1e-3))
| 88 |
359 | <gh_stars>100-1000
/**
* Copyright (C) 2021 Xilinx, Inc
*
* 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 8,223 |
17,703 | <filename>source/extensions/filters/http/cdn_loop/parser.cc<gh_stars>1000+
#include "source/extensions/filters/http/cdn_loop/parser.h"
#include "source/common/common/statusor.h"
#include "absl/status/status.h"
#include "absl/strings/str_format.h"
#include "absl/strings/string_view.h"
namespace Envoy {
namespace Exte... | 4,743 |
347 | <filename>frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/builders/CompositeSyncBuilder.java
package org.ovirt.engine.ui.uicommonweb.builders;
/**
* Equivalent of {@link CompositeBuilder} purely for synchronously running builders (i.e. descendants of
* {@link SyncBuilder}).
*/
pu... | 172 |
302 | #include "vehicle.h"
#include "twovector.h"
#include <iostream>
using namespace std;
Vehicle::Vehicle() {}
Vehicle::Vehicle(TwoVector position, double velocity) {
fPosition = position;
fVelocity = velocity;
}
Vehicle::~Vehicle() {}
void Vehicle::SetValue(string ValueName, double Value) {
if (ValueName.compare... | 294 |
4,416 | <reponame>dvlpsh/leetcode-1<gh_stars>1000+
# Definition for singly-linked list with a random pointer.
# class RandomListNode(object):
# def __init__(self, x):
# self.label = x
# self.next = None
# self.random = None
class Solution(object):
# def copyRandomList(self, head):
# """... | 1,142 |
922 | <reponame>vootan/hibernate-validator<gh_stars>100-1000
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.internal.engine... | 235 |
2,139 | <filename>core/src/main/java/org/jruby/ext/ffi/jffi/NativeMemoryIO.java
package org.jruby.ext.ffi.jffi;
import java.nio.ByteOrder;
import org.jruby.Ruby;
import org.jruby.ext.ffi.MemoryIO;
import org.jruby.ext.ffi.Platform;
class NativeMemoryIO extends MemoryIO {
protected static final com.kenai.jffi.MemoryIO IO... | 2,644 |
2,337 | <filename>src/testers/pin/unsuported_semantics.py
# Note: Display the list of unsuported semantics
from __future__ import print_function
from operator import itemgetter
from triton import ARCH
from pintool import getTritonContext, startAnalysisFromEntry, runProgram, insertCall, INSERT_POINT
unsuportedSemant... | 515 |
14,668 | <filename>ui/gfx/canvas_paint_mac.h<gh_stars>1000+
// 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 UI_GFX_CANVAS_PAINT_MAC_H_
#define UI_GFX_CANVAS_PAINT_MAC_H_
#include "skia/ext/platform... | 567 |
8,844 | # CHECK-TREE: #record{}
()
| 14 |
831 | /*
* Copyright (C) 2015 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... | 834 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.