代码搜索结果
找到约 820,005 项符合
if 的代码
solaris
#!/bin/sh
make_resolv_conf() {
if [ "x$new_domain_name" != x ] && [ x"$new_domain_name_servers" != x ]; then
echo search $new_domain_name >/etc/resolv.conf
for nameserver in $new_domain_n
netbsd
#!/bin/sh
make_resolv_conf() {
if [ "x$new_domain_name" != x ] && [ x"$new_domain_name_servers" != x ]; then
echo search $new_domain_name >/etc/resolv.conf
for nameserver in $new_domain_nam
freebsd
#!/bin/sh
#
# $Id: freebsd,v 1.13.2.7 2004/09/30 23:22:48 dhankins Exp $
#
# $FreeBSD$
if [ -x /usr/bin/logger ]; then
LOGGER="/usr/bin/logger -s -p user.notice -t dhclient"
else
LOGGER=echo
fi
ma
bsdos
#!/bin/sh
make_resolv_conf() {
if [ "x$new_domain_name" != x ] && [ x"$new_domain_name_servers" != x ]; then
echo search $new_domain_name >/etc/resolv.conf
for nameserver in $new_domain_nam
makedirs.py
import os.path
import os
def makedirs( path ):
if not os.path.exists( path ):
os.makedirs( path )
jambase.c
/* Generated by mkjambase from Jambase */
char *jambase[] = {
/* Jambase */
"if $(NT)\n",
"{\n",
"SLASH ?= \\\\ ;\n",
"}\n",
"SLASH ?= / ;\n",
"rule find-to-root ( dir : patterns + )\n",
"{\n
filesys.c
# include "jam.h"
# include "pathsys.h"
# include "strings.h"
void
file_build1(
PATHNAME *f,
string* file)
{
if( DEBUG_SEARCH )
{
printf("build file: ");
if( f->f_root.l
python.jam
if ! $(gPYTHON_INCLUDED)
{
gPYTHON_INCLUDED = true ;
import testing ;
# Do some OS-specific setup
if $(NT)
{
CATENATE = type ;
}
else if $(UNIX)
{
CATENATE = cat ;
}
PYT
known_archive_types.hpp
#ifndef BOOST_ARCHIVE_KNOWN_ARCHIVE_TYPES_HPP
#define BOOST_ARCHIVE_KNOWN_ARCHIVE_TYPES_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma o
if_.rst
.. Metafunctions/Type Selection//if_ |10
if\_
====
Synopsis
--------
.. parsed-literal::
template<
typename C
, typename T1
, typename T2
>