Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for promise (0.17 sec)

  1. src/archive/tar/writer.go

    func (tw *Writer) WriteHeader(hdr *Header) error {
    	if err := tw.Flush(); err != nil {
    		return err
    	}
    	tw.hdr = *hdr // Shallow copy of Header
    
    	// Avoid usage of the legacy TypeRegA flag, and automatically promote
    	// it to use TypeReg or TypeDir.
    	if tw.hdr.Typeflag == TypeRegA {
    		if strings.HasSuffix(tw.hdr.Name, "/") {
    			tw.hdr.Typeflag = TypeDir
    		} else {
    			tw.hdr.Typeflag = TypeReg
    		}
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    or a union of terms <code>t<sub>1</sub>|t<sub>2</sub>|…|t<sub>n</sub></code>
    [<a href="#Go_1.18">Go 1.18</a>].
    Together with method specifications, these elements enable the precise
    definition of an interface's type set as follows:
    </p>
    
    <ul>
    	<li>The type set of the empty interface is the set of all non-interface types.
    	</li>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  3. doc/go_mem.html

    <p>
    The preceding section gave a formal definition of data-race-free program execution.
    This section informally describes the semantics that implementations must provide
    for programs that do contain races.
    </p>
    
    <p>
    Any implementation can, upon detecting a data race,
    report the race and halt execution of the program.
    Implementations using ThreadSanitizer
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    				},
    		*/
    	}, {
    		file: "testdata/trailing-slash.tar",
    		tests: []testFnc{
    			testHeader{Header{Name: strings.Repeat("123456789/", 30)}, nil},
    			testClose{nil},
    		},
    	}, {
    		// Automatically promote zero value of Typeflag depending on the name.
    		file: "testdata/file-and-dir.tar",
    		tests: []testFnc{
    			testHeader{Header{Name: "small.txt", Size: 5}, nil},
    			testWrite{"Kilts", 5, nil},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  5. .github/ISSUE_TEMPLATE/00-bug.yml

    description: The go command, standard library, or anything else
    title: "import/path: issue title"
    
    body:
      - type: markdown
        attributes:
          value: |
            Thanks for helping us improve! 🙏 Please answer these questions and provide as much information as possible about your problem.
    
      - type: input
        id: go-version
        attributes:
          label: Go version
          description: |
            What version of Go are you using (`go version`)?
    
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. doc/next/5-toolchain.md

    ## Compiler {#compiler}
    
    The build time overhead to building with [Profile Guided Optimization](/doc/pgo) has been reduced significantly.
    Previously, large builds could see 100%+ build time increase from enabling PGO.
    In Go 1.23, overhead should be in the single digit percentages.
    
    ## Assembler {#assembler}
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 18 15:39:17 GMT 2024
    - 332 bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/03-gopls.yml

          render: shell
        validations:
          required: true
      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
          description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best."
        validations:
          required: true
      - type: textarea
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top