max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
5,169 | {
"name": "BottomPopup",
"version": "0.4.1",
"summary": "BottomPopup provides a popup-like presentation style to any view controller",
"homepage": "https://github.com/ergunemr/BottomPopup",
"screenshots": [
"https://media.giphy.com/media/MRWZQ2PUS0NSeCytPx/giphy.gif",
"https://media.giphy.com/media/3b... | 332 |
3,690 | <reponame>corkiwang1122/LeetCode
#include "solution.h"
#include <iostream>
using namespace std;
int main()
{
Solution s;
vector<std::vector<char>> board = {
{'5','3','.','.','7','.','.','.','.'},
{'6','.','.','1','9','5','.','.','.'},
{'.','9','8','.','.','.','.','6','.'},
{'8'... | 424 |
373 | /*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2020 Adobe
* %%
* 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... | 660 |
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 ... | 6,164 |
750 | <reponame>0scarB/piccolo<filename>tests/columns/test_uuid.py<gh_stars>100-1000
import uuid
from unittest import TestCase
from piccolo.columns.column_types import UUID
from piccolo.table import Table
class MyTable(Table):
uuid = UUID()
class TestUUID(TestCase):
def setUp(self):
MyTable.create_table(... | 224 |
400 | <gh_stars>100-1000
#include "asm_utils.h"
#include "interrupt.h"
#include "stdio.h"
#include "program.h"
#include "thread.h"
// 屏幕IO处理器
STDIO stdio;
// 中断管理器
InterruptManager interruptManager;
// 程序管理器
ProgramManager programManager;
void third_thread(void *arg) {
printf("pid %d name \"%s\": Hello World!\n", progr... | 737 |
1,350 | <reponame>Shashi-rk/azure-sdk-for-java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.batchai.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annota... | 4,234 |
528 | <filename>tests/scripts/test_generators.py<gh_stars>100-1000
"""Testing generators."""
import networkx as nx
from cdt.data import AcyclicGraphGenerator, CausalPairGenerator
from cdt.data.causal_mechanisms import gmm_cause, gaussian_cause
import pandas as pd
import os
mechanisms = ['linear', 'polynomial', 'sigmoid_ad... | 1,015 |
1,768 | /*******************************************************************************
* Copyright (c) 2021 Microsoft Research. All rights reserved.
*
* The MIT License (MIT)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "S... | 473 |
713 | <gh_stars>100-1000
package org.infinispan.server.router.configuration.builder;
/**
* Router configuration builder.
*
* @author <NAME>
*/
public interface ConfigurationBuilderParent {
/**
* Returns builder for Routing Table.
*/
RoutingBuilder routing();
/**
* Returns builder for Hot Rod... | 191 |
410 | from dygie.predictors.dygie import DyGIEPredictor
| 17 |
488 | <filename>src/frontend/SageIII/omp_lib_kinds.h<gh_stars>100-1000
c from OpenMP 3.0 D.2 p 304: Interface Declaration
integer omp_lock_kind
parameter ( omp_lock_kind = 8 )
integer omp_nest_lock_kind
parameter ( omp_nest_lock_kind = 8 )
integer omp_sched_kind
parameter (... | 332 |
5,166 | {
"InstanceName": "aws-doc-example-instance-name",
"InstanceID": "aws-doc-example-instance-id",
"AlarmName": "aws-doc-example-alarm-name"
} | 56 |
678 | /**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/WebCore.framework/WebCore
*/
#import <WebCore/DOMCSSRule.h>
@class DOMCSSStyleDeclaration, NSString;
__attribute__((visibility("hidden")))
@interface DOMWebKitCSSKeyframeRule : DOMCSSRule {
}
@property(readonly, re... | 227 |
4,071 | <reponame>Ru-Xiang/x-deeplearning
/* Copyright (C) 2016-2018 Alibaba Group Holding Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless req... | 1,040 |
369 | <filename>FreeRTOSv10.4.1/FreeRTOS/Demo/ColdFire_MCF52259_CodeWarrior/Freescale_Headers/MCF52259_SCM.h<gh_stars>100-1000
/* Coldfire C Header File
* Copyright Freescale Semiconductor Inc
* All rights reserved.
*
* 2008/04/17 Revision: 0.2
*
* (c) Copyright UNIS, spol. s r.o. 1997-2008
* UNIS, spol. s r.o.
* Jun... | 6,678 |
532 | <reponame>vinaym815/opensim-core<filename>OpenSim/Common/IMUDataReader.cpp
#include "IMUDataReader.h"
namespace OpenSim {
const std::string IMUDataReader::Orientations{ "orientations" }; // name of table for orientation data
const std::string IMUDataReader::LinearAccelerations{ "linear_accelerations" ... | 1,111 |
1,268 | <reponame>pru-sunny/UberSignature<filename>Sources/ObjC/UBSignatureDrawingViewController.h
/**
Copyright (c) 2017 Uber Technologies, Inc.
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 witho... | 800 |
358 | <reponame>michael-k/awacs
# Copyright (c) 2012-2021, <NAME> <<EMAIL>>
# All rights reserved.
#
# See LICENSE file for full license.
from .aws import Action as BaseAction
from .aws import BaseARN
service_name = "AWS CloudFormation"
prefix = "cloudformation"
class Action(BaseAction):
def __init__(self, action: st... | 1,150 |
335 | <gh_stars>100-1000
{
"word": "Eulogy",
"definitions": [
"expression of praise, often on the occasion of someone's death"
],
"parts-of-speech": "noun"
}
| 76 |
721 | package crazypants.enderio.base.handler.darksteel;
import javax.annotation.Nonnull;
import com.enderio.core.common.util.NNList;
import com.enderio.core.common.util.NNList.Callback;
import crazypants.enderio.api.upgrades.IDarkSteelItem;
import crazypants.enderio.api.upgrades.IDarkSteelUpgrade;
import crazypants.ender... | 1,115 |
307 | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#include <cstdio>
#include <cstring>
#include <csetjmp>
#include "globa... | 3,597 |
1,545 | /*
* 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,878 |
326 | /*BEGIN_LEGAL
Intel Open Source License
Copyright (c) 2002-2017 Intel Corporation. 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 noti... | 2,380 |
335 | <gh_stars>100-1000
{
"word": "Envoy",
"definitions": [
"A messenger or representative, especially one on a diplomatic mission.",
"A minister plenipotentiary, ranking below ambassador and above charg\u00e9 d'affaires."
],
"parts-of-speech": "Noun"
} | 106 |
1,690 | <reponame>sg3510/WebWhatsapp-Wrapper<filename>sample/log_all.py
import os, sys, time, json, datetime
from webwhatsapi import WhatsAPIDriver
from webwhatsapi.objects.message import Message, MediaMessage
# EXAMPLE OF LOGGER BOT
# =====================
# Logs everything that passes through the phone, and saves media cont... | 5,320 |
2,742 | /*
* Copyright 2008-2019 by <NAME>
*
* This file is part of Java Melody.
*
* 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... | 3,214 |
380 | <filename>Server/src/main/java/org/gluu/oxauth/model/ldap/TokenType.java
/*
* oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.gluu.oxauth.model.ldap;
import org.apache.commons.lang.StringUtils;
/**
* @author <NAME... | 449 |
2,151 | // Copyright 2013 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 "content/browser/media/midi_host.h"
#include <stddef.h>
#include <stdint.h>
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include... | 2,498 |
903 | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (<EMAIL>)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** G... | 1,213 |
1,059 | #pragma once
#include <cudf/types.hpp>
#include <cudf/scalar/scalar.hpp>
namespace strings {
std::unique_ptr<cudf::scalar> str_to_timestamp_scalar( std::string const& str,
cudf::data_type timestamp_type,
std::... | 211 |
2,077 | <reponame>njzhangyifei/xcbuild<gh_stars>1000+
/**
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.
*/
#ifndef __plist_Format_ABPRecordType_h
#define __plist_Format_ABPRecor... | 2,040 |
2,112 | /**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package test.fixtures.adapter;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.Set;
import java.util.HashSet;
import java.util.Col... | 5,211 |
2,151 | <reponame>zipated/src
// 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.
#include "gpu/ipc/service/gpu_init.h"
#include "base/command_line.h"
#include "base/metrics/histogram_macros.h"
#include "base/stri... | 6,194 |
634 | <gh_stars>100-1000
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1,267 |
482 | <gh_stars>100-1000
package io.cattle.platform.iaas.api.volume;
import io.cattle.platform.api.action.ActionHandler;
import io.cattle.platform.core.constants.SnapshotConstants;
import io.cattle.platform.core.constants.VolumeConstants;
import io.cattle.platform.core.model.Snapshot;
import io.cattle.platform.core.model.Vo... | 637 |
984 | /*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 444 |
1,045 | /***************************************************************************************************
Tencent is pleased to support the open source community by making RapidView available.
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
Licensed under the MITLicense (the "License"); you ma... | 671 |
511 | /*
SysmonForLinux
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
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 witho... | 1,887 |
861 | <reponame>Kondr11/LABA7
# Copyright (c) 2014, <NAME>
# All rights reserved.
import os
import re
def get(ios_version):
dev_dir = re.sub(r'\.', '_', ios_version)
dev_dir = 'IOS_{}_DEVELOPER_DIR'.format(dev_dir)
return os.getenv(dev_dir)
| 106 |
789 | <filename>qbit/core/src/test/java/io/advantageous/qbit/boon/spi/ProtocolParserVersion1Test.java
/*
* 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
*... | 1,666 |
515 | <filename>stella-nfe/src/main/java/br/com/caelum/stella/nfe/ws/sp/recepcao/NfeRecepcao2Soap12.java
package br.com.caelum.stella.nfe.ws.sp.recepcao;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.a... | 762 |
375 | package io.lumify.opennlpDictionary.model;
import com.altamiracorp.bigtable.model.Row;
import com.altamiracorp.bigtable.model.RowKey;
import io.lumify.core.model.properties.LumifyProperties;
import org.json.JSONObject;
public class DictionaryEntry extends Row<DictionaryEntryRowKey> {
public static final String T... | 492 |
15,577 | <gh_stars>1000+
#pragma once
#include <Core/Block.h>
#include <DataTypes/DataTypesNumber.h>
#include <Parsers/ASTExpressionList.h>
#include <Parsers/ASTFunction.h>
#include <Parsers/ASTSelectQuery.h>
#include <Storages/MergeTree/KeyCondition.h>
#include <Storages/SelectQueryInfo.h>
#include <Common/typeid_cast.h>
na... | 1,796 |
416 | <filename>Headers/CoreImage/CIVector.h
/*
CoreImage - CIVector.h
Copyright (c) 2015 Apple, Inc.
All rights reserved.
*/
#import <CoreImage/CoreImageDefines.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
NS_CLASS_AVAILABLE(10_4, 5_0)
@interface CIVector : NSObject <NSCopying, NSSecureCoding>
... | 1,203 |
3,366 | //!
//! @author @<NAME> @shbling
//!
//! Exercise 10.24:
//! Use bind and check_size to find the first element in a vector of ints that
//! has a value greater
//! than the length of a specified string value.
//!
// Discussion over this exercise on StackOverflow
// http://stackoverflow.com/questions/20539406/what-typ... | 452 |
2,293 | /*
* Copyright (C) 2010-2021 Arm Limited or its affiliates. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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
*
* www.apache.... | 11,983 |
615 | <filename>src/test/pythonFiles/autocomp/imp.py<gh_stars>100-1000
from os import *
fsta | 33 |
781 | //-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... | 2,022 |
364 | // AUTOGENERATED CODE. DO NOT MODIFY DIRECTLY! Instead, please modify the transformer/ConstantResultTransformationX.ftl file.
// See the README in the module's src/template directory for details.
package com.linkedin.dagli.transformer;
import com.linkedin.dagli.annotation.equality.ValueEquality;
import com.linkedin.... | 2,924 |
471 | DELETE_HEADER = "Delete(Y/N)"
| 15 |
1,674 | from .glitch_this import ImageGlitcher
| 11 |
677 | <filename>Core/inspector/inspector_css_agent.h
#ifndef LYNX_INSPECTOR_INSPECTOR_CSS_AGENT_H_
#define LYNX_INSPECTOR_INSPECTOR_CSS_AGENT_H_
#include "inspector/inspector_agent_base.h"
#include <unordered_map>
#include "render/render_object.h"
namespace jscore {
class Runtime;
}
namespace debug {
class InspectorCSSA... | 333 |
852 | #ifndef MTDALIGNMENTERROREXTENDEDRCD_H
#define MTDALIGNMENTERROREXTENDEDRCD_H
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h"
class MTDAlignmentErrorExtendedRcd
: public edm::eventsetup::EventSetupRecordImplementation<MTDAlignmentErrorExtendedRcd> {};
#endif
| 100 |
575 | <gh_stars>100-1000
// 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.
#include "chromeos/services/secure_channel/ble_initiator_operation.h"
#include "base/bind.h"
#include "base/macros.h"
#include "base/m... | 1,310 |
589 | <filename>inspectit.shared.all/src/main/java/rocks/inspectit/shared/all/instrumentation/config/impl/MethodSensorTypeConfig.java
package rocks.inspectit.shared.all.instrumentation.config.impl;
import org.apache.commons.collections.MapUtils;
import rocks.inspectit.shared.all.instrumentation.config.PriorityEnum;
/**
*... | 744 |
521 | <gh_stars>100-1000
/* $Id: utf-8-case.cpp $ */
/** @file
* IPRT - UTF-8 Case Sensitivity and Folding, Part 1.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can red... | 5,188 |
303 | <gh_stars>100-1000
{"id":1147,"line-1":"Doha","line-2":"Qatar","attribution":"©2014 Cnes/Spot Image, DigitalGlobe","url":"https://www.google.com/maps/@25.367760,51.557078,16z/data=!3m1!1e3"} | 83 |
652 | <reponame>prafullp/cassandra-lucene-index
/*
* Copyright (C) 2014 Stratio (http://stratio.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/license... | 757 |
462 | <gh_stars>100-1000
#!/usr/bin/env python
##
# Copyright (c) 2010-2017 Apple 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/LICEN... | 8,757 |
780 | package com.codeborne.selenide;
import com.codeborne.selenide.impl.CollectionSource;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import javax.annotation.CheckReturnValue;
import javax.annotation.Nonnull;
import javax.annotation.ParametersAreNonnullByDefault;
import static java.util.Arrays.a... | 864 |
533 | <reponame>baajur/Anakin
#include "saber/funcs/impl/x86/saber_affine_channel.h"
#include "saber/funcs/impl/x86/x86_utils.h"
#include <cmath>
namespace anakin {
namespace saber {
/**
* @brief formula: Input 0 X (NCHW or NHWC).
* where,Input 1 Scale (C)
* Input 2 Bias (C)
* ... | 912 |
2,073 | <reponame>felidsche/BigDataBench_V5.0_BigData_ComponentBenchmark<filename>Hadoop/apache-mahout-0.10.2-compile/mr/src/test/java/org/apache/mahout/cf/taste/impl/neighborhood/DummySimilarity.java
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE fi... | 874 |
3,083 | // Copyright 2011-2016 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 417 |
14,668 | /*
Copyright (C) 1998 <NAME> (<EMAIL>)
Copyright (C) 2001 <NAME> (<EMAIL>)
Copyright (C) 2002 <NAME> (<EMAIL>)
Copyright (C) 2006 <NAME> (<EMAIL>)
Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
This library is free software; you can redistribute it and/or
modify it und... | 7,204 |
1,428 | from bokeh.plotting import figure, output_file, show
import random
import math
initial_invesment = 100
y = []
for oo in range(0, 365):
if random.randint(0,1) % 2 == 0:
initial_invesment = initial_invesment + 0.5
y.append(initial_invesment)
else:
initial_invesment = initial_invesment -... | 286 |
453 | # Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | 429 |
634 | /****************************************************************
* 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... | 1,169 |
1,738 | #pragma once
/*
* 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 provided, by the lice... | 489 |
320 | <filename>MoPubSDKTests/MPVASTCompanionAdView+Testing.h
//
// MPVASTCompanionAdView+Testing.h
//
// Copyright 2018-2021 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import "MPVASTCompanionAdView.h"
@class MRController;
@class MPImageLoade... | 262 |
4,812 | <reponame>medismailben/llvm-project<gh_stars>1000+
//===- ObjCARCAnalysisUtils.cpp -------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH... | 315 |
10,225 | package io.quarkus.cache.runtime;
/**
* This class is used to allow the storage of {@code null} values in the Quarkus cache while it is forbidden by the underlying
* caching provider.
*/
public class NullValueConverter {
private static final class NullValue {
public static Object INSTANCE = new NullVal... | 179 |
1,686 | // Copyright (c) 2016 <NAME>. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and t... | 2,913 |
880 | /**
* Copyright 2019 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 362 |
2,453 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
//
// Copyright (C) 1997-2019 <NAME>.
//
#import <objc/NSObject.h>
@class MISSING_TYPE;
@interface IDEMediaLibraryDetailViewAlternateSection : NSObject
{
MISSING_TYPE *alternates;
MISSING_TYPE *title;
MISSING_T... | 178 |
11,356 | // Unit test for boost::any.
//
// See http://www.boost.org for most recent version, including documentation.
//
// Copyright <NAME>, 2013-2014.
//
// 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... | 4,863 |
655 | var1 = True
def func1():
pass
| 16 |
808 | <reponame>714627034/Paddle-Lite<gh_stars>100-1000
// Copyright (c) 2019 PaddlePaddle 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.apa... | 2,400 |
382 | <reponame>uin3566/Dota2Helper
package com.fangxu.dota2helper.ui.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
impo... | 2,598 |
3,402 | <filename>core-cube/src/main/java/org/apache/kylin/cube/cuboid/algorithm/AbstractRecommendAlgorithm.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 owners... | 969 |
2,912 | <gh_stars>1000+
"""
Basic Weld element-wise operations supported in Grizzly.
"""
import weld.lazy
def _unary_apply(op, value):
"""
Constructs a Weld string to apply a unary function to a scalar.
Examples
--------
>>> _unary_apply("sqrt", "e")
'sqrt(e)'
"""
return "{op}({value})".form... | 2,064 |
1,374 | <reponame>YuanYuanDog/Design-Pattern-For-iOS
//
// HCDproxy.h
// 4代理模式
//
// Created by yifan on 15/8/12.
// Copyright (c) 2015年 黄成都. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "HCDgiveGift.h"
@class HCDschoolGirl,HCDpursuit;
@interface HCDproxy : NSObject<HCDgiveGift>
-(instancetype)initWit... | 160 |
708 | /**
* @file target_reset_mimxrt.c
* @brief Target reset for the i.MX RT series
*
* DAPLink Interface Firmware
* Copyright (c) 2009-2016, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file ex... | 598 |
2,504 | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... | 1,683 |
521 | typedef struct _FB_CONSOLE_CTX {
int active, visible;
int w, h;
unsigned long phys_addr;
int scrollWasOff;
int forceInpBufferChanged;
} FB_CONSOLE_CTX;
extern FB_CONSOLE_CTX __fb_con;
int fb_ConsoleLocate_BIOS( int row, int col, int cursor );
void fb_ConsoleGetXY_BIOS( int... | 277 |
2,118 | <filename>test/include/cds_test/stat_michael_list_out.h
// Copyright (c) 2006-2018 <NAME>
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef CDSTEST_STAT_MICHAEL_LIST_OUT_H
#define CDSTEST_STAT_MICHAEL_LIST_OUT_H
... | 846 |
6,224 | <filename>tests/drivers/i2c/i2c_tca954x/src/main.c
/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include <device.h>
#include <drivers/i2c.h>
#if DT_NODE_HAS_STATUS(DT_ALIAS(i2c_channel_0), okay)
#define I2C_0_CTRL_NODE_ID DT_ALIAS(i2c_channel_0)
#def... | 611 |
578 | import time
import unittest
from mock import MagicMock
from tests.tools.client.fixtures import describe_groups, list_groups, list_groups_error
from kafka.tools.client import Client
from kafka.tools.models.broker import Broker
from kafka.tools.models.group import Group, GroupMember
from kafka.tools.protocol.requests.l... | 2,400 |
839 | <reponame>kimjand/cxf
/**
* 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... | 28,287 |
1,444 | <gh_stars>1000+
package org.mage.test.cards.single.hou;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
public class ChampionOfWitsTest extends CardTestPlayerBase {
private final String champion = "Champion of Wits";
... | 466 |
14,668 | // 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/host/win/etw_trace_consumer.h"
#include <stdint.h>
#include <memory>
#include "base/logging.h"
#include "base/logging_win.h"
#includ... | 2,167 |
1,968 | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: <EMAIL>
//
///////////////////////////////////////... | 728 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Vireux-Wallerand","circ":"2ème circonscription","dpt":"Ardennes","inscrits":1332,"abs":693,"votants":639,"blancs":12,"nuls":6,"exp":621,"res":[{"nuance":"LR","nom":"<NAME>","voix":181},{"nuance":"REM","nom":"<NAME>","voix":134},{"nuance":"FN","nom":"M. <NAME>","voix":101... | 242 |
1,570 | //===- subzero/src/IceTimerTree.cpp - Pass timer defs ---------------------===//
//
// The Subzero Code Generator
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------... | 3,977 |
1,963 | /*
*******************************************************************************
* Copyright (c) 2020-2021, STMicroelectronics
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You... | 384 |
453 | // Copyright (c) the JPEG XL 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.
/// @addtogroup libjxl_decoder
/// @{
///
/// @file decode_cxx.h
/// @brief C++ header-only helper for @ref decode.h.
///
/// There's no binary l... | 618 |
956 | /* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2010-2014 Intel Corporation
*/
#ifndef _TB_MEM_H_
#define _TB_MEM_H_
/**
* @file
*
* RTE ACL temporary (build phase) memory management.
* Contains structures and functions to manage temporary (used by build only)
* memory. Memory allocated in large blocks... | 439 |
4,012 | /*
* Copyright (c) 2019-2021, NVIDIA 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 by applicable... | 3,167 |
605 | <filename>tests/tce/ttasim/host.cpp
/* Tests the ttasim device driver.
Copyright (c) 2012 <NAME> / Tampere University of Technology
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... | 3,792 |
679 | from maml_rl.metalearners.base import GradientBasedMetaLearner
from maml_rl.metalearners.maml_trpo import MAMLTRPO
__all__ = ['GradientBasedMetaLearner', 'MAMLTRPO']
| 62 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.