Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for greeting (0.23 sec)

  1. doc/go1.17_spec.html

    call site.
    </p>
    
    <p>
    Given the function and calls
    </p>
    <pre>
    func Greeting(prefix string, who ...string)
    Greeting("nobody")
    Greeting("hello:", "Joe", "Anna", "Eileen")
    </pre>
    
    <p>
    within <code>Greeting</code>, <code>who</code> will have the value
    <code>nil</code> in the first call, and
    <code>[]string{"Joe", "Anna", "Eileen"}</code> in the second.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    is okay, because cmd/link also processes the cgo_import_static directive and
    knows that _cgo_gcc_Cfunc_sin is expected to be supplied by a host
    object file, so cmd/link does not treat the missing symbol as an error when
    creating go.o. Indeed, the definition for _cgo_gcc_Cfunc_sin will be
    provided to the host linker by foo2.cgo.o, which in turn will need the
    symbol 'sin'. cmd/link also processes the cgo_ldflag directives, so that it
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. doc/go_spec.html

    call site.
    </p>
    
    <p>
    Given the function and calls
    </p>
    <pre>
    func Greeting(prefix string, who ...string)
    Greeting("nobody")
    Greeting("hello:", "Joe", "Anna", "Eileen")
    </pre>
    
    <p>
    within <code>Greeting</code>, <code>who</code> will have the value
    <code>nil</code> in the first call, and
    <code>[]string{"Joe", "Anna", "Eileen"}</code> in the second.
    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)
  4. src/archive/tar/common.go

    // Some fields may not be populated.
    //
    // For forward compatibility, users that retrieve a Header from Reader.Next,
    // mutate it in some ways, and then pass it back to Writer.WriteHeader
    // should do so by creating a new Header and copying the fields
    // that they are interested in preserving.
    type Header struct {
    	// Typeflag is the type of header entry.
    	// The zero value is automatically promoted to either TypeReg or TypeDir
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  5. doc/README.md

    # Release Notes
    
    The `initial` and `next` subdirectories of this directory are for release notes.
    
    ## For developers
    
    Release notes should be added to `next` by editing existing files or creating
    new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to
    the CL (or ask the author to do so).
    
    At the end of the development cycle, the files will be merged by being
    concatenated in sorted order by pathname. Files in the directory matching the
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    			Method: Store, // Deflate is too slow when it is compiled with -race flag
    		})
    		if err != nil {
    			t.Fatalf("creating file %d: %v", i, err)
    		}
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("Writer.Close: %v", err)
    	}
    	s := buf.String()
    	zr, err := NewReader(strings.NewReader(s), int64(len(s)))
    	if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    		c0 := sep[0]
    		c1 := sep[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    			if s[i] != c0 {
    				// IndexByte is faster than bytealg.Index, so use it as long as
    				// we're not getting lots of false positives.
    				o := IndexByte(s[i+1:t], c0)
    				if o < 0 {
    					return -1
    				}
    				i += o + 1
    			}
    			if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    				return i
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  8. src/archive/zip/writer.go

    		}
    		fw.rawCount = &countWriter{w: fw.comp}
    		fw.header = h
    		ow = fw
    	}
    	w.dir = append(w.dir, h)
    	if err := writeHeader(w.cw, h); err != nil {
    		return nil, err
    	}
    	// If we're creating a directory, fw is nil.
    	w.last = fw
    	return ow, nil
    }
    
    func writeHeader(w io.Writer, h *header) error {
    	const maxUint16 = 1<<16 - 1
    	if len(h.Name) > maxUint16 {
    		return errLongName
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    			// versions of Go, we skeptically parse the atime and ctime fields.
    			// If we are unable to parse them and the prefix field looks like
    			// an ASCII string, then we fallback on the pre-Go1.8 behavior
    			// of treating these fields as the USTAR prefix field.
    			//
    			// Note that this will not use the fallback logic for all possible
    			// files generated by a pre-Go1.8 toolchain. If the generated file
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
Back to top