Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 1,512 for hero (0.05 sec)

  1. internal/ringbuffer/ring_buffer.go

    			return ErrIsNotEmpty
    		}
    		r.readCond.Wait()
    	}
    
    	err := r.readErr(true)
    	if err == io.EOF {
    		return nil
    	}
    	return err
    }
    
    // Reset the read pointer and writer pointer to zero.
    func (r *RingBuffer) Reset() {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    
    	// Set error so any readers/writers will return immediately.
    	r.setErr(errors.New("reset called"), true)
    	if r.block {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                     * lookup for FOO using BCAST should not fail because of that
                     * name cached from WINS.
                     *
                     * So, here we apply the source addresses hashCode to each name to
                     * make them specific to who resolved the name.
                     */
    
                    int srcHashCode = request.addr.hashCode();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    But now, having `Query(max_length=50)` inside of `Annotated`, we are telling FastAPI that we want it to have **additional validation** for this value, we want it to have maximum 50 characters. 😎
    
    /// tip
    
    Here we are using `Query()` because this is a **query parameter**. Later we will see others like `Path()`, `Body()`, `Header()`, and `Cookie()`, that also accept the same arguments as `Query()`.
    
    ///
    
    FastAPI will now:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. internal/config/config.go

    	DriveSubSys          = madmin.DriveSubSys
    	BatchSubSys          = madmin.BatchSubSys
    	BrowserSubSys        = madmin.BrowserSubSys
    	ILMSubSys            = madmin.ILMSubsys
    
    	// Add new constants here (similar to above) if you add new fields to config.
    )
    
    // Notification config constants.
    const (
    	NotifyKafkaSubSys    = madmin.NotifyKafkaSubSys
    	NotifyMQTTSubSys     = madmin.NotifyMQTTSubSys
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.21.md

    - `VolumeBindingArgs` now allow `BindTimeoutSeconds` to be set as zero, while the value zero indicates no waiting for the checking of volume binding operation. ([#99835](https://github.com/kubernetes/kubernetes/pull/99835), [@chendave](https://github.com/chendave)) [SIG Scheduling and Storage]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Oct 14 07:03:14 UTC 2022
    - 367.3K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    		opts.UserTags = tagStr
    	}
    	tgtArns := cfg.FilterTargetArns(opts)
    	for _, tgtArn := range tgtArns {
    		tgt := globalBucketTargetSys.GetRemoteTargetClient(bucket, tgtArn)
    		// the target online status should not be used here while deciding
    		// whether to replicate as the target could be temporarily down
    		opts.TargetArn = tgtArn
    		replicate := cfg.Replicate(opts)
    		var synchronous bool
    		if tgt != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. cmd/api-router.go

    	traceHdrsS3HFlag
    
    	// when provided, disables throttling via the `maxClients` middleware.
    	noThrottleS3HFlag
    )
    
    func (h s3HFlag) has(flag s3HFlag) bool {
    	// Use bitwise-AND and check if the result is non-zero.
    	return h&flag != 0
    }
    
    // s3APIMiddleware - performs some common handler functionality for S3 API
    // handlers.
    //
    // It is set per-"handler function registration" in the router to allow for
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/ast.go

    					cg = decl.Doc
    				}
    				if cg != nil {
    					if strings.ContainsAny(abspath, "\r\n") {
    						// This should have been checked when the file path was first resolved,
    						// but we double check here just to be sure.
    						fatalf("internal error: ParseGo: abspath contains unexpected newline character: %q", abspath)
    					}
    					f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), abspath)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. schema/relationship.go

    	// The following code is basically called in for.
    	// In order to avoid the performance problems caused by repeated compilation of regular expressions,
    	// it only needs to be done once outside, so optimization is done here.
    	if idx != -1 && regEnLetterAndMidline.MatchString(str[0:idx]) {
    		name = str[0:idx]
    	} else {
    		name = rel.Schema.namer.RelationshipFKName(*rel)
    	}
    
    	constraint := Constraint{
    		Name:     name,
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. fastapi/_compat.py

            or hasattr(origin, "__pydantic_core_schema__")
            or hasattr(origin, "__get_pydantic_core_schema__")
        )
    
    
    def field_annotation_is_scalar(annotation: Any) -> bool:
        # handle Ellipsis here to make tuple[int, ...] work nicely
        return annotation is Ellipsis or not field_annotation_is_complex(annotation)
    
    
    def field_annotation_is_scalar_sequence(annotation: Union[Type[Any], None]) -> bool:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top