seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
rm ./llvm.sh
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cnt += 1
if cnt > 1:
return False
if i - 2 >= 0 and nums[i - 2] > nums[i]:
nums[i] = nums[i - 1]
else:
nums[i - 1] = nums[i]
return True
| ise-uiuc/Magicoder-OSS-Instruct-75K |
elif num > 0:
print(num, "is positive.")
elif num == 0:
print(num, "is zero.")
num = int(input("Enter an integer: "))
evaluate(num)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from synapse.util.caches.dictionary_cache import DictionaryCache
logger = logging.getLogger(__name__)
MAX_STATE_DELTA_HOPS = 100
class _GetStateGroupDelta(
namedtuple("_GetStateGroupDelta", ("prev_group", "delta_ids"))
):
"""Return type of get_state_group_delta that implements __len__, which lets
us use the itrable flag when caching
| ise-uiuc/Magicoder-OSS-Instruct-75K |
set['name'] = sets.find(
'div', {"class": "name"}).contents[0].replace('\n ', '')
set['emoji'] = sets.find('span', {"class": "emoji"}).string
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const port: string | number = process.env.PORT || 50051;
const wsURL: string = process.env.RippleAPIURL || 'wss://s.altnet.rippletest.net:51233';
type StartServerType = () => void;
export const startServer: StartServerType = (): void => {
// Note: if it run as offline mode, run without parameter. `new RippleAPI();`
// https://xrpl.org/rippleapi-reference.html#offline-functionality
const rippleAPI = new ripple.RippleAPI({server: wsURL});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @class dynamic_global_property_object
* @brief Maintains global state information
* @ingroup object
* @ingroup implementation
*
| ise-uiuc/Magicoder-OSS-Instruct-75K |
function yp_ci_env_sourcehut() {
[[ "${CI_NAME:-}" = "sourcehut" ]] || return 0
# TODO sourcehut hasn't been fully tested. narrowing the scope
[[ "${BUILD_REASON}" =~ ^github ]] # only github webhooks
[[ "${GITHUB_EVENT}" = "push" ]] || [[ "${GITHUB_EVENT}" = "pull_request" ]] # only commits and pull requests
[[ ${GITHUB_REF} =~ ^refs/heads/ ]] || [[ ${GITHUB_REF} =~ ^refs/pull/ ]] # only branches and pull requests
export CI=true # missing
YP_CI_NAME=sourcehut
YP_CI_PLATFORM=sourcehut
YP_CI_SERVERT_HOST=sourcehut.org
YP_CI_REPO_SLUG=${GITHUB_BASE_REPO:-${GITHUB_REPO:-}}
YP_CI_ROOT=${HOME}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# user configuration.
with pwncat.manager.Manager(config=None) as manager:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# @Author : <NAME>
# @Site :
# @File : example55.py
# @Software: PyCharm
"""
题目:学习使用按位取反~。
程序分析:~0=1; ~1=0;
(1)先使a右移4位。
(2)设置一个低4位全为1,其余全为0的数。可用~(~0<<4)
(3)将上面二者进行&运算。
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Copyright (c) 2017 #
#############################################################################################
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Args:
json_data (dict) JSON formatted dict to encode.
Returns:
(any)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# DC domainComponent (0.9.2342.19200300.100.1.25)
# UID userId (0.9.2342.19200300.100.1.1)
# Certificate : .crt or .cer X509v3 type.
cd /opt and mkdir -p certs
openssl req -newkey rsa:4096 -nodes -sha256 -keyout \
./certs/registry.key -x509 -days 365 -out ./certs/registry.crt \
-subj "/E=<EMAIL>/C=CA/ST=QC/L=Montreal/O=Garcia-Inc/OU=dev-team/CN=${master_ip}"
openssl x509 -in certs/registry.crt -noout -text
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import {io} from '../http';
interface ICientFirstConnectedData {
desciption: String;
email: String;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@suite(timeout(2000))
class UnitTest {
@test 'log-watcher'() {
assert(true);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// return UIImage(named: "your visa icon")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
int i=0,j=tree.size()-1;
while (i<j){
if (tree[i]+tree[j]<k){
i++;
}else if (tree[i]+tree[j]>k){
j--;
}else {
return true;
}
}
return false;
}
vector<int> tree;
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>lattedb/project/formfac/migrations/0009_auto_20200528_0907.py
# Generated by Django 3.0.6 on 2020-05-28 09:07
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('project_formfac', '0008_auto_20200408_0823'),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub mod start;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'st_preview.preview_utils',
'st_preview.preview_threading'
]
EXPORT_MODULES += [
'st_preview.preview_math',
'st_preview.preview_image'
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
self._list_insert(
self.underlying.setdefault(path[0], []), path[1:], value
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
s[i-1] = s[i];
}
s[i-1] = s[i];
remove_character_recursive(s, t);
}
}
int main() {
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
char input[100], target;
cin >> input >> target;
remove_character_recursive(input, target);
cout << input << endl;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Compute Hessian matrix
for a function f wrt parameters in varlist
which may be given as a sequence or a row/column vector.
A list of constraints may optionally be given.
References: https://en.wikipedia.org/wiki/Hessian_matrix
http://people.duke.edu/~ccc14/sta-663-2016/12_MultivariateOptimizationAlgorithms.html
https://www.youtube.com/watch?v=tWh1S8oCglA
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mv "quieter.$extension" "$1"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'example_css': (
'css/examples/main.css',
),
'example_mobile_css': (
'css/examples/mobile.css',
),
'bootstrap': (
'bootstrap/css/bootstrap.css',
'bootstrap/css/bootstrap-responsive.css',
)
},
'js': {
'base': (
'js/libs/jquery-1.7.1.min.js',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using NUnit.Framework;
namespace MalikP.IVAO.Library.Test.Models
{
[Category(Categories.ModelGeneralData)]
public class GeneralDataModelTest : ModelAbstractTest
| ise-uiuc/Magicoder-OSS-Instruct-75K |
out = temp
return out
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from roamPy.roamClass import Roam | ise-uiuc/Magicoder-OSS-Instruct-75K |
let start = pagination.currentPage - this.PAGINATION_OFFSET;
let diff = 0;
if (start < 1) {
diff = Math.abs(start) + 1;
start = 1;
}
let end = (start === 1
? pagination.currentPage + this.PAGINATION_OFFSET + diff
: pagination.currentPage + this.PAGINATION_OFFSET);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
break
video.release()
cv2.destroyAllWindows()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
use HasFactory;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
weight = input("How much do you weigh? ")
# print the f-string with the age, height and weight
print(f"So you're {age} old. {height} tall and {weight} heavy.") | ise-uiuc/Magicoder-OSS-Instruct-75K |
// Created by Ivan Manov on 26.12.2019.
// Copyright © 2019 kxpone. All rights reserved.
//
import Foundation
extension Set {
var array: [Element] {
return Array(self)
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
where to find the `_load_jupyter_server_extension` function.
"""
return [
{
"module": "jupytexpr"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
case .integer, .number, .string, .boolean:
isPrimitive = true
default:
isPrimitive = false
}
return isPrimitive ? "true" : ""
}
static func isType(value: Any?, arguments: [Any?]) throws -> Any? {
let metadata: Metadata
if let either = value as? Either<Schema, Structure<Schema>> {
metadata = either.structure.metadata
} else if let value = value as? Schema {
metadata = value.metadata
| ise-uiuc/Magicoder-OSS-Instruct-75K |
lastException = e;
callbackContext.error(ImageEditorError.UNEXPECTED_ERROR);
return false;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let options = {
url: req.body.url,
method: req.body.method,
params: req.body.params || {},
data: req.body.data || {},
}
axios(options)
.then(({ data }) => {
res.status(200).json(data)
})
.catch((err) => {
console.log(err.message)
res.status(500).json({
error: `Endpoint ${req.body.url} failed.`,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
while end < len(A) and A[start] == A[mid] == A[end]:
start += 1
mid += 1
end += 1
if end == len(A):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
(mesh.gridFx[:, 0] >= xmin)
& (mesh.gridFx[:, 0] <= xmax)
& (mesh.gridFx[:, 1] >= ymin)
& (mesh.gridFx[:, 1] <= ymax)
)
indy = (
(mesh.gridFy[:, 0] >= xmin)
& (mesh.gridFy[:, 0] <= xmax)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
local DOCKER_LINK_CONTAINERS=""
if [ ${#DOCKER_LINKS[@]} -gt 0 ]; then
for DOCKER_LINK in ${DOCKER_LINKS[@]}; do
DOCKER_LINK_CONTAINERS="$DOCKER_LINK_CONTAINERS --link $DOCKER_LINK"
done
fi
# Get environment variables
local DOCKER_ENV_VARS=""
if [ ${#DOCKER_ENVS[@]} -gt 0 ]; then
| ise-uiuc/Magicoder-OSS-Instruct-75K |
submit = SubmitField(label='GO')
class FileForm(FlaskForm):
file = FileField(label='File')
submit = SubmitField(label='GO')
class QuestionForm(FlaskForm):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public function getInformation()
{
//
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}
func testExample() {
// This is an example of a functional test case.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using namespace std;
typedef pair<int, int> point;
vector<int> x, y;
int n;
bool done[1<<15];
double area[1<<15];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Location of battery repo, and experiment repo
# In future, these will not be required
battery_repo = "/home/vanessa/Documents/Dropbox/Code/psiturk/psiturk-battery"
experiment_repo = "/home/vanessa/Documents/Dropbox/Code/psiturk/psiturk-experiments"
battery_dest = "/home/vanessa/Desktop/battery"
### This is the command line way to generate a battery
# config parameters are specified via dictionary
# Not specifying experiments will include all valid
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return date.toLocaleDateString(undefined, {
year: 'numeric',
...(month && { month: 'long' }),
...(day && { day: 'numeric' }),
});
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// If file filters are provided, we check if the value has an acceptable
// suffix.
if (getFileFilters().empty())
{
return true;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
c.bench_function(&format!("stn-{}-lb-ub", name), |b| {
b.iter(|| propagate_bounds(black_box(stn.clone()), black_box(&bounds)))
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
test('should render publications count', () => {
const evidences: Evidence[] = [
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class CsvReader:
def __init__(self, filepath):
with open(filepath) as text_data:
self.data = []
csv_data = csv.DictReader(text_data, delimiter=',')
for row in csv_data:
self.data.append(row)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
async create(register: RegisterDomain): Promise<void> {
this.createdUser.push(new User(register.user, register.pwd, new Date()))
}
async login(credentials: Credentials): Promise<User> {
const users = this.getUserByUsername(credentials.user)
if (users.length == 0) throw new NotFoundException()
if (users.length > 1) throw new ConflictException()
const user = users[0]
if (user.user == credentials.user && user.pwd == credentials.pwd) return user
| ise-uiuc/Magicoder-OSS-Instruct-75K |
max-width: 350px;
`)}
`;
export const headerContentDescription = (theme: ThemeConfig) => css`
max-width: 30rem;
margin-top: 2.4rem;
font-size: 1.6rem;
line-height: 2.6rem;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// @ts-ignore
const sendRequestSpy = jest.spyOn(provider, 'sendRequest');
engine.send('eth_peerCount', []).then((value) => {
expect(sendRequestSpy).toHaveBeenCalled();
const params = sendRequestSpy.mock.calls[0][0];
expect(params.headers.Authorization).toBeUndefined();
expect(params.headers['X-API-KEY']).toBe('test-client-id');
expect(value).toBe('foo');
done();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#include "content/common/gpu/client/gpu_channel_host.h"
#include "content/common/view_messages.h"
#include "content/public/common/content_switches.h"
#include "content/renderer/gpu/render_widget_compositor.h"
#include "content/renderer/pepper/pepper_platform_context_3d_impl.h"
#include "content/renderer/render_thread_impl.h"
#include "gpu/command_buffer/client/gles2_implementation.h"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def initialize_options(self):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from distutils.version import LooseVersion
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from manager.models import Task
from datetime import datetime
task1 = Task.objects.create(name="<NAME>", description="pożywna i staropolskia", date_created=datetime.now(), importance=False)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[serde(deny_unknown_fields)]
pub enum ConfigurationExtraDescriptor
{
#[allow(missing_docs)]
InterfaceAssociation(InterfaceAssociationConfigurationExtraDescriptor),
#[allow(missing_docs)]
Unknown
{
descriptor_type: DescriptorType,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.tk = self.tkplot.tk
self.scene.addPlotter(self.tkplot)
self.scene.init(*terrain_size)
else:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ai = 0
while j < k:
if j == 0:
ai = a
else:
mx = 0
mi = 9
for i in str(ai):
mx = max(mx,int(i))
mi = min(mi,int(i))
if int(mi) == 0:
break
ai += int(mx)*int(mi)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# This script provisions the demo and lab environment. It installs the
# following tools:
#
# * Ettercap
# * Social Engineer's Toolkit (SET)
# * mitmproxy
# * Evilginx
#
# In addition, it installs an XFCE4 Desktop Environment along with the
# Firefox Web browser, and a few necessary utilities. The additional
# attack tools are included to support various sections of this lab's
# "Discussion" sections.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
slurper = Slurper(TEST_PACKAGE_NAME)
version = slurper.get_latest_version_number(TEST_PACKAGE_NAME)
package, created = slurper.get_or_create_package(TEST_PACKAGE_NAME, version)
self.assertTrue(created)
self.assertTrue(isinstance(package, Package))
self.assertEquals(package.title, TEST_PACKAGE_NAME)
self.assertEquals(package.slug, slugify(TEST_PACKAGE_NAME))
def test_get_or_create_with_repo(self):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
}
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
businessImageView.layer.cornerRadius = 5
| ise-uiuc/Magicoder-OSS-Instruct-75K |
For exponents less than zero:
Place the cursor over the exponent value on the D scale (moving the decimal point as necessary).
Find the correct LL/ scale for the for the exponent value and read the value from under the cursor.
Note that a small number of slide rules have a decedal LL scale, and thus the procedure for natural exponents requires use of the cahnge-of-base procedure tested in the exponents of arbitrary base exam.
""",
problemGenerator: NaturalExponentsProblemGenerator()
)
}
}
class NaturalExponentsProblemGenerator: ProblemGenerator {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if isinstance(title, str):
self._title.innerHTML = (title,)
elif isinstance(title, HTML_Node):
self._title = title
else:
raise ValueError("A title has to be a string or a node.")
def addStyleSheet(self, stylesheet: HTML_Node_Contentless):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.nodes_dict[key, height] = [None, nodes[1][0]]
def _calculate_real_height(self, node):
"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
with open('objects/' + name + '.pkl', 'rb') as f:
return pickle.load(f)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
backend,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
output = gp_model(train_x)
loss = -mll(output, train_y)
loss.backward()
optimizer.n_iter += 1
optimizer.step()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace sp
{
namespace video
{
//! Shared render context base class used for multi-threaded resource creation.
class SP_EXPORT SharedRenderContext
{
public:
SharedRenderContext()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
new_tag = find_tag_version(repo, version)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
var date: String?
var day: [Day] = []
var astro: [Astro] = []
var hours: [Hour] = []
init(dict: JSON) {
guard let astroObject = dict["astro"] as? JSON else {
return
}
if let astro = Astro(dict: astroObject) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[Fact]
public async Task SerializeAsync_StringType()
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$stmt = $this->conn->prepare($query);
$stmt->bindValue(":chamado", $chamado->getID(), PDO::PARAM_INT);
$stmt->execute();
$alteracoes = array();
if ($stmt->rowCount() > 0) {
while (($row = $stmt->fetch(PDO::FETCH_ASSOC))) {
// extract($row);
$novaAlteracao = new Alteracao($row["id"]);
$novaAlteracao->setDescricao($row["descricao"]);
$novaAlteracao->setData($row["data"]);
$situacao = new Situacao($row["id_situacao"]);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
super.menuDidClose(node: node)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/bash
#docker tag stuhin/rust-server:latest stuhin/rust-server:latest
docker push stuhin/rust-server:latest | ise-uiuc/Magicoder-OSS-Instruct-75K |
make install
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sample: display_name_example
description:
description:
- Brief description of the template.
returned: on success
type: str
sample: description_example
long_description:
description:
- Detailed description of the template. This description is displayed in the Console page listing templates when the template is expanded. Avoid
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>Holly-Jiang/QCTSA
class NeighborResult:
def __init__(self):
self.solutions = []
self.choose_path = []
self.current_num = 0
self.curr_solved_gates = []
| ise-uiuc/Magicoder-OSS-Instruct-75K |
let succeeded = succeeded_clone;
let kill_named = || {
info!("killing named");
let mut named = named_killer.lock().unwrap();
if let Err(e) = named.kill() {
warn!("warning: failed to kill named: {:?}", e);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
shellspec_syntax 'shellspec_matcher_end_with'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
convergeSettings,
setConvergeSettings,
} = useConvergeSettingsContextProvider();
const classes = NPSDialogStyles();
const [starRating, setStarRating] = useState(0);
const [isOpen, setIsOpen] = useState(false);
const confirm = () => {
setConvergeSettings({
...convergeSettings,
lastNPSDate: dayjs().utc().toISOString(),
});
if (starRating) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
output_items = []
resource_type_id = moocdb_utils.GetResourceTypeMap(vars)['forum']
| ise-uiuc/Magicoder-OSS-Instruct-75K |
u = theta.clone().uniform_()
l1 = theta.log() - (1 - theta).log()
l2 = u.log() - (1 - u).log()
return l1 + l2, u
class ConditionedBernoulliRelaxation(BernoulliRelaxation):
def __call__(self, b):
raise NotImplementedError
def draw(self, b):
theta = self.theta.sigmoid()
v = theta.clone().uniform_()
t1 = 1 - theta
v = (v * t1) * (1 - b) + (v * theta + t1) * b
l1 = theta.log() - t1.log()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Removes HTML tags of the html content and returns a cleansed version.
Parameters
----------
content: :class:`str`
| ise-uiuc/Magicoder-OSS-Instruct-75K |
]
urlpatterns = [
path("v1/afisha/", include(afisha_urls)),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
.filter( item -> item % 2 != 0 )
.collect(Collectors.toList());
System.out.println(integers);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<select id='variant' name='variantId' class='form-control'>
@foreach($variant as $variants)
<option value='{{$variants->id}}'>{{$variants->size}}</option>
@endforeach
</select>
</div>
<div class='col-sm-6'>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from database import RESULT_DB
| ise-uiuc/Magicoder-OSS-Instruct-75K |
each person’s name by accessing each element in the list, one at a time."""
names = ['Reynaldo', 'Horacio', 'Pablo', 'Genesis', 'Angelica']
print(names[0])
print(names[1])
print(names[2])
print(names[3])
print(names[4]) | ise-uiuc/Magicoder-OSS-Instruct-75K |
var packTask = Task("Pack").Does<BuildParameters>((context,parameters) => {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public class ServiceAuthorityFO {
@ApiModelProperty("用户id")
private String userId;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
void DynamicSliceManagerComponent::Reflect(AZ::ReflectContext* context)
{
if (AZ::SerializeContext* serialize = azrtti_cast<AZ::SerializeContext*>(context))
{
serialize->Class<DynamicSliceManagerComponent, AZ::Component>()
->Version(0)
;
if (AZ::EditContext* ec = serialize->GetEditContext())
{
ec->Class<DynamicSliceManagerComponent>("DynamicSliceManagerComponent", "handles dynamic slices")
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
WarnL << "该aac track无效!";
}else{
_aac_cfg = aacTrack->getAacCfg();
}
_adts = obtainFrame();
}
AACRtpDecoder::AACRtpDecoder() {
_adts = obtainFrame();
}
AACFrame::Ptr AACRtpDecoder::obtainFrame() {
//从缓存池重新申请对象,防止覆盖已经写入环形缓存的对象
auto frame = ResourcePoolHelper<AACFrame>::obtainObj();
frame->aac_frame_length = 7;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
entry_points={
'console_scripts': [
'simplebot=simplecoinbasebot.simplebot:main',
'simpletop=simplecoinbasebot.top:main',
'persistbot=simplecoinbasebot.run:main',
],
},
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ContributedByView(name: "Freddy Hernandez Jr",
link: "https://github.com/freddy1h")
.padding(.top, 80)
}
.padding()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@ColorInt int quoteLineColor) {
super();
lineWidth = quoteLineWidth;
gapWidth = quoteLineIndent;
lineColor = quoteLineColor;
}
public int getLeadingMargin(boolean first) {
return lineWidth + gapWidth;
}
public void drawLeadingMargin(Canvas c,
Paint p,
int x,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/*
* Project ID
*/
projectId: string;
}
export interface IMailProperties {
/**
* Specify the type of mailer to use.
* Currently we support 'mailgun'
*/
type: 'mailgun';
/**
| ise-uiuc/Magicoder-OSS-Instruct-75K |
np.random.seed(123)
coeff = np.random.randn(16)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from launch_ros.actions import Node
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.