Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 356 for goto (0.07 sec)

  1. cmd/sts-datatypes.go

    import (
    	"encoding/xml"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // AssumedRoleUser - The identifiers for the temporary security credentials that
    // the operation returns. Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumedRoleUser
    type AssumedRoleUser struct {
    	// The ARN of the temporary security credentials that are returned from the
    	// AssumeRole action. For more information about ARNs and how to use them in
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  2. cmd/sftp-server-driver.go

    		w.nextOffset += int64(n)
    		if n != len(nextOut) {
    			return 0, fmt.Errorf("expected write size %d but wrote %d bytes", len(nextOut), n)
    		}
    		if err != nil {
    			return 0, err
    		}
    		goto again
    	}
    
    	return len(b), nil
    }
    
    func (f *sftpDriver) Filewrite(r *sftp.Request) (w io.WriterAt, err error) {
    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer func() {
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    		if err != nil {
    			if err == errConfigNotFound {
    				return errNoSuchPolicy
    			}
    			retries--
    			if retries <= 0 {
    				return err
    			}
    			time.Sleep(500 * time.Millisecond)
    			goto retry
    		}
    
    		var p PolicyDoc
    		err = p.parseJSON(data)
    		if err != nil {
    			return err
    		}
    
    		if p.Version == 0 {
    			// This means that policy was in the old version (without any
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    			}
    			// Step backwards comparing bytes.
    			for j := 1; j < n; j++ {
    				if s[i-j] != b[last-j] {
    					goto next
    				}
    			}
    			return i - last
    		next:
    			fails++
    			i++
    			if (haveFastIndex && fails > bytealg.Cutover(i)) && i < len(s) ||
    				(!haveFastIndex && fails >= 4+i>>4 && i < len(s)) {
    				goto fallback
    			}
    		}
    		return -1
    
    	fallback:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  5. cmd/s3-zip-handlers.go

    					if len(listObjectsInfo.Prefixes) == 0 || commonPrefix != listObjectsInfo.Prefixes[len(listObjectsInfo.Prefixes)-1] {
    						listObjectsInfo.Prefixes = append(listObjectsInfo.Prefixes, commonPrefix)
    						count++
    					}
    					goto next
    				}
    			}
    			listObjectsInfo.Objects = append(listObjectsInfo.Objects, ObjectInfo{
    				Bucket:  bucket,
    				Name:    objName,
    				Size:    int64(file.UncompressedSize64),
    				ModTime: zipObjInfo.ModTime,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    		}
    	}
    </pre>
    
    <h3 id="Goto_statements">Goto statements</h3>
    
    <p>
    A "goto" statement transfers control to the statement with the corresponding label
    within the same function.
    </p>
    
    <pre class="ebnf">
    GotoStmt = "goto" Label .
    </pre>
    
    <pre>
    goto Error
    </pre>
    
    <p>
    Executing the "goto" statement must not cause any variables to come into
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  7. cmd/sftp-server.go

    		if !globalIAMSys.LDAPConfig.Enabled() {
    			return nil, errSFTPLDAPNotEnabled
    		}
    		return processLDAPAuthentication(key, pass, user)
    	}
    
    	user, found = strings.CutSuffix(c.User(), "=svc")
    	if found {
    		goto internalAuth
    	}
    
    	if globalIAMSys.LDAPConfig.Enabled() {
    		perms, _ := processLDAPAuthentication(key, pass, user)
    		if perms != nil {
    			return perms, nil
    		}
    	}
    
    internalAuth:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. doc/go_spec.html

    		}
    	}
    </pre>
    
    <h3 id="Goto_statements">Goto statements</h3>
    
    <p>
    A "goto" statement transfers control to the statement with the corresponding label
    within the same function.
    </p>
    
    <pre class="ebnf">
    GotoStmt = "goto" Label .
    </pre>
    
    <pre>
    goto Error
    </pre>
    
    <p>
    Executing the "goto" statement must not cause any variables to come into
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  9. tests/preload_suits_test.go

    		t.Errorf("got %s; want %s", toJSONString(got2), toJSONString(want2))
    	}
    
    	var got3 []Level2
    	if err := DB.Preload("Level1s").Find(&got3, "value IN (?)", []string{"Bob", "Tom"}).Error; err != nil {
    		t.Error(err)
    	}
    
    	if !reflect.DeepEqual(got3, []Level2{got, got2}) {
    		t.Errorf("got %s; want %s", toJSONString(got3), toJSONString([]Level2{got, got2}))
    	}
    
    	var got4 []Level2
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  10. docs/debugging/xl-meta/main.go

    								fmt.Println("Retrying with merged data")
    								if addedFiles >= len(files[partIdx]) {
    									attempt++
    									goto nextAttempt
    								}
    							}
    						}
    					}
    				}
    				if m.blockOffset != len(combined) {
    					return fmt.Errorf("Block offset mismatch. Expected %d got %d", m.blockOffset, len(combined))
    				}
    				combined = append(combined, m.mapped[:m.size]...)
    				missingAll += missing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
Back to top