Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for subname (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/documentation/docs/src/snippets/multiproject/basic-dependencies/kotlin/api/src/main/java/org/gradle/sample/apiImpl/PersonImpl.java

            this.firstname = firstname;
        }
    
        public String getSurname() {
            return surname;
        }
    
        public void setSurname(String surname) {
            this.surname = surname;
        }
    
        public String toString() {
            return Helper.prettyPrint(firstname + " " + surname);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:29:44 UTC 2024
    - 759 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/multiproject/dependencies-java/kotlin/api/src/main/java/org/gradle/sample/apiImpl/PersonImpl.java

            this.firstname = firstname;
        }
    
        public String getSurname() {
            return surname;
        }
    
        public void setSurname(String surname) {
            this.surname = surname;
        }
    
        public String toString() {
            return Helper.prettyPrint(firstname + " " + surname);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 759 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/multiproject/dependencies-java/groovy/api/src/main/java/org/gradle/sample/apiImpl/PersonImpl.java

            this.firstname = firstname;
        }
    
        public String getSurname() {
            return surname;
        }
    
        public void setSurname(String surname) {
            this.surname = surname;
        }
    
        public String toString() {
            return Helper.prettyPrint(firstname + " " + surname);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 759 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/testing/jacoco-quickstart/groovy/src/main/java/org/gradle/Person.java

    package org.gradle;
    
    import java.lang.String;
    
    public class Person{
        String surname;
        int age;
    
        public String getSurname() {
            return surname;
        }
    
        public void setSurname(String surname) {
            this.surname = surname;
        }
    
        public int getAge() {
            return age;
        }
    
        public void setAge(int age) {
            this.age = age;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 369 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsentity/BsJobLog.java

            this.endTime = value;
        }
    
        public String getJobName() {
            checkSpecifiedProperty("jobName");
            return convertEmptyToNull(jobName);
        }
    
        public void setJobName(String value) {
            registerModifiedProperty("jobName");
            this.jobName = value;
        }
    
        public String getJobStatus() {
            checkSpecifiedProperty("jobStatus");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top