Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for pubnames (0.12 sec)

  1. src/debug/dwarf/open.go

    // the ".debug_abbrev" section.
    func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, error) {
    	d := &Data{
    		abbrev:      abbrev,
    		aranges:     aranges,
    		frame:       frame,
    		info:        info,
    		line:        line,
    		pubnames:    pubnames,
    		ranges:      ranges,
    		str:         str,
    		abbrevCache: make(map[uint64]abbrevTable),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/testing/match.go

    }
    
    // unique creates a unique name for the given parent and subname by affixing it
    // with one or more counts, if necessary.
    func (m *matcher) unique(parent, subname string) string {
    	base := parent + "/" + subname
    
    	for {
    		n := m.subNames[base]
    		if n < 0 {
    			panic("subtest count overflow")
    		}
    		m.subNames[base] = n + 1
    
    		if n == 0 && subname != "" {
    			prefix, nn := parseSubtestNumber(base)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. src/testing/match_test.go

    		seen = make(map[string]string)
    	}
    	reset()
    
    	f.Fuzz(func(t *T, subname string) {
    		if len(subname) > 10 {
    			// Long names attract the OOM killer.
    			t.Skip()
    		}
    		name := m.unique(parent.name, subname)
    		if !strings.Contains(name, "/"+subname) {
    			t.Errorf("name %q does not contain subname %q", name, subname)
    		}
    		if prev, ok := seen[name]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go

    	}
    	tabPrint(tabWriter, rowForHeaders(columnHeaders))
    	endLine(tabWriter)
    	plNames := make([]string, 0, len(cfgCtlr.priorityLevelStates))
    	for plName := range cfgCtlr.priorityLevelStates {
    		plNames = append(plNames, plName)
    	}
    	sort.Strings(plNames)
    	for i := range plNames {
    		plState, ok := cfgCtlr.priorityLevelStates[plNames[i]]
    		if !ok {
    			continue
    		}
    
    		queueSetDigest := plState.queues.Dump(false)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. schema/index.go

    				}
    
    				if name == "" {
    					subName := field.Name
    					const key = "COMPOSITE"
    					if composite, found := settings[key]; found {
    						if len(composite) == 0 || composite == key {
    							err = fmt.Errorf(
    								"The composite tag of %s.%s cannot be empty",
    								field.Schema.Name,
    								field.Name)
    							return
    						}
    						subName = composite
    					}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/types_test.go

    		t.Errorf("got field type %v, wanted mock_template.nested", nestedFieldType.Type)
    	}
    	subnameFieldType, found := rt.FindFieldType("CustomObject.nested", "subname")
    	if !found {
    		t.Fatal("got field not found for 'CustomObject.nested.subname', wanted found")
    	}
    	if subnameFieldType.Type.GetPrimitive() != exprpb.Type_STRING {
    		t.Errorf("got field type %v, wanted string", subnameFieldType.Type)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/go/types/resolver_test.go

    		func (T) _() {}
    		`,
    		`
    		package p
    		func _() {
    		L0:
    		L1:
    			goto L0
    			for {
    				goto L1
    			}
    			if true {
    				goto L2
    			}
    		L2:
    		}
    		`,
    	}
    
    	pkgnames := []string{
    		"fmt",
    		"math",
    	}
    
    	// parse package files
    	fset := token.NewFileSet()
    	var files []*ast.File
    	for _, src := range sources {
    		files = append(files, mustParse(fset, src))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/resolver_test.go

    		func (T) _() {}
    		`,
    		`
    		package p
    		func _() {
    		L0:
    		L1:
    			goto L0
    			for {
    				goto L1
    			}
    			if true {
    				goto L2
    			}
    		L2:
    		}
    		`,
    	}
    
    	pkgnames := []string{
    		"fmt",
    		"math",
    	}
    
    	// parse package files
    	var files []*syntax.File
    	for _, src := range sources {
    		files = append(files, mustParse(src))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. callbacks/update.go

    				set = append(set, clause.Assignment{Column: clause.Column{Name: k}, Value: kv})
    			}
    		}
    
    		if !stmt.SkipHooks && stmt.Schema != nil {
    			for _, dbName := range stmt.Schema.DBNames {
    				field := stmt.Schema.LookUpField(dbName)
    				if field.AutoUpdateTime > 0 && value[field.Name] == nil && value[field.DBName] == nil {
    					if v, ok := selectColumns[field.DBName]; (ok && v) || !ok {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. pkg/test/framework/resource/matcher.go

    			i++
    		case '/':
    			if cs == 0 && cp == 0 {
    				a = append(a, s[:i])
    				s = s[i+1:]
    				i = 0
    				continue
    			}
    		}
    		i++
    	}
    	return append(a, s)
    }
    
    // rewrite rewrites a subname to having only printable characters and no white
    // space.
    // From go/src/testing/match.go
    func rewrite(s string) string {
    	b := []byte{}
    	for _, r := range s {
    		switch {
    		case isSpace(r):
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 12 23:30:37 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top