Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for xstr (0.07 sec)

  1. src/cmd/go/internal/str/str.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package str provides string manipulation utilities.
    package str
    
    import (
    	"fmt"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    // StringList flattens its arguments into a single []string.
    // Each argument in args must have type string or []string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/testing/example.go

    		}
    	}
    	if fail != "" || !finished || recovered != nil {
    		fmt.Printf("%s--- FAIL: %s (%s)\n%s", chatty.prefix(), eg.Name, dstr, fail)
    		passed = false
    	} else if chatty.on {
    		fmt.Printf("%s--- PASS: %s (%s)\n", chatty.prefix(), eg.Name, dstr)
    	}
    
    	if chatty.on && chatty.json {
    		fmt.Printf("%s=== NAME   %s\n", chatty.prefix(), "")
    	}
    
    	if recovered != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/plan9/str.go

    Dmitri Shuralyov <******@****.***> 1697571594 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 500 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/str.go

    Dmitri Shuralyov <******@****.***> 1697571594 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 504 bytes
    - Viewed (0)
  5. operator/cmd/mesh/operator-init.go

    	vals, mstr, err := renderOperatorManifest(args, &oiArgs.common)
    	if err != nil {
    		l.LogAndFatal(err)
    	}
    
    	installerScope.Debugf("Installing operator charts with the following values:\n%s", vals)
    	installerScope.Debugf("Using the following manifest to install operator:\n%s\n", mstr)
    
    	opts := &applyOptions{
    		DryRun: args.DryRun,
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. operator/pkg/validate/validate_values_test.go

    			t.Fatalf("file %s failed validation with: %s", f, err)
    		}
    	}
    }
    
    func makeErrors(estr []string) util.Errors {
    	var errs util.Errors
    	for _, s := range estr {
    		errs = util.AppendErr(errs, fmt.Errorf("%s", s))
    	}
    	return errs
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Base(path) == "values.yaml"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/runtime/race/output_test.go

    }{
    	{"simple", "run", "", "atexit_sleep_ms=0", `
    package main
    import "time"
    var xptr *int
    var donechan chan bool
    func main() {
    	done := make(chan bool)
    	x := 0
    	startRacer(&x, done)
    	store(&x, 43)
    	<-done
    }
    func store(x *int, v int) {
    	*x = v
    }
    func startRacer(x *int, done chan bool) {
    	xptr = x
    	donechan = done
    	go racer()
    }
    func racer() {
    	time.Sleep(10*time.Millisecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    	// The size field ends at the first space.
    	nStr, rest, ok := strings.Cut(s, " ")
    	if !ok {
    		return "", "", s, ErrHeader
    	}
    
    	// Parse the first token as a decimal integer.
    	n, perr := strconv.ParseInt(nStr, 10, 0) // Intentionally parse as native int
    	if perr != nil || n < 5 || n > int64(len(s)) {
    		return "", "", s, ErrHeader
    	}
    	n -= int64(len(nStr) + 1) // convert from index in s to index in rest
    	if n <= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. internal/disk/stat_solaris.go

    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    		Free:   uint64(s.Frsize) * uint64(s.Bavail),
    		Files:  uint64(s.Files),
    		Ffree:  uint64(s.Ffree),
    		FSType: getFSType(s.Fstr[:]),
    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. cmd/bucket-policy.go

    		} else {
    			args[key] = values
    		}
    	}
    
    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top