Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Greter (0.05 sec)

  1. src/archive/tar/writer.go

    	"path"
    	"slices"
    	"strings"
    	"time"
    )
    
    // Writer provides sequential writing of a tar archive.
    // [Writer.WriteHeader] begins a new file with the provided [Header],
    // and then Writer can be treated as an io.Writer to supply that file's data.
    type Writer struct {
    	w    io.Writer
    	pad  int64      // Amount of padding to write after current file entry
    	curr fileWriter // Writer for current file entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/query.go

    				// If the latest compatible version is allowed and has a go.mod file,
    				// ignore any version with a higher (+incompatible) major version. (See
    				// https://golang.org/issue/34165.) Note that we even prefer a
    				// compatible pre-release over an incompatible release.
    				ok, err := versionHasGoMod(ctx, module.Version{Path: qm.path, Version: lastCompatible})
    				if err != nil {
    					return nil, nil, err
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/parse.go

    	isJump        bool             // Instruction being assembled is a jump.
    	allowABI      bool             // Whether ABI selectors are allowed.
    	pkgPrefix     string           // Prefix to add to local symbols.
    	errorWriter   io.Writer
    }
    
    type Patch struct {
    	addr  *obj.Addr
    	label string
    }
    
    func NewParser(ctxt *obj.Link, ar *arch.Arch, lexer lex.TokenReader) *Parser {
    	pkgPrefix := obj.UnlinkablePkg
    	if ctxt != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/git_test.go

    	return nil
    }
    
    func testContext(t testing.TB) context.Context {
    	w := newTestWriter(t)
    	return cfg.WithBuildXWriter(context.Background(), w)
    }
    
    // A testWriter is an io.Writer that writes to a test's log.
    //
    // The writer batches written data until the last byte of a write is a newline
    // character, then flushes the batched data as a single call to Logf.
    // Any remaining unflushed data is logged during Cleanup.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/magic.go

    // so RotRight(x, k) > ⎣x/(2^k)⎦
    //
    // Finally, if x > a and has k trailing zero bits, then RotRight(x, k) == ⎣x/(2^k)⎦
    // and ⎣x/(2^k)⎦ must be greater than ⎣a/(2^k)⎦, that is the top n-k bits of x must
    // be greater than the top n-k bits of a because the rest of x bits are zero.
    //
    // So the two conditions about can be replaced with the single test
    //
    // RotRight(x*m mod 2^n, k) <= ⎣(2^n - 1)/c⎦
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/decl.go

    	//
    	// During type inference, an object's color changes from white to grey
    	// to black (pre-declared objects are painted black from the start).
    	// A black object (i.e., its type) can only depend on (refer to) other black
    	// ones. White and grey objects may depend on white and black objects.
    	// A dependency on a grey object indicates a cycle which may or may not be
    	// valid.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modcmd/vendor.go

    	}
    	for m := range modpkgs {
    		if !isExplicit[m] {
    			vendorMods = append(vendorMods, m)
    		}
    	}
    	gover.ModSort(vendorMods)
    
    	var (
    		buf bytes.Buffer
    		w   io.Writer = &buf
    	)
    	if cfg.BuildV {
    		w = io.MultiWriter(&buf, os.Stderr)
    	}
    
    	if modload.MainModules.WorkFile() != nil {
    		fmt.Fprintf(w, "## workspace\n")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/shell.go

    			os.Remove(dst + "~")
    		}
    		df, err = os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
    	}
    	if err != nil {
    		return fmt.Errorf("copying %s: %w", src, err) // err should already refer to dst
    	}
    
    	_, err = io.Copy(df, sf)
    	df.Close()
    	if err != nil {
    		mayberemovefile(dst)
    		return fmt.Errorf("copying %s to %s: %v", src, dst, err)
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/buildid.go

    // during the build. (How does the compiler binary know its own content hash?
    // We store it there using updateBuildID after the standard link step.)
    //
    // A final twist is that we'd prefer to have reproducible builds for release toolchains.
    // It should be possible to cross-compile for Windows from either Linux or Mac
    // or Windows itself and produce the same binaries, bit for bit. If the tool ID,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    // size. If the argument io.Writer is already a [Writer] with large enough
    // size, it returns the underlying [Writer].
    func NewWriterSize(w io.Writer, size int) *Writer {
    	// Is it already a Writer?
    	b, ok := w.(*Writer)
    	if ok && len(b.buf) >= size {
    		return b
    	}
    	if size <= 0 {
    		size = defaultBufSize
    	}
    	return &Writer{
    		buf: make([]byte, size),
    		wr:  w,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
Back to top