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
import java.util.Scanner; | |
public class SampleMain { | |
public static void main(String [] args) { | |
Scanner scanner = new Scanner(System.in); | |
// validate input | |
String validInput = validateInput(scanner); | |
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
int set_data_source_fd(State **ps, int fd, int64_t offset, int64_t length) { | |
char path[256] = ""; | |
State *state = *ps; | |
ANativeWindow *native_window = NULL; | |
if (state && state->native_window) { | |
native_window = state->native_window; | |
} |
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
#!/bin/bash | |
USAGE=$'Usage: | |
./libcurl_builder <options> | |
Required: | |
-c <curl_directory> The top level curl directory | |
-s <openssl_directory> The top level openssl directory | |
-n <ndk_directory> The top level ndk directory |