Qwen/Qwen2.5-0.5B · L4/N1889 · 20261020T111948Z
Experiment 5 of 5 on this neuron, most conclusive first · record
The negative pole is the anti-C side of this neuron's C-language axis: it fires on a token of programming notation that is not C - C++/Objective-C/C#/Java keywords and symbols ('class', 'public', 'private', 'protected', 'virtual', 'namespace', scope '::', the '>' that closes a template, a reference '&', '@interface', '@implementation', '@property', '@autoreleasepool', '#pragma mark', '[super ...]') and C/C++ build-file commands (CMake 'target_link_libraries', 'PRIVATE', 'install'), plus identifier and path fragments inside C-family source (C++, Objective-C, C#, build files) - and it is strongest when C-language material (C code, C includes, or the words 'C'/'C++' naming the language) has already been read. Plain C code (struct, typedef, static, return, #include, printf, malloc), Python/Go/Rust/JavaScript/TypeScript code, a Java file read on its own, and ordinary prose stay near zero.
The whole hypothesis
The negative pole is the anti-C side of this neuron's C-language axis: it fires on a token of programming notation that is not C - C++/Objective-C/C#/Java keywords and symbols ('class', 'public', 'private', 'protected', 'virtual', 'namespace', scope '::', the '>' that closes a template, a reference '&', '@interface', '@implementation', '@property', '@autoreleasepool', '#pragma mark', '[super ...]') and C/C++ build-file commands (CMake 'target_link_libraries', 'PRIVATE', 'install'), plus identifier and path fragments inside C-family source (C++, Objective-C, C#, build files) - and it is strongest when C-language material (C code, C includes, or the words 'C'/'C++' naming the language) has already been read. Plain C code (struct, typedef, static, return, #include, printf, malloc), Python/Go/Rust/JavaScript/TypeScript code, a Java file read on its own, and ordinary prose stay near zero.
Hard negatives 5/10 rejected · holdouts 5/6 fired (independent observations; 16 probes) · P(useful) 0.60
Revised by 20261108T131936Z (NEEDS_REVISION)
specificity 0.50 · sensitivity 0.83 · counterfactual reproduction 1.00 · protocol v0.5
class public private protectedvirtualnamespace::> &super mark@interface@autoreleasepool PRIVATEtargetmakeservicesceptorUTF
Adversarial review
hard_negative: 5/10 passed; positive_holdout: 5/6 passed; counterfactual: 9/9 passed; lookahead_consistency: 1/1 passed. Failed gates: specificity.
All 26 probes
| Test | Input | Expected | Observed | |
|---|---|---|---|---|
| ✓ | hard negative | import functools
class Repository:
"""In-memory store keyed by record id."""
def __init__(self, backend=None):
self._backend = backend or {}
self._cache = {}
@functools.lru_cache(maxsize=128)
def lookup(self, record_id):
if record_id not in self._backend:
raise KeyError(f"missing record {record_id}")
return self._backend[record_id]
def store(self, record_id, payload):
self._backend[record_id] = payload
self._cache.pop(record_id, None) A Python class definition offers the 'class' trigger token inside code the hypothesis says stays near zero, testing language specificity. |
inactive | 0.236 |
| ✓ | hard negative | The working class has always used public transport more than the professional class, a pattern that private operators rarely advertise. Class distinctions show up in private schools and public parks alike, and the city council keeps the whole debate behind closed doors. Uses 'class', 'public' and 'private' in everyday social senses, testing whether the bare words rather than programming notation drive the pole. |
inactive | 0.346 |
| ✗ | hard negative | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct {
char name[32];
unsigned int flags;
} entry_t;
static entry_t *make_entry(const char *name, unsigned int flags)
{
entry_t *e = malloc(sizeof(entry_t));
if (!e)
return NULL;
strncpy(e->name, name, sizeof(e->name) - 1);
e->flags = flags;
return e;
}
int main(void)
{
entry_t *e = make_entry("alpha", 0x1);
printf("%s %u\n", e->name, e->flags);
free(e);
return 0;
} Textbook C source with struct, typedef, static, #include, printf and malloc is exactly the material the hypothesis says stays near zero. |
inactive | 0.503 |
| ✓ | hard negative | package com.example.billing;
public class InvoiceTotals {
private final Ledger ledger;
protected double taxRate = 0.2;
public InvoiceTotals(Ledger ledger) {
this.ledger = ledger;
}
protected double subtotal() {
return ledger.stream().mapToDouble(Line::amount).sum();
}
} A standalone Java file contains 'public', 'private', 'protected' and 'class', but the hypothesis explicitly predicts a Java file read on its own stays near zero, so this tests the retrospective gating claim. |
inactive | 0.331 |
| ✗ | hard negative | pub struct Connection {
socket: TcpStream,
buf: Vec<u8>,
}
impl Connection {
pub fn new(socket: TcpStream) -> Self {
Connection { socket, buf: Vec::with_capacity(4096) }
}
pub fn read_frame(&mut self) -> io::Result<&[u8]> {
let n = self.socket.read(&mut self.buf)?;
Ok(&self.buf[..n])
}
} Rust code with references, scope separators and 'pub' tests whether C-family-looking notation outside C, C++, Objective-C, C# and Java is rejected. |
inactive | 0.626 |
| ✓ | hard negative | class EventQueue {
constructor(limit = 100) {
this.limit = limit;
this.items = [];
}
push(event) {
if (this.items.length >= this.limit) {
this.items.shift();
}
this.items.push(event);
}
} JavaScript uses the 'class' keyword without any C-family build or template context, so the hypothesis predicts near zero. |
inactive | 0.209 |
| ✗ | hard negative | #include <stdio.h>
#pragma once
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
static int checksum(const unsigned char *data, size_t len)
{
int sum = 0;
for (size_t i = 0; i < len; i++)
sum += data[i];
return sum % 256;
}
int main(void)
{
const unsigned char payload[] = {1, 2, 3, 4};
printf("%d\n", checksum(payload, sizeof payload));
return 0;
} Plain C '#pragma once' and GCC diagnostic directives share the preprocessor surface of '#pragma mark' but not the Objective-C directive, so the hypothesis predicts no activation. |
inactive | 0.611 |
| ✗ | hard negative | #include <stdio.h>
int main(void)
{
int value = 0;
int mask = 0xFF;
int flags = 0b1010;
if (scanf("%d", &value) != 1)
return 1;
flags = flags & mask;
printf("%d %d\n", value, flags);
printf("%p\n", (void *)&value);
return 0;
} The ampersands here are address-of and bitwise-AND in plain C rather than C++ reference notation, testing whether the raw '&' token alone is sufficient. |
inactive | 0.701 |
| ✓ | hard negative | Question: I have a C project and a shared C++ library that I need to link into it. The library exports C++ symbols, so my C linker complains. How do I wrap the headers so that the C side can link against the C++ archive without rewriting everything in C? A prose question about linking a C++ library keeps the topic and the language names but contains no programming notation, which the hypothesis predicts stays near zero. |
inactive | 0.423 |
| ✗ | hard negative | venv/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311-darwin.so
venv/lib/python3.11/site-packages/pandas/_libs/window/aggregations.cpython-311-darwin.so
venv/lib/python3.11/site-packages/scipy/sparse/_sparsetools.cpython-311-darwin.so
venv/lib/python3.11/site-packages/matplotlib/ft2font.cpython-311-darwin.so
venv/lib/python3.11/site-packages/PIL/_imaging.cpython-311-darwin.so
venv/bin/python
venv/bin/pip Python virtualenv paths share the file-path surface of the PLIST example but sit outside C-family source, so the hypothesis predicts they stay near zero. |
inactive | 0.551 |
| ✓ | positive holdout | #ifndef PACKET_ROUTER_H
#define PACKET_ROUTER_H
#include <string>
#include <vector>
#include <memory>
namespace net {
namespace detail {
template <typename T>
class RingBuffer {
public:
explicit RingBuffer(size_t capacity);
virtual ~RingBuffer();
void push(const T &item);
const T &at(size_t index) const;
private:
std::vector<T> items_;
size_t head_;
};
} // namespace detail
} // namespace net
#endif A modern C++ header combines namespace, class, public/private, virtual, '::', a template-closing '>' and reference parameters in a context unlike the Boost example. |
active | 2.138 |
| ✓ | positive holdout | #import <UIKit/UIKit.h>
@interface ProfileBadgeView : UIView
@property (nonatomic, strong) UILabel *initialsLabel;
@property (nonatomic, assign) CGFloat cornerRadius;
- (void)configureWithName:(NSString *)name;
@end
@implementation ProfileBadgeView
#pragma mark - Lifecycle
- (instancetype)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
_cornerRadius = 8.0;
}
return self;
}
@end Objective-C with @interface, @property, #pragma mark and [super ...] in a UIKit class tests the claimed ObjC notation on a new file. |
active | 0.678 |
| ✗ | positive holdout | namespace Billing.Engine
{
public class TaxCalculator
{
private readonly IRateTable rates;
protected decimal ceiling = 100000m;
public TaxCalculator(IRateTable rates)
{
this.rates = rates;
}
public decimal Compute(decimal amount, string region)
{
return Math.Min(amount * rates.For(region), ceiling);
}
}
} C# keywords (namespace, public class, private, protected) in a novel billing class test the claim that C# notation activates the pole. |
active | 0.422 |
| ✓ | positive holdout | cmake_minimum_required(VERSION 3.20)
project(telemetry_agent C CXX)
add_library(telemetry STATIC src/agent.cpp src/sink.cpp)
target_include_directories(telemetry PUBLIC include)
target_link_libraries(telemetry PRIVATE fmt::fmt spdlog::spdlog)
target_compile_features(telemetry PRIVATE cxx_std_17)
install(TARGETS telemetry EXPORT TelemetryTargets
ARCHIVE DESTINATION lib) A modern CMake file with target_link_libraries, PRIVATE and install tests the claimed build-file commands in a project different from the example. |
active | 1.841 |
| ✓ | positive holdout | In file included from /src/agent.cpp:12:
/usr/include/c++/13/bits/stl_vector.h:1278:31: error: no matching function for call to 'std::vector<_Tp, _Alloc>::push_back(const value_type&)'
/usr/include/c++/13/bits/stl_vector.h: In instantiation of 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...)':
note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(std::initializer_list<_CharT>, const _Alloc&)'
note: candidate expects 2 arguments, 1 provided
/src/agent.cpp:12:44: note: mismatched types 'const char*' and 'const char (&)[8]' A C++ compiler diagnostic is a new genre dense with '::', template-closing angle brackets and identifier fragments, which the hypothesis predicts should fire. |
active | 1.976 |
| ✓ | positive holdout | # tinyprofiler
tinyprofiler is a small sampling profiler for native applications on Linux and macOS. It was written to answer one question: where does a long-running service actually spend its time? Instead of instrumenting each function by hand, tinyprofiler wakes a background thread every millisecond, captures the instruction pointer of every running thread, and folds the addresses back into symbolized stacks at shutdown.
## Why another profiler
Most profilers either require a rebuild with special compiler flags, or they require kernel privileges that are awkward to obtain in containers. tinyprofiler only needs read access to `/proc/self/task` on Linux, and `task_threads` on macOS. The sampling thread runs at the lowest scheduling priority so that it does not distort the workload it is measuring. Overhead in our benchmarks was between one and three percent on a workload that allocates heavily and between zero and one percent on a workload that is mostly numeric.
## Building
The project uses CMake 3.20 or newer. A typical out-of-tree build looks like this:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel 8
ctest --test-dir build
There are no third-party dependencies outside of the C++ standard library. The symbolizer optionally loads libdw on Linux and the CoreSymbolication framework on macOS; both are detected at configure time and can be disabled with a cache flag.
## Embedding
The sampler is exposed through a single header. A minimal integration creates a collector, starts it, runs the workload, and writes a report when the collector is destroyed. The collector is thread safe and may be shared between worker threads. The public interface is intentionally tiny: consumers instantiate the collector and call start from the thread that owns the workload. The collector records samples into an internal ring buffer whose entries are std::pair<void*, std::uintptr_t>, and the report writer groups those entries by module before sorting.
namespace tinyprof {
class collector {
public:
collector(std::chrono::milliseconds period, const config &cfg);
virtual ~collector();
void start();
void stop();
private:
struct state;
std::unique_ptr<state> impl_;
};
}
## Symbols
Address to symbol translation is deliberately kept out of the sampling path. Raw instruction pointers are accumulated in a fixed-size hash table during collection and only translated when the report is generated. This keeps the sampler close to a constant amount of work per sample and avoids any allocation in the hot path, which matters when the profiled process is itself an allocator.
## Known limitations
Inlined frames are not recovered on macOS. The hash table has a fixed capacity of two million distinct addresses, which is enough for most services but can be exhausted by programs that generate code at runtime. Signal handlers are not profiled. The tool is distributed under the Apache license, version 2.0, and patches are welcome. A long README embeds C++ class, namespace, virtual, '::' and reference notation deep in a several-hundred-word document, testing the claimed feature at depth in a prose-heavy cross-genre context. |
active | 2.230 |
| ✓ | counterfactual | #include <stdio.h> class Widget { int value; }; -> #include <stdio.h> struct widget { int value; }; | Δ 0.87 | Δ 0.87 |
| ✓ | counterfactual | #include <stdio.h> namespace demo { int value; } -> #include <stdio.h> struct demo { int value; }; | Δ 0.64 | Δ 0.64 |
| ✓ | counterfactual | x = 0; public int value; -> x = 0; static int value; | Δ 0.74 | Δ 0.74 |
| ✓ | counterfactual | #import <Foundation/Foundation.h> @implementation Widget - (void)init { [super init]; } @end -> #import <Foundation/Foundation.h> @implementation Widget - (void)init { [self init]; } @end | Δ 0.48 | Δ 0.48 |
| ✓ | counterfactual | project(demo LANGUAGES C CXX) target_link_libraries(app PRIVATE core) -> project(demo LANGUAGES C CXX) target_link_libraries(app core) | Δ 0.37 | Δ 0.37 |
| ✓ | counterfactual | x = 0; public class Widget { } -> The fox ran. public class Widget { } | Δ 0.69 | Δ 0.69 |
| ✓ | counterfactual | int main(void) { return 0; } -> int main(void) { return 1; } | Δ -0.01 | Δ -0.01 |
| ✓ | counterfactual | The committee approved the budget on Tuesday. -> The committee rejected the budget on Tuesday. | Δ 0.03 | Δ 0.03 |
| ✓ | counterfactual | #include <stdio.h> #define VERSION "1.0.3" -> #include <stdio.h> #define VERSION "1.0.4" | Δ -0.07 | Δ -0.07 |
| ✓ | lookahead consistency | #include <stdio.h>
class Widget {
int value;
};
; #include <stdio.h>
namespace demo {
int value;
}
; x = 0;
public int value;
; #import <Foundation/Foundation.h>
@implementation Widget
- (void)init {
[super init];
}
@end
; project(demo LANGUAGES C CXX)
target_link_libraries(app PRIVATE core)
; x = 0;
public class Widget { }
; int main(void) { return 0; }
; The committee approved the budget on Tuesday.
; #include <stdio.h>
#define VERSION "1.0.3"
claimed retrospective; measured retrospective (KL=0.0002099, tokens=[' public', 'class', ' class', '()', 'namespace']) |
Minimal pairs
| # | Base → counterfactual | Expected Δ | Observed Δ |
|---|---|---|---|
| 1 | #include <stdio.h>
class Widget {
int value;
};
→ #include <stdio.h>
struct widget {
int value;
};
|
0.87 | 0.87 |
| 2 | #include <stdio.h>
namespace demo {
int value;
}
→ #include <stdio.h>
struct demo {
int value;
};
|
0.64 | 0.64 |
| 3 | x = 0;
public int value;
→ x = 0;
static int value;
|
0.74 | 0.74 |
| 4 | #import <Foundation/Foundation.h>
@implementation Widget
- (void)init {
[super init];
}
@end
→ #import <Foundation/Foundation.h>
@implementation Widget
- (void)init {
[self init];
}
@end
|
0.48 | 0.48 |
| 5 | project(demo LANGUAGES C CXX)
target_link_libraries(app PRIVATE core)
→ project(demo LANGUAGES C CXX)
target_link_libraries(app core)
|
0.37 | 0.37 |
| 6 | x = 0;
public class Widget { }
→ The fox ran.
public class Widget { }
|
0.69 | 0.69 |
| 7 | int main(void) { return 0; }
→ int main(void) { return 1; }
|
-0.01 | -0.01 |
| 8 | The committee approved the budget on Tuesday.
→ The committee rejected the budget on Tuesday.
|
0.03 | 0.03 |
| 9 | #include <stdio.h>
#define VERSION "1.0.3"
→ #include <stdio.h>
#define VERSION "1.0.4"
|
-0.07 | -0.07 |
Read more
Δ is the base prompt's peak negative-pole strength minus the counterfactual's, as a fraction of the max activation.
Each causal score ranks the pole's patch effect among the 32 same-layer neurons that change as much between each pair, so 0.5 is typical. Sufficiency patches clean into corrupted, and necessity corrupted into clean. The score is the median over 4 non-control pairs, on next-token KL. Median effect 0.000117 (sufficiency) and 0.000203 (necessity). In the table, each cell gives the percentile, the pole's signed effect, and the matched neurons' median and largest |effect|, in nats of KL. Self-repair (the hydra effect) was mitigated by freezing downstream MLP outputs.
Top-activating examples
Hover a token for its value.
-
1.90
… (extra_lib SHARED extra_lib.cpp)↵↵target_link_libraries(extra_lib↵ some_lib↵)↵↵export(TARGETS extra_lib FILE extra_lib.cmake)↵↵The point is that when I try to compile …
All 526 tokens
Q:↵↵CMake link directory passing when compiling shared library↵↵Say I have C project with the following structure (simplified):↵|- CMakeLists.txt <- This is root CMake↵|- lib↵ |- <some source files>↵ |- CMakeLists.txt <- CMake file for building the library↵|- demo↵ |- <some source files>↵ |- CMakeLists.txt <- CMake for building demo apps↵|- extra_lib↵ |- <some source files>↵ |- CMakeLists.txt <- CMake for building supplementary library↵↵Now, I want to build my library (living in lib) as a shared library to be used by demo apps from demo directory. ↵Additional library, that can not be a part of my library (it is essentially a wrapper for some C++ external library) is also to be compiled as a shared library and then linked to my library.↵I have a problem with including dependencies for additional library. In its CMakeLists.txt I've defined link_directories to point location where .so libs are stored and then target_link_libraries to point which should be linked. At the end I did export target.↵include_directories(${EXTERNAL_DIR}/include)↵link_directories(${EXTERNAL_DIR}/lib)↵↵add_library(extra_lib SHARED extra_lib.cpp)↵↵target_link_libraries(extra_lib↵ some_lib↵)↵↵export(TARGETS extra_lib FILE extra_lib.cmake)↵↵The point is that when I try to compile lib and link it against extra_lib I get an error that some_lib is not found what I guess means that link_directories is local to the extra_lib.↵Now, question is how can I make it propagate together with dependencies? I'd like it to work in the way that adding extra_lib as subdirectory and as a dependency for my lib would automatically add linked directories from extra_lib to the lib linking process.↵The linking process would look like:↵(some external library) --> extra_lib --> lib --> demo app↵↵A:↵↵First off, the CMake docs state that commands like include_directories and link_directories are rarely necessary. In fact, it is almost always better to use target_include_directories and target_link_libraries instead.↵Secondly, the reason your approach fails is because you need to let CMake know about the existence of some_lib. You can do this like so:↵add_library(some_lib SHARED IMPORTED)↵set_target_properties(some_lib↵ PROPERTIES↵ IMPORTED_LOCATION ${EXTERNAL_DIR}/lib/libsome_lib.so)↵↵Then, afterwards:↵target_link_libraries(extra_lib some_lib)↵↵
Values
Token Negative-pole strength (extra0.000 _lib0.052 SH0.147 ARED0.000 extra0.435 _lib0.191 .cpp0.000 )↵↵0.003 target1.056 _link0.000 _l0.000 ibraries0.000 (extra0.000 _lib0.249 ↵0.000 0.125 some0.136 _lib0.127 ↵0.000 )↵↵0.100 export0.806 (T0.079 ARGET0.441 S0.000 extra0.000 _lib0.274 FILE0.000 extra0.000 _lib0.225 .c0.000 make1.901 )↵↵0.005 The0.046 point0.115 is0.072 that0.091 when0.003 I0.034 try0.000 to0.017 compile0.000 -
1.82
… ↵↵ typedef BOOST_PP_CAT(iter,BOOST_PP_FRAME_ITERATION(1)) type;↵ };↵↵#if defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG)↵ /// ETI …
All 794 tokens
↵#if !defined(BOOST_PP_IS_ITERATING)↵↵///// header body↵↵#ifndef BOOST_MPL_AUX778076_ADVANCE_BACKWARD_HPP_INCLUDED↵#define BOOST_MPL_AUX778076_ADVANCE_BACKWARD_HPP_INCLUDED↵↵// Copyright Aleksey Gurtovoy 2000-2004↵//↵// 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.boost.org/libs/mpl for documentation.↵↵// $Id$↵// $Date$↵// $Revision$↵↵#if !defined(BOOST_MPL_PREPROCESSING_MODE)↵# include <boost/mpl/prior.hpp>↵# include <boost/mpl/apply_wrap.hpp>↵#endif↵↵#include <boost/mpl/aux_/config/use_preprocessed.hpp>↵↵#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \↵ && !defined(BOOST_MPL_PREPROCESSING_MODE)↵↵# define BOOST_MPL_PREPROCESSED_HEADER advance_backward.hpp↵# include <boost/mpl/aux_/include_preprocessed.hpp>↵↵#else↵↵# include <boost/mpl/limits/unrolling.hpp>↵# include <boost/mpl/aux_/nttp_decl.hpp>↵# include <boost/mpl/aux_/config/eti.hpp>↵↵# include <boost/preprocessor/iterate.hpp>↵# include <boost/preprocessor/cat.hpp>↵# include <boost/preprocessor/inc.hpp>↵↵namespace boost { namespace mpl { namespace aux {↵↵// forward declaration↵template< BOOST_MPL_AUX_NTTP_DECL(long, N) > struct advance_backward;↵↵# define BOOST_PP_ITERATION_PARAMS_1 \↵ (3,(0, BOOST_MPL_LIMIT_UNROLLING, <boost/mpl/aux_/advance_backward.hpp>))↵# include BOOST_PP_ITERATE()↵↵// implementation for N that exceeds BOOST_MPL_LIMIT_UNROLLING↵template< BOOST_MPL_AUX_NTTP_DECL(long, N) >↵struct advance_backward↵{↵ template< typename Iterator > struct apply↵ {↵ typedef typename apply_wrap1<↵ advance_backward<BOOST_MPL_LIMIT_UNROLLING>↵ , Iterator↵ >::type chunk_result_;↵↵ typedef typename apply_wrap1<↵ advance_backward<(↵ (N - BOOST_MPL_LIMIT_UNROLLING) < 0↵ ? 0↵ : N - BOOST_MPL_LIMIT_UNROLLING↵ )>↵ , chunk_result_↵ >::type type;↵ };↵};↵↵}}}↵↵#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS↵#endif // BOOST_MPL_AUX778076_ADVANCE_BACKWARD_HPP_INCLUDED↵↵///// iteration, depth == 1↵↵// For gcc 4.4 compatability, we must include the↵// BOOST_PP_ITERATION_DEPTH test inside an #else clause.↵#else // BOOST_PP_IS_ITERATING↵#if BOOST_PP_ITERATION_DEPTH() == 1↵#define i_ BOOST_PP_FRAME_ITERATION(1)↵↵template<>↵struct advance_backward< BOOST_PP_FRAME_ITERATION(1) >↵{↵ template< typename Iterator > struct apply↵ {↵ typedef Iterator iter0;↵↵#if i_ > 0↵# define BOOST_PP_ITERATION_PARAMS_2 \↵ (3,(1, BOOST_PP_FRAME_ITERATION(1), <boost/mpl/aux_/advance_backward.hpp>))↵# include BOOST_PP_ITERATE()↵#endif↵↵ typedef BOOST_PP_CAT(iter,BOOST_PP_FRAME_ITERATION(1)) type;↵ };↵↵#if defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG)↵ /// ETI workaround↵ template<> struct apply<int>↵ {↵ typedef int type;↵ };↵#endif↵};↵↵#undef i_↵↵///// iteration, dep
Values
Token Negative-pole strength ↵↵0.103 0.465 typedef0.000 BOOST0.216 _PP0.000 _CAT0.000 (iter0.052 ,0.000 BOOST0.040 _PP0.000 _FRAME0.000 _ITER0.045 ATION0.000 (0.000 10.000 ))0.000 type0.000 ;↵0.000 0.000 };↵↵0.066 #if0.000 defined0.000 (0.032 BOOST0.173 _M0.000 PL0.000 _CFG0.000 _MS0.000 VC0.000 _0.395 61.818 01.237 _ET0.000 I0.000 _B0.059 UG0.188 )↵0.000 0.000 ///0.204 ET0.007 I0.000 -
1.68
… makeNativeMethod("poke", SamplingProfilerJniMethod::poke)});↵}↵↵SamplingProfilerJniMethod::SamplingProfilerJniMethod(jlong javaScriptContext) {↵ context_ = reinterpret_cast< …
All 414 tokens
// Copyright 2004-present Facebook. All Rights Reserved.↵↵#include "SamplingProfilerJniMethod.h"↵↵#include <JavaScriptCore/JSProfilerPrivate.h>↵↵#include <jschelpers/JSCHelpers.h>↵#include <jni.h>↵#include <string>↵↵using namespace facebook::jni;↵↵namespace facebook {↵namespace react {↵↵/* static */ jni::local_ref<SamplingProfilerJniMethod::jhybriddata>↵SamplingProfilerJniMethod::initHybrid(jni::alias_ref<jclass>,↵ jlong javaScriptContext) {↵ return makeCxxInstance(javaScriptContext);↵}↵↵/* static */ void SamplingProfilerJniMethod::registerNatives() {↵ registerHybrid(↵ {makeNativeMethod("initHybrid", SamplingProfilerJniMethod::initHybrid),↵ makeNativeMethod("poke", SamplingProfilerJniMethod::poke)});↵}↵↵SamplingProfilerJniMethod::SamplingProfilerJniMethod(jlong javaScriptContext) {↵ context_ = reinterpret_cast<JSGlobalContextRef>(javaScriptContext);↵}↵↵void SamplingProfilerJniMethod::poke(↵ jni::alias_ref<JSPackagerClientResponder::javaobject> responder) {↵ if (!JSC_JSSamplingProfilerEnabled(context_)) {↵ responder->error("The JSSamplingProfiler is disabled. See this "↵ "https://fburl.com/u4lw7xeq for some help");↵ return;↵ }↵↵ JSValueRef jsResult = JSC_JSPokeSamplingProfiler(context_);↵ if (JSC_JSValueGetType(context_, jsResult) == kJSTypeNull) {↵ responder->respond("started");↵ } else {↵ JSStringRef resultStrRef = JSValueToStringCopy(context_, jsResult, nullptr);↵ size_t length = JSStringGetLength(resultStrRef);↵ char buffer[length + 1];↵ JSStringGetUTF8CString(resultStrRef, buffer, length + 1);↵ JSStringRelease(resultStrRef);↵ responder->respond(buffer);↵ }↵}↵}↵}↵
Values
Token Negative-pole strength 0.000 make0.000 Native0.120 Method0.272 ("0.046 poke0.129 ",0.000 Sampling0.000 Profiler0.000 J0.027 ni0.139 Method0.314 ::0.600 poke0.019 )});↵0.114 }↵↵0.000 Sampling0.000 Profiler0.000 J0.006 ni0.096 Method0.230 ::0.211 Sampling0.000 Profiler0.000 J0.002 ni0.085 Method0.199 (j0.045 long0.000 java0.248 Script1.678 Context0.000 )0.000 {↵0.000 0.007 context0.000 _0.413 =0.000 reinterpret0.000 _cast0.000 <0.000 -
1.67
… otfload/fontloader-font-gbn.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-ini.lua↵share/texmf-dist/tex/ …
All 1107 tokens
@comment $NetBSD: PLIST,v 1.5 2017/06/21 08:28:43 markd Exp $↵share/texmf-dist/scripts/luaotfload/luaotfload-tool.lua↵share/texmf-dist/scripts/luaotfload/mkcharacters↵share/texmf-dist/scripts/luaotfload/mkglyphlist↵share/texmf-dist/scripts/luaotfload/mkimport↵share/texmf-dist/scripts/luaotfload/mkstatus↵share/texmf-dist/scripts/luaotfload/mktests↵share/texmf-dist/tex/luatex/luaotfload/fontloader-2017-02-11.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-basics-gen.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-basics-nod.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-basics.tex↵share/texmf-dist/tex/luatex/luaotfload/fontloader-data-con.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-afk.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-cff.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-cid.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-con.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-def.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-dsp.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-gbn.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-ini.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-lua.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-map.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-ocl.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-one.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-onr.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-osd.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-ota.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-otc.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-oti.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-otj.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-otl.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-oto.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-otr.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-ots.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-oup.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-tfm.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-font-ttf.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-fonts-demo-vf-1.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-fonts-enc.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-fonts-ext.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-fonts-syn.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-fonts.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-fonts.tex↵share/texmf-dist/tex/luatex/luaotfload/fontloader-l-boolean.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-l-file.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-l-function.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-l-io.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-l-lpeg.lua↵share/texmf-dist/tex/luatex/luaotfload/fontloader-l-lua.lua↵share
Values
Token Negative-pole strength ot0.000 f0.099 load0.000 /font0.000 loader0.000 -font0.000 -g0.000 bn0.000 .lua0.218 ↵0.009 share0.000 /t0.072 ex0.000 mf0.073 -dist0.009 /t0.000 ex0.000 /0.000 lu0.000 at0.000 ex0.069 /l0.008 ua0.000 ot0.000 f0.098 load0.000 /font0.000 loader0.000 -font0.000 -in0.000 i1.672 .lua0.086 ↵0.007 share0.000 /t0.072 ex0.000 mf0.075 -dist0.009 /t0.000 ex0.000 /0.000 -
1.67
… _broker/broker_simple_message.cc",↵ "syscall_broker/broker_simple_message.h",↵+ ]↵+ sources += [↵+ "services/libc_interceptor.cc",↵+ "services …
All 422 tokens
--- sandbox/linux/BUILD.gn.orig 2019-04-08 08:18:26 UTC↵+++ sandbox/linux/BUILD.gn↵@@ -12,12 +12,12 @@ if (is_android) {↵ }↵ ↵ declare_args() {↵- compile_suid_client = is_linux↵+ compile_suid_client = is_linux && !is_bsd↵ ↵- compile_credentials = is_linux↵+ compile_credentials = is_linux && !is_bsd↵ ↵ # On Android, use plain GTest.↵- use_base_test_suite = is_linux↵+ use_base_test_suite = is_linux && !is_bsd↵ }↵ ↵ if (is_nacl_nonsfi) {↵@@ -379,7 +379,7 @@ component("sandbox_services") {↵ public_deps += [ ":sandbox_services_headers" ]↵ }↵ ↵- if (is_nacl_nonsfi) {↵+ if (is_nacl_nonsfi || is_bsd) {↵ cflags = [ "-fgnu-inline-asm" ]↵ ↵ sources -= [↵@@ -387,6 +387,8 @@ component("sandbox_services") {↵ "services/init_process_reaper.h",↵ "services/scoped_process.cc",↵ "services/scoped_process.h",↵+ "services/syscall_wrappers.cc",↵+ "services/syscall_wrappers.h",↵ "services/yama.cc",↵ "services/yama.h",↵ "syscall_broker/broker_channel.cc",↵@@ -405,6 +407,10 @@ component("sandbox_services") {↵ "syscall_broker/broker_process.h",↵ "syscall_broker/broker_simple_message.cc",↵ "syscall_broker/broker_simple_message.h",↵+ ]↵+ sources += [↵+ "services/libc_interceptor.cc",↵+ "services/libc_interceptor.h",↵ ]↵ } else if (!is_android) {↵ sources += [↵
Values
Token Negative-pole strength _b0.377 roker0.311 /b0.843 roker0.323 _simple0.000 _message0.939 .cc0.000 ",↵0.000 0.000 "0.080 syscall0.000 _b0.254 roker0.151 /b0.696 roker0.160 _simple0.000 _message0.387 .h0.000 ",↵0.000 +0.116 0.015 ]↵0.000 +0.071 0.016 sources0.000 +=0.000 [↵0.000 +0.104 0.065 "0.096 services1.669 /lib0.000 c0.000 _inter0.000 ceptor1.561 .cc0.073 ",↵0.000 +0.068 0.009 "0.197 services1.650 -
1.62
… dereferences it to find the address of printf and calls it. ↵Trying to link this will also result in an error (error LNK2001: unresolved external symbol _mainCRTStartup). …
All 686 tokens
Q:↵↵Assembly in Visual Studio 2013 not building even after enabling Microsoft Macro Assembler↵↵I'm trying to run a pretty basic assembly file to do a little math and print the output, nothing challenging. I've followed the steps given from places such as here but my build still fails and there are errors on every single line about syntax. Errors such as:↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(22): error C2061: syntax error : identifier 'dword'↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(24): error C2061: syntax error : identifier 'add'↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(27): error C2061: syntax error : identifier 'pop'↵1>c:\users\damian\documents\visual studio 2013\projects\test345\test345\source.asm(12): error C2061: syntax error : identifier 'main'↵↵The code I'm trying to run is here. I've tried changing from cpp to c compiling, I've tried setting an entry point in the linker, and I've tried right clicking on project->Build Dependencies->Build Customizations and checking masm but none of those made any difference at all. Is there something else I'm missing?↵↵A:↵↵The code you tried to assemble uses NASM syntax. You need to configure Visual Studio to use NASM instead. ↵1) Install NASM and add it's path to the PATH environment variable.↵2) Right click on your asm file and then choose Properties->General and then choose Custom Build Tool for the Item Type field.↵3) Click on Apply.↵4) On the Custom Build Tool page set nasm -f win32 -o "$(ProjectDir)$(IntDir)%(Filename).obj" "%(FullPath)" for the Command Line field.↵5) Set the Outputs field to $(IntermediateOutputPath)%(Filename).obj ↵This will make NASM assemble your assembly source file into visual studio compatible object file.↵We are not done yet though, you need to make some changes to the assembly file before you can link it using MSVC's linker.↵1) MSVC's linker requires your functions to start with an underscore so main becomes _main.↵2) The naming convention when declaring imported APIs is different too. So extern printf becomes extern __imp__printf↵3) Call instructions to imported APIs are different too. call printf becomes call [__imp__printf]. The address of printf will be stored in an import table entry and our instruction dereferences it to find the address of printf and calls it. ↵Trying to link this will also result in an error (error LNK2001: unresolved external symbol _mainCRTStartup). The way I beat this is including a c file with a dummy function that does nothing. That way, the CRT startup stub gets linked. (If there is a better method, suggest it in the comments).↵↵
Values
Token Negative-pole strength dere0.000 ferences0.000 it0.022 to0.000 find0.012 the0.000 address0.000 of0.000 printf0.000 and0.000 calls0.000 it0.000 .0.010 ↵0.000 Trying0.025 to0.018 link0.000 this0.083 will0.041 also0.000 result0.000 in0.000 an0.000 error0.000 (0.000 error0.000 L0.740 NK0.000 20.000 00.250 01.623 10.047 :0.557 unresolved0.000 external0.000 symbol0.000 _0.000 main0.000 CRT0.000 Startup0.000 ).0.058 -
1.55
… "↵#elif defined(__clang__)↵#pragma clang diagnostic push↵#pragma clang diagnostic ignored "-Wparentheses-equality"↵#endif↵↵/***********************************************************************↵Reflection↵***********************************************************************/↵↵namespace vl↵{↵ namespace reflection↵ {↵ namespace …
All 253 tokens
/***********************************************************************↵!!!!!! DO NOT MODIFY !!!!!!↵↵GacGen.exe Resource.xml↵↵This file is generated by Workflow compiler↵https://github.com/vczh-libraries↵***********************************************************************/↵↵#ifndef VCZH_WORKFLOW_COMPILER_GENERATED_DEMOREFLECTION↵#define VCZH_WORKFLOW_COMPILER_GENERATED_DEMOREFLECTION↵↵#include "Demo.h"↵#ifndef VCZH_DEBUG_NO_REFLECTION↵#include "GacUIReflection.h"↵#endif↵↵#if defined( _MSC_VER)↵#pragma warning(push)↵#pragma warning(disable:4250)↵#elif defined(__GNUC__)↵#pragma GCC diagnostic push↵#pragma GCC diagnostic ignored "-Wparentheses-equality"↵#elif defined(__clang__)↵#pragma clang diagnostic push↵#pragma clang diagnostic ignored "-Wparentheses-equality"↵#endif↵↵/***********************************************************************↵Reflection↵***********************************************************************/↵↵namespace vl↵{↵ namespace reflection↵ {↵ namespace description↵ {↵#ifndef VCZH_DEBUG_NO_REFLECTION↵ DECL_TYPE_INFO(::demo::MainWindow)↵ DECL_TYPE_INFO(::demo::MainWindowConstructor)↵#endif↵↵ extern bool LoadDemoTypes();↵ }↵ }↵}↵↵#if defined( _MSC_VER)↵#pragma warning(pop)↵#elif defined(__GNUC__)↵#pragma GCC diagnostic pop↵#elif defined(__clang__)↵#pragma clang diagnostic pop↵#endif↵↵#endif↵
Values
Token Negative-pole strength "↵0.000 #elif0.000 defined0.000 (__0.000 clang0.000 __)↵0.000 #pragma0.000 clang0.000 diagnostic0.729 push0.072 ↵0.000 #pragma0.000 clang0.000 diagnostic0.609 ignored0.207 "-0.000 W0.000 paren0.240 theses0.000 -e0.000 quality0.081 "↵0.000 #endif0.000 ↵↵0.000 /****************************************************************0.000 *******↵0.000 Reflection0.879 ↵0.000 ****************************************************************0.046 *******/↵↵0.000 namespace1.546 vl0.000 ↵0.091 {↵0.000 namespace0.814 reflection0.258 ↵0.065 0.065 {↵0.000 0.000 namespace0.305 -
1.45
<?xml version="1.0" encoding="UTF-8"?>
↵<segment>
↵ <name …
All 714 tokens
<?xml version="1.0" encoding="UTF-8"?> ↵<segment> ↵ <name>PD1</name> ↵ <description>Patient Additional Demographic</description> ↵ <elements> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.1</name> ↵ <description>Living Dependency</description> ↵ <datatype>IS</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.2</name> ↵ <description>Living Arrangement</description> ↵ <datatype>IS</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.3</name> ↵ <description>Patient Primary Facility</description> ↵ <datatype>XON</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.4</name> ↵ <description>Patient Primary Care Provider Name & ID No.</description> ↵ <datatype>XCN</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.5</name> ↵ <description>Student Indicator</description> ↵ <datatype>IS</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.6</name> ↵ <description>Handicap</description> ↵ <datatype>IS</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.7</name> ↵ <description>Living Will Code</description> ↵ <datatype>IS</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.8</name> ↵ <description>Organ Donor Code</description> ↵ <datatype>IS</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.9</name> ↵ <description>Separate Bill</description> ↵ <datatype>ID</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.10</name> ↵ <description>Duplicate Patient</description> ↵ <datatype>CX</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.11</name> ↵ <description>Publicity Code</description> ↵ <datatype>CE</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.12</name> ↵ <description>Protection Indicator</description> ↵ <datatype>ID</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.13</name> ↵ <description>Protection Indicator Effective Date</description> ↵ <datatype>DT</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.14</name> ↵ <description>Place of Worship</description> ↵ <datatype>XON</datatype> ↵ </field> ↵ <field minOccurs="0" maxOccurs="0"> ↵ <name>PD1.15</name> ↵ <description>Advance Directive Code</description>
Values
Token Negative-pole strength <?0.000 xml0.000 version0.000 ="0.049 10.138 .0.000 00.816 "0.106 encoding0.214 ="0.514 UTF1.447 -0.000 80.000 "0.259 ?> ↵0.000 <0.072 segment0.058 > ↵0.000 0.028 <0.044 name0.114 -
1.27
… 0,↵↵ NPC_YAUJ_BROOD = 15621↵};↵↵struct MANGOS_DLL_DECL boss_kriAI : public ScriptedAI↵{↵ boss_kri …
All 852 tokens
/**↵ * ScriptDev2 is an extension for mangos providing enhanced features for↵ * area triggers, creatures, game objects, instances, items, and spells beyond↵ * the default database scripting in mangos.↵ *↵ * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/>↵ *↵ * 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 2 of the License, or↵ * (at your option) any later version.↵ *↵ * This program is distributed in the hope that it will be useful,↵ * but WITHOUT ANY WARRANTY; without even the implied warranty of↵ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the↵ * GNU General Public License for more details.↵ *↵ * You should have received a copy of the GNU General Public License↵ * along with this program; if not, write to the Free Software↵ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA↵ *↵ * World of Warcraft, and all World of Warcraft or Warcraft art, images,↵ * and lore are copyrighted by Blizzard Entertainment, Inc.↵ */↵↵/**↵ * ScriptData↵ * SDName: bug_trio↵ * SD%Complete: 75↵ * SDComment: Summon Player spell NYI; Poison Cloud damage spell NYI; Timers need adjustments↵ * SDCategory: Temple of Ahn'Qiraj↵ * EndScriptData↵ */↵↵#include "precompiled.h"↵#include "temple_of_ahnqiraj.h"↵↵enum↵{↵ // kri↵ SPELL_CLEAVE = 26350,↵ SPELL_TOXIC_VOLLEY = 25812,↵ SPELL_SUMMON_CLOUD = 26590, // summons 15933↵↵ // vem↵ SPELL_CHARGE = 26561,↵ SPELL_VENGEANCE = 25790,↵ SPELL_KNOCKBACK = 26027,↵↵ // yauj↵ SPELL_HEAL = 25807,↵ SPELL_FEAR = 26580,↵↵ NPC_YAUJ_BROOD = 15621↵};↵↵struct MANGOS_DLL_DECL boss_kriAI : public ScriptedAI↵{↵ boss_kriAI(Creature* pCreature) : ScriptedAI(pCreature)↵ {↵ m_pInstance = (ScriptedInstance*)pCreature->GetInstanceData();↵ Reset();↵ }↵↵ ScriptedInstance* m_pInstance;↵↵ uint32 m_uiCleaveTimer;↵ uint32 m_uiToxicVolleyTimer;↵↵ void Reset() override↵ {↵ m_uiCleaveTimer = urand(4000, 8000);↵ m_uiToxicVolleyTimer = urand(6000, 12000);↵ }↵↵ void JustDied(Unit* /*pKiller*/) override↵ {↵ // poison cloud on death↵ DoCastSpellIfCan(m_creature, SPELL_SUMMON_CLOUD, CAST_TRIGGERED);↵↵ if (!m_pInstance)↵ {↵ return;↵ }↵↵ // If the other 2 bugs are still alive, make unlootable↵ if (m_pInstance->GetData(TYPE_BUG_TRIO) != DONE)↵ {↵ m_creature->RemoveFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_LOOTABLE);↵ m_pInstance->SetData(TYPE_BUG_TRIO, SPECIAL);↵ }↵ }↵↵ void JustReachedHome() override↵ {↵ if (m_pInstance)↵ {↵ m_pInstance->SetData(TYPE_BUG_TRIO, FAIL);↵ }↵ }↵↵ void UpdateAI(const uint32 uiDiff) override↵ {↵ // Return s
Values
Token Negative-pole strength 00.000 ,↵↵0.000 0.000 NPC0.000 _Y0.156 AU0.000 J0.008 _B0.011 RO0.000 OD0.000 0.000 =0.192 0.000 10.000 50.000 60.000 20.046 10.000 ↵0.000 };↵↵0.000 struct0.000 M0.064 ANG0.130 OS0.090 _DLL0.000 _DECL0.000 boss0.000 _k0.028 ri0.000 AI0.000 :1.273 public0.323 Script0.394 ed0.054 AI0.000 ↵0.126 {↵0.000 0.000 boss0.000 _k0.008 ri0.000 -
1.18
… :@"{"];↵ [buffer appendString:[[[NSString alloc] initWithFormat:@"BoxUsage: %@,", boxUsage] autorelease]];↵ [buffer appendString:[super description]];↵ [buffer appendString:@"}"];↵↵ …
All 356 tokens
/*↵ * Copyright 2010-2013 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" file accompanying this file. This file is distributed↵ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either↵ * express or implied. See the License for the specific language governing↵ * permissions and limitations under the License.↵ */↵↵#import "SimpleDBMissingParameterException.h"↵↵↵↵↵@implementation SimpleDBMissingParameterException↵↵@synthesize boxUsage;↵↵↵-(id)initWithMessage:(NSString *)theMessage↵{↵ if (self = [super initWithMessage:theMessage]) {↵ }↵↵ return self;↵}↵↵↵-(void)setPropertiesWithException:(AmazonServiceException *)theException↵{↵ [super setPropertiesWithException:theException];↵↵ if ([theException.additionalFields valueForKey:@"BoxUsage"] != nil) {↵ self.boxUsage = [AmazonSDKUtil convertStringToNumber:[theException.additionalFields valueForKey:@"BoxUsage"]];↵ }↵}↵↵↵-(NSString *)description↵{↵ NSMutableString *buffer = [[NSMutableString alloc] initWithCapacity:256];↵↵ [buffer appendString:@"{"];↵ [buffer appendString:[[[NSString alloc] initWithFormat:@"BoxUsage: %@,", boxUsage] autorelease]];↵ [buffer appendString:[super description]];↵ [buffer appendString:@"}"];↵↵ return [buffer autorelease];↵}↵↵↵-(void)dealloc↵{↵ [boxUsage release];↵↵ [super dealloc];↵}↵↵@end↵
Values
Token Negative-pole strength :@"0.001 {"0.000 ];↵0.000 0.047 [0.000 buffer0.103 appendString0.000 :[0.000 [[0.000 NSString0.000 alloc0.000 ]0.000 initWith0.000 Format0.000 :@"0.000 Box0.006 Usage0.229 :0.000 %@0.293 ,",0.111 box0.000 Usage0.133 ]0.000 autorelease0.025 ]];↵0.000 0.045 [0.000 buffer0.054 appendString0.000 :[0.000 super1.184 description0.005 ]];↵0.002 0.066 [0.000 buffer0.091 appendString0.000 :@"0.000 }0.000 "];↵↵0.000 0.000 -
1.15
… installing it, and at least you can watch some TV while downloading and↵compiling.↵With VDRCONVERT you have to↵change some scripts and configuration files to adapt the DVD/(S)V …
All 631 tokens
Go back to /usr/src/vdr-1.2.5 and run runvdr.remote. If↵you use Red Hat, set the environment variable↵LD_ASSUME_KERNEL=2.4.1, because VDR doesn't yet work with the native↵posix layer that Red Hat introduced in the latest version. The modules for↵the DVB card then are loaded, and the VDR is started. Hook up your TV,↵and you should see a black screen prompting you to define the keys on your↵remote. After finishing the wizard, you're ready to watch TV, record↵shows and remove commercials. You can listen to your MP3s and watch↵videos. There's a manual in VDR's root that explains↵how to record and edit TV events, using the time-shift feature.↵↵Back It Up↵↵In case you're disappointed that the end of the article is within reach,↵don't worry; there still are some optional things you can do. The automatic↵backup feature has some limitations. Although the (S)VCD backup works↵flawlessly, the DivX encoding does not crop the picture to remove↵black bands, should they exist. This has quite a negative↵impact on bit rate, size and overall picture quality. If you really↵want a high-quality, small-size MPEG-4, you should back it up manually.↵The improved picture quality is well worth the trouble.↵↵Figure 3. The information bar shows the program name, running TV show and what's↵on next.↵↵VDR splits its recordings into 2GB files, which is a bit inconvenient↵for transcoding the videos. If you go for manual conversion, which↵gives you finer control over the quality/size aspect, mencoder or↵transcode are good options. Use the speedy mencoder, which I found to↵be perfect for backups to MPEG-4, or transcode, which comes with a lot of↵tools. If you favor the I-don't-want-to-care approach, get a hold↵of VDRCONVERT.↵The README file offers a pretty simple approach to↵installing it, and at least you can watch some TV while downloading and↵compiling.↵With VDRCONVERT you have to↵change some scripts and configuration files to adapt the DVD/(S)VCD↵resolutions to NTSC, in case PAL is not used where you live.↵↵It's too bad that a Linux PVR doesn't make the TV↵programs themselves any better, but I guess you can't have↵everything, can you?↵↵Christian A. Herzog is a programmer focused on Web development using↵open-source technologies. He's still on his never-ending quest to bring a↵Linux-based device to every home and company he comes across.↵Write him at██████.↵↵Comment viewing options↵↵I was wonder if you could also include a connection diagram . I was looking at the nexus-s card and didn't see a TV out, just a loop connection is this the connection used for the TV. Or are using additional card to get the TV output?
Values
Token Negative-pole strength install0.000 ing0.101 it0.057 ,0.000 and0.000 at0.000 least0.021 you0.016 can0.072 watch0.000 some0.000 TV0.000 while0.040 downloading0.000 and0.000 ↵0.059 comp0.000 iling0.000 .↵0.000 With0.000 V0.044 DR0.020 CON0.075 VERT0.021 you0.052 have0.247 to0.000 ↵0.000 change0.130 some0.011 scripts1.146 and0.000 configuration0.000 files0.000 to0.191 adapt0.000 the0.001 DVD0.001 /(0.000 S0.000 )V0.243 -
0.97
… memory for processing the on-chip DWT/IDWT data. Thus, such publications have primarily focused on how to: minimize the read and write access to the external memory; reduce the on-chip …
All 587 tokens
The VC-2 video compression standard is an open free-use video-decoding standard contributed by British Broadcasting Corporation (BBC) to the Society of Motion Picture and Television Engineers (SMPTE) standard. The VC-2 standard uses discrete-wavelet-transform (DWT) and interleaved exponential-Golomb (IEG) variable-length-encoding to achieve the desired video compression. Originally designed to compete with the prevailing H.264 standard, it is expected that DWT results in fewer blocky artifacts than the prevailing discrete-cosine-transform (DCT)-based systems. To achieve the low-delay requirement in a serial data interface (SDI) transmission system, SMPTE standardized two low-delay profiles, which include the level-64 using the (2, 2) DWT, and the level-65, using the overlapped (5, 3) DWT. It has been shown that in order to fit a high definition (HD) video into a standard definition SDI (SD-SDI) payload with excellent video quality, the level-65 compression is required.↵The VC-2 level-65 is a subset of the low-delay profile with the following attributes: 1. 4:2:2 10-bit sampling with supported resolutions 1920×1080i29.97, 1920×1080i25, 1280×720p59.94, 1280×720p50. 2. The codec uses only Low-Delay Profile. 3. The codec uses only the LeGall (5, 3) wavelet transform (wavelet index=1). 4. The wavelet depth is exactly 3 levels. 5. The slice size is fixed to be 16 (horizontal)×8 (vertical) in luminance and 8 (horizontal)×8 (vertical) in chrominance. ↵Conventionally, overlapped DWT is used in the JPEG-2000 standard which is used extensively in digital cameras and medical imaging systems. In the literature, there are many publications on how to reduce the implementation complexity of 2-D DWT. A common property of this technology is that JPEG-2000 based implementation uses an external frame-buffer memory for processing the on-chip DWT/IDWT data. Thus, such publications have primarily focused on how to: minimize the read and write access to the external memory; reduce the on-chip internal memory; speed up data processing; and choose a scan scheme to minimize the memory usage. However, an external memory typically increases costs associated with the chip package size and power consumption, as well as the overall system complexity and bill-of-material (BOM) costs.
Values
Token Negative-pole strength memory0.000 for0.000 processing0.377 the0.272 on0.000 -ch0.218 ip0.000 D0.228 WT0.231 /0.000 ID0.096 WT0.107 data0.000 .0.386 Thus0.054 ,0.000 such0.000 publications0.000 have0.068 primarily0.000 focused0.000 on0.018 how0.000 to0.000 :0.000 minimize0.000 the0.024 read0.119 and0.000 write0.316 access0.967 to0.020 the0.123 external0.000 memory0.000 ;0.000 reduce0.017 the0.002 on0.000 -ch0.167 ip0.000
Read more
Each token is shaded by negative-pole strength, as a fraction of the neuron's max activation. Each window shows up to 30 tokens before the peak and 10 after it.
Activation and mechanism
Activation distribution
Negative-pole strength per token; bar height is log(1 + count).
Mechanism
Claimed retrospective: responds to tokens already in context.
Vocabulary projection
The tokens that this unit's output raises and lowers most.
| Jacobian lens | Logit lens | |
|---|---|---|
| Promotes | (£ £ � � � Welsh Wales organising |
(rawValueudesivesposé(rowIndexcern sıkıntı.findIndex |
| Suppresses | mallocmallocMallocscanf(NULL printf scanfprintf |
≪ритор/mm佚tí🏽㎞IFn |
This record predates vocabulary z-scores, so the tokens are listed without bars.
Top-10 overlap 0% · cos(w, J·w) 0.16 · kurtosis 4.1 (Jacobian) / 3.2 (logit) · 100 prompts
Read more
The output direction is read through the final norm and the unembedding. The Jacobian lens first carries it to the last layer. Bar length is the token's z-score over the vocabulary, and ␣ marks a space. A kurtosis near 3 means no specific set of tokens.
Wiring
The units that write most directly into this pole (upstream) and read most directly from it (downstream). See its circuit.
Read more
"Directly" means along the residual stream, through no other unit. Linked units have pages in the registry. Reported, not gated. Backfilled after the review by open-interpretability wiring-backfill, from the record's model revision and the review's prompts. It is not part of the record.
From the weights. Virtual weights, with each norm's gain folded in. They rank units but have no absolute scale. Each number is how much one unit reads of the other's write. It is signed when one vector reads another (+ means a positive activation raises the read), and a norm otherwise. Heads count through their OV circuit upstream, and through their Q, K and V reads downstream. Channels are on hover.
From activations. Averaged over this pole's peak on 12 of the review's prompts where it fired. Upstream: the first-order change in its strength when a unit's direct write is removed (+ excites). Downstream: the change in a later unit when this pole's write is removed from that unit's input alone (one of Q, K or V for a head).
From the weights
Upstream neurons
| L3/N4735 | gate | -0.125 |
| L3/N4731 | gate | -0.108 |
| L3/N2558 | gate | +0.102 |
| L3/N4639 | gate | +0.0994 |
| L1/N946 | up | +0.0988 |
| L3/N3127 | gate | -0.0981 |
| L1/N2779 | gate | -0.0923 |
| L2/N4715 | gate | +0.0884 |
| L2/N2814 | gate | -0.087 |
| L0/N2100 | up | +0.0846 |
Upstream heads
| L4/H9 | gate | +0.347 |
| L4/H12 | gate | +0.26 |
| L4/H13 | gate | +0.195 |
| L4/H7 | gate | +0.194 |
| L4/H10 | gate | +0.18 |
| L4/H11 | gate | +0.171 |
| L4/H3 | gate | +0.112 |
| L4/H8 | gate | +0.111 |
| L3/H3 | gate | +0.103 |
| L3/H8 | up | +0.076 |
Downstream neurons
| L5/N804 | gate | -0.317 |
| L21/N567 | gate | +0.224 |
| L5/N2653 | gate | -0.174 |
| L5/N2818 | gate | -0.165 |
| L5/N2169 | gate | -0.156 |
| L6/N2391 | gate | +0.155 |
| L5/N1072 | gate | -0.15 |
| L5/N1495 | gate | +0.146 |
| L12/N765 | gate | +0.146 |
| L5/N4771 | gate | +0.145 |
Downstream heads
| L8/H3 | q | +0.607 |
| L21/H7 | v | +0.457 |
| L21/H8 | v | +0.457 |
| L21/H9 | v | +0.457 |
| L21/H10 | v | +0.457 |
| L21/H11 | v | +0.457 |
| L21/H12 | v | +0.457 |
| L21/H13 | v | +0.457 |
| L21/H0 | v | +0.454 |
| L21/H1 | v | +0.454 |
From activations
Upstream neurons
| L3/N2370 | +0.133 | |
| L1/N2351 | +0.117 | |
| L0/N1799 | -0.111 | |
| L3/N2673 | -0.11 | |
| L2/N4715 | +0.0954 | |
| L1/N2696 | +0.0849 | |
| L3/N2322 | +0.0756 | |
| L1/N964 | -0.0718 | |
| L3/N2558 | +0.071 | |
| L1/N1286 | +0.0582 |
Upstream heads
| L4/H13 | +0.641 | |
| L4/H12 | -0.56 | |
| L1/H3 | +0.526 | |
| L4/H9 | +0.497 | |
| L4/H10 | +0.401 | |
| L4/H11 | +0.326 | |
| L1/H10 | -0.215 | |
| L1/H5 | +0.187 | |
| L3/H10 | -0.174 | |
| L4/H7 | -0.163 |
Downstream neurons
| L5/N804 | -0.45 | |
| L5/N2706 | +0.351 | |
| L23/N1341 | -0.344 | |
| L23/N3728 | +0.298 | |
| L5/N2441 | -0.273 | |
| L5/N2653 | +0.233 | |
| L23/N2788 | -0.231 | |
| L5/N1460 | +0.226 | |
| L5/N2169 | -0.223 | |
| L5/N1908 | +0.199 |
Downstream heads
| L5/H9 | v | +0.374 |
| L12/H0 | v | +0.258 |
| L10/H6 | v | +0.235 |
| L14/H10 | v | +0.224 |
| L8/H3 | v | +0.214 |
| L21/H9 | v | +0.193 |
| L14/H1 | v | +0.183 |
| L13/H3 | v | +0.16 |
| L5/H7 | v | +0.105 |
| L23/H1 | v | +0.102 |
Covariance and confounds
Confounds
- Token identity R²
- 0.42
- Position R²
- 0.01
- Frequency r
- 0.15
- Best trivial baseline
- token identity · 0.50
- Hypothesis
- 0.67 ✓
servicesceptorScriptsuper_HPPnamespace namespace/dist.hpp/bleton responder
Co-activating neuron poles
| Pole | Lift ≥ | Both | ρ | r |
|---|---|---|---|---|
| N2733− | 35.3 | 108 | +0.04 | -0.09 |
| N13+ | 15.7 | 53 | -0.04 | +0.00 |
| N632+ | 15.1 | 51 | -0.05 | -0.03 |
| N2210+ | 15.1 | 51 | +0.01 | +0.04 |
| N4009− | 14.0 | 48 | +0.05 | -0.03 |
| N2379− | 13.4 | 46 | -0.02 | -0.00 |
| N1235− | 13.0 | 45 | +0.04 | -0.01 |
| N2625+ | 12.7 | 44 | +0.02 | +0.03 |
| N2865+ | 12.4 | 43 | +0.01 | +0.01 |
| N1503+ | 11.7 | 41 | +0.07 | +0.05 |
Read more
Ranked by the 95% lower bound of co-activation lift: how much more often a pole fires when this one does, with chance coincidences discounted. ρ ranks the values, so heavy tails don't sway it.
Joint ablation
- Partners
- N2733, N13, N632
- KL pole alone
- 1.98e-04
- KL partners
- 7.46e-03
- KL together
- 7.62e-03
- Redundancy ratio
- 0.83
The partners don't change the pole's effect much.
Run details
- Submitted by
- deepseek-flash
- Reviewed by
- deepseek-flash (same model as the proposer: not an independent review)
- Reviewed at
- 2026-10-20 11:19 UTC
- Max activation
- 1.9007
- Selection
- manual
- Corpus
- corpus.jsonl · 212,232 tokens · source NeelNanda/pile-10k@127bfedc (data/*.parquet, first 500 docs) (inferred) · licence bigscience-bloom-rail-1.0
- Model revision
- 060db6499f32 · float32
- Ran on
- scan cpu · review cpu