content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
cpp_codegen_object_new(InvalidOperationException_t0530E734D823F78310CAFAFA424CA5164D93A1F1_il2cpp_TypeInfo_var);
InvalidOperationException__ctor_m72027D5F1D513C25C05137E203EEED8FD8297706(L_4, (String_t*)_stringLiteral4B7A2452FBAAF02487F5667BCA2E7D64B9707EDC, /*hidden argument*/NULL);
IL2CPP_RAISE_MANAGED_EXCEPTION(... | C++ |
// clang-format off
// Auto-generated file. Do not edit!
// Template: src/qs8-gemm/4x16-aarch64-neon-mlal-lane-cortex-a75.S.in
// Generator: tools/xngen
//
// Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tr... | Assembly |
0.1)) !important;
box-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.3) inset, 0 0 0 1px hsla(0, 0%, 100%, 0.3) inset, 0 0 0 1px hsla(210, 54%, 20%, 0.25), 0 1px 0 hsla(210, 54%, 20%, 0.35) !important;
transition-property: background-color, box-shadow !important;
transition-duration: 250ms !important;
}
:root[echelon-style... | CSS |
4, access either all image channels (z ignored) or individual image channels (z=0..2).
template<bool V4> struct MG_sample;
template<> struct MG_sample<true> {
using EType = Vector4;
static constexpr int nz = 1;
static EType get(const Pixel& pix, int z) { ASSERTX(z==0); return Vector4(pix); }
static void... | C++ |
to="/README.md" active="">text</RouteLink>
- <RouteLink to="/README.md" active>text</RouteLink>
- <RouteLink to="/" active="">text</RouteLink>
- <RouteLink to="/" active>text</RouteLink>
- <RouteLink to="/README.md" :active="false">text</RouteLink>
- <RouteLink to="/README.md">text</RouteLink>
- <RouteLink to="/" :act... | Markdown |
import modelx as mx
from modelx.testing.testutil import ConfigureExecutor
import pytest
def test_change_attrref():
"""
m---s---bar<-m.bar
|
+--bar[a]---x
"""
m = mx.new_model()
s = m.new_space()
@mx.defcells
def foo(x):
return bar.x
@mx.defcells
def qu... | Python |
/* blas/source_axpy_c.h
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your op... | C |
using System.Collections.Generic;
using System.Linq;
namespace Pillager.Helper
{
public static class RC4Crypt
{
/// <summary>
/// Decrypt data using key.
/// </summary>
/// <param name="key"></param>
/// <param name="data"></param>
/// <returns></returns>
... | C# |
movl $$0x48+90*4, %eax
movl $0, %gs:(%eax)" :: "r"(limit) : "eax" : "volatile")
}
#[cfg(target_arch = "x86", target_os = "linux")]
#[cfg(target_arch = "x86", target_os = "freebsd")] #[inline(always)]
unsafe fn target_record_sp_limit(limit: uint) {
asm!("movl $0, %gs:48" :: "r"(limi... | Rust |
mary>
/// Set the lowerst starting address.
/// </summary>
public long LowestStartingAddress { get; set; }
/// <summary>
/// Set the highest ending address.
/// </summary>
public long HighestEndingAddress { get; set; }
/// <summary>
/// Set the alignment.
/// </summary>
pub... | C# |
ts.clear();
}
}
import 'package:flutter_custom_cursor/cursor_manager.dart'
as custom_cursor_manager;
import 'package:flutter_custom_cursor/flutter_custom_cursor.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter_hbb/models/model.dart';
deleteCustomC... | Dart |
ISH("finnish", "fi"),
/** 弗里西语 */
FRISIAN("frisian", "fy"),
/** 高棉语 */
KHMER("khmer", "km"),
/** 格鲁吉亚语 */
GEORGIAN("georgian", "ka"),
/** 古吉拉特语 */
GUJARATI("gujarati", "gu"),
/** 哈萨克语 */
KAZAKH("kazakh", "kk"),
/** 海地克里奥尔语 */
HAITIAN_CREOLE("haitianCreole", "ht"),
/**... | Kotlin |
l-dialog')
dialogHeaderEl.style.cssText += ';cursor:move;'
dragDom.style.cssText += ';top:0px;'
// 获取原有属性 ie dom元素.currentStyle 火狐谷歌 window.getComputedStyle(dom元素, null);
const getStyle = (function() {
if (window.document.currentStyle) {
return (dom, attr) => dom.currentStyle[attr]
... | JavaScript |
ay 2018](https://web.archive.org/web/20180521090553/https://twitter.com/AndrewQuackson/status/998490026559397889): Wyoming: 53.8% of people own Firearms Gun Homicide rate: 1.7 per 100k DC: 25.9% of people own firearms Gun Homicide rate: 18.0 per 100k https://twitter.com/Mikel_Jollett/status/998245081025925120
* [21 Ma... | Markdown |
z0=0;z0<d/2;z0++)
for (int y0=0;y0<h/2;y0++)
for (int x0=0;x0<w/2;x0++) {
int x1=x0+w/2, y1=y0+h/2, z1=z0+d/2;
float tmpA, tmpB;
// 000 <> 111
tmpA = in.get(x0,y0,z0);
tmpB = in.get(x1,y1,z1);
in.set(x0,y0,z0,tmpB);
in.set(x1,y1,z1,tmpA);
// 010 <> 101
tmpA = in.get(x0,y1... | Java |
21 00 10 */ lfs f1, 0x10(r1)
/* 8013C530 00138190 FC 80 28 1E */ fctiwz f4, f5
/* 8013C534 00138194 C0 01 00 24 */ lfs f0, 0x24(r1)
/* 8013C538 00138198 FC 40 18 1E */ fctiwz f2, f3
/* 8013C53C 0013819C EC 21 28 28 */ fsubs f1, f1, f5
/* 8013C540 001381A0 88 9F 00 11 */ lbz r4, 0x11(r31)
/* 8013C544 001381A4 EC 0... | Assembly |
(1.0 / 60.0 );
this.world.step(Math.min(Clock.instance.elapsedTime, 0.1));
}
}
}/**
* Determines the minimum value
*
* @param {number} d0 First number
* @param {number} d1 Second number
* @param {number} d2 Third number
* @param {number} bx Character
* @param {number} ay Character
* @ret... | Typescript |
logger.lifecycle("${border}\n")
}
}
})
}
// ===========================
// Code Quality checks
// ===========================
checkstyle {
toolVersion = "7.4"
}
spotbugs {
excludeFilter.set(project.file("config/spotbugs/exclude.xml"))
showProgress.set(true)
s... | Kotlin |
rgba(0, 0, 0, 0.6);
}
.ui.secondary.inverted.segment {
background: #4c4f52 -webkit-linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
background: #4c4f52 linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
color: rgba(255, 255, 255, 0.8);
}
/* Tertiary */
.ui... | CSS |
Luma20NoRoundInt(tmp1, tmpW, tmp2, blkOff, blkStride, 2, 0, blkW, blkH);
int off = 2;
for (int j = 0; j < blkH; j++) {
for (int i = 0; i < blkW; i++) {
int rounded = clip((tmp2[blkOff + i] + 512) >> 10, -128, 127);
int rounded2 = clip((tmp1[off + i + 1] + 16)... | Java |
�的形式 $p(x)=\frac{1}{Z}\prod\limits_{i=1}^K\psi_i(x_{ci})=\frac{1}{Z}\exp(-\sum\limits_{i=1}^KE(x_{ci}))$,这也是一个指数族分布。
一个玻尔兹曼机存在一系列的问题,在其推断任务中,想要精确推断,是无法进行的,想要近似推断,计算量过大。为了解决这个问题,一种简化的玻尔兹曼机-受限玻尔兹曼机作出了假设,所有隐变量内部以及观测变量内部没有连接,只在隐变量和观测变量之间有连接,这样一来:
$$
p(x)=p(h,v)=\frac{1}{Z}\exp(-E(v,h))
$$
其中能量函数 $E(v,h)$ 可以写出三个部分,包括与节点集合相... | Markdown |
e) }) })
public class Swarm extends AOptimizationAlgorithm {
/** The Constant DEFAULT_INERTIA. */
public static final double DEFAULT_INERTIA = 0.729844;
/** The Constant DEFAULT_COGNITIVE. */
public static final double DEFAULT_COGNITIVE = 1.496180; // Cognitive component.
/** The Constant DEFAULT_SOCIAL. */
pu... | Java |
nction(err, res)
-- Check if we got an error
if self:ReturnedErrors(err, res) then
statCollection:print("Error on sendCustom " .. hiacLB)
CustomNetTables:SetTableValue("gameinfo", "game_recorded", {value="failed"})
return
end
-- Tell the user
... | Lua |
(array).join('');
content.innerText = currentWords;
this.isFinished = false;
this.reset();
}
compare() {
correctWordsCount = 0;
let typedWords = typingPad.value;
let arrayOrigin = currentWords.split('');
let arrayTyped = typedWords.split('');
let ... | Typescript |
--[[
This file is part of luax.
luax is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
luax is distributed in the hope that it will be useful... | Lua |
.0 / (2.0 * PI * (1.0 - cos_thetamax));
it
}
fn pdf_wi(&self, i: &InteractionData, wi: &Vector3<f32>) -> f32 {
let pcenter = self.object_to_world.transform_point(&Point3f::new(0.0, 0.0, 0.0));
// Return uniform PDF if point is inside sphere
let porigin = offset_ray_origin(&i.p,... | Rust |
U [ ; $ )N_OPTIONAL_ONNX_DTYPE_STR)
onnx_type_strs r is_optional_onnx_dtype_strr< |