Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 273 for mime (0.32 sec)

  1. src/archive/zip/register.go

    // The WriteCloser's Close method must be used to flush pending data to w.
    // The Compressor itself must be safe to invoke from multiple goroutines
    // simultaneously, but each returned writer will be used only by
    // one goroutine at a time.
    type Compressor func(w io.Writer) (io.WriteCloser, error)
    
    // A Decompressor returns a new decompressing reader, reading from r.
    // The [io.ReadCloser]'s Close method must be used to release associated resources.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/action.go

    	BuildID    string    `json:",omitempty"`
    	TimeReady  time.Time `json:",omitempty"`
    	TimeStart  time.Time `json:",omitempty"`
    	TimeDone   time.Time `json:",omitempty"`
    
    	Cmd     []string      // `json:",omitempty"`
    	CmdReal time.Duration `json:",omitempty"`
    	CmdUser time.Duration `json:",omitempty"`
    	CmdSys  time.Duration `json:",omitempty"`
    }
    
    // cacheKey is the key for the action cache.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/build_issue6480.txt

    package main
    
    import (
    	"encoding/json"
    	"fmt"
    	"os"
    	"time"
    )
    
    func truncateLike(t, p time.Time) time.Time {
    	nano := p.UnixNano()
    	d := 1 * time.Nanosecond
    	for nano%int64(d) == 0 && d < 1*time.Second {
    		d *= 10
    	}
    	for nano%int64(d) == 0 && d < 2*time.Second {
    		d *= 2
    	}
    	return t.Truncate(d)
    }
    
    func main() {
    	var t1 time.Time
    	b1, err := os.ReadFile(os.Args[1])
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/mod/golang.org_x_internal_v0.1.0.txt

    written by hand — loosely derived from golang.org/x/crypto/internal/subtle,
    but splitting the internal package across a module boundary
    
    -- .mod --
    module golang.org/x/internal
    -- .info --
    {"Version":"v0.1.0","Name":"","Short":"","Time":"2018-07-25T17:24:00Z"}
    -- go.mod --
    module golang.org/x/internal
    -- subtle/aliasing.go --
    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 31 01:58:53 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    	// does not always result in the PAX format being chosen, which
    	// causes a 1KiB increase to every header.
    	if tw.hdr.Format == FormatUnknown {
    		tw.hdr.ModTime = tw.hdr.ModTime.Round(time.Second)
    		tw.hdr.AccessTime = time.Time{}
    		tw.hdr.ChangeTime = time.Time{}
    	}
    
    	allowedFormats, paxHdrs, err := tw.hdr.allowedFormats()
    	switch {
    	case allowedFormats.has(FormatUSTAR):
    		tw.err = tw.writeUSTARHeader(&tw.hdr)
    		return tw.err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. api/go1.10.txt

    pkg net/smtp, method (*Client) Noop() error
    pkg os, func IsTimeout(error) bool
    pkg os, method (*File) SetDeadline(time.Time) error
    pkg os, method (*File) SetReadDeadline(time.Time) error
    pkg os, method (*File) SetWriteDeadline(time.Time) error
    pkg os, method (*PathError) Timeout() bool
    pkg os, method (*SyscallError) Timeout() bool
    pkg os, var ErrNoDeadline error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
  7. src/cmd/go/help_test.go

    	testenv.MustHaveGoBuild(t)
    	if !*fixDocs {
    		t.Parallel()
    	}
    
    	// We run 'go help documentation' as a subprocess instead of
    	// calling help.Help directly because it may be sensitive to
    	// init-time configuration
    	cmd := testenv.Command(t, testGo, "help", "documentation")
    	// Unset GO111MODULE so that the 'go get' section matches
    	// the default 'go get' implementation.
    	cmd.Env = append(cmd.Environ(), "GO111MODULE=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 15:45:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/mod/not-rsc.io_quote_v0.1.0-nomod.txt

    Constructed by hand.
    (derived from rsc.io/quote@e7a685a342, but without an explicit go.mod file.)
    
    -- .mod --
    module "not-rsc.io/quote"
    -- .info --
    {"Version":"v0.1.0-nomod","Time":"2018-02-14T00:51:33Z"}
    -- quote.go --
    // Copyright 2018 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.
    
    // Package quote collects pithy sayings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 24 17:40:35 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/mod/rsc.io_quote_v1.2.1.txt

    rsc.io/quote@v1.2.1
    
    -- .mod --
    module "rsc.io/quote"
    -- .info --
    {"Version":"v1.2.1","Name":"5c1f03b64ab7aa958798a569a31924655dc41e76","Short":"5c1f03b64ab7","Time":"2018-02-14T00:54:20Z"}
    -- go.mod --
    module "rsc.io/quote"
    -- quote.go --
    // Copyright 2018 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.
    
    // Package quote collects pithy sayings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/riscv64/ggen.go

    		p.To.Name = obj.NAME_EXTERN
    		p.To.Sym = ir.Syms.Duffzero
    		p.To.Offset = 8 * (128 - cnt/int64(types.PtrSize))
    		return p
    	}
    
    	// Loop, zeroing pointer width bytes at a time.
    	// ADD	$(off), SP, T0
    	// ADD	$(cnt), T0, T1
    	// loop:
    	// 	MOV	ZERO, (T0)
    	// 	ADD	$Widthptr, T0
    	//	BNE	T0, T1, loop
    	p = pp.Append(p, riscv.AADD, obj.TYPE_CONST, 0, off, obj.TYPE_REG, riscv.REG_T0, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top