Esempio n. 1
0
		void init_ts() {
		#if !INQP_TEST_USE_BLOCK
			debug_->debug("its0");

			#if VECTOR_STATIC_OUTSOURCE
				container.set_data(tuple_data_);
			debug_->debug("its1");
				container.set_size(VECTOR_STATIC_SIZE);
			#endif
			debug_->debug("its2");
			#if STATIC_DICTIONARY_OUTSOURCE
				dictionary.set_data(dict_data_);
			#endif

			debug_->debug("its3");
			dictionary.init(debug_);
			debug_->debug("its4");
			ts.init(&dictionary, &container, debug_);
		#else
			block_memory_.physical().init();
			delay(1000);
			block_memory_.init();
			block_allocator_.init(&block_memory_, debug_);
			container.init(&block_allocator_, debug_);
			dictionary.init(&block_allocator_, debug_);
		#endif
			debug_->debug("its5");
		}
Esempio n. 2
0
		void init_ts() {
		#if !INQP_TEST_USE_BLOCK
			dictionary.init(debug_);
			ts.init(&dictionary, &container, debug_);
		#else
			block_memory_.physical().init();
			delay(1000);
			block_memory_.init();
			block_allocator_.init(&block_memory_, debug_);
			container.init(&block_allocator_, debug_);
			dictionary.init(&block_allocator_, debug_);
		#endif
			
			//debug_->debug("tsi don");
		}