Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for relPath (0.14 sec)

  1. src/plugin/plugin_dlopen.go

    func open(name string) (*Plugin, error) {
    	cPath := make([]byte, C.PATH_MAX+1)
    	cRelName := make([]byte, len(name)+1)
    	copy(cRelName, name)
    	if C.realpath(
    		(*C.char)(unsafe.Pointer(&cRelName[0])),
    		(*C.char)(unsafe.Pointer(&cPath[0]))) == nil {
    		return nil, errors.New(`plugin.Open("` + name + `"): realpath failed`)
    	}
    
    	filepath := C.GoString((*C.char)(unsafe.Pointer(&cPath[0])))
    
    	pluginsMu.Lock()
    	if p := plugins[filepath]; p != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 16:55:22 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. test-site/activator

    ###  Main script                     ###
    ###  ------------------------------- ###
    
    declare -a residual_args
    declare -a java_args
    declare -a app_commands
    declare -r real_script_path="$(realpath "$0")"
    declare -r activator_home="$(realpath "$(dirname "$real_script_path")")"
    declare -r app_version="1.3.2"
    
    declare -r app_launcher="${activator_home}/activator-launch-${app_version}.jar"
    declare -r script_name=activator
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  3. OWNERS

          - bgrant0607
          - brendandburns
          - dchen1107
          - jbeda
          - lavalamp
          - liggitt
          - smarterclayton
          - thockin
          - wojtek-t
      # go.{mod,sum} files relate to go dependencies, and should be reviewed by the
      # dep-approvers
      "go\\.(mod|sum)$":
        required_reviewers:
          - kubernetes/dep-approvers
        labels:
          - area/dependency
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 17:43:04 UTC 2022
    - 846 bytes
    - Viewed (0)
  4. hack/verify-openapi-docs-urls.sh

    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    SPECROOT="${KUBE_ROOT}/api/openapi-spec"
    SPECV3PATH="${SPECROOT}/v3"
    
    _tmpdir="$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")"
    mkdir -p "${_tmpdir}"
    trap 'rm -rf ${_tmpdir}' EXIT SIGINT
    trap "echo Aborted; exit;" SIGINT SIGTERM
    
    TMP_URLS="${_tmpdir}/docs_urls.txt"
    touch "${TMP_URLS}"
    
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/11-language-change.yml

      - type: textarea
        id: generics-proposal
        attributes:
          label: Is this about generics?
          description: If so, how does this relate to the accepted design and other generics proposals?
          placeholder: |
           Yes or No
    
           If yes, 
            1. how does this relate to the accepted design and other generics proposals?
    
        validations:
          required: true
    
      - type: textarea
        id: proposal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 20:49:24 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. docs/debugging/reorder-disks/main.go

    	err := filepath.Walk("/dev/disk/by-uuid/",
    		func(path string, info os.FileInfo, err error) error {
    			if err != nil {
    				return err
    			}
    			realPath, err := filepath.EvalSymlinks(path)
    			if err != nil {
    				return err
    			}
    			result[realPath] = strings.TrimPrefix(path, "/dev/disk/by-uuid/")
    			return nil
    		})
    	if err != nil {
    		return nil, err
    	}
    	return result, nil
    }
    
    type localDisk struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/fix/fix.go

    				printed = true
    			}
    			continue
    		}
    		// Use pkg.gofiles instead of pkg.Dir so that
    		// the command only applies to this package,
    		// not to packages in subdirectories.
    		files := base.RelPaths(pkg.InternalAllGoFiles())
    		goVersion := ""
    		if pkg.Module != nil {
    			goVersion = "go" + pkg.Module.GoVersion
    		} else if pkg.Standard {
    			goVersion = build.Default.ReleaseTags[len(build.Default.ReleaseTags)-1]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. hack/lib/verify-generated.sh

        local failure_tail=$1
        shift
    
        kube::util::ensure_clean_working_dir
    
        # This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
        kube::golang::setup_env
    
        _tmpdir="$(kube::realpath "$(mktemp -d -t "verify-generated-$(basename "$1").XXXXXX")")"
        git worktree add -f -q "${_tmpdir}" HEAD
        kube::util::trap_add "git worktree remove -f ${_tmpdir}" EXIT
        cd "${_tmpdir}"
    
        # Update generated files.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 22 18:39:23 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/fmtcmd/fmt.go

    				base.Errorf("%v", pkg.Error)
    				continue
    			}
    		}
    		// Use pkg.gofiles instead of pkg.Dir so that
    		// the command only applies to this package,
    		// not to packages in subdirectories.
    		files := base.RelPaths(pkg.InternalAllGoFiles())
    		for _, file := range files {
    			gofmtArgs = append(gofmtArgs, file)
    			gofmtArgLen += 1 + len(file) // plus separator
    			if gofmtArgLen >= sys.ExecArgLengthLimit {
    				base.Run(gofmtArgs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 12:16:35 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. internal/logger/message/audit/entry.go

    	entry := NewEntry(deploymentID)
    
    	entry.RemoteHost = handlers.GetSourceIP(r)
    	entry.UserAgent = r.UserAgent()
    	entry.ReqClaims = reqClaims
    	entry.ReqHost = r.Host
    	entry.ReqPath = r.URL.Path
    
    	q := r.URL.Query()
    	reqQuery := make(map[string]string, len(q))
    	for k, v := range q {
    		reqQuery[k] = strings.Join(v, ",")
    	}
    	entry.ReqQuery = reqQuery
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top