Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for discriminator (0.33 sec)

  1. fastapi/params.py

                description=description,
                gt=gt,
                ge=ge,
                lt=lt,
                le=le,
                min_length=min_length,
                max_length=max_length,
                discriminator=discriminator,
                multiple_of=multiple_of,
                allow_nan=allow_inf_nan,
                max_digits=max_digits,
                decimal_places=decimal_places,
                **extra,
            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. pkg/test/framework/suitecontext.go

    	c.contextMu.Lock()
    	defer c.contextMu.Unlock()
    
    	candidate := prefix
    	discriminator := 0
    	for {
    		if !c.contextNames.InsertContains(candidate) {
    			return candidate
    		}
    
    		candidate = fmt.Sprintf("%s-%d", prefix, discriminator)
    		discriminator++
    	}
    }
    
    func (c *suiteContext) allocateResourceID(contextID string, r resource.Resource) string {
    	c.contextMu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/debug/dwarf/line_test.go

    		{Address: 0x4005b4, File: file1H, Line: 5, IsStmt: true},
    		{Address: 0x4005bd, File: file1H, Line: 6, IsStmt: true, Discriminator: 2},
    		{Address: 0x4005c7, File: file1H, Line: 5, IsStmt: true, Discriminator: 2},
    		{Address: 0x4005cb, File: file1H, Line: 5, IsStmt: false, Discriminator: 1},
    		{Address: 0x4005d1, File: file1H, Line: 7, IsStmt: true},
    		{Address: 0x4005e7, File: file1C, Line: 6, IsStmt: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. pkg/test/util/yml/cache.go

    }
    
    func (c *Cache) deleteFile(file string) error {
    	return os.Remove(file)
    }
    
    func (c *Cache) generateFileName(key CacheKey) string {
    	c.discriminator++
    	d := c.discriminator
    
    	name := fmt.Sprintf("%s_%s_%s_%s-%d.yaml",
    		sanitize(key.group), sanitize(key.kind), sanitize(key.namespace), sanitize(key.name), d)
    
    	return path.Join(c.dir, name)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 4K bytes
    - Viewed (0)
  5. fastapi/param_functions.py

            gt=gt,
            ge=ge,
            lt=lt,
            le=le,
            min_length=min_length,
            max_length=max_length,
            pattern=pattern,
            regex=regex,
            discriminator=discriminator,
            strict=strict,
            multiple_of=multiple_of,
            allow_inf_nan=allow_inf_nan,
            max_digits=max_digits,
            decimal_places=decimal_places,
            example=example,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/binutils/addr2liner.go

    	if funcname == "??" {
    		funcname = ""
    	}
    
    	if fileline == "??:0" {
    		fileline = ""
    	} else {
    		if i := strings.LastIndex(fileline, ":"); i >= 0 {
    			// Remove discriminator, if present
    			if disc := strings.Index(fileline, " (discriminator"); disc > 0 {
    				fileline = fileline[:disc]
    			}
    			// If we cannot parse a number after the last ":", keep it as
    			// part of the filename.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. fastapi/openapi/models.py

        examples: Optional[List[Any]] = None
        # Ref: OpenAPI 3.1.0: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object
        # Schema Object
        discriminator: Optional[Discriminator] = None
        xml: Optional[XML] = None
        externalDocs: Optional[ExternalDocumentation] = None
        example: Annotated[
            Optional[Any],
            typing_deprecated(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/debug/dwarf/line.go

    	//
    	// Added in DWARF 3.
    	ISA int
    
    	// Discriminator is an arbitrary integer indicating the block
    	// to which these instructions belong. It serves to
    	// distinguish among multiple blocks that may all have with
    	// the same source file, line, and column. Where only one
    	// block exists for a given source position, it should be 0.
    	//
    	// Added in DWARF 3.
    	Discriminator int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	}
    	st.advance(1)
    	return ret
    }
    
    // discriminator parses:
    //
    //	<discriminator> ::= _ <(non-negative) number> (when number < 10)
    //	                    __ <(non-negative) number> _ (when number >= 10)
    func (st *state) discriminator(a AST) AST {
    	if len(st.str) == 0 || st.str[0] != '_' {
    		// clang can generate a discriminator at the end of
    		// the string with no underscore.
    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. pkg/registry/core/service/strategy.go

    // in order to avoid breaking clients we try really hard to infer what users
    // mean when they change them.
    //
    // Services are effectively a discriminated union, where `type` is the
    // discriminator. Some fields just don't make sense with some types, so we
    // clear them.
    //
    // As a rule, we almost never change user input.  This can get tricky when APIs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:36 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top