Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,409 for tnames (0.13 sec)

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

    			if imp == nil {
    				// create a new fake package
    				// come up with a sensible package name (heuristic)
    				name := path
    				if i := len(name); i > 0 && name[i-1] == '/' {
    					name = name[:i-1]
    				}
    				if i := strings.LastIndex(name, "/"); i >= 0 {
    					name = name[i+1:]
    				}
    				imp = NewPackage(path, name)
    			}
    			// continue to use the package as best as we can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/codegen_test_h.golden

      };
    
      // Array of names of each positional argument, terminated by nullptr.
      static const char** StaticArgNames() {
        static const char* kNames[] = {"myfeed", nullptr};
        return kNames;
      }
    
      // Array of names of each positional variable, terminated by nullptr.
      static const char** StaticVariableNames() {
        static const char* kNames[] = {"myvar_readonly", "myvar", "myvar2", nullptr};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/util.go

    }
    
    type opSet struct {
    	lo    As
    	names []string
    }
    
    // Not even worth sorting
    var aSpace []opSet
    
    // RegisterOpcode binds a list of instruction names
    // to a given instruction number range.
    func RegisterOpcode(lo As, Anames []string) {
    	if len(Anames) > AllowedOpCodes {
    		panic(fmt.Sprintf("too many instructions, have %d max %d", len(Anames), AllowedOpCodes))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. src/go/doc/example.go

    func nameWithoutInst(name string) string {
    	start := strings.Index(name, "[")
    	if start < 0 {
    		return name
    	}
    	end := strings.LastIndex(name, "]")
    	if end < 0 {
    		// Malformed name, should contain closing bracket too.
    		return name
    	}
    	return name[0:start] + name[end+1:]
    }
    
    // splitExampleName attempts to split example name s at index i,
    // and reports if that produces a valid split. The suffix may be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/decl.go

    	//           constraints to make sure we don't rely on them if they
    	//           are not properly set yet.
    	tname := NewTypeName(name.Pos(), check.pkg, name.Value, nil)
    	tpar := check.newTypeParam(tname, Typ[Invalid]) // assigns type to tname as a side-effect
    	check.declare(check.scope, name, tname, scopePos)
    	return tpar
    }
    
    func (check *Checker) collectMethods(obj *TypeName) {
    	// get associated methods
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/cpu.go

    	REG_T4   = REG_X29
    	REG_T5   = REG_X30
    	REG_T6   = REG_X31 // aka REG_TMP
    
    	// Go runtime register names.
    	REG_CTXT = REG_S10 // Context for closures.
    	REG_G    = REG_S11 // G pointer.
    	REG_LR   = REG_RA  // Link register.
    	REG_TMP  = REG_T6  // Reserved for assembler use.
    
    	// ABI names for floating point registers.
    	REG_FT0  = REG_F0
    	REG_FT1  = REG_F1
    	REG_FT2  = REG_F2
    	REG_FT3  = REG_F3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    		path := append(empty, o.Name()...)
    		path = append(path, opType)
    
    		T := o.Type()
    
    		if tname.IsAlias() {
    			// type alias
    			if r := find(obj, T, path, nil); r != nil {
    				return Path(r), nil
    			}
    		} else {
    			if named, _ := T.(*types.Named); named != nil {
    				if r := findTypeParam(obj, named.TypeParams(), path, nil); r != nil {
    					// generic named type
    					return Path(r), nil
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/gcimporter_test.go

    	pkg := importPkg(t, "strings", ".")
    
    	scope := pkg.Scope()
    	for _, name := range scope.Names() {
    		obj := scope.Lookup(name)
    		if obj.Pkg() == nil {
    			t.Errorf("no pkg for %s", obj)
    		}
    		if tname, _ := obj.(*types.TypeName); tname != nil {
    			named := tname.Type().(*types.Named)
    			for i := 0; i < named.NumMethods(); i++ {
    				m := named.Method(i)
    				if m.Pkg() == nil {
    					t.Errorf("no pkg for %s", m)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/object.go

    	setScopePos(pos syntax.Pos)
    }
    
    func isExported(name string) bool {
    	ch, _ := utf8.DecodeRuneInString(name)
    	return unicode.IsUpper(ch)
    }
    
    // Id returns name if it is exported, otherwise it
    // returns the name qualified with the package path.
    func Id(pkg *Package, name string) string {
    	if isExported(name) {
    		return name
    	}
    	// unexported names need the package path for differentiation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

    			return err
    		}
    		for _, gw := range waypoints.Items {
    			names = append(names, gw.Name)
    		}
    	}
    
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	for _, name := range names {
    		wg.Add(1)
    		go func(name string) {
    			defer wg.Done()
    			if err := kubeClient.GatewayAPI().GatewayV1().Gateways(namespace).
    				Delete(context.Background(), name, metav1.DeleteOptions{}); err != nil {
    				if errors.IsNotFound(err) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top