MCPcopy Create free account
hub / github.com/Evolving-AI-Lab/fooling / BoolFromGTestEnv

Function BoolFromGTestEnv

caffe/src/gtest/gtest-all.cpp:8509–8514  ·  view source on GitHub ↗

Reads and returns the Boolean environment variable corresponding to the given flag; if it's not set, returns default_value. The value is considered true iff it's not "0".

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

gtest-all.cppFile · 0.85

Calls 2

FlagToEnvVarFunction · 0.85
GetEnvFunction · 0.85

Tested by

no test coverage detected