Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for utility (0.21 sec)

  1. src/archive/tar/common.go

    // starting offset is aligned up to the nearest block edge, and each
    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    // offsets and lengths that are multiples of blockSize.
    func alignSparseEntries(src []sparseEntry, size int64) []sparseEntry {
    	dst := src[:0]
    	for _, s := range src {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  2. src/arena/arena.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build goexperiment.arenas
    
    /*
    The arena package provides the ability to allocate memory for a collection
    of Go values and free that space manually all at once, safely. The purpose
    of this functionality is to improve efficiency: manually freeing memory
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  3. src/bufio/example_test.go

    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string")
    	}
    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    	const input = "Now is the winter of our discontent,\nMade glorious summer by this sun of York.\n"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    it is not problematic for the link step to require gcc too.
    
    An important exception is builds using a pre-compiled copy of the
    standard library. In particular, package net uses cgo on most systems,
    and we want to preserve the ability to compile pure Go code that
    imports net without requiring gcc to be present at link time. (In this
    case, the dynamic library requirement is less significant, because the
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  5. misc/chrome/gophertool/manifest.json

    {
      "name": "Hacking Gopher",
      "version": "1.0",
      "manifest_version": 2,
      "description": "Go Hacking utility",
      "background": {
        "page": "background.html"
      },
      "browser_action": {
        "default_icon": "gopher.png",
        "default_popup": "popup.html"
      },
      "omnibox": { "keyword": "golang" },
      "icons": {
        "16": "gopher.png"
      },
      "permissions": [
         "tabs"
      ]
    Json
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 05 20:52:13 GMT 2012
    - 378 bytes
    - Viewed (0)
  6. doc/go_spec.html

    the compatibility guarantee ensures that a Go program that works with a
    specific Go language version will continue to work with any subsequent version.
    </p>
    
    <p>
    For instance, the ability to use the prefix <code>0b</code> for binary
    integer literals was introduced with Go 1.13, indicated
    by [<a href="#Go_1.13">Go 1.13</a>] in the section on
    <a href="#Integer_literals">integer literals</a>.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  7. src/archive/tar/format.go

    	// preceding the original header. This file contains a set of key-value
    	// records, which are used to overcome USTAR's shortcomings, in addition to
    	// providing the ability to have sub-second resolution for timestamps.
    	//
    	// Some newer formats add their own extensions to PAX by defining their
    	// own keys and assigning certain semantic meaning to the associated values.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  8. src/archive/tar/reader.go

    // boundary of the block containing the last newline.
    //
    // Note that the GNU manual says that numeric values should be encoded in octal
    // format. However, the GNU tar utility itself outputs these values in decimal.
    // As such, this library treats values as being encoded in decimal.
    func readGNUSparseMap1x0(r io.Reader) (sparseDatas, error) {
    	var (
    		cntNewline int64
    		buf        bytes.Buffer
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top