This file contains 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
#!/usr/bin/env bash | |
###### Module specific parameters starts ###### | |
MODULE_PATH='hardware/interfaces/automotive/vehicle/2.0/default/' | |
MODULE_INSTALL_PATH='data/nativetest64/vehicle-tests' | |
INSTRUMENTED_BINARY_NAME='vehicle-tests' | |
REMOTE_COVERAGE_OUTPUT_DIR='/data/local/tmp/nativetest64/' | |
SOONG_INTERMEDIATES="out/soong/.intermediates" | |
GCNO_DIR="$SOONG_INTERMEDIATES/$MODULE_PATH" |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int compareIntegers(const void *a, const void *b) { | |
return (*(int*)a - *(int*)b); | |
} | |
int solve(int* sec_values, char* s) { | |
int n = strlen(s); |