Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,178 for Nname (0.04 sec)

  1. src/archive/tar/writer_test.go

    	for _, test := range []struct {
    		name string
    		h    *Header
    	}{{
    		name: "name too long",
    		h:    &Header{Name: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "linkname too long",
    		h:    &Header{Linkname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "uname too long",
    		h:    &Header{Uname: strings.Repeat("a", maxSpecialFileSize)},
    	}, {
    		name: "gname too long",
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. src/archive/tar/reader_test.go

    	tw := NewWriter(&buf)
    	const name = "/foo"
    	tw.WriteHeader(&Header{
    		Name: name,
    	})
    	tw.Close()
    	tr := NewReader(&buf)
    	h, err := tr.Next()
    	if err != nil {
    		t.Fatalf("tr.Next with tarinsecurepath=1: got err %v, want nil", err)
    	}
    	if h.Name != name {
    		t.Fatalf("tr.Next with tarinsecurepath=1: got name %q, want %q", h.Name, name)
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    // Passing an instance of this to [FileInfoHeader] permits the caller
    // to avoid a system-dependent name lookup by specifying the Uname and Gname directly.
    type FileInfoNames interface {
    	fs.FileInfo
    	// Uname should give a user name.
    	Uname() (string, error)
    	// Gname should give a group name.
    	Gname() (string, error)
    }
    
    // isHeaderOnlyType checks if the given type flag is of the type that has no
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/archive/tar/tar_test.go

    		if err != nil {
    			t.Error(err)
    			continue
    		}
    		if strings.Contains(fi.Name(), "/") {
    			t.Errorf("FileInfo of %q contains slash: %q", v.h.Name, fi.Name())
    		}
    		name := path.Base(v.h.Name)
    		if fi.IsDir() {
    			name += "/"
    		}
    		if got, want := h2.Name, name; got != want {
    			t.Errorf("i=%d: Name: got %v, want %v", i, got, want)
    		}
    		if got, want := h2.Size, v.h.Size; got != want {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. buildscripts/checkdeps.sh

    #!/usr/bin/env bash
    #
    
    _init() {
    
    	shopt -s extglob
    
    	## Minimum required versions for build dependencies
    	GIT_VERSION="1.0"
    	GO_VERSION="1.16"
    	OSX_VERSION="10.8"
    	KNAME=$(uname -s)
    	ARCH=$(uname -m)
    	case "${KNAME}" in
    	SunOS)
    		ARCH=$(isainfo -k)
    		;;
    	esac
    }
    
    ## FIXME:
    ## In OSX, 'readlink -f' option does not exist, hence
    ## we have our own readlink -f behavior here.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. api/go1.23.txt

    pkg archive/tar, type FileInfoNames interface, Gname() (string, error) #50102
    pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102
    pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102
    pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102
    pkg archive/tar, type FileInfoNames interface, Name() string #50102
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    	files := r.fileList
    	i, _ := slices.BinarySearchFunc(files, dir, func(a fileListEntry, dir string) (ret int) {
    		idir, ielem, _ := split(a.name)
    		if dir != idir {
    			return strings.Compare(idir, dir)
    		}
    		return strings.Compare(ielem, elem)
    	})
    	if i < len(files) {
    		fname := files[i].name
    		if fname == name || len(fname) == len(name)+1 && fname[len(name)] == '/' && fname[:len(name)] == name {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    func splitUSTARPath(name string) (prefix, suffix string, ok bool) {
    	length := len(name)
    	if length <= nameSize || !isASCII(name) {
    		return "", "", false
    	} else if length > prefixSize+1 {
    		length = prefixSize + 1
    	} else if name[length-1] == '/' {
    		length--
    	}
    
    	i := strings.LastIndex(name[:length], "/")
    	nlen := len(name) - i - 1 // nlen is length of suffix
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. ci/official/utilities/setup_docker.sh

        echo "GCE_METADATA_HOST=$IP_ADDR" > $env_file
      fi
    
      docker run $TFCI_DOCKER_ARGS --name tf -w "$WORKING_DIR" -itd --rm \
          -v "$TFCI_GIT_DIR:$WORKING_DIR" \
          --env-file "$env_file" \
          "$TFCI_DOCKER_IMAGE" \
        bash
    
      if [[ `uname -s | grep -P '^MSYS_NT'` ]]; then
        # Allow requests from the container.
        # Additional setup is contained in ci/official/envs/rbe.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Aug 09 16:05:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/api_template.__init__.py

      )
    
    # Add Keras module aliases
    _losses = _KerasLazyLoader(globals(), submodule="losses", name="losses")
    _metrics = _KerasLazyLoader(globals(), submodule="metrics", name="metrics")
    _optimizers = _KerasLazyLoader(
        globals(), submodule="optimizers", name="optimizers")
    _initializers = _KerasLazyLoader(
        globals(), submodule="initializers", name="initializers")
    setattr(_current_module, "losses", _losses)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top