Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 for subname (0.17 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. tests/test_openapi_separate_input_output_schemas.py

                        },
                        "type": "object",
                        "required": ["subname"],
                        "title": "SubItem",
                    },
                    "SubItem-Output": {
                        "properties": {
                            "subname": {"type": "string", "title": "Subname"},
                            "sub_description": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 18.4K 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. 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)
  5. 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)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go

    	//   required:
    	//     - name
    	//     - value
    	//   properties:
    	//     name:
    	//       type: string
    	//     nested:
    	//       type: object
    	//       properties:
    	//         subname:
    	//           type: string
    	//         flags:
    	//           type: object
    	//           additionalProperties:
    	//             type: boolean
    	//         dates:
    	//           type: array
    	//           items:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go

    	//   required:
    	//     - name
    	//     - value
    	//   properties:
    	//     name:
    	//       type: string
    	//     nested:
    	//       type: object
    	//       properties:
    	//         subname:
    	//           type: string
    	//         flags:
    	//           type: object
    	//           additionalProperties:
    	//             type: boolean
    	//         dates:
    	//           type: array
    	//           items:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		}
    	}
    
    	n := &Name{Name: id}
    	return n
    }
    
    // moduleName parses:
    //
    //	<module-name> ::= <module-subname>
    //	 	      ::= <module-name> <module-subname>
    //		      ::= <substitution>  # passed in by caller
    //	<module-subname> ::= W <source-name>
    //			 ::= W P <source-name>
    //
    // The module name is optional. If it is not present, this returns the parent.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  10. 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)
Back to top