max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
5,169 | {
"name": "CodeStore",
"version": "0.0.1",
"summary": "Convenient iOS Code collections.",
"description": "Convenient iOS Code Collections For self use.",
"homepage": "https://github.com/onewh/CodeStore",
"license": "MIT",
"authors": {
"王浩": "<EMAIL>"
},
"platforms": {
"ios": "10.0"
},
"sou... | 207 |
5,169 | {
"name": "CISSO",
"version": "1.0.5",
"summary": "just for third party login",
"description": "just for third party login first test",
"homepage": "https://github.com/CI-MobileTeam/SSO-iOS-Swift",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"<NAME>": "<EMAIL>"
},
"plat... | 476 |
421 | <reponame>CrackerCat/xnuspy<gh_stars>100-1000
#include <errno.h>
#include <fcntl.h>
#include <mach-o/loader.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
static void usage(void){
printf("Usage:\n"
" -a <name> Create... | 2,714 |
5,169 | <filename>Specs/0/6/6/TuyaCloudStorageDebugger/3.31.5.1/TuyaCloudStorageDebugger.podspec.json
{
"name": "TuyaCloudStorageDebugger",
"version": "3.31.5.1",
"summary": "Debug tool for Tuya camera cloud storage.",
"description": "TODO: Add long description of the pod here.",
"homepage": "https://tuya.com",
"li... | 478 |
335 | <gh_stars>100-1000
{
"word": "Ankle",
"definitions": [
"The joint connecting the foot with the leg.",
"The narrow part of the leg between the ankle joint and the calf."
],
"parts-of-speech": "Noun"
} | 94 |
1,176 | // Copyright (c) 2014 <NAME>. All rights reserved.
// Copyright (c) 2013 GitHub, Inc.
// See the LICENSE file.
#ifndef THRUST_SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_
#define THRUST_SHELL_BROWSER_UI_ACCELERATOR_UTIL_H_
#include <map>
#include <string>
#include "ui/base/accelerators/accelerator.h"
namespace ui {
class M... | 424 |
1,577 | # Copyright 2018 DeepMind Technologies 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 required by applicable law or ag... | 2,843 |
1,436 | //
// NIMSessionFileTransContentView.h
// NIM
//
// Created by chris on 15/4/21.
// Copyright (c) 2015年 Netease. All rights reserved.
//
#import "NIMSessionMessageContentView.h"
@interface NIMSessionFileTransContentView : NIMSessionMessageContentView
@property (nonatomic,strong,readonly) UIImageView *imageView;
... | 111 |
318 | #ifndef PARSING2_HXX
#define PARSING2_HXX
#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <typeinfo>
#include <set>
#include <cstdlib>
#include <iostream>
#include "argument_holder.hxx"
#include "string_utilities.hxx"
#include "enableif.hxx"
#include "argument.hxx"
#include "restri... | 3,866 |
1,240 | package com.eventyay.organizer.data.event;
import androidx.annotation.NonNull;
import com.eventyay.organizer.common.Constants;
import com.eventyay.organizer.data.Repository;
import com.eventyay.organizer.data.auth.AuthHolder;
import com.eventyay.organizer.data.image.ImageData;
import com.eventyay.organizer.data.image... | 2,152 |
1,682 | <filename>restli-server/src/test/java/com/linkedin/restli/server/validation/MockValidationErrorHandler.java
/*
Copyright (c) 2019 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 Lice... | 891 |
518 | import pytest
from collections import OrderedDict
from RPA.core import types
dicts = (
(dict(), True),
(dict(key="value"), True),
(OrderedDict(), True),
(OrderedDict(key="value"), True),
(list(), False),
(list("value"), False),
(object(), False),
)
@pytest.mark.parametrize("obj,result", ... | 158 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"<NAME>","dpt":"Haute-Saône","inscrits":37,"abs":5,"votants":32,"blancs":0,"nuls":0,"exp":32,"res":[{"panneau":"2","voix":24},{"panneau":"1","voix":8}]} | 90 |
1,093 | <reponame>pdk27/kayenta<filename>kayenta-influxdb/src/main/java/com/netflix/kayenta/influxdb/config/InfluxDbConfiguration.java
/*
* Copyright 2018 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 1,449 |
335 | {
"word": "Zettabyte",
"definitions": [
"A unit of information equal to one sextillion (10\u00b2\u00b9) or, strictly, 2\u2077\u2070 bytes."
],
"parts-of-speech": "Noun"
} | 91 |
1,052 | <filename>output/outlib.c
/* ----------------------------------------------------------------------- *
*
* Copyright 1996-2020 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
* Redistribution and use in source and bi... | 3,881 |
2,705 | <reponame>odidev/fonttools<gh_stars>1000+
from fontTools.misc.testTools import FakeFont, getXML, parseXML
from fontTools.misc.textTools import deHexStr, hexStr
from fontTools.ttLib import newTable
import unittest
# Apple's spec of the baseline table gives no example for 'bsln' format 0,
# but the Apple Chancery font ... | 5,788 |
708 | <reponame>madmachineio/DAPLink<filename>source/target/st/stm32f746zg/flash_blob.c
/* Flash OS Routines (Automagically Generated)
* Copyright (c) 2009-2015 ARM 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 obt... | 1,303 |
369 | // Copyright (c) 2017-2021, Mudita <NAME>.<EMAIL>. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "PowerOffPresenter.hpp"
#include <service-appmgr/messages/UserPowerDownRequest.hpp>
#include <system/Constants.hpp>
namespace gui
{
PowerOffPresenter::PowerOffPresen... | 242 |
523 | <reponame>JuanluMorales/cnl
// Copyright <NAME> 2021.
// 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)
#if !defined(CNL_INTEGER_H)
#define CNL_INTEGER_H
#include "_impl/type_traits/is_in... | 281 |
2,151 | <gh_stars>1000+
// 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_VIEWS_MEDIA_ROUTER_PRESENTATION_RECEIVER_WINDOW_FRAME_H_
#define CHROME_BROWSER_UI_VIEWS_MEDIA_ROUTER_PRESENTATI... | 456 |
344 | <filename>archai/algos/gumbelsoftmax/gs_model_desc_builder.py<gh_stars>100-1000
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from typing import Iterable, Sequence, Tuple, List, Set, Optional
import copy
from overrides import overrides
from archai.common.common import get_conf
from archai.... | 1,101 |
454 | package com.scwang.smart.refresh.horizontal.demo.widget;
import android.content.Context;
import android.support.annotation.NonNull;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.scwang.smart.refresh.horizontal.HorizontalFooter;
... | 1,262 |
319 | /*
* Copyright (c) 2011 GitHub 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 without restriction, including without limitation the
* rights to use, copy, modify, merge, publish... | 1,589 |
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... | 5,672 |
30,023 | <reponame>MrDelik/core
"""Test basic initialization for the Legacy Nest API using mocks for the Nest python library."""
from unittest.mock import MagicMock, PropertyMock, patch
import pytest
from .common import TEST_CONFIG_LEGACY
DOMAIN = "nest"
@pytest.fixture
def nest_test_config():
"""Fixture to specify th... | 953 |
310 | /*
* Copyright (c) 2021, <NAME>, <EMAIL>
* All rights reserved.
*
* Licensed under: MIT License
* See LICENSE.TXT included with this code to read the full license agreement.
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ... | 3,334 |
505 | package de.rieckpil.blog;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
import org.glassfish.jersey.server.ResourceConfig;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
@ApplicationPath("resources")
public class JAXRSConfiguration extends ResourceConfig {
public JAXRSConf... | 131 |
807 | public class test {
public static void main(String[] args) {
System.out.println("error 35");
System.exit(35);
}
} | 56 |
879 | <filename>identity/src/main/java/org/zstack/identity/PasswordUpdateExtensionPoint.java
package org.zstack.identity;
public interface PasswordUpdateExtensionPoint {
void preUpdatePassword(String accountUuid, String currentPassword, String newPassword);
void afterUpdatePassword(String accountUuid, String passwo... | 89 |
704 | <gh_stars>100-1000
/*
* Copyright 2013 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 requ... | 1,433 |
1,443 | <filename>users/matt-deacalion.json
{
"copyright": "<NAME>",
"url": "http://dirtymonkey.co.uk",
"email": "<EMAIL>"
}
| 52 |
456 | {
"index_name": "casthub",
"start_urls": ["https://casthub.app/docs/"],
"stop_urls": [],
"selectors": {
"lvl0": {
"selector": "aside > ul > li.docs-sidebar-category--active > p",
"default_value": "Documentation"
},
"lvl1": "article.docs-page h1",
"lvl2": "article.docs-page h2",
"... | 323 |
2,151 | /*
* Bluetooth low-complexity, subband codec (SBC)
*
* Copyright (C) 2017 <NAME> <<EMAIL>>
* Copyright (C) 2008-2010 Nokia Corporation
* Copyright (C) 2004-2010 <NAME> <<EMAIL>>
* Copyright (C) 2004-2005 <NAME> <<EMAIL>>
* Copyright (C) 2005-2006 <NAME> <<EMAIL>>
*
* This file is part of FFmpeg.
*
* FFm... | 604 |
737 | from flask_restful import Resource
from lyrebird.mock import context
from lyrebird import application
class ConflictCheck(Resource):
def get(self, group_id):
result = context.application.data_manager.check_conflict(group_id)
return application.make_ok_response(data=result)
class ActivatedDataCo... | 163 |
1,234 | package org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters;
import org.benf.cfr.reader.bytecode.analysis.loc.BytecodeLoc;
import org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement;
import org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.matchutil.EmptyMatchResultCollector;
import o... | 5,896 |
965 | // Class1.cpp
#include "pch.h"
#include "Class1.h"
#include <string>
using namespace ExceptionTest;
using namespace Platform;
using namespace Windows::Storage;
using namespace concurrency;
Class1::Class1()
{
}
//<snippet01>
String^ Class1::MyMethod(String^ argument)
{
if (argument->Length... | 728 |
1,083 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 3,504 |
553 | <gh_stars>100-1000
package org.cocos2dx.lib;
import android.content.Context;
import android.view.KeyEvent;
import android.view.MotionEvent;
public interface GameControllerDelegate {
static final int KEY_BASE = 1000;
public static final int THUMBSTICK_LEFT_X = KEY_BASE;
public static final int THUMBSTICK_LEFT... | 813 |
7,782 | <filename>static/ppdet/modeling/architectures/faster_rcnn.py
# 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... | 4,910 |
761 | /**
@author <NAME>
@brief
@details
@copyright Copyright 2013 <NAME>
@license 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
@par
Unless required... | 83,770 |
726 | package com.yuyh.sprintnba.ui.Interactor.impl;
import com.yuyh.sprintnba.ui.Interactor.NBANewsDetailInteractor;
import com.yuyh.sprintnba.http.api.tencent.TencentService;
import com.yuyh.sprintnba.http.bean.news.NewsDetail;
import com.yuyh.sprintnba.http.api.RequestCallback;
import com.yuyh.sprintnba.app.Constant;
/*... | 247 |
1,068 | #include <Windows.h>
#include "Emulator.h"
Emulator emu;
//Debugger basics
__declspec(dllexport) void* TITCALL InitDebugW(const wchar_t* szFileName, const wchar_t* szCommandLine, const wchar_t* szCurrentFolder)
{
return emu.InitDebugW(szFileName, szCommandLine, szCurrentFolder);
}
__declspec(dllexport... | 4,069 |
2,389 | package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.Nested;
import java.util.ArrayList;
import java.lang.String;
import java.util.LinkedHashMap;
import java.util.function.Predicate;
import java.lang.Deprecated;
import io.kubernetes.client.fluent.BaseFluent;
import java.util.List;
import jav... | 4,800 |
376 | # Copyright (c) OpenMMLab. All rights reserved.
from mmcls.models.builder import * # noqa: F401,F403
from .backbones import * # noqa: F401,F403
from .classifiers import * # noqa: F401,F403
from .heads import * # noqa: F401,F403
from .losses import * # noqa: F401,F403
from .utils import * # noqa: F401,F403
__all... | 127 |
7,499 | <filename>external/glfw-3.1.2/src/mir_init.c<gh_stars>1000+
//========================================================================
// GLFW 3.1 Mir - www.glfw.org
//------------------------------------------------------------------------
// Copyright (c) 2014-2015 <NAME> <<EMAIL>>
//
// This software is provided 'as... | 1,199 |
1,374 | package source.overload.visitor;
public class A2 {
}
| 20 |
1,603 | <gh_stars>1000+
package com.linkedin.metadata.models.registry.config;
import java.util.List;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Value;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@Value
@NoArgsConstructor(force = true, access... | 170 |
348 | <filename>docs/data/leg-t2/023/02301060.json
{"nom":"Chavanat","circ":"1ère circonscription","dpt":"Creuse","inscrits":113,"abs":56,"votants":57,"blancs":12,"nuls":6,"exp":39,"res":[{"nuance":"REM","nom":"<NAME>","voix":29},{"nuance":"LR","nom":"<NAME>","voix":10}]} | 107 |
3,428 | {"id":"01276","group":"easy-ham-1","checksum":{"type":"MD5","value":"ae29d5365a747f3c249768ba47e73b52"},"text":"From <EMAIL> Mon Oct 7 18:54:52 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>.spamassassin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id 07444... | 1,783 |
516 | # Import standard library modules
# Import installed modules
from flask_jwt_extended import JWTManager
# Import app code
from ..main import app
from app.db.utils import get_user
from app.db.flask_session import db_session
# Setup the Flask-JWT-Extended extension
jwt = JWTManager(app)
@jwt.user_loader_callback_load... | 125 |
360 | /*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ... | 1,059 |
2,805 | # encoding: utf-8
"""030 Additional user_attributes
Revision ID: <KEY>
Revises: <PASSWORD>
Create Date: 2018-09-04 18:48:59.340276
"""
from alembic import op
import sqlalchemy as sa
from ckan.migration import skip_based_on_legacy_engine_version
# revision identifiers, used by Alembic.
revision = '<KEY>'
down_revision... | 343 |
2,703 | <reponame>willist/django-material
from django.db import models
from django.template import Library, TemplateSyntaxError
from ..urlconf import frontend_url
register = Library()
@register.filter
def frontend_urlname(model, url_type):
"""
Retrieve URL for a model.
Suitable for use with {% url %} template... | 571 |
2,023 | <gh_stars>1000+
class compare(object):
def __init__(self, function):
self.function = function
def __eq__(self, other):
def c(l, r): return l == r
return comparator(self.function, c, other)
def __ne__(self, other):
def c(l, r): return l != r
return comparator(self.fu... | 481 |
1,467 | <gh_stars>1000+
/**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef QUERY_PERMISSION_FIXTURE_HPP_
#define QUERY_PERMISSION_FIXTURE_HPP_
#include "framework/integration_framework/integration_test_framework.hpp"
#include "integration/acceptance/acceptance_fixture... | 297 |
16,483 | /*
* Copyright 1999-2019 Seata.io 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 l... | 315 |
480 | /*
* Copyright [2013-2021], 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 required by app... | 995 |
675 | /*
* Copyright 2017 The Bazel 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/LICENSE-2.0
*
* Unless required by a... | 625 |
722 | <filename>compute/tensor/src/cpu/general/normalization.cpp
// Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without r... | 1,254 |
852 | <gh_stars>100-1000
#include "__class__.h"
// __class__ ctor
__class__::__class__()
{
}
// __class__ dtor
__class__::~__class__()
{
}
// __class__ copy assignment
const __class__&
__class__::operator=(const __class__& rhs)
{
// Check for self-assignment.
if (this == &rhs) {
return *this;
}
// ... | 197 |
879 | <filename>core/src/main/java/org/zstack/core/config/GlobalConfigBeforeUpdateExtensionPoint.java
package org.zstack.core.config;
/**
* Created by kayo on 2018/9/13.
*/
public interface GlobalConfigBeforeUpdateExtensionPoint {
void beforeUpdateExtensionPoint(GlobalConfig oldConfig, String newValue);
}
| 92 |
2,151 | /*
* Copyright (c) 2016 The WebRTC 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. All contribut... | 417 |
677 | // Copyright 2017 The Lynx Authors. All rights reserved.
#include "render/cell_view.h"
#include "render/render_object_type.h"
namespace lynx {
CellView::CellView(jscore::ThreadManager* manager, RenderTreeHost* host)
: View("cell",
LYNX_CELLVIEW,
1,
RenderObjectImpl::Create(manage... | 377 |
635 | <filename>fastHan/__init__.py<gh_stars>100-1000
__all__ = [
"Token",
"Sentence",
"FastHan",
]
from .FastModel import FastHan,Sentence,Token | 64 |
995 | <gh_stars>100-1000
//////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright <NAME> 2015-2016.
// 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)
//
// See http://www.... | 1,818 |
2,617 | <gh_stars>1000+
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------------
# Copyright (c) 2014, <NAME>. All rights reserved.
# Distributed under the terms of the new BSD License.
# -----------------------------------------------------------------------------
from . group i... | 432 |
6,992 | <gh_stars>1000+
/*
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | 860 |
505 | package de.rieckpil.blog;
import org.junit.ClassRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.util.TestPropertyValues;
import org.springframework.context.ApplicationContextInitialize... | 558 |
825 | <filename>android/hummer-sdk/src/main/java/com/didi/hummer/module/notifycenter/NotifyCallback.java
package com.didi.hummer.module.notifycenter;
import android.content.Context;
import com.didi.hummer.core.engine.base.ICallback;
/**
* 用于Native向JS注册消息的回调
*
* Created by XiaoFeng on 2019-10-08.
*/
public abstract cla... | 470 |
831 | /*
* Copyright (C) 2020 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... | 2,943 |
403 |
#pragma once
#include <nan.h>
#include <node.h>
#include <girepository.h>
#include <glib.h>
using v8::Local;
using v8::Object;
namespace GNodeJS {
namespace System {
Local<Object> GetModule();
};
};
| 88 |
2,508 | <filename>ext/stub/constantsinterfacea.zep.c<gh_stars>1000+
#ifdef HAVE_CONFIG_H
#include "../ext_config.h"
#endif
#include <php.h>
#include "../php_ext.h"
#include "../ext.h"
#include <Zend/zend_operators.h>
#include <Zend/zend_exceptions.h>
#include <Zend/zend_interfaces.h>
#include "kernel/main.h"
#include "kern... | 540 |
4,224 | /****************************************************************************
*
* Copyright (c) 2012-2022 PX4 Development Team. 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. Red... | 1,680 |
516 | <gh_stars>100-1000
package com.dubreuia.integration;
public class Class {
private final String canAddFinal1 = "";
private String cannotAddFinal1 = "";
private final String canAddFinal2 = "";
private String cannotAddFinal2 = "";
public void someMethod() {
cannotAddFinal1 = "";
can... | 130 |
1,025 | //=============================================================
// Copyright (c) 2013 Advanced Micro Devices, Inc.
//=============================================================
#ifndef __VINTRPINSTRUCTION_H
#define __VINTRPINSTRUCTION_H
#include "Instruction.h"
/// Interpolate data for the pixel shader.
/// Opcode ... | 1,471 |
348 | {"nom":"Bompas","circ":"1ère circonscription","dpt":"Ariège","inscrits":158,"abs":76,"votants":82,"blancs":3,"nuls":1,"exp":78,"res":[{"nuance":"FI","nom":"<NAME>","voix":40},{"nuance":"REM","nom":"M. <NAME>","voix":38}]} | 90 |
360 | /*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ... | 1,172 |
485 | package io.indexr.segment.index;
import java.io.IOException;
import java.nio.ByteBuffer;
import io.indexr.io.ByteBufferWriter;
import io.indexr.io.ByteSlice;
import io.indexr.segment.ColumnType;
import io.indexr.segment.PackRSIndex;
import io.indexr.segment.PackRSIndexNum;
import io.indexr.segment.RSIndex;
import io.... | 5,935 |
927 | <filename>constraintlayout/core/src/main/java/androidx/constraintlayout/core/parser/CLArray.java
/*
* Copyright (C) 2021 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 ... | 726 |
6,340 | __package__ = 'archivebox.core'
import uuid
import json
from pathlib import Path
from typing import Optional, List
from django.db import models
from django.utils.functional import cached_property
from django.utils.text import slugify
from django.core.cache import cache
from django.urls import reverse
from django.db... | 4,019 |
335 | <gh_stars>100-1000
{
"word": "Poignant",
"definitions": [
"Evoking a keen sense of sadness or regret.",
"Sharp or pungent in taste or smell."
],
"parts-of-speech": "Adjective"
} | 91 |
1,422 | /*
* Copyright (C) 2016 The Flogger Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 308 |
12,063 | #pragma once
#include <ATen/ATen.h>
#include "../macros.h"
namespace vision {
namespace ops {
VISION_API at::Tensor _interpolate_bilinear2d_aa(
const at::Tensor& input,
at::IntArrayRef output_size,
bool align_corners = false);
VISION_API at::Tensor _interpolate_bicubic2d_aa(
const at::Tensor& input,... | 337 |
526 | <filename>open-metadata-implementation/access-services/data-engine/data-engine-api/src/main/java/org/odpi/openmetadata/accessservices/dataengine/model/CSVFile.java
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.dataengine.m... | 558 |
711 | <gh_stars>100-1000
package com.java110.job.smo;
import com.java110.utils.constant.RuleDomain;
import com.java110.utils.util.DateUtil;
import com.java110.utils.util.StringUtil;
import com.java110.job.dao.IHcFtpFileDAO;
import com.java110.job.model.FtpTaskLog;
import com.java110.job.model.FtpTaskLogDetail;
import org.ap... | 8,457 |
500 | <gh_stars>100-1000
/*
* Copyright 2017 The Native Object Protocols 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
*
* Unl... | 2,759 |
823 | <reponame>risicle/clickhouse-driver<filename>clickhouse_driver/reader.py
from struct import Struct
from .varint import read_varint
def read_binary_str(buf):
length = read_varint(buf)
return read_binary_str_fixed_len(buf, length)
def read_binary_bytes(buf):
length = read_varint(buf)
return read_bina... | 558 |
2,123 | require_extension('C');
WRITE_RVC_RS2S(MMU.load_int32(RVC_RS1S + insn.rvc_lw_imm()));
| 46 |
3,102 | <gh_stars>1000+
// RUN: %clang_cc1 -fsyntax-only -verify %s
typedef double vector4double __attribute__((__vector_size__(32)));
typedef float vector8float __attribute__((__vector_size__(32)));
vector8float foo1(vector4double x) {
return __builtin_convertvector(x, vector8float); // expected-error {{same number of ... | 201 |
362 | // Copyright (c) 2018-2020, <NAME>. For more information see 'LICENSE'
#pragma once
#include "framegraph/Public/FrameGraph.h"
#include "VResourceManager.h"
#include "VDevice.h"
#include "VCmdBatch.h"
#include "VDebugger.h"
#include "stl/ThreadSafe/LfIndexedPool.h"
namespace FG
{
//
// Vulkan Frame Graph instance... | 4,222 |
1,144 | package de.metas.device.scales.endpoint;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.text.DecimalFormat;
import java.util.Random;
/*
* #%L
* de.metas.device.scales
* %%
* Copyright (C) 2015 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it u... | 1,450 |
2,071 | <reponame>Kabimon/DataSphereStudio<gh_stars>1000+
/*
* Copyright 2019 WeBank
* 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,702 |
984 | <reponame>om-sharma/java-driver
/*
* 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 ap... | 607 |
971 | <gh_stars>100-1000
#include "execution/compiler/operator/cte_scan_translator.h"
#include "execution/compiler/codegen.h"
#include "execution/compiler/compilation_context.h"
#include "execution/compiler/function_builder.h"
#include "execution/compiler/if.h"
#include "execution/compiler/loop.h"
#include "execution/compil... | 386 |
8,747 | <gh_stars>1000+
from __future__ import unicode_literals
import re
import time
import ttfw_idf
from tiny_test_fw import Utility
@ttfw_idf.idf_example_test(env_tag='Example_GENERIC', target=['esp32'])
def test_examples_ulp(env, extra_data):
dut = env.get_dut('ulp', 'examples/system/ulp_fsm/ulp')
dut.start_ap... | 818 |
347 | <reponame>Mu-L/brcc<filename>brcc-core/src/main/java/com/baidu/brcc/utils/LogUtils.java
package com.baidu.brcc.utils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.servlet.HandlerMapping;
import javax.servlet.ServletRequest;
import javax.servlet.http.HttpServletRequest;
public class Log... | 270 |
582 | <filename>com.archimatetool.editor/src/com/archimatetool/editor/views/tree/actions/SaveModelAction.java
/**
* This program and the accompanying materials
* are made available under the terms of the License
* which accompanies this distribution in the file LICENSE.txt
*/
package com.archimatetool.editor.views.t... | 774 |
1,089 | package org.zalando.logbook;
import java.util.Map;
import java.util.stream.Collectors;
public class SplunkHttpLogFormatter implements StructuredHttpLogFormatter {
@Override
public String format(final Map<String, Object> content) {
return content.entrySet().stream()
.map(entry -> Strin... | 165 |
5,169 | <filename>Specs/2/c/b/HitPay-iOS-SDK/0.1.0/HitPay-iOS-SDK.podspec.json
{
"name": "HitPay-iOS-SDK",
"version": "0.1.0",
"summary": "HitPay-iOS-SDK.",
"description": "TODO: Add long description of the pod here.",
"homepage": "https://github.com/hit-pay/ios-sdk-example",
"license": {
"type": "MIT",
"fi... | 365 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.