This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% sample watchman | |
Sampling process 1877 for 10 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Sample analysis of process 1877 written to file /tmp/watchman_2016-08-12_090108_qS3o.sample.txt | |
Analysis of sampling watchman (pid 1877) every 1 millisecond | |
Process: watchman [1877] | |
Path: /usr/local/bin/watchman | |
Load Address: 0x103d27000 | |
Identifier: watchman |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** classify21.g4 | |
Automatically generated Unicode 9.0.0 codepoint classification grammar. | |
Generated by "makeGrammars.py". | |
Author: Jonathan D. Lettvin ([email protected]) | |
Date: 20161023 | |
Legal: Copyright(c) Jonathan D. Lettvin, All Rights Reserved | |
License:GPL 3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class CodePointCounter { | |
private final String input; | |
public int inputIndex = 0; | |
public int codePointIndex = 0; | |
public int advanceToIndex(int newCodePointIndex) { | |
assert newCodePointIndex >= codePointIndex; | |
while (codePointIndex < newCodePointOffset) { | |
int codePoint = Character.codePointAt(input, inputIndex); | |
inputIndex += Character.charCount(codePoint); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma mark - UIScrollViewDelegate | |
- (void)scrollViewDidScroll:(UIScrollView *)scrollView { | |
if (scrollView == self.headerViewController.headerView.trackingScrollView) { | |
[self.headerViewController.headerView trackingScrollViewDidScroll]; | |
} | |
} | |
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView { | |
if (scrollView == self.headerViewController.headerView.trackingScrollView) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% clang++ --version | |
Apple clang version 15.0.0 (clang-1500.0.40.1) | |
Target: arm64-apple-darwin23.2.0 | |
Thread model: posix | |
InstalledDir: /Applications/Xcode_15.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin | |
% cat test.cc | |
#include <stdio.h> | |
namespace foo { |
OlderNewer