Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for findfile (0.3 sec)

  1. common/Makefile.common.mk

    # limitations under the License.
    
    FINDFILES=find . \( -path ./common-protos -o -path ./.git -o -path ./out -o -path ./.github -o -path ./licenses -o -path ./vendor $(if $(strip ${FINDFILES_IGNORE}), -o ${FINDFILES_IGNORE}) \) -prune -o -type f
    
    XARGS = xargs -0 -r
    
    lint-dockerfiles:
    	@${FINDFILES} -name 'Dockerfile*' -print0 | ${XARGS} hadolint -c ./common/config/.hadolint.yml
    
    lint-scripts:
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/packaging/rpm/init.d/fess

        fi
        if [ -n "$pidfile" ] && [ ! -e "$pidfile" ]; then
            touch "$pidfile" && chown "$FESS_USER":"$FESS_GROUP" "$pidfile"
        fi
    
        echo -n $"Starting $prog: "
        # if not running, start it up here, usually something like "daemon $exec"
        daemon --user $FESS_USER --pidfile="$pidfile" $exec -d
        retval=$?
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_linux.cc

    #include <limits.h>
    #include <stdint.h>
    #include <sys/sendfile.h>
    
    #include "tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h"
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses `sendfile` specific to linux after 2.6.33.
    int CopyFileContents(int dst_fd, int src_fd, off_t size) {
      off_t offset = 0;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  4. src/main/assemblies/files/fess

            if [ x"$pidfile" != "x" ] ; then
                echo $! > $pidfile
            fi
            return $?
        fi
    }
    
    # Print command line usage / help
    usage() {
        echo "Usage: $0 [-vdh] [-p pidfile] [-D prop] [-X prop]"
        echo "Start fess."
        echo "    -d            daemonize (run in background)"
        echo "    -p pidfile    write PID to <pidfile>"
        echo "    -h"
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

      constexpr static size_t kPosixCopyFileBufferSize = 128 * 1024;
      std::unique_ptr<char[]> buffer(new char[kPosixCopyFileBufferSize]);
    
      off_t offset = 0;
      int bytes_transferred = 0;
      int rc = 1;
      // When `sendfile` returns 0 we stop copying and let callers handle this.
      while (offset < size && rc > 0) {
        size_t chunk = size - offset;
        if (chunk > kPosixCopyFileBufferSize) chunk = kPosixCopyFileBufferSize;
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    
    #include <sys/stat.h>
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses `sendfile` if available (i.e., linux 2.6.33 or later) or an
    // intermediate buffer if not.
    //
    // Returns number of bytes transferred or -1 on failure.
    int CopyFileContents(int dst_fd, int src_fd, off_t size);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt

    import org.jetbrains.kotlin.analysis.low.level.api.fir.util.ContextCollector
    import org.jetbrains.kotlin.fir.FirSession
    import org.jetbrains.kotlin.fir.declarations.FirFile
    import org.jetbrains.kotlin.fir.declarations.FirResolvePhase
    import org.jetbrains.kotlin.fir.expressions.FirExpression
    import org.jetbrains.kotlin.fir.expressions.FirSafeCallExpression
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/packaging/deb/init.d/fess

    	if [ -n "$MAX_MAP_COUNT" -a -f /proc/sys/vm/max_map_count ]; then
    		sysctl -q -w vm.max_map_count=$MAX_MAP_COUNT
    	fi
    
    	# Start Daemon
    	start-stop-daemon -d $FESS_HOME --start -b --user "$FESS_USER" -c "$FESS_USER" --pidfile "$PID_FILE" --exec $DAEMON -- $DAEMON_OPTS
    	return=$?
    	if [ $return -eq 0 ]; then
    		i=0
    		timeout=10
    		# Wait for the process to be properly started before exiting
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. .github/workflows/multipart/nginx-site1.conf

                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log  main;
        sendfile        on;
        keepalive_timeout  65;
    
        # include /etc/nginx/conf.d/*.conf;
    
        upstream minio {
            server site1-minio1:9000;
            server site1-minio2:9000;
            server site1-minio3:9000;
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/posix/BUILD

    cc_library(
        name = "posix_filesystem_helper",
        srcs = ["posix_filesystem_helper.cc"],
        hdrs = ["posix_filesystem_helper.h"],
        deps = [":copy_file"],
    )
    
    # On Linux, we can copy files faster using `sendfile`. But not elsewhere.
    # Hence, this private library to select which implementation to use.
    cc_library(
        name = "copy_file",
        srcs = select({
            "//tensorflow:linux_x86_64": ["copy_file_linux.cc"],
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top