Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for minima (0.47 sec)

  1. src/archive/tar/example_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package tar_test
    
    import (
    	"archive/tar"
    	"bytes"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  2. doc/README.md

    then an `api/next` file with the line
    
        pkg net/http, function F #12345
    
    should have a corresponding file named `doc/next/6-stdlib/99-minor/net/http/12345.md`.
    At a minimum, that file should contain either a full sentence or a TODO,
    ideally referring to a person with the responsibility to complete the note.
    
    Use the following forms in your markdown:
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    	fmtStr(ustar.userName(), hdr.Uname)
    	fmtStr(ustar.groupName(), hdr.Gname)
    	fmtNum(ustar.devMajor(), hdr.Devmajor)
    	fmtNum(ustar.devMinor(), hdr.Devminor)
    
    	return &tw.blk
    }
    
    // writeRawFile writes a minimal file with the given name and flag type.
    // It uses format to encode the header format and will write data as the body.
    // It uses default values for all of the other fields (as BSD and GNU tar does).
    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)
  4. src/builtin/builtin.go

    // destination slice. (As a special case, it also will copy bytes from a
    // string to a slice of bytes.) The source and destination may overlap. Copy
    // returns the number of elements copied, which will be the minimum of
    // len(src) and len(dst).
    func copy(dst, src []Type) int
    
    // The delete built-in function deletes the element with the specified key
    // (m[key]) from the map. If m is nil or there is no such element, delete
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. doc/go_spec.html

    uint16, int16                         2
    uint32, int32, float32                4
    uint64, int64, float64, complex64     8
    complex128                           16
    </pre>
    
    <p>
    The following minimal alignment properties are guaranteed:
    </p>
    <ol>
    <li>For a variable <code>x</code> of any type: <code>unsafe.Alignof(x)</code> is at least 1.
    </li>
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  6. doc/godebug.md

    allows individual programs to opt back in to the old behavior.
    A GODEBUG setting may not be added if doing so is infeasible,
    but that should be extremely rare.
    
    GODEBUG settings added for compatibility will be maintained
    for a minimum of two years (four Go releases).
    Some, such as `http2client` and `http2server`,
    will be maintained much longer, even indefinitely.
    
    When possible, each GODEBUG setting has an associated
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/archive/zip/reader.go

    				err = ErrChecksum
    			}
    		}
    	}
    	r.err = err
    	return
    }
    
    func (r *checksumReader) Close() error { return r.rc.Close() }
    
    // findBodyOffset does the minimum work to verify the file has a header
    // and returns the file body offset.
    func (f *File) findBodyOffset() (int64, error) {
    	var buf [fileHeaderLen]byte
    	if _, err := f.zipr.ReadAt(buf[:], f.headerOffset); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    		// ReadSlice, and it's that function that handles
    		// the last byte.
    	}
    
    	// Try all readers with UnreadByte.
    	for rno, read := range readers {
    		// Some input data that is longer than the minimum reader buffer size.
    		const n = 10
    		var buf bytes.Buffer
    		for i := 0; i < n; i++ {
    			buf.WriteString("abcdefg")
    		}
    
    		r := NewReaderSize(&buf, minReadBufferSize)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    uint16, int16                         2
    uint32, int32, float32                4
    uint64, int64, float64, complex64     8
    complex128                           16
    </pre>
    
    <p>
    The following minimal alignment properties are guaranteed:
    </p>
    <ol>
    <li>For a variable <code>x</code> of any type: <code>unsafe.Alignof(x)</code> is at least 1.
    </li>
    
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/cgotest/overlaydir.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    import (
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    // OverlayDir makes a minimal-overhead copy of srcRoot in which new files may be added.
    func OverlayDir(dstRoot, srcRoot string) error {
    	dstRoot = filepath.Clean(dstRoot)
    	if err := os.MkdirAll(dstRoot, 0777); err != nil {
    		return err
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top