Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for fallthrough (0.21 sec)

  1. cmd/format-erasure.go

    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    		// Migrate successful v1 => v2, proceed to v2 => v3
    		version = formatErasureVersionV2
    		fallthrough
    	case formatErasureVersionV2:
    		formatData, err = formatErasureMigrateV2ToV3(formatData, export, version)
    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/config-current.go

    			return err
    		}
    	case config.PolicyOPASubSys:
    		// In case legacy OPA config is being set, we treat it as if the
    		// AuthZPlugin is being set.
    		subSys = config.PolicyPluginSubSys
    		fallthrough
    	case config.PolicyPluginSubSys:
    		if ppargs, err := polplugin.LookupConfig(s, GetDefaultConnSettings(), xhttp.DrainBody); err != nil {
    			return err
    		} else if ppargs.URL == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  3. doc/go_spec.html

    </p>
    
    <h3 id="Fallthrough_statements">Fallthrough statements</h3>
    
    <p>
    A "fallthrough" statement transfers control to the first statement of the
    next case clause in an <a href="#Expression_switches">expression "switch" statement</a>.
    It may be used only as the final non-empty statement in such a clause.
    </p>
    
    <pre class="ebnf">
    FallthroughStmt = "fallthrough" .
    </pre>
    
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    	// Get canonical headers.
    	var buf bytes.Buffer
    	for _, k := range headers {
    		buf.WriteString(k)
    		buf.WriteByte(':')
    		switch {
    		case k == "host":
    			buf.WriteString(req.URL.Host)
    			fallthrough
    		default:
    			for idx, v := range headerMap[k] {
    				if idx > 0 {
    					buf.WriteByte(',')
    				}
    				buf.WriteString(v)
    			}
    			buf.WriteByte('\n')
    		}
    	}
    	canonicalHeaders := buf.String()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    	if p == nil {
    		return
    	}
    	var ch chan<- ReplicationWorkerOperation
    	switch doi.OpType {
    	case replication.HealReplicationType, replication.ExistingObjectReplicationType:
    		fallthrough
    	default:
    		ch = p.getWorkerCh(doi.Bucket, doi.ObjectName, 0)
    	}
    
    	select {
    	case <-p.ctx.Done():
    	case ch <- doi:
    	default:
    		globalReplicationPool.queueMRFSave(doi.ToMRFEntry())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top