Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for reporters (4.49 sec)

  1. src/archive/zip/zip_test.go

    		p = p[add:]
    	}
    	for len(p) > 0 {
    		n := copy(ss.buf[ss.start:], p)
    		p = p[n:]
    		ss.start += n
    		if ss.start == ss.keep {
    			ss.start = 0
    		}
    	}
    	return
    }
    
    // generatesZip64 reports whether f wrote a zip64 file.
    // f is also responsible for closing w.
    func generatesZip64(t *testing.T, f func(w *Writer)) bool {
    	ss := &suffixSaver{keep: 10 << 20}
    	w := NewWriter(ss)
    	f(w)
    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)
  2. src/cmd/cgo/doc.go

    file named dynimportfail. The _cgo_import.go file is only needed when
    using internal linking mode, which is not the default when linking
    programs that use cgo (as described below). If the linker sees a file
    named dynimportfail it reports an error if it has been told to use
    internal linking mode. This approach is taken because generating
    _cgo_import.go requires doing a full C link of the package, which can
    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. src/archive/zip/reader_test.go

    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    	File       string
    	Size       uint64
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    //
    //	var sparseFile = "\x00"*2 + "abcde" + "\x00"*11 + "fgh" + "\x00"*4
    type (
    	sparseDatas []sparseEntry
    	sparseHoles []sparseEntry
    )
    
    // validateSparseEntries reports whether sp is a valid sparse map.
    // It does not matter whether sp represents data fragments or hole fragments.
    func validateSparseEntries(sp []sparseEntry, size int64) bool {
    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. src/archive/zip/writer.go

    func (w *Writer) Create(name string) (io.Writer, error) {
    	header := &FileHeader{
    		Name:   name,
    		Method: Deflate,
    	}
    	return w.CreateHeader(header)
    }
    
    // detectUTF8 reports whether s is a valid UTF-8 string, and whether the string
    // must be considered UTF-8 encoding (i.e., not compatible with CP-437, ASCII,
    // or any other common encoding).
    func detectUTF8(s string) (valid, require bool) {
    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)
  6. src/cmd/api/main_test.go

    func featureWithoutContext(f string) string {
    	if !strings.Contains(f, "(") {
    		return f
    	}
    	return spaceParensRx.ReplaceAllString(f, "")
    }
    
    // portRemoved reports whether the given port-specific API feature is
    // okay to no longer exist because its port was removed.
    func portRemoved(feature string) bool {
    	return strings.Contains(feature, "(darwin-386)") ||
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top