亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? gtest-filepath.h

?? Search s framework 老外寫的
?? H
字號:
// Copyright 2008, Google Inc.// All rights reserved.//// Redistribution and use in source and binary forms, with or without// modification, are permitted provided that the following conditions are// met:////     * Redistributions of source code must retain the above copyright// notice, this list of conditions and the following disclaimer.//     * Redistributions in binary form must reproduce the above// copyright notice, this list of conditions and the following disclaimer// in the documentation and/or other materials provided with the// distribution.//     * Neither the name of Google Inc. nor the names of its// contributors may be used to endorse or promote products derived from// this software without specific prior written permission.//// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.//// Author: keith.ray@gmail.com (Keith Ray)//// Google Test filepath utilities//// This header file declares classes and functions used internally by// Google Test.  They are subject to change without notice.//// This file is #included in testing/base/internal/gtest-internal.h// Do not include this header file separately!#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_#define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_#include <gtest/internal/gtest-string.h>namespace testing {namespace internal {// FilePath - a class for file and directory pathname manipulation which// handles platform-specific conventions (like the pathname separator).// Used for helper functions for naming files in a directory for xml output.// Except for Set methods, all methods are const or static, which provides an// "immutable value object" -- useful for peace of mind.// A FilePath with a value ending in a path separator ("like/this/") represents// a directory, otherwise it is assumed to represent a file. In either case,// it may or may not represent an actual file or directory in the file system.// Names are NOT checked for syntax correctness -- no checking for illegal// characters, malformed paths, etc.class FilePath { public:  FilePath() : pathname_("") { }  FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }  explicit FilePath(const char* pathname) : pathname_(pathname) {    Normalize();  }  explicit FilePath(const String& pathname) : pathname_(pathname) {    Normalize();  }  FilePath& operator=(const FilePath& rhs) {    Set(rhs);    return *this;  }  void Set(const FilePath& rhs) {    pathname_ = rhs.pathname_;  }  String ToString() const { return pathname_; }  const char* c_str() const { return pathname_.c_str(); }  // Returns the current working directory, or "" if unsuccessful.  static FilePath GetCurrentDir();  // Given directory = "dir", base_name = "test", number = 0,  // extension = "xml", returns "dir/test.xml". If number is greater  // than zero (e.g., 12), returns "dir/test_12.xml".  // On Windows platform, uses \ as the separator rather than /.  static FilePath MakeFileName(const FilePath& directory,                               const FilePath& base_name,                               int number,                               const char* extension);  // Returns a pathname for a file that does not currently exist. The pathname  // will be directory/base_name.extension or  // directory/base_name_<number>.extension if directory/base_name.extension  // already exists. The number will be incremented until a pathname is found  // that does not already exist.  // Examples: 'dir/foo_test.xml' or 'dir/foo_test_1.xml'.  // There could be a race condition if two or more processes are calling this  // function at the same time -- they could both pick the same filename.  static FilePath GenerateUniqueFileName(const FilePath& directory,                                         const FilePath& base_name,                                         const char* extension);  // Returns true iff the path is NULL or "".  bool IsEmpty() const { return c_str() == NULL || *c_str() == '\0'; }  // If input name has a trailing separator character, removes it and returns  // the name, otherwise return the name string unmodified.  // On Windows platform, uses \ as the separator, other platforms use /.  FilePath RemoveTrailingPathSeparator() const;  // Returns a copy of the FilePath with the directory part removed.  // Example: FilePath("path/to/file").RemoveDirectoryName() returns  // FilePath("file"). If there is no directory part ("just_a_file"), it returns  // the FilePath unmodified. If there is no file part ("just_a_dir/") it  // returns an empty FilePath ("").  // On Windows platform, '\' is the path separator, otherwise it is '/'.  FilePath RemoveDirectoryName() const;  // RemoveFileName returns the directory path with the filename removed.  // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".  // If the FilePath is "a_file" or "/a_file", RemoveFileName returns  // FilePath("./") or, on Windows, FilePath(".\\"). If the filepath does  // not have a file, like "just/a/dir/", it returns the FilePath unmodified.  // On Windows platform, '\' is the path separator, otherwise it is '/'.  FilePath RemoveFileName() const;  // Returns a copy of the FilePath with the case-insensitive extension removed.  // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns  // FilePath("dir/file"). If a case-insensitive extension is not  // found, returns a copy of the original FilePath.  FilePath RemoveExtension(const char* extension) const;  // Creates directories so that path exists. Returns true if successful or if  // the directories already exist; returns false if unable to create  // directories for any reason. Will also return false if the FilePath does  // not represent a directory (that is, it doesn't end with a path separator).  bool CreateDirectoriesRecursively() const;  // Create the directory so that path exists. Returns true if successful or  // if the directory already exists; returns false if unable to create the  // directory for any reason, including if the parent directory does not  // exist. Not named "CreateDirectory" because that's a macro on Windows.  bool CreateFolder() const;  // Returns true if FilePath describes something in the file-system,  // either a file, directory, or whatever, and that something exists.  bool FileOrDirectoryExists() const;  // Returns true if pathname describes a directory in the file-system  // that exists.  bool DirectoryExists() const;  // Returns true if FilePath ends with a path separator, which indicates that  // it is intended to represent a directory. Returns false otherwise.  // This does NOT check that a directory (or file) actually exists.  bool IsDirectory() const;  // Returns true if pathname describes a root directory. (Windows has one  // root directory per disk drive.)  bool IsRootDirectory() const; private:  // Replaces multiple consecutive separators with a single separator.  // For example, "bar///foo" becomes "bar/foo". Does not eliminate other  // redundancies that might be in a pathname involving "." or "..".  //  // A pathname with multiple consecutive separators may occur either through  // user error or as a result of some scripts or APIs that generate a pathname  // with a trailing separator. On other platforms the same API or script  // may NOT generate a pathname with a trailing "/". Then elsewhere that  // pathname may have another "/" and pathname components added to it,  // without checking for the separator already being there.  // The script language and operating system may allow paths like "foo//bar"  // but some of the functions in FilePath will not handle that correctly. In  // particular, RemoveTrailingPathSeparator() only removes one separator, and  // it is called in CreateDirectoriesRecursively() assuming that it will change  // a pathname from directory syntax (trailing separator) to filename syntax.  void Normalize();  String pathname_;};  // class FilePath}  // namespace internal}  // namespace testing#endif  // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
av电影一区二区| 亚洲动漫第一页| 国产乱码精品一区二区三| 69堂成人精品免费视频| 美国av一区二区| 精品国产凹凸成av人导航| 国产九色sp调教91| 日韩理论电影院| 在线观看视频欧美| 日韩av二区在线播放| 欧美一卡2卡三卡4卡5免费| 久久9热精品视频| 久久精品人人做人人爽人人| 成人性色生活片免费看爆迷你毛片| 国产精品久久久久久久久快鸭 | 91国产视频在线观看| 亚洲精品成a人| 7777精品伊人久久久大香线蕉完整版 | 久久综合九色综合欧美98| 国产一区二区在线电影| 国产精品久久久久久久久免费樱桃| 色av成人天堂桃色av| 日韩激情一区二区| 久久精品无码一区二区三区| 94-欧美-setu| 视频一区二区三区在线| www激情久久| 97久久精品人人爽人人爽蜜臀| 五月天婷婷综合| 亚洲国产精品高清| 欧美日韩视频在线观看一区二区三区 | 国产精品国产三级国产普通话三级 | 精品久久久久久久久久久院品网| 国产高清不卡一区| 亚洲资源中文字幕| 精品国产乱码久久久久久蜜臀| 99re这里都是精品| 麻豆精品在线看| 亚洲激情欧美激情| xnxx国产精品| 欧美日韩成人综合| 成人午夜精品一区二区三区| 日韩精品1区2区3区| 中文字幕中文在线不卡住| 91精品在线麻豆| 91欧美激情一区二区三区成人| 美女看a上一区| 亚洲一区在线免费观看| 国产农村妇女精品| 日韩免费视频一区| 欧美日韩久久不卡| www.性欧美| 国产麻豆一精品一av一免费 | 午夜久久久久久久久久一区二区| 亚洲国产精品精华液2区45| 欧美一二三区在线观看| 91免费观看视频| 国产成人综合在线观看| 免费日韩伦理电影| 午夜成人免费电影| 亚洲黄色性网站| 国产精品视频一二三| 欧美不卡一二三| 在线播放视频一区| 在线观看日韩毛片| 色婷婷综合久久久中文一区二区| 国产jizzjizz一区二区| 理论片日本一区| 免费成人在线影院| 日韩电影在线免费看| 午夜精品视频一区| 亚洲一区二区三区四区五区黄| 亚洲女同女同女同女同女同69| 欧美韩国一区二区| 国产亚洲女人久久久久毛片| 久久嫩草精品久久久精品一| 精品久久久久久久人人人人传媒| 日韩视频一区二区三区| 日韩欧美电影一区| 欧美v日韩v国产v| 日韩欧美视频一区| 91精品国产欧美一区二区成人| 欧美日韩国产乱码电影| 欧美日本在线一区| 日韩亚洲欧美综合| 精品美女一区二区三区| 精品电影一区二区三区 | 欧美性生活一区| 色8久久精品久久久久久蜜 | 成人免费视频视频| 高清国产午夜精品久久久久久| 丁香激情综合五月| 北岛玲一区二区三区四区| 91免费国产在线| 欧美另类一区二区三区| 日韩三级视频在线观看| 欧美精品一区二区三区蜜桃视频 | 亚洲国产视频网站| 天堂va蜜桃一区二区三区| 另类的小说在线视频另类成人小视频在线 | 裸体歌舞表演一区二区| 国产一区二区在线观看免费| 国产98色在线|日韩| 99精品欧美一区二区蜜桃免费| 色94色欧美sute亚洲线路一久| 欧美裸体一区二区三区| 精品电影一区二区| 国产精品国产a级| 午夜精品视频在线观看| 精品无人码麻豆乱码1区2区| 丁香网亚洲国际| 欧美亚洲综合在线| 日韩三级精品电影久久久 | 国产精品妹子av| 亚洲激情av在线| 麻豆免费看一区二区三区| 成人美女视频在线看| 欧美日韩一区成人| 国产欧美一区二区三区网站| 亚洲女同一区二区| 久久99精品久久久久婷婷| www.欧美色图| 日韩一区二区在线免费观看| 国产日产欧产精品推荐色| 亚洲乱码国产乱码精品精的特点 | 亚洲乱码中文字幕综合| 美脚の诱脚舐め脚责91 | 91老司机福利 在线| 在线播放91灌醉迷j高跟美女 | 日本va欧美va瓶| 99久久精品久久久久久清纯| 欧美精品vⅰdeose4hd| 欧美国产在线观看| 日韩和欧美一区二区三区| 成人动漫中文字幕| 日韩精品一区二区三区视频播放 | 久久久www成人免费毛片麻豆| 亚洲午夜激情网页| 成人国产精品免费| 日韩精品一区二区三区中文不卡| 亚洲精品乱码久久久久久日本蜜臀 | 久久综合五月天婷婷伊人| 亚洲黄色免费电影| 粉嫩av亚洲一区二区图片| 欧美一级片在线| 亚洲午夜免费电影| 91丝袜呻吟高潮美腿白嫩在线观看| 精品国产欧美一区二区| 亚洲一区自拍偷拍| 色美美综合视频| 国产精品天美传媒沈樵| 国产乱码精品一区二区三区五月婷 | 五月开心婷婷久久| 欧美专区在线观看一区| 国产精品理伦片| 国产精品一区二区久久不卡 | 91成人国产精品| 国产精品久久久久久福利一牛影视 | 国产日韩三级在线| 激情文学综合网| 日韩欧美中文一区二区| 日韩精品电影一区亚洲| 欧美精品日韩精品| 亚洲mv大片欧洲mv大片精品| 在线视频一区二区三| 亚洲精品成人精品456| 色香蕉久久蜜桃| 亚洲人成7777| 在线亚洲高清视频| 亚洲一区二区三区视频在线播放 | 国产一区二区电影| 精品国产乱码久久久久久影片| 麻豆精品一区二区av白丝在线| 欧美精品aⅴ在线视频| 亚洲bdsm女犯bdsm网站| 欧美日本免费一区二区三区| 性做久久久久久久免费看| 在线成人免费观看| 久久国产欧美日韩精品| 精品国产百合女同互慰| 国产一区高清在线| 欧美国产一区视频在线观看| av男人天堂一区| 亚洲自拍偷拍综合| 日韩一本二本av| 国产精品中文字幕日韩精品| 日本一区二区成人在线| 91欧美一区二区| 亚洲成av人片一区二区| 日韩午夜小视频| 国产成人综合网站| 亚洲黄色性网站| 日韩欧美黄色影院| 成人一区在线观看| 亚洲制服丝袜在线| 337p日本欧洲亚洲大胆色噜噜| 成人禁用看黄a在线| 亚洲一区二区欧美日韩 | 成人爽a毛片一区二区免费| 亚洲精选视频在线|