Builds the core Firebase-auth JS.
@param {string} filename name of the generated file
@param {string} prefix prefix to the compiled code
@param {string} suffix suffix to the compiled code
486119
function createBuildTask(filename, prefix, suffix) {
  return () =>
    gulp
      .src([
        `${closureLibRoot}/closure/goog/**/*.js`,
        `${closureLibRoot}/third_party/closure/goog/**/*.js`,
        'src/**/*.js'
      ], { base: '.' })
      .pipe(sourcemaps.init())
      .pipe(
        closureCompiler({
          js_output_file: filename,
          output_wrapper: `${prefix}%output%${suffix}`,
          entry_point: 'fireauth.exports',
          compilation_level: OPTIMIZATION_LEVEL,
          externs: [
            'externs/externs.js',
            'externs/grecaptcha.js',
            'externs/gapi.iframes.js',
            path.resolve(
              __dirname,
              '../firebase/externs/firebase-app-externs.js'
            ),
            path.resolve(
              __dirname,
              '../firebase/externs/firebase-error-externs.js'
            ),
            path.resolve(
              __dirname,
              '../firebase/externs/firebase-app-internal-externs.js'
            )
          ],
          language_out: 'ES5',
          only_closure_dependencies: true
        })
      )
      .pipe(sourcemaps.write('.'))
      .pipe(gulp.dest('dist'));
}
1084295
function(file) {
    var html   = filter.get('tag', fss.filetype(file))('test');
    var prefix = config.root ? config.root : '';
    var suffix = config.timestamp && html ? '?v=' + config.time : '';
    var encode = fss.relative(file).replace(/\s/g, '%20');
    return path.join(prefix, encode) + suffix;
}
587041
private String createExpressionKey(String suffix) {
		String[] parts = suffix.split("_");
		StringBuilder ret = new StringBuilder("[if ");
		boolean ieAdded = false;
		for (String part : parts) {
			if ("".equals(part)) {
				continue;
			}
			if ("ie".equals(part)) {
				break;
			} else if (Pattern.matches("(lt|lte|gt|gte)", part)) {
				ret.append(part).append(" ");
			} else {
				ret.append("IE ").append(part);
				ieAdded = true;
			}
		}
		if (!ieAdded)
			ret.append("IE");
		ret.append("]");
		return ret.toString();
	}
144432
function(fn, suffix) {
	if(suffix.charAt(0) !== '.') {
		suffix = '.' + suffix;
	}
	
	if(fn.length <= suffix.length) {
		return false;
	}
	
	var str = fn.substring(fn.length - suffix.length).toLowerCase();
	suffix = suffix.toLowerCase();
	return str === suffix;
}
553755
def create_temp_file_name(suffix, prefix=None, dir=None, directory=None):
    
    if dir is not None:
        warnings.warn(
            "The dir argument is deprecated.\n" +
            "Please use the directory argument instead.", DeprecationWarning)
        # Deprecated since 1.9.0, will be removed in 2.0.0
        directory = dir

    if not prefix:
        prefix = tempfile.gettempprefix()
    fd, name = tempfile.mkstemp(suffix=suffix, prefix=prefix, dir=directory)
    file_obj = os.fdopen(fd)
    file_obj.close()
    return name
1199289
function generateHoistNameBasedOn(path, suffix = "") {
  const names = [];
  if (suffix) {
    names.push(suffix);
  }

  let current = path;
  while (!(current.isIdentifier() || current.isJSXIdentifier())) {
    names.push(current.node.property.name);
    current = current.get("object");
  }
  names.push(current.node.name);

  return path.scope.generateUidIdentifier(names.reverse().join("$"));
}
1338183
public function addName(
        $lastName = '',
        $firstName = '',
        $additional = '',
        $prefix = '',
        $suffix = ''
    ) {
        // define values with non-empty values
        $values = array_filter([
            $prefix,
            $firstName,
            $additional,
            $lastName,
            $suffix,
        ]);

        // define filename
        $this->setFilename($values);

        // set property
        $property = $lastName . ';' . $firstName . ';' . $additional . ';' . $prefix . ';' . $suffix;
        $this->setProperty(
            'name',
            'N' . $this->getCharsetString(),
            $property
        );

        // is property FN set?
        if (!$this->hasProperty('FN')) {
            // set property
            $this->setProperty(
                'fullname',
                'FN' . $this->getCharsetString(),
                trim(implode(' ', $values))
            );
        }

        return $this;
    }
370070
public @NotNull SuffixBuilder resource(@NotNull Resource resource, @NotNull Resource suffixBaseResource) {
    // get relative path to base resource
    String relativePath = getRelativePath(resource, suffixBaseResource);
    resourcePaths.add(relativePath);
    return this;
  }
705801
public function definePath($id, $title, $extension, $prefix = '', $suffix = '')
    {
        $path = '';

        if ($suffix) {
            $path = sprintf(
                '%s/%s-%s%s-%s.%s',
                $this->getCurrentDirectory(),
                (new \DateTime())->format('His'),
                $prefix,
                Canonicalizer::slug($title),
                $suffix,
                $extension
            );
        } else {
            $path = sprintf(
                '%s/%s-%s%s.%s',
                $this->getCurrentDirectory(),
                (new \DateTime())->format('His'),
                $prefix,
                Canonicalizer::slug($title),
                $extension
            );
        }

        if (file_exists(sprintf('%s/%s', $this->rootDir, $path))) {
            return $this->definePath($id, $title, $extension, $prefix, intval($suffix) + 1);
        }

        return $path;
    }
1267912
private static URI addSuffix(final URI href, final String suffix) {
        return URI.create(addSuffix(href.toString(), suffix));
    }
1002075
public static String join(final Object[] array, final String prefix,
            final String separator, final String suffix)
   {
      return join(new StringBuffer(), array, prefix, separator, suffix);
   }
1269139
def suffix(filename,suffix):
    '''  '''
    return os.path.split(re.sub(_afni_suffix_regex,"%s\g<1>" % suffix,str(filename)))[1]
876709
function(base_path, suffix) {

		if (Lava.schema.DEBUG && !(base_path in this._sources)) Lava.t("[getPackageConstructor] Class not found: " + base_path);

		var path,
			current_class = this._sources[base_path],
			result = null;

		do {

			path = current_class.path + suffix;
			if (path in this.constructors) {

				result = this.constructors[path];
				break;

			}

			current_class = current_class.parent_class_data;

		} while (current_class);

		return result;

	}
278504
public static File createTempFile(final String prefix, final String suffix)
	{
		try
		{
			File tempFile = File.createTempFile(prefix, suffix);
			if (tempFile.exists())
			{
				if (!tempFile.delete())
					throw new RuntimeException("Could not delete new temp file: " + tempFile);
			}

			return tempFile;
		}
		catch (IOException e)
		{
			log.error("[FileHelper] {createTempFile} Error creating temp file: " + e.getMessage(), e);
			return null;
		}
	}
756944
def generate_code(meta, prefix=None, node=False, min=False):
    
    if isinstance(meta, dict):
        url_prefix, auth_header, resources = parse_meta(meta)
    else:
        url_prefix, auth_header, resources = meta
    if prefix is not None:
        url_prefix = prefix
    core = render_core(url_prefix, auth_header, resources)
    if min:
        filename = 'res.web.min.js'
    else:
        filename = 'res.web.js'
    if node:
        filename = 'res.node.js'
    base = read_file(filename)
    return base.replace('"#res.core.js#"', core)
236920
public static function generate($prefix = 'php-tmp-file', $suffix = '')
    {
        $filename = tempnam(sys_get_temp_dir(), $prefix);

        if ($suffix) {
            $i = 0;
            do {
                $newFilename = $filename . $i++ . $suffix;
            } while (file_exists($newFilename));

            rename($filename, $newFilename);
            $filename = $newFilename;
        }

        return new static($filename);
    }
1142351
public static void renameFiles(String folder, String prefix, String suffix, int start) {
        renameFiles(scanFolderAsArray(folder), prefix, suffix, start);
    }