max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
14,668 | <filename>ios/web/public/test/fakes/fake_web_frame.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_WEB_PUBLIC_TEST_FAKES_FAKE_WEB_FRAME_H_
#define IOS_WEB_PUBLIC_TEST_FAKES_FAKE_WEB_FRAME_... | 971 |
301 | <gh_stars>100-1000
{
"config": {
"abort": {
"single_instance_allowed": "Slechts een enkele configuratie van Mail en pakketten is toegestaan."
},
"error": {
"communication": "Kan geen verbinding maken met of inloggen op de mailserver. Controleer het logboek voor detail... | 2,196 |
749 | /*
AUTHOR : <NAME> (angelo12 AT vt DOT edu)
PROJECT : Hybrid Rendering Engine
LICENSE : This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
DATE : 2018-10-04
*/
#include "debugUtils.h"
#include <cstdio>
#include <string>
//Determine what OpenGL error you are f... | 911 |
1,886 | <gh_stars>1000+
// [AsmJit]
// Machine Code Generation for C++.
//
// [License]
// Zlib - See LICENSE.md file in the package.
#include "./asmjit.h"
using namespace asmjit;
// ============================================================================
// [DumpCpu]
// =================================================... | 6,588 |
647 | #pragma message ( "checkpoint_map.hh has moved to trick/checkpoint_map.hh" )
#include "trick/checkpoint_map.hh"
| 41 |
575 | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/prefetch/prefetch_proxy/prefetch_proxy_proxy_configurator.h"
#include <memory>
#include "base/run_loop.h"
#include "base/test/m... | 4,046 |
6,992 | <filename>core/src/main/java/org/springframework/security/authorization/method/ExpressionAttributeAuthorizationDecision.java
/*
* 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.... | 417 |
335 | {
"word": "Rivet",
"definitions": [
"A short metal pin or bolt for holding together two plates of metal, its headless end being beaten out or pressed down when in place.",
"A device similar to a rivet for holding seams of clothing together."
],
"parts-of-speech": "Noun"
} | 104 |
1,189 | <reponame>gcatanese/opentelemetry-java-tmp
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.sdk.testing.time;
import io.opentelemetry.api.internal.GuardedBy;
import io.opentelemetry.sdk.common.Clock;
import java.time.Duration;
import java.time.Instant;
impo... | 620 |
5,169 | {
"name": "SwiftCircleProgressBar",
"version": "1.0",
"summary": "a circle progress bar control written in swift for ios development",
"description": "a circle progress bar control written in swift for ios development \nwritten by zoe.liu",
"homepage": "https://github.com/xdongliu123/SwiftCircleProgressBar",
... | 280 |
485 |
#include "luat_base.h"
int luat_socket_ntp_sync(const char* ntpServer);
int luat_socket_tsend(const char* hostname, int port, void* buff, int len);
int luat_socket_is_ready(void);
uint32_t luat_socket_selfip(void);
| 90 |
5,342 | <reponame>suryatmodulus/lepton
/**
# $FreeBSD$
# @(#)COPYRIGHT 8.2 (Berkeley) 3/21/94
The compilation of software known as the FreeBSD Ports Collection is
distributed under the following terms:
Copyright (C) 1994-2016 The FreeBSD Project. All rights reserved.
Redistribution and use in source and ... | 842 |
990 | '''
Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.
The update(i, val) function modifies nums by updating the element at index i to val.
Example:
Given nums = [1, 3, 5]
sumRange(0, 2) -> 9
update(1, 2)
sumRange(0, 2) -> 8
Note:
The array is only modifiable by t... | 1,216 |
1,682 | /*
Copyright (c) 2014 LinkedIn Corp.
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... | 334 |
1,086 | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follow... | 2,596 |
348 | {"nom":"Egliseneuve-près-Billom","circ":"5ème circonscription","dpt":"Puy-de-Dôme","inscrits":732,"abs":340,"votants":392,"blancs":7,"nuls":7,"exp":378,"res":[{"nuance":"COM","nom":"M. <NAME>","voix":262},{"nuance":"REM","nom":"<NAME>","voix":116}]} | 106 |
1,030 | package com.catchingnow.tinyclipboardmanager;
import android.content.Intent;
import android.os.Build;
import android.preference.PreferenceActivity;
import android.support.v4.content.LocalBroadcastManager;
import android.view.KeyEvent;
/**
* Created by heruoxin on 15/2/28.
*/
public class MyPreferenceActivity extend... | 523 |
2,757 | <filename>2020/quals/pwn-app-ads/app/ads-impl/src/main/java/com/ads/sdk/impl/webview/AdWebViewClient.java
// Copyright 2020 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
//
/... | 2,787 |
617 | /**
* Copyright 1999-2011 Alibaba Group
*
* 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... | 2,342 |
794 | package github.tornaco.android.nitro.framework.host.manager.data.source.local;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.room.Database;
import androidx.room.Room;
import androidx.room.RoomDatabase;
import androidx.room.TypeConverters;
import androidx.room.migration.Migration;... | 1,258 |
3,084 | //
// Copyright (C) Microsoft Corporation 2005
// IHV UI Extension sample
//
#include "precomp.h"
#include "ihvsample_i.c"
extern HINSTANCE g_hInst;
LPWSTR g_IHVAuthFriendlyName[] = {
L"IHVAuth V1",
L"IHVAuth V2",
L"IHVAuth V3"
};
LPWSTR g_IHVCipherFriendlyName[] = {
L"None",
... | 15,308 |
428 | <reponame>cping/LGame
package org.test.towerdefense;
import loon.action.sprite.painting.IGameComponent;
import loon.events.SysInput;
import loon.geom.Vector2f;
import loon.utils.timer.GameTime;
public class MonsterInfoScreen extends MenuScreen {
private java.util.ArrayList<AnimatedSprite> animatedSprites;
private ... | 878 |
348 | <filename>docs/data/leg-t2/080/08004259.json<gh_stars>100-1000
{"nom":"Dromesnil","circ":"4ème circonscription","dpt":"Somme","inscrits":87,"abs":28,"votants":59,"blancs":8,"nuls":1,"exp":50,"res":[{"nuance":"REM","nom":"<NAME>","voix":29},{"nuance":"FN","nom":"<NAME>","voix":21}]} | 118 |
868 | package com.sedmelluq.discord.lavaplayer.track.playback;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
/**
* A provider for audio frames
*/
public interface AudioFrameProvider {
/**
* @return Provided frame, or null if none available
*/
AudioFrame provide();
/**
... | 468 |
305 | //===-- ActivityStore.h -----------------------------------------*- C++ -*-===//
//
// 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 LLVM-exception
//
//===---------------------------... | 295 |
12,824 | <reponame>tanishiking/dotty<gh_stars>1000+
public class J {
@Override public void foo() { }
public void bar() { foo(); }
}
| 46 |
922 | # Copyright (c) 2021 - present / Neuralmagic, 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 b... | 2,810 |
892 | <gh_stars>100-1000
{
"schema_version": "1.2.0",
"id": "GHSA-qj5f-6rc3-vgfv",
"modified": "2022-03-30T00:01:02Z",
"published": "2022-03-24T00:00:19Z",
"aliases": [
"CVE-2021-27471"
],
"details": "The parsing mechanism that processes certain file types does not provide input sanitization for file paths.... | 561 |
1,269 | <gh_stars>1000+
package class_bytecode;
import java.io.Serializable;
@Deprecated
public class Client implements Serializable {
@Deprecated
private String username;
@Deprecated
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.us... | 193 |
772 | <gh_stars>100-1000
{
"startButton": "crwdns110214:0crwdne110214:0",
"filterOrgNames": "crwdns92060:0crwdne92060:0",
"filterOrgNamesAll": "crwdns92061:0crwdne92061:0",
"filterSortBy": "crwdns95803:0crwdne95803:0",
"filterSortByDisplayWeight": "crwdns95804:0crwdne95804:0",
"filterSortByPopularityRank": "crwdn... | 1,539 |
12,278 | <reponame>rajeev02101987/arangodb
/*=============================================================================
Copyright (c) 2017 <NAME>
sequence.cpp
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)
====... | 1,623 |
2,996 | <reponame>Elyahu41/Terasology
// Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.rendering.dag;
/**
* TODO: Add javadocs
*/
public interface RenderPipelineTask {
void process();
}
| 88 |
2,151 | <reponame>hustwei/libwebm
// Copyright (c) 2016 The WebM 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 in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS... | 1,662 |
1,473 | /*
* Copyright 2019 NAVER Corp.
*
* 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 w... | 839 |
993 | /**
* Copyright 2015 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... | 1,326 |
526 | from django.db import models
from coderedcms.widgets import ColorPickerWidget
from django.forms.widgets import Textarea
class ColorField(models.CharField):
def __init__(self, *args, **kwargs):
kwargs['max_length'] = 255
super().__init__(*args, **kwargs)
def formfield(self, **kwargs):
... | 281 |
310 | {
"name": "Kingdom Rush (iOS)",
"description": "A fantasy action game.",
"url": "https://itunes.apple.com/us/app/kingdom-rush/id489265199"
} | 55 |
1,338 | <reponame>Kirishikesan/haiku
#ifndef _MIDI_DEFS_H
#define _MIDI_DEFS_H
#include <OS.h>
#include <Errors.h>
//------------------------------------------------------------------------------
/* System time converted to int milliseconds */
#define B_NOW ((uint32)(system_time()/1000))
//-------------------------------... | 3,543 |
940 | <filename>jbake-core/src/main/java/org/jbake/parser/ErrorEngine.java
package org.jbake.parser;
import org.jbake.model.DocumentModel;
import java.util.Date;
/**
* An internal rendering engine used to notify the user that the markup format he used requires an engine that couldn't
* be loaded.
*
* @author <NAME>
*... | 382 |
575 | <filename>chrome/android/javatests/src/org/chromium/chrome/browser/omnibox/suggestions/VoiceSuggestionProviderTest.java
// Copyright 2015 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.
package org.chromium.chrome.browse... | 4,496 |
21,684 | <filename>src/repli_timestamp.cc
// Copyright 2010-2014 RethinkDB, all rights reserved.
#include <inttypes.h>
#include <algorithm>
#include "containers/archive/archive.hpp"
#include "containers/archive/versioned.hpp"
#include "containers/printf_buffer.hpp"
#include "repli_timestamp.hpp"
#include "utils.hpp"
template... | 513 |
3,680 | //
// Copyright 2021 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 1,227 |
559 | /**
* Copyright (c) 2014 Netflix, 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... | 1,179 |
542 | <reponame>js20166098/sxfStandard
/*
* Copyright ©2018 vbill.cn.
* <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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | 947 |
1,337 | /*
* Copyright (c) 2008-2016 Haulmont.
*
* 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... | 1,899 |
1,056 | <reponame>ses1112/adito-nb-modules
/*
* 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, V... | 3,527 |
1,863 | //
// 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 the following disclaimer.
// * Redistributions in bin... | 1,541 |
554 | package github.tornaco.xposedmoduletest.util;
import com.andrognito.patternlockview.PatternLockView;
import com.andrognito.patternlockview.listener.PatternLockViewListener;
import java.util.List;
/**
* Created by guohao4 on 2017/11/15.
* Email: <EMAIL>
*/
public class PatternLockViewListenerAdapter i... | 257 |
486 | {
"balanceHeld": {
"description": "Balance of the account held for transferring to other users (in cents) and then a bunch more text after that",
"type": "integer"
}
}
| 56 |
2,151 | <gh_stars>1000+
# Copyright 2016 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 applica... | 8,111 |
418 | /* copyright 2013 <NAME> and contributors (see LICENSE for licensing information) */
#ifndef DUNST_DUNST_H
#define DUNST_DUNST_H
#include <glib.h>
#include <stdbool.h>
#include <stdio.h>
#include "notification.h"
#define ColLast 3
#define ColFrame 2
#define ColFG 1
#define ColBG 0
extern GSList *rules;
extern cons... | 235 |
1,604 | package org.bouncycastle.crypto.engines;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.DataLengthException;
import org.bouncycastle.crypto.OutputLengthException;
import org.bouncycastle.crypto.StreamCipher;
import org.bouncycastle.crypto.params.KeyParameter;
import org.bouncycastle.cr... | 11,241 |
1,483 | <gh_stars>1000+
/*
* Copyright Lealone Database Group.
* Licensed under the Server Side Public License, v 1.
* Initial Developer: zhh
*/
package org.lealone.test.runmode;
import org.junit.Test;
public class ClientServerToReplicationTest extends RunModeTest {
public ClientServerToReplicationTest() {
s... | 420 |
348 | /**
* Copyright 2017 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... | 5,678 |
335 | {
"word": "Morbid",
"definitions": [
"Characterized by an abnormal and unhealthy interest in disturbing and unpleasant subjects, especially death and disease."
],
"parts-of-speech": "Adjective"
} | 72 |
669 | <reponame>sarvex/tensorflow-runtime
// Copyright 2020 The TensorFlow Runtime 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
... | 396 |
482 | package io.nutz.demo.feign.module;
import java.util.List;
import org.nutz.boot.starter.feign.annotation.FeignInject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.json.Json;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.nutz.mvc.adaptor.JsonAdaptor;
import org.nutz.mvc.annotation.Adap... | 841 |
2,151 | <reponame>zipated/src<gh_stars>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 "services/video_capture/texture_virtual_device_mojo_adapter.h"
#include "base/logging.h"
#include "base/mem... | 1,732 |
642 | /*
* Copyright 2016-2018 www.jeesuite.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 1,431 |
1,394 | <gh_stars>1000+
package com.fastaccess.permission.base.callback;
import android.support.annotation.NonNull;
public interface OnPermissionCallback {
void onPermissionGranted(@NonNull String[] permissionName);
void onPermissionDeclined(@NonNull String[] permissionName);
void onPermissionPreGranted(@NonNu... | 154 |
463 | package org.hive2hive.core.extras;
import java.io.File;
import java.security.PublicKey;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Future;
import org.hive2hive.core.api.interfaces.IFileConfiguration;
impo... | 3,128 |
604 | /*
* Serposcope - SEO rank checker https://serposcope.serphacker.com/
*
* Copyright (c) 2016 SERP Hacker
* @author <NAME> <<EMAIL>>
* @license https://opensource.org/licenses/MIT MIT License
*/
package com.serphacker.serposcope;
import java.util.Properties;
import org.junit.Assume;
import org.junit.Before;
p... | 175 |
2,060 | <reponame>oliverhu/level-ip
#include "syshead.h"
#include "tcp.h"
#include "tcp_data.h"
#include "skbuff.h"
#include "sock.h"
static int tcp_parse_opts(struct tcp_sock *tsk, struct tcphdr *th)
{
uint8_t *ptr = th->data;
uint8_t optlen = tcp_hlen(th) - 20;
struct tcp_opt_mss *opt_mss = NULL;
uint8_t sac... | 7,553 |
575 | // 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.
#include "chrome/browser/resource_coordinator/tab_metrics_logger.h"
#include <algorithm>
#include <string>
#include "base/check_op.h"
#include "base/con... | 3,881 |
684 | <filename>console/config/settings/local.py<gh_stars>100-1000
"""
Local settings
- Run in Debug mode
- Add Django Debug Toolbar
"""
from .base import * # noqa
# DEBUG
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#debug
DEBU... | 198 |
313 | <filename>test/function/224.c<gh_stars>100-1000
/*
TEST_HEADER
id = $Id$
summary = MVFF allocate large promise, make it small, repeat
language = c
link = testlib.o
harness = 2.5
parameters = PROMISE=65536 ITERATE=2000
END_HEADER
*/
#include "mpsavm.h"
#include "mpscmvff.h"
#include "testlib.h"
#define VMSIZE ... | 420 |
488 | ########################################################################
# Imports
########################################################################
import cPickle
import errno
import os
import qm.common
import qm.executable
import qm.fields
import qm.test.base
from qm.test.test import Test
from qm.test.res... | 4,953 |
306 | <gh_stars>100-1000
import math
import copy
import time
import torch
import torch.nn as nn
__all__ = [
'mix_images', 'mix_labels',
'label_smooth', 'cross_entropy_loss_with_soft_target', 'cross_entropy_with_label_smoothing',
'clean_num_batch_tracked', 'rm_bn_from_net',
'get_net_device', 'count_parameters... | 4,227 |
965 | class ATL_NO_VTABLE CConnect2 :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CConnect2, &CLSID_Connect2>,
public IConnectionPointContainerImpl<CConnect2>,
public IPropertyNotifySinkCP<CConnect2> | 78 |
601 | <reponame>yangzslife/austin
package com.java3y.austin.handler.domain.push.getui;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Set;
/**
* 推送消息的param
* @author 3y
* https://docs.getui.... | 1,134 |
464 | from __future__ import absolute_import
from mplleaflet._display import (
show,
display,
save_html,
fig_to_html,
fig_to_geojson,
)
| 64 |
538 | // Copyright 2014 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
package com.google.u2f.gaedemo.storage;
import com.google.gson.JsonArray;
import com.google.gson.... | 1,452 |
368 | <gh_stars>100-1000
{"systemKeyword.l":"System Type","systemKeyword.p":"Enter the System Type","systemKeyword.g":"Enter The Text"} | 40 |
6,436 | <reponame>gaocegege/openFrameworks<filename>examples/input_output/fileBufferLoadingCSVExample/src/MorseCodePlayer.h
/*
* MorseCodePlayer.h
*
* Created by <NAME> on 2/22/12.
*
*/
#include "ofMain.h"
struct MorseCodeSymbol {
string character;
string code;
};
class MorseCodePlayer {
public:
MorseCodePlayer()... | 193 |
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 <AppKit/NSImageCell.h>
@interface IDESourceControlAuthorImageCell : NSImageCell
{
}
- (id)accessibilityHitTest:(struct CGPoint)arg1;
- (BOOL)accessibilityIsIgnored;
- (void)... | 152 |
319 | /*
* Copyright (c) 2013 Qualcomm Atheros, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the
* disclaimer below) provided that the following conditions are met:
*
* * Redistributions of source code ... | 2,071 |
2,073 | /*
* 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... | 859 |
1,346 | <reponame>disrupted/Trakttv.bundle<filename>Trakttv.bundle/Contents/Libraries/Shared/plugin/core/ospathfix.py<gh_stars>1000+
import logging
import os
import sys
log = logging.getLogger(__name__)
def revert_fix(module, name):
original = getattr(module, '_' + name, None)
if not original:
return
se... | 213 |
1,488 | <reponame>stewartmcgown/react-native-device-info
//
// ActionViewController.h
// example-app-extension
//
// Created by <NAME> on 10/13/20.
//
#import <UIKit/UIKit.h>
@interface ActionViewController : UIViewController
- (void) done;
extern ActionViewController * actionViewController;
@end
| 105 |
3,459 | <gh_stars>1000+
// -*- C++ -*-
// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
// Copyright (C) 1999-2003 Forgotten
// Copyright (C) 2004 Forgotten and the VBA development team
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public L... | 18,324 |
1,754 | <gh_stars>1000+
/*
* Copyright 2017 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 requi... | 670 |
595 | /******************************************************************************
* Copyright (c) 2019 - 2021 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
#ifndef XPM_NPDOMAIN_H_
#define XPM_NPDOMAIN_H_
#include "xpm_b... | 519 |
415 | # Copyright 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 "LICENSE.txt" file accom... | 10,905 |
471 | import uuid
from django.test import TestCase
from corehq.apps.app_manager.tests.app_factory import AppFactory
from corehq.apps.reports.analytics.couchaccessors import (
SimpleFormInfo,
get_all_form_definitions_grouped_by_app_and_xmlns,
get_all_form_details,
get_form_details_for_app,
get_form_detai... | 2,691 |
324 | <reponame>tormath1/jclouds
/*
* 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
... | 1,114 |
677 | <reponame>InfiniteSynthesis/lynx-native<filename>Android/sdk/src/main/java/com/lynx/ui/anim/TimingFunction.java<gh_stars>100-1000
// Copyright 2017 The Lynx Authors. All rights reserved.
package com.lynx.ui.anim;
import android.support.v4.view.animation.PathInterpolatorCompat;
import android.view.animation.AccelerateD... | 1,303 |
1,745 | //************************************ bs::framework - Copyright 2018 <NAME> **************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#pragma once
#include "Prerequisites/BsTypes.h"
#include "String/BsString.h"... | 522 |
2,542 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Commo... | 960 |
384 | #include "hook.h"
#include <stddef.h>
#ifdef __ELF__
#include "elf_hook.h"
#include <dlfcn.h>
#ifdef __cplusplus
extern "C"
{
#endif
void* hook(const char* library_filename, const char* function_name, const void* substitution_address)
{
void *handle, *address;
if (NULL == library_filename)
return NU... | 327 |
768 | <gh_stars>100-1000
import matplotlib.pyplot as plt
import pandas as pd
from .legend_picker import *
from .helpers import *
def show_peripheral_access(metricsParser, options, twoPlotFigureSize, fontSize):
peripherals, peripheralEntries = metricsParser.get_peripheral_entries()
data = pd.DataFrame(peripheralEnt... | 790 |
3,976 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'jinyang'
from random import Random
def codeGenerator(number, codeLength = 8):
print '**** Code Generator ****'
codeFile = open('codes.txt', 'w')
if number <= 0:
return 'invalid number of codes'
else:
chars = 'abcdefghijklmnopg... | 311 |
8,027 | <filename>src/com/facebook/buck/core/graph/transformation/model/ComposedComputationIdentifier.java
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 ... | 2,081 |
1,909 | package org.knowm.xchange.independentreserve.dto.trade;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** Author: <NAME> Date: 4/15/15 */
public class IndependentReserveOpenOrdersResponse {
private final int pageSize;
private final long totalItems;
private final int totalPages;
... | 360 |
5,411 | #pragma once
#include <msgpack.hpp>
namespace fx
{
struct scrObject
{
const char* data;
uintptr_t length;
};
template<typename T>
inline scrObject SerializeObject(const T& object)
{
static msgpack::sbuffer buf;
buf.clear();
msgpack::packer<msgpack::sbuffer> packer(buf);
packer.pack(object);
scr... | 168 |
1,083 | <reponame>agxmaster/polarphp
//===--- PatternNodes.def - Swift Pattern AST Metaprogramming ---*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
... | 691 |
1,091 | /*
* Copyright 2019-present Open Networking Foundation
*
* 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 appli... | 1,527 |
3,401 | <reponame>cogitate3/stock
# -*- coding: utf-8 -*-
# @Time : 2021/4/2 18:08
# @File : TushareUtil.py
# @Author : Rocky <EMAIL>
import tushare as ts
import sys
sys.path.append('..')
from configure.settings import config
from datetime import datetime
import time
class TushareBaseUtil:
'''
tushare 常用调用
'''
... | 784 |
392 | <reponame>Da-Krause/settlers-remake
/*******************************************************************************
* Copyright (c) 2015 - 2017
*
* 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... | 851 |
1,256 | <filename>plugins/common/CRT/free.cpp<gh_stars>1000+
#include "crt.hpp"
#pragma warning (disable : 4005)
#include <windows.h>
void __cdecl free(void *block)
{
if (block)
HeapFree(GetProcessHeap(),0,block);
}
| 90 |
14,668 | // 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 "chromecast/device/bluetooth/le/scan_filter.h"
#include "base/containers/contains.h"
#include "chromecast/device/bluetooth/bluetooth_util.h"
#in... | 510 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.