Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 494 for dstname (0.21 sec)

  1. pkg/volume/fc/attacher.go

    		if detachError != nil {
    			klog.V(4).Infof("fc: failed to detach disk %s (%s): %v", devName, deviceMountPath, detachError)
    			return false, nil
    		}
    		return true, nil
    	})
    	if err != nil {
    		return fmt.Errorf("fc: failed to detach disk: %s: %v", devName, detachError)
    	}
    
    	klog.V(2).Infof("fc: successfully detached disk: %s", devName)
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  2. src/io/ioutil/ioutil.go

    //
    //	entries, err := os.ReadDir(dirname)
    //	if err != nil { ... }
    //	infos := make([]fs.FileInfo, 0, len(entries))
    //	for _, entry := range entries {
    //		info, err := entry.Info()
    //		if err != nil { ... }
    //		infos = append(infos, info)
    //	}
    func ReadDir(dirname string) ([]fs.FileInfo, error) {
    	f, err := os.Open(dirname)
    	if err != nil {
    		return nil, err
    	}
    	list, err := f.Readdir(-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. bin/update_deps.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -exo pipefail
    
    UPDATE_BRANCH=${UPDATE_BRANCH:-"master"}
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    # Get the sha of top commit
    # $1 = repo
    function getSha() {
      git ls-remote "https://github.com/istio/${1}.git" "refs/heads/${UPDATE_BRANCH}" | cut -f 1
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 00:17:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py

      else:
        assert FLAGS.output.endswith('.mlir')
        generated_code = tfr_gen_from_module(sys.modules[__name__], '_composite_')
    
      dirname = os.path.dirname(FLAGS.output)
      if not os.path.exists(dirname):
        os.makedirs(dirname)
      with open(FLAGS.output, 'w') as f:
        f.write(generated_code)
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 01 05:00:29 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  5. pkg/volume/flexvolume/probe.go

    	}
    	for _, f := range files {
    		// only directories with names that do not begin with '.' are counted as plugins
    		// and pluginDir/dirname/dirname should be an executable
    		// unless dirname contains '~' for escaping namespace
    		// e.g. dirname = vendor~cifs
    		// then, executable will be pluginDir/dirname/cifs
    		if f.IsDir() && filepath.Base(f.Name())[0] != '.' {
    			probeEvent, pluginErr := prober.newProbeEvent(f.Name(), volume.ProbeAddOrUpdate)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 28 11:14:00 UTC 2023
    - 9K bytes
    - Viewed (0)
  6. hack/_update-generated-proto-bindings-dockerized.sh

    # limitations under the License.
    
    # This script generates `*/api.pb.go` files from protobuf files `*/api.proto`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../" && pwd -P)"
    
    source "${KUBE_ROOT}/hack/lib/init.sh"
    source "${KUBE_ROOT}/hack/lib/protoc.sh"
    source "${KUBE_ROOT}/hack/lib/util.sh"
    
    if [ "$#" == 0 ]; then
        echo "usage: $0 <api_dir>..."
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:04 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. hack/verify-e2e-suites.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    source "${KUBE_ROOT}/hack/lib/util.sh"
    
    kube::golang::setup_env
    
    cd "${KUBE_ROOT}"
    
    kube::util::ensure-temp-dir
    
    res=0
    for suite in $(git grep -l framework.AfterReadingAllFlags | grep -v -e ^test/e2e/framework -e ^hack | xargs -n 1 dirname | sort -u); do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 17 17:35:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. hack/make-rules/test-integration.sh

        # The "./" syntax here produces Go-compatible package names.
        find ./test/integration/ -name '*_test.go' -print0 \
          | xargs -0n1 dirname \
          | LC_ALL=C sort -u
        find ./staging/src/k8s.io/apiextensions-apiserver/test/integration/ -name '*_test.go' -print0 \
          | xargs -0n1 dirname \
          | LC_ALL=C sort -u
      )
    }
    
    CLEANUP_REQUIRED=
    cleanup() {
      if [[ -z "${CLEANUP_REQUIRED}" ]]; then
        return
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. bin/update_proxy.sh

    # Update the Proxy SHA in istio.deps with the first argument
    # Exit immediately for non zero status
    set -e
    # Check unset variables
    set -u
    # Print commands
    set -x
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    ROOTDIR=$(dirname "${SCRIPTPATH}")
    cd "${ROOTDIR}"
    
    # Wait for the proxy to become available
    ISTIO_ENVOY_VERSION=${ISTIO_ENVOY_VERSION:-$1}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 28 07:59:44 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. hack/update-go-workspace.sh

    cd "$(pwd -P)"
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
    kube::golang::setup_env
    
    cd "${KUBE_ROOT}"
    
    # Ensure all modules are included in go.work
    go work edit -use .
    git ls-files -z ':(glob)./staging/src/k8s.io/*/go.mod' \
        | xargs -0 -n1 dirname \
        | tr '\n' '\0' \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 10 15:44:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top