MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / Set

Method Set

tests/external/gmock-1.7.0/gtest/samples/sample2.cc:51–56  ·  view source on GitHub ↗

Sets the 0-terminated C string this MyString object represents.

Source from the content-addressed store, hash-verified

49// Sets the 0-terminated C string this MyString object
50// represents.
51void MyString::Set(const char* a_c_string) {
52 // Makes sure this works when c_string == c_string_
53 const char* const temp = MyString::CloneCString(a_c_string);
54 delete[] c_string_;
55 c_string_ = temp;
56}

Callers 15

TESTFunction · 0.80
SetUpMethod · 0.80
TESTFunction · 0.80
AddTestInfoFunction · 0.80
GetCurrentExecutableNameFunction · 0.80
FuseGTestHFunction · 0.80
FuseGTestAllCcToFileFunction · 0.80
AddTestInfoFunction · 0.80
GetCurrentExecutableNameFunction · 0.80

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.64
SetUpMethod · 0.64
TESTFunction · 0.64
AddTestInfoFunction · 0.64
GetCurrentExecutableNameFunction · 0.64
FuseGTestHFunction · 0.64
FuseGTestAllCcToFileFunction · 0.64
AddTestInfoFunction · 0.64
GetCurrentExecutableNameFunction · 0.64