スペースを指定したい時は\sを使いましょう。
例:
Log.d("hoge", "text A" );
Log.d("hoge", "text B" );
というログを両方ヒットさせたい時
text A|text B
text\sA|text\sB
前者の場合、
"text"と、Aまたは"text"と、Bを含む文字列がフィルタされます。
text A|text B
text\sA|text\sB
// enqueue a buffer and start playing
CK_SL_VERIFY( (*g_playerBufferQueue)->Enqueue(g_playerBufferQueue, g_buf, k_bufSamples * sizeof(int16)) );
CK_SL_VERIFY( (*g_playerPlay)->SetPlayState(g_playerPlay, SL_PLAYSTATE_PLAYING) );
// enqueue a buffer and start playing
CK_SL_VERIFY( (*g_playerBufferQueue)->Enqueue(g_playerBufferQueue, g_buf, k_bufSamples * sizeof(int16)) );
CK_SL_VERIFY( (*g_playerBufferQueue)->Enqueue(g_playerBufferQueue, g_buf, k_bufSamples * sizeof(int16)) );
CK_SL_VERIFY( (*g_playerPlay)->SetPlayState(g_playerPlay, SL_PLAYSTATE_PLAYING) );
extern "C" {
#include "foo.h"
}
public class SampleTest extends ActivityUnitTestCase<MainActivity> {
public SampleTest (
Class<MainActivity> activityClass) {
super(activityClass);
}
}
このコードだと以下のようなエラーを吐いて、テストが始まる前に落ちる。 public SampleTest ( ) {
super(MainActivity.class);
}
}
switch( hoge ){
case 0:
int i; // expected expression
break;
}
switch( hoge ){
case 0:
{
int i;
break;
}
}
[self performSelectorOnMainThread:@selector(updateSlider) withObject:nil waitUntilDone:NO];
ExtAudioFileRead(fileReference, &size, buffer);
for(UInt32 i=0 ; isourceBuffer->mNumberBuffers ; i++){
buffer->mBuffers[i].mDataByteSize = BUFF_SIZE;
}