Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 186 for errstr (0.13 sec)

  1. src/cmd/vendor/golang.org/x/text/transform/transform.go

    type chain struct {
    	link []link
    	err  error
    	// errStart is the index at which the error occurred plus 1. Processing
    	// errStart at this level at the next call to Transform. As long as
    	// errStart > 0, chain will not consume any more source bytes.
    	errStart int
    }
    
    func (c *chain) fatalError(errIndex int, err error) {
    	if i := errIndex + 1; i > c.errStart {
    		c.errStart = i
    		c.err = err
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. operator/pkg/util/errs.go

    )
    
    // Errors is a slice of error.
    type Errors []error
    
    // Error implements the error#Error method.
    func (e Errors) Error() string {
    	return ToString(e, defaultSeparator)
    }
    
    // String implements the stringer#String method.
    func (e Errors) String() string {
    	return e.Error()
    }
    
    // ToError returns an error from Errors.
    func (e Errors) ToError() error {
    	if len(e) == 0 {
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/trace/jsontrace.go

    		start := int64(0)
    		end := int64(math.MaxInt64)
    		if startStr, endStr := r.FormValue("start"), r.FormValue("end"); startStr != "" && endStr != "" {
    			var err error
    			start, err = strconv.ParseInt(startStr, 10, 64)
    			if err != nil {
    				log.Printf("failed to parse start parameter %q: %v", startStr, err)
    				return
    			}
    
    			end, err = strconv.ParseInt(endStr, 10, 64)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. pilot/pkg/trustbundle/trustbundle.go

    			continue
    		}
    		certs := trustDomainAnchorMap[currentTrustDomain]
    		for _, cert := range certs {
    			certStr := string(pem.EncodeToMemory(&pem.Block{Type: "CERTIFICATE", Bytes: cert.Raw}))
    			trustBundleLog.Debugf("from endpoint %v, fetched trust anchor cert: %v", endpoint, certStr)
    			remoteCerts = append(remoteCerts, certStr)
    		}
    	}
    	err = tb.UpdateTrustAnchor(&TrustAnchorUpdate{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. cmd/bucket-targets.go

    }
    
    // RemoveTarget - removes a remote bucket target for this source bucket.
    func (sys *BucketTargetSys) RemoveTarget(ctx context.Context, bucket, arnStr string) error {
    	if arnStr == "" {
    		return BucketRemoteArnInvalid{Bucket: bucket}
    	}
    
    	arn, err := madmin.ParseARN(arnStr)
    	if err != nil {
    		return BucketRemoteArnInvalid{Bucket: bucket}
    	}
    
    	if arn.Type == madmin.ReplicationService {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:09:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/transform/transform.go

    type chain struct {
    	link []link
    	err  error
    	// errStart is the index at which the error occurred plus 1. Processing
    	// errStart at this level at the next call to Transform. As long as
    	// errStart > 0, chain will not consume any more source bytes.
    	errStart int
    }
    
    func (c *chain) fatalError(errIndex int, err error) {
    	if i := errIndex + 1; i > c.errStart {
    		c.errStart = i
    		c.err = err
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 21 22:10:00 UTC 2020
    - 21.7K bytes
    - Viewed (0)
  7. src/syscall/asm_netbsd_arm.s

    	MOVW trap+0(FP), R0 // sigcall num
    	MOVW a1+4(FP), R1 // a1
    	MOVW a2+8(FP), R2 // a2
    	MOVW a3+12(FP), R3 // a3
    	SWI $0 // syscall
    	MOVW $0, R2
    	BCS errorr
    	MOVW R0, r1+16(FP) // r1
    	MOVW R1, r2+20(FP) // r2
    	MOVW R2, err+24(FP) // err
    	RET
    errorr:
    	MOVW $-1, R3
    	MOVW R3, r1+16(FP) // r1
    	MOVW R2, r2+20(FP) // r2
    	MOVW R0, err+24(FP) // err
    	RET
    
    TEXT	·RawSyscall6(SB),NOSPLIT,$0-40
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 21:13:25 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  8. src/math/rand/v2/regress_test.go

    					val = fmt.Sprintf("%#v", out)
    				} else {
    					val = fmt.Sprintf("%T(%v)", out, out)
    				}
    				fmt.Fprintf(&buf, "\t%s, // %s(%s)\n", val, m.Name, argstr)
    			} else if p >= len(regressGolden) {
    				t.Errorf("r.%s(%s) = %v, missing golden value", m.Name, argstr, out)
    			} else {
    				want := regressGolden[p]
    				if m.Name == "Int" {
    					want = int64(int(uint(want.(int64)) << 1 >> 1))
    				}
    				if m.Name == "Uint" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. internal/arn/arn.go

    			"", // account-id is always empty in this implementation
    			arn.ResourceType + "/" + arn.ResourceID,
    		},
    		":",
    	)
    }
    
    // Parse - parses an ARN string into a type.
    func Parse(arnStr string) (arn ARN, err error) {
    	ps := strings.Split(arnStr, ":")
    	if len(ps) != 6 || ps[0] != string(arnPrefixArn) {
    		err = errors.New("invalid ARN string format")
    		return
    	}
    
    	if ps[1] != string(arnPartitionMinio) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/internal/buildcfg/cfg.go

    	ToolTags  = toolTags()
    	GO_LDSO   = defaultGO_LDSO
    	Version   = version
    )
    
    // Error is one of the errors found (if any) in the build configuration.
    var Error error
    
    // Check exits the program with a fatal error if Error is non-nil.
    func Check() {
    	if Error != nil {
    		fmt.Fprintf(os.Stderr, "%s: %v\n", filepath.Base(os.Args[0]), Error)
    		os.Exit(2)
    	}
    }
    
    func envOr(key, value string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top