Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for curr (0.01 sec)

  1. src/archive/tar/reader.go

    	if isHeaderOnlyType(hdr.Typeflag) {
    		nb = 0
    	}
    	if nb < 0 {
    		return ErrHeader
    	}
    
    	tr.pad = blockPadding(nb)
    	tr.curr = &regFileReader{r: tr.r, nb: nb}
    	return nil
    }
    
    // handleSparseFile checks if the current file is a sparse format of any type
    // and sets the curr reader appropriately.
    func (tr *Reader) handleSparseFile(hdr *Header, rawHdr *block) error {
    	var spd sparseDatas
    	var err error
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/archive/tar/writer.go

    	/*
    		// Write the sparse map and setup the sparse writer if necessary.
    		if len(spd) > 0 {
    			// Use tw.curr since the sparse map is accounted for in hdr.Size.
    			if _, err := tw.curr.Write(spb); err != nil {
    				return err
    			}
    			tw.curr = &sparseFileWriter{tw.curr, spd, 0}
    		}
    	*/
    	return nil
    }
    
    func (tw *Writer) writeGNUHeader(hdr *Header) error {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    			}
    			return spd
    		}(),
    	}}
    
    	for i, v := range vectors {
    		var hdr Header
    		hdr.PAXRecords = v.inputHdrs
    		r := strings.NewReader(v.inputData + "#") // Add canary byte
    		tr := Reader{curr: &regFileReader{r, int64(r.Len())}}
    		got, err := tr.readGNUSparsePAXHeaders(&hdr)
    		if !slices.Equal(got, v.wantMap) {
    			t.Errorf("test %d, readGNUSparsePAXHeaders(): got %v, want %v", i, got, v.wantMap)
    		}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  4. .teamcity/scripts/configure_build_env_on_ec2.sh

    # - we set GRADLE_RO_DEP_CACHE to '/opt/gradle-cache' if the folder exists.
    
    curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id"
    IS_EC2_INSTANCE=$?
    if [ $IS_EC2_INSTANCE -ne 0 ]; then
      echo "Not running on an EC2 instance, skipping the configuration"
      exit 0
    fi
    
    # TAG
    EC2_INSTANCE_TYPE=$(curl -s "http://169.254.169.254/latest/meta-data/instance-type")
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Aug 27 08:28:30 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arm64.go

    	case "S2":
    		curSize = 2
    		curQ = 0
    	case "S4":
    		curSize = 2
    		curQ = 1
    	case "D1":
    		curSize = 3
    		curQ = 0
    	case "D2":
    		curSize = 3
    		curQ = 1
    	default:
    		return 0, errors.New("invalid arrangement in ARM64 register list")
    	}
    	return (int64(curQ) & 1 << 30) | (int64(curSize&3) << 10), nil
    }
    
    // ARM64RegisterListOffset generates offset encoding according to AArch64 specification.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. .teamcity/mvnw

            fi
        elif command -v curl > /dev/null; then
            if [ "$MVNW_VERBOSE" = true ]; then
              echo "Found curl ... using curl"
            fi
            if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
                curl -o "$wrapperJarPath" "$jarUrl" -f
            else
                curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
            fi
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  7. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"text/sgml",
    				"text/t140",
    				"text/tab-separated-values",
    				"text/troff",
    				"text/ulpfec",
    				"text/uri-list",
    				"text/vnd.abc",
    				"text/vnd.curl",
    				"text/vnd.curl.dcurl",
    				"text/vnd.curl.scurl",
    				"text/vnd.curl.mcurl",
    				"text/vnd.dmclientscript",
    				"text/vnd.esmertec.theme-descriptor",
    				"text/vnd.fly",
    				"text/vnd.fmi.flexstor",
    				"text/vnd.graphviz",
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Aug 01 21:40:30 UTC 2020
    - 49K bytes
    - Viewed (0)
  8. ci/official/containers/ml_build_arm64/builder.packages.txt

    libcurl4-openssl-dev
    libfreetype6-dev
    libhdf5-serial-dev
    libomp-18-dev
    libssl-dev
    libtool
    libssl-dev
    libxml2-dev
    libxslt1-dev
    libzmq3-dev
    llvm-18
    clang-18
    clang-tidy-18
    lld-18
    clang-format-12
    curl
    git
    parallel
    sudo
    swig
    unzip
    zip
    openjdk-21-jdk
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 512 bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    		return false
    	}
    	var pre sparseEntry
    	for _, cur := range sp {
    		switch {
    		case cur.Offset < 0 || cur.Length < 0:
    			return false // Negative values are never okay
    		case cur.Offset > math.MaxInt64-cur.Length:
    			return false // Integer overflow with large length
    		case cur.endOffset() > size:
    			return false // Region extends beyond the actual size
    		case pre.endOffset() > cur.Offset:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. ci/official/containers/ml_build/builder.packages.txt

    rpm2cpio
    unar
    wget
    xz-utils
    cpio
    
    # Other build-related tools
    apt-transport-https
    autoconf
    automake
    build-essential
    ca-certificates
    llvm-18
    clang-18
    clang-tidy-18
    lld-18
    clang-format-12
    curl
    git
    parallel
    sudo
    swig
    unzip
    zip
    openjdk-21-jdk
    vim
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Mar 11 00:08:59 UTC 2025
    - 363 bytes
    - Viewed (0)
Back to top