Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for James (0.2 sec)

  1. src/cmd/compile/internal/types2/object_test.go

    			if err != nil {
    				t.Fatalf("%s: %s", src, err)
    			}
    
    			names := strings.Split(test.obj, ".")
    			if len(names) != 1 && len(names) != 2 {
    				t.Fatalf("%s: invalid object path %s", test.src, test.obj)
    			}
    			_, obj := pkg.Scope().LookupParent(names[0], nopos)
    			if obj == nil {
    				t.Fatalf("%s: %s not found", test.src, names[0])
    			}
    			if len(names) == 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/stackalloc.go

    	f := s.f
    
    	// Build map from values to their names, if any.
    	// A value may be associated with more than one name (e.g. after
    	// the assignment i=j). This step picks one name per value arbitrarily.
    	if n := f.NumValues(); cap(s.names) >= n {
    		s.names = s.names[:n]
    	} else {
    		s.names = make([]LocalSlot, n)
    	}
    	names := s.names
    	empty := LocalSlot{}
    	for _, name := range f.Names {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/tool/tool.go

    		base.SetExitStatus(2)
    		return
    	}
    	defer f.Close()
    	names, err := f.Readdirnames(-1)
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "go: can't read tool directory: %s\n", err)
    		base.SetExitStatus(2)
    		return
    	}
    
    	sort.Strings(names)
    	for _, name := range names {
    		// Unify presentation by going to lower case.
    		// If it's windows, don't show the .exe suffix.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/typestring.go

    	qf           Qualifier
    	ctxt         *Context       // if non-nil, we are type hashing
    	tparams      *TypeParamList // local type parameters
    	paramNames   bool           // if set, write function parameter names, otherwise, write types only
    	tpSubscripts bool           // if set, write type parameter indices as subscripts
    	pkgInfo      bool           // package-annotate first unexported-type field to avoid confusing type description
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. lib/time/mkzip.go

    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/decl.go

    		var mset objset
    		for i := 0; i < base.NumMethods(); i++ {
    			m := base.Method(i)
    			assert(m.name != "_")
    			assert(mset.insert(m) == nil)
    		}
    
    		// Check that any non-blank field names of base are distinct from its
    		// method names.
    		for _, fld := range t.fields {
    			if fld.name != "_" {
    				if alt := mset.insert(fld); alt != nil {
    					// Struct fields should already be unique, so we should only
    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

    Vendor resets the main module's vendor directory to include all packages
    needed to build and test all the main module's packages.
    It does not include test code for vendored packages.
    
    The -v flag causes vendor to print the names of vendored
    modules and packages to standard error.
    
    The -e flag causes vendor to attempt to proceed despite errors
    encountered while loading packages.
    
    The -o flag causes vendor to create the vendor directory at the given
    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/compile/internal/ssa/copyelim.go

    	for _, b := range f.Blocks {
    		for i, v := range b.ControlValues() {
    			if v.Op == OpCopy {
    				b.ReplaceControl(i, v.Args[0])
    			}
    		}
    	}
    
    	// Update named values.
    	for _, name := range f.Names {
    		values := f.NamedValues[*name]
    		for i, v := range values {
    			if v.Op == OpCopy {
    				values[i] = v.Args[0]
    			}
    		}
    	}
    }
    
    // copySource returns the (non-copy) op which is the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/builtins_test.go

    		seen[call.name] = true
    	}
    
    	// make sure we didn't miss one
    	for _, name := range Universe.Names() {
    		if _, ok := Universe.Lookup(name).(*Builtin); ok && !seen[name] {
    			t.Errorf("missing test for %s", name)
    		}
    	}
    	for _, name := range Unsafe.Scope().Names() {
    		if _, ok := Unsafe.Scope().Lookup(name).(*Builtin); ok && !seen[name] {
    			t.Errorf("missing test for unsafe.%s", name)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/vet/vetflag.go

    		if errors.Is(err, flag.ErrHelp) {
    			exitWithUsage()
    		}
    
    		if errors.Is(err, cmdflag.ErrFlagTerminator) {
    			// All remaining args must be package names, but the flag terminator is
    			// not included.
    			packageNames = remainingArgs
    			break
    		}
    
    		if nf := (cmdflag.NonFlagError{}); errors.As(err, &nf) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top