Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for specialized (0.33 sec)

  1. src/cmd/compile/internal/types/pkg.go

    	// TODO(gri) remove this check in favor of specialized lookup
    	if pkg == nil {
    		pkg = nopkg
    	}
    	if s := pkg.Syms[name]; s != nil {
    		return s, true
    	}
    
    	s = &Sym{
    		Name: name,
    		Pkg:  pkg,
    	}
    	pkg.Syms[name] = s
    	return s, false
    }
    
    func (pkg *Pkg) LookupBytes(name []byte) *Sym {
    	// TODO(gri) remove this check in favor of specialized lookup
    	if pkg == nil {
    		pkg = nopkg
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:28:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/errors.go

    // message (go/types).
    func (err *error_) addf(at poser, format string, args ...interface{}) {
    	err.desc = append(err.desc, errorDesc{atPos(at), err.check.sprintf(format, args...)})
    }
    
    // addAltDecl is a specialized form of addf reporting another declaration of obj.
    func (err *error_) addAltDecl(obj Object) {
    	if pos := obj.Pos(); pos.IsKnown() {
    		// We use "other" rather than "previous" here because
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func convT(typ *byte, elem *any) unsafe.Pointer
    
    // Same as convT, for types with no pointers in them.
    func convTnoptr(typ *byte, elem *any) unsafe.Pointer
    
    // Specialized versions of convT for specific types.
    // These functions take concrete types in the runtime. But they may
    // be used for a wider range of types, which have the same memory
    // layout as the parameter type. The compiler converts the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    // the integer type used to store each numeric field
    // (where timestamps are stored as the number of seconds since the Unix epoch).
    //
    // The table's lower portion shows specialized features of each format,
    // such as supported string encodings, support for sub-second timestamps,
    // or support for sparse files.
    //
    // The Writer currently provides no support for sparse files.
    type Format int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/convert.go

    			n = copyExpr(n, fromType, init)
    		}
    		fn = typecheck.LookupRuntime(fnname, fromType)
    		args = []ir.Node{reflectdata.ConvIfaceSrcRType(base.Pos, conv), typecheck.NodAddr(n)}
    	} else {
    		// Use a specialized conversion routine that takes the type being
    		// converted by value, not by pointer.
    		fn = typecheck.LookupRuntime(fnname)
    		var arg ir.Node
    		switch {
    		case fromType == argType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/cover.go

    		return fmt.Errorf("marshal MetaFileCollection: %v", err)
    	}
    	data = append(data, '\n') // makes -x output more readable
    
    	// Create the directory for this action's objdir and
    	// then write out the serialized collection
    	// to a file in the directory.
    	if err := sh.Mkdir(a.Objdir); err != nil {
    		return err
    	}
    	mfpath := a.Objdir + coverage.MetaFilesFileName
    	if err := sh.writeFile(mfpath, data); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 19:09:38 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. src/cmd/dist/test.go

    }
    
    // bgCommand returns a go test Cmd and a post-Run flush function. The result
    // will write its output to stdout and stderr. If stdout==stderr, bgCommand
    // ensures Writes are serialized. The caller should call flush() after Cmd exits.
    func (opts *goTest) bgCommand(t *tester, stdout, stderr io.Writer) (cmd *exec.Cmd, flush func()) {
    	build, run, pkgs, testFlags, setupCmd := opts.buildArgs(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/exec.go

    			err = a.Actor.Act(b, ctx, a)
    			span.Done()
    		}
    		if a.json != nil {
    			a.json.TimeDone = time.Now()
    		}
    
    		// The actions run in parallel but all the updates to the
    		// shared work state are serialized through b.exec.
    		b.exec.Lock()
    		defer b.exec.Unlock()
    
    		if err != nil {
    			if b.AllowErrors && a.Package != nil {
    				if a.Package.Error == nil {
    					a.Package.Error = &load.PackageError{Err: err}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top