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 {NgModule} from '@angular/core'; | |
| import {AppComponent} from './app.component'; | |
| import {DEBUG, INFO, LoggingConfiguration} from './shared/utils/logging.service'; | |
| @NgModule({ | |
| declarations: [ | |
| AppComponent | |
| ], | |
| imports: [ |
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
| cmake_minimum_required(VERSION 3.6) | |
| project(test-app) | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -openmp -fopenmp") | |
| set(SOURCE_FILES main.cpp easylogging++.h) | |
| add_executable(test-app ${SOURCE_FILES}) |
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
| cmake_minimum_required(VERSION 2.8) | |
| set (PROJECT server) | |
| project (${PROJECT}) | |
| include_directories(include) | |
| AUX_SOURCE_DIRECTORY(src SRC1) | |
| set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -std=gnu++11") | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") | |
| add_executable (${PROJECT} ${SRC1} ${CMAKE_C_FLAGS}) |
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
| private void processOthers(Set<PosixFilePermission> perms, byte b) { | |
| if ((b & 0b1) != 0) | |
| perms.add(PosixFilePermission.OTHERS_EXECUTE); | |
| if ((b & 0b10) != 0) | |
| perms.add(PosixFilePermission.OTHERS_WRITE); | |
| if ((b & 0b100) != 0) | |
| perms.add(PosixFilePermission.OTHERS_READ); | |
| } |
NewerOlder